{"info":{"_postman_id":"c8c75f98-bcba-48ce-af71-9db03f8f99bf","name":"Qargo API - Example","schema":"https://schema.getpostman.com/json/collection/v2.1.0/collection.json","_exporter_id":"48459210"},"item":[{"name":"Orders","item":[{"name":"Authentication","item":[{"name":"Request Access token","event":[{"listen":"test","script":{"exec":["var response = pm.response.json()","pm.collectionVariables.set(\"access_token\", response.access_token);",""],"type":"text/javascript","packages":{}}}],"request":{"auth":{"type":"basic","basic":[{"key":"username","value":"{{username}}","type":"string"},{"key":"password","value":"{{password}}","type":"string"}]},"method":"POST","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://api.qargo.com/v1/auth/token","protocol":"https","host":["api","qargo","com"],"path":["v1","auth","token"]}},"response":[]}],"description":"This contains the request to authenticate with the Qargo API."},{"name":"Fetch order and order status","request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"url":{"raw":"https://api.qargo.com/v1/orders/order/{{order_id}}","protocol":"https","host":["api","qargo","com"],"path":["v1","orders","order","{{order_id}}"]}},"response":[]},{"name":"Fetch order creation status","request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"url":{"raw":"https://api.qargo.com/v1/orders/order/upload/{{order_id}}","protocol":"https","host":["api","qargo","com"],"path":["v1","orders","order","upload","{{order_id}}"]}},"response":[]},{"name":"Create order","request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"order_identifier\": \"QARGO_TEST_0001\",\n  \"operation\": \"UPDATE\",\n  \"customer\": {\n    \"code\": \"QARGO_CUSTOM_01\"\n  },\n  \"consignments\": [\n    {\n      \"pickup_stop\": {\n        \"location\": {\n          \"name\": \"Stop 3\",\n          \"address\": \"Gaston Crommenlaan 4,\",\n          \"postal_code\": \"9000\",\n          \"city\": \"Gent\",\n          \"state\": \"Oost-Vlaanderen\",\n          \"country\": \"BE\",\n          \"description\": \"HQ\"\n        },\n        \"note\": \"Stop 3 notes\",\n        \"date\": \"2024-08-20\",\n        \"reference_number\": \"Stop 3 reference number\",\n        \"instructions\": \"Stop 3 instructions\",\n        \"email\": \"info@qargo.io\",\n        \"phone_number\": \"+0912341431\",\n        \"mobile_number\": \"+324567890\"\n      },\n      \"delivery_stop\": {\n        \"location\": {\n          \"name\": \"Stop 4\",\n          \"address\": \"Resedastraat 20\",\n          \"postal_code\": \"9000\",\n          \"city\": \"Gent\",\n          \"state\": \"Oost-Vlaanderen\",\n          \"country\": \"BE\",\n          \"description\": \"Delivery\"\n        },\n        \"note\": \"Stop 4 notes\",\n        \"date\": \"2024-08-21\",\n        \"reference_number\": \"Stop 4 reference number\",\n        \"instructions\": \"Stop 4 instructions\",\n        \"email\": \"info@qargo.io\",\n        \"phone_number\": \"02123456\",\n        \"mobile_number\": \"+329998888\"\n      }\n    }\n  ],\n  \"customer_reference_numbers\": [\n    \"QARGO_TEST_0004\"\n  ],\n  \"transport_service\": {\n    \"code\": \"GENERAL\"\n  }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.qargo.com/v1/orders/order/upload","protocol":"https","host":["api","qargo","com"],"path":["v1","orders","order","upload"]}},"response":[]},{"name":"Update order","request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"order_identifier\": \"QARGO_TEST_0001\",\n  \"operation\": \"UPDATE\",\n  \"customer\": {\n    \"code\": \"QARGO_CUSTOM_01\"\n  },\n  \"consignments\": [\n    {\n      \"pickup_stop\": {\n        \"location\": {\n          \"name\": \"Stop 3\",\n          \"address\": \"Gaston Crommenlaan 4,\",\n          \"postal_code\": \"9000\",\n          \"city\": \"Gent\",\n          \"state\": \"Oost-Vlaanderen\",\n          \"country\": \"BE\",\n          \"description\": \"HQ\"\n        },\n        \"note\": \"Stop 3 notes\",\n        \"date\": \"2024-08-20\",\n        \"reference_number\": \"Stop 3 reference number\",\n        \"instructions\": \"Stop 3 instructions\",\n        \"email\": \"info@qargo.io\",\n        \"phone_number\": \"+0912341431\",\n        \"mobile_number\": \"+324567890\"\n      },\n      \"delivery_stop\": {\n        \"location\": {\n          \"name\": \"Stop 4\",\n          \"address\": \"Resedastraat 20\",\n          \"postal_code\": \"9000\",\n          \"city\": \"Gent\",\n          \"state\": \"Oost-Vlaanderen\",\n          \"country\": \"BE\",\n          \"description\": \"Delivery\"\n        },\n        \"note\": \"Stop 4 notes\",\n        \"date\": \"2024-08-21\",\n        \"reference_number\": \"Stop 4 reference number\",\n        \"instructions\": \"Stop 4 instructions\",\n        \"email\": \"info@qargo.io\",\n        \"phone_number\": \"02123456\",\n        \"mobile_number\": \"+329998888\"\n      }\n    }\n  ],\n  \"customer_reference_numbers\": [\n    \"QARGO_TEST_0004\"\n  ],\n  \"transport_service\": {\n    \"code\": \"GENERAL\"\n  }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.qargo.com/v1/orders/order/upload","protocol":"https","host":["api","qargo","com"],"path":["v1","orders","order","upload"]}},"response":[]},{"name":"Cancel order","request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"order_identifier\": \"QARGO_TEST_0001\",\n  \"operation\": \"DELETE\",\n  \"customer\": {\n    \"code\": \"QARGO_CUSTOM_01\"\n  },\n  \"consignments\": [\n    {\n      \"pickup_stop\": {\n        \"location\": {\n          \"name\": \"Stop 3\",\n          \"address\": \"Gaston Crommenlaan 4,\",\n          \"postal_code\": \"9000\",\n          \"city\": \"Gent\",\n          \"state\": \"Oost-Vlaanderen\",\n          \"country\": \"BE\",\n          \"description\": \"HQ\"\n        },\n        \"note\": \"Stop 3 notes\",\n        \"date\": \"2024-08-20\",\n        \"reference_number\": \"Stop 3 reference number\",\n        \"instructions\": \"Stop 3 instructions\",\n        \"email\": \"info@qargo.io\",\n        \"phone_number\": \"+0912341431\",\n        \"mobile_number\": \"+324567890\"\n      },\n      \"delivery_stop\": {\n        \"location\": {\n          \"name\": \"Stop 4\",\n          \"address\": \"Resedastraat 20\",\n          \"postal_code\": \"9000\",\n          \"city\": \"Gent\",\n          \"state\": \"Oost-Vlaanderen\",\n          \"country\": \"BE\",\n          \"description\": \"Delivery\"\n        },\n        \"note\": \"Stop 4 notes\",\n        \"date\": \"2024-08-21\",\n        \"reference_number\": \"Stop 4 reference number\",\n        \"instructions\": \"Stop 4 instructions\",\n        \"email\": \"info@qargo.io\",\n        \"phone_number\": \"02123456\",\n        \"mobile_number\": \"+329998888\"\n      }\n    }\n  ],\n  \"customer_reference_numbers\": [\n    \"QARGO_TEST_0004\"\n  ],\n  \"transport_service\": {\n    \"code\": \"GENERAL\"\n  }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.qargo.com/v1/orders/order/upload","protocol":"https","host":["api","qargo","com"],"path":["v1","orders","order","upload"]}},"response":[]},{"name":"Create order with custom stops","request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"order_identifier\": \"QARGO_TEST_0001\",\n  \"operation\": \"CREATE\",\n  \"customer\": {\n    \"name\": \"UPS SCS Coventry\"\n  },\n  \"consignments\": [\n    {\n      \"pickup_stop\": {\n        \"location\": {\n          \"name\": \"Stop 1\",\n          \"address\": \"Gaston Crommenlaan 4,\",\n          \"postal_code\": \"9000\",\n          \"city\": \"Gent\",\n          \"state\": \"Oost-Vlaanderen\",\n          \"country\": \"BE\",\n          \"description\": \"HQ\"\n        },\n        \"note\": \"Stop 1 notes\",\n        \"date\": \"2024-08-20\",\n        \"reference_number\": \"Stop 1 reference number\",\n        \"instructions\": \"Stop 1 instructions\",\n        \"email\": \"info@qargo.io\",\n        \"phone_number\": \"+0912341431\",\n        \"mobile_number\": \"+324567890\"\n      },\n      \"delivery_stop\": {\n        \"location\": {\n          \"name\": \"Stop 2\",\n          \"address\": \"Resedastraat 20\",\n          \"postal_code\": \"9000\",\n          \"city\": \"Gent\",\n          \"state\": \"Oost-Vlaanderen\",\n          \"country\": \"BE\",\n          \"description\": \"Delivery\"\n        },\n        \"note\": \"Stop 2 notes\",\n        \"date\": \"2024-08-21\",\n        \"reference_number\": \"Stop 2 reference number\",\n        \"instructions\": \"Stop 2 instructions\",\n        \"email\": \"info@qargo.io\",\n        \"phone_number\": \"02123456\",\n        \"mobile_number\": \"+329998888\"\n      }\n    }\n  ],\n  \"customer_reference_numbers\": [\n    \"QARGO_TEST_0001\"\n  ],\n  \"transport_service\": {\n    \"code\": \"CONTAINER_BOOKING\"\n  }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.qargo.io/v1/orders/order","protocol":"https","host":["api","qargo","io"],"path":["v1","orders","order"]}},"response":[]},{"name":"Create container import scenario order","request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"order_identifier\": \"QARGO_TEST_0002\",\n  \"operation\": \"CREATE\",\n  \"customer\": {\n    \"name\": \"UPS SCS Coventry\"\n  },\n  \"teardown_stops\": [\n    {\n      \"location\": {\n        \"name\": \"Teardown\",\n        \"address\": \"Scheepzatestraat 1\",\n        \"postal_code\": \"9000\",\n        \"city\": \"Gent\",\n        \"state\": \"Oost-Vlaanderen\",\n        \"country\": \"BE\"\n      },\n      \"note\": \"Stop 1 notes\",\n      \"date\": \"2024-08-20\",\n      \"reference_number\": \"teardown reference number\",\n      \"instructions\": \"teardown instructions\",\n      \"email\": \"info@qargo.io\",\n      \"phone_number\": \"+0912341431\",\n      \"mobile_number\": \"+324567890\"\n    }\n  ],\n  \"consignments\": [\n    {\n      \"pickup_stop\": {\n        \"location\": {\n          \"name\": \"Stop 1\",\n          \"address\": \"Gaston Crommenlaan 4,\",\n          \"postal_code\": \"9000\",\n          \"city\": \"Gent\",\n          \"state\": \"Oost-Vlaanderen\",\n          \"country\": \"BE\",\n          \"description\": \"HQ\"\n        },\n        \"note\": \"Stop 1 notes\",\n        \"date\": \"2024-08-20\",\n        \"reference_number\": \"Stop 1 reference number\",\n        \"instructions\": \"Stop 1 instructions\",\n        \"email\": \"info@qargo.io\",\n        \"phone_number\": \"+0912341431\",\n        \"mobile_number\": \"+324567890\"\n      },\n      \"delivery_stop\": {\n        \"location\": {\n          \"name\": \"Stop 2\",\n          \"address\": \"Resedastraat 20\",\n          \"postal_code\": \"9000\",\n          \"city\": \"Gent\",\n          \"state\": \"Oost-Vlaanderen\",\n          \"country\": \"BE\",\n          \"description\": \"Delivery\"\n        },\n        \"note\": \"Stop 2 notes\",\n        \"date\": \"2024-08-21\",\n        \"reference_number\": \"Stop 2 reference number\",\n        \"instructions\": \"Stop 2 instructions\",\n        \"email\": \"info@qargo.io\",\n        \"phone_number\": \"02123456\",\n        \"mobile_number\": \"+329998888\"\n      }\n    }\n  ],\n  \"container\": {\n    \"container_scenario\": \"IMPORT\"\n  },\n  \"customer_reference_numbers\": [\n    \"QARGO_TEST_0002\"\n  ],\n  \"transport_service\": {\n    \"code\": \"CONTAINER_BOOKING\"\n  }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.qargo.com/v1/orders/order/upload","protocol":"https","host":["api","qargo","com"],"path":["v1","orders","order","upload"]}},"response":[]},{"name":"Create container import scenario order with custom stops","request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"order_identifier\": \"QARGO_TEST_0006\",\n  \"operation\": \"CREATE\",\n  \"customer\": {\n    \"name\": \"UPS SCS Coventry\"\n  },\n  \"teardown_stops\": [\n    {\n      \"location\": {\n        \"name\": \"Stop 6\",\n        \"address\": \"Scheepzatestraat 1\",\n        \"postal_code\": \"9000\",\n        \"city\": \"Gent\",\n        \"state\": \"Oost-Vlaanderen\",\n        \"country\": \"BE\"\n      },\n      \"note\": \"Stop 6 notes\",\n      \"date\": \"2024-08-20\",\n      \"reference_number\": \"Stop 1 reference number\",\n      \"instructions\": \"Stop 1 instructions\",\n      \"email\": \"info@qargo.io\",\n      \"phone_number\": \"+0912341431\",\n      \"mobile_number\": \"+324567890\",\n      \"activity\": \"DROP_EMPTY_CONTAINER\",\n      \"position\": {\n        \"position\": 6\n      }\n    }\n  ],\n  \"consignments\": [\n    {\n      \"standalone_stops\": [\n        {\n          \"location\": {\n            \"name\": \"Stop 1\",\n            \"address\": \"Vlierstraat 4,\",\n            \"postal_code\": \"9000\",\n            \"city\": \"Gent\",\n            \"state\": \"Oost-Vlaanderen\",\n            \"country\": \"BE\",\n            \"description\": \"HQ\"\n          },\n          \"note\": \"Stop 1 notes\",\n          \"date\": \"2024-08-20\",\n          \"reference_number\": \"Stop 1 number\",\n          \"instructions\": \"Stop 1 instructions\",\n          \"email\": \"info@qargo.io\",\n          \"phone_number\": \"+0912341431\",\n          \"mobile_number\": \"+324567890\",\n          \"custom_activity\": \"WEGEN\",\n          \"position\": {\n            \"position\": 1\n          }\n        },\n        {\n          \"location\": {\n            \"name\": \"Stop 5\",\n            \"address\": \"Vlierstraat 4,\",\n            \"postal_code\": \"9000\",\n            \"city\": \"Gent\",\n            \"state\": \"Oost-Vlaanderen\",\n            \"country\": \"BE\",\n            \"description\": \"HQ\"\n          },\n          \"note\": \"Stop 5 notes\",\n          \"date\": \"2024-08-20\",\n          \"reference_number\": \"Stop 5 number\",\n          \"instructions\": \"Stop 5 instructions\",\n          \"email\": \"info@qargo.io\",\n          \"phone_number\": \"+0912341431\",\n          \"mobile_number\": \"+324567890\",\n          \"custom_activity\": \"WEGEN\",\n          \"position\": {\n            \"position\": 5\n          }\n        },\n        {\n          \"location\": {\n            \"name\": \"Stop 2\",\n            \"address\": \"Corbiestraat 4,\",\n            \"postal_code\": \"9000\",\n            \"city\": \"Gent\",\n            \"state\": \"Oost-Vlaanderen\",\n            \"country\": \"BE\"\n          },\n          \"note\": \"Stop 3 notes\",\n          \"date\": \"2024-08-22\",\n          \"reference_number\": \"Stop 2 reference number\",\n          \"instructions\": \"Stop 2 instructions\",\n          \"email\": \"info@qargo.io\",\n          \"phone_number\": \"+0912341431\",\n          \"mobile_number\": \"+324567890\",\n          \"custom_activity\": \"INKLAREN\",\n          \"position\": {\n            \"position\": 2\n          }\n        }\n      ],\n      \"pickup_stop\": {\n        \"location\": {\n          \"name\": \"Stop 3\",\n          \"address\": \"Gaston Crommenlaan 4,\",\n          \"postal_code\": \"9000\",\n          \"city\": \"Gent\",\n          \"state\": \"Oost-Vlaanderen\",\n          \"country\": \"BE\",\n          \"description\": \"HQ\"\n        },\n        \"note\": \"Stop 3 notes\",\n        \"date\": \"2024-08-20\",\n        \"reference_number\": \"Stop 3 reference number\",\n        \"instructions\": \"Stop 3 instructions\",\n        \"email\": \"info@qargo.io\",\n        \"phone_number\": \"+0912341431\",\n        \"mobile_number\": \"+324567890\",\n        \"activity\": \"PICKUP_IMPORT\",\n        \"position\": {\n          \"position\": 3\n        }\n      },\n      \"delivery_stop\": {\n        \"location\": {\n          \"name\": \"Stop 4\",\n          \"address\": \"Resedastraat 20\",\n          \"postal_code\": \"9000\",\n          \"city\": \"Gent\",\n          \"state\": \"Oost-Vlaanderen\",\n          \"country\": \"BE\",\n          \"description\": \"Delivery\"\n        },\n        \"note\": \"Stop 4 notes\",\n        \"date\": \"2024-08-21\",\n        \"reference_number\": \"Stop 4 reference number\",\n        \"instructions\": \"Stop 4 instructions\",\n        \"email\": \"info@qargo.io\",\n        \"phone_number\": \"02123456\",\n        \"mobile_number\": \"+329998888\",\n        \"activity\": \"DELIVERY_IMPORT\",\n        \"position\": {\n          \"position\": 4\n        }\n      }\n    }\n  ],\n  \"container\": {\n    \"container_scenario\": \"IMPORT\"\n  },\n  \"customer_reference_numbers\": [\n    \"QARGO_TEST_0006\"\n  ],\n  \"transport_service\": {\n    \"code\": \"CONTAINER_BOOKING\"\n  }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.qargo.com/v1/orders/order/upload","protocol":"https","host":["api","qargo","com"],"path":["v1","orders","order","upload"]}},"response":[]},{"name":"Create container export scenario order","request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"order_identifier\": \"QARGO_TEST_0003\",\n  \"operation\": \"CREATE\",\n  \"customer\": {\n    \"name\": \"UPS SCS Coventry\"\n  },\n  \"setup_stops\": [\n    {\n      \"location\": {\n        \"name\": \"Container setup stop\",\n        \"address\": \"Scheepzatestraat 1\",\n        \"postal_code\": \"9000\",\n        \"city\": \"Gent\",\n        \"state\": \"Oost-Vlaanderen\",\n        \"country\": \"BE\"\n      },\n      \"note\": \"Container setup stop notes\",\n      \"date\": \"2024-08-20\",\n      \"reference_number\": \"Container setup stop reference number\",\n      \"instructions\": \"Container setup stop instructions\",\n      \"email\": \"info@qargo.io\",\n      \"phone_number\": \"+0912341431\",\n      \"mobile_number\": \"+324567890\"\n    }\n  ],\n  \"consignments\": [\n    {\n      \"pickup_stop\": {\n        \"location\": {\n          \"name\": \"Stop 1\",\n          \"address\": \"Gaston Crommenlaan 4,\",\n          \"postal_code\": \"9000\",\n          \"city\": \"Gent\",\n          \"state\": \"Oost-Vlaanderen\",\n          \"country\": \"BE\",\n          \"description\": \"HQ\"\n        },\n        \"note\": \"Stop 1 notes\",\n        \"date\": \"2024-08-20\",\n        \"reference_number\": \"Stop 1 reference number\",\n        \"instructions\": \"Stop 1 instructions\",\n        \"email\": \"info@qargo.io\",\n        \"phone_number\": \"+0912341431\",\n        \"mobile_number\": \"+324567890\"\n      },\n      \"delivery_stop\": {\n        \"location\": {\n          \"name\": \"Stop 2\",\n          \"address\": \"Resedastraat 20\",\n          \"postal_code\": \"9000\",\n          \"city\": \"Gent\",\n          \"state\": \"Oost-Vlaanderen\",\n          \"country\": \"BE\",\n          \"description\": \"Delivery\"\n        },\n        \"note\": \"Stop 2 notes\",\n        \"date\": \"2024-08-21\",\n        \"reference_number\": \"Stop 2 reference number\",\n        \"instructions\": \"Stop 2 instructions\",\n        \"email\": \"info@qargo.io\",\n        \"phone_number\": \"02123456\",\n        \"mobile_number\": \"+329998888\"\n      }\n    }\n  ],\n  \"container\": {\n    \"container_scenario\": \"EXPORT\"\n  },\n  \"customer_reference_numbers\": [\n    \"QARGO_TEST_0003\"\n  ],\n  \"transport_service\": {\n    \"code\": \"CONTAINER_BOOKING\"\n  }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.qargo.com/v1/orders/order/upload","protocol":"https","host":["api","qargo","com"],"path":["v1","orders","order","upload"]}},"response":[]},{"name":"Create container export scenario order with custom stops","request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"order_identifier\": \"QARGO_TEST_0005\",\n  \"operation\": \"CREATE\",\n  \"customer\": {\n    \"name\": \"UPS SCS Coventry\"\n  },\n  \"setup_stops\": [\n    {\n      \"location\": {\n        \"name\": \"Stop 1\",\n        \"address\": \"Scheepzatestraat 1\",\n        \"postal_code\": \"9000\",\n        \"city\": \"Gent\",\n        \"state\": \"Oost-Vlaanderen\",\n        \"country\": \"BE\"\n      },\n      \"note\": \"Stop 1 notes\",\n      \"date\": \"2024-08-20\",\n      \"reference_number\": \"Stop 1 reference number\",\n      \"instructions\": \"Stop 1 instructions\",\n      \"email\": \"info@qargo.io\",\n      \"phone_number\": \"+0912341431\",\n      \"mobile_number\": \"+324567890\",\n      \"activity\": \"COLLECT_EMPTY_CONTAINER\",\n      \"position\": {\n        \"position\": 1\n      }\n    }\n  ],\n  \"consignments\": [\n    {\n      \"standalone_stops\": [\n        {\n          \"location\": {\n            \"name\": \"Stop 2\",\n            \"address\": \"Vlierstraat 4,\",\n            \"postal_code\": \"9000\",\n            \"city\": \"Gent\",\n            \"state\": \"Oost-Vlaanderen\",\n            \"country\": \"BE\",\n            \"description\": \"HQ\"\n          },\n          \"note\": \"Stop 2 notes\",\n          \"date\": \"2024-08-20\",\n          \"reference_number\": \"Stop 2 number\",\n          \"instructions\": \"Stop 2 instructions\",\n          \"email\": \"info@qargo.io\",\n          \"phone_number\": \"+0912341431\",\n          \"mobile_number\": \"+324567890\",\n          \"custom_activity\": \"WEGEN\",\n          \"position\": {\n            \"position\": 2\n          }\n        },\n        {\n          \"location\": {\n            \"name\": \"Stop 6\",\n            \"address\": \"Vlierstraat 4,\",\n            \"postal_code\": \"9000\",\n            \"city\": \"Gent\",\n            \"state\": \"Oost-Vlaanderen\",\n            \"country\": \"BE\",\n            \"description\": \"HQ\"\n          },\n          \"note\": \"Stop 6 notes\",\n          \"date\": \"2024-08-20\",\n          \"reference_number\": \"Stop 6 number\",\n          \"instructions\": \"Stop 6 instructions\",\n          \"email\": \"info@qargo.io\",\n          \"phone_number\": \"+0912341431\",\n          \"mobile_number\": \"+324567890\",\n          \"custom_activity\": \"WEGEN\",\n          \"position\": {\n            \"position\": 6\n          }\n        },\n        {\n          \"location\": {\n            \"name\": \"Stop 3\",\n            \"address\": \"Corbiestraat 4,\",\n            \"postal_code\": \"9000\",\n            \"city\": \"Gent\",\n            \"state\": \"Oost-Vlaanderen\",\n            \"country\": \"BE\"\n          },\n          \"note\": \"Stop 3 notes\",\n          \"date\": \"2024-08-22\",\n          \"reference_number\": \"Stop 3 reference number\",\n          \"instructions\": \"Stop 3 instructions\",\n          \"email\": \"info@qargo.io\",\n          \"phone_number\": \"+0912341431\",\n          \"mobile_number\": \"+324567890\",\n          \"custom_activity\": \"INKLAREN\",\n          \"position\": {\n            \"position\": 3\n          }\n        }\n      ],\n      \"pickup_stop\": {\n        \"location\": {\n          \"name\": \"Stop 4\",\n          \"address\": \"Gaston Crommenlaan 4,\",\n          \"postal_code\": \"9000\",\n          \"city\": \"Gent\",\n          \"state\": \"Oost-Vlaanderen\",\n          \"country\": \"BE\",\n          \"description\": \"HQ\"\n        },\n        \"note\": \"Stop 4 notes\",\n        \"date\": \"2024-08-20\",\n        \"reference_number\": \"Stop 4 reference number\",\n        \"instructions\": \"Stop 4 instructions\",\n        \"email\": \"info@qargo.io\",\n        \"phone_number\": \"+0912341431\",\n        \"mobile_number\": \"+324567890\",\n        \"activity\": \"PICKUP_EXPORT\",\n        \"position\": {\n          \"position\": 4\n        }\n      },\n      \"delivery_stop\": {\n        \"location\": {\n          \"name\": \"Stop 5\",\n          \"address\": \"Resedastraat 20\",\n          \"postal_code\": \"9000\",\n          \"city\": \"Gent\",\n          \"state\": \"Oost-Vlaanderen\",\n          \"country\": \"BE\",\n          \"description\": \"Delivery\"\n        },\n        \"note\": \"Stop 5 notes\",\n        \"date\": \"2024-08-21\",\n        \"reference_number\": \"Stop 5 reference number\",\n        \"instructions\": \"Stop 5 instructions\",\n        \"email\": \"info@qargo.io\",\n        \"phone_number\": \"02123456\",\n        \"mobile_number\": \"+329998888\",\n        \"activity\": \"DELIVERY_EXPORT\",\n        \"position\": {\n          \"position\": 5\n        }\n      }\n    }\n  ],\n  \"container\": {\n    \"container_scenario\": \"EXPORT\"\n  },\n  \"customer_reference_numbers\": [\n    \"QARGO_TEST_0005\"\n  ],\n  \"transport_service\": {\n    \"code\": \"CONTAINER_BOOKING\"\n  }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.qargo.com/v1/orders/order/upload","protocol":"https","host":["api","qargo","com"],"path":["v1","orders","order","upload"]}},"response":[]},{"name":"List Order Charges","request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"url":{"raw":"https://api.qargo.com/v1/orders/order/{{order_id}}/charges","protocol":"https","host":["api","qargo","com"],"path":["v1","orders","order","{{order_id}}","charges"]}},"response":[]},{"name":"Approve Order Charges","request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"body":{"mode":"raw","raw":"{\n  \"charges\": [\n    {\n      \"id\": \"497f6eca-6276-4993-bfeb-53cbbbba6f08\",\n      \"approval_status\": \"APPROVED\",\n      \"description\": \"string\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.qargo.com/v1/orders/order/{{order_id}}/charges/approval","protocol":"https","host":["api","qargo","com"],"path":["v1","orders","order","{{order_id}}","charges","approval"]}},"response":[]},{"name":"List Order Documents","request":{"method":"GET","header":[],"url":{"raw":"https://api.qargo.com/v1/orders/order/{{order_id}}/documents","protocol":"https","host":["api","qargo","com"],"path":["v1","orders","order","{{order_id}}","documents"]}},"response":[]},{"name":"Order Export","request":{"method":"GET","header":[],"url":{"raw":"https://api.qargo.com/v1/orders/order/{{order_id}}/export","protocol":"https","host":["api","qargo","com"],"path":["v1","orders","order","{{order_id}}","export"]}},"response":[]}],"description":"This folder contains examples on how to authenticate first. Moreover it contains example of create, update, cancel and fetch orders from the Qargo API."},{"name":"Resource","item":[{"name":"Authentication","item":[{"name":"Request Access token","event":[{"listen":"test","script":{"exec":["var response = pm.response.json()","pm.collectionVariables.set(\"access_token\", response.access_token);",""],"type":"text/javascript","packages":{}}}],"request":{"auth":{"type":"basic","basic":[{"key":"username","value":"{{username}}","type":"string"},{"key":"password","value":"{{password}}","type":"string"}]},"method":"POST","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://api.qargo.com/v1/auth/token","protocol":"https","host":["api","qargo","com"],"path":["v1","auth","token"]}},"response":[]}],"description":"This contains the request to authenticate with the Qargo API."},{"name":"List Resources","event":[{"listen":"prerequest","script":{"exec":[""],"type":"text/javascript","packages":{},"requests":{}}},{"listen":"test","script":{"exec":["// Get the response body","const response = pm.response.json();","","// Get the cursor for the next request","const nextCursor = response.next_cursor;","","// Initialize or get the full list","let fullList = pm.collectionVariables.get(\"full_list\");","fullList = fullList ? JSON.parse(fullList) : [];","","// Append current page's resources to the full list","if (response.items) {","    fullList.push(...response.items);","}","","// Save the full list back to the collection variable","pm.collectionVariables.set(\"full_list\", JSON.stringify(fullList));","","// Log for debugging","console.log(\"Current page resources:\", response.items ? response.items.length : 0);","console.log(\"Total resources so far:\", fullList.length);","","// Set the next cursor for the loop","if (nextCursor) {","    // Set the cursor for the next request","    pm.collectionVariables.set(\"cursor\", nextCursor);","    // This tells the runner to run this same request again","    postman.setNextRequest(pm.info.requestName);","} else {","    // Stop the loop when there is no next cursor","    pm.collectionVariables.unset(\"cursor\");","    postman.setNextRequest(null);","    ","    // --- Start Filtering Logic ---","","    // Define an array of resource types to filter","    const resourceTypesToFilter = ['driver', 'trailer']; // Modify this array to include any other resource types","","    const filteredList = fullList.filter(resource => {","        // Check if the resource has any of the specified types","        return resourceTypesToFilter.some(type => resource.hasOwnProperty(type));","    });","","    // Save the filtered list to a new collection variable","    pm.collectionVariables.set(\"filtered_list\", JSON.stringify(filteredList, null, 2));","","    // Log the final count of filtered items","    console.log(\"Pagination complete! Total filtered resources:\", filteredList.length);","","    // Optional: Log the first few filtered items for a quick check","    console.log(\"First 5 filtered items:\", filteredList.slice(0, 5));","    // --- End Filtering Logic ---","}",""],"type":"text/javascript","packages":{},"requests":{}}}],"protocolProfileBehavior":{"disableBodyPruning":"true"},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.qargo.com/v1/resources/resource","protocol":"https","host":["api","qargo","com"],"path":["v1","resources","resource"],"query":[{"key":"cursor","value":"{{cursor}}","disabled":"true"},{"key":"state","value":"","disabled":"true"},{"key":"start_time","value":"2023-09-15T12:33:17.713Z","disabled":"true"},{"key":"end_time","value":"2025-09-15T12:33:17.713Z","disabled":"true"}]}},"response":[]},{"name":"Create resource","request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"John\",\n  \"code\": \"MR\",\n  \"note\": \"test\",\n  \"custom_fields\": {},\n  \"integrations\": {\n    \"test_integrations\": {\n      \"active\": true,\n      \"object_id\": \"1\"\n    }\n  },\n  \"driver\": {\n    \"first_name\": \"John\",\n    \"last_name\": \"doe\",\n    \"email_address\": \"john.doe@qargo.com\",\n    \"date_of_birth\": \"1996-01-01\",\n    \"phone_number\": \"\"\n  }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.qargo.com/v1/resources/resource","protocol":"https","host":["api","qargo","com"],"path":["v1","resources","resource"]}},"response":[]},{"name":"Update Resource","request":{"method":"PUT","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"John\",\n  \"locale\" : \"en\", \n  \"code\" : \"MR\",\n  \"external_id\": \"\",\n  \"code\": \"MR\",\n  \"note\": \"test\",\n  \"custom_fields\": {},\n  \"integrations\": {\n    \"test_integrations\": {\n      \"active\": true,\n      \"object_id\": \"1\"\n    }\n  },\n  \"driver\": {\n    \"first_name\": \"John\",\n    \"last_name\": \"doe\",\n    \"email_address\": \"john.doe@qargo.com\",\n    \"date_of_birth\": \"1996-01-01\",\n    \"phone_number\": \"+32412345678\"\n  }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.qargo.com/v1/resources/resource/{{resource_id}}","protocol":"https","host":["api","qargo","com"],"path":["v1","resources","resource","{{resource_id}}"]}},"response":[]},{"name":"Update Resource (partially)","request":{"method":"PATCH","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"John\",\n  \"code\": \"MR\",\n  \"note\": \"test\",\n  \"custom_fields\": {},\n  \"integrations\": {\n    \"test_integrations\": {\n      \"active\": true,\n      \"object_id\": \"1\"\n    }\n  },\n  \"driver\": {\n    \"first_name\": \"John\",\n    \"last_name\": \"doe\",\n    \"email_address\": \"john.doe@qargo.com\",\n    \"date_of_birth\": \"1996-01-01\",\n    \"phone_number\": \"\"\n  }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.qargo.com/v1/resources/resource/{{resource_id}}","protocol":"https","host":["api","qargo","com"],"path":["v1","resources","resource","{{resource_id}}"]}},"response":[]},{"name":"Delete Resource","request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"https://api.qargo.com/v1/resources/resource/{{resource_id}}","protocol":"https","host":["api","qargo","com"],"path":["v1","resources","resource","{{resource_id}}"]}},"response":[]},{"name":"List Resource Unavailabilities","event":[{"listen":"prerequest","script":{"exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"protocolProfileBehavior":{"disableBodyPruning":"true"},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.qargo.com/v1/resources/resource/{{resource_id}}/unavailability","protocol":"https","host":["api","qargo","com"],"path":["v1","resources","resource","{{resource_id}}","unavailability"],"query":[{"key":"","value":"1","disabled":"true"},{"key":"state","value":"eyJzdGF0ZSI6ICIzY2RjNTczMCIsICJvZmZzZXQiOiAxMDB9","disabled":"true"},{"key":"cursor","value":"{{cursor}}","disabled":"true"},{"key":"start_time","value":"2023-09-15T12:33:17.713Z","disabled":"true"},{"key":"end_time","value":"2025-09-15T12:33:17.713Z","disabled":"true"}]}},"response":[]},{"name":"Create Resource Unavailabilities","event":[{"listen":"prerequest","script":{"exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\n\"start_time\": \"2015-10-24T14:15:22Z\",\n\"end_time\": \"2019-10-24T14:15:22Z\",\n\"reason\": \"VEHICLE_CLEANING\",\n\"description\": \"test\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.qargo.com/v1/resources/resource/{{resource_id}}/unavailability","protocol":"https","host":["api","qargo","com"],"path":["v1","resources","resource","{{resource_id}}","unavailability"],"query":[{"key":"","value":"1","disabled":"true"},{"key":"state","value":"eyJzdGF0ZSI6ICIzY2RjNTczMCIsICJvZmZzZXQiOiAxMDB9","disabled":"true"}]}},"response":[]},{"name":"Update resource Unavailabilities","event":[{"listen":"prerequest","script":{"exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"request":{"method":"PUT","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\n\"start_time\": \"2015-10-24T14:15:22Z\",\n\"end_time\": \"2019-10-24T14:15:22Z\",\n\"reason\": \"VEHICLE_CLEANING\",\n\"description\": \"test\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.qargo.com/v1/resources/resource/{{resource_id}}/unavailability/{{unavailability_id}}","protocol":"https","host":["api","qargo","com"],"path":["v1","resources","resource","{{resource_id}}","unavailability","{{unavailability_id}}"],"query":[{"key":"","value":"1","disabled":"true"},{"key":"state","value":"eyJzdGF0ZSI6ICIzY2RjNTczMCIsICJvZmZzZXQiOiAxMDB9","disabled":"true"}]}},"response":[]},{"name":"Update resource Unavailabilities","event":[{"listen":"prerequest","script":{"exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"https://api.qargo.com/v1/resources/resource/{{resource_id}}/unavailability/{{unavailability_id}}","protocol":"https","host":["api","qargo","com"],"path":["v1","resources","resource","{{resource_id}}","unavailability","{{unavailability_id}}"],"query":[{"key":"","value":"1","disabled":"true"},{"key":"state","value":"eyJzdGF0ZSI6ICIzY2RjNTczMCIsICJvZmZzZXQiOiAxMDB9","disabled":"true"}]}},"response":[]},{"name":"List resource validities","protocolProfileBehavior":{"disableBodyPruning":"true"},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":{"raw":"https://api.qargo.com/v1/resources/resource/{{resource_id}}/validity","protocol":"https","host":["api","qargo","com"],"path":["v1","resources","resource","{{resource_id}}","validity"]}},"response":[]},{"name":"Get resource validity","protocolProfileBehavior":{"disableBodyPruning":"true"},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.qargo.com/v1/resources/resource/{{resource_id}}/validity/{{validity_id}}","protocol":"https","host":["api","qargo","com"],"path":["v1","resources","resource","{{resource_id}}","validity","{{validity_id}}"]}},"response":[]},{"name":"Create Resource Validity","request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{access_token}}","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"type\": \"VEHICLE_REPAIR_REPORT\",\n    \"start_time\": \"2025-01-30T00:00:00+00:00\",\n    \"generate_unavailability\": false,\n    \"legal_end_time\": \"2025-03-01T12:00:00+00:00\",\n    \"description\": \"[API generated description] with legal_end_timestamp | generate_unavailability: false\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.qargo.com/v1/resources/resource/{{resource_id}}/validity","protocol":"https","host":["api","qargo","com"],"path":["v1","resources","resource","{{resource_id}}","validity"]}},"response":[]},{"name":"Update Resource Validity","request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{access_token}}","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"type\": \"DRIVER_ADR_LICENSE\",\n    \"start_time\": \"2025-01-05T00:00:00+00:00\",\n    \"legal_end_time\": \"2026-03-01T12:00:00+00:00\",\n    \"generate_unavailability\": true,\n    \"description\": \"[API generated description] No legal_end_timestamp | generate_unavailability: false\",\n    \"company_id\": \"c87de635-3194-462c-97fa-2fefe144ca25\",\n    \"documents\": [\n       {\n            \"upload_id\": \"9b7c97fc-1938-4ff7-9d96-c9dc0ec4ad56\",\n            \"name\": \"Insurance 2025.jpg\",\n            \"document_type\": \"VEHICLE_REPAIR_REPORT\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.qargo.com/v1/resources/resource/{{resource_id}}/validity/{{validity_id}}","protocol":"https","host":["api","qargo","com"],"path":["v1","resources","resource","{{resource_id}}","validity","{{validity_id}}"]}},"response":[]},{"name":"Delete Resource Validity","request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{access_token}}","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.qargo.com/v1/resources/resource/{{resource_id}}/validity/{{validity_id}}","protocol":"https","host":["api","qargo","com"],"path":["v1","resources","resource","{{resource_id}}","validity","{{validity_id}}"]}},"response":[]},{"name":"Get Resource Validity Documents","protocolProfileBehavior":{"disableBodyPruning":"true"},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{access_token}}","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.qargo.com/v1/resources/resource/{{resource_id}}/validity/{{document_id}}/documents","protocol":"https","host":["api","qargo","com"],"path":["v1","resources","resource","{{resource_id}}","validity","{{document_id}}","documents"]}},"response":[]}],"description":"This folder show how you authenticate , futhermore some examples were provided of requests related to resources that can be performed against the Qargo API."},{"name":"Companies","item":[{"name":"Authentication","item":[{"name":"Request Access token","event":[{"listen":"test","script":{"exec":["var response = pm.response.json()","pm.collectionVariables.set(\"access_token\", response.access_token);",""],"type":"text/javascript","packages":{},"requests":{}}}],"request":{"auth":{"type":"basic","basic":[{"key":"username","value":"{{username}}","type":"string"},{"key":"password","value":"{{password}}","type":"string"}]},"method":"POST","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://api.qargo.com/v1/auth/token","protocol":"https","host":["api","qargo","com"],"path":["v1","auth","token"]}},"response":[]}],"description":"This contains the request to authenticate with the Qargo API."},{"name":"List companies","request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"https://api.qargo.com/v1/accounting/company","protocol":"https","host":["api","qargo","com"],"path":["v1","accounting","company"]}},"response":[]},{"name":"Create company","request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"John Doe\",\n  \"code\": \"54478\",\n  \"currency\": \"GBP\",\n  \"custom_fields\": {},\n  \"is_customer\": true,\n  \"is_subcontractor\": false,\n  \"legal_name\": \"Test Customer\",\n  \"locale\": \"en-GB\",\n  \"vat_number\": \"1222323\",\n  \"reference_numbers\": {\n    \"eori_number\": \"\",\n    \"duns_number\": \"\",\n    \"scac_code\": \"\",\n    \"company_registration_number\": \"\",\n    \"tss_registration_number\": \"\"\n  },\n  \"note\": \"test\",\n  \"tax_type\": \"VAT\",\n  \"status\": \"APPROVED\",\n  \"bank_accounts\": [],\n  \"accounting_code\": \"54478\",\n  \"billing_location\": {\n    \"code\": \"\",\n    \"address\": \"Gaston Crommenlaan 4\",\n    \"address_second_line\": \"\",\n    \"city\": \"Ghent\",\n    \"state\": \"\",\n    \"country\": \"BE\",\n    \"postal_code\": \"9050\",\n    \"name\": \"Qargo Test\"\n  },\n  \"payment_term\": {\n    \"code\": \"END_OF_MONTH_2\"\n  },\n \"contacts\": [\n    {\n      \"is_archived\": false,\n      \"roles\": [\n        \"BILLING\"\n      ],\n      \"name\": \"John Doe\",\n      \"note\": \"string\",\n      \"email\": \"string@qargo.com\",\n      \"phone_number\": \"+32485123456\"\n    }\n  ],\n  \"sales\": {\n    \"status\": \"APPROVED\",\n    \"payment_term\": {\n      \"code\": \"END_OF_MONTH_2\"\n    }\n  },\n  \"purchase\": {\n    \"status\": \"APPROVED\",\n    \"payment_term\": {\n      \"code\": \"END_OF_MONTH_2\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.qargo.com/v1/accounting/company","protocol":"https","host":["api","qargo","com"],"path":["v1","accounting","company"]}},"response":[]},{"name":"Create company","request":{"method":"PATCH","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"John Doe\",\n  \"code\": \"54478\",\n  \"currency\": \"GBP\",\n  \"custom_fields\": {},\n  \"is_customer\": true,\n  \"is_subcontractor\": false,\n  \"legal_name\": \"Test Customer\",\n  \"locale\": \"en-GB\",\n  \"vat_number\": \"1222323\",\n  \"reference_numbers\": {\n    \"eori_number\": \"\",\n    \"duns_number\": \"\",\n    \"scac_code\": \"\",\n    \"company_registration_number\": \"\",\n    \"tss_registration_number\": \"\"\n  },\n  \"note\": \"test\",\n  \"is_blocked\": false,\n  \"tax_type\": \"VAT\",\n  \"status\": \"APPROVED\",\n  \"bank_accounts\": [],\n  \"accounting_code\": \"54478\",\n  \"billing_location\": {\n    \"code\": \"\",\n    \"address\": \"Gaston Crommenlaan 4\",\n    \"address_second_line\": \"\",\n    \"city\": \"Ghent\",\n    \"state\": \"\",\n    \"country\": \"BE\",\n    \"postal_code\": \"9050\",\n    \"name\": \"Qargo Test\"\n  },\n  \"payment_term\": {\n    \"code\": \"END_OF_MONTH_2\"\n  },\n \"contacts\": [\n    {\n      \"is_archived\": false,\n      \"roles\": [\n        \"BILLING\"\n      ],\n      \"name\": \"John Doe\",\n      \"note\": \"string\",\n      \"email\": \"string@qargo.com\",\n      \"phone_number\": \"+32485123456\"\n    }\n  ],\n  \"sales\": {\n    \"status\": \"APPROVED\",\n    \"payment_term\": {\n      \"code\": \"END_OF_MONTH_2\"\n    }\n  },\n  \"purchase\": {\n    \"status\": \"APPROVED\",\n    \"payment_term\": {\n      \"code\": \"END_OF_MONTH_2\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.qargo.com/v1/accounting/company/{{company_id}}","protocol":"https","host":["api","qargo","com"],"path":["v1","accounting","company","{{company_id}}"]}},"response":[]},{"name":"update company","request":{"method":"PUT","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"John Doe\",\n  \"code\": \"54478\",\n  \"currency\": \"GBP\",\n  \"custom_fields\": {},\n  \"is_customer\": true,\n  \"is_subcontractor\": false,\n  \"legal_name\": \"Test Customer\",\n  \"locale\": \"en-GB\",\n  \"vat_number\": \"1222323\",\n  \"reference_numbers\": {\n    \"eori_number\": \"\",\n    \"duns_number\": \"\",\n    \"scac_code\": \"\",\n    \"company_registration_number\": \"\",\n    \"tss_registration_number\": \"\"\n  },\n  \"note\": \"test\",\n  \"is_blocked\": false,\n  \"tax_type\": \"VAT\",\n  \"status\": \"APPROVED\",\n  \"bank_accounts\": [],\n  \"accounting_code\": \"54478\",\n  \"billing_location\": {\n    \"code\": \"\",\n    \"address\": \"Gaston Crommenlaan 4\",\n    \"address_second_line\": \"\",\n    \"city\": \"Ghent\",\n    \"state\": \"\",\n    \"country\": \"BE\",\n    \"postal_code\": \"9050\",\n    \"name\": \"Qargo Test\"\n  },\n  \"payment_term\": {\n    \"code\": \"END_OF_MONTH_2\"\n  },\n \"contacts\": [\n    {\n      \"is_archived\": false,\n      \"roles\": [\n        \"BILLING\"\n      ],\n      \"name\": \"John Doe\",\n      \"note\": \"string\",\n      \"email\": \"string@qargo.com\",\n      \"phone_number\": \"+32485123456\"\n    }\n  ],\n  \"sales\": {\n    \"status\": \"APPROVED\",\n    \"payment_term\": {\n      \"code\": \"END_OF_MONTH_2\"\n    }\n  },\n  \"purchase\": {\n    \"status\": \"APPROVED\",\n    \"payment_term\": {\n      \"code\": \"END_OF_MONTH_2\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.qargo.com/v1/accounting/company/{{company_id}}","protocol":"https","host":["api","qargo","com"],"path":["v1","accounting","company","{{company_id}}"]}},"response":[]},{"name":"Delete Company","request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"https://api.qargo.com/v1/accounting/company/{{company_id}}","protocol":"https","host":["api","qargo","com"],"path":["v1","accounting","company","{{company_id}}"]}},"response":[]},{"name":"Create company document","request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"upload_id\": \"{{upload_id}}\",\n  \"document_type\": \"CREDIT_REPORT\",\n  \"name\": \"test_validity\",\n  \"validity\": {\n\"start_time\": \"2025-08-24T14:15:22Z\",\n\"end_time\": \"2026-08-24T14:15:22Z\",\n\"legal_end_time\": \"2026-08-24T14:15:22Z\",\n\"generate_unavailability\": true,\n\"type\": \"CREDIT_REPORT\",\n\"description\": \"test_validity\"\n}\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.qargo.com/v1/companies/company/{{company_id}}/documents","protocol":"https","host":["api","qargo","com"],"path":["v1","companies","company","{{company_id}}","documents"]}},"response":[]},{"name":"Get company documents","protocolProfileBehavior":{"disableBodyPruning":"true"},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.qargo.com/v1/companies/company/{{company_id}}/documents","protocol":"https","host":["api","qargo","com"],"path":["v1","companies","company","{{company_id}}","documents"]}},"response":[]},{"name":"List Company Validities","protocolProfileBehavior":{"disableBodyPruning":"true"},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.qargo.com/v1/companies/company/{{company_id}}/validity","protocol":"https","host":["api","qargo","com"],"path":["v1","companies","company","{{company_id}}","validity"]}},"response":[]},{"name":"Create company validity Request","request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"start_time\": \"2025-08-24T14:15:22Z\",\n    \"end_time\": \"2026-08-24T14:15:22Z\",\n    \"generate_unavailability\": true,\n    \"type\": \"A1_DOCUMENT\",\n    \"external_id\": \"\",\n    \"description\": \"A1_DOCUMENT\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.qargo.com/v1/companies/company/{{company_id}}/validity","protocol":"https","host":["api","qargo","com"],"path":["v1","companies","company","{{company_id}}","validity"]}},"response":[]},{"name":"Get Company Validity","protocolProfileBehavior":{"disableBodyPruning":"true"},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.qargo.com/v1/companies/company/{{company_id}}/validity/{{validity_id}}","protocol":"https","host":["api","qargo","com"],"path":["v1","companies","company","{{company_id}}","validity","{{validity_id}}"]}},"response":[]},{"name":"Update company validity","request":{"method":"PUT","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"start_time\": \"2025-08-24T14:15:22Z\",\n    \"end_time\": \"2026-08-24T14:15:22Z\",\n    \"generate_unavailability\": true,\n    \"type\": \"A1_DOCUMENT\",\n    \"external_id\": \"\",\n    \"description\": \"A1_DOCUMENT\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.qargo.com/v1/companies/company/{{company_id}}/validity/{{validity_id}}","protocol":"https","host":["api","qargo","com"],"path":["v1","companies","company","{{company_id}}","validity","{{validity_id}}"]}},"response":[]},{"name":"Delete Company Validity","request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.qargo.com/v1/companies/company/{{company_id}}/validity/{{validity_id}}","protocol":"https","host":["api","qargo","com"],"path":["v1","companies","company","{{company_id}}","validity","{{validity_id}}"]}},"response":[]},{"name":"Get Company Validity Documents","protocolProfileBehavior":{"disableBodyPruning":"true"},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.qargo.com/v1/companies/company/{{company_id}}/validity","protocol":"https","host":["api","qargo","com"],"path":["v1","companies","company","{{company_id}}","validity"]}},"response":[]}],"description":"This folder contains examples on how to authenticate and how to get company data (customers and subcontractors). There are specific calls for validity included as well."},{"name":"Accounting","item":[{"name":"Authentication","item":[{"name":"Request Access token","event":[{"listen":"test","script":{"exec":["var response = pm.response.json()","pm.collectionVariables.set(\"access_token\", response.access_token);",""],"type":"text/javascript","packages":{},"requests":{}}}],"request":{"auth":{"type":"basic","basic":[{"key":"username","value":"{{username}}","type":"string"},{"key":"password","value":"{{password}}","type":"string"}]},"method":"POST","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://api.qargo.com/v1/auth/token","protocol":"https","host":["api","qargo","com"],"path":["v1","auth","token"]}},"response":[]}],"description":"This contains the request to authenticate with the Qargo API."},{"name":"List Invoices/Credit Notes To Sync","request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"url":{"raw":"https://api.qargo.com/v1/accounting/sync-tasks","protocol":"https","host":["api","qargo","com"],"path":["v1","accounting","sync-tasks"]}},"response":[]},{"name":"Report Sync Status For Invoice/Credit Note","request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"body":{"mode":"raw","raw":"{\n    \"status\": \"COMPLETED\",\n    \"failure\": {\n        \"error_type\": \"USER_INPUT_ERROR\",\n        \"error_message\": \"this is a test\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.qargo.com/v1/accounting/sync-tasks/{{task_id}}/update-status","protocol":"https","host":["api","qargo","com"],"path":["v1","accounting","sync-tasks","{{task_id}}","update-status"],"query":[{"key":"","value":"","disabled":"true"}]}},"response":[]},{"name":"Retrieve sales invoice","request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"url":{"raw":"https://api.qargo.com/v1/accounting/sales-invoice/{{sales_invoice_id}}","protocol":"https","host":["api","qargo","com"],"path":["v1","accounting","sales-invoice","{{sales_invoice_id}}"]}},"response":[]},{"name":"Retrieve Credit Note","request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"url":{"raw":"https://api.qargo.com/v1/accounting/sales-credit-note/{{sales_credit_note_id}}","protocol":"https","host":["api","qargo","com"],"path":["v1","accounting","sales-credit-note","{{sales_credit_note_id}}"]}},"response":[]},{"name":"retrieve purchase invoice","request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"url":{"raw":"https://api.qargo.com/v1/accounting/purchase-invoice/{{purchase_invoice_id}}","protocol":"https","host":["api","qargo","com"],"path":["v1","accounting","purchase-invoice","{{purchase_invoice_id}}"]}},"response":[]},{"name":"retrieve purchase credit note","request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"url":{"raw":"https://api.qargo.com/v1/accounting/purchase-credit-note/{{purchase_credit_note_id}}","protocol":"https","host":["api","qargo","com"],"path":["v1","accounting","purchase-credit-note","{{purchase_credit_note_id}}"]}},"response":[]},{"name":"retrieve sales invoice document","request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"url":{"raw":"https://api.qargo.com/v1/accounting/sales-invoice/{{sales_invoice_id}}/documents","protocol":"https","host":["api","qargo","com"],"path":["v1","accounting","sales-invoice","{{sales_invoice_id}}","documents"]}},"response":[]},{"name":"retrieve purchase invoice document","request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"url":{"raw":"https://api.qargo.com/v1/accounting/purchase_invoice/{{purchase_invoice_id}}/documents","protocol":"https","host":["api","qargo","com"],"path":["v1","accounting","purchase_invoice","{{purchase_invoice_id}}","documents"]}},"response":[]},{"name":"retrieve sales credit note document","request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"url":{"raw":"https://api.qargo.com/v1/accounting/sales-credit_note/{{credit_note_id}}/documents","protocol":"https","host":["api","qargo","com"],"path":["v1","accounting","sales-credit_note","{{credit_note_id}}","documents"]}},"response":[]},{"name":"get purchase credit note document","request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"url":{"raw":"https://api.qargo.com/v1/accounting/purchase-credit-note/{{purchase_credit_note}}/documents","protocol":"https","host":["api","qargo","com"],"path":["v1","accounting","purchase-credit-note","{{purchase_credit_note}}","documents"]}},"response":[]},{"name":"Report Payment Status For Sales Invoice","request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"status\": \"PAID\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.qargo.com/v1/accounting/sales-invoice/{{sales_invoice_id}}/payment/update-status","protocol":"https","host":["api","qargo","com"],"path":["v1","accounting","sales-invoice","{{sales_invoice_id}}","payment","update-status"]}},"response":[]},{"name":"Report Payment Status For purchase Invoic","request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"status\": \"PAID\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.qargo.com/v1/accounting/purchase-invoice/{{purchase_invoice_id}}/payment/update-status","protocol":"https","host":["api","qargo","com"],"path":["v1","accounting","purchase-invoice","{{purchase_invoice_id}}","payment","update-status"]}},"response":[]},{"name":"Report Refund Status For Sales Credit Note","request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"status\": \"OPEN\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.qargo.com/v1/accounting/sales-credit-note/{{sales_credit_note_id}}/refund/update-status","protocol":"https","host":["api","qargo","com"],"path":["v1","accounting","sales-credit-note","{{sales_credit_note_id}}","refund","update-status"]}},"response":[]},{"name":"Report Refund Status For Purchase Credit Note","request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"status\": \"OPEN\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.qargo.com/v1/accounting/purchase-credit-note/{{purchase_credit_note_id}}/refund/update-status","protocol":"https","host":["api","qargo","com"],"path":["v1","accounting","purchase-credit-note","{{purchase_credit_note_id}}","refund","update-status"]}},"response":[]}],"description":"This folder contains examples on how to authenticate and how to get invoice data, invoice documents and change the payment status on invoices in Qargo"},{"name":"Webhook inbound","item":[{"name":"update stops","request":{"auth":{"type":"basic","basic":[{"key":"username","value":"{{username}}","type":"string"},{"key":"password","value":"{{password}}","type":"string"}]},"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"updates\": [\n    {\n      \"stop\": {\n        \"id\": {{stop_id}} ,\n        \"status\": \"COMPLETED\",\n        \"question_answers\": {}\n\n        \n        },\n        \"event_time\" : \"{{$isoTimestamp}}\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.qargo.com/v1/webhook/status","protocol":"https","host":["api","qargo","com"],"path":["v1","webhook","status"]}},"response":[]},{"name":"Upload document in Qargo","request":{"auth":{"type":"basic","basic":[{"key":"password","value":"{{password}}","type":"string"},{"key":"username","value":"{{username}}","type":"string"},{"key":"saveHelperData","type":"any"},{"key":"showPassword","value":"false","type":"boolean"}]},"method":"POST","header":[],"body":{"mode":"file","file":{"src":"postman-cloud:///1f046991-e3b0-4390-bbfe-07d7834e5573"}},"url":{"raw":"https://api.qargo.com/v1/webhook/status?question_path_key={{question_path_key}}&stop_id={{stop_id}}","protocol":"https","host":["api","qargo","com"],"path":["v1","webhook","status"],"query":[{"key":"question_path_key","value":"{{question_path_key}}"},{"key":"stop_id","value":"{{stop_id}}"}]}},"response":[]}],"description":"In this folder the inbound webhook requests can be found. The authentication is basic authentication which is different from the other API requests."},{"name":"Trip","item":[{"name":"Authentication","item":[{"name":"Request Access token","event":[{"listen":"test","script":{"exec":["var response = pm.response.json()","pm.collectionVariables.set(\"access_token\", response.access_token);",""],"type":"text/javascript","packages":{},"requests":{}}}],"request":{"auth":{"type":"basic","basic":[{"key":"username","value":"{{username}}","type":"string"},{"key":"password","value":"{{password}}","type":"string"}]},"method":"POST","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://api.qargo.com/v1/auth/token","protocol":"https","host":["api","qargo","com"],"path":["v1","auth","token"]}},"response":[]}],"description":"This contains the request to authenticate with the Qargo API."},{"name":"Get Trip Costs","request":{"method":"GET","header":[],"url":{"raw":"https://api.qargo.com/v1/trips/trip/{{trip_id}}/costs","protocol":"https","host":["api","qargo","com"],"path":["v1","trips","trip","{{trip_id}}","costs"]}},"response":[]},{"name":"Get Trip Documents","request":{"method":"GET","header":[],"url":{"raw":"https://api.qargo.com/v1/trips/trip/{{trip_id}}/documents","protocol":"https","host":["api","qargo","com"],"path":["v1","trips","trip","{{trip_id}}","documents"]}},"response":[]}],"description":"In this folder you find a way to authenticate and get trip info like charges and documents"},{"name":"Document","item":[{"name":"Authentication","item":[{"name":"Request Access token","event":[{"listen":"test","script":{"exec":["var response = pm.response.json()","pm.collectionVariables.set(\"access_token\", response.access_token);",""],"type":"text/javascript","packages":{},"requests":{}}}],"request":{"auth":{"type":"basic","basic":[{"key":"username","value":"{{username}}","type":"string"},{"key":"password","value":"{{password}}","type":"string"}]},"method":"POST","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://api.qargo.com/v1/auth/token","protocol":"https","host":["api","qargo","com"],"path":["v1","auth","token"]}},"response":[]}],"description":"This contains the request to authenticate with the Qargo API."},{"name":"upload document","request":{"method":"POST","header":[],"url":{"raw":"https://api.qargo.com/v1/documents/document/upload_content","protocol":"https","host":["api","qargo","com"],"path":["v1","documents","document","upload_content"]}},"response":[]},{"name":"Download Document","request":{"method":"GET","header":[],"url":{"raw":"https://api.qargo.com/v1/documents/document/{{document_id}}/download","protocol":"https","host":["api","qargo","com"],"path":["v1","documents","document","{{document_id}}","download"]}},"response":[]}],"description":"In this folder you'll find a way to authenticate and download documents from Qargo"}],"auth":{"type":"inherit"},"event":[{"listen":"prerequest","script":{"type":"text/javascript","packages":{},"exec":[""]}},{"listen":"test","script":{"type":"text/javascript","packages":{},"exec":[""]}}],"variable":[{"key":"access_token","value":""},{"key":"username","value":""},{"key":"password","value":""},{"key":"time","value":"@variable"},{"key":"offset","value":""},{"key":"state","value":""},{"key":"full_list","value":""},{"key":"filtered_list","value":""},{"key":"cursor","value":""},{"key":"resource_id","value":"","type":"default"},{"key":"upload_id","value":""}]}