{"info":{"_postman_id":"669cce1a-29d7-00da-8a9b-42133667113e","name":"API Gateway (staff)","description":"The TradeCafe API Gateway is the external access point to the TradeCafe platform. It exposes functionality of the various TradeCafe services and allow applications to interact with the platform. The API sits behind a load balancer which accepts requests from the web and mobile TradeCafe applications then passes those requests to the appropriate TradeCafe service(s). Much of the business logic and restrictions associated with TradeCafe are contained within the Gateway API, while each service manages its own set of rules. The API enforces many of the business rules then uses the end services to create, retrieve, update, and delete specific service data.\n\n# Requests\n\nThe API accepts standard HTTP requests. You may pass values to the API via the URL query string or the request body, when required by an endpoint. The request body, if present, is always assumed to be in JSON format. The Content-Type and Acceptheaders are ignored.\n\n# Responses\n\nThe TradeCafe API uses standard HTTP status codes where ever possible. Each response also includes a JSON payload with the requested data or an appropriate error message if the request failed.\n\nMost requests will respond with a status of 2xx to singal that the request was successful.\n\n- `400` means the request was invalid due to bad input\n    \n- `401` means you are not authenticated or access is denied\n    \n- `404` means the requested item was not found in your account\n    \n- `500` means the server experienced an internal error\n    \n\nPlease review all error messages returned by the API carefully to fully understand any errors.\n\n# Errors\n\nWhen a request is valid but a data type in your JSON payload is invalid or missing, the API will let you know with a 400 error. The TradeCafe API strictly enforces data types where indicated, and also enforces data value options.\n\nBelow is an example JSON payload response. The error attribute is only available if an error occured.\n\n{ data: {…}, error: { message: '...', code: xxx }} }","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json"},"item":[{"name":"Accounts","item":[{"name":"create new","id":"3aee05ed-60db-f984-01ba-8634c9c593de","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"LoLcG7xCWreDfJb41gfxgGiMIEv7CclX5nkQva6vei062KiX0GpV8aCmAYA6T7JVk55nZUZcaGAVwvlQsXajcs"}},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"WA-6267\",\n    \"status\": 0,\n    \"type\": \"buyer\",\n    \"primaryphone\": \"WA-6267\",\n    \"primaryemail\": \"spectman+WA-6267@gmail.com\",\n    \"products_spec\": [\n        {\n            \"product_id\": \"6b9619a6-6e67-491c-a685-15ba6607f4b4\",\n            \"item_type_id\": \"7f4a4d50-420c-4e34-9c6e-bd72148f1673\"\n        }\n    ],\n    \"products\": [\n        \"6b9619a6-6e67-491c-a685-15ba6607f4b4\"\n    ],\n    \"attributes\": {}\n}"},"url":"{{gateway_host}}/accounts","description":"List accounts"},"response":[{"id":"7690e80c-6f5d-afd0-de42-6accadcec15a","name":"/accounts","originalRequest":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"{{service_url}}/accounts","host":["{{service_url}}"],"path":["accounts"],"query":[{"key":"name","value":"account name","disabled":true},{"key":"attributes[field]","value":"field value","disabled":true},{"key":"archived","value":"true","description":"include archived accounts","disabled":true},{"key":"skip","value":"5","description":"paging - number of items to skip","disabled":true},{"key":"limit","value":"10","description":"paging - number of items to limit by","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"name":"connection","key":"connection","value":"keep-alive","description":""},{"name":"content-length","key":"content-length","value":"4429","description":""},{"name":"content-type","key":"content-type","value":"application/json; charset=utf-8","description":""},{"name":"date","key":"date","value":"Thu, 05 Oct 2017 13:16:57 GMT","description":""},{"name":"etag","key":"etag","value":"W/\"114d-0y8HTDPAi4O2b9ZlSv2h+qzuxFw\"","description":""},{"name":"server","key":"server","value":"nginx/1.10.3 (Ubuntu)","description":""},{"name":"x-powered-by","key":"x-powered-by","value":"Express","description":""}],"cookie":[],"responseTime":"292","body":"[{\"name\":\"Company Name\",\"type\":\"buyer\",\"primaryemail\":\"a-company-825@test.com\",\"primaryphone\":\"+12025551859\",\"products\":[\"prod-id-39\"],\"account\":1506997032.9828,\"created\":1506997032,\"status\":0,\"corp_type\":null,\"parent\":null,\"emails\":[],\"phones\":[],\"addresses\":[],\"website\":null,\"archived\":false,\"attributes\":{},\"currency\":null,\"language\":null,\"manager\":null,\"coordinator\":null,\"banking\":null},{\"name\":\"Company Name\",\"type\":\"buyer\",\"primaryemail\":\"a-company-362@test.com\",\"primaryphone\":\"+12025551643\",\"products\":[\"prod-id-596\"],\"account\":1506997102.1795,\"created\":1506997102,\"status\":0,\"corp_type\":null,\"parent\":null,\"emails\":[],\"phones\":[],\"addresses\":[],\"website\":null,\"archived\":false,\"attributes\":{},\"currency\":null,\"language\":null,\"manager\":null,\"coordinator\":null,\"banking\":null},{\"name\":\"Company Name\",\"type\":\"buyer\",\"primaryemail\":\"a-company-707@test.com\",\"primaryphone\":\"+12025551330\",\"products\":[\"prod-id-215\"],\"account\":1506997263.5022,\"created\":1506997263,\"status\":0,\"corp_type\":null,\"parent\":null,\"emails\":[],\"phones\":[],\"addresses\":[],\"website\":null,\"archived\":false,\"attributes\":{},\"currency\":null,\"language\":null,\"manager\":null,\"coordinator\":null,\"banking\":null},{\"name\":\"Company Name\",\"type\":\"buyer\",\"primaryemail\":\"a-company-491@test.com\",\"primaryphone\":\"+12025551374\",\"products\":[\"prod-id-611\"],\"account\":1506998529.5639,\"created\":1506998529,\"status\":0,\"corp_type\":null,\"parent\":null,\"emails\":[],\"phones\":[],\"addresses\":[],\"website\":null,\"archived\":false,\"attributes\":{},\"currency\":null,\"language\":null,\"manager\":null,\"coordinator\":null,\"banking\":null},{\"name\":\"Company Name\",\"type\":\"buyer\",\"primaryemail\":\"a-company-92@test.com\",\"primaryphone\":\"+12025551652\",\"products\":[\"prod-id-686\"],\"account\":1506998643.5159,\"created\":1506998643,\"status\":0,\"corp_type\":null,\"parent\":null,\"emails\":[],\"phones\":[],\"addresses\":[],\"website\":null,\"archived\":false,\"attributes\":{},\"currency\":null,\"language\":null,\"manager\":null,\"coordinator\":null,\"banking\":null},{\"name\":\"Company Name\",\"type\":\"buyer\",\"primaryemail\":\"a-company-669@test.com\",\"primaryphone\":\"+12025551342\",\"products\":[\"prod-id-531\"],\"account\":1506998949.8465,\"created\":1506998949,\"status\":0,\"corp_type\":null,\"parent\":null,\"emails\":[],\"phones\":[],\"addresses\":[],\"website\":null,\"archived\":false,\"attributes\":{},\"currency\":null,\"language\":null,\"manager\":null,\"coordinator\":null,\"banking\":null},{\"name\":\"Company Name\",\"type\":\"buyer\",\"primaryemail\":\"a-company-783@test.com\",\"primaryphone\":\"+12025551704\",\"products\":[\"prod-id-557\"],\"account\":1506998974.9844,\"created\":1506998974,\"status\":0,\"corp_type\":null,\"parent\":null,\"emails\":[],\"phones\":[],\"addresses\":[],\"website\":null,\"archived\":false,\"attributes\":{},\"currency\":null,\"language\":null,\"manager\":null,\"coordinator\":null,\"banking\":null},{\"name\":\"account 1507000575095\",\"since\":1992,\"corp_type\":\"llc\",\"primaryemail\":\"account-1507000575095@tradecafe.com\",\"primaryphone\":\"+12025556939\",\"addresses\":[{\"street1\":\"1507000575095 street\",\"city\":\"New York\",\"state\":\"New York\",\"postal\":\"12345\",\"country\":\"US\",\"timezone\":\"America/New_York\"}],\"attributes\":{\"attr1\":\"value 1\"},\"type\":\"buyer\",\"products\":[\"prod-id-1-1507000575095\",\"prod-id-2-1507000575095\",\"prod-id-3-1507000575095\"],\"account\":1507000575.2707,\"created\":1507000575,\"status\":0,\"parent\":null,\"emails\":[],\"phones\":[],\"website\":null,\"archived\":false,\"currency\":null,\"language\":null,\"manager\":null,\"coordinator\":null,\"banking\":null},{\"name\":\"account 1507000890843\",\"since\":1992,\"corp_type\":\"llc\",\"primaryemail\":\"account-1507000890843@tradecafe.com\",\"primaryphone\":\"+12025558701\",\"addresses\":[{\"street1\":\"1507000890843 street\",\"city\":\"New York\",\"state\":\"New York\",\"postal\":\"12345\",\"country\":\"US\",\"timezone\":\"America/New_York\"}],\"attributes\":{\"attr1\":\"value 1\"},\"type\":\"buyer\",\"products\":[\"prod-id-1-1507000890843\",\"prod-id-2-1507000890843\",\"prod-id-3-1507000890843\"],\"account\":1507000891.1431,\"created\":1507000891,\"status\":0,\"parent\":null,\"emails\":[],\"phones\":[],\"website\":null,\"archived\":false,\"currency\":null,\"language\":null,\"manager\":null,\"coordinator\":null,\"banking\":null},{\"name\":\"Company Name\",\"type\":\"buyer\",\"primaryemail\":\"a-company-468@test.com\",\"primaryphone\":\"+12025551263\",\"products\":[\"prod-id-367\"],\"account\":1507012110.3416,\"created\":1507012110,\"status\":0,\"corp_type\":null,\"parent\":null,\"emails\":[],\"phones\":[],\"addresses\":[],\"website\":null,\"archived\":false,\"attributes\":{},\"currency\":null,\"language\":null,\"manager\":null,\"coordinator\":null,\"banking\":null}]"}],"_postman_id":"3aee05ed-60db-f984-01ba-8634c9c593de"},{"name":"me","id":"14656643-ecc6-0218-5b0c-ee9454a7d913","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"name\",\n  \"description\": \"description\",\n  \"body\": \"body\",\n  \"tags\": [\"tag1\", \"tag2\"],\n  \"archived\": \"false\"\n}"},"url":"{{gateway_host}}/accounts/me"},"response":[],"_postman_id":"14656643-ecc6-0218-5b0c-ee9454a7d913"},{"name":"post search account","id":"6de31136-93e5-4d1a-84e2-6e7628e95aa6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":{"raw":"{{gateway_host}}/accounts/:account_id","host":["{{gateway_host}}"],"path":["accounts",":account_id"],"variable":[{"key":"account_id","value":"{{test_account_id}}"}]}},"response":[],"_postman_id":"6de31136-93e5-4d1a-84e2-6e7628e95aa6"},{"name":"list (status =2  and not archived)","id":"960d2b01-9282-4954-baf9-fddad3fef70d","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"formdata","formdata":[]},"url":"{{gateway_host}}/accounts","description":"List accounts"},"response":[{"id":"338ed9b7-8ee6-4fd2-b807-e9c59cbc5f55","name":"/accounts","originalRequest":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"{{service_url}}/accounts","host":["{{service_url}}"],"path":["accounts"],"query":[{"key":"name","value":"account name","disabled":true},{"key":"attributes[field]","value":"field value","disabled":true},{"key":"archived","value":"true","description":"include archived accounts","disabled":true},{"key":"skip","value":"5","description":"paging - number of items to skip","disabled":true},{"key":"limit","value":"10","description":"paging - number of items to limit by","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"name":"connection","key":"connection","value":"keep-alive","description":""},{"name":"content-length","key":"content-length","value":"4429","description":""},{"name":"content-type","key":"content-type","value":"application/json; charset=utf-8","description":""},{"name":"date","key":"date","value":"Thu, 05 Oct 2017 13:16:57 GMT","description":""},{"name":"etag","key":"etag","value":"W/\"114d-0y8HTDPAi4O2b9ZlSv2h+qzuxFw\"","description":""},{"name":"server","key":"server","value":"nginx/1.10.3 (Ubuntu)","description":""},{"name":"x-powered-by","key":"x-powered-by","value":"Express","description":""}],"cookie":[],"responseTime":null,"body":"[{\"name\":\"Company Name\",\"type\":\"buyer\",\"primaryemail\":\"a-company-825@test.com\",\"primaryphone\":\"+12025551859\",\"products\":[\"prod-id-39\"],\"account\":1506997032.9828,\"created\":1506997032,\"status\":0,\"corp_type\":null,\"parent\":null,\"emails\":[],\"phones\":[],\"addresses\":[],\"website\":null,\"archived\":false,\"attributes\":{},\"currency\":null,\"language\":null,\"manager\":null,\"coordinator\":null,\"banking\":null},{\"name\":\"Company Name\",\"type\":\"buyer\",\"primaryemail\":\"a-company-362@test.com\",\"primaryphone\":\"+12025551643\",\"products\":[\"prod-id-596\"],\"account\":1506997102.1795,\"created\":1506997102,\"status\":0,\"corp_type\":null,\"parent\":null,\"emails\":[],\"phones\":[],\"addresses\":[],\"website\":null,\"archived\":false,\"attributes\":{},\"currency\":null,\"language\":null,\"manager\":null,\"coordinator\":null,\"banking\":null},{\"name\":\"Company Name\",\"type\":\"buyer\",\"primaryemail\":\"a-company-707@test.com\",\"primaryphone\":\"+12025551330\",\"products\":[\"prod-id-215\"],\"account\":1506997263.5022,\"created\":1506997263,\"status\":0,\"corp_type\":null,\"parent\":null,\"emails\":[],\"phones\":[],\"addresses\":[],\"website\":null,\"archived\":false,\"attributes\":{},\"currency\":null,\"language\":null,\"manager\":null,\"coordinator\":null,\"banking\":null},{\"name\":\"Company Name\",\"type\":\"buyer\",\"primaryemail\":\"a-company-491@test.com\",\"primaryphone\":\"+12025551374\",\"products\":[\"prod-id-611\"],\"account\":1506998529.5639,\"created\":1506998529,\"status\":0,\"corp_type\":null,\"parent\":null,\"emails\":[],\"phones\":[],\"addresses\":[],\"website\":null,\"archived\":false,\"attributes\":{},\"currency\":null,\"language\":null,\"manager\":null,\"coordinator\":null,\"banking\":null},{\"name\":\"Company Name\",\"type\":\"buyer\",\"primaryemail\":\"a-company-92@test.com\",\"primaryphone\":\"+12025551652\",\"products\":[\"prod-id-686\"],\"account\":1506998643.5159,\"created\":1506998643,\"status\":0,\"corp_type\":null,\"parent\":null,\"emails\":[],\"phones\":[],\"addresses\":[],\"website\":null,\"archived\":false,\"attributes\":{},\"currency\":null,\"language\":null,\"manager\":null,\"coordinator\":null,\"banking\":null},{\"name\":\"Company Name\",\"type\":\"buyer\",\"primaryemail\":\"a-company-669@test.com\",\"primaryphone\":\"+12025551342\",\"products\":[\"prod-id-531\"],\"account\":1506998949.8465,\"created\":1506998949,\"status\":0,\"corp_type\":null,\"parent\":null,\"emails\":[],\"phones\":[],\"addresses\":[],\"website\":null,\"archived\":false,\"attributes\":{},\"currency\":null,\"language\":null,\"manager\":null,\"coordinator\":null,\"banking\":null},{\"name\":\"Company Name\",\"type\":\"buyer\",\"primaryemail\":\"a-company-783@test.com\",\"primaryphone\":\"+12025551704\",\"products\":[\"prod-id-557\"],\"account\":1506998974.9844,\"created\":1506998974,\"status\":0,\"corp_type\":null,\"parent\":null,\"emails\":[],\"phones\":[],\"addresses\":[],\"website\":null,\"archived\":false,\"attributes\":{},\"currency\":null,\"language\":null,\"manager\":null,\"coordinator\":null,\"banking\":null},{\"name\":\"account 1507000575095\",\"since\":1992,\"corp_type\":\"llc\",\"primaryemail\":\"account-1507000575095@tradecafe.com\",\"primaryphone\":\"+12025556939\",\"addresses\":[{\"street1\":\"1507000575095 street\",\"city\":\"New York\",\"state\":\"New York\",\"postal\":\"12345\",\"country\":\"US\",\"timezone\":\"America/New_York\"}],\"attributes\":{\"attr1\":\"value 1\"},\"type\":\"buyer\",\"products\":[\"prod-id-1-1507000575095\",\"prod-id-2-1507000575095\",\"prod-id-3-1507000575095\"],\"account\":1507000575.2707,\"created\":1507000575,\"status\":0,\"parent\":null,\"emails\":[],\"phones\":[],\"website\":null,\"archived\":false,\"currency\":null,\"language\":null,\"manager\":null,\"coordinator\":null,\"banking\":null},{\"name\":\"account 1507000890843\",\"since\":1992,\"corp_type\":\"llc\",\"primaryemail\":\"account-1507000890843@tradecafe.com\",\"primaryphone\":\"+12025558701\",\"addresses\":[{\"street1\":\"1507000890843 street\",\"city\":\"New York\",\"state\":\"New York\",\"postal\":\"12345\",\"country\":\"US\",\"timezone\":\"America/New_York\"}],\"attributes\":{\"attr1\":\"value 1\"},\"type\":\"buyer\",\"products\":[\"prod-id-1-1507000890843\",\"prod-id-2-1507000890843\",\"prod-id-3-1507000890843\"],\"account\":1507000891.1431,\"created\":1507000891,\"status\":0,\"parent\":null,\"emails\":[],\"phones\":[],\"website\":null,\"archived\":false,\"currency\":null,\"language\":null,\"manager\":null,\"coordinator\":null,\"banking\":null},{\"name\":\"Company Name\",\"type\":\"buyer\",\"primaryemail\":\"a-company-468@test.com\",\"primaryphone\":\"+12025551263\",\"products\":[\"prod-id-367\"],\"account\":1507012110.3416,\"created\":1507012110,\"status\":0,\"corp_type\":null,\"parent\":null,\"emails\":[],\"phones\":[],\"addresses\":[],\"website\":null,\"archived\":false,\"attributes\":{},\"currency\":null,\"language\":null,\"manager\":null,\"coordinator\":null,\"banking\":null}]"}],"_postman_id":"960d2b01-9282-4954-baf9-fddad3fef70d"},{"name":"list all","id":"8fa4aed8-c10c-496a-8b35-32819cd6683f","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"{{gateway_host}}/accounts/all?limit=9007199254740991","host":["{{gateway_host}}"],"path":["accounts","all"],"query":[{"key":"limit","value":"9007199254740991"}]},"description":"List accounts"},"response":[{"id":"a725d7c3-fc7f-4029-a7a2-b61f544923f9","name":"/accounts","originalRequest":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"{{service_url}}/accounts","host":["{{service_url}}"],"path":["accounts"],"query":[{"key":"name","value":"account name","disabled":true},{"key":"attributes[field]","value":"field value","disabled":true},{"key":"archived","value":"true","description":"include archived accounts","disabled":true},{"key":"skip","value":"5","description":"paging - number of items to skip","disabled":true},{"key":"limit","value":"10","description":"paging - number of items to limit by","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"name":"connection","key":"connection","value":"keep-alive","description":""},{"name":"content-length","key":"content-length","value":"4429","description":""},{"name":"content-type","key":"content-type","value":"application/json; charset=utf-8","description":""},{"name":"date","key":"date","value":"Thu, 05 Oct 2017 13:16:57 GMT","description":""},{"name":"etag","key":"etag","value":"W/\"114d-0y8HTDPAi4O2b9ZlSv2h+qzuxFw\"","description":""},{"name":"server","key":"server","value":"nginx/1.10.3 (Ubuntu)","description":""},{"name":"x-powered-by","key":"x-powered-by","value":"Express","description":""}],"cookie":[],"responseTime":null,"body":"[{\"name\":\"Company Name\",\"type\":\"buyer\",\"primaryemail\":\"a-company-825@test.com\",\"primaryphone\":\"+12025551859\",\"products\":[\"prod-id-39\"],\"account\":1506997032.9828,\"created\":1506997032,\"status\":0,\"corp_type\":null,\"parent\":null,\"emails\":[],\"phones\":[],\"addresses\":[],\"website\":null,\"archived\":false,\"attributes\":{},\"currency\":null,\"language\":null,\"manager\":null,\"coordinator\":null,\"banking\":null},{\"name\":\"Company Name\",\"type\":\"buyer\",\"primaryemail\":\"a-company-362@test.com\",\"primaryphone\":\"+12025551643\",\"products\":[\"prod-id-596\"],\"account\":1506997102.1795,\"created\":1506997102,\"status\":0,\"corp_type\":null,\"parent\":null,\"emails\":[],\"phones\":[],\"addresses\":[],\"website\":null,\"archived\":false,\"attributes\":{},\"currency\":null,\"language\":null,\"manager\":null,\"coordinator\":null,\"banking\":null},{\"name\":\"Company Name\",\"type\":\"buyer\",\"primaryemail\":\"a-company-707@test.com\",\"primaryphone\":\"+12025551330\",\"products\":[\"prod-id-215\"],\"account\":1506997263.5022,\"created\":1506997263,\"status\":0,\"corp_type\":null,\"parent\":null,\"emails\":[],\"phones\":[],\"addresses\":[],\"website\":null,\"archived\":false,\"attributes\":{},\"currency\":null,\"language\":null,\"manager\":null,\"coordinator\":null,\"banking\":null},{\"name\":\"Company Name\",\"type\":\"buyer\",\"primaryemail\":\"a-company-491@test.com\",\"primaryphone\":\"+12025551374\",\"products\":[\"prod-id-611\"],\"account\":1506998529.5639,\"created\":1506998529,\"status\":0,\"corp_type\":null,\"parent\":null,\"emails\":[],\"phones\":[],\"addresses\":[],\"website\":null,\"archived\":false,\"attributes\":{},\"currency\":null,\"language\":null,\"manager\":null,\"coordinator\":null,\"banking\":null},{\"name\":\"Company Name\",\"type\":\"buyer\",\"primaryemail\":\"a-company-92@test.com\",\"primaryphone\":\"+12025551652\",\"products\":[\"prod-id-686\"],\"account\":1506998643.5159,\"created\":1506998643,\"status\":0,\"corp_type\":null,\"parent\":null,\"emails\":[],\"phones\":[],\"addresses\":[],\"website\":null,\"archived\":false,\"attributes\":{},\"currency\":null,\"language\":null,\"manager\":null,\"coordinator\":null,\"banking\":null},{\"name\":\"Company Name\",\"type\":\"buyer\",\"primaryemail\":\"a-company-669@test.com\",\"primaryphone\":\"+12025551342\",\"products\":[\"prod-id-531\"],\"account\":1506998949.8465,\"created\":1506998949,\"status\":0,\"corp_type\":null,\"parent\":null,\"emails\":[],\"phones\":[],\"addresses\":[],\"website\":null,\"archived\":false,\"attributes\":{},\"currency\":null,\"language\":null,\"manager\":null,\"coordinator\":null,\"banking\":null},{\"name\":\"Company Name\",\"type\":\"buyer\",\"primaryemail\":\"a-company-783@test.com\",\"primaryphone\":\"+12025551704\",\"products\":[\"prod-id-557\"],\"account\":1506998974.9844,\"created\":1506998974,\"status\":0,\"corp_type\":null,\"parent\":null,\"emails\":[],\"phones\":[],\"addresses\":[],\"website\":null,\"archived\":false,\"attributes\":{},\"currency\":null,\"language\":null,\"manager\":null,\"coordinator\":null,\"banking\":null},{\"name\":\"account 1507000575095\",\"since\":1992,\"corp_type\":\"llc\",\"primaryemail\":\"account-1507000575095@tradecafe.com\",\"primaryphone\":\"+12025556939\",\"addresses\":[{\"street1\":\"1507000575095 street\",\"city\":\"New York\",\"state\":\"New York\",\"postal\":\"12345\",\"country\":\"US\",\"timezone\":\"America/New_York\"}],\"attributes\":{\"attr1\":\"value 1\"},\"type\":\"buyer\",\"products\":[\"prod-id-1-1507000575095\",\"prod-id-2-1507000575095\",\"prod-id-3-1507000575095\"],\"account\":1507000575.2707,\"created\":1507000575,\"status\":0,\"parent\":null,\"emails\":[],\"phones\":[],\"website\":null,\"archived\":false,\"currency\":null,\"language\":null,\"manager\":null,\"coordinator\":null,\"banking\":null},{\"name\":\"account 1507000890843\",\"since\":1992,\"corp_type\":\"llc\",\"primaryemail\":\"account-1507000890843@tradecafe.com\",\"primaryphone\":\"+12025558701\",\"addresses\":[{\"street1\":\"1507000890843 street\",\"city\":\"New York\",\"state\":\"New York\",\"postal\":\"12345\",\"country\":\"US\",\"timezone\":\"America/New_York\"}],\"attributes\":{\"attr1\":\"value 1\"},\"type\":\"buyer\",\"products\":[\"prod-id-1-1507000890843\",\"prod-id-2-1507000890843\",\"prod-id-3-1507000890843\"],\"account\":1507000891.1431,\"created\":1507000891,\"status\":0,\"parent\":null,\"emails\":[],\"phones\":[],\"website\":null,\"archived\":false,\"currency\":null,\"language\":null,\"manager\":null,\"coordinator\":null,\"banking\":null},{\"name\":\"Company Name\",\"type\":\"buyer\",\"primaryemail\":\"a-company-468@test.com\",\"primaryphone\":\"+12025551263\",\"products\":[\"prod-id-367\"],\"account\":1507012110.3416,\"created\":1507012110,\"status\":0,\"corp_type\":null,\"parent\":null,\"emails\":[],\"phones\":[],\"addresses\":[],\"website\":null,\"archived\":false,\"attributes\":{},\"currency\":null,\"language\":null,\"manager\":null,\"coordinator\":null,\"banking\":null}]"}],"_postman_id":"8fa4aed8-c10c-496a-8b35-32819cd6683f"},{"name":"list buyers with details","id":"56051b8a-0fa3-3bf8-4464-3320ad0560d7","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"formdata","formdata":[]},"url":"{{gateway_host}}/accounts/buyers_detail","description":"List accounts"},"response":[{"id":"53f8d660-3f70-bb9d-0523-08c935fc1a34","name":"/accounts","originalRequest":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"{{service_url}}/accounts","host":["{{service_url}}"],"path":["accounts"],"query":[{"key":"name","value":"account name","disabled":true},{"key":"attributes[field]","value":"field value","disabled":true},{"key":"archived","value":"true","description":"include archived accounts","disabled":true},{"key":"skip","value":"5","description":"paging - number of items to skip","disabled":true},{"key":"limit","value":"10","description":"paging - number of items to limit by","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"name":"connection","key":"connection","value":"keep-alive","description":""},{"name":"content-length","key":"content-length","value":"4429","description":""},{"name":"content-type","key":"content-type","value":"application/json; charset=utf-8","description":""},{"name":"date","key":"date","value":"Thu, 05 Oct 2017 13:16:57 GMT","description":""},{"name":"etag","key":"etag","value":"W/\"114d-0y8HTDPAi4O2b9ZlSv2h+qzuxFw\"","description":""},{"name":"server","key":"server","value":"nginx/1.10.3 (Ubuntu)","description":""},{"name":"x-powered-by","key":"x-powered-by","value":"Express","description":""}],"cookie":[],"responseTime":"292","body":"[{\"name\":\"Company Name\",\"type\":\"buyer\",\"primaryemail\":\"a-company-825@test.com\",\"primaryphone\":\"+12025551859\",\"products\":[\"prod-id-39\"],\"account\":1506997032.9828,\"created\":1506997032,\"status\":0,\"corp_type\":null,\"parent\":null,\"emails\":[],\"phones\":[],\"addresses\":[],\"website\":null,\"archived\":false,\"attributes\":{},\"currency\":null,\"language\":null,\"manager\":null,\"coordinator\":null,\"banking\":null},{\"name\":\"Company Name\",\"type\":\"buyer\",\"primaryemail\":\"a-company-362@test.com\",\"primaryphone\":\"+12025551643\",\"products\":[\"prod-id-596\"],\"account\":1506997102.1795,\"created\":1506997102,\"status\":0,\"corp_type\":null,\"parent\":null,\"emails\":[],\"phones\":[],\"addresses\":[],\"website\":null,\"archived\":false,\"attributes\":{},\"currency\":null,\"language\":null,\"manager\":null,\"coordinator\":null,\"banking\":null},{\"name\":\"Company Name\",\"type\":\"buyer\",\"primaryemail\":\"a-company-707@test.com\",\"primaryphone\":\"+12025551330\",\"products\":[\"prod-id-215\"],\"account\":1506997263.5022,\"created\":1506997263,\"status\":0,\"corp_type\":null,\"parent\":null,\"emails\":[],\"phones\":[],\"addresses\":[],\"website\":null,\"archived\":false,\"attributes\":{},\"currency\":null,\"language\":null,\"manager\":null,\"coordinator\":null,\"banking\":null},{\"name\":\"Company Name\",\"type\":\"buyer\",\"primaryemail\":\"a-company-491@test.com\",\"primaryphone\":\"+12025551374\",\"products\":[\"prod-id-611\"],\"account\":1506998529.5639,\"created\":1506998529,\"status\":0,\"corp_type\":null,\"parent\":null,\"emails\":[],\"phones\":[],\"addresses\":[],\"website\":null,\"archived\":false,\"attributes\":{},\"currency\":null,\"language\":null,\"manager\":null,\"coordinator\":null,\"banking\":null},{\"name\":\"Company Name\",\"type\":\"buyer\",\"primaryemail\":\"a-company-92@test.com\",\"primaryphone\":\"+12025551652\",\"products\":[\"prod-id-686\"],\"account\":1506998643.5159,\"created\":1506998643,\"status\":0,\"corp_type\":null,\"parent\":null,\"emails\":[],\"phones\":[],\"addresses\":[],\"website\":null,\"archived\":false,\"attributes\":{},\"currency\":null,\"language\":null,\"manager\":null,\"coordinator\":null,\"banking\":null},{\"name\":\"Company Name\",\"type\":\"buyer\",\"primaryemail\":\"a-company-669@test.com\",\"primaryphone\":\"+12025551342\",\"products\":[\"prod-id-531\"],\"account\":1506998949.8465,\"created\":1506998949,\"status\":0,\"corp_type\":null,\"parent\":null,\"emails\":[],\"phones\":[],\"addresses\":[],\"website\":null,\"archived\":false,\"attributes\":{},\"currency\":null,\"language\":null,\"manager\":null,\"coordinator\":null,\"banking\":null},{\"name\":\"Company Name\",\"type\":\"buyer\",\"primaryemail\":\"a-company-783@test.com\",\"primaryphone\":\"+12025551704\",\"products\":[\"prod-id-557\"],\"account\":1506998974.9844,\"created\":1506998974,\"status\":0,\"corp_type\":null,\"parent\":null,\"emails\":[],\"phones\":[],\"addresses\":[],\"website\":null,\"archived\":false,\"attributes\":{},\"currency\":null,\"language\":null,\"manager\":null,\"coordinator\":null,\"banking\":null},{\"name\":\"account 1507000575095\",\"since\":1992,\"corp_type\":\"llc\",\"primaryemail\":\"account-1507000575095@tradecafe.com\",\"primaryphone\":\"+12025556939\",\"addresses\":[{\"street1\":\"1507000575095 street\",\"city\":\"New York\",\"state\":\"New York\",\"postal\":\"12345\",\"country\":\"US\",\"timezone\":\"America/New_York\"}],\"attributes\":{\"attr1\":\"value 1\"},\"type\":\"buyer\",\"products\":[\"prod-id-1-1507000575095\",\"prod-id-2-1507000575095\",\"prod-id-3-1507000575095\"],\"account\":1507000575.2707,\"created\":1507000575,\"status\":0,\"parent\":null,\"emails\":[],\"phones\":[],\"website\":null,\"archived\":false,\"currency\":null,\"language\":null,\"manager\":null,\"coordinator\":null,\"banking\":null},{\"name\":\"account 1507000890843\",\"since\":1992,\"corp_type\":\"llc\",\"primaryemail\":\"account-1507000890843@tradecafe.com\",\"primaryphone\":\"+12025558701\",\"addresses\":[{\"street1\":\"1507000890843 street\",\"city\":\"New York\",\"state\":\"New York\",\"postal\":\"12345\",\"country\":\"US\",\"timezone\":\"America/New_York\"}],\"attributes\":{\"attr1\":\"value 1\"},\"type\":\"buyer\",\"products\":[\"prod-id-1-1507000890843\",\"prod-id-2-1507000890843\",\"prod-id-3-1507000890843\"],\"account\":1507000891.1431,\"created\":1507000891,\"status\":0,\"parent\":null,\"emails\":[],\"phones\":[],\"website\":null,\"archived\":false,\"currency\":null,\"language\":null,\"manager\":null,\"coordinator\":null,\"banking\":null},{\"name\":\"Company Name\",\"type\":\"buyer\",\"primaryemail\":\"a-company-468@test.com\",\"primaryphone\":\"+12025551263\",\"products\":[\"prod-id-367\"],\"account\":1507012110.3416,\"created\":1507012110,\"status\":0,\"corp_type\":null,\"parent\":null,\"emails\":[],\"phones\":[],\"addresses\":[],\"website\":null,\"archived\":false,\"attributes\":{},\"currency\":null,\"language\":null,\"manager\":null,\"coordinator\":null,\"banking\":null}]"}],"_postman_id":"56051b8a-0fa3-3bf8-4464-3320ad0560d7"},{"name":"list buyers","id":"062350ca-73ed-69dd-25e0-9f89c65d40a0","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"formdata","formdata":[]},"url":"{{gateway_host}}/accounts/buyers","description":"List accounts"},"response":[{"id":"96790b81-f591-f6f9-e1ec-b3dfedb6f343","name":"/accounts","originalRequest":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"{{service_url}}/accounts","host":["{{service_url}}"],"path":["accounts"],"query":[{"key":"name","value":"account name","disabled":true},{"key":"attributes[field]","value":"field value","disabled":true},{"key":"archived","value":"true","description":"include archived accounts","disabled":true},{"key":"skip","value":"5","description":"paging - number of items to skip","disabled":true},{"key":"limit","value":"10","description":"paging - number of items to limit by","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"name":"connection","key":"connection","value":"keep-alive","description":""},{"name":"content-length","key":"content-length","value":"4429","description":""},{"name":"content-type","key":"content-type","value":"application/json; charset=utf-8","description":""},{"name":"date","key":"date","value":"Thu, 05 Oct 2017 13:16:57 GMT","description":""},{"name":"etag","key":"etag","value":"W/\"114d-0y8HTDPAi4O2b9ZlSv2h+qzuxFw\"","description":""},{"name":"server","key":"server","value":"nginx/1.10.3 (Ubuntu)","description":""},{"name":"x-powered-by","key":"x-powered-by","value":"Express","description":""}],"cookie":[],"responseTime":"292","body":"[{\"name\":\"Company Name\",\"type\":\"buyer\",\"primaryemail\":\"a-company-825@test.com\",\"primaryphone\":\"+12025551859\",\"products\":[\"prod-id-39\"],\"account\":1506997032.9828,\"created\":1506997032,\"status\":0,\"corp_type\":null,\"parent\":null,\"emails\":[],\"phones\":[],\"addresses\":[],\"website\":null,\"archived\":false,\"attributes\":{},\"currency\":null,\"language\":null,\"manager\":null,\"coordinator\":null,\"banking\":null},{\"name\":\"Company Name\",\"type\":\"buyer\",\"primaryemail\":\"a-company-362@test.com\",\"primaryphone\":\"+12025551643\",\"products\":[\"prod-id-596\"],\"account\":1506997102.1795,\"created\":1506997102,\"status\":0,\"corp_type\":null,\"parent\":null,\"emails\":[],\"phones\":[],\"addresses\":[],\"website\":null,\"archived\":false,\"attributes\":{},\"currency\":null,\"language\":null,\"manager\":null,\"coordinator\":null,\"banking\":null},{\"name\":\"Company Name\",\"type\":\"buyer\",\"primaryemail\":\"a-company-707@test.com\",\"primaryphone\":\"+12025551330\",\"products\":[\"prod-id-215\"],\"account\":1506997263.5022,\"created\":1506997263,\"status\":0,\"corp_type\":null,\"parent\":null,\"emails\":[],\"phones\":[],\"addresses\":[],\"website\":null,\"archived\":false,\"attributes\":{},\"currency\":null,\"language\":null,\"manager\":null,\"coordinator\":null,\"banking\":null},{\"name\":\"Company Name\",\"type\":\"buyer\",\"primaryemail\":\"a-company-491@test.com\",\"primaryphone\":\"+12025551374\",\"products\":[\"prod-id-611\"],\"account\":1506998529.5639,\"created\":1506998529,\"status\":0,\"corp_type\":null,\"parent\":null,\"emails\":[],\"phones\":[],\"addresses\":[],\"website\":null,\"archived\":false,\"attributes\":{},\"currency\":null,\"language\":null,\"manager\":null,\"coordinator\":null,\"banking\":null},{\"name\":\"Company Name\",\"type\":\"buyer\",\"primaryemail\":\"a-company-92@test.com\",\"primaryphone\":\"+12025551652\",\"products\":[\"prod-id-686\"],\"account\":1506998643.5159,\"created\":1506998643,\"status\":0,\"corp_type\":null,\"parent\":null,\"emails\":[],\"phones\":[],\"addresses\":[],\"website\":null,\"archived\":false,\"attributes\":{},\"currency\":null,\"language\":null,\"manager\":null,\"coordinator\":null,\"banking\":null},{\"name\":\"Company Name\",\"type\":\"buyer\",\"primaryemail\":\"a-company-669@test.com\",\"primaryphone\":\"+12025551342\",\"products\":[\"prod-id-531\"],\"account\":1506998949.8465,\"created\":1506998949,\"status\":0,\"corp_type\":null,\"parent\":null,\"emails\":[],\"phones\":[],\"addresses\":[],\"website\":null,\"archived\":false,\"attributes\":{},\"currency\":null,\"language\":null,\"manager\":null,\"coordinator\":null,\"banking\":null},{\"name\":\"Company Name\",\"type\":\"buyer\",\"primaryemail\":\"a-company-783@test.com\",\"primaryphone\":\"+12025551704\",\"products\":[\"prod-id-557\"],\"account\":1506998974.9844,\"created\":1506998974,\"status\":0,\"corp_type\":null,\"parent\":null,\"emails\":[],\"phones\":[],\"addresses\":[],\"website\":null,\"archived\":false,\"attributes\":{},\"currency\":null,\"language\":null,\"manager\":null,\"coordinator\":null,\"banking\":null},{\"name\":\"account 1507000575095\",\"since\":1992,\"corp_type\":\"llc\",\"primaryemail\":\"account-1507000575095@tradecafe.com\",\"primaryphone\":\"+12025556939\",\"addresses\":[{\"street1\":\"1507000575095 street\",\"city\":\"New York\",\"state\":\"New York\",\"postal\":\"12345\",\"country\":\"US\",\"timezone\":\"America/New_York\"}],\"attributes\":{\"attr1\":\"value 1\"},\"type\":\"buyer\",\"products\":[\"prod-id-1-1507000575095\",\"prod-id-2-1507000575095\",\"prod-id-3-1507000575095\"],\"account\":1507000575.2707,\"created\":1507000575,\"status\":0,\"parent\":null,\"emails\":[],\"phones\":[],\"website\":null,\"archived\":false,\"currency\":null,\"language\":null,\"manager\":null,\"coordinator\":null,\"banking\":null},{\"name\":\"account 1507000890843\",\"since\":1992,\"corp_type\":\"llc\",\"primaryemail\":\"account-1507000890843@tradecafe.com\",\"primaryphone\":\"+12025558701\",\"addresses\":[{\"street1\":\"1507000890843 street\",\"city\":\"New York\",\"state\":\"New York\",\"postal\":\"12345\",\"country\":\"US\",\"timezone\":\"America/New_York\"}],\"attributes\":{\"attr1\":\"value 1\"},\"type\":\"buyer\",\"products\":[\"prod-id-1-1507000890843\",\"prod-id-2-1507000890843\",\"prod-id-3-1507000890843\"],\"account\":1507000891.1431,\"created\":1507000891,\"status\":0,\"parent\":null,\"emails\":[],\"phones\":[],\"website\":null,\"archived\":false,\"currency\":null,\"language\":null,\"manager\":null,\"coordinator\":null,\"banking\":null},{\"name\":\"Company Name\",\"type\":\"buyer\",\"primaryemail\":\"a-company-468@test.com\",\"primaryphone\":\"+12025551263\",\"products\":[\"prod-id-367\"],\"account\":1507012110.3416,\"created\":1507012110,\"status\":0,\"corp_type\":null,\"parent\":null,\"emails\":[],\"phones\":[],\"addresses\":[],\"website\":null,\"archived\":false,\"attributes\":{},\"currency\":null,\"language\":null,\"manager\":null,\"coordinator\":null,\"banking\":null}]"}],"_postman_id":"062350ca-73ed-69dd-25e0-9f89c65d40a0"},{"name":"list suppliers","id":"1af8e079-51b2-39e4-f430-407c7ee7af26","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"formdata","formdata":[]},"url":"{{gateway_host}}/accounts/suppliers","description":"List accounts"},"response":[{"id":"49c734ab-f65a-b351-195c-6d56432ab8b3","name":"/accounts","originalRequest":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"{{service_url}}/accounts","host":["{{service_url}}"],"path":["accounts"],"query":[{"key":"name","value":"account name","disabled":true},{"key":"attributes[field]","value":"field value","disabled":true},{"key":"archived","value":"true","description":"include archived accounts","disabled":true},{"key":"skip","value":"5","description":"paging - number of items to skip","disabled":true},{"key":"limit","value":"10","description":"paging - number of items to limit by","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"name":"connection","key":"connection","value":"keep-alive","description":""},{"name":"content-length","key":"content-length","value":"4429","description":""},{"name":"content-type","key":"content-type","value":"application/json; charset=utf-8","description":""},{"name":"date","key":"date","value":"Thu, 05 Oct 2017 13:16:57 GMT","description":""},{"name":"etag","key":"etag","value":"W/\"114d-0y8HTDPAi4O2b9ZlSv2h+qzuxFw\"","description":""},{"name":"server","key":"server","value":"nginx/1.10.3 (Ubuntu)","description":""},{"name":"x-powered-by","key":"x-powered-by","value":"Express","description":""}],"cookie":[],"responseTime":"292","body":"[{\"name\":\"Company Name\",\"type\":\"buyer\",\"primaryemail\":\"a-company-825@test.com\",\"primaryphone\":\"+12025551859\",\"products\":[\"prod-id-39\"],\"account\":1506997032.9828,\"created\":1506997032,\"status\":0,\"corp_type\":null,\"parent\":null,\"emails\":[],\"phones\":[],\"addresses\":[],\"website\":null,\"archived\":false,\"attributes\":{},\"currency\":null,\"language\":null,\"manager\":null,\"coordinator\":null,\"banking\":null},{\"name\":\"Company Name\",\"type\":\"buyer\",\"primaryemail\":\"a-company-362@test.com\",\"primaryphone\":\"+12025551643\",\"products\":[\"prod-id-596\"],\"account\":1506997102.1795,\"created\":1506997102,\"status\":0,\"corp_type\":null,\"parent\":null,\"emails\":[],\"phones\":[],\"addresses\":[],\"website\":null,\"archived\":false,\"attributes\":{},\"currency\":null,\"language\":null,\"manager\":null,\"coordinator\":null,\"banking\":null},{\"name\":\"Company Name\",\"type\":\"buyer\",\"primaryemail\":\"a-company-707@test.com\",\"primaryphone\":\"+12025551330\",\"products\":[\"prod-id-215\"],\"account\":1506997263.5022,\"created\":1506997263,\"status\":0,\"corp_type\":null,\"parent\":null,\"emails\":[],\"phones\":[],\"addresses\":[],\"website\":null,\"archived\":false,\"attributes\":{},\"currency\":null,\"language\":null,\"manager\":null,\"coordinator\":null,\"banking\":null},{\"name\":\"Company Name\",\"type\":\"buyer\",\"primaryemail\":\"a-company-491@test.com\",\"primaryphone\":\"+12025551374\",\"products\":[\"prod-id-611\"],\"account\":1506998529.5639,\"created\":1506998529,\"status\":0,\"corp_type\":null,\"parent\":null,\"emails\":[],\"phones\":[],\"addresses\":[],\"website\":null,\"archived\":false,\"attributes\":{},\"currency\":null,\"language\":null,\"manager\":null,\"coordinator\":null,\"banking\":null},{\"name\":\"Company Name\",\"type\":\"buyer\",\"primaryemail\":\"a-company-92@test.com\",\"primaryphone\":\"+12025551652\",\"products\":[\"prod-id-686\"],\"account\":1506998643.5159,\"created\":1506998643,\"status\":0,\"corp_type\":null,\"parent\":null,\"emails\":[],\"phones\":[],\"addresses\":[],\"website\":null,\"archived\":false,\"attributes\":{},\"currency\":null,\"language\":null,\"manager\":null,\"coordinator\":null,\"banking\":null},{\"name\":\"Company Name\",\"type\":\"buyer\",\"primaryemail\":\"a-company-669@test.com\",\"primaryphone\":\"+12025551342\",\"products\":[\"prod-id-531\"],\"account\":1506998949.8465,\"created\":1506998949,\"status\":0,\"corp_type\":null,\"parent\":null,\"emails\":[],\"phones\":[],\"addresses\":[],\"website\":null,\"archived\":false,\"attributes\":{},\"currency\":null,\"language\":null,\"manager\":null,\"coordinator\":null,\"banking\":null},{\"name\":\"Company Name\",\"type\":\"buyer\",\"primaryemail\":\"a-company-783@test.com\",\"primaryphone\":\"+12025551704\",\"products\":[\"prod-id-557\"],\"account\":1506998974.9844,\"created\":1506998974,\"status\":0,\"corp_type\":null,\"parent\":null,\"emails\":[],\"phones\":[],\"addresses\":[],\"website\":null,\"archived\":false,\"attributes\":{},\"currency\":null,\"language\":null,\"manager\":null,\"coordinator\":null,\"banking\":null},{\"name\":\"account 1507000575095\",\"since\":1992,\"corp_type\":\"llc\",\"primaryemail\":\"account-1507000575095@tradecafe.com\",\"primaryphone\":\"+12025556939\",\"addresses\":[{\"street1\":\"1507000575095 street\",\"city\":\"New York\",\"state\":\"New York\",\"postal\":\"12345\",\"country\":\"US\",\"timezone\":\"America/New_York\"}],\"attributes\":{\"attr1\":\"value 1\"},\"type\":\"buyer\",\"products\":[\"prod-id-1-1507000575095\",\"prod-id-2-1507000575095\",\"prod-id-3-1507000575095\"],\"account\":1507000575.2707,\"created\":1507000575,\"status\":0,\"parent\":null,\"emails\":[],\"phones\":[],\"website\":null,\"archived\":false,\"currency\":null,\"language\":null,\"manager\":null,\"coordinator\":null,\"banking\":null},{\"name\":\"account 1507000890843\",\"since\":1992,\"corp_type\":\"llc\",\"primaryemail\":\"account-1507000890843@tradecafe.com\",\"primaryphone\":\"+12025558701\",\"addresses\":[{\"street1\":\"1507000890843 street\",\"city\":\"New York\",\"state\":\"New York\",\"postal\":\"12345\",\"country\":\"US\",\"timezone\":\"America/New_York\"}],\"attributes\":{\"attr1\":\"value 1\"},\"type\":\"buyer\",\"products\":[\"prod-id-1-1507000890843\",\"prod-id-2-1507000890843\",\"prod-id-3-1507000890843\"],\"account\":1507000891.1431,\"created\":1507000891,\"status\":0,\"parent\":null,\"emails\":[],\"phones\":[],\"website\":null,\"archived\":false,\"currency\":null,\"language\":null,\"manager\":null,\"coordinator\":null,\"banking\":null},{\"name\":\"Company Name\",\"type\":\"buyer\",\"primaryemail\":\"a-company-468@test.com\",\"primaryphone\":\"+12025551263\",\"products\":[\"prod-id-367\"],\"account\":1507012110.3416,\"created\":1507012110,\"status\":0,\"corp_type\":null,\"parent\":null,\"emails\":[],\"phones\":[],\"addresses\":[],\"website\":null,\"archived\":false,\"attributes\":{},\"currency\":null,\"language\":null,\"manager\":null,\"coordinator\":null,\"banking\":null}]"}],"_postman_id":"1af8e079-51b2-39e4-f430-407c7ee7af26"},{"name":"list suppliers with detail","id":"24712eda-3074-75d5-0878-ee9d36c15f59","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"formdata","formdata":[]},"url":"{{gateway_host}}/accounts/suppliers_detail","description":"List accounts"},"response":[],"_postman_id":"24712eda-3074-75d5-0878-ee9d36c15f59"},{"name":"is active","id":"2d2ce4e3-0b3b-1681-2f6c-b8d05857a2f2","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"name\",\n  \"description\": \"description\",\n  \"body\": \"body\",\n  \"tags\": [\"tag1\", \"tag2\"],\n  \"archived\": \"false\"\n}"},"url":"{{gateway_host}}/accounts/me/is-active"},"response":[],"_postman_id":"2d2ce4e3-0b3b-1681-2f6c-b8d05857a2f2"},{"name":"update","id":"126837f4-4e01-fd04-2ec9-b5a1fefb6170","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n    \"coordinator\": \"916b1c1a-81e9-4d74-b7f8-8ac0e6753253\",\n    \"coordinators\": [\"916b1c1a-81e9-4d74-b7f8-8ac0e6753253\"]\n\n}"},"url":"{{gateway_host}}/accounts/{{account_id}}"},"response":[],"_postman_id":"126837f4-4e01-fd04-2ec9-b5a1fefb6170"},{"name":"delete","id":"9240a55b-7a8e-99ab-7bed-8aa4a2fac0f6","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":""},"url":"{{gateway_host}}/accounts/me"},"response":[],"_postman_id":"9240a55b-7a8e-99ab-7bed-8aa4a2fac0f6"},{"name":"/accounts/by-ids","id":"17942012-ecfe-486e-81c2-51ce327c7831","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"iDJV2cEyMytpoR6l7KtFlfSU6OocO6N6h0K9UUn8ggZTTgy67KJyMv0FUqp03dHHTjJKzUIpmr1tzOp687HvId"}},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"ids\": [1510188624.5357]\n}","options":{"raw":{"language":"json"}}},"url":"{{gateway_host}}/accounts/by-ids"},"response":[],"_postman_id":"17942012-ecfe-486e-81c2-51ce327c7831"},{"name":"/accounts/{{account_id}}/products","id":"87109e05-8782-42ca-b307-c2ee51333961","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"WosuSXCKWHACnvvrcFTgEOpUJcjdBS3HtL19bE4zv22iV80Q3EsSWtUoKsHzaGH9ERzXlZZR7GWQ30HgO4UDxk"}},"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"\t[\n            {\n                \"product_id\": \"97399286-fc1f-4261-8cfe-186ca1c9854c\",\n                \"item_type_id\": \"643686cc-1270-413d-b328-da463fd41825\",\n                \"name\": \"bone porkbb\",\n                \"hs_code\": \"BB345\"\n            },\n            {\n                \"product_id\": \"88b68405-d968-40bd-86f6-8b61521e5c8d\",\n                \"name\": \"Salted Chick\"\n            },\n            {\n                \"product_id\": \"e0cdd1a8-f385-40b7-8cdd-9dfdd2e6c148\",\n                \"name\": \"WIngs\",\n                \"hs_code\": \"HS346B\"\n            },\n            {\n                \"product_id\": \"96e57a83-29a5-4775-8320-5968bab9c38a\",\n                \"name\": \"Beef In\"\n            }\n        ]"},"url":"{{gateway_host}}/accounts/1562076904.7967/products"},"response":[],"_postman_id":"87109e05-8782-42ca-b307-c2ee51333961"},{"name":"search accounts","id":"78811f58-6468-470b-b853-9bc9c351a959","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[]},"response":[],"_postman_id":"78811f58-6468-470b-b853-9bc9c351a959"}],"id":"a555a64e-eb70-ba71-267a-e547e836b6df","description":"The Account Service manages company and user account information within the TradeCafe platform. Company accounts belong to suppliers, buyers, and other partners while users are simply contacts within a specific company. Each user may login to their own account and view information related to their TradeCafe account, with certain restrictions placed on their specific user type.\n\nAn account within the TradeCafe platform consists of at least the following data attributes.\n\n\n* account - `required` The unique id of the account in TC. This is alphanumeric.\n* name – `required` The company name.\n* status - `required` This indicates the status of the account. (pending=0, reviewed=1, active=2, restricted=-1)\n* type – `required` The type of account, buyer, supplier, service provider, or admin (there will be only one admin account).\n* created – `required` An epoch timestamp with the time the account was created. This is automatically generated by the platform.\n* primaryphone – `required` The primary phone number associated with the account.\n* products – `required` A list of products the company is interested in trading.\n* primaryemail – `required` The primary email address associated with the account.\n* since - The year the business started.\n* corp_type - The type of the company. LLC, Inc, LLP, etc.\n* parent - Indicates a parent account id of this company if the company is a subsidiary.\n* emails – Other email addresses associated with the account.\n* phones – Other phone numbers associated with the account.\n* addresses – A JSON array of objects containing address components (street1, street2, city, state, postal, country, timezone). The company may have multiple addresses.\n* website - The website URL of the account.\n* archived – A 0/1 flag which identifies if this file has been archived.\n* attributes – A sub object with additional attributes of the account.\n* currency – The default currency of the company.\n* language – The preferred language of the company.\n* manager - The account manager assigned the company. This is a user id.\n* coordinator - The logistics coordinator assigned to the company. This is a user id.\n* banking - The banking profile of the company. This is a JSON subobject.\n\nBelow are API endpoints that provide access to account data within the platform.","_postman_id":"a555a64e-eb70-ba71-267a-e547e836b6df"},{"name":"Authentication","item":[{"name":"register","id":"a223b4f4-110c-19a9-bf55-8ff9c8ff11d3","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"account\": {\n        \"name\": \"Company Name {{$randomInt}}\",\n        \"type\": \"buyer\",\n        \"primaryemail\": \"liesislukas@gmail.com\",\n        \"primaryphone\": \"+12025551{{$randomInt}}\",\n        \"products\": [\n            \"prod-id-{{$randomInt}}\"\n        ]\n    },\n    \"user\": [\n        {\n            \"firstname\": \"First\",\n            \"lastname\": \"Last\",\n            \"role\": \"administrator\",\n            \"primaryemail\": \"a-user-{{$randomInt}}@tradecafe.com\",\n            \"primaryphone\": \"+12025551{{$randomInt}}\",\n            \"password\": \"12345678\",\n            \"login_allowed\": true\n        },\n        {\n            \"firstname\": \"First 2\",\n            \"lastname\": \"Last 2\",\n            \"role\": \"administrator\",\n            \"primaryemail\": \"a-user-{{$randomInt}}@tradecafe.com\",\n            \"primaryphone\": \"+12025551{{$randomInt}}\",\n            \"password\": \"12345678\",\n            \"login_allowed\": true\n        }\n    ],\n    \"autoLogin\": true\n}"},"url":"{{gateway_host}}/register"},"response":[],"_postman_id":"a223b4f4-110c-19a9-bf55-8ff9c8ff11d3"},{"name":"register-same-account","id":"d672fe63-ed2d-bc06-0641-58c8b88ce642","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"account\": {\n    \"name\": \"Company Name\",\n    \"type\": \"buyer\",\n    \"primaryemail\": \"{{user_email}}\",\n    \"primaryphone\": \"+37065515975\",\n    \"products\": [\"prod-id-{{$randomInt}}\"]  \n  },\n  \"user\": {\n    \"firstname\": \"First\",\n    \"lastname\": \"Last\",\n    \"role\": \"administrator\",\n    \"primaryemail\": \"{{user_email}}\",\n    \"primaryphone\": \"+37065515975\",\n    \"password\": \"{{user_password}}\"\n  },\n  \"autoLogin\": true\n}"},"url":"{{gateway_host}}/register"},"response":[],"_postman_id":"d672fe63-ed2d-bc06-0641-58c8b88ce642"},{"name":"login","id":"c6cc25a9-ba50-8f5c-4324-67397d88ab7f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth"},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"email\": \"{{user_email}}\",\n  \"password\": \"{{user_password}}\"\n}"},"url":"{{gateway_host}}/login"},"response":[],"_postman_id":"c6cc25a9-ba50-8f5c-4324-67397d88ab7f"},{"name":"reset password","id":"bf0dd62a-c585-4362-93a1-6568e01fb67e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"U5Hhba9h4IIwoXvRMUgUoqiqRDyRTRhYeXLvtEr0P11DbX7uyoUkMGuE2dcfAmKEnzqLflbz0KgVcmHH935eXi"}},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"email\": \"{{user_email}}\",\n  \"password\": \"{{user_password}}\"\n}"},"url":"{{gateway_host}}/login"},"response":[],"_postman_id":"bf0dd62a-c585-4362-93a1-6568e01fb67e"},{"name":"forgot","id":"1a9b88b5-d133-4e9a-8f72-5fd57eb83f20","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"U5Hhba9h4IIwoXvRMUgUoqiqRDyRTRhYeXLvtEr0P11DbX7uyoUkMGuE2dcfAmKEnzqLflbz0KgVcmHH935eXi"}},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"burbulis.julius%40gmail.com\"\n}"},"url":"{{gateway_host}}/forgot"},"response":[],"_postman_id":"1a9b88b5-d133-4e9a-8f72-5fd57eb83f20"},{"name":"logout","id":"32760049-31d1-11e5-f69a-65f6bc6c9679","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"email\": \"a-company-287@test.com\",\n  \"password\": \"12345678\"\n}"},"url":"{{gateway_host}}/logout"},"response":[],"_postman_id":"32760049-31d1-11e5-f69a-65f6bc6c9679"},{"name":"check token","id":"80539445-c4ac-4035-8a11-bf444d1eb8e6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}","disabled":true}],"body":{"mode":"raw","raw":"{\"koken\": \"{{token}}\"}"},"url":"{{gateway_host}}/check-token"},"response":[],"_postman_id":"80539445-c4ac-4035-8a11-bf444d1eb8e6"},{"name":"/autologin/user/{{user_id}}","id":"b0985cb3-f599-42c9-9c11-e7562e6ea0b9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"POST","header":[],"url":"{{gateway_host}}/autologin/user/{{user_id}}"},"response":[],"_postman_id":"b0985cb3-f599-42c9-9c11-e7562e6ea0b9"}],"id":"c87d8a1e-b0c2-f536-e8b1-76f8cdcd8b9b","description":"The API manages user authentication and access using the HTTP Authentication header. Access to the API is handled via HTTP Basic Authentication using an api token. A user is given a new API token each time they login to the platform using their email and password. The TradeCafe applications handle all authentication with the API seamlessly.\n\nOnce authenticated, a user may access the TradeCafe platform via the web application. However, their accesses is limited to the data within their account and also based on their user type.\n\nBelow are the various endpoints used to create an account, authenticate, and logout of the TradeCafe platform.\n","_postman_id":"c87d8a1e-b0c2-f536-e8b1-76f8cdcd8b9b"},{"name":"Bids","item":[{"name":"all","id":"2df8608a-9508-3ff1-0c38-1ed13a5a6b38","request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":"{{gateway_host}}/bids/1510188624.5357"},"response":[],"_postman_id":"2df8608a-9508-3ff1-0c38-1ed13a5a6b38"},{"name":"create","event":[{"listen":"test","script":{"id":"e3900087-4b23-4a3b-98b0-b39bfb6e49e9","exec":[""],"type":"text/javascript","packages":{}}}],"id":"d7940a5a-a318-7241-092a-1a5a1d318c34","request":{"auth":{"type":"bearer","bearer":{"token":"AXfHbwTVnG0fHz3Ct2o4xSYjDNVSFmibmkKvUsM4OuYVgGCgrPe9FaolwrE31XUDNxvQB9oBQM1UDt7EcXIBer"}},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"country\": \"US\",\n  \"account\": {{another_account}},\n  \"offer\": \"offer-id-1507104131103\",\n  \"product\": \"{{product_id}}\",\n  \"deal_id\": \"{{deal_id}}\",\n  \"price\": 3043.949999999,\n  \"currency\": \"USD\",\n  \"ship_start\": 1507075200,\n  \"ship_end\": 1507161600,\n  \"type\": \"limit_order\",\n  \"packing\": {\n    \"unit\": 0\n  },\n  \"delivery\": \"some location\",\n  \"incoterm\": \"whatever\"\n}\n"},"url":"{{gateway_host}}/bids"},"response":[],"_postman_id":"d7940a5a-a318-7241-092a-1a5a1d318c34"},{"name":"get","id":"cf59103a-c936-45c6-d11d-68d9151b4657","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":{"raw":"{{gateway_host}}/bids/:account_id/:bid_id","host":["{{gateway_host}}"],"path":["bids",":account_id",":bid_id"],"variable":[{"key":"account_id","value":"1510188624.5357","type":"string"},{"key":"bid_id","value":"c7f544c1-866d-4011-baa8-b501c68e2952","type":"string"}]}},"response":[],"_postman_id":"cf59103a-c936-45c6-d11d-68d9151b4657"},{"name":"get by deal IDs","id":"951c0302-90d6-e221-9bf7-8b4a8f0c69aa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"deal_ids\": [\"BWI113034TC\"]\n}"},"url":{"raw":"{{gateway_host}}/bids/by_deals/:account_id","host":["{{gateway_host}}"],"path":["bids","by_deals",":account_id"],"variable":[{"key":"account_id","value":"1510188624.5357","type":"string"}]}},"response":[],"_postman_id":"951c0302-90d6-e221-9bf7-8b4a8f0c69aa"},{"name":"update","id":"740ea209-7777-3f5e-04ae-2f6f0c65b784","request":{"auth":{"type":"bearer","bearer":{"token":"AXfHbwTVnG0fHz3Ct2o4xSYjDNVSFmibmkKvUsM4OuYVgGCgrPe9FaolwrE31XUDNxvQB9oBQM1UDt7EcXIBer"}},"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"price\": 1,\n  \"quantity\": 2,\n  \"weight\": {\n\t\"amount\": 2,\n\t\"unit\": \"foo\"\n  },\n  \"ship_start\": {{$timestamp}},\n  \"ship_end\": {{$timestamp}},\n  \"country\": \"CA\",\n  \"offer\": \"1c675f42-8536-474f-b42b-6bd38848086a\",\n  \"product\": \"1716ac22-1df5-4fd6-98ef-e9989658fe41\",\n  \"currency\": \"EUR\",\n  \"account\": 1656044222.9376,\n  \"type\": \"market_order\",\n  \"incoterm\": \"foo\"\n\n}"},"url":"{{gateway_host}}/bids/c7f544c1-866d-4011-baa8-b501c68e2952"},"response":[],"_postman_id":"740ea209-7777-3f5e-04ae-2f6f0c65b784"},{"name":"delete","id":"8e14c407-82f7-a4c4-b98f-2eb99b1c22b1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"AXfHbwTVnG0fHz3Ct2o4xSYjDNVSFmibmkKvUsM4OuYVgGCgrPe9FaolwrE31XUDNxvQB9oBQM1UDt7EcXIBer"}},"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{gateway_host}}/bids/:bid_id","host":["{{gateway_host}}"],"path":["bids",":bid_id"],"variable":[{"key":"bid_id","value":"c7f544c1-866d-4011-baa8-b501c68e2952","type":"string"}]}},"response":[],"_postman_id":"8e14c407-82f7-a4c4-b98f-2eb99b1c22b1"}],"id":"c4f85225-f237-94ee-c044-ffab79cc6214","description":"The Bid Service (BS) allows buyers and traders to submit bids on product offers in the Trade Cafe platform. A bid is a proposal to buy goods at a specific price and time, with specific set of conditions. In most cases bids will be specific to an offer. Bids are made by buyers or traders of goods to suppliers of those goods.\n\n","_postman_id":"c4f85225-f237-94ee-c044-ffab79cc6214"},{"name":"Business types","item":[{"name":"create","id":"8bce96a6-f5d8-8cf3-a0f3-8728d0c9c7ee","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"business type - {{$randomInt}}\",\n  \"user_id\": \"{{user_id}}\",\n  \"archived\": false,\n  \"attributes\": {\"a\": 123}\n}"},"url":"{{gateway_host}}/business_types"},"response":[],"_postman_id":"8bce96a6-f5d8-8cf3-a0f3-8728d0c9c7ee"},{"name":"list all","id":"d99719a1-18e4-9644-6322-d8dcbffde58b","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"name\",\n  \"description\": \"description\",\n  \"body\": \"body\",\n  \"tags\": [\"tag1\", \"tag2\"],\n  \"archived\": \"false\"\n}"},"url":"{{gateway_host}}/business_types"},"response":[],"_postman_id":"d99719a1-18e4-9644-6322-d8dcbffde58b"},{"name":"get","id":"da49f259-f2e4-7dce-ac70-bc6934596b38","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Update Name {{$randomInt}}\"\n}"},"url":"{{gateway_host}}/business_types/{{business_type_id}}"},"response":[],"_postman_id":"da49f259-f2e4-7dce-ac70-bc6934596b38"},{"name":"update","id":"aa876834-7336-fc3b-a6f1-bc627f67ec12","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Updated Name {{$randomInt}}\",\n  \"user_id\": \"c900926d-6bb9-4898-b2ef-2ff85fb97f81\"\n}"},"url":"{{gateway_host}}/business_types/{{business_type_id}}"},"response":[],"_postman_id":"aa876834-7336-fc3b-a6f1-bc627f67ec12"},{"name":"delete","id":"ab1617b5-a11d-7a78-4d56-9f3b72f7abbc","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":""},"url":"{{gateway_host}}/business_types/{{business_type_id}}"},"response":[],"_postman_id":"ab1617b5-a11d-7a78-4d56-9f3b72f7abbc"}],"id":"59727b1e-5f99-e85b-02c4-5af67bb80ec3","description":"The Account Service manages company and user account information within the TradeCafe platform. Company accounts belong to suppliers, buyers, and other partners while users are simply contacts within a specific company. Each user may login to their own account and view information related to their TradeCafe account, with certain restrictions placed on their specific user type.\n\nAn account within the TradeCafe platform consists of at least the following data attributes.\n\n\n* account - `required` The unique id of the account in TC. This is alphanumeric.\n* name – `required` The company name.\n* status - `required` This indicates the status of the account. (pending=0, reviewed=1, active=2, restricted=-1)\n* type – `required` The type of account, buyer, supplier, service provider, or admin (there will be only one admin account).\n* created – `required` An epoch timestamp with the time the account was created. This is automatically generated by the platform.\n* primaryphone – `required` The primary phone number associated with the account.\n* products – `required` A list of products the company is interested in trading.\n* primaryemail – `required` The primary email address associated with the account.\n* since - The year the business started.\n* corp_type - The type of the company. LLC, Inc, LLP, etc.\n* parent - Indicates a parent account id of this company if the company is a subsidiary.\n* emails – Other email addresses associated with the account.\n* phones – Other phone numbers associated with the account.\n* addresses – A JSON array of objects containing address components (street1, street2, city, state, postal, country, timezone). The company may have multiple addresses.\n* website - The website URL of the account.\n* archived – A 0/1 flag which identifies if this file has been archived.\n* attributes – A sub object with additional attributes of the account.\n* currency – The default currency of the company.\n* language – The preferred language of the company.\n* manager - The account manager assigned the company. This is a user id.\n* coordinator - The logistics coordinator assigned to the company. This is a user id.\n* banking - The banking profile of the company. This is a JSON subobject.\n\nBelow are API endpoints that provide access to account data within the platform.","_postman_id":"59727b1e-5f99-e85b-02c4-5af67bb80ec3"},{"name":"Buyers Group","item":[{"name":"create","id":"d3248948-07e1-4804-a026-2752c8f2ed87","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"business type - {{$randomInt}}\",\n  \"user_id\": \"{{user_id}}\",\n  \"archived\": false,\n  \"attributes\": {\"a\": 123}\n}"},"url":"{{gateway_host}}/buyers_group"},"response":[],"_postman_id":"d3248948-07e1-4804-a026-2752c8f2ed87"},{"name":"list all","id":"a35bd540-ff5d-471a-b0a1-58cea3077fab","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":"{{gateway_host}}/buyers_group"},"response":[],"_postman_id":"a35bd540-ff5d-471a-b0a1-58cea3077fab"},{"name":"get","id":"c2e38b0c-075d-43f2-b6fb-6f11d5c157d8","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":{"raw":"{{gateway_host}}/buyers_group/:group_id","host":["{{gateway_host}}"],"path":["buyers_group",":group_id"],"variable":[{"key":"group_id","value":null}]}},"response":[],"_postman_id":"c2e38b0c-075d-43f2-b6fb-6f11d5c157d8"},{"name":"update","id":"6f371a0a-8312-40fb-9b20-717f0b84c0ea","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Updated Name {{$randomInt}}\",\n  \"user_id\": \"c900926d-6bb9-4898-b2ef-2ff85fb97f81\"\n}"},"url":{"raw":"{{gateway_host}}/buyers_group/:group_id","host":["{{gateway_host}}"],"path":["buyers_group",":group_id"],"variable":[{"key":"group_id","value":null}]}},"response":[],"_postman_id":"6f371a0a-8312-40fb-9b20-717f0b84c0ea"},{"name":"delete","id":"82ef29ad-212c-456a-9527-8484e86896d7","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{gateway_host}}/buyers_group/:group_id","host":["{{gateway_host}}"],"path":["buyers_group",":group_id"],"variable":[{"key":"group_id","value":null}]}},"response":[],"_postman_id":"82ef29ad-212c-456a-9527-8484e86896d7"}],"id":"d24221c7-64cd-44de-bbc5-854ded0cb588","description":"The Account Service manages company and user account information within the TradeCafe platform. Company accounts belong to suppliers, buyers, and other partners while users are simply contacts within a specific company. Each user may login to their own account and view information related to their TradeCafe account, with certain restrictions placed on their specific user type.\n\nAn account within the TradeCafe platform consists of at least the following data attributes.\n\n\n* account - `required` The unique id of the account in TC. This is alphanumeric.\n* name – `required` The company name.\n* status - `required` This indicates the status of the account. (pending=0, reviewed=1, active=2, restricted=-1)\n* type – `required` The type of account, buyer, supplier, service provider, or admin (there will be only one admin account).\n* created – `required` An epoch timestamp with the time the account was created. This is automatically generated by the platform.\n* primaryphone – `required` The primary phone number associated with the account.\n* products – `required` A list of products the company is interested in trading.\n* primaryemail – `required` The primary email address associated with the account.\n* since - The year the business started.\n* corp_type - The type of the company. LLC, Inc, LLP, etc.\n* parent - Indicates a parent account id of this company if the company is a subsidiary.\n* emails – Other email addresses associated with the account.\n* phones – Other phone numbers associated with the account.\n* addresses – A JSON array of objects containing address components (street1, street2, city, state, postal, country, timezone). The company may have multiple addresses.\n* website - The website URL of the account.\n* archived – A 0/1 flag which identifies if this file has been archived.\n* attributes – A sub object with additional attributes of the account.\n* currency – The default currency of the company.\n* language – The preferred language of the company.\n* manager - The account manager assigned the company. This is a user id.\n* coordinator - The logistics coordinator assigned to the company. This is a user id.\n* banking - The banking profile of the company. This is a JSON subobject.\n\nBelow are API endpoints that provide access to account data within the platform.","_postman_id":"d24221c7-64cd-44de-bbc5-854ded0cb588"},{"name":"Consignees","item":[{"name":"/consignees","id":"1af89902-7c79-4aa8-a5b1-6ff0b99e4bf1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Bassett Walker International, Inc.\",\n    \"primary\": 1,\n    \"street1\": \"2 Berkeley St\",\n    \"street2\": \"Suite 303\",\n    \"city\": \"Toronto\",\n    \"cc\": \"CA\",\n    \"country\": \"Canada\",\n    \"postal\": \"M5A 4J5\",\n    \"tax_id\": \"TestTaxID-1234\",\n    \"telephone1\": \"4163637070\",\n    \"telephone1_ext\": \"101\",\n    \"fax\": \"415-666-0101\",\n    \"fax_ext\": \"102\",\n    \"note\": \"Note found in address fields in TradeCafe Staff Primary Address\",\n    \"state\": \"Alberta\",\n    \"telephone2\": \"4163637071\",\n    \"email\": \"mfortuna@bassettwalkerinc.com\",\n    \"state_code\": \"AB\",\n    \"department\": \"7b31c6c5-06e2-41cf-82b0-6151a4933d8b\",\n    \"code\": \"TEST\",\n    \"carrier_id\": \"d93d51c0-ad5e-11ec-b909-0242ac120002\"\n}"},"url":{"raw":"{{gateway_host}}/consignees","host":["{{gateway_host}}"],"path":["consignees"],"query":[{"key":"name","value":"account name","disabled":true},{"key":"attributes[field]","value":"field value","disabled":true},{"key":"archived","value":"true","description":"include archived accounts","disabled":true},{"key":"skip","value":"5","description":"paging - number of items to skip","disabled":true},{"key":"limit","value":"10","description":"paging - number of items to limit by","disabled":true}]},"description":"Create an account"},"response":[],"_postman_id":"1af89902-7c79-4aa8-a5b1-6ff0b99e4bf1"},{"name":"/consignees","id":"6825e7b0-415e-4819-bbc5-906dec7d1f98","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":{"raw":"{{gateway_host}}/consignees?skip=0&limit=5","host":["{{gateway_host}}"],"path":["consignees"],"query":[{"key":"skip","value":"0"},{"key":"limit","value":"5"}]},"description":"List accounts"},"response":[],"_postman_id":"6825e7b0-415e-4819-bbc5-906dec7d1f98"},{"name":"/consignee/:consignee_id","id":"f4837f5c-bd48-45b6-a6cd-81f6124cf514","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":{"raw":"{{gateway_host}}/consignees/:consignee_id","host":["{{gateway_host}}"],"path":["consignees",":consignee_id"],"variable":[{"id":"d264fe65-f09b-40ab-b877-636e453b5b5d","key":"consignee_id","value":null}]},"description":"Get an account"},"response":[],"_postman_id":"f4837f5c-bd48-45b6-a6cd-81f6124cf514"},{"name":"/consignees/:consignee_id","id":"a9a2c693-6e55-4f9f-b50a-2bb1274da53d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"street1\": \"3 Berkeley St\",\n    \"street2\": \"Updated Suite 304\"\n}"},"url":{"raw":"{{gateway_host}}/consignees/:consignee_id","host":["{{gateway_host}}"],"path":["consignees",":consignee_id"],"query":[{"key":"name","value":"account name","disabled":true},{"key":"attributes[field]","value":"field value","disabled":true},{"key":"archived","value":"true","description":"include archived accounts","disabled":true},{"key":"skip","value":"5","description":"paging - number of items to skip","disabled":true},{"key":"limit","value":"10","description":"paging - number of items to limit by","disabled":true}],"variable":[{"id":"8fca3b83-a66d-46ef-807e-7c584c557efd","key":"consignee_id","value":null}]},"description":"Update an account"},"response":[],"_postman_id":"a9a2c693-6e55-4f9f-b50a-2bb1274da53d"},{"name":"/consignees/:consignee_id","id":"5468698d-453b-4930-8e09-9c0d584e14ee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"{{gateway_host}}/consignees/:consignee_id","host":["{{gateway_host}}"],"path":["consignees",":consignee_id"],"query":[{"key":"name","value":"account name","disabled":true},{"key":"attributes[field]","value":"field value","disabled":true},{"key":"archived","value":"true","description":"include archived accounts","disabled":true},{"key":"skip","value":"5","description":"paging - number of items to skip","disabled":true},{"key":"limit","value":"10","description":"paging - number of items to limit by","disabled":true}],"variable":[{"id":"4adaa2d9-85ea-43b3-b90f-c8748f473798","key":"consignee_id","value":null}]},"description":"Delete an account"},"response":[],"_postman_id":"5468698d-453b-4930-8e09-9c0d584e14ee"}],"id":"686f3abb-6799-4073-bec9-4dda4bcb752d","auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"event":[{"listen":"prerequest","script":{"id":"57381a2d-4184-4dbc-8303-e254a71113cb","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"dabaefe4-2ebd-4620-a738-2ce95c188526","type":"text/javascript","exec":[""]}}],"_postman_id":"686f3abb-6799-4073-bec9-4dda4bcb752d"},{"name":"Costing","item":[{"name":"cost","item":[{"name":"with issues","item":[{"name":"create","id":"8a83eb38-46e9-ec5e-a2dd-4e296d2464a6","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"deal_id\": \"{{deal_id}}\",\n  \"creator_id\": \"user_id_{{$randomInt}}\",\n  \"type\": \"primary\",\n  \"status\": \"pending\",\n  \"attributes\": {},\n  \"service\": \"service\",\n  \"provider\": \"provider\",\n  \"amount\": {\n    \"total\": \"{{$randomInt}}\",\n    \"currency\": \"USD\",\n    \"total_cad\": \"{{$randomInt}}\",\n    \"cost_unit\": \"{{$randomInt}}\"\n  },\n  \"account\": \"{{account_id}}\"\n}"},"url":"{{gateway_host}}/costs/{{account_id}}"},"response":[],"_postman_id":"8a83eb38-46e9-ec5e-a2dd-4e296d2464a6"}],"id":"2078ff26-94c8-f633-c1c7-3e3268d8bc81","_postman_id":"2078ff26-94c8-f633-c1c7-3e3268d8bc81"},{"name":"all","id":"9066bb49-0d1c-f986-127c-f375bb6ce5d4","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"name\",\n  \"description\": \"description\",\n  \"body\": \"body\",\n  \"tags\": [\"tag1\", \"tag2\"],\n  \"archived\": \"false\"\n}"},"url":"{{gateway_host}}/costs"},"response":[],"_postman_id":"9066bb49-0d1c-f986-127c-f375bb6ce5d4"},{"name":"get","id":"c99d27e1-590d-53dd-9cdc-fd3afdff0cc4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":{"raw":"{{gateway_host}}/costs/:cost_id","host":["{{gateway_host}}"],"path":["costs",":cost_id"],"variable":[{"key":"cost_id","value":"59f84d9f-87fa-4155-9c91-34e13d48608c"}]}},"response":[],"_postman_id":"c99d27e1-590d-53dd-9cdc-fd3afdff0cc4"},{"name":"delete","id":"7c323c04-614f-001f-83f4-88cfb9dbaca1","request":{"auth":{"type":"bearer","bearer":{"token":"wfq4XIT1BfgYTXmSbgmHaZYtY37k3vJ9jPrg0tzMkANL5LLfybsQSay51E2tDuWxhq2xxHf3HNzd2FL5F9YKjX"}},"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{gateway_host}}/costs/:cost_id","host":["{{gateway_host}}"],"path":["costs",":cost_id"],"variable":[{"key":"cost_id","value":"f8bb63ac-7232-4acc-9ad7-9590df4bc1d1"}]}},"response":[],"_postman_id":"7c323c04-614f-001f-83f4-88cfb9dbaca1"},{"name":"get for deal","id":"91ecdf99-e1ec-ec99-08d8-1185dfba93d5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":{"raw":"{{gateway_host}}/costs/:account_id/:deal_id","host":["{{gateway_host}}"],"path":["costs",":account_id",":deal_id"],"variable":[{"key":"account_id","value":null},{"key":"deal_id","value":"BWI127680TCI","type":"string"}]}},"response":[],"_postman_id":"91ecdf99-e1ec-ec99-08d8-1185dfba93d5"},{"name":"update","id":"4c7d6d04-669e-677f-c89c-91289d6b931b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"deal_id\": \"{{deal_id}}\",\n  \"type\": \"primary\",\n  \"status\": \"pending\",\n  \"attributes\": {},\n  \"service\": \"service\",\n  \"provider\": \"provider\",\n  \"amount\": {\n    \"total\": \"{{$randomInt}}\",\n    \"currency\": \"USD\",\n    \"total_cad\": \"{{$randomInt}}\",\n    \"cost_unit\": \"{{$randomInt}}\"\n  },\n  \"account\": \"{{account_id}}\"\n}"},"url":{"raw":"{{gateway_host}}/costs/{{staff_account_id}}/:cost_id","host":["{{gateway_host}}"],"path":["costs","{{staff_account_id}}",":cost_id"],"variable":[{"key":"cost_id","value":""}]}},"response":[],"_postman_id":"4c7d6d04-669e-677f-c89c-91289d6b931b"},{"name":"create","id":"aed9e3e6-3f5f-4d18-b479-e68b1d8d1334","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"deal_id\": \"{{deal_id}}\",\n  \"creator_id\": \"{{user_id}}\",\n  \"type\": \"primary\",\n  \"status\": \"pending\",\n  \"attributes\": {},\n  \"service\": \"service\",\n  \"provider\": \"provider\",\n  \"amount\": {\n    \"total\": {{$randomInt}},\n    \"currency\": \"USD\",\n    \"total_cad\": {{$randomInt}},\n    \"cost_unit\": {{$randomInt}}\n  },\n  \"account\": \"{{account_id}}\"\n}"},"url":"{{gateway_host}}/costs/{{staff_account_id}}"},"response":[],"_postman_id":"aed9e3e6-3f5f-4d18-b479-e68b1d8d1334"},{"name":"get for multiple deals","id":"1b06cc34-e828-4bb8-8fa3-fa2ab8b8bf99","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"deal_ids\": [\t\n  \t\"BWI100045TC\"\n  \t]\n}"},"url":{"raw":"{{gateway_host}}/costs/by-multiple-deals?limit=100","host":["{{gateway_host}}"],"path":["costs","by-multiple-deals"],"query":[{"key":"limit","value":"100"}]}},"response":[],"_postman_id":"1b06cc34-e828-4bb8-8fa3-fa2ab8b8bf99"},{"name":"get list by ids","id":"97e760bc-87c7-4d6f-a9a2-21cc60fb8946","request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"ids\":[\"a48193f6-4123-43a0-91ee-ad528ff69dbc\",\"f6e02eb0-7801-4c43-825e-4e028c06aa87\",\"dfac9b56-303c-41d5-bb9f-f8f1a3a6e901\"]}"},"url":"{{gateway_host}}/costs/by-multiple-ids"},"response":[],"_postman_id":"97e760bc-87c7-4d6f-a9a2-21cc60fb8946"}],"id":"f6961959-93c9-5fbe-c796-e0968e856a80","_postman_id":"f6961959-93c9-5fbe-c796-e0968e856a80"},{"name":"cost types","item":[{"name":"create","id":"b70245b9-3243-8988-dad2-6b0b0cb9f65d","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"creator_id\": \"creatorId-{{$randomInt}}\",\n  \"type\": \"primary\",\n  \"products\": [\n    \"productIds-{{$randomInt}}\"\n  ],\n  \"attributes\": {},\n  \"service\": \"service\"\n}"},"url":"{{gateway_host}}/cost-types"},"response":[],"_postman_id":"b70245b9-3243-8988-dad2-6b0b0cb9f65d"},{"name":"all","id":"1842aca9-22c6-9d6a-8080-39bd746e98ac","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"name\",\n  \"description\": \"description\",\n  \"body\": \"body\",\n  \"tags\": [\"tag1\", \"tag2\"],\n  \"archived\": \"false\"\n}"},"url":"{{gateway_host}}/cost-types"},"response":[],"_postman_id":"1842aca9-22c6-9d6a-8080-39bd746e98ac"},{"name":"get","id":"e1ee7f5a-8b48-a72e-1af1-c714f5f2296f","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"deal_id\": \"deal\",\n  \"carrier\": \"ups\",\n  \"code\": \"code\"\n}"},"url":"{{gateway_host}}/cost-types/f9b87d0c-2277-4323-b212-14111a89e5e2"},"response":[],"_postman_id":"e1ee7f5a-8b48-a72e-1af1-c714f5f2296f"},{"name":"update","id":"610e97a0-a847-9b58-20d7-15513d2063c9","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"type\": \"primary\",\n  \"products\": [\n    \"productIds-{{$randomInt}}\"\n  ],\n  \"attributes\": {},\n  \"service\": \"service\"\n}"},"url":"{{gateway_host}}/cost-types/{{cost_type_id}}"},"response":[],"_postman_id":"610e97a0-a847-9b58-20d7-15513d2063c9"},{"name":"delete","id":"2bd68c12-8d87-99ad-90f3-1fce3ed89e93","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":""},"url":"{{gateway_host}}/cost-types/{{cost_type_id}}"},"response":[],"_postman_id":"2bd68c12-8d87-99ad-90f3-1fce3ed89e93"}],"id":"6de2bb50-2d1c-188c-801a-d424baefcfbe","_postman_id":"6de2bb50-2d1c-188c-801a-d424baefcfbe"},{"name":"secondary cost","item":[{"name":"create","id":"e80349df-fa33-2355-2163-e0691970b4f8","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"order\": 1,\n  \"type\": \"foo\",\n  \"costs\": {},\n  \"attributes\": {},\n  \"creator_id\": \"{{user_id}}\"\n}"},"url":"{{gateway_host}}/secondary-cost"},"response":[],"_postman_id":"e80349df-fa33-2355-2163-e0691970b4f8"},{"name":"resolve","id":"c14362f2-d5d4-48ba-9705-69fb58c7e665","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"order\": 1,\n  \"type\": \"foo\",\n  \"costs\": {},\n  \"attributes\": {},\n  \"creator_id\": \"{{user_id}}\"\n}"},"url":"{{gateway_host}}/secondary-cost/resolve"},"response":[],"_postman_id":"c14362f2-d5d4-48ba-9705-69fb58c7e665"},{"name":"all","id":"5cf7c159-eed8-a578-e298-3e0dd17f7b72","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"name\",\n  \"description\": \"description\",\n  \"body\": \"body\",\n  \"tags\": [\"tag1\", \"tag2\"],\n  \"archived\": \"false\"\n}"},"url":"{{gateway_host}}/secondary-cost"},"response":[],"_postman_id":"5cf7c159-eed8-a578-e298-3e0dd17f7b72"},{"name":"get","id":"50218399-f3c1-2384-ac2e-a10f59c3d2ae","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"deal_id\": \"deal\",\n  \"carrier\": \"ups\",\n  \"code\": \"code\"\n}"},"url":"{{gateway_host}}/secondary-cost/{{secondary_cost_id}}"},"response":[],"_postman_id":"50218399-f3c1-2384-ac2e-a10f59c3d2ae"},{"name":"update","id":"09214b35-1c74-c896-f537-0ed13eec9626","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"type\": \"bar\"\n}"},"url":"{{gateway_host}}/secondary-cost/{{secondary_cost_id}}"},"response":[],"_postman_id":"09214b35-1c74-c896-f537-0ed13eec9626"},{"name":"delete","id":"011e5a1f-1ca5-baae-1f62-3762dc36143d","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":""},"url":"{{gateway_host}}/secondary-cost/{{secondary_cost_id}}"},"response":[],"_postman_id":"011e5a1f-1ca5-baae-1f62-3762dc36143d"}],"id":"f232b232-455d-b19a-6fa4-4784378b2f8c","_postman_id":"f232b232-455d-b19a-6fa4-4784378b2f8c"},{"name":"financial term","item":[{"name":"create","id":"56be82d3-024e-8492-1c27-d9aff6babb06","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"creator_id\": \"creatorId-{{$randomInt}}\",\n  \"days\": \"{{$randomInt}}\",\n  \"start\": \"shipped\",\n  \"attributes\": {}\n}"},"url":"{{gateway_host}}/financial-terms"},"response":[],"_postman_id":"56be82d3-024e-8492-1c27-d9aff6babb06"},{"name":"all","id":"de3b74a6-0362-bb92-8955-140104019b99","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"name\",\n  \"description\": \"description\",\n  \"body\": \"body\",\n  \"tags\": [\"tag1\", \"tag2\"],\n  \"archived\": \"false\"\n}"},"url":"{{gateway_host}}/financial-terms"},"response":[],"_postman_id":"de3b74a6-0362-bb92-8955-140104019b99"},{"name":"get","id":"d13438ec-6d39-3000-6d24-33114f5cc90c","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"deal_id\": \"deal\",\n  \"carrier\": \"ups\",\n  \"code\": \"code\"\n}"},"url":"{{gateway_host}}/financial-terms/680c9eda-9c7b-416f-8270-dcf9a0ec36aa"},"response":[],"_postman_id":"d13438ec-6d39-3000-6d24-33114f5cc90c"},{"name":"update","id":"a8c34cb3-3950-2c9e-be79-9c45d2ed8791","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"days\": \"{{$randomInt}}\",\n  \"start\": \"shipped\",\n  \"attributes\": {}\n}"},"url":"{{gateway_host}}/financial-terms/{{term_id}}"},"response":[],"_postman_id":"a8c34cb3-3950-2c9e-be79-9c45d2ed8791"},{"name":"delete","id":"e26d1bdc-96b0-2777-26a6-32debaf3c33a","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":""},"url":"{{gateway_host}}/financial-terms/{{term_id}}"},"response":[],"_postman_id":"e26d1bdc-96b0-2777-26a6-32debaf3c33a"}],"id":"7b442ae5-cac8-fb27-aecc-b200dde279b3","_postman_id":"7b442ae5-cac8-fb27-aecc-b200dde279b3"}],"id":"09e0c912-d781-3e8a-15dc-58639e1d2193","description":"The Costing Service (CGS) allows users to create, update, and retrieve cost information associated with a deal. It also allows the creation and retrieval of various finance terms.\n\n* cost_id – The unique id of the cost, preferably a UUID.\n* created - An epoch timestamp with the date and time the cost was created.\n* account - The account to which the cost belongs.\n* deal_id – The id of the deal to which the cost is associated.\n* creator_id – The id of the user who created the cost.\n* type – The type of the cost. This can be primary, secondary, or tertiary.\n* amount - This is a sub object which contains \n* total - The total amount of the cost.\n* currency - The currency that the cost is in.\n* total_cad - The total amount in Canadian dollars.\n* cost_unit - The cost per unit in CAD, if applicable.\n* service – A brief description of the service provided.\n* provider – The provider who the cost is associated to. Who provided the service.\n* status – A flag which indicates the status of the cost (pending, actualized, paid, unpaid).\n* attributes – A sub object which contains the list of trigger specific attributes.","_postman_id":"09e0c912-d781-3e8a-15dc-58639e1d2193"},{"name":"Credit Notes","item":[{"name":"Departments","item":[{"name":"Alert","item":[{"name":"create","id":"cacf74f3-36ee-d415-ae46-7b1cc5732565","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"account\": \"{{account_id}}\",\n  \"deal_id\": \"{{deal_id}}\",\n  \"subject\": \"Foo subject\",\n  \"message\": \"Foo message\",\n  \"broadcast\": false,\n  \"users\": [\"{{user_id}}\"],\n  \"attributes\": {\n    \"key\": \"val\"\n  }\n}"},"url":"{{gateway_host}}/alert/{{account_id}}","description":"Create – A user should be able to POST a JSON payload to the service and create a note. The response should be the newly created note object in JSON form.\n"},"response":[],"_postman_id":"cacf74f3-36ee-d415-ae46-7b1cc5732565"},{"name":"get broadcast (all)","id":"ca132d39-de63-3e4d-d27d-0a1f90e86a72","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"body\": \"some note - {{$randomInt}}\",\n  \"user_id\": \"{{user_id}}\",\n  \"visibility\": 1,\n  \"deal_id\": \"{{deal_id}}\",\n  \"shipment_id\": \"{{shipment_id}}\"\n}"},"url":"{{gateway_host}}/alert/broadcast","description":"Create – A user should be able to POST a JSON payload to the service and create a note. The response should be the newly created note object in JSON form.\n"},"response":[],"_postman_id":"ca132d39-de63-3e4d-d27d-0a1f90e86a72"},{"name":"get broadcast (by deal_id)","id":"64d67397-2d7a-ba56-d196-fc292312a784","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"body\": \"some note - {{$randomInt}}\",\n  \"user_id\": \"{{user_id}}\",\n  \"visibility\": 1,\n  \"deal_id\": \"{{deal_id}}\",\n  \"shipment_id\": \"{{shipment_id}}\"\n}"},"url":{"raw":"{{gateway_host}}/alert/broadcast?deal_id={{deal_id}}","host":["{{gateway_host}}"],"path":["alert","broadcast"],"query":[{"key":"deal_id","value":"{{deal_id}}"}]},"description":"Create – A user should be able to POST a JSON payload to the service and create a note. The response should be the newly created note object in JSON form.\n"},"response":[],"_postman_id":"64d67397-2d7a-ba56-d196-fc292312a784"},{"name":"get by user (all)","id":"049ddd8d-227f-833b-658b-4fa5971ef4ea","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"body\": \"some note - {{$randomInt}}\",\n  \"user_id\": \"{{user_id}}\",\n  \"visibility\": 1,\n  \"deal_id\": \"{{deal_id}}\",\n  \"shipment_id\": \"{{shipment_id}}\"\n}"},"url":{"raw":"{{gateway_host}}/alert?user_id={{user_id}}","host":["{{gateway_host}}"],"path":["alert"],"query":[{"key":"user_id","value":"{{user_id}}"}]},"description":"Create – A user should be able to POST a JSON payload to the service and create a note. The response should be the newly created note object in JSON form.\n"},"response":[],"_postman_id":"049ddd8d-227f-833b-658b-4fa5971ef4ea"},{"name":"get by user (by deal_id)","id":"065bb50c-089f-a14a-a57d-7859974e677d","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"body\": \"some note - {{$randomInt}}\",\n  \"user_id\": \"{{user_id}}\",\n  \"visibility\": 1,\n  \"deal_id\": \"{{deal_id}}\",\n  \"shipment_id\": \"{{shipment_id}}\"\n}"},"url":{"raw":"{{gateway_host}}/alert?user_id={{user_id}}&deal_id={{deal_id}}","host":["{{gateway_host}}"],"path":["alert"],"query":[{"key":"user_id","value":"{{user_id}}"},{"key":"deal_id","value":"{{deal_id}}"}]},"description":"Create – A user should be able to POST a JSON payload to the service and create a note. The response should be the newly created note object in JSON form.\n"},"response":[],"_postman_id":"065bb50c-089f-a14a-a57d-7859974e677d"},{"name":"delete","id":"bb8ffd87-880d-b617-eead-7006a8dc2e4f","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"body\": \"some note - {{$randomInt}}\",\n  \"user_id\": \"{{user_id}}\",\n  \"visibility\": 1,\n  \"deal_id\": \"{{deal_id}}\",\n  \"shipment_id\": \"{{shipment_id}}\"\n}"},"url":"{{gateway_host}}/alert/{{alert_id}}","description":"Create – A user should be able to POST a JSON payload to the service and create a note. The response should be the newly created note object in JSON form.\n"},"response":[],"_postman_id":"bb8ffd87-880d-b617-eead-7006a8dc2e4f"},{"name":"read","id":"0e29d2e7-7b9c-7431-96e1-f59316085e74","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n   \"alert_ids\": [\n   \t  \"{{alert_id}}\"\n   \t]\n}"},"url":"{{gateway_host}}/alert/read","description":"Create – A user should be able to POST a JSON payload to the service and create a note. The response should be the newly created note object in JSON form.\n"},"response":[],"_postman_id":"0e29d2e7-7b9c-7431-96e1-f59316085e74"}],"id":"5f469861-019c-6db2-6e0f-697d8b63ab15","_postman_id":"5f469861-019c-6db2-6e0f-697d8b63ab15"},{"name":"list all","id":"dbc752b9-98ce-2c7b-f721-9b9e0a2bfe6a","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"name\",\n  \"description\": \"description\",\n  \"body\": \"body\",\n  \"tags\": [\"tag1\", \"tag2\"],\n  \"archived\": \"false\"\n}"},"url":"{{gateway_host}}/departments"},"response":[],"_postman_id":"dbc752b9-98ce-2c7b-f721-9b9e0a2bfe6a"},{"name":"create","id":"399b9cd7-399d-6696-37df-30bc589f6b74","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"name - {{$randomInt}}\",\n  \"user_id\": \"{{user_id}}\",\n  \"archived\": false,\n  \"attributes\": {\"a\": 123}\n}"},"url":"{{gateway_host}}/departments"},"response":[],"_postman_id":"399b9cd7-399d-6696-37df-30bc589f6b74"},{"name":"get","id":"9c571810-d277-a722-63e2-445e0b7af95d","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Update Name {{$randomInt}}\"\n}"},"url":"{{gateway_host}}/departments/{{department_id}}"},"response":[],"_postman_id":"9c571810-d277-a722-63e2-445e0b7af95d"},{"name":"update","id":"e23814c2-3d16-1c55-261d-585e01bb31f2","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Updated Name {{$randomInt}}\",\n  \"user_id\": \"c900926d-6bb9-4898-b2ef-2ff85fb97f84\"\n}"},"url":"{{gateway_host}}/departments/{{department_id}}"},"response":[],"_postman_id":"e23814c2-3d16-1c55-261d-585e01bb31f2"},{"name":"delete","id":"8ec108e4-637b-89c8-e9c8-49ae16b7f517","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":""},"url":"{{gateway_host}}/departments/{{department_id}}"},"response":[],"_postman_id":"8ec108e4-637b-89c8-e9c8-49ae16b7f517"}],"id":"edd1e79d-c963-d3f2-bed9-33b6b4683c45","description":"The Account Service manages company and user account information within the TradeCafe platform. Company accounts belong to suppliers, buyers, and other partners while users are simply contacts within a specific company. Each user may login to their own account and view information related to their TradeCafe account, with certain restrictions placed on their specific user type.\n\nAn account within the TradeCafe platform consists of at least the following data attributes.\n\n\n* account - `required` The unique id of the account in TC. This is alphanumeric.\n* name – `required` The company name.\n* status - `required` This indicates the status of the account. (pending=0, reviewed=1, active=2, restricted=-1)\n* type – `required` The type of account, buyer, supplier, service provider, or admin (there will be only one admin account).\n* created – `required` An epoch timestamp with the time the account was created. This is automatically generated by the platform.\n* primaryphone – `required` The primary phone number associated with the account.\n* products – `required` A list of products the company is interested in trading.\n* primaryemail – `required` The primary email address associated with the account.\n* since - The year the business started.\n* corp_type - The type of the company. LLC, Inc, LLP, etc.\n* parent - Indicates a parent account id of this company if the company is a subsidiary.\n* emails – Other email addresses associated with the account.\n* phones – Other phone numbers associated with the account.\n* addresses – A JSON array of objects containing address components (street1, street2, city, state, postal, country, timezone). The company may have multiple addresses.\n* website - The website URL of the account.\n* archived – A 0/1 flag which identifies if this file has been archived.\n* attributes – A sub object with additional attributes of the account.\n* currency – The default currency of the company.\n* language – The preferred language of the company.\n* manager - The account manager assigned the company. This is a user id.\n* coordinator - The logistics coordinator assigned to the company. This is a user id.\n* banking - The banking profile of the company. This is a JSON subobject.\n\nBelow are API endpoints that provide access to account data within the platform.","_postman_id":"edd1e79d-c963-d3f2-bed9-33b6b4683c45"},{"name":"create","id":"e62d33dc-3234-530f-ed79-3b361b9d4c03","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"user_id\": \"{{user_id}}\",\n  \"account\": \"{{account_id}}\",\n  \"deal_id\": \"{{deal_id}}\",\n  \"cost_id\": \"{{cost_id}}\",\n  \"amount\": 123,\n  \"invoice_id\": \"{{invoice_id}}\"\n}\n"},"url":"{{gateway_host}}/credit-notes"},"response":[],"_postman_id":"e62d33dc-3234-530f-ed79-3b361b9d4c03"},{"name":"update","id":"4d4f4d99-6714-9dd4-634d-bb77b1138358","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"amount\": 321\n}"},"url":"{{gateway_host}}/credit-notes/{{deal_id}}/{{note_id}}"},"response":[],"_postman_id":"4d4f4d99-6714-9dd4-634d-bb77b1138358"},{"name":"void","id":"9f486750-5618-b127-f827-bc5e66e76829","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"name\",\n  \"description\": \"description\",\n  \"body\": \"body\",\n  \"tags\": [\"tag1\", \"tag2\"],\n  \"archived\": \"false\"\n}"},"url":"{{gateway_host}}/credit-notes/void/{{note_id}}"},"response":[],"_postman_id":"9f486750-5618-b127-f827-bc5e66e76829"},{"name":"get single","id":"6ca7dea4-bd85-faa7-96a3-47c8d34b618c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"name\",\n  \"description\": \"description\",\n  \"body\": \"body\",\n  \"tags\": [\"tag1\", \"tag2\"],\n  \"archived\": \"false\"\n}"},"url":{"raw":"{{gateway_host}}/credit-notes/:deal_id/:credit_note_id","host":["{{gateway_host}}"],"path":["credit-notes",":deal_id",":credit_note_id"],"variable":[{"key":"deal_id","value":null},{"key":"credit_note_id","value":null}]}},"response":[],"_postman_id":"6ca7dea4-bd85-faa7-96a3-47c8d34b618c"},{"name":"get all","id":"08fc3a13-8026-6157-c91b-efea37fda044","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"thc3W443XN8CtlxKy9LFvVmdYeNYlrXEeAOB777gYqO0AGPxCex88KzRQMS3U53Xz5knoKP3vvdB41cczDN8ct"}},"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":"{{gateway_host}}/credit-notes/by-account/{{staff_account_id}}"},"response":[],"_postman_id":"08fc3a13-8026-6157-c91b-efea37fda044"},{"name":"get by account","id":"97267aed-cecc-921e-9e78-02526554014c","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"name\",\n  \"description\": \"description\",\n  \"body\": \"body\",\n  \"tags\": [\"tag1\", \"tag2\"],\n  \"archived\": \"false\"\n}"},"url":"{{gateway_host}}/credit-notes/by-account/{{account_id}}"},"response":[],"_postman_id":"97267aed-cecc-921e-9e78-02526554014c"},{"name":"get by deal","id":"59bef245-f254-caee-956f-9256267a27b8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"name\",\n  \"description\": \"description\",\n  \"body\": \"body\",\n  \"tags\": [\"tag1\", \"tag2\"],\n  \"archived\": \"false\"\n}"},"url":{"raw":"{{gateway_host}}/credit-notes/by-deal/:deal_id","host":["{{gateway_host}}"],"path":["credit-notes","by-deal",":deal_id"],"variable":[{"key":"deal_id","value":"231958TC"}]}},"response":[],"_postman_id":"59bef245-f254-caee-956f-9256267a27b8"},{"name":"by-deals","id":"b36d4714-8d5e-4fea-9929-0bd88bd453ea","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"XpH4nFIJbwmL0eG1IsbDHa95HNuRpyUHAaXN5imEoNzf5fd2H2y2CqNGVHnTMWBUAc5vzEdhcMUYNE8pKlFIzH"}},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"deal_ids\": [\"BWI108620TC\", \"BWI108283TC\"]\n}","options":{"raw":{"language":"json"}}},"url":"{{gateway_host}}/credit-notes/by-deals"},"response":[],"_postman_id":"b36d4714-8d5e-4fea-9929-0bd88bd453ea"}],"id":"7932fe8f-2d0e-276a-827e-f46a40c8b3be","description":"The File Service (FS) allows the storage and retrieval of files (documents, images, binary) into the cloud. This service is a structured wrapper around AWS S3 buckets and CloudFront CDN. Files are used throughout the TradeCafe platform and are uploaded by service providers, logistics team, or generated directly in TradeCafe.\n\n* file_id – The unique id of the file, preferably a UUID.\n* account - The account/user to whom the file belongs.\n* tags – An array of tags (words) which describe the file.\n* deal_id – The deal id associated with the file. This is optional.\n* created – An epoch timestamo with the time the file was created.\n* name – The name of the file.\n* type – The mime type of the file.\n* link – An HTTPS URL which points to the file on the CDN.\n* size - The file's size in bytes.\n* archived – A 0/1 flag which identifies if this file has been archived.\n* attributes – A sub object with additional user defined attributes of the file.\n* notes - Notes left on the file.","_postman_id":"7932fe8f-2d0e-276a-827e-f46a40c8b3be"},{"name":"Credit Pools","item":[{"name":"with-issues","item":[{"name":"check copy","id":"7822745d-c6b7-004f-4836-460938630856","request":{"auth":{"type":"bearer","bearer":{"token":"DbJbyZep5dZhs0zTpHkXiLuQGsEkxmWzolSphN2om7bgyBaIyIsakJnVOZ47E02IoCZPuUYRqPxOD8Y4uGmfHZ"}},"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n\t\"user_id\":\"7d486535-52bf-23lc-ker4-a6f3c1e48fe1\",\n\t\"deal_id\":\"BWI15378TC\",\n\t\"amount\":56860.895\n}\n"},"url":"{{gateway_host}}/credit-pool/1518539801.6453/check"},"response":[],"_postman_id":"7822745d-c6b7-004f-4836-460938630856"}],"id":"46bbbf6a-4280-f5d7-233c-ffe326e20382","_postman_id":"46bbbf6a-4280-f5d7-233c-ffe326e20382"},{"name":"create","id":"4b15d272-628e-89d9-71cb-e95fd68a342f","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"account\": \"account-{{$randomInt}}\",\n  \"max\": \"100\",\n  \"in_transit_max\": \"100\",\n  \"currency\": {\n    \"code\": \"USD\",\n    \"symbol\": \"symbol\"\n  },\n  \"user_id\": \"{{user_id}}\",\n  \"deal_creation_max\": 10000\n}"},"url":"{{gateway_host}}/credit-pool/{{account_id}}"},"response":[],"_postman_id":"4b15d272-628e-89d9-71cb-e95fd68a342f"},{"name":"get","id":"b04fee11-1f75-7a65-b9a2-d26f6c5e9771","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n    \"account\": \"account-{{$randomInt}}\",\n\t\"max\": \"100\",\n\t\"currency\": {\n\t\t\"code\": \"USD\",\n\t\t\"symbol\": \"symbol\"\n\t},\n\t\"user_id\": \"{{user_id}}\"\n}"},"url":"{{gateway_host}}/credit-pool/{{staff_account_id}}"},"response":[],"_postman_id":"b04fee11-1f75-7a65-b9a2-d26f6c5e9771"},{"name":"get for multiple accounts","id":"98150006-1bbd-4a08-a441-d060d1ac8996","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n    \"account_ids\": [\n        \"1513759079.3861\"\n    ]\n}"},"url":{"raw":"{{gateway_host}}/credit-pool/by-multiple-accounts?limit=100","host":["{{gateway_host}}"],"path":["credit-pool","by-multiple-accounts"],"query":[{"key":"limit","value":"100"}]}},"response":[],"_postman_id":"98150006-1bbd-4a08-a441-d060d1ac8996"},{"name":"get deal creation balance","id":"ae9bb27e-6609-4035-9fb4-4fc558efcc23","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n\t\"deal_id\": [\"BWI104079TC\"],\n\t\"account_id\": \"1521644375.6827\"\n}"},"url":"{{gateway_host}}/credit-pool/deal-creation-balance"},"response":[],"_postman_id":"ae9bb27e-6609-4035-9fb4-4fc558efcc23"},{"name":"get deal in transit balance","id":"423f0b58-b887-4dbb-9172-250af2a0d90b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n\t\"deal_id\": [\"BWI104079TC\"],\n\t\"account_id\": \"1521644375.6827\"\n}"},"url":"{{gateway_host}}/credit-pool/get-in-transit-balance"},"response":[],"_postman_id":"423f0b58-b887-4dbb-9172-250af2a0d90b"},{"name":"get deal delivery balance","id":"4b1754c2-8109-4d9f-8dd9-2c199622568e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n\t\"deal_id\": [\"BWI104079TC\"],\n\t\"account_id\": \"1521644375.6827\"\n}"},"url":"{{gateway_host}}/credit-pool/get-delivered-balance"},"response":[],"_postman_id":"4b1754c2-8109-4d9f-8dd9-2c199622568e"},{"name":"get all deal balances","id":"ede37eac-b603-4ff3-83c4-83bbe0f6dc89","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n\t\"deal_id\":[\"BWI104079TC\"],\n\t\"account_id\": \"1521644375.6827\"\n}"},"url":"{{gateway_host}}/credit-pool/get-all-balances"},"response":[],"_postman_id":"ede37eac-b603-4ff3-83c4-83bbe0f6dc89"},{"name":"list","id":"c186e3c0-9261-c73f-b76f-3e61e2f0f91b","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n    \"account\": \"account-{{$randomInt}}\",\n\t\"max\": \"100\",\n\t\"currency\": {\n\t\t\"code\": \"USD\",\n\t\t\"symbol\": \"symbol\"\n\t},\n\t\"user_id\": \"{{user_id}}\"\n}"},"url":"{{gateway_host}}/credit-pool"},"response":[],"_postman_id":"c186e3c0-9261-c73f-b76f-3e61e2f0f91b"},{"name":"update","id":"8c846ba6-8a8c-7635-c4f9-396b9af0d19e","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n\t\"user_id\": \"{{user_id}}\",\n\t\"in_transit_max\": 1\n}"},"url":"{{gateway_host}}/credit-pool/{{account_id}}"},"response":[],"_postman_id":"8c846ba6-8a8c-7635-c4f9-396b9af0d19e"},{"name":"credit","id":"e0a0a5d7-fb88-43aa-4ec1-ae02a2434d4b","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"deal_id\": \"{{deal_id}}\",\n  \"amount\": 50,\n  \"user_id\": \"{{user_id}}\"\n}\n"},"url":"{{gateway_host}}/credit-pool/{{account_id}}/credit"},"response":[],"_postman_id":"e0a0a5d7-fb88-43aa-4ec1-ae02a2434d4b"},{"name":"debit","id":"164cd57f-427b-96c2-3e49-b3f85dba8799","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"receipt_id\": \"{{receipt_id}}\",\n  \"amount\": 50,\n  \"user_id\": \"{{user_id}}\"\n}\n"},"url":"{{gateway_host}}/credit-pool/{{account_id}}/debit"},"response":[],"_postman_id":"164cd57f-427b-96c2-3e49-b3f85dba8799"},{"name":"override","id":"bbe4ee89-813a-b66b-9a20-018a9725c44d","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":""},"url":"{{gateway_host}}/credit-pool/{{account_id}}/{{deal_id}}/{{user_id}}/override"},"response":[],"_postman_id":"bbe4ee89-813a-b66b-9a20-018a9725c44d"},{"name":"unoverride","id":"76b6d7ec-fab5-ae4f-f2b6-8ded418b4bdd","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":""},"url":"{{gateway_host}}/credit-pool/{{account_id}}/{{deal_id}}/unoverride"},"response":[],"_postman_id":"76b6d7ec-fab5-ae4f-f2b6-8ded418b4bdd"},{"name":"get overrided","id":"8782d464-b03f-afcb-d7f8-e8650d255a64","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{gateway_host}}/credit-pool/get_overrided?limit=10","host":["{{gateway_host}}"],"path":["credit-pool","get_overrided"],"query":[{"key":"limit","value":"10"}]}},"response":[],"_postman_id":"8782d464-b03f-afcb-d7f8-e8650d255a64"},{"name":"check","id":"c776307a-b12a-7d0f-56ae-ef401385db1a","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"deal_id\": [\"{{deal_id}}\",\"{{deal_id}}\"],\n  \"amount\": 200\n}"},"url":"{{gateway_host}}/credit-pool/{{account_id}}/check"},"response":[],"_postman_id":"c776307a-b12a-7d0f-56ae-ef401385db1a"},{"name":"is-deal-creation-allowed","id":"5a25203e-3223-838b-bbf0-a34189fdb569","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"account_id\": \"{{staff_account_id}}\",\n  \"buyer_id\": \"{{account_id}}\",\n  \"amount\": 200\n}"},"url":"{{gateway_host}}/credit-pool/is-deal-creation-allowed"},"response":[],"_postman_id":"5a25203e-3223-838b-bbf0-a34189fdb569"},{"name":"is-deal-in-transit-creation-allowed","id":"4750545a-4e7b-bcfe-c3fa-65cc3b597fb2","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"account_id\": \"{{staff_account_id}}\",\n  \"buyer_id\": \"{{account_id}}\",\n  \"amount\": 200,\n  \"shipment_date\": 1234579859\n}"},"url":"{{gateway_host}}/credit-pool/is-deal-in-transit-creation-allowed"},"response":[],"_postman_id":"4750545a-4e7b-bcfe-c3fa-65cc3b597fb2"},{"name":"Update deal credit pool balances","id":"e6d10a82-81e9-4f4e-b80d-54e13f7b10e8","request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{token}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"{{gateway_host}}/credit-pool/{{deal_id}}/update-balances-by-deal-id"},"response":[],"_postman_id":"e6d10a82-81e9-4f4e-b80d-54e13f7b10e8"}],"id":"bb7d6331-5ae5-7ffe-caf3-ff2e26c0739c","description":"The Credit Pool Service (CPS) allows for the management of an account’s credit pool within TradeCafe. Each account has a credit pool which represents the amount ($) of trades that may be made on credit by that account. Each finalized deal is a debit to the credit pool while each receipt is a credit to the credit pool. If an account’s credit pool is zero or negative then no further trades will be allowed on that account without an override.\n\n* pool_id – The unique id of the credit pool, preferably a UUID.\n* created - An epoch timestamp with the date and time the pool was created.\n* account - The account to which the pool belongs. This field is unique\n* max – The maximum amount of the credit pool.\n* balance – The amount of credit currently used. All pools begin with zero balance.\n* deals – An array of deal ids which the pool was used to fund.\n* receipts - An array of receipt ids which were used to pay the pool balance.\n* overrides – An array of deal ids which have exceptions from the credit limit.\n* terms - The terms of the credit. The is a JSON subobject.\n* attributes – A sub object with additional user defined attributes of the template.","_postman_id":"bb7d6331-5ae5-7ffe-caf3-ff2e26c0739c"},{"name":"Deal","item":[{"name":"advanced_search","item":[{"name":"get by establishment","id":"95f1842a-6372-caac-db0c-84b0104291ac","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"deal_id\": \"deal\",\n  \"carrier\": \"ups\",\n  \"code\": \"code\"\n}"},"url":{"raw":"{{gateway_host}}/deals/search_advanced?establishment={{establishment}}&account_id={{staff_account_id}}","host":["{{gateway_host}}"],"path":["deals","search_advanced"],"query":[{"key":"establishment","value":"{{establishment}}"},{"key":"account_id","value":"{{staff_account_id}}"}]}},"response":[],"_postman_id":"95f1842a-6372-caac-db0c-84b0104291ac"},{"name":"get by shipping container number","id":"334dea1e-19c1-0674-5578-ff9a7782ba8e","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"deal_id\": \"deal\",\n  \"carrier\": \"ups\",\n  \"code\": \"code\"\n}"},"url":{"raw":"{{gateway_host}}/deals/search_advanced?container_id={{container_number}}","host":["{{gateway_host}}"],"path":["deals","search_advanced"],"query":[{"key":"container_id","value":"{{container_number}}"}]}},"response":[],"_postman_id":"334dea1e-19c1-0674-5578-ff9a7782ba8e"},{"name":"get by carrier_id","id":"604fddc3-887f-ec7e-f717-e03d258572aa","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"deal_id\": \"deal\",\n  \"carrier\": \"ups\",\n  \"code\": \"code\"\n}"},"url":{"raw":"{{gateway_host}}/deals/search_advanced?carrier_id={{carrier_id}}","host":["{{gateway_host}}"],"path":["deals","search_advanced"],"query":[{"key":"carrier_id","value":"{{carrier_id}}"}]}},"response":[],"_postman_id":"604fddc3-887f-ec7e-f717-e03d258572aa"},{"name":"get by vendor_invoice_id","id":"d08e8d5d-263f-fdaf-3c4b-c9dc491ba181","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"deal_id\": \"deal\",\n  \"carrier\": \"ups\",\n  \"code\": \"code\"\n}"},"url":{"raw":"{{gateway_host}}/deals/search_advanced?vendor_invoice_id={{vendor_invoice_id}}","host":["{{gateway_host}}"],"path":["deals","search_advanced"],"query":[{"key":"vendor_invoice_id","value":"{{vendor_invoice_id}}"}]}},"response":[],"_postman_id":"d08e8d5d-263f-fdaf-3c4b-c9dc491ba181"},{"name":"get by invoice_id","id":"4910854e-65f6-0667-ffb6-6edeb8d48703","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"deal_id\": \"deal\",\n  \"carrier\": \"ups\",\n  \"code\": \"code\"\n}"},"url":{"raw":"{{gateway_host}}/deals/search_advanced?invoice_id={{invoice_id}}&account_id={{staff_account_id}}","host":["{{gateway_host}}"],"path":["deals","search_advanced"],"query":[{"key":"invoice_id","value":"{{invoice_id}}"},{"key":"account_id","value":"{{staff_account_id}}"}]}},"response":[],"_postman_id":"4910854e-65f6-0667-ffb6-6edeb8d48703"},{"name":"get by booking id","id":"f94b1eab-4443-43a1-996a-605300759b93","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":{"raw":"{{gateway_host}}/deals/search_advanced?booking_id={{booking_id}}&account_id={{staff_account_id}}","host":["{{gateway_host}}"],"path":["deals","search_advanced"],"query":[{"key":"booking_id","value":"{{booking_id}}"},{"key":"account_id","value":"{{staff_account_id}}"}]}},"response":[],"_postman_id":"f94b1eab-4443-43a1-996a-605300759b93"},{"name":"get by cost provider","id":"e5edaa1b-7c23-40d9-a2ca-0177f1fa0316","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":{"raw":"{{gateway_host}}/deals/search_advanced?service_provider={{service_provider}}&account_id={{staff_account_id}}","host":["{{gateway_host}}"],"path":["deals","search_advanced"],"query":[{"key":"service_provider","value":"{{service_provider}}"},{"key":"account_id","value":"{{staff_account_id}}"}]}},"response":[],"_postman_id":"e5edaa1b-7c23-40d9-a2ca-0177f1fa0316"},{"name":"combined","id":"119fccd4-a704-aaad-c087-eeb202f36981","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"deal_id\": \"deal\",\n  \"carrier\": \"ups\",\n  \"code\": \"code\"\n}"},"url":{"raw":"{{gateway_host}}/deals/search_advanced?establishment={{establishment}}&account_id={{account_id}}","host":["{{gateway_host}}"],"path":["deals","search_advanced"],"query":[{"key":"establishment","value":"{{establishment}}"},{"key":"account_id","value":"{{account_id}}"}]}},"response":[],"_postman_id":"119fccd4-a704-aaad-c087-eeb202f36981"}],"id":"24805585-cdea-da1e-64dd-f083cea341b0","_postman_id":"24805585-cdea-da1e-64dd-f083cea341b0"},{"name":"with-issues","item":[{"name":"update copy","id":"de2bba47-a6b1-3860-e205-7a1dd805e9d5","request":{"auth":{"type":"noauth"},"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\"deal_type\":\"iurii-test\",\"supplier_user_id\":\"e3a288df-ef1d-44a9-ad8c-832b128ab15b\",\"buyer_user_id\":\"3d2601b6-c3a6-4e93-b6c3-91596a485ccf\",\"trader_user_id\":\"c8f039d2-a6a0-4cd4-ac09-7e53ecb8f4c7\",\"trader_user_id_supplier\":\"c8f039d2-a6a0-4cd4-ac09-7e53ecb8f4c7\",\"anticipated_liability\":\"1518796800\",\"collection_date\":1519660800,\"origin_location\":\"ad5aedb0-dcbc-485b-a0a5-66e84c2527ec\",\"dest_location\":\"8e54c460-9d24-401f-942b-c446e977b5dd\",\"seller_instructions\":[],\"buyer_instructions\":[],\"status\":\"Draft\",\"attributes\":{\"shipment_dates\":{\"from\":1517950799,\"to\":1518105600},\"delivery_dates\":{\"from\":1518728399,\"to\":1518796800},\"fx_rates\":{\"CAD\":{\"bid\":1,\"ask\":1},\"USD\":{\"bid\":1.24687,\"ask\":1.2469},\"EUR\":{\"bid\":1.54896,\"ask\":1.54902},\"AUD\":{\"bid\":0.98955,\"ask\":0.98962},\"MXN\":{\"ask\":0.0671,\"bid\":0.06707},\"GBP\":{\"bid\":1.7482,\"ask\":1.74826}},\"buyer_term_date\":1518796800,\"buyer_liability_date\":1519401600,\"supplier_payment_terms\":15,\"buyer_payment_terms\":10,\"estimated\":{\"weight\":{\"amount\":5000,\"measure_id\":\"d7145cce-e034-4edd-a8cc-138ae6eef326\"},\"unweighted\":[],\"raw_cost\":103.90257534246575,\"target_cost\":110.1367298630137,\"revenue\":779293.7499999999,\"costs\":519512.87671232875,\"margin\":259780.87328767113,\"margin_p\":0.3333542368172094,\"buy_price\":500000,\"buy_currency\":\"CAD\",\"sell_price\":625000,\"sell_currency\":\"USD\"},\"actual\":{\"weight\":{\"amount\":5000,\"measure_id\":\"d7145cce-e034-4edd-a8cc-138ae6eef326\"},\"unweighted\":[],\"raw_cost\":103.90257534246575,\"target_cost\":110.1367298630137,\"revenue\":779293.7499999999,\"costs\":519512.87671232875,\"margin\":259780.87328767113,\"margin_p\":0.3333542368172094,\"buy_price\":500000,\"buy_currency\":\"CAD\",\"sell_price\":625000,\"sell_currency\":\"USD\"},\"finance_term\":3}}"},"url":"{{gateway_host}}/deals/{{deal_id}}/{{staff_account_id}}"},"response":[],"_postman_id":"de2bba47-a6b1-3860-e205-7a1dd805e9d5"},{"name":"calculate margin copy","id":"8cfa2d3c-0ab4-5066-bca4-f7fb39dde93a","request":{"auth":{"type":"bearer","bearer":{"token":"wWnzxgFIj98bKxdXeRyftPlFvLXdurMfCWrgxVZzHPDaDdN7s2Jmfa9GqxtH9dlglBQdrxgu7jt0WZrvcKTpD1"}},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n    \"deal\": {\n        \"attributes\": {\n            \"supplier_payment_terms\": {\n                \"days\": 15,\n                \"from_date\": \"days_from_pickup_date\"\n            },\n            \"buyer_payment_terms\": {\n                \"days\": 10,\n                \"from_date\": \"delivery_date\"\n            },\n            \"shipment_dates\": {\n                \"to\": 1517864400,\n                \"from\": 1517778000\n            },\n            \"delivery_dates\": {\n                \"to\": 1518469200,\n                \"from\": 1518382800\n            },\n            \"fx_rates\": {\n                \"CAD\": {\n                    \"bid\": 1,\n                    \"ask\": 1\n                },\n                \"USD\": {\n                    \"bid\": 1.26503,\n                    \"ask\": 1.26515\n                },\n                \"EUR\": {\n                    \"bid\": 1.55214,\n                    \"ask\": 1.55251\n                },\n                \"AUD\": {\n                    \"bid\": 0.98759,\n                    \"ask\": 0.98763\n                },\n                \"MXN\": {\n                    \"ask\": 0.06701,\n                    \"bid\": 0.067\n                },\n                \"GBP\": {\n                    \"bid\": 1.7496,\n                    \"ask\": 1.74976\n                }\n            }\n        }\n    },\n    \"bids_and_offers\": [{\n        \"supplier\": {\n            \"price\": 0.5,\n            \"currency_code\": \"USD\",\n            \"weight\": 40000,\n            \"measure_id\": \"7b4fd9fb-af50-4edd-a8f5-28efff423b1c\",\n            \"measure\": {\n                \"measure_id\": \"7b4fd9fb-af50-4edd-a8f5-28efff423b1c\",\n                \"conversions\": {\n                    \"430af4c4-ff00-4305-92b6-028dff18bd0d\": 0.00045359100000000004,\n                    \"d7145cce-e034-4edd-a8cc-138ae6eef326\": 0.453591\n                }\n            },\n            \"actual_price\": 0.51,\n            \"actual_weight\": 40021\n        },\n        \"buyer\": {\n            \"price\": 0.5438,\n            \"currency_code\": \"USD\",\n            \"weight\": 40000,\n            \"measure_id\": \"7b4fd9fb-af50-4edd-a8f5-28efff423b1c\",\n            \"measure\": {\n                \"measure_id\": \"7b4fd9fb-af50-4edd-a8f5-28efff423b1c\",\n                \"conversions\": {\n                    \"430af4c4-ff00-4305-92b6-028dff18bd0d\": 0.00045359100000000004,\n                    \"d7145cce-e034-4edd-a8cc-138ae6eef326\": 0.453591\n                }\n            },\n            \"actual_price\": 0.55,\n            \"actual_weight\": 40011\n        }\n    }],\n    \"costs\": [{\n        \"cost_id\": \"1aca3efc-f8c3-47aa-a575-ad13b3ef74b1\",\n        \"type\": \"secondary\",\n        \"service\": \"Interest on 2 days of financing\",\n        \"product_id\": \"f899e7d1-ecbd-4f39-9c1d-7fd028710523\",\n        \"amount\": {\n            \"total\": 110.30976000000001,\n            \"currency\": \"CAD\"\n        },\n        \"attributes\": {}\n    }, {\n        \"cost_id\": \"fd12dff9-1988-4069-afa5-c5962eaea1da\",\n        \"type\": \"secondary\",\n        \"service\": \"Interest\",\n        \"amount\": {\n            \"total\": 20.796986301369863,\n            \"currency\": \"CAD\"\n        },\n        \"attributes\": {\n            \"default_cost\": {\n                \"type\": \"percent\",\n                \"value\": 15,\n                \"name\": \"Interest\",\n                \"core\": \"1\",\n                \"cost_type_id\": \"interest\"\n            }\n        }\n    }, {\n        \"cost_id\": \"0d4a84bc-f0e9-4e94-ac97-a28852e386aa\",\n        \"type\": \"secondary\",\n        \"service\": \"Receivable Insurance\",\n        \"product_id\": \"627cf6b8-6de7-4e7c-86b7-a2d78fa46143\",\n        \"amount\": {\n            \"total\": 146.7574,\n            \"currency\": \"CAD\"\n        },\n        \"attributes\": {\n            \"default_cost\": {\n                \"type\": \"percent\",\n                \"value\": 0.58,\n                \"name\": \"Receivable Insurance\",\n                \"core\": \"1\",\n                \"cost_type_id\": \"receivable-insurance\"\n            }\n        }\n    }, {\n        \"cost_id\": \"34e64765-a574-4353-b860-b422b783c050\",\n        \"type\": \"secondary\",\n        \"service\": \"Document Delivery\",\n        \"product_id\": \"eee0b715-39ed-441f-a97f-2a1b0b52ef7f\",\n        \"amount\": {\n            \"total\": 50,\n            \"currency\": \"CAD\"\n        },\n        \"attributes\": {\n            \"default_cost\": {\n                \"type\": \"money\",\n                \"value\": 50,\n                \"currency\": \"CAD\",\n                \"name\": \"Document Delivery\",\n                \"core\": \"1\",\n                \"cost_type_id\": \"document-delivery\"\n            }\n        }\n    }, {\n        \"cost_id\": \"a0e202d2-d5ae-4d4d-a9d9-6fbaa51b5596\",\n        \"type\": \"secondary\",\n        \"service\": \"Bank Service Fee\",\n        \"amount\": {\n            \"total\": 30,\n            \"currency\": \"CAD\"\n        },\n        \"attributes\": {}\n    }, {\n        \"cost_id\": \"59d80bb9-76e3-4a35-bafd-5b5483d28241\",\n        \"type\": \"secondary\",\n        \"service\": \"Accural 1\",\n        \"amount\": {\n            \"total\": 75.90899999999999,\n            \"currency\": \"CAD\"\n        },\n        \"attributes\": {\n            \"default_cost\": {\n                \"type\": \"percent\",\n                \"value\": 0.3,\n                \"name\": \"Accural 1\",\n                \"core\": \"1\",\n                \"cost_type_id\": \"Foreign Exchange\"\n            }\n        }\n    }, {\n        \"cost_id\": \"d52c159f-8efe-46b0-b2bc-7272dd6847f3\",\n        \"type\": \"secondary\",\n        \"service\": \"Accural 2\",\n        \"amount\": {\n            \"total\": 126.515,\n            \"currency\": \"CAD\"\n        },\n        \"attributes\": {\n            \"default_cost\": {\n                \"type\": \"percent\",\n                \"value\": 0.5,\n                \"name\": \"Accural 2\",\n                \"core\": \"1\",\n                \"cost_type_id\": \"Deal Fulfillment\"\n            }\n        }\n    }, {\n        \"cost_id\": \"35e92280-5ea6-4f0d-a4f2-e9cb62fe373b\",\n        \"type\": \"primary\",\n        \"provider\": 1513087538.7305,\n        \"service\": \"Beef Aorta\",\n        \"product_id\": \"0fe52360-1469-417d-9a51-ced9861f3bf0\",\n        \"amount\": {\n            \"total\": 20000,\n            \"currency\": \"USD\"\n        },\n        \"attributes\": {}\n    }, {\n        \"type\": \"tertiary\",\n        \"provider\": \"ce1c155a-a73b-4f99-8351-598ffecfb846\",\n        \"service\": \"f522853d-a7f9-4f4d-86af-78328709cc74\",\n        \"amount\": {\n            \"total\": 100,\n            \"currency\": \"GBP\"\n        },\n        \"attributes\": {\n            \"segment_id\": \"f522853d-a7f9-4f4d-86af-78328709cc74\"\n        }\n    }, {\n        \"type\": \"tertiary\",\n        \"provider\": \"9b010019-d7c9-49f9-933d-235b17058423\",\n        \"service\": \"e0208664-685a-44e5-9a55-90565e2910fb\",\n        \"amount\": {\n            \"total\": 300,\n            \"currency\": \"GBP\"\n        },\n        \"attributes\": {\n            \"segment_id\": \"e0208664-685a-44e5-9a55-90565e2910fb\"\n        }\n    }, {\n        \"type\": \"tertiary\",\n        \"provider\": \"a65bde00-69f8-41d7-b37c-7fcd598d0eda\",\n        \"service\": \"5f5c6986-559f-42c2-bc24-b695bda44e86\",\n        \"amount\": {\n            \"total\": 0,\n            \"currency\": \"CAD\"\n        },\n        \"attributes\": {\n            \"segment_id\": \"5f5c6986-559f-42c2-bc24-b695bda44e86\"\n        }\n    }]\n}"},"url":"{{gateway_host}}/deals/calculate-margin"},"response":[],"_postman_id":"8cfa2d3c-0ab4-5066-bca4-f7fb39dde93a"},{"name":"calculate margin 2","id":"48f7308b-39b0-c397-424f-c96d00cedefe","request":{"auth":{"type":"bearer","bearer":{"token":"NZNGNpijnqoDiHXKBQ2AvmNpB5PE2Q2Nxj4gYU6jnSTrLuEmaErJCxNtlT1Lrvjf5EU8OqwCGdup4CB7ssC0Dm"}},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n    \"deal\": {\n        \"attributes\": {\n            \"supplier_payment_terms\": {\n                \"days\": 15,\n                \"from_date\": \"days_from_pickup_date\"\n            },\n            \"buyer_payment_terms\": {\n                \"days\": 10,\n                \"from_date\": \"days_from_pickup_date\"\n            },\n            \"shipment_dates\": {\n                \"to\": 1517778000,\n                \"from\": 1517864399\n            },\n            \"delivery_dates\": {\n                \"to\": 1518987600,\n                \"from\": 1519073999\n            },\n            \"fx_rates\": {\n                \"rates\": {\n                    \"USD\": {\n                        \"spot\": {\n                            \"bid\": 1.25917,\n                            \"ask\": 1.25924\n                        },\n                        \"1M\": {\n                            \"bid\": 1.25876,\n                            \"ask\": 1.25886\n                        },\n                        \"2M\": {\n                            \"bid\": 1.25808,\n                            \"ask\": 1.25821\n                        },\n                        \"3M\": {\n                            \"bid\": 1.25756,\n                            \"ask\": 1.25772\n                        },\n                        \"4M\": {\n                            \"bid\": 1.25709,\n                            \"ask\": 1.25727\n                        },\n                        \"5M\": {\n                            \"bid\": 1.25643,\n                            \"ask\": 1.25661\n                        },\n                        \"6M\": {\n                            \"bid\": 1.25594,\n                            \"ask\": 1.25609\n                        },\n                        \"7M\": {\n                            \"bid\": 1.2554,\n                            \"ask\": 1.25569\n                        },\n                        \"8M\": {\n                            \"bid\": 1.25488,\n                            \"ask\": 1.25542\n                        },\n                        \"9M\": {\n                            \"bid\": 1.25439,\n                            \"ask\": 1.25464\n                        },\n                        \"10M\": {\n                            \"bid\": 1.25397,\n                            \"ask\": 1.25437\n                        },\n                        \"11M\": {\n                            \"bid\": 1.25333,\n                            \"ask\": 1.2537\n                        },\n                        \"12M\": {\n                            \"bid\": 1.2529,\n                            \"ask\": 1.25322\n                        }\n                    },\n                    \"EUR\": {\n                        \"spot\": {\n                            \"bid\": 1.55537,\n                            \"ask\": 1.5556\n                        },\n                        \"1M\": {\n                            \"bid\": 1.55757,\n                            \"ask\": 1.55786\n                        },\n                        \"2M\": {\n                            \"bid\": 1.56044,\n                            \"ask\": 1.56078\n                        },\n                        \"3M\": {\n                            \"bid\": 1.56293,\n                            \"ask\": 1.56331\n                        },\n                        \"4M\": {\n                            \"bid\": 1.56569,\n                            \"ask\": 1.56615\n                        },\n                        \"5M\": {\n                            \"bid\": 1.5688,\n                            \"ask\": 1.56932\n                        },\n                        \"6M\": {\n                            \"bid\": 1.57176,\n                            \"ask\": 1.57227\n                        },\n                        \"7M\": {\n                            \"bid\": 1.57494,\n                            \"ask\": 1.57587\n                        },\n                        \"8M\": {\n                            \"bid\": 1.57799,\n                            \"ask\": 1.57906\n                        },\n                        \"9M\": {\n                            \"bid\": 1.58132,\n                            \"ask\": 1.58203\n                        },\n                        \"10M\": {\n                            \"bid\": 1.58467,\n                            \"ask\": 1.58585\n                        },\n                        \"11M\": {\n                            \"bid\": 1.58846,\n                            \"ask\": 1.58972\n                        },\n                        \"12M\": {\n                            \"bid\": 1.59198,\n                            \"ask\": 1.59288\n                        }\n                    },\n                    \"AUD\": {\n                        \"spot\": {\n                            \"bid\": 0.98943,\n                            \"ask\": 0.98972\n                        },\n                        \"1M\": {\n                            \"bid\": 0.98898,\n                            \"ask\": 0.98931\n                        },\n                        \"2M\": {\n                            \"bid\": 0.98844,\n                            \"ask\": 0.98879\n                        },\n                        \"3M\": {\n                            \"bid\": 0.98808,\n                            \"ask\": 0.98844\n                        },\n                        \"4M\": {\n                            \"bid\": 0.98774,\n                            \"ask\": 0.98814\n                        },\n                        \"5M\": {\n                            \"bid\": 0.98736,\n                            \"ask\": 0.98784\n                        },\n                        \"6M\": {\n                            \"bid\": 0.98716,\n                            \"ask\": 0.98764\n                        },\n                        \"7M\": {\n                            \"bid\": 0.98689,\n                            \"ask\": 0.98753\n                        },\n                        \"8M\": {\n                            \"bid\": 0.98665,\n                            \"ask\": 0.98742\n                        },\n                        \"9M\": {\n                            \"bid\": 0.98654,\n                            \"ask\": 0.98714\n                        },\n                        \"10M\": {\n                            \"bid\": 0.98637,\n                            \"ask\": 0.98713\n                        },\n                        \"11M\": {\n                            \"bid\": 0.98613,\n                            \"ask\": 0.98689\n                        },\n                        \"12M\": {\n                            \"bid\": 0.98605,\n                            \"ask\": 0.98673\n                        }\n                    },\n                    \"MXN\": {\n                        \"spot\": {\n                            \"ask\": 0.06753,\n                            \"bid\": 0.0675\n                        },\n                        \"1M\": {\n                            \"ask\": 0.0672,\n                            \"bid\": 0.06717\n                        },\n                        \"2M\": {\n                            \"ask\": 0.06681,\n                            \"bid\": 0.06677\n                        },\n                        \"3M\": {\n                            \"ask\": 0.06647,\n                            \"bid\": 0.06642\n                        },\n                        \"4M\": {\n                            \"ask\": 0.0661,\n                            \"bid\": 0.06604\n                        },\n                        \"5M\": {\n                            \"ask\": 0.06573,\n                            \"bid\": 0.06568\n                        },\n                        \"6M\": {\n                            \"ask\": 0.06538,\n                            \"bid\": 0.06532\n                        },\n                        \"7M\": {\n                            \"ask\": null,\n                            \"bid\": null\n                        },\n                        \"8M\": {\n                            \"ask\": null,\n                            \"bid\": null\n                        },\n                        \"9M\": {\n                            \"ask\": 0.06441,\n                            \"bid\": 0.06421\n                        },\n                        \"10M\": {\n                            \"ask\": null,\n                            \"bid\": null\n                        },\n                        \"11M\": {\n                            \"ask\": null,\n                            \"bid\": null\n                        },\n                        \"12M\": {\n                            \"ask\": 0.0633,\n                            \"bid\": 0.06317\n                        }\n                    },\n                    \"GBP\": {\n                        \"spot\": {\n                            \"bid\": 1.74917,\n                            \"ask\": 1.74944\n                        },\n                        \"1M\": {\n                            \"bid\": 1.7501,\n                            \"ask\": 1.75127\n                        },\n                        \"2M\": {\n                            \"bid\": 1.75157,\n                            \"ask\": 1.75324\n                        },\n                        \"3M\": {\n                            \"bid\": 1.75282,\n                            \"ask\": 1.75479\n                        },\n                        \"4M\": {\n                            \"bid\": 1.75482,\n                            \"ask\": 1.75541\n                        },\n                        \"5M\": {\n                            \"bid\": 1.75641,\n                            \"ask\": 1.75707\n                        },\n                        \"6M\": {\n                            \"bid\": 1.75663,\n                            \"ask\": 1.76\n                        },\n                        \"7M\": {\n                            \"bid\": 1.75934,\n                            \"ask\": 1.76036\n                        },\n                        \"8M\": {\n                            \"bid\": 1.76091,\n                            \"ask\": 1.76217\n                        },\n                        \"9M\": {\n                            \"bid\": 1.76257,\n                            \"ask\": 1.76345\n                        },\n                        \"10M\": {\n                            \"bid\": 1.76392,\n                            \"ask\": 1.7654\n                        },\n                        \"11M\": {\n                            \"bid\": 1.76596,\n                            \"ask\": 1.76751\n                        },\n                        \"12M\": {\n                            \"bid\": 1.76614,\n                            \"ask\": 1.77081\n                        }\n                    }\n                },\n                \"forex_id\": \"b9d867e6-a441-4a5a-9362-8422a7222cf3\",\n                \"created\": 1518558121,\n                \"date\": \"20180213\",\n                \"hour\": \"21\"\n            },\n            \"fx_rates_timestamp\": 1518558724,\n            \"fx_rates_range\": null\n        }\n    },\n    \"bids_and_offers\": [{\n        \"product_id\": \"bc2ae9c7-5f25-4f38-80cc-62f45bc1b8c0\",\n        \"supplier\": {\n            \"price\": 6,\n            \"currency_code\": \"AUD\",\n            \"weight\": 50000,\n            \"measure_id\": \"d7145cce-e034-4edd-a8cc-138ae6eef326\",\n            \"measure\": {\n                \"measure_id\": \"d7145cce-e034-4edd-a8cc-138ae6eef326\",\n                \"conversions\": {\n                    \"430af4c4-ff00-4305-92b6-028dff18bd0d\": 0.001,\n                    \"7b4fd9fb-af50-4edd-a8f5-28efff423b1c\": 2.204629280563327\n                }\n            },\n            \"actual_price\": 22,\n            \"actual_weight\": 10\n        },\n        \"buyer\": {\n            \"price\": 6,\n            \"currency_code\": \"AUD\",\n            \"weight\": 50000,\n            \"measure_id\": \"d7145cce-e034-4edd-a8cc-138ae6eef326\",\n            \"measure\": {\n                \"measure_id\": \"d7145cce-e034-4edd-a8cc-138ae6eef326\",\n                \"conversions\": {\n                    \"430af4c4-ff00-4305-92b6-028dff18bd0d\": 0.001,\n                    \"7b4fd9fb-af50-4edd-a8f5-28efff423b1c\": 2.204629280563327\n                }\n            },\n            \"actual_price\": 11,\n            \"actual_weight\": 2\n        }\n    }],\n    \"costs\": [{\n        \"cost_id\": \"5ccf3268-8f17-4e64-9732-2238d8587da4\",\n        \"type\": \"secondary\",\n        \"service\": \"Interest on 9 days of financing\",\n        \"product_id\": \"f899e7d1-ecbd-4f39-9c1d-7fd028710523\",\n        \"amount\": {\n            \"total\": 0,\n            \"currency\": \"CAD\"\n        },\n        \"attributes\": {\n            \"default_cost\": {\n                \"type\": \"percent\",\n                \"value\": 0.4,\n                \"name\": \"Cargo Insurance\",\n                \"core\": \"1\",\n                \"cost_type_id\": \"cargo-insurance\"\n            }\n        }\n    }, {\n        \"cost_id\": \"7d115d92-bb76-40db-95cc-f227552827a5\",\n        \"type\": \"secondary\",\n        \"service\": \"Interest\",\n        \"amount\": {\n            \"total\": 0,\n            \"currency\": \"CAD\"\n        },\n        \"attributes\": {\n            \"default_cost\": {\n                \"type\": \"percent\",\n                \"value\": 15,\n                \"name\": \"Interest\",\n                \"core\": \"1\",\n                \"cost_type_id\": \"interest\"\n            }\n        }\n    }, {\n        \"cost_id\": \"a706e005-c1d8-4892-8309-1b2cb8d71f85\",\n        \"type\": \"secondary\",\n        \"service\": \"Receivable Insurance\",\n        \"product_id\": \"627cf6b8-6de7-4e7c-86b7-a2d78fa46143\",\n        \"amount\": {\n            \"total\": 0,\n            \"currency\": \"CAD\"\n        },\n        \"attributes\": {\n            \"default_cost\": {\n                \"type\": \"percent\",\n                \"value\": 0.58,\n                \"name\": \"Receivable Insurance\",\n                \"core\": \"1\",\n                \"cost_type_id\": \"receivable-insurance\"\n            }\n        }\n    }, {\n        \"cost_id\": \"1663ed36-968a-4a6b-88c7-58aafe0ba795\",\n        \"type\": \"secondary\",\n        \"service\": \"Document Delivery\",\n        \"product_id\": \"eee0b715-39ed-441f-a97f-2a1b0b52ef7f\",\n        \"amount\": {\n            \"total\": 50,\n            \"currency\": \"CAD\"\n        },\n        \"attributes\": {\n            \"default_cost\": {\n                \"type\": \"money\",\n                \"value\": 50,\n                \"currency\": \"CAD\",\n                \"name\": \"Document Delivery\",\n                \"core\": \"1\",\n                \"cost_type_id\": \"document-delivery\"\n            }\n        }\n    }, {\n        \"cost_id\": \"02724072-b7f1-4606-aedd-5ced70761a98\",\n        \"type\": \"secondary\",\n        \"service\": \"Bank Service Fee\",\n        \"amount\": {\n            \"total\": 30,\n            \"currency\": \"CAD\"\n        },\n        \"attributes\": {\n            \"default_cost\": {\n                \"type\": \"money\",\n                \"value\": 30,\n                \"currency\": \"CAD\",\n                \"name\": \"Bank Service Fee\",\n                \"core\": \"1\",\n                \"cost_type_id\": \"bank-service-fee\"\n            }\n        }\n    }, {\n        \"cost_id\": \"714d97c3-7051-4145-bb22-c34af40cd3b0\",\n        \"type\": \"secondary\",\n        \"service\": \"Accural 1\",\n        \"amount\": {\n            \"total\": 0,\n            \"currency\": \"CAD\"\n        },\n        \"attributes\": {\n            \"default_cost\": {\n                \"type\": \"percent\",\n                \"value\": 0.3,\n                \"name\": \"Accural 1\",\n                \"core\": \"1\",\n                \"cost_type_id\": \"Foreign Exchange\"\n            }\n        }\n    }, {\n        \"cost_id\": \"423fd009-eaea-4b35-b80c-a1184ded3439\",\n        \"type\": \"secondary\",\n        \"service\": \"Accural 2\",\n        \"amount\": {\n            \"total\": 0,\n            \"currency\": \"CAD\"\n        },\n        \"attributes\": {\n            \"default_cost\": {\n                \"type\": \"percent\",\n                \"value\": 0.5,\n                \"name\": \"Accural 2\",\n                \"core\": \"1\",\n                \"cost_type_id\": \"Deal Fulfillment\"\n            }\n        }\n    }, {\n        \"cost_id\": \"1a0692f0-d271-48c0-890a-a3d893f2a509\",\n        \"type\": \"primary\",\n        \"provider\": 1513087538.7305,\n        \"service\": \"Brie Soft-ripened Natural Cheese\",\n        \"product_id\": \"bc2ae9c7-5f25-4f38-80cc-62f45bc1b8c0\",\n        \"amount\": {\n            \"total\": 300000,\n            \"currency\": \"AUD\"\n        },\n        \"attributes\": {\n            \"actual_buy_price\": 22,\n            \"actual_sell_price\": 11,\n            \"actual_buy_weight\": 10,\n            \"actual_sell_weight\": 2\n        }\n    }, {\n        \"type\": \"tertiary\",\n        \"provider\": \"9b010019-d7c9-49f9-933d-235b17058423\",\n        \"service\": \"9ca3709e-73b1-4e20-a246-e57cb956ba0b\",\n        \"amount\": {\n            \"total\": 300,\n            \"currency\": \"GBP\"\n        },\n        \"attributes\": {\n            \"segment_id\": \"9ca3709e-73b1-4e20-a246-e57cb956ba0b\"\n        }\n    }, {\n        \"type\": \"tertiary\",\n        \"provider\": \"ce1c155a-a73b-4f99-8351-598ffecfb846\",\n        \"service\": \"8d832898-bcbc-45a5-ad14-3270f4f6e5e4\",\n        \"amount\": {\n            \"total\": 100,\n            \"currency\": \"GBP\"\n        },\n        \"attributes\": {\n            \"segment_id\": \"8d832898-bcbc-45a5-ad14-3270f4f6e5e4\"\n        }\n    }]\n}"},"url":"{{gateway_host}}/deals/calculate-margin"},"response":[],"_postman_id":"48f7308b-39b0-c397-424f-c96d00cedefe"}],"id":"fc98de02-0d5c-294b-9de5-ee25b5921df4","_postman_id":"fc98de02-0d5c-294b-9de5-ee25b5921df4"},{"name":"confirmation/rejection with link","item":[{"name":"get confirmation link","id":"31c8c540-7e3f-4d35-a4d2-5d56c64d5896","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n    \"who\": \"supplier\",\n    \"deal_ids\": [\n        \"{{deal_id}}\"\n    ]\n}"},"url":"{{gateway_host}}/deals/get-confirmation-link"},"response":[],"_postman_id":"31c8c540-7e3f-4d35-a4d2-5d56c64d5896"},{"name":"get rejection link","id":"060e7209-0b09-4857-b37f-8849d0096936","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n    \"who\": \"supplier\",\n    \"deal_ids\": [\n        \"{{deal_id}}\"\n    ]\n}"},"url":"{{gateway_host}}/deals/get-rejection-link"},"response":[],"_postman_id":"060e7209-0b09-4857-b37f-8849d0096936"},{"name":"confirm with link","id":"07587e8a-830a-4c09-bc52-2c7f6c535b31","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":{"raw":"{{gateway_host}}/deals/confirm-with-link?payload={{deal_confirmation_url_payload}}","host":["{{gateway_host}}"],"path":["deals","confirm-with-link"],"query":[{"key":"payload","value":"{{deal_confirmation_url_payload}}"}]}},"response":[],"_postman_id":"07587e8a-830a-4c09-bc52-2c7f6c535b31"},{"name":"reject with link","id":"f040ebed-4bb7-4174-b3c2-0fd1a8b69f7c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":{"raw":"{{gateway_host}}/deals/confirm-with-link?payload={{deal_rejection_url_payload}}","host":["{{gateway_host}}"],"path":["deals","confirm-with-link"],"query":[{"key":"payload","value":"{{deal_rejection_url_payload}}"}]}},"response":[],"_postman_id":"f040ebed-4bb7-4174-b3c2-0fd1a8b69f7c"},{"name":"send confirmation links Mutiple","id":"331e8aab-ece7-4d6a-935a-0186752ac948","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\"to\":\"supplier\",\"recipients\":[],\"deal_ids\":[\"BWI103172TC\"]}\n"},"url":"{{gateway_host}}/deals/send-confirmation-link/multiple"},"response":[],"_postman_id":"331e8aab-ece7-4d6a-935a-0186752ac948"},{"name":"send confirmation links (removed)","id":"2f33a566-db2a-46aa-8050-16a38930cb1f","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer pM5Mba38fKUcUui3iuIYhm92GcSCNGJEuAy1CJmfmLXaklG4SOjOdY4VU4KfKGPBwoptOIFWG8bz0rCy4Nyrx5"}],"body":{"mode":"raw","raw":"{\n  \"deal_id\": \"BWI100191TC\",\n  \"to\": \"buyer\",\n  \"recipients\": [\"03e3905e-447a-43d0-bd05-ba3e7a074763\"]\n}"},"url":"{{gateway_host}}/deals/send-confirmation-link"},"response":[],"_postman_id":"2f33a566-db2a-46aa-8050-16a38930cb1f"}],"id":"0089a8b6-43a3-4104-ab22-101c75ed6818","_postman_id":"0089a8b6-43a3-4104-ab22-101c75ed6818"},{"name":"manager","item":[{"name":"get deal views","id":"0583daf6-6eac-44d9-b911-4f4d076f2b85","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"filter\": {\n        \"deal_ids\": [\n            \"149425TC\"\n        ]\n    },\n    \"fields\": [\n        \"product\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{gateway_host}}/deals/views?limit=10","host":["{{gateway_host}}"],"path":["deals","views"],"query":[{"key":"limit","value":"10"}]}},"response":[{"id":"91abcda9-d295-4f9d-a875-e4f815bc8ffb","name":"get deal views all fields","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"filter\": {\n        \"deal_ids\": [\n            \"157230TCI\"\n        ]\n    },\n    \"fields\": [\n        \"eta\",\n        \"text\",\n        \"deal\",\n        \"segments\",\n        \"delivery_date\",\n        \"shipment_date\",\n        \"prepayment_invoice\",\n        \"etd\",\n        \"carrier\",\n        \"booking_id\",\n        \"container_number\",\n        \"buyer_invoice\",\n        \"supplier_invoice\",\n        \"product\",\n        \"coordinator\",\n        \"dropoff_location\",\n        \"pickup_location\",\n        \"port_of_discharge\",\n        \"port_of_loading\",\n        \"latest_segment\",\n        \"earliest_segment\",\n        \"foreign_invoice_country_code\",\n        \"foreign_invoice_number\",\n        \"foreign_invoice_number_mx\",\n        \"forwarder\",\n        \"prepayment_status\",\n        \"truck_refer_id\",\n        \"supplier_invoice_status\",\n        \"total_weight\",\n        \"earliest_vessel_segment\",\n        \"buyer\",\n        \"supplier\",\n        \"buyer_managers\",\n        \"supplier_managers\",\n        \"buying_trader\",\n        \"selling_trader\",\n        \"origin_location\",\n        \"dest_location\",\n        \"origin_country\",\n        \"payment_terms_supplier\",\n        \"payment_terms_buyer\",\n        \"status_notes\",\n        \"dropoff_date\",\n        \"pickup_date\",\n        \"buyer_credit_pool\",\n        \"courier_track_id\",\n        \"note_warning\",\n        \"deal_type\",\n        \"dest_country\",\n        \"est_delivery_date\",\n        \"vessel_carrier\",\n        \"est_pickup_date\",\n        \"parties\",\n        \"submitted_at\",\n        \"actual_weight_sell\",\n        \"gross_weight\",\n        \"docs_country\",\n        \"deringer\",\n        \"secondary_cost_invoice_id\",\n        \"documents_count\",\n        \"booking\",\n        \"freight_rates_amount\",\n        \"note_flags\",\n        \"export_reports\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{gateway_host}}/deals/views?limit=10","host":["{{gateway_host}}"],"path":["deals","views"],"query":[{"key":"limit","value":"10"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 06 Apr 2023 18:36:46 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"nginx/1.10.3 (Ubuntu)"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Vary","value":"X-HTTP-Method, X-HTTP-Method-Override, X-Method-Override, Accept-Encoding"},{"key":"Forward","value":"172.16.40.251"},{"key":"ETag","value":"W/\"9e4f-uIWaUVZ6lRxTHIuoc7MGC4z7QQ0\""},{"key":"Content-Encoding","value":"gzip"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, OPTIONS, PUT, DELETE"},{"key":"Access-Control-Allow-Headers","value":"DNT,X-Mx-ReqToken,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Authorization"},{"key":"P3P","value":"policyref=\"/w3c/p3p.xml\", CP=\"ALL IND DSP COR ADM CONo CUR CUSo IVAo IVDo PSA PSD TAI TELo OUR SAMo CNT COM INT NAV ONL PHY PRE PUR UNI\", CP=\"CAO PSA OUR\""}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"actual_weight_sell\": {\n            \"measure_id\": \"a72cfe55-d2dd-4494-b3a7-1f07c844a02d\",\n            \"amount\": 0\n        },\n        \"booking\": {\n            \"montship_exact_loading\": {\n                \"name\": \"\",\n                \"location_id\": \"\"\n            }\n        },\n        \"buyer\": {\n            \"account\": \"1572537188.3077\",\n            \"name\": \"Ide Foods S.A de C.V.\",\n            \"status\": 2,\n            \"type\": \"buyer\",\n            \"primaryphone\": \"+521667 236 5500\",\n            \"primaryemail\": \"igarcia@idefoods.com\",\n            \"managers\": [\n                \"56269e72-07c9-4827-a412-b4b50629efd6\",\n                \"2be73f37-a0c5-427b-97bc-23ba8e0792db\",\n                \"17321ed5-4fec-40c6-8ee9-103baac2b80c\",\n                \"d67d0c2c-bd0c-466e-ab71-112d8baca8ce\",\n                \"59f5319c-e031-4fa7-9216-7737f59bc7e7\"\n            ],\n            \"coordinator\": \"64ee6877-b4ff-42c5-944f-c51ece18ac95\",\n            \"products\": [\n                \"95d36091-0493-4620-99d4-008b200f590e\",\n                \"9c6a8140-5f3e-423f-8e10-44939cf6a6c0\",\n                \"0b4f92e5-260a-4133-82b5-726420c51d1a\",\n                \"9e55cc14-40f1-4021-b39f-5bb1b0b1aa7d\",\n                \"591b0776-c703-495e-93b0-b5d2b7224fff\",\n                \"8f88342f-022f-4581-9954-966679c1b05e\",\n                \"c0e02f11-d644-42d1-9bb4-a9f9061cf21f\",\n                \"5f60a9bf-a53c-4ed1-9400-4e2004bf3c7e\",\n                \"2f106077-9631-43b7-9029-56c295f1fc62\",\n                \"ad6cbcef-0d7b-4afd-bb75-8bdc7c7a2934\",\n                \"570f646f-44bd-4de5-a6a5-ae4371615a48\",\n                \"32981141-ed3c-49b2-81f0-d9557694aa32\",\n                \"eae6c6dd-315e-40b7-a959-fd876659bdf8\",\n                \"41839574-a08e-42f3-93d8-4a19a3b36bfb\",\n                \"d1ea0cfa-9858-47fc-89c9-d1be55472f61\",\n                \"14fd3b3e-00e9-4d93-b199-8835dded6d05\",\n                \"36891396-bae2-403c-a6b9-43daead6282d\",\n                \"30d2cc59-9ebe-4ace-8ff4-c27755c91863\",\n                \"5f60554b-639c-410f-9216-550e26aaadd3\",\n                \"9419a714-26c9-43c1-86ca-16a00724b655\",\n                \"2bcb2f50-8e9b-4974-b6c8-08a57af6529e\",\n                \"04d50cf5-aad2-45ce-9920-4254341922ab\",\n                \"5112147e-bf93-41f1-85d2-c7b83fcf601b\",\n                \"ac991db0-21f8-4e5c-9d11-ed3766d5af11\",\n                \"4f2edc4f-ef9d-4ff6-a96e-d20b311b8570\",\n                \"aec5c67c-7ae5-4e60-8c22-28eb95513019\",\n                \"9853e90c-82fe-4e93-ae8a-a4bbc1372444\",\n                \"8583abc7-c086-47a6-aca4-41625c24dd52\",\n                \"59ce3e14-933a-4688-af7f-9c05b8c306f4\",\n                \"0b85a6d4-5ec0-4d32-8d19-d2b898bef032\",\n                \"3d084cef-cbae-4826-9e3e-1766f40b9a94\",\n                \"f9ba6917-6ff6-47bb-acb3-0d7fc63c6147\",\n                \"38f52a32-50d8-4f55-a8cb-28f089aa791f\",\n                \"0add535f-47ab-4f05-92a1-439c301c6bfb\",\n                \"3ebdc397-e046-4bc6-986d-bb2ff643d91e\",\n                \"969672ad-85fd-46dc-9b9f-79cc60c5a6d4\",\n                \"9c6a8140-5f3e-423f-8e10-44939cf6a6c0\",\n                \"0b4f92e5-260a-4133-82b5-726420c51d1a\",\n                \"9e55cc14-40f1-4021-b39f-5bb1b0b1aa7d\",\n                \"591b0776-c703-495e-93b0-b5d2b7224fff\",\n                \"3c9c72e2-593b-42ce-be67-b3cdf7b01a4c\",\n                \"c0e02f11-d644-42d1-9bb4-a9f9061cf21f\",\n                \"5f60a9bf-a53c-4ed1-9400-4e2004bf3c7e\",\n                \"2f106077-9631-43b7-9029-56c295f1fc62\",\n                \"ad6cbcef-0d7b-4afd-bb75-8bdc7c7a2934\",\n                \"570f646f-44bd-4de5-a6a5-ae4371615a48\",\n                \"32981141-ed3c-49b2-81f0-d9557694aa32\",\n                \"eae6c6dd-315e-40b7-a959-fd876659bdf8\",\n                \"ccd2b69f-70ca-443a-9953-1f364c5dcb3b\",\n                \"5832dd27-1850-42b0-8754-34733daf871e\",\n                \"41839574-a08e-42f3-93d8-4a19a3b36bfb\",\n                \"d1ea0cfa-9858-47fc-89c9-d1be55472f61\",\n                \"14fd3b3e-00e9-4d93-b199-8835dded6d05\",\n                \"36891396-bae2-403c-a6b9-43daead6282d\",\n                \"b2b5a5b4-6ecc-4b30-b0f7-b925e834c56f\",\n                \"0f9e0bd2-5aeb-40c8-b24d-6a85295a7d4e\",\n                \"30d2cc59-9ebe-4ace-8ff4-c27755c91863\",\n                \"9430106b-8e85-46cc-9f47-2a533139e92a\",\n                \"5f60554b-639c-410f-9216-550e26aaadd3\",\n                \"87fa68ef-93ae-43d1-8b63-18c7ad3d7c85\",\n                \"9419a714-26c9-43c1-86ca-16a00724b655\",\n                \"266ce8d0-37d4-4b59-bf3b-4f16b4de83d4\",\n                \"6fdb46c3-88bd-444f-8d2a-b63dd4a04044\",\n                \"7976e380-b729-4499-9720-934b7354e2d3\",\n                \"2bcb2f50-8e9b-4974-b6c8-08a57af6529e\",\n                \"04d50cf5-aad2-45ce-9920-4254341922ab\",\n                \"5112147e-bf93-41f1-85d2-c7b83fcf601b\",\n                \"ac991db0-21f8-4e5c-9d11-ed3766d5af11\",\n                \"4f2edc4f-ef9d-4ff6-a96e-d20b311b8570\",\n                \"aec5c67c-7ae5-4e60-8c22-28eb95513019\",\n                \"9853e90c-82fe-4e93-ae8a-a4bbc1372444\",\n                \"8583abc7-c086-47a6-aca4-41625c24dd52\",\n                \"59ce3e14-933a-4688-af7f-9c05b8c306f4\",\n                \"0b85a6d4-5ec0-4d32-8d19-d2b898bef032\",\n                \"d61670a2-ca90-4bdd-be83-c4b0fb685988\",\n                \"32bf0aa2-e60a-4953-9a7f-e23b85311f1f\",\n                \"08ad1000-fb13-4654-b702-617fdeddb170\",\n                \"3d084cef-cbae-4826-9e3e-1766f40b9a94\",\n                \"495f25a0-2e9d-457e-9099-c5d3cab6ab06\",\n                \"f849f2b3-0016-40c8-b6fb-fcf084cf1c64\",\n                \"0078d9c6-fe8a-48a5-a384-6f3321860463\",\n                \"59a17cd0-b376-481f-a40f-c744374db41d\",\n                \"4b924ae8-3698-42b4-a8fa-48ee4da4f1df\",\n                \"3ebdc397-e046-4bc6-986d-bb2ff643d91e\",\n                \"2da0dd8f-9975-4f23-b948-60f6c943da4e\",\n                \"703f3753-05e6-4e34-849d-1ff20a1e730c\",\n                \"f9ba6917-6ff6-47bb-acb3-0d7fc63c6147\"\n            ],\n            \"created\": 1572537188,\n            \"lastupdate\": 1680109073,\n            \"emails\": [\n                \"dangulo@idefoods.com\"\n            ],\n            \"phones\": [\n                \"+5216679958955\"\n            ],\n            \"addresses\": [\n                {\n                    \"cc\": \"MX\",\n                    \"name\": \"Ide Foods S.A de C.V.\",\n                    \"street1\": \"Blvd. Francisco Labastida Ochoa # 164 Pte Loc. 902\",\n                    \"street2\": \"Col. Desarrollo Urbano Tres Rios\",\n                    \"country\": \"Mexico\",\n                    \"city\": \"Culiacan\",\n                    \"state\": \"Sinaloa\",\n                    \"state_code\": \"Sinaloa\",\n                    \"postal\": \"80020\",\n                    \"telephone1\": \"(667) 713 -3578\",\n                    \"email\": \"compras@idefoods.com\",\n                    \"tax_id\": \"IFO150824CU9\",\n                    \"primary\": 1\n                },\n                {\n                    \"cc\": \"US\",\n                    \"name\": \"Intactics LLC\",\n                    \"department\": \"93638010-78f1-4797-8e8d-aaaa9658c337\",\n                    \"street1\": \"5  Bodega Dr\",\n                    \"country\": \"United States\",\n                    \"city\": \"Nogales\",\n                    \"state\": \"Arizona\",\n                    \"state_code\": \"Arizona\",\n                    \"postal\": \"85621\",\n                    \"note\": \"NOGALES, SONORA, MEXICO\"\n                },\n                {\n                    \"cc\": \"US\",\n                    \"name\": \"EB INTERNATIONAL, LLC\",\n                    \"department\": \"93638010-78f1-4797-8e8d-aaaa9658c337\",\n                    \"street1\": \"1020 E. Produce Rd\",\n                    \"country\": \"United States\",\n                    \"city\": \"Hidalgo\",\n                    \"state\": \"Texas\",\n                    \"state_code\": \"Texas\",\n                    \"postal\": \"78557\",\n                    \"telephone1\": \"9568436052\",\n                    \"note\": \"Reynosa, Tamaulipas, Mexico\"\n                },\n                {\n                    \"cc\": \"US\",\n                    \"name\": \"Intactics\",\n                    \"street1\": \"9865 Marconi Dr. Suite A\",\n                    \"country\": \"United States\",\n                    \"city\": \"San Diego\",\n                    \"state\": \"California\",\n                    \"state_code\": \"California\",\n                    \"postal\": \"92154\",\n                    \"note\": \"Tijuana, Baja California, Mexico\"\n                },\n                {\n                    \"cc\": \"US\",\n                    \"name\": \"Continental Services - Laredo\",\n                    \"street1\": \"12120 River Bank Dr\",\n                    \"country\": \"United States\",\n                    \"city\": \"Laredo\",\n                    \"state\": \"Texas\",\n                    \"state_code\": \"Texas\",\n                    \"postal\": \"78045\",\n                    \"telephone1\": \"9567255141\"\n                },\n                {\n                    \"cc\": \"US\",\n                    \"name\": \"Castelo Cold Storage\",\n                    \"street1\": \"10321 Keystone Dr.\",\n                    \"country\": \"United States\",\n                    \"city\": \"Pharr\",\n                    \"state\": \"Texas\",\n                    \"state_code\": \"Texas\",\n                    \"postal\": \"78577\"\n                }\n            ],\n            \"products_spec\": [\n                {\n                    \"product_id\": \"95d36091-0493-4620-99d4-008b200f590e\"\n                },\n                {\n                    \"product_id\": \"9c6a8140-5f3e-423f-8e10-44939cf6a6c0\",\n                    \"item_type_id\": \"82518b66-7939-42a4-ab9e-c23ffd737952\",\n                    \"hs_code\": \"0203.22.00\"\n                },\n                {\n                    \"product_id\": \"0b4f92e5-260a-4133-82b5-726420c51d1a\",\n                    \"item_type_id\": \"82518b66-7939-42a4-ab9e-c23ffd737952\",\n                    \"hs_code\": \"0203.12.10\"\n                },\n                {\n                    \"product_id\": \"9e55cc14-40f1-4021-b39f-5bb1b0b1aa7d\",\n                    \"item_type_id\": \"82518b66-7939-42a4-ab9e-c23ffd737952\",\n                    \"hs_code\": \"0206.30.00\"\n                },\n                {\n                    \"product_id\": \"591b0776-c703-495e-93b0-b5d2b7224fff\",\n                    \"item_type_id\": \"82518b66-7939-42a4-ab9e-c23ffd737952\",\n                    \"hs_code\": \"0203.19.99\"\n                },\n                {\n                    \"product_id\": \"8f88342f-022f-4581-9954-966679c1b05e\",\n                    \"item_type_id\": \"82518b66-7939-42a4-ab9e-c23ffd737952\",\n                    \"hs_code\": \"0203.12.20\"\n                },\n                {\n                    \"product_id\": \"c0e02f11-d644-42d1-9bb4-a9f9061cf21f\",\n                    \"item_type_id\": \"82518b66-7939-42a4-ab9e-c23ffd737952\",\n                    \"hs_code\": \"0203.19.40\"\n                },\n                {\n                    \"product_id\": \"5f60a9bf-a53c-4ed1-9400-4e2004bf3c7e\",\n                    \"item_type_id\": \"82518b66-7939-42a4-ab9e-c23ffd737952\",\n                    \"hs_code\": \"0203.12.20\"\n                },\n                {\n                    \"product_id\": \"2f106077-9631-43b7-9029-56c295f1fc62\",\n                    \"item_type_id\": \"82518b66-7939-42a4-ab9e-c23ffd737952\",\n                    \"hs_code\": \"0203.12.10\"\n                },\n                {\n                    \"product_id\": \"ad6cbcef-0d7b-4afd-bb75-8bdc7c7a2934\",\n                    \"item_type_id\": \"82518b66-7939-42a4-ab9e-c23ffd737952\",\n                    \"hs_code\": \"0206.30.00\"\n                },\n                {\n                    \"product_id\": \"570f646f-44bd-4de5-a6a5-ae4371615a48\",\n                    \"item_type_id\": \"82518b66-7939-42a4-ab9e-c23ffd737952\",\n                    \"hs_code\": \"0210.12.90\"\n                },\n                {\n                    \"product_id\": \"32981141-ed3c-49b2-81f0-d9557694aa32\",\n                    \"item_type_id\": \"82518b66-7939-42a4-ab9e-c23ffd737952\",\n                    \"hs_code\": \"0203.19.91\"\n                },\n                {\n                    \"product_id\": \"eae6c6dd-315e-40b7-a959-fd876659bdf8\",\n                    \"item_type_id\": \"82518b66-7939-42a4-ab9e-c23ffd737952\",\n                    \"hs_code\": \"0206.30.00\"\n                },\n                {\n                    \"product_id\": \"41839574-a08e-42f3-93d8-4a19a3b36bfb\",\n                    \"item_type_id\": \"82518b66-7939-42a4-ab9e-c23ffd737952\",\n                    \"hs_code\": \"0209.10.00\"\n                },\n                {\n                    \"product_id\": \"d1ea0cfa-9858-47fc-89c9-d1be55472f61\",\n                    \"item_type_id\": \"82518b66-7939-42a4-ab9e-c23ffd737952\",\n                    \"hs_code\": \"0209.10.00\"\n                },\n                {\n                    \"product_id\": \"14fd3b3e-00e9-4d93-b199-8835dded6d05\",\n                    \"item_type_id\": \"82518b66-7939-42a4-ab9e-c23ffd737952\",\n                    \"hs_code\": \"0206.30.00\"\n                },\n                {\n                    \"product_id\": \"36891396-bae2-403c-a6b9-43daead6282d\",\n                    \"item_type_id\": \"82518b66-7939-42a4-ab9e-c23ffd737952\",\n                    \"hs_code\": \"0203.19.00\"\n                },\n                {\n                    \"product_id\": \"30d2cc59-9ebe-4ace-8ff4-c27755c91863\",\n                    \"item_type_id\": \"82518b66-7939-42a4-ab9e-c23ffd737952\",\n                    \"hs_code\": \"1501.10.00\"\n                },\n                {\n                    \"product_id\": \"5f60554b-639c-410f-9216-550e26aaadd3\",\n                    \"item_type_id\": \"82518b66-7939-42a4-ab9e-c23ffd737952\",\n                    \"hs_code\": \"0206.30.00\"\n                },\n                {\n                    \"product_id\": \"9419a714-26c9-43c1-86ca-16a00724b655\",\n                    \"item_type_id\": \"82518b66-7939-42a4-ab9e-c23ffd737952\",\n                    \"hs_code\": \"0203.19.99\"\n                },\n                {\n                    \"product_id\": \"2bcb2f50-8e9b-4974-b6c8-08a57af6529e\",\n                    \"item_type_id\": \"82518b66-7939-42a4-ab9e-c23ffd737952\",\n                    \"hs_code\": \"0203.19.99\"\n                },\n                {\n                    \"product_id\": \"04d50cf5-aad2-45ce-9920-4254341922ab\",\n                    \"item_type_id\": \"82518b66-7939-42a4-ab9e-c23ffd737952\",\n                    \"hs_code\": \"0203.19.99\"\n                },\n                {\n                    \"product_id\": \"5112147e-bf93-41f1-85d2-c7b83fcf601b\",\n                    \"item_type_id\": \"82518b66-7939-42a4-ab9e-c23ffd737952\",\n                    \"hs_code\": \"0203.19.99\"\n                },\n                {\n                    \"product_id\": \"ac991db0-21f8-4e5c-9d11-ed3766d5af11\",\n                    \"item_type_id\": \"82518b66-7939-42a4-ab9e-c23ffd737952\",\n                    \"hs_code\": \"0203.19.99\"\n                },\n                {\n                    \"product_id\": \"4f2edc4f-ef9d-4ff6-a96e-d20b311b8570\",\n                    \"item_type_id\": \"82518b66-7939-42a4-ab9e-c23ffd737952\",\n                    \"hs_code\": \"0203.19.99\"\n                },\n                {\n                    \"product_id\": \"aec5c67c-7ae5-4e60-8c22-28eb95513019\",\n                    \"item_type_id\": \"82518b66-7939-42a4-ab9e-c23ffd737952\",\n                    \"hs_code\": \"0203.19.99\"\n                },\n                {\n                    \"product_id\": \"9853e90c-82fe-4e93-ae8a-a4bbc1372444\",\n                    \"item_type_id\": \"82518b66-7939-42a4-ab9e-c23ffd737952\",\n                    \"hs_code\": \"0203.19.99\"\n                },\n                {\n                    \"product_id\": \"8583abc7-c086-47a6-aca4-41625c24dd52\",\n                    \"item_type_id\": \"82518b66-7939-42a4-ab9e-c23ffd737952\",\n                    \"hs_code\": \"0203.19.99\"\n                },\n                {\n                    \"product_id\": \"59ce3e14-933a-4688-af7f-9c05b8c306f4\",\n                    \"item_type_id\": \"82518b66-7939-42a4-ab9e-c23ffd737952\",\n                    \"hs_code\": \"0203.19.99\"\n                },\n                {\n                    \"product_id\": \"0b85a6d4-5ec0-4d32-8d19-d2b898bef032\",\n                    \"item_type_id\": \"82518b66-7939-42a4-ab9e-c23ffd737952\",\n                    \"hs_code\": \"0203.19.99\"\n                },\n                {\n                    \"product_id\": \"3d084cef-cbae-4826-9e3e-1766f40b9a94\",\n                    \"item_type_id\": \"82518b66-7939-42a4-ab9e-c23ffd737952\",\n                    \"hs_code\": \"0206.30.00\"\n                },\n                {\n                    \"product_id\": \"f9ba6917-6ff6-47bb-acb3-0d7fc63c6147\",\n                    \"item_type_id\": \"82518b66-7939-42a4-ab9e-c23ffd737952\",\n                    \"hs_code\": \"0203.19.99\"\n                },\n                {\n                    \"product_id\": \"38f52a32-50d8-4f55-a8cb-28f089aa791f\",\n                    \"item_type_id\": \"82518b66-7939-42a4-ab9e-c23ffd737952\",\n                    \"hs_code\": \"0206.30.00\"\n                },\n                {\n                    \"product_id\": \"0add535f-47ab-4f05-92a1-439c301c6bfb\",\n                    \"item_type_id\": \"82518b66-7939-42a4-ab9e-c23ffd737952\",\n                    \"hs_code\": \"0210.12.90\"\n                },\n                {\n                    \"product_id\": \"3ebdc397-e046-4bc6-986d-bb2ff643d91e\",\n                    \"item_type_id\": \"82518b66-7939-42a4-ab9e-c23ffd737952\",\n                    \"hs_code\": \"0203.12.20\"\n                },\n                {\n                    \"product_id\": \"969672ad-85fd-46dc-9b9f-79cc60c5a6d4\",\n                    \"item_type_id\": \"81b42633-6d75-493e-8e1d-49067134e039\",\n                    \"hs_code\": \"0203.29.20\"\n                },\n                {\n                    \"product_id\": \"9c6a8140-5f3e-423f-8e10-44939cf6a6c0\",\n                    \"item_type_id\": \"81b42633-6d75-493e-8e1d-49067134e039\",\n                    \"hs_code\": \"0203.22.00\"\n                },\n                {\n                    \"product_id\": \"0b4f92e5-260a-4133-82b5-726420c51d1a\",\n                    \"item_type_id\": \"81b42633-6d75-493e-8e1d-49067134e039\",\n                    \"hs_code\": \"0203.22.00\"\n                },\n                {\n                    \"product_id\": \"9e55cc14-40f1-4021-b39f-5bb1b0b1aa7d\",\n                    \"item_type_id\": \"81b42633-6d75-493e-8e1d-49067134e039\",\n                    \"hs_code\": \"0206.49.00\"\n                },\n                {\n                    \"product_id\": \"591b0776-c703-495e-93b0-b5d2b7224fff\",\n                    \"item_type_id\": \"81b42633-6d75-493e-8e1d-49067134e039\",\n                    \"hs_code\": \"0203.22.00\"\n                },\n                {\n                    \"product_id\": \"3c9c72e2-593b-42ce-be67-b3cdf7b01a4c\",\n                    \"item_type_id\": \"81b42633-6d75-493e-8e1d-49067134e039\",\n                    \"hs_code\": \"0203.22.00\"\n                },\n                {\n                    \"product_id\": \"c0e02f11-d644-42d1-9bb4-a9f9061cf21f\",\n                    \"item_type_id\": \"81b42633-6d75-493e-8e1d-49067134e039\",\n                    \"hs_code\": \"0203.22.90\"\n                },\n                {\n                    \"product_id\": \"5f60a9bf-a53c-4ed1-9400-4e2004bf3c7e\",\n                    \"item_type_id\": \"81b42633-6d75-493e-8e1d-49067134e039\",\n                    \"hs_code\": \"0203.22.00\"\n                },\n                {\n                    \"product_id\": \"2f106077-9631-43b7-9029-56c295f1fc62\",\n                    \"item_type_id\": \"81b42633-6d75-493e-8e1d-49067134e039\",\n                    \"hs_code\": \"0203.22.00\"\n                },\n                {\n                    \"product_id\": \"ad6cbcef-0d7b-4afd-bb75-8bdc7c7a2934\",\n                    \"item_type_id\": \"81b42633-6d75-493e-8e1d-49067134e039\",\n                    \"hs_code\": \"0206.49.00\"\n                },\n                {\n                    \"product_id\": \"570f646f-44bd-4de5-a6a5-ae4371615a48\",\n                    \"item_type_id\": \"81b42633-6d75-493e-8e1d-49067134e039\",\n                    \"hs_code\": \"0210.12.90\"\n                },\n                {\n                    \"product_id\": \"32981141-ed3c-49b2-81f0-d9557694aa32\",\n                    \"item_type_id\": \"81b42633-6d75-493e-8e1d-49067134e039\",\n                    \"hs_code\": \"0203.29.00\"\n                },\n                {\n                    \"product_id\": \"eae6c6dd-315e-40b7-a959-fd876659bdf8\",\n                    \"item_type_id\": \"81b42633-6d75-493e-8e1d-49067134e039\",\n                    \"hs_code\": \"0206.49.00\"\n                },\n                {\n                    \"product_id\": \"ccd2b69f-70ca-443a-9953-1f364c5dcb3b\",\n                    \"item_type_id\": \"81b42633-6d75-493e-8e1d-49067134e039\",\n                    \"hs_code\": \"0206.49.00\"\n                },\n                {\n                    \"product_id\": \"5832dd27-1850-42b0-8754-34733daf871e\",\n                    \"item_type_id\": \"81b42633-6d75-493e-8e1d-49067134e039\",\n                    \"hs_code\": \"0203.22.00\"\n                },\n                {\n                    \"product_id\": \"41839574-a08e-42f3-93d8-4a19a3b36bfb\",\n                    \"item_type_id\": \"81b42633-6d75-493e-8e1d-49067134e039\",\n                    \"hs_code\": \"0209.10.00\"\n                },\n                {\n                    \"product_id\": \"d1ea0cfa-9858-47fc-89c9-d1be55472f61\",\n                    \"item_type_id\": \"81b42633-6d75-493e-8e1d-49067134e039\",\n                    \"hs_code\": \"0209.10.00\"\n                },\n                {\n                    \"product_id\": \"14fd3b3e-00e9-4d93-b199-8835dded6d05\",\n                    \"item_type_id\": \"81b42633-6d75-493e-8e1d-49067134e039\",\n                    \"hs_code\": \"0206.49.00\"\n                },\n                {\n                    \"product_id\": \"36891396-bae2-403c-a6b9-43daead6282d\",\n                    \"item_type_id\": \"81b42633-6d75-493e-8e1d-49067134e039\",\n                    \"hs_code\": \"0203.29.00\"\n                },\n                {\n                    \"product_id\": \"b2b5a5b4-6ecc-4b30-b0f7-b925e834c56f\",\n                    \"item_type_id\": \"81b42633-6d75-493e-8e1d-49067134e039\",\n                    \"hs_code\": \"0206.49.00\"\n                },\n                {\n                    \"product_id\": \"0f9e0bd2-5aeb-40c8-b24d-6a85295a7d4e\",\n                    \"item_type_id\": \"81b42633-6d75-493e-8e1d-49067134e039\",\n                    \"hs_code\": \"0203.29.00\"\n                },\n                {\n                    \"product_id\": \"30d2cc59-9ebe-4ace-8ff4-c27755c91863\",\n                    \"item_type_id\": \"81b42633-6d75-493e-8e1d-49067134e039\",\n                    \"hs_code\": \"1501.10.00\"\n                },\n                {\n                    \"product_id\": \"9430106b-8e85-46cc-9f47-2a533139e92a\",\n                    \"item_type_id\": \"81b42633-6d75-493e-8e1d-49067134e039\",\n                    \"hs_code\": \"1501.10.00\"\n                },\n                {\n                    \"product_id\": \"5f60554b-639c-410f-9216-550e26aaadd3\",\n                    \"item_type_id\": \"81b42633-6d75-493e-8e1d-49067134e039\",\n                    \"hs_code\": \"0206.49.00\"\n                },\n                {\n                    \"product_id\": \"87fa68ef-93ae-43d1-8b63-18c7ad3d7c85\",\n                    \"item_type_id\": \"81b42633-6d75-493e-8e1d-49067134e039\",\n                    \"hs_code\": \"0203.29.00\"\n                },\n                {\n                    \"product_id\": \"9419a714-26c9-43c1-86ca-16a00724b655\",\n                    \"item_type_id\": \"81b42633-6d75-493e-8e1d-49067134e039\",\n                    \"hs_code\": \"0203.29.00\"\n                },\n                {\n                    \"product_id\": \"266ce8d0-37d4-4b59-bf3b-4f16b4de83d4\",\n                    \"item_type_id\": \"81b42633-6d75-493e-8e1d-49067134e039\",\n                    \"hs_code\": \"0206.49.00\"\n                },\n                {\n                    \"product_id\": \"6fdb46c3-88bd-444f-8d2a-b63dd4a04044\",\n                    \"item_type_id\": \"81b42633-6d75-493e-8e1d-49067134e039\",\n                    \"hs_code\": \"0203.29.00\"\n                },\n                {\n                    \"product_id\": \"7976e380-b729-4499-9720-934b7354e2d3\",\n                    \"item_type_id\": \"81b42633-6d75-493e-8e1d-49067134e039\",\n                    \"hs_code\": \"0206.49.00\"\n                },\n                {\n                    \"product_id\": \"2bcb2f50-8e9b-4974-b6c8-08a57af6529e\",\n                    \"item_type_id\": \"81b42633-6d75-493e-8e1d-49067134e039\",\n                    \"hs_code\": \"0203.29.00\"\n                },\n                {\n                    \"product_id\": \"04d50cf5-aad2-45ce-9920-4254341922ab\",\n                    \"item_type_id\": \"81b42633-6d75-493e-8e1d-49067134e039\",\n                    \"hs_code\": \"0203.29.00\"\n                },\n                {\n                    \"product_id\": \"5112147e-bf93-41f1-85d2-c7b83fcf601b\",\n                    \"item_type_id\": \"81b42633-6d75-493e-8e1d-49067134e039\",\n                    \"hs_code\": \"0203.29.00\"\n                },\n                {\n                    \"product_id\": \"ac991db0-21f8-4e5c-9d11-ed3766d5af11\",\n                    \"item_type_id\": \"81b42633-6d75-493e-8e1d-49067134e039\",\n                    \"hs_code\": \"0203.29.00\"\n                },\n                {\n                    \"product_id\": \"4f2edc4f-ef9d-4ff6-a96e-d20b311b8570\",\n                    \"item_type_id\": \"81b42633-6d75-493e-8e1d-49067134e039\",\n                    \"hs_code\": \"0203.29.00\"\n                },\n                {\n                    \"product_id\": \"aec5c67c-7ae5-4e60-8c22-28eb95513019\",\n                    \"item_type_id\": \"81b42633-6d75-493e-8e1d-49067134e039\",\n                    \"hs_code\": \"0203.29.00\"\n                },\n                {\n                    \"product_id\": \"9853e90c-82fe-4e93-ae8a-a4bbc1372444\",\n                    \"item_type_id\": \"81b42633-6d75-493e-8e1d-49067134e039\",\n                    \"hs_code\": \"0203.29.00\"\n                },\n                {\n                    \"product_id\": \"8583abc7-c086-47a6-aca4-41625c24dd52\",\n                    \"item_type_id\": \"81b42633-6d75-493e-8e1d-49067134e039\",\n                    \"hs_code\": \"0203.29.00\"\n                },\n                {\n                    \"product_id\": \"59ce3e14-933a-4688-af7f-9c05b8c306f4\",\n                    \"item_type_id\": \"81b42633-6d75-493e-8e1d-49067134e039\",\n                    \"hs_code\": \"0203.29.00\"\n                },\n                {\n                    \"product_id\": \"0b85a6d4-5ec0-4d32-8d19-d2b898bef032\",\n                    \"item_type_id\": \"81b42633-6d75-493e-8e1d-49067134e039\",\n                    \"hs_code\": \"0203.29.00\"\n                },\n                {\n                    \"product_id\": \"d61670a2-ca90-4bdd-be83-c4b0fb685988\",\n                    \"item_type_id\": \"81b42633-6d75-493e-8e1d-49067134e039\",\n                    \"hs_code\": \"0203.29.00\"\n                },\n                {\n                    \"product_id\": \"32bf0aa2-e60a-4953-9a7f-e23b85311f1f\",\n                    \"item_type_id\": \"81b42633-6d75-493e-8e1d-49067134e039\",\n                    \"hs_code\": \"0203.29.00\"\n                },\n                {\n                    \"product_id\": \"08ad1000-fb13-4654-b702-617fdeddb170\",\n                    \"item_type_id\": \"81b42633-6d75-493e-8e1d-49067134e039\",\n                    \"hs_code\": \"0203.29.00\"\n                },\n                {\n                    \"product_id\": \"3d084cef-cbae-4826-9e3e-1766f40b9a94\",\n                    \"item_type_id\": \"81b42633-6d75-493e-8e1d-49067134e039\",\n                    \"hs_code\": \"0206.49.00\"\n                },\n                {\n                    \"product_id\": \"495f25a0-2e9d-457e-9099-c5d3cab6ab06\",\n                    \"item_type_id\": \"81b42633-6d75-493e-8e1d-49067134e039\",\n                    \"hs_code\": \"0203.22.00\"\n                },\n                {\n                    \"product_id\": \"f849f2b3-0016-40c8-b6fb-fcf084cf1c64\",\n                    \"item_type_id\": \"81b42633-6d75-493e-8e1d-49067134e039\",\n                    \"hs_code\": \"0206.49.00\"\n                },\n                {\n                    \"product_id\": \"0078d9c6-fe8a-48a5-a384-6f3321860463\",\n                    \"item_type_id\": \"81b42633-6d75-493e-8e1d-49067134e039\",\n                    \"hs_code\": \"0203.29.00\"\n                },\n                {\n                    \"product_id\": \"59a17cd0-b376-481f-a40f-c744374db41d\",\n                    \"item_type_id\": \"81b42633-6d75-493e-8e1d-49067134e039\",\n                    \"hs_code\": \"0206.49.00\"\n                },\n                {\n                    \"product_id\": \"4b924ae8-3698-42b4-a8fa-48ee4da4f1df\",\n                    \"item_type_id\": \"81b42633-6d75-493e-8e1d-49067134e039\",\n                    \"hs_code\": \"0203.22.00\"\n                },\n                {\n                    \"product_id\": \"3ebdc397-e046-4bc6-986d-bb2ff643d91e\",\n                    \"item_type_id\": \"81b42633-6d75-493e-8e1d-49067134e039\",\n                    \"hs_code\": \"0203.29.00\"\n                },\n                {\n                    \"product_id\": \"2da0dd8f-9975-4f23-b948-60f6c943da4e\",\n                    \"item_type_id\": \"81b42633-6d75-493e-8e1d-49067134e039\",\n                    \"hs_code\": \"0504.00.90\"\n                },\n                {\n                    \"product_id\": \"703f3753-05e6-4e34-849d-1ff20a1e730c\",\n                    \"item_type_id\": \"81b42633-6d75-493e-8e1d-49067134e039\",\n                    \"hs_code\": \"0209.10.00\"\n                },\n                {\n                    \"product_id\": \"f9ba6917-6ff6-47bb-acb3-0d7fc63c6147\",\n                    \"item_type_id\": \"81b42633-6d75-493e-8e1d-49067134e039\",\n                    \"hs_code\": \"0203.29.00\"\n                }\n            ],\n            \"attributes\": {\n                \"business_type_id\": \"8f6394da-f14a-498c-9d84-51bc01802648\",\n                \"user_id\": \"376d6eb1-9b9b-4801-b02b-7c1dda7c0a0b\",\n                \"locations\": [\n                    \"0470f4fb-14a4-4b21-8ea8-6fa2e1ad6636\"\n                ],\n                \"pricing\": {\n                    \"currency\": \"USD\",\n                    \"measure_id\": \"a72cfe55-d2dd-4494-b3a7-1f07c844a02d\",\n                    \"incoterm\": \"fd53c97b-72e9-4183-9ef4-72d413bdfc02\",\n                    \"tax_location\": \"0470f4fb-14a4-4b21-8ea8-6fa2e1ad6636\",\n                    \"other_tax\": \"\",\n                    \"tax_gst\": \"\",\n                    \"tax_type\": \"\",\n                    \"tax_hst\": \"\",\n                    \"tax_pst\": \"\",\n                    \"default_margin\": 2.9\n                },\n                \"payables_method\": \"\",\n                \"scac_code\": \"\",\n                \"carrier_id\": \"\",\n                \"default_location\": \"0470f4fb-14a4-4b21-8ea8-6fa2e1ad6636\",\n                \"reset_password\": false,\n                \"credit_info\": {\n                    \"avg_days_to_due_date\": 0\n                }\n            }\n        },\n        \"buyer_credit_pool\": {\n            \"max\": 500000,\n            \"account\": \"1572537188.3077\",\n            \"user_id\": \"45831c78-8a40-42a9-95f8-d5d0d859901a\",\n            \"pool_id\": \"b02870f8-9f7d-40af-86a1-31ed19a97d1b\",\n            \"currency\": {\n                \"code\": \"USD\",\n                \"symbol\": \"$\"\n            }\n        },\n        \"buying_trader\": {\n            \"firstname\": \"Alicia\",\n            \"lastname\": \"Fernandez\",\n            \"primaryemail\": \"afernandez@bassettwalkerinc.com\",\n            \"role\": \"trader\",\n            \"login_allowed\": true,\n            \"primaryphone\": \"+14163637070\",\n            \"account\": \"1510188624.5357\",\n            \"user_id\": \"d67d0c2c-bd0c-466e-ab71-112d8baca8ce\",\n            \"created\": 1526998113,\n            \"lastupdated\": 0,\n            \"emails\": [\n                \"afernandez@bassettwalkerinc.com\"\n            ],\n            \"phones\": [\n                \"4163637070\"\n            ],\n            \"lastlogin\": 1680797575,\n            \"archived\": false,\n            \"attributes\": {\n                \"cell_phone\": \"\",\n                \"matched_offer_checked\": \"\"\n            }\n        },\n        \"carrier\": {\n            \"carrier_id\": \"83c82f29-4280-4ca9-b606-1617de6285ea\",\n            \"created\": 1675167706,\n            \"updated\": 1675443226,\n            \"account\": \"1675099431.4521\",\n            \"user_id\": \"c845ac05-deb7-4f6f-be8a-44f2123903ec\",\n            \"type\": [\n                \"land\"\n            ],\n            \"archived\": false,\n            \"name\": \"Sun Set Transportation\"\n        },\n        \"coordinator\": {\n            \"firstname\": \"Laura\",\n            \"lastname\": \"Yanez\",\n            \"primaryemail\": \"lyanez@bassettwalkerinc.com\",\n            \"role\": \"logistics\",\n            \"login_allowed\": true,\n            \"primaryphone\": \"416363707\",\n            \"account\": \"1510188624.5357\",\n            \"user_id\": \"64ee6877-b4ff-42c5-944f-c51ece18ac95\",\n            \"created\": 1526666555,\n            \"lastupdated\": 0,\n            \"emails\": [\n                \"lyanez@bassettwalkerinc.com\"\n            ],\n            \"phones\": [\n                \"416363707\"\n            ],\n            \"lastlogin\": 1680717320,\n            \"archived\": false,\n            \"attributes\": {\n                \"cell_phone\": \"\",\n                \"matched_offer_checked\": \"\"\n            }\n        },\n        \"deal\": {\n            \"deal_id\": \"157230TCI\",\n            \"display_deal_id\": \"157230TC\",\n            \"deal_type\": \"market_order\",\n            \"created\": 1680802247,\n            \"updated\": 1680805239,\n            \"buyer_id\": \"1572537188.3077\",\n            \"buyer_user_id\": \"49d27e29-8930-425d-abaf-b283c579168f\",\n            \"dest_location\": \"0470f4fb-14a4-4b21-8ea8-6fa2e1ad6636\",\n            \"logistics_user_id\": \"64ee6877-b4ff-42c5-944f-c51ece18ac95\",\n            \"origin_location\": \"74b0764a-b3fc-452d-8e94-f68b7b7bd971\",\n            \"supplier_id\": \"1542213398.3953\",\n            \"supplier_user_id\": \"f413151d-7125-4af6-9773-84cd2fadea0f\",\n            \"trader_user_id_supplier\": \"d67d0c2c-bd0c-466e-ab71-112d8baca8ce\",\n            \"trader_user_id\": \"17321ed5-4fec-40c6-8ee9-103baac2b80c\",\n            \"status\": \"Confirmed\",\n            \"collection_date\": 1684759691,\n            \"seller_instructions\": null,\n            \"buyer_instructions\": null,\n            \"deal_group\": \"157230TCI\",\n            \"supplier_anticipated_liability\": 1681430399,\n            \"buyer_confirmed\": 1680802255,\n            \"seller_confirmed\": 0,\n            \"locked\": 1680802255,\n            \"bwi_inventory\": true,\n            \"wo_export_docs\": false,\n            \"convertible\": true,\n            \"offers\": [\n                \"a36077e4-6e28-4570-9276-c9fd07820303\"\n            ],\n            \"bids\": [\n                \"02fdb3d2-9f47-4f4d-906c-4a0881e5d563\"\n            ],\n            \"origin_deal_id\": \"157230TC\",\n            \"attributes\": {\n                \"buyer_payment_terms\": {\n                    \"days\": 30,\n                    \"from_date\": \"delivery_date\",\n                    \"payment_method_open\": \"wire_transfer\",\n                    \"reference_id\": \"\",\n                    \"credit_type\": \"insurance\",\n                    \"type\": \"open\",\n                    \"reference_name\": \"\"\n                },\n                \"buyer_user_ids\": [\n                    \"49d27e29-8930-425d-abaf-b283c579168f\",\n                    \"16ad5d18-4bee-4687-95a5-0b4155aa50c4\",\n                    \"e67d2154-b66a-4f2e-855b-3c91d36a7b36\"\n                ],\n                \"docs_country\": \"MX\",\n                \"origin_country\": \"US\",\n                \"supplier_payment_terms\": {\n                    \"days\": 7,\n                    \"from_date\": \"invoice_date\",\n                    \"reference_id\": \"e3155c5a-3433-4172-b8cd-1f74d49f415d\",\n                    \"type\": \"\",\n                    \"reference_name\": \"Pre Payment\"\n                },\n                \"supplier_user_ids\": [\n                    \"f413151d-7125-4af6-9773-84cd2fadea0f\"\n                ],\n                \"fx_rates\": {\n                    \"rates\": {\n                        \"AUD\": {\n                            \"10M\": {\n                                \"ask\": 0.90497,\n                                \"bid\": 0.90439\n                            },\n                            \"11M\": {\n                                \"ask\": 0.9053,\n                                \"bid\": 0.90462\n                            },\n                            \"12M\": {\n                                \"ask\": 0.90569,\n                                \"bid\": 0.90498\n                            },\n                            \"1M\": {\n                                \"ask\": 0.90071,\n                                \"bid\": 0.90054\n                            },\n                            \"2M\": {\n                                \"ask\": 0.90135,\n                                \"bid\": 0.90116\n                            },\n                            \"3M\": {\n                                \"ask\": 0.90196,\n                                \"bid\": 0.90172\n                            },\n                            \"4M\": {\n                                \"ask\": 0.90266,\n                                \"bid\": 0.90235\n                            },\n                            \"5M\": {\n                                \"ask\": 0.90322,\n                                \"bid\": 0.90286\n                            },\n                            \"6M\": {\n                                \"ask\": 0.90366,\n                                \"bid\": 0.90331\n                            },\n                            \"7M\": {\n                                \"ask\": 0.9042,\n                                \"bid\": 0.90375\n                            },\n                            \"8M\": {\n                                \"ask\": 0.90465,\n                                \"bid\": 0.9041\n                            },\n                            \"9M\": {\n                                \"ask\": 0.90468,\n                                \"bid\": 0.90413\n                            },\n                            \"spot\": {\n                                \"ask\": 0.90001,\n                                \"bid\": 0.8999\n                            }\n                        },\n                        \"EUR\": {\n                            \"10M\": {\n                                \"ask\": 1.48732,\n                                \"bid\": 1.4864\n                            },\n                            \"11M\": {\n                                \"ask\": 1.48815,\n                                \"bid\": 1.48714\n                            },\n                            \"12M\": {\n                                \"ask\": 1.48924,\n                                \"bid\": 1.48808\n                            },\n                            \"1M\": {\n                                \"ask\": 1.47542,\n                                \"bid\": 1.47526\n                            },\n                            \"2M\": {\n                                \"ask\": 1.47715,\n                                \"bid\": 1.47694\n                            },\n                            \"3M\": {\n                                \"ask\": 1.47882,\n                                \"bid\": 1.47854\n                            },\n                            \"4M\": {\n                                \"ask\": 1.48043,\n                                \"bid\": 1.48001\n                            },\n                            \"5M\": {\n                                \"ask\": 1.48167,\n                                \"bid\": 1.48116\n                            },\n                            \"6M\": {\n                                \"ask\": 1.48278,\n                                \"bid\": 1.48232\n                            },\n                            \"7M\": {\n                                \"ask\": 1.48397,\n                                \"bid\": 1.48335\n                            },\n                            \"8M\": {\n                                \"ask\": 1.48492,\n                                \"bid\": 1.48419\n                            },\n                            \"9M\": {\n                                \"ask\": 1.48628,\n                                \"bid\": 1.4855\n                            },\n                            \"spot\": {\n                                \"ask\": 1.47345,\n                                \"bid\": 1.47337\n                            }\n                        },\n                        \"GBP\": {\n                            \"10M\": {\n                                \"ask\": 1.67709,\n                                \"bid\": 1.67595\n                            },\n                            \"11M\": {\n                                \"ask\": 1.67651,\n                                \"bid\": 1.67536\n                            },\n                            \"12M\": {\n                                \"ask\": 1.67806,\n                                \"bid\": 1.67357\n                            },\n                            \"1M\": {\n                                \"ask\": 1.68038,\n                                \"bid\": 1.67939\n                            },\n                            \"2M\": {\n                                \"ask\": 1.68075,\n                                \"bid\": 1.67926\n                            },\n                            \"3M\": {\n                                \"ask\": 1.68089,\n                                \"bid\": 1.6791\n                            },\n                            \"4M\": {\n                                \"ask\": 1.67996,\n                                \"bid\": 1.67944\n                            },\n                            \"5M\": {\n                                \"ask\": 1.67963,\n                                \"bid\": 1.67897\n                            },\n                            \"6M\": {\n                                \"ask\": 1.68072,\n                                \"bid\": 1.67753\n                            },\n                            \"7M\": {\n                                \"ask\": 1.67862,\n                                \"bid\": 1.67787\n                            },\n                            \"8M\": {\n                                \"ask\": 1.67817,\n                                \"bid\": 1.67727\n                            },\n                            \"9M\": {\n                                \"ask\": 1.67757,\n                                \"bid\": 1.67656\n                            },\n                            \"spot\": {\n                                \"ask\": 1.67938,\n                                \"bid\": 1.67929\n                            }\n                        },\n                        \"MXN\": {\n                            \"10M\": {\n                                \"ask\": 0.06938,\n                                \"bid\": 0.06919\n                            },\n                            \"11M\": {\n                                \"ask\": 0.069,\n                                \"bid\": 0.06873\n                            },\n                            \"12M\": {\n                                \"ask\": 0.06861,\n                                \"bid\": 0.06832\n                            },\n                            \"1M\": {\n                                \"ask\": 0.07349,\n                                \"bid\": 0.07339\n                            },\n                            \"2M\": {\n                                \"ask\": 0.07298,\n                                \"bid\": 0.07288\n                            },\n                            \"3M\": {\n                                \"ask\": 0.07252,\n                                \"bid\": 0.07241\n                            },\n                            \"4M\": {\n                                \"ask\": 0.07206,\n                                \"bid\": 0.07192\n                            },\n                            \"5M\": {\n                                \"ask\": 0.0716,\n                                \"bid\": 0.07143\n                            },\n                            \"6M\": {\n                                \"ask\": 0.07114,\n                                \"bid\": 0.07094\n                            },\n                            \"7M\": {\n                                \"ask\": 0.0707,\n                                \"bid\": 0.07049\n                            },\n                            \"8M\": {\n                                \"ask\": 0.07027,\n                                \"bid\": 0.07005\n                            },\n                            \"9M\": {\n                                \"ask\": 0.06981,\n                                \"bid\": 0.06958\n                            },\n                            \"spot\": {\n                                \"ask\": 0.07395,\n                                \"bid\": 0.07387\n                            }\n                        },\n                        \"NZD\": {\n                            \"10M\": {\n                                \"ask\": 0.8359,\n                                \"bid\": 0.83485\n                            },\n                            \"11M\": {\n                                \"ask\": 0.83463,\n                                \"bid\": 0.83328\n                            },\n                            \"12M\": {\n                                \"ask\": 0.83381,\n                                \"bid\": 0.8322\n                            },\n                            \"1M\": {\n                                \"ask\": 0.84274,\n                                \"bid\": 0.84227\n                            },\n                            \"2M\": {\n                                \"ask\": 0.84215,\n                                \"bid\": 0.8416\n                            },\n                            \"3M\": {\n                                \"ask\": 0.84152,\n                                \"bid\": 0.84092\n                            },\n                            \"4M\": {\n                                \"ask\": 0.84075,\n                                \"bid\": 0.84003\n                            },\n                            \"5M\": {\n                                \"ask\": 0.84002,\n                                \"bid\": 0.83922\n                            },\n                            \"6M\": {\n                                \"ask\": 0.83929,\n                                \"bid\": 0.83838\n                            },\n                            \"7M\": {\n                                \"ask\": 0.83838,\n                                \"bid\": 0.83745\n                            },\n                            \"8M\": {\n                                \"ask\": 0.8376,\n                                \"bid\": 0.83659\n                            },\n                            \"9M\": {\n                                \"ask\": 0.83646,\n                                \"bid\": 0.8353\n                            },\n                            \"spot\": {\n                                \"ask\": 0.84315,\n                                \"bid\": 0.84277\n                            }\n                        },\n                        \"USD\": {\n                            \"10M\": {\n                                \"ask\": 1.34234,\n                                \"bid\": 1.34188\n                            },\n                            \"11M\": {\n                                \"ask\": 1.34213,\n                                \"bid\": 1.3417\n                            },\n                            \"12M\": {\n                                \"ask\": 1.34209,\n                                \"bid\": 1.34171\n                            },\n                            \"1M\": {\n                                \"ask\": 1.34706,\n                                \"bid\": 1.3469\n                            },\n                            \"2M\": {\n                                \"ask\": 1.34635,\n                                \"bid\": 1.34616\n                            },\n                            \"3M\": {\n                                \"ask\": 1.34565,\n                                \"bid\": 1.34543\n                            },\n                            \"4M\": {\n                                \"ask\": 1.34525,\n                                \"bid\": 1.34472\n                            },\n                            \"5M\": {\n                                \"ask\": 1.3446,\n                                \"bid\": 1.34438\n                            },\n                            \"6M\": {\n                                \"ask\": 1.34389,\n                                \"bid\": 1.34368\n                            },\n                            \"7M\": {\n                                \"ask\": 1.34363,\n                                \"bid\": 1.34341\n                            },\n                            \"8M\": {\n                                \"ask\": 1.34332,\n                                \"bid\": 1.34304\n                            },\n                            \"9M\": {\n                                \"ask\": 1.34258,\n                                \"bid\": 1.34225\n                            },\n                            \"spot\": {\n                                \"ask\": 1.34762,\n                                \"bid\": 1.34749\n                            }\n                        }\n                    }\n                },\n                \"estimated\": {\n                    \"weight\": {\n                        \"measure_id\": \"a72cfe55-d2dd-4494-b3a7-1f07c844a02d\",\n                        \"amount\": 40000\n                    },\n                    \"sell_weight\": {\n                        \"measure_id\": \"a72cfe55-d2dd-4494-b3a7-1f07c844a02d\",\n                        \"amount\": 40000\n                    },\n                    \"unweighted\": [],\n                    \"sell_unweighted\": [],\n                    \"revenue\": 42538.66,\n                    \"buy_price\": 25600,\n                    \"buy_price_cad\": 34484.74,\n                    \"buy_currency\": \"USD\",\n                    \"sell_price\": 31600,\n                    \"sell_price_cad\": 42538.66,\n                    \"sell_currency\": \"USD\",\n                    \"costs\": 42593.14,\n                    \"margin\": -54.49,\n                    \"margin_p\": -0.0012809055,\n                    \"raw_cost_cad\": 1.06,\n                    \"raw_cost\": 0.79,\n                    \"target_cost_cad\": 1.13,\n                    \"target_cost\": 0.84,\n                    \"partial_margin\": 0\n                },\n                \"fx_rates_bid_range\": \"2M\",\n                \"fx_rates_ask_range\": \"1M\",\n                \"shipment_dates\": {\n                    \"from\": 1680825599,\n                    \"to\": 1680825599\n                },\n                \"delivery_dates\": {\n                    \"from\": 1681171199,\n                    \"to\": 1681171199\n                },\n                \"deal_date\": 1680802247,\n                \"fx_rates_timestamp\": 1680801668,\n                \"fx_rates_range\": \"2M\",\n                \"temperature_units\": \"C\",\n                \"supplier_term_date\": 1680825599,\n                \"buyer_term_date\": 1681113611,\n                \"finance_term\": 38.53347222222222,\n                \"seller_confirm_sent\": 0,\n                \"seller_confirmed_by\": \"\",\n                \"buyer_confirm_sent\": 1680802255,\n                \"buyer_confirmed_by\": \"17321ed5-4fec-40c6-8ee9-103baac2b80c\",\n                \"submitted_at\": 1680802255,\n                \"confirmed_at\": 1680802255,\n                \"actual\": {\n                    \"weight\": {\n                        \"measure_id\": \"a72cfe55-d2dd-4494-b3a7-1f07c844a02d\",\n                        \"amount\": 0\n                    },\n                    \"sell_weight\": {\n                        \"measure_id\": \"a72cfe55-d2dd-4494-b3a7-1f07c844a02d\",\n                        \"amount\": 0\n                    },\n                    \"unweighted\": [],\n                    \"sell_unweighted\": [],\n                    \"revenue\": 0,\n                    \"buy_price\": 0,\n                    \"buy_price_cad\": 0,\n                    \"buy_currency\": \"USD\",\n                    \"sell_price\": 0,\n                    \"sell_price_cad\": 0,\n                    \"sell_currency\": \"USD\",\n                    \"costs\": 80,\n                    \"margin\": -80,\n                    \"margin_p\": 0,\n                    \"raw_cost_cad\": 1.07,\n                    \"raw_cost\": 0.79,\n                    \"target_cost_cad\": 1.13,\n                    \"target_cost\": 0.84,\n                    \"partial_buy_price\": 25600,\n                    \"partial_margin\": -68.81,\n                    \"partial_margin_p\": -0.0016176857,\n                    \"partial_sell_price\": 31600,\n                    \"partial_sell_weight\": {\n                        \"measure_id\": \"a72cfe55-d2dd-4494-b3a7-1f07c844a02d\",\n                        \"amount\": 40000\n                    },\n                    \"partial_weight\": {\n                        \"measure_id\": \"a72cfe55-d2dd-4494-b3a7-1f07c844a02d\",\n                        \"amount\": 40000\n                    }\n                },\n                \"portal_access\": [\n                    1572537188.3077,\n                    1542213398.3953\n                ],\n                \"shipment\": {\n                    \"shipper\": null,\n                    \"delivery\": {\n                        \"consignee\": {\n                            \"cc\": \"MX\",\n                            \"name\": \"Ide Foods S.A de C.V.\",\n                            \"street1\": \"Blvd. Francisco Labastida Ochoa # 164 Pte Loc. 902\",\n                            \"street2\": \"Col. Desarrollo Urbano Tres Rios\",\n                            \"country\": \"Mexico\",\n                            \"city\": \"Culiacan\",\n                            \"state\": \"Sinaloa\",\n                            \"state_code\": \"Sinaloa\",\n                            \"postal\": \"80020\",\n                            \"telephone1\": \"(667) 713 -3578\",\n                            \"email\": \"compras@idefoods.com\",\n                            \"tax_id\": \"IFO150824CU9\"\n                        },\n                        \"notify_party\": null\n                    },\n                    \"actual_pickup_date\": 1680768009,\n                    \"actual_delivery_date\": 1681113611,\n                    \"actual_delivery_segment_id\": \"9700d676-f6a5-46a1-96ce-457e784835b5\",\n                    \"actual_pickup_segment_id\": \"9700d676-f6a5-46a1-96ce-457e784835b5\",\n                    \"type\": \"\"\n                },\n                \"extra\": {\n                    \"comments\": \"ETA 3PM /HP - 11 AM 2373161 dummy dom sent\",\n                    \"color\": \"Rose\",\n                    \"load_ready\": false,\n                    \"loading_instructions\": false,\n                    \"original_sent\": false,\n                    \"customs_broker\": \"April6-10/Sunset 4350+/Hatfield PA - IDE Otaymesa\"\n                },\n                \"est_finance_term\": 39.19931712962963\n            }\n        },\n        \"deal_type\": [\n            \"segments\",\n            \"tci\",\n            \"late\"\n        ],\n        \"deringer\": {\n            \"bonds\": {\n                \"total\": 0\n            },\n            \"notes_added\": false\n        },\n        \"dest_country\": {\n            \"user_id\": \"42kvwj5j-312b-a563k-88f6-456kwfk4kwhg\",\n            \"code\": \"US\",\n            \"name\": \"United States of America\",\n            \"oldId\": \"\",\n            \"created\": 1526502164,\n            \"updated\": 1526502164,\n            \"country_id\": \"993a428d-d147-4ff1-92fe-12d4bc8d7ec7\"\n        },\n        \"dest_location\": {\n            \"name\": \"Hidalgo, TX, USA\",\n            \"country\": \"US\",\n            \"city\": \"Hidalgo\",\n            \"type\": \"unknown\",\n            \"user_id\": \"376d6eb1-9b9b-4801-b02b-7c1dda7c0a0b\",\n            \"created\": 1527008855,\n            \"updated\": 1528374625,\n            \"location_id\": \"0470f4fb-14a4-4b21-8ea8-6fa2e1ad6636\",\n            \"state\": \"TX\",\n            \"attributes\": {\n                \"tags\": [],\n                \"port\": \"Hidalgo, TX, USA\"\n            }\n        },\n        \"docs_country\": {\n            \"user_id\": \"42kvwj5j-312b-a563k-88f6-456kwfk4kwhg\",\n            \"code\": \"MX\",\n            \"name\": \"Mexico\",\n            \"oldId\": \"\",\n            \"created\": 1526502164,\n            \"updated\": 1526502164,\n            \"country_id\": \"e51d7215-da8d-45a9-ae7f-01cd07b8778d\"\n        },\n        \"documents_count\": 5,\n        \"dropoff_date\": 1681113611,\n        \"dropoff_location\": {\n            \"name\": \"San Diego, CA, USA\",\n            \"country\": \"US\",\n            \"city\": \"San Diego\",\n            \"type\": \"unknown\",\n            \"user_id\": \"fa50135b-725f-433b-81f1-b9a0268e6907\",\n            \"created\": 1527165020,\n            \"updated\": 1678223263,\n            \"location_id\": \"a7791f86-0980-4dc3-81bd-65a14b09ba48\",\n            \"state\": \"CA\",\n            \"schedule_d_port_code\": \"2501\",\n            \"attributes\": {\n                \"tags\": [],\n                \"port\": \"San Diego, CA, USA\"\n            }\n        },\n        \"earliest_segment\": {\n            \"segment_id\": \"9700d676-f6a5-46a1-96ce-457e784835b5\",\n            \"carrier_id\": \"83c82f29-4280-4ca9-b606-1617de6285ea\",\n            \"deals\": [\n                \"157230TCI\"\n            ],\n            \"shipment_id\": \"75474a2b-f2e4-4c0c-887a-976a28d4c028\",\n            \"type\": \"land\",\n            \"created\": 1680536543,\n            \"updated\": 1680805238,\n            \"attributes\": {\n                \"origin_id\": \"60651787-1b03-45b8-a20e-2f11203b50d3\",\n                \"freight_forwarder\": \"\",\n                \"carrier_account\": \"1675099431.4521\",\n                \"currency\": \"USD\",\n                \"amount\": 4350,\n                \"etd_date_time\": false,\n                \"actual_pickup_date\": 1680768009,\n                \"actual_pickup_date_time\": true,\n                \"eta_date_time\": false,\n                \"actual_delivery_date\": 1681113611,\n                \"actual_delivery_date_time\": true,\n                \"exact_loading\": {\n                    \"account\": \"1542213398.3953\",\n                    \"address\": {\n                        \"cc\": \"US\",\n                        \"name\": \"Clemens Food Group, LLC\",\n                        \"department\": \"93638010-78f1-4797-8e8d-aaaa9658c337\",\n                        \"establishment\": \"M791- P791-V791\",\n                        \"street1\": \"2700 Clemens Road\",\n                        \"country\": \"United States\",\n                        \"city\": \"Hatfield\",\n                        \"state\": \"Pennsylvania\",\n                        \"state_code\": \"Pennsylvania\",\n                        \"postal\": \"19440\",\n                        \"telephone1\": \"215 368 2500\",\n                        \"tax_id\": \"752990438\",\n                        \"fax\": \"215 368 3018\",\n                        \"note\": \"MIKE TROUT\\nCertification - Export; Meat Processing; Meat Slaughter\"\n                    }\n                },\n                \"exact_dropoff\": {\n                    \"account\": \"1526662061.2782\",\n                    \"address\": {\n                        \"cc\": \"US\",\n                        \"name\": \"Intactics\",\n                        \"street1\": \"9865 Marconi Dr. Suite A\",\n                        \"country\": \"United States\",\n                        \"city\": \"San Diego\",\n                        \"state\": \"California\",\n                        \"state_code\": \"California\",\n                        \"postal\": \"92154\"\n                    }\n                },\n                \"destination_id\": \"a7791f86-0980-4dc3-81bd-65a14b09ba48\"\n            }\n        },\n        \"earliest_vessel_segment\": null,\n        \"est_delivery_date\": 0,\n        \"est_pickup_date\": 0,\n        \"freight_rates_amount\": {\n            \"amount\": 4350,\n            \"currency\": \"USD\"\n        },\n        \"gross_weight\": {\n            \"measure_id\": \"a72cfe55-d2dd-4494-b3a7-1f07c844a02d\",\n            \"amount\": 0\n        },\n        \"latest_segment\": {\n            \"segment_id\": \"9700d676-f6a5-46a1-96ce-457e784835b5\",\n            \"carrier_id\": \"83c82f29-4280-4ca9-b606-1617de6285ea\",\n            \"deals\": [\n                \"157230TCI\"\n            ],\n            \"shipment_id\": \"75474a2b-f2e4-4c0c-887a-976a28d4c028\",\n            \"type\": \"land\",\n            \"created\": 1680536543,\n            \"updated\": 1680805238,\n            \"attributes\": {\n                \"origin_id\": \"60651787-1b03-45b8-a20e-2f11203b50d3\",\n                \"freight_forwarder\": \"\",\n                \"carrier_account\": \"1675099431.4521\",\n                \"currency\": \"USD\",\n                \"amount\": 4350,\n                \"etd_date_time\": false,\n                \"actual_pickup_date\": 1680768009,\n                \"actual_pickup_date_time\": true,\n                \"eta_date_time\": false,\n                \"actual_delivery_date\": 1681113611,\n                \"actual_delivery_date_time\": true,\n                \"exact_loading\": {\n                    \"account\": \"1542213398.3953\",\n                    \"address\": {\n                        \"cc\": \"US\",\n                        \"name\": \"Clemens Food Group, LLC\",\n                        \"department\": \"93638010-78f1-4797-8e8d-aaaa9658c337\",\n                        \"establishment\": \"M791- P791-V791\",\n                        \"street1\": \"2700 Clemens Road\",\n                        \"country\": \"United States\",\n                        \"city\": \"Hatfield\",\n                        \"state\": \"Pennsylvania\",\n                        \"state_code\": \"Pennsylvania\",\n                        \"postal\": \"19440\",\n                        \"telephone1\": \"215 368 2500\",\n                        \"tax_id\": \"752990438\",\n                        \"fax\": \"215 368 3018\",\n                        \"note\": \"MIKE TROUT\\nCertification - Export; Meat Processing; Meat Slaughter\"\n                    }\n                },\n                \"exact_dropoff\": {\n                    \"account\": \"1526662061.2782\",\n                    \"address\": {\n                        \"cc\": \"US\",\n                        \"name\": \"Intactics\",\n                        \"street1\": \"9865 Marconi Dr. Suite A\",\n                        \"country\": \"United States\",\n                        \"city\": \"San Diego\",\n                        \"state\": \"California\",\n                        \"state_code\": \"California\",\n                        \"postal\": \"92154\"\n                    }\n                },\n                \"destination_id\": \"a7791f86-0980-4dc3-81bd-65a14b09ba48\"\n            }\n        },\n        \"note_flags\": {\n            \"base_warning\": false,\n            \"deringer_warning\": false\n        },\n        \"note_warning\": false,\n        \"origin_country\": {\n            \"user_id\": \"42kvwj5j-312b-a563k-88f6-456kwfk4kwhg\",\n            \"code\": \"US\",\n            \"name\": \"United States of America\",\n            \"oldId\": \"\",\n            \"created\": 1526502164,\n            \"updated\": 1526502164,\n            \"country_id\": \"993a428d-d147-4ff1-92fe-12d4bc8d7ec7\"\n        },\n        \"origin_location\": {\n            \"name\": \"Coldwater, MI, USA\",\n            \"country\": \"US\",\n            \"city\": \"Coldwater\",\n            \"type\": \"unknown\",\n            \"user_id\": \"fa50135b-725f-433b-81f1-b9a0268e6907\",\n            \"created\": 1536340538,\n            \"updated\": 1680805294,\n            \"location_id\": \"74b0764a-b3fc-452d-8e94-f68b7b7bd971\",\n            \"state\": \"MI\",\n            \"attributes\": {\n                \"tags\": [],\n                \"port\": \"Coldwater, MI, USA\"\n            }\n        },\n        \"parties\": [\n            {\n                \"account\": \"1542213398.3953\",\n                \"name\": \"Clemens Food Group\",\n                \"type\": \"supplier\",\n                \"is_carrier\": false\n            },\n            {\n                \"account\": \"1572537188.3077\",\n                \"name\": \"Ide Foods S.A de C.V.\",\n                \"type\": \"buyer\",\n                \"is_carrier\": false\n            },\n            {\n                \"account\": \"1526662121.4015\",\n                \"name\": \"Mex Alimentos\",\n                \"type\": \"service_provider\",\n                \"is_carrier\": false\n            },\n            {\n                \"account\": \"1636403141.3702\",\n                \"name\": \"Alimentos Metik\",\n                \"type\": \"service_provider\",\n                \"is_carrier\": false\n            },\n            {\n                \"account\": \"1675099431.4521\",\n                \"name\": \"Sun Set Transportation\",\n                \"type\": \"service_provider\",\n                \"is_carrier\": false\n            }\n        ],\n        \"payment_terms_buyer\": \"30 days from Delivery Date\",\n        \"payment_terms_supplier\": \"7 days from Invoice Date\",\n        \"pickup_date\": 1680768009,\n        \"pickup_location\": {\n            \"name\": \"Hatfield, PA, USA\",\n            \"country\": \"US\",\n            \"city\": \"Hatfield\",\n            \"type\": \"unknown\",\n            \"user_id\": \"42kvwj5j-312b-a563k-88f6-456kwfk4kwhg\",\n            \"created\": 1527008696,\n            \"updated\": 1527008696,\n            \"location_id\": \"60651787-1b03-45b8-a20e-2f11203b50d3\",\n            \"state\": \"PA\",\n            \"attributes\": {\n                \"tags\": null,\n                \"port\": \"\"\n            }\n        },\n        \"product\": {\n            \"name\": \"Bone In, Pork Hams\",\n            \"brand\": \"\",\n            \"product_id\": \"0b4f92e5-260a-4133-82b5-726420c51d1a\",\n            \"type_id\": \"9721a1a3-64ab-4e50-a70a-495759f4f205\",\n            \"category_id\": \"3122b81b-f17c-40de-a5ed-863957934105\",\n            \"category\": {\n                \"category_id\": \"3122b81b-f17c-40de-a5ed-863957934105\",\n                \"name\": \"Meat\"\n            },\n            \"product_type\": {\n                \"type_id\": \"9721a1a3-64ab-4e50-a70a-495759f4f205\",\n                \"name\": \"Pork\"\n            },\n            \"packages_count\": 22,\n            \"supplier\": {\n                \"weight\": 40000,\n                \"measure_id\": \"a72cfe55-d2dd-4494-b3a7-1f07c844a02d\",\n                \"currency_code\": \"USD\"\n            },\n            \"buyer\": {\n                \"weight\": 40000,\n                \"measure_id\": \"a72cfe55-d2dd-4494-b3a7-1f07c844a02d\",\n                \"currency_code\": \"USD\"\n            },\n            \"sell_price\": {\n                \"amount\": 0.79,\n                \"currency\": \"USD\",\n                \"measure_id\": \"a72cfe55-d2dd-4494-b3a7-1f07c844a02d\",\n                \"formula\": []\n            },\n            \"buy_price\": {\n                \"amount\": 0.64,\n                \"currency\": \"USD\",\n                \"measure_id\": \"a72cfe55-d2dd-4494-b3a7-1f07c844a02d\",\n                \"formula\": []\n            },\n            \"hs_code\": [\n                \"0203.12.10\"\n            ],\n            \"item_type\": {\n                \"item_type_id\": \"82518b66-7939-42a4-ab9e-c23ffd737952\",\n                \"name\": \"Fresh\"\n            },\n            \"offer_id\": \"a36077e4-6e28-4570-9276-c9fd07820303\",\n            \"bid_id\": \"02fdb3d2-9f47-4f4d-906c-4a0881e5d563\",\n            \"product_index\": 0,\n            \"schedule_b_code\": {\n                \"item_type_id\": \"82518b66-7939-42a4-ab9e-c23ffd737952\",\n                \"code\": \"0203.12.1000\"\n            }\n        },\n        \"segments\": [\n            {\n                \"segment_id\": \"9700d676-f6a5-46a1-96ce-457e784835b5\",\n                \"carrier_id\": \"83c82f29-4280-4ca9-b606-1617de6285ea\",\n                \"deals\": [\n                    \"157230TCI\"\n                ],\n                \"shipment_id\": \"75474a2b-f2e4-4c0c-887a-976a28d4c028\",\n                \"type\": \"land\",\n                \"created\": 1680536543,\n                \"updated\": 1680805238,\n                \"attributes\": {\n                    \"origin_id\": \"60651787-1b03-45b8-a20e-2f11203b50d3\",\n                    \"freight_forwarder\": \"\",\n                    \"carrier_account\": \"1675099431.4521\",\n                    \"currency\": \"USD\",\n                    \"amount\": 4350,\n                    \"etd_date_time\": false,\n                    \"actual_pickup_date\": 1680768009,\n                    \"actual_pickup_date_time\": true,\n                    \"eta_date_time\": false,\n                    \"actual_delivery_date\": 1681113611,\n                    \"actual_delivery_date_time\": true,\n                    \"exact_loading\": {\n                        \"account\": \"1542213398.3953\",\n                        \"address\": {\n                            \"cc\": \"US\",\n                            \"name\": \"Clemens Food Group, LLC\",\n                            \"department\": \"93638010-78f1-4797-8e8d-aaaa9658c337\",\n                            \"establishment\": \"M791- P791-V791\",\n                            \"street1\": \"2700 Clemens Road\",\n                            \"country\": \"United States\",\n                            \"city\": \"Hatfield\",\n                            \"state\": \"Pennsylvania\",\n                            \"state_code\": \"Pennsylvania\",\n                            \"postal\": \"19440\",\n                            \"telephone1\": \"215 368 2500\",\n                            \"tax_id\": \"752990438\",\n                            \"fax\": \"215 368 3018\",\n                            \"note\": \"MIKE TROUT\\nCertification - Export; Meat Processing; Meat Slaughter\"\n                        }\n                    },\n                    \"exact_dropoff\": {\n                        \"account\": \"1526662061.2782\",\n                        \"address\": {\n                            \"cc\": \"US\",\n                            \"name\": \"Intactics\",\n                            \"street1\": \"9865 Marconi Dr. Suite A\",\n                            \"country\": \"United States\",\n                            \"city\": \"San Diego\",\n                            \"state\": \"California\",\n                            \"state_code\": \"California\",\n                            \"postal\": \"92154\"\n                        }\n                    },\n                    \"destination_id\": \"a7791f86-0980-4dc3-81bd-65a14b09ba48\"\n                }\n            }\n        ],\n        \"selling_trader\": {\n            \"firstname\": \"Harry\",\n            \"lastname\": \"Pino\",\n            \"primaryemail\": \"hpino@bassettwalkerinc.com\",\n            \"role\": \"trader\",\n            \"login_allowed\": true,\n            \"primaryphone\": \"+14163637070\",\n            \"account\": \"1510188624.5357\",\n            \"user_id\": \"17321ed5-4fec-40c6-8ee9-103baac2b80c\",\n            \"created\": 1526998212,\n            \"lastupdated\": 0,\n            \"emails\": [\n                \"hpino@bassettwalkerinc.com\"\n            ],\n            \"phones\": [\n                \"4163637070\"\n            ],\n            \"lastlogin\": 1680802253,\n            \"archived\": false,\n            \"attributes\": {\n                \"cell_phone\": \"\",\n                \"matched_offer_checked\": \"\"\n            }\n        },\n        \"status\": \"complete\",\n        \"submitted_at\": 1680802255,\n        \"supplier\": {\n            \"account\": \"1542213398.3953\",\n            \"name\": \"Clemens Food Group\",\n            \"status\": 2,\n            \"type\": \"supplier\",\n            \"primaryphone\": \"215 368 2500\",\n            \"primaryemail\": \"timm@hqm.com\",\n            \"managers\": [\n                \"6f4e5722-5127-453b-bfdb-08af324a5356\",\n                \"af042ce9-dbf7-4bda-aa57-1eedd8a9d516\",\n                \"d67d0c2c-bd0c-466e-ab71-112d8baca8ce\"\n            ],\n            \"coordinator\": \"20d89909-6729-4fce-86e7-3ab14cb374a3\",\n            \"products\": [\n                \"591b0776-c703-495e-93b0-b5d2b7224fff\",\n                \"36891396-bae2-403c-a6b9-43daead6282d\"\n            ],\n            \"created\": 1542213398,\n            \"lastupdate\": 1678221545,\n            \"emails\": [\n                \"timm@hqm.com\"\n            ],\n            \"phones\": [\n                \"215 368 2500\"\n            ],\n            \"addresses\": [\n                {\n                    \"cc\": \"US\",\n                    \"name\": \"Clemens Food Group, LLC - Hatfield\",\n                    \"establishment\": \"M791 - P791\",\n                    \"street1\": \"2700 Clemens Road\",\n                    \"street2\": \"P.O. Box 902\",\n                    \"country\": \"United States\",\n                    \"city\": \"Hatfield\",\n                    \"state\": \"Pennsylvania\",\n                    \"state_code\": \"Pennsylvania\",\n                    \"postal\": \"19440-0902\",\n                    \"telephone1\": \"215 368 2500\",\n                    \"email\": \"bkrans@clemensfoodgroup.com\",\n                    \"tax_id\": \"Tax ID -75 2990438\",\n                    \"fax\": \"215 368 3018\",\n                    \"note\": \"MIKE TROUT\",\n                    \"primary\": 1,\n                    \"consignee\": 1\n                },\n                {\n                    \"cc\": \"US\",\n                    \"name\": \"US Cold Storage LLc - Quakertown - V27290A\",\n                    \"establishment\": \"V27290A- US Cold Storage LLc - Quakertown, PA\",\n                    \"street1\": \"4000 AM Drive\",\n                    \"country\": \"United States\",\n                    \"city\": \"Quakertown\",\n                    \"state\": \"Pennsylvania\",\n                    \"state_code\": \"Pennsylvania\",\n                    \"postal\": \"18951\",\n                    \"telephone1\": \"215-529-1500\",\n                    \"note\": \"Chad Whitenight \\n\\nCertification - Cysticercus; Certification - Export; Identification - Meat; Identification - Poultry\"\n                },\n                {\n                    \"cc\": \"US\",\n                    \"name\": \"Hatfield Quality Meats, Inc\",\n                    \"establishment\": \"791 - P791\",\n                    \"street1\": \"2700 Clemens Road\",\n                    \"country\": \"United States\",\n                    \"city\": \"Hatfield\",\n                    \"state\": \"Pennsylvania\",\n                    \"state_code\": \"Pennsylvania\",\n                    \"postal\": \"19440\"\n                },\n                {\n                    \"cc\": \"US\",\n                    \"name\": \"US Cold Storage LLc - Quakertown - V27290A\",\n                    \"establishment\": \"V27290A- US Cold Storage LLc - Quakertown, PA\",\n                    \"street1\": \"4000 AM Drive\",\n                    \"country\": \"United States\",\n                    \"city\": \"Quakertown\",\n                    \"state\": \"Pennsylvania\",\n                    \"state_code\": \"Pennsylvania\",\n                    \"postal\": \"18951\",\n                    \"telephone1\": \"215-529-1500\",\n                    \"note\": \"Chad Whitenight \\n\\nCertification - Cysticercus; Certification - Export; Identification - Meat; Identification - Poultry\"\n                },\n                {\n                    \"cc\": \"US\",\n                    \"name\": \"Clemens Food Group, LLC\",\n                    \"department\": \"93638010-78f1-4797-8e8d-aaaa9658c337\",\n                    \"establishment\": \"M791- P791-V791\",\n                    \"street1\": \"2700 Clemens Road\",\n                    \"country\": \"United States\",\n                    \"city\": \"Hatfield\",\n                    \"state\": \"Pennsylvania\",\n                    \"state_code\": \"Pennsylvania\",\n                    \"postal\": \"19440\",\n                    \"telephone1\": \"215 368 2500\",\n                    \"tax_id\": \"752990438\",\n                    \"fax\": \"215 368 3018\",\n                    \"note\": \"MIKE TROUT\\nCertification - Export; Meat Processing; Meat Slaughter\"\n                },\n                {\n                    \"cc\": \"US\",\n                    \"name\": \"Clemens Food Group, LLC - Emmaus - M791A\",\n                    \"establishment\": \"M791A - Clemens Food Group, LLC - Emmaus, PA\",\n                    \"street1\": \"4591 Colebrook Avenue\",\n                    \"country\": \"United States\",\n                    \"city\": \"Emmaus\",\n                    \"state\": \"Pennsylvania\",\n                    \"state_code\": \"Pennsylvania\",\n                    \"postal\": \"18049\",\n                    \"telephone1\": \"(215) 368-2500\",\n                    \"note\": \"Meat Processing; Poultry Processing\"\n                },\n                {\n                    \"cc\": \"US\",\n                    \"name\": \"Frozen Assets\",\n                    \"department\": \"93638010-78f1-4797-8e8d-aaaa9658c337\",\n                    \"street1\": \"555 Northwest Ave\",\n                    \"country\": \"United States\",\n                    \"city\": \"Northlake\",\n                    \"state\": \"Illinois\",\n                    \"state_code\": \"Illinois\",\n                    \"postal\": \"60164\",\n                    \"telephone1\": \"708-292-0950\",\n                    \"note\": \"Please schedule the pickup appointment by emailing customerservice@frozenassets.com\"\n                },\n                {\n                    \"cc\": \"US\",\n                    \"name\": \"Clemens Food Group, LLC\",\n                    \"establishment\": \"M791C\",\n                    \"street1\": \"572 Newton Road\",\n                    \"country\": \"United States\",\n                    \"city\": \"Coldwater\",\n                    \"state\": \"Michigan\",\n                    \"state_code\": \"Michigan\",\n                    \"postal\": \"49036\",\n                    \"telephone1\": \"517 278 2500\",\n                    \"email\": \"bkrans@clemens.com\",\n                    \"tax_id\": \"Tax ID -75 2990438\"\n                },\n                {\n                    \"cc\": \"US\",\n                    \"name\": \"Clemens Coldwater\",\n                    \"department\": \"93638010-78f1-4797-8e8d-aaaa9658c337\",\n                    \"street1\": \"650 North Fiske Rd.\",\n                    \"country\": \"United States\",\n                    \"city\": \"Coldwater\",\n                    \"state\": \"Michigan\",\n                    \"state_code\": \"Michigan\",\n                    \"postal\": \"49036\",\n                    \"telephone1\": \"215-368-2500\"\n                },\n                {\n                    \"cc\": \"US\",\n                    \"name\": \"United States Cold Storage LP (US Cold Storage)\",\n                    \"department\": \"93638010-78f1-4797-8e8d-aaaa9658c337\",\n                    \"street1\": \"1600 W Calton Road\",\n                    \"country\": \"United States\",\n                    \"city\": \"Laredo\",\n                    \"state\": \"Texas\",\n                    \"state_code\": \"Texas\",\n                    \"postal\": \"78041\",\n                    \"telephone1\": \"(956) 722-8207 209\"\n                },\n                {\n                    \"cc\": \"US\",\n                    \"name\": \"Smithfield Packaged Meats Corp.\",\n                    \"department\": \"93638010-78f1-4797-8e8d-aaaa9658c337\",\n                    \"establishment\": \"M360\",\n                    \"street1\": \"3049 E. Vernon Avenue\",\n                    \"country\": \"United States\",\n                    \"city\": \"Vernon\",\n                    \"state\": \"California\",\n                    \"state_code\": \"California\",\n                    \"telephone1\": \"(323) 583-4621\"\n                },\n                {\n                    \"cc\": \"US\",\n                    \"name\": \"Universal Pure\",\n                    \"department\": \"93638010-78f1-4797-8e8d-aaaa9658c337\",\n                    \"street1\": \"8 lee Boulevard\",\n                    \"country\": \"United States\",\n                    \"city\": \"Malvern\",\n                    \"state\": \"Pennsylvania\",\n                    \"state_code\": \"Pennsylvania\",\n                    \"postal\": \"19355\",\n                    \"telephone1\": \"215 368 2500 x8195\",\n                    \"email\": \"Ajoiner@universalpure.com\"\n                },\n                {\n                    \"cc\": \"US\",\n                    \"name\": \"Frozen Assets Cold Storage\",\n                    \"department\": \"93638010-78f1-4797-8e8d-aaaa9658c337\",\n                    \"establishment\": \"M32206 - P32006\",\n                    \"street1\": \"2635 S Western Ave\",\n                    \"country\": \"United States\",\n                    \"city\": \"Chicago\",\n                    \"state\": \"Illinois\",\n                    \"state_code\": \"Illinois\",\n                    \"postal\": \"60608\",\n                    \"telephone1\": \"1 773-247-2319\",\n                    \"email\": \"customerservice@frozenassets.com\",\n                    \"tax_id\": \"Tax ID -75 2990438\"\n                },\n                {\n                    \"cc\": \"US\",\n                    \"name\": \"Cold-Link Logistics\",\n                    \"street1\": \"1870 Transport Lane, Holland, MI 49423\",\n                    \"country\": \"United States\",\n                    \"city\": \"Holland \",\n                    \"state\": \"Michigan\",\n                    \"state_code\": \"Michigan\",\n                    \"postal\": \"49423\"\n                }\n            ],\n            \"products_spec\": [\n                {\n                    \"product_id\": \"591b0776-c703-495e-93b0-b5d2b7224fff\"\n                },\n                {\n                    \"product_id\": \"36891396-bae2-403c-a6b9-43daead6282d\"\n                }\n            ],\n            \"attributes\": {\n                \"business_type_id\": \"\",\n                \"user_id\": \"c845ac05-deb7-4f6f-be8a-44f2123903ec\",\n                \"locations\": [\n                    \"60651787-1b03-45b8-a20e-2f11203b50d3\"\n                ],\n                \"pricing\": {\n                    \"currency\": \"USD\",\n                    \"measure_id\": \"a72cfe55-d2dd-4494-b3a7-1f07c844a02d\",\n                    \"incoterm\": \"95a9eb80-9f6f-411a-91ae-bdae72e79be7\",\n                    \"tax_location\": \"60651787-1b03-45b8-a20e-2f11203b50d3\",\n                    \"other_tax\": \"\",\n                    \"tax_gst\": \"\",\n                    \"tax_type\": \"\",\n                    \"tax_hst\": \"\",\n                    \"tax_pst\": \"\",\n                    \"default_margin\": 0\n                },\n                \"payables_method\": \"\",\n                \"scac_code\": \"\",\n                \"carrier_id\": \"\",\n                \"default_location\": \"\",\n                \"reset_password\": false,\n                \"credit_info\": {\n                    \"avg_days_to_due_date\": 0\n                }\n            }\n        },\n        \"total_weight\": {\n            \"measure_id\": \"a72cfe55-d2dd-4494-b3a7-1f07c844a02d\",\n            \"amount\": 40000\n        },\n        \"vessel_carrier\": null\n    }\n]"}],"_postman_id":"0583daf6-6eac-44d9-b911-4f4d076f2b85"},{"name":"/deals/clone","id":"2adda7ae-1810-44bf-9c46-176c20d71bb8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"1MUoAH5y645h3MrhaIXIchzziLwazWZ5AL5LoivZjmSNfohI5fRmDqYlvR8bggq9rEH53cnrwUIShNlPasFYpj"}},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"deal_id\": \"BWI108361TC\",\n\t\"clones\": [\n\t\t{\n\t\t\t\"shipment_dates\": {\n\t\t\t\t\"from\": 1583884800,\n\t\t\t\t\"to\": 1584662399\n\t\t\t},\n\t\t\t\"delivery_dates\": {\n\t\t\t\t\"from\": 1585094400,\n\t\t\t\t\"to\": 1585871999\n\t\t\t}\n\t\t}\t\n\t]\n}","options":{"raw":{"language":"json"}}},"url":"{{gateway_host}}/deals/clone"},"response":[],"_postman_id":"2adda7ae-1810-44bf-9c46-176c20d71bb8"},{"name":"copy clone","id":"6d260ffb-4530-48a5-8b08-9cc18c076a36","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"8g85UvicxgcP8vJPaOJDA9wVPPrzKuu6cv2BKjKv9QvugN7GwuBATLIndULb5ztG6DocddOI3scsGAARCSK3Qa"}},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"count\": 2\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{gateway_host}}/deals/clones/:clone_id/copy","host":["{{gateway_host}}"],"path":["deals","clones",":clone_id","copy"],"variable":[{"key":"clone_id","value":"BWI109292TC","type":"string"}]}},"response":[],"_postman_id":"6d260ffb-4530-48a5-8b08-9cc18c076a36"},{"name":"/deals/:deal_id/undwind","id":"cd98107f-925f-4488-ace9-d60b0530bcac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"QOrHQsELSqiwYMowGep7WVZMGpJHZXC44DY1NkSFccD9qssHEAMR6HR8D45GTk9PPGXgXSiDnK83AKEDdo927A"}},"method":"POST","header":[],"url":{"raw":"{{gateway_host}}/deals/:deal_id/unwind","host":["{{gateway_host}}"],"path":["deals",":deal_id","unwind"],"variable":[{"key":"deal_id","value":"BWI112219TCI"}]}},"response":[],"_postman_id":"cd98107f-925f-4488-ace9-d60b0530bcac"},{"name":"store deal","id":"4f2e2292-2886-442a-980d-414fa608204e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"bL1C6PxIAgYH9i9AQxTeuc9JHONfbseyqRgXa1d1tlsEHJ1gRndKzvEnKXnvKZOEDQQjMCZX7QeO633OdMbT2T"}},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"updated\":{{$timestamp}},\n    \"details\": {\n        \"actualInvoiceDate\": null,\n        \"antLiabilityDate\": 1722412800,\n        \"brokerageEstAmount\": null,\n        \"brokerageActAmount\": null,\n        \"brokerageCollectionDate\": null,\n        \"brokerageCurrency\": null,\n        \"brokerageCustomer\": null,\n        \"brokeragePaymentTerms\": null,\n        \"brokerageSendBuyerConfirmation\": null,\n        \"brokerageSendSupplierConfirmation\": null,\n        \"brokerageTermDate\": null,\n        \"brokerageTraderId\": null,\n        \"brokerageContactUserIds\": [],\n        \"buyerConfirmedAt\": 0,\n        \"buyerConfirmedBy\": \"\",\n        \"buyerCurrencyCode\": \"USD\",\n        \"buyerFormula\": null,\n        \"buyerId\": \"1659043376.9334\",\n        \"buyerPaymentTerms\": {\n            \"days\": 90,\n            \"from_date\": \"invoice_date\",\n            \"payment_method_open\": \"wire_transfer\",\n            \"reference_id\": \"\",\n            \"credit_type\": \"insurance\",\n            \"type\": \"open\",\n            \"reference_name\": \"\"\n        },\n        \"buyerRef\": \"CPG2420\",\n        \"buyerTermDate\": 1721865599,\n        \"buyerTraderId\": \"d61d4022-aca2-44b6-98f9-c7f2ae6463f8\",\n        \"buyerUserIds\": [\n            \"b89b57e7-869d-4692-a331-5c6771fb9487\"\n        ],\n        \"collectionDate\": 1729641599,\n        \"color\": \"Rose\",\n        \"copyOf\": \"180355TC\",\n        \"date\": 1721658956,\n        \"dealType\": \"market_order\",\n        \"deliveryDatesFrom\": 1721865600,\n        \"deliveryDatesTbd\": null,\n        \"deliveryDatesTo\": 1721951999,\n        \"destLocationId\": \"aefe5abc-b857-4bcb-833c-f77824c52c3b\",\n        \"docsCountryCode\": \"MX\",\n        \"estimateId\": null,\n        \"fxRates\": {\n            \"rates\": {\n                \"USD\": {\n                    \"spot\": {\n                        \"bid\": 1.37647,\n                        \"ask\": 1.37658\n                    },\n                    \"1M\": {\n                        \"bid\": 1.37525,\n                        \"ask\": 1.37539\n                    },\n                    \"2M\": {\n                        \"bid\": 1.37416,\n                        \"ask\": 1.37433\n                    },\n                    \"3M\": {\n                        \"bid\": 1.37317,\n                        \"ask\": 1.37337\n                    },\n                    \"4M\": {\n                        \"bid\": 1.37198,\n                        \"ask\": 1.37224\n                    },\n                    \"5M\": {\n                        \"bid\": 1.37108,\n                        \"ask\": 1.37123\n                    },\n                    \"6M\": {\n                        \"bid\": 1.36997,\n                        \"ask\": 1.37016\n                    },\n                    \"7M\": {\n                        \"bid\": 1.36896,\n                        \"ask\": 1.36929\n                    },\n                    \"8M\": {\n                        \"bid\": 1.36834,\n                        \"ask\": 1.36892\n                    },\n                    \"9M\": {\n                        \"bid\": 1.36749,\n                        \"ask\": 1.3678\n                    },\n                    \"10M\": {\n                        \"bid\": 1.3666,\n                        \"ask\": 1.36704\n                    },\n                    \"11M\": {\n                        \"bid\": 1.36604,\n                        \"ask\": 1.36645\n                    },\n                    \"12M\": {\n                        \"bid\": 1.36535,\n                        \"ask\": 1.36571\n                    }\n                },\n                \"EUR\": {\n                    \"spot\": {\n                        \"bid\": 1.49579,\n                        \"ask\": 1.49587\n                    },\n                    \"1M\": {\n                        \"bid\": 1.49671,\n                        \"ask\": 1.49684\n                    },\n                    \"2M\": {\n                        \"bid\": 1.49759,\n                        \"ask\": 1.49776\n                    },\n                    \"3M\": {\n                        \"bid\": 1.49858,\n                        \"ask\": 1.49879\n                    },\n                    \"4M\": {\n                        \"bid\": 1.49943,\n                        \"ask\": 1.49973\n                    },\n                    \"5M\": {\n                        \"bid\": 1.5005,\n                        \"ask\": 1.50087\n                    },\n                    \"6M\": {\n                        \"bid\": 1.50165,\n                        \"ask\": 1.50198\n                    },\n                    \"7M\": {\n                        \"bid\": 1.50244,\n                        \"ask\": 1.50301\n                    },\n                    \"8M\": {\n                        \"bid\": 1.50337,\n                        \"ask\": 1.50398\n                    },\n                    \"9M\": {\n                        \"bid\": 1.50442,\n                        \"ask\": 1.50503\n                    },\n                    \"10M\": {\n                        \"bid\": 1.50548,\n                        \"ask\": 1.50623\n                    },\n                    \"11M\": {\n                        \"bid\": 1.50645,\n                        \"ask\": 1.50735\n                    },\n                    \"12M\": {\n                        \"bid\": 1.50752,\n                        \"ask\": 1.50838\n                    }\n                },\n                \"AUD\": {\n                    \"spot\": {\n                        \"bid\": 0.91199,\n                        \"ask\": 0.91207\n                    },\n                    \"1M\": {\n                        \"bid\": 0.91191,\n                        \"ask\": 0.91204\n                    },\n                    \"2M\": {\n                        \"bid\": 0.9118,\n                        \"ask\": 0.91196\n                    },\n                    \"3M\": {\n                        \"bid\": 0.91165,\n                        \"ask\": 0.91183\n                    },\n                    \"4M\": {\n                        \"bid\": 0.91132,\n                        \"ask\": 0.91158\n                    },\n                    \"5M\": {\n                        \"bid\": 0.91104,\n                        \"ask\": 0.91137\n                    },\n                    \"6M\": {\n                        \"bid\": 0.91061,\n                        \"ask\": 0.91094\n                    },\n                    \"7M\": {\n                        \"bid\": 0.91012,\n                        \"ask\": 0.91058\n                    },\n                    \"8M\": {\n                        \"bid\": 0.90976,\n                        \"ask\": 0.91024\n                    },\n                    \"9M\": {\n                        \"bid\": 0.9093,\n                        \"ask\": 0.90976\n                    },\n                    \"10M\": {\n                        \"bid\": 0.90872,\n                        \"ask\": 0.90924\n                    },\n                    \"11M\": {\n                        \"bid\": 0.90823,\n                        \"ask\": 0.90885\n                    },\n                    \"12M\": {\n                        \"bid\": 0.90759,\n                        \"ask\": 0.90836\n                    }\n                },\n                \"MXN\": {\n                    \"spot\": {\n                        \"ask\": 0.07674,\n                        \"bid\": 0.07669\n                    },\n                    \"1M\": {\n                        \"ask\": 0.0763,\n                        \"bid\": 0.07623\n                    },\n                    \"2M\": {\n                        \"ask\": 0.07589,\n                        \"bid\": 0.07581\n                    },\n                    \"3M\": {\n                        \"ask\": 0.07548,\n                        \"bid\": 0.07539\n                    },\n                    \"4M\": {\n                        \"ask\": 0.07506,\n                        \"bid\": 0.07496\n                    },\n                    \"5M\": {\n                        \"ask\": 0.07465,\n                        \"bid\": 0.07456\n                    },\n                    \"6M\": {\n                        \"ask\": 0.07424,\n                        \"bid\": 0.07411\n                    },\n                    \"7M\": {\n                        \"ask\": 0.07387,\n                        \"bid\": 0.07372\n                    },\n                    \"8M\": {\n                        \"ask\": 0.07352,\n                        \"bid\": 0.07335\n                    },\n                    \"9M\": {\n                        \"ask\": 0.07312,\n                        \"bid\": 0.07294\n                    },\n                    \"10M\": {\n                        \"ask\": 0.0727,\n                        \"bid\": 0.07257\n                    },\n                    \"11M\": {\n                        \"ask\": 0.07237,\n                        \"bid\": 0.07216\n                    },\n                    \"12M\": {\n                        \"ask\": 0.07202,\n                        \"bid\": 0.07174\n                    }\n                },\n                \"GBP\": {\n                    \"spot\": {\n                        \"bid\": 1.77717,\n                        \"ask\": 1.77728\n                    },\n                    \"1M\": {\n                        \"bid\": 1.77573,\n                        \"ask\": 1.77675\n                    },\n                    \"2M\": {\n                        \"bid\": 1.77441,\n                        \"ask\": 1.77592\n                    },\n                    \"3M\": {\n                        \"bid\": 1.77318,\n                        \"ask\": 1.77499\n                    },\n                    \"4M\": {\n                        \"bid\": 1.77261,\n                        \"ask\": 1.77297\n                    },\n                    \"5M\": {\n                        \"bid\": 1.77155,\n                        \"ask\": 1.772\n                    },\n                    \"6M\": {\n                        \"bid\": 1.76902,\n                        \"ask\": 1.77224\n                    },\n                    \"7M\": {\n                        \"bid\": 1.76902,\n                        \"ask\": 1.76965\n                    },\n                    \"8M\": {\n                        \"bid\": 1.76797,\n                        \"ask\": 1.76875\n                    },\n                    \"9M\": {\n                        \"bid\": 1.76691,\n                        \"ask\": 1.76754\n                    },\n                    \"10M\": {\n                        \"bid\": 1.76568,\n                        \"ask\": 1.76641\n                    },\n                    \"11M\": {\n                        \"bid\": 1.76455,\n                        \"ask\": 1.76559\n                    },\n                    \"12M\": {\n                        \"bid\": 1.76214,\n                        \"ask\": 1.76665\n                    }\n                },\n                \"NZD\": {\n                    \"spot\": {\n                        \"ask\": 0.8212,\n                        \"bid\": 0.82092\n                    },\n                    \"1M\": {\n                        \"ask\": 0.82053,\n                        \"bid\": 0.82018\n                    },\n                    \"2M\": {\n                        \"ask\": 0.81991,\n                        \"bid\": 0.8195\n                    },\n                    \"3M\": {\n                        \"ask\": 0.81929,\n                        \"bid\": 0.81889\n                    },\n                    \"4M\": {\n                        \"ask\": 0.81863,\n                        \"bid\": 0.81818\n                    },\n                    \"5M\": {\n                        \"ask\": 0.81824,\n                        \"bid\": 0.81769\n                    },\n                    \"6M\": {\n                        \"ask\": 0.81765,\n                        \"bid\": 0.81709\n                    },\n                    \"7M\": {\n                        \"ask\": 0.81749,\n                        \"bid\": 0.81633\n                    },\n                    \"8M\": {\n                        \"ask\": 0.81697,\n                        \"bid\": 0.81617\n                    },\n                    \"9M\": {\n                        \"ask\": 0.81673,\n                        \"bid\": 0.81582\n                    },\n                    \"10M\": {\n                        \"ask\": 0.81634,\n                        \"bid\": 0.81557\n                    },\n                    \"11M\": {\n                        \"ask\": 0.81628,\n                        \"bid\": 0.81519\n                    },\n                    \"12M\": {\n                        \"ask\": 0.81608,\n                        \"bid\": 0.81493\n                    }\n                }\n            },\n            \"forex_id\": \"68ccf633-dd91-41b5-a9db-72d93d317fa6\",\n            \"created\": 1721728801,\n            \"date\": \"20240723\",\n            \"hour\": \"10\"\n        },\n        \"fxRatesAskRange\": \"1M\",\n        \"fxRatesBidRange\": \"4M\",\n        \"fxRatesTimestamp\": 1721729579,\n        \"inalfresco\": null,\n        \"letterOfCreditNo\": null,\n        \"logisticsUserId\": \"8e417e79-5f1e-4306-bb8b-f28a36afeee1\",\n        \"originCountryCode\": \"CA\",\n        \"originLocationId\": \"5916dd8e-5274-461c-b3fb-cf91698612af\",\n        \"prepaymentMade\": null,\n        \"prepaymentReceived\": null,\n        \"proformaNeeded\": null,\n        \"scheduledDeliveryDate\": null,\n        \"scheduledPickupDate\": null,\n        \"shipmentAes\": null,\n        \"shipmentB13\": null,\n        \"shipmentBolDate\": 1721808000,\n        \"shipmentBorderCross\": null,\n        \"shipmentConsignee\": null,\n        \"shipmentDatesFrom\": 1721779200,\n        \"shipmentDatesTbd\": null,\n        \"shipmentDatesTo\": 1721865599,\n        \"shipmentEpd\": null,\n        \"shipmentErd\": null,\n        \"shipmentImportNo\": null,\n        \"shipmentNotifyParty\": null,\n        \"shipmentPaps\": null,\n        \"shipmentShipper\": null,\n        \"shipmentType\": \"\",\n        \"shipmentVoyageNo\": null,\n        \"supplierConfirmedAt\": 0,\n        \"supplierConfirmedBy\": \"\",\n        \"supplierCurrencyCode\": \"USD\",\n        \"supplierFormula\": null,\n        \"supplierId\": \"1658259137.4555\",\n        \"supplierPaymentTerms\": {\n            \"days\": 7,\n            \"from_date\": \"days_from_pickup_date\",\n            \"reference_id\": \"\",\n            \"type\": \"open\",\n            \"reference_name\": \"\"\n        },\n        \"supplierRef\": \"CPG2420\",\n        \"supplierTermDate\": 1721808000,\n        \"supplierTraderId\": \"d61d4022-aca2-44b6-98f9-c7f2ae6463f8\",\n        \"supplierUserIds\": [\n            \"a95a92cf-a9b3-4158-9ce1-c741a5a39602\",\n            \"7ea848e9-1c3a-4f27-9c96-feced45c383b\"\n        ],\n        \"temperatureUnits\": \"C\",\n        \"useCorpUsAddress\": null,\n        \"woExportDocs\": false,\n        \"deal_id\": \"181206TC\",\n        \"foreignInvoices\": []\n    },\n    \"products\": [\n        {\n            \"productId\": \"e236685f-8f87-4e91-ac5d-4b4667c725e2\",\n            \"itemTypeId\": \"81b42633-6d75-493e-8e1d-49067134e039\",\n            \"wrappingId\": null,\n            \"weightTypeId\": null,\n            \"brand\": \"CPG\",\n            \"productCode\": \"10037\",\n            \"packagesCount\": 1920,\n            \"packageId\": \"a07930f0-2ef7-412a-aeaf-20f4eaf530ce\",\n            \"packageSize\": null,\n            \"packageMeasureId\": null,\n            \"additionalSpecs\": null,\n            \"buyerGrossWeight\": null,\n            \"supplierLocked\": 0,\n            \"buyerLocked\": null,\n            \"establishments\": [\n                {\n                    \"cc\": \"CA\",\n                    \"name\": \"Lineage Logistics., ORS\",\n                    \"department\": \"93638010-78f1-4797-8e8d-aaaa9658c337\",\n                    \"street1\": \"450 THOMAS ST., R.R. #4\",\n                    \"country\": \"Canada\",\n                    \"city\": \"INGERSOLL\",\n                    \"state\": \"Ontario\",\n                    \"state_code\": \"Ontario\",\n                    \"postal\": \"N5C 3J7\",\n                    \"telephone1\": \"519 4857237\"\n                }\n            ],\n            \"supplierIncotermId\": \"95a9eb80-9f6f-411a-91ae-bdae72e79be7\",\n            \"supplierIncotermLocationId\": \"5916dd8e-5274-461c-b3fb-cf91698612af\",\n            \"supplierEstWeight\": 25500,\n            \"supplierActualWeight\": 0,\n            \"supplierMeasureId\": \"a72cfe55-d2dd-4494-b3a7-1f07c844a02d\",\n            \"supplierEstPrice\": 1.36,\n            \"invoiceAddress\": {\n                \"cc\": \"US\",\n                \"name\": \"CPG Freezer & Dry Storage LLC\",\n                \"street1\": \"21740 Trolley Ind. Drive\",\n                \"country\": \"United States\",\n                \"city\": \"Taylor\",\n                \"state\": \"Michigan\",\n                \"state_code\": \"Michigan\",\n                \"postal\": \"48180\",\n                \"telephone1\": \"313-295-1310\",\n                \"def_delivery\": 1\n            },\n            \"buyerIncotermId\": \"98d9a188-fb21-4b10-9ed7-b2d6248bd15a\",\n            \"buyerIncotermLocationId\": \"aefe5abc-b857-4bcb-833c-f77824c52c3b\",\n            \"buyerEstWeight\": 25500,\n            \"buyerActualWeight\": 0,\n            \"buyerMeasureId\": \"a72cfe55-d2dd-4494-b3a7-1f07c844a02d\",\n            \"buyerEstPrice\": 1.57,\n            \"supplierActualPrice\": 1.359917,\n            \"buyerActualPrice\": 1.57,\n            \"comments\": \"\",\n            \"description\": \"\",\n            \"shippingMarks\": \"\",\n            \"margin\": 3731.05,\n            \"marginP\": 0.0679272453,\n            \"offer_id\": \"6fe4a274-baf1-49dd-869a-145eb0ac7485\",\n            \"bid_id\": \"b3293440-4e02-4c23-a8d2-56921b2b1b87\",\n            \"batches\": []\n        },\n        {\n            \"productId\": \"e236685f-8f87-4e91-ac5d-4b4667c725e2\",\n            \"itemTypeId\": \"81b42633-6d75-493e-8e1d-49067134e039\",\n            \"wrappingId\": null,\n            \"weightTypeId\": null,\n            \"brand\": \"CPG\",\n            \"productCode\": \"10038\",\n            \"packagesCount\": 1200,\n            \"packageId\": \"a07930f0-2ef7-412a-aeaf-20f4eaf530ce\",\n            \"packageSize\": null,\n            \"packageMeasureId\": null,\n            \"additionalSpecs\": null,\n            \"buyerGrossWeight\": null,\n            \"supplierLocked\": 0,\n            \"buyerLocked\": null,\n            \"establishments\": [],\n            \"supplierIncotermId\": \"95a9eb80-9f6f-411a-91ae-bdae72e79be7\",\n            \"supplierIncotermLocationId\": \"5916dd8e-5274-461c-b3fb-cf91698612af\",\n            \"supplierEstWeight\": 16000,\n            \"supplierActualWeight\": 0,\n            \"supplierMeasureId\": \"a72cfe55-d2dd-4494-b3a7-1f07c844a02d\",\n            \"supplierEstPrice\": 1.36,\n            \"invoiceAddress\": null,\n            \"buyerIncotermId\": \"98d9a188-fb21-4b10-9ed7-b2d6248bd15a\",\n            \"buyerIncotermLocationId\": \"aefe5abc-b857-4bcb-833c-f77824c52c3b\",\n            \"buyerEstWeight\": 16000,\n            \"buyerActualWeight\": 0,\n            \"buyerMeasureId\": \"a72cfe55-d2dd-4494-b3a7-1f07c844a02d\",\n            \"buyerEstPrice\": 1.57,\n            \"supplierActualPrice\": 1.36,\n            \"buyerActualPrice\": 1.57,\n            \"comments\": \"\",\n            \"description\": \"\",\n            \"shippingMarks\": \"\",\n            \"margin\": 2341.05,\n            \"marginP\": 0.0679272453,\n            \"offer_id\": \"1c5b5b73-3669-45d8-97bc-b1199c631fe4\",\n            \"bid_id\": \"524e3b1d-04a8-44a2-963b-c001ff62090f\",\n            \"batches\": []\n        }\n    ],\n    \"costs\": [\n        {\n            \"cost_id\": \"5f68049d-ae30-45e0-8497-b08d31e499f7\",\n            \"deal_id\": \"181206TC\",\n            \"account\": \"1510188624.5357\",\n            \"amount\": {\n                \"total\": 486.81,\n                \"currency\": \"CAD\",\n                \"total_cad\": 486.81,\n                \"cost_unit\": 0.0086160347\n            },\n            \"attributes\": {\n                \"default_cost\": {\n                    \"value\": 0.4,\n                    \"type\": \"percent\",\n                    \"name\": \"Cargo Insurance\",\n                    \"currency\": \"\",\n                    \"cost_type_id\": \"cargo-insurance\"\n                },\n                \"actual_amount\": 486.81,\n                \"actual_currency\": \"CAD\",\n                \"total_actual_cad\": 486.81,\n                \"product_index\": 0,\n                \"actual_buy_weight\": 0,\n                \"actual_buy_price\": 0,\n                \"actual_sell_weight\": 0,\n                \"actual_sell_price\": 0\n            },\n            \"product_id\": \"df9165ea-d09d-472a-8460-b153d858c3de\",\n            \"service\": \"Cargo Insurance\",\n            \"status\": \"pending\",\n            \"type\": \"secondary\",\n            \"creator_id\": \"c1fe822d-5448-4012-b638-5b0aa0938bbd\",\n            \"created\": 1721658972,\n            \"updated\": 1721678952,\n            \"updated_by\": \"c1fe822d-5448-4012-b638-5b0aa0938bbd\"\n        },\n        {\n            \"cost_id\": \"01ab77bb-3b91-446e-a303-3e636a713266\",\n            \"deal_id\": \"181206TC\",\n            \"account\": \"1510188624.5357\",\n            \"amount\": {\n                \"total\": 50,\n                \"currency\": \"CAD\",\n                \"total_cad\": 50,\n                \"cost_unit\": 0.0008849558\n            },\n            \"attributes\": {\n                \"default_cost\": {\n                    \"value\": 50,\n                    \"type\": \"money\",\n                    \"name\": \"Document Delivery\",\n                    \"currency\": \"CAD\",\n                    \"cost_type_id\": \"document-delivery\"\n                },\n                \"actual_amount\": 50,\n                \"actual_currency\": \"CAD\",\n                \"total_actual_cad\": 50,\n                \"product_index\": 0,\n                \"actual_buy_weight\": 0,\n                \"actual_buy_price\": 0,\n                \"actual_sell_weight\": 0,\n                \"actual_sell_price\": 0\n            },\n            \"product_id\": \"3fb31368-465d-490b-9a54-0e32dad39186\",\n            \"service\": \"Document Delivery\",\n            \"status\": \"pending\",\n            \"type\": \"secondary\",\n            \"creator_id\": \"c1fe822d-5448-4012-b638-5b0aa0938bbd\",\n            \"created\": 1721658972,\n            \"updated\": 1721678952,\n            \"updated_by\": \"c1fe822d-5448-4012-b638-5b0aa0938bbd\"\n        },\n        {\n            \"cost_id\": \"518480fd-92ba-4896-9c5a-f4369f55db6a\",\n            \"deal_id\": \"181206TC\",\n            \"account\": \"1510188624.5357\",\n            \"amount\": {\n                \"total\": 30,\n                \"currency\": \"CAD\",\n                \"total_cad\": 30,\n                \"cost_unit\": 0.0005309735\n            },\n            \"attributes\": {\n                \"default_cost\": {\n                    \"value\": 30,\n                    \"type\": \"money\",\n                    \"name\": \"Bank Service Fee\",\n                    \"currency\": \"CAD\",\n                    \"cost_type_id\": \"bank-service-fee\"\n                },\n                \"actual_amount\": 30,\n                \"actual_currency\": \"CAD\",\n                \"total_actual_cad\": 30,\n                \"product_index\": 0,\n                \"actual_buy_weight\": 0,\n                \"actual_buy_price\": 0,\n                \"actual_sell_weight\": 0,\n                \"actual_sell_price\": 0\n            },\n            \"service\": \"Bank Service Fee\",\n            \"status\": \"pending\",\n            \"type\": \"secondary\",\n            \"creator_id\": \"c1fe822d-5448-4012-b638-5b0aa0938bbd\",\n            \"created\": 1721658972,\n            \"updated\": 1721678952,\n            \"updated_by\": \"c1fe822d-5448-4012-b638-5b0aa0938bbd\"\n        },\n        {\n            \"cost_id\": \"0d7e7a5b-38a7-4f0e-9e46-dc5b735ebbd5\",\n            \"deal_id\": \"181206TC\",\n            \"account\": \"1510188624.5357\",\n            \"amount\": {\n                \"total\": 365.1,\n                \"currency\": \"CAD\",\n                \"total_cad\": 365.1,\n                \"cost_unit\": 0.006462026\n            },\n            \"attributes\": {\n                \"default_cost\": {\n                    \"value\": 0.3,\n                    \"type\": \"percent\",\n                    \"name\": \"Accural 1\",\n                    \"currency\": \"\",\n                    \"cost_type_id\": \"Foreign Exchange\"\n                },\n                \"actual_amount\": 365.1,\n                \"actual_currency\": \"CAD\",\n                \"total_actual_cad\": 365.1,\n                \"product_index\": 0,\n                \"actual_buy_weight\": 0,\n                \"actual_buy_price\": 0,\n                \"actual_sell_weight\": 0,\n                \"actual_sell_price\": 0\n            },\n            \"service\": \"Accural 1\",\n            \"status\": \"pending\",\n            \"type\": \"secondary\",\n            \"creator_id\": \"c1fe822d-5448-4012-b638-5b0aa0938bbd\",\n            \"created\": 1721658972,\n            \"updated\": 1721678952,\n            \"updated_by\": \"c1fe822d-5448-4012-b638-5b0aa0938bbd\"\n        },\n        {\n            \"cost_id\": \"217d00d0-4eb3-4026-9519-35280839ab0c\",\n            \"deal_id\": \"181206TC\",\n            \"account\": \"1510188624.5357\",\n            \"amount\": {\n                \"total\": 608.51,\n                \"currency\": \"CAD\",\n                \"total_cad\": 608.51,\n                \"cost_unit\": 0.0107700434\n            },\n            \"attributes\": {\n                \"default_cost\": {\n                    \"value\": 0.5,\n                    \"type\": \"percent\",\n                    \"name\": \"Accural 2\",\n                    \"currency\": \"\",\n                    \"cost_type_id\": \"Deal Fulfillment\"\n                },\n                \"actual_amount\": 608.51,\n                \"actual_currency\": \"CAD\",\n                \"total_actual_cad\": 608.51,\n                \"product_index\": 0,\n                \"actual_buy_weight\": 0,\n                \"actual_buy_price\": 0,\n                \"actual_sell_weight\": 0,\n                \"actual_sell_price\": 0\n            },\n            \"service\": \"Accural 2\",\n            \"status\": \"pending\",\n            \"type\": \"secondary\",\n            \"creator_id\": \"c1fe822d-5448-4012-b638-5b0aa0938bbd\",\n            \"created\": 1721658972,\n            \"updated\": 1721678952,\n            \"updated_by\": \"c1fe822d-5448-4012-b638-5b0aa0938bbd\"\n        },\n        {\n            \"cost_id\": \"723f4e4f-b5c8-482f-b48a-45472f3e6afe\",\n            \"deal_id\": \"181206TC\",\n            \"account\": \"1510188624.5357\",\n            \"amount\": {\n                \"total\": 4463.5,\n                \"currency\": \"CAD\",\n                \"total_cad\": 4463.5,\n                \"cost_unit\": 0.0789999784\n            },\n            \"attributes\": {\n                \"default_cost\": {\n                    \"value\": 16,\n                    \"type\": \"percent\",\n                    \"name\": \"Interest\",\n                    \"currency\": \"\",\n                    \"cost_type_id\": \"interest\"\n                },\n                \"actual_amount\": 4463.5,\n                \"actual_currency\": \"CAD\",\n                \"total_actual_cad\": 4463.5,\n                \"product_index\": 0,\n                \"actual_buy_weight\": 0,\n                \"actual_buy_price\": 0,\n                \"actual_sell_weight\": 0,\n                \"actual_sell_price\": 0,\n                \"finance_term\": 83.66665509259259,\n                \"est_finance_term\": 83.66665509259259\n            },\n            \"service\": \"Interest\",\n            \"status\": \"pending\",\n            \"type\": \"secondary\",\n            \"creator_id\": \"c1fe822d-5448-4012-b638-5b0aa0938bbd\",\n            \"created\": 1721658972,\n            \"updated\": 1721678952,\n            \"updated_by\": \"c1fe822d-5448-4012-b638-5b0aa0938bbd\"\n        },\n        {\n            \"cost_id\": \"9fc93348-c338-4e99-98e7-92c515a9e11e\",\n            \"deal_id\": \"181206TC\",\n            \"account\": \"1510188624.5357\",\n            \"amount\": {\n                \"total\": 705.87,\n                \"currency\": \"CAD\",\n                \"total_cad\": 705.87,\n                \"cost_unit\": 0.0124932503\n            },\n            \"attributes\": {\n                \"default_cost\": {\n                    \"value\": 0.58,\n                    \"type\": \"percent\",\n                    \"name\": \"Receivable Insurance\",\n                    \"currency\": \"\",\n                    \"cost_type_id\": \"receivable-insurance\"\n                },\n                \"actual_amount\": 705.87,\n                \"actual_currency\": \"CAD\",\n                \"total_actual_cad\": 705.87,\n                \"product_index\": 0,\n                \"actual_buy_weight\": 0,\n                \"actual_buy_price\": 0,\n                \"actual_sell_weight\": 0,\n                \"actual_sell_price\": 0\n            },\n            \"product_id\": \"cd5d4abe-0b66-4b21-aac4-af6555c8593b\",\n            \"service\": \"Receivable Insurance\",\n            \"status\": \"pending\",\n            \"type\": \"secondary\",\n            \"creator_id\": \"c1fe822d-5448-4012-b638-5b0aa0938bbd\",\n            \"created\": 1721658972,\n            \"updated\": 1721678952,\n            \"updated_by\": \"c1fe822d-5448-4012-b638-5b0aa0938bbd\"\n        },\n        {\n            \"cost_id\": \"d8f9f6f7-c15d-4033-9632-392fed746432\",\n            \"deal_id\": \"181206TC\",\n            \"account\": \"1510188624.5357\",\n            \"amount\": {\n                \"total\": 29,\n                \"currency\": \"USD\",\n                \"total_cad\": 39.89,\n                \"cost_unit\": 0.0005132743\n            },\n            \"attributes\": {\n                \"default_cost\": {\n                    \"value\": 29,\n                    \"type\": \"money\",\n                    \"name\": \"Bonds\",\n                    \"currency\": \"USD\",\n                    \"cost_type_id\": \"bonds\"\n                },\n                \"actual_amount\": 29,\n                \"actual_currency\": \"USD\",\n                \"total_actual_cad\": 39.89,\n                \"product_index\": 0,\n                \"actual_buy_weight\": 0,\n                \"actual_buy_price\": 0,\n                \"actual_sell_weight\": 0,\n                \"actual_sell_price\": 0\n            },\n            \"product_id\": \"37013185-6ee6-4179-b7a5-8cc90e329452\",\n            \"service\": \"Bonds\",\n            \"status\": \"pending\",\n            \"type\": \"secondary\",\n            \"creator_id\": \"c1fe822d-5448-4012-b638-5b0aa0938bbd\",\n            \"created\": 1721658972,\n            \"updated\": 1721678952,\n            \"updated_by\": \"c1fe822d-5448-4012-b638-5b0aa0938bbd\"\n        },\n        {\n            \"cost_id\": \"ed25c1fb-a45a-42d8-bbff-9808ba64261b\",\n            \"deal_id\": \"181206TC\",\n            \"account\": \"1510188624.5357\",\n            \"amount\": {\n                \"total\": 1000,\n                \"currency\": \"CAD\",\n                \"total_cad\": 1000,\n                \"cost_unit\": 0.017699115\n            },\n            \"attributes\": {\n                \"actual_amount\": 0,\n                \"total_actual_cad\": 0,\n                \"product_index\": 0,\n                \"actual_buy_weight\": 0,\n                \"actual_buy_price\": 0,\n                \"actual_sell_weight\": 0,\n                \"actual_sell_price\": 0\n            },\n            \"product_id\": \"cf57a53d-49a3-48c8-a675-e3c0f3e09979\",\n            \"service\": \"Truck\",\n            \"status\": \"pending\",\n            \"type\": \"tertiary\",\n            \"provider\": \"1596665852.7014\",\n            \"creator_id\": \"c1fe822d-5448-4012-b638-5b0aa0938bbd\",\n            \"created\": 1721658972,\n            \"updated\": 1721678952,\n            \"updated_by\": \"c1fe822d-5448-4012-b638-5b0aa0938bbd\"\n        },\n        {\n            \"cost_id\": \"07283c6c-5423-42d7-801a-e92f2464c331\",\n            \"deal_id\": \"181206TC\",\n            \"account\": \"1510188624.5357\",\n            \"amount\": {\n                \"total\": 34680,\n                \"currency\": \"USD\",\n                \"total_cad\": 47698.53,\n                \"cost_unit\": 0.6138053097\n            },\n            \"attributes\": {\n                \"default_cost\": {\n                    \"currency\": \"\"\n                },\n                \"actual_amount\": 0,\n                \"actual_currency\": \"USD\",\n                \"total_actual_cad\": 0,\n                \"product_index\": 0,\n                \"buy_weight\": 25500,\n                \"buy_price\": 1.36,\n                \"actual_buy_weight\": 0,\n                \"actual_buy_price\": 1.359917,\n                \"sell_weight\": 25500,\n                \"sell_price\": 1.57,\n                \"actual_sell_weight\": 0,\n                \"actual_sell_price\": 1.57,\n                \"actual_date\": 1721729579,\n                \"bid_id\": \"b3293440-4e02-4c23-a8d2-56921b2b1b87\",\n                \"offer_id\": \"6fe4a274-baf1-49dd-869a-145eb0ac7485\"\n            },\n            \"product_id\": \"e236685f-8f87-4e91-ac5d-4b4667c725e2\",\n            \"service\": \"Whole Turkeys\",\n            \"status\": \"pending\",\n            \"type\": \"primary\",\n            \"provider\": \"1658259137.4555\",\n            \"creator_id\": \"c1fe822d-5448-4012-b638-5b0aa0938bbd\",\n            \"created\": 1721658972,\n            \"updated\": 1721678952,\n            \"updated_by\": \"c1fe822d-5448-4012-b638-5b0aa0938bbd\"\n        },\n        {\n            \"cost_id\": \"0b8f549e-0a23-414a-9527-6d0319b9a461\",\n            \"deal_id\": \"181206TC\",\n            \"account\": \"1510188624.5357\",\n            \"amount\": {\n                \"total\": 21760,\n                \"currency\": \"USD\",\n                \"total_cad\": 29928.49,\n                \"cost_unit\": 0.3851327434\n            },\n            \"attributes\": {\n                \"default_cost\": {\n                    \"currency\": \"\"\n                },\n                \"actual_amount\": 0,\n                \"actual_currency\": \"USD\",\n                \"total_actual_cad\": 0,\n                \"product_index\": 1,\n                \"buy_weight\": 16000,\n                \"buy_price\": 1.36,\n                \"actual_buy_weight\": 0,\n                \"actual_buy_price\": 1.36,\n                \"sell_weight\": 16000,\n                \"sell_price\": 1.57,\n                \"actual_sell_weight\": 0,\n                \"actual_sell_price\": 1.57,\n                \"actual_date\": 1721729579,\n                \"bid_id\": \"524e3b1d-04a8-44a2-963b-c001ff62090f\",\n                \"offer_id\": \"1c5b5b73-3669-45d8-97bc-b1199c631fe4\"\n            },\n            \"product_id\": \"e236685f-8f87-4e91-ac5d-4b4667c725e2\",\n            \"service\": \"Whole Turkeys\",\n            \"status\": \"pending\",\n            \"type\": \"primary\",\n            \"provider\": \"1658259137.4555\",\n            \"creator_id\": \"c1fe822d-5448-4012-b638-5b0aa0938bbd\",\n            \"created\": 1721658972,\n            \"updated\": 1721678952,\n            \"updated_by\": \"c1fe822d-5448-4012-b638-5b0aa0938bbd\"\n        }\n    ],\n    \"segments\": [\n        {\n            \"actualDeliveryDate\": 1721894400,\n            \"actualDeliveryDateTime\": true,\n            \"actualPickupDate\": 1721808000,\n            \"actualPickupDateTime\": true,\n            \"amount\": 1000,\n            \"billOfLadingNo\": null,\n            \"bookingId\": \"\",\n            \"carrierAccountId\": \"1596665852.7014\",\n            \"carrierId\": \"e4e425bb-f0f0-465f-819d-6f8c0076f30e\",\n            \"containerNumber\": null,\n            \"currencyCode\": \"CAD\",\n            \"cutoffDatetime\": null,\n            \"deliveryRefNo\": null,\n            \"destinationId\": \"aefe5abc-b857-4bcb-833c-f77824c52c3b\",\n            \"etaDate\": null,\n            \"etaDateTime\": false,\n            \"etdDate\": null,\n            \"etdDateTime\": false,\n            \"exactDropoffAccount\": 1659043376.9334,\n            \"exactDropoffAddress\": {\n                \"cc\": \"US\",\n                \"name\": \"Chef's Pride Gifts LLC\",\n                \"street1\": \"21740 Trolley Industrial Dr\",\n                \"country\": \"United States\",\n                \"city\": \"Taylor\",\n                \"state\": \"Michigan\",\n                \"state_code\": \"Michigan\",\n                \"postal\": \"48180\",\n                \"primary\": 1\n            },\n            \"exactLoadingAccount\": 1658259137.4555,\n            \"exactLoadingAddress\": {\n                \"cc\": \"CA\",\n                \"name\": \"Lineage Logistics., ORS\",\n                \"department\": \"93638010-78f1-4797-8e8d-aaaa9658c337\",\n                \"street1\": \"450 THOMAS ST., R.R. #4\",\n                \"country\": \"Canada\",\n                \"city\": \"INGERSOLL\",\n                \"state\": \"Ontario\",\n                \"state_code\": \"Ontario\",\n                \"postal\": \"N5C 3J7\",\n                \"telephone1\": \"519 4857237\"\n            },\n            \"facilityHadClaims\": null,\n            \"flightNo\": null,\n            \"freightForwarderId\": \"\",\n            \"importPermit\": null,\n            \"loadingRamp\": null,\n            \"order\": 1,\n            \"originId\": \"5916dd8e-5274-461c-b3fb-cf91698612af\",\n            \"pickupCompany\": null,\n            \"pickupRefNo\": null,\n            \"plateNo\": null,\n            \"referNo\": null,\n            \"sealNumber\": null,\n            \"trackingNo\": null,\n            \"train\": null,\n            \"type\": \"land\",\n            \"vessel\": null,\n            \"voyageNo\": null,\n            \"segment_id\": \"0822840e-7218-4736-bde4-c23087471477\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{gateway_host}}/deals/store"},"response":[],"_postman_id":"4f2e2292-2886-442a-980d-414fa608204e"}],"id":"38ba14db-335b-4b96-a667-c7f2c5d210cd","_postman_id":"38ba14db-335b-4b96-a667-c7f2c5d210cd"},{"name":"create","id":"29d5537e-f587-f34f-1d48-5b8f6c8fc590","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"attributes\": {\n    \"sample\": \"random number: {{$randomInt}}\"\n  },\n  \"deal_type\": \"foo\",\n  \"supplier_id\": \"{{account_id}}\",\n  \"buyer_id\": \"{{account_id}}\",\n  \"supplier_user_id\": \"foo\",\n  \"buyer_user_id\": \"{{user_id}}\",\n  \"trader_user_id\": \"{{user_id}}\",\n  \"origin_location\": \"foo\",\n  \"dest_location\": \"foo\",\n  \"status\": \"Draft\"\n}"},"url":"{{gateway_host}}/deals"},"response":[],"_postman_id":"29d5537e-f587-f34f-1d48-5b8f6c8fc590"},{"name":"calculate margin","id":"5bed6942-c700-9f17-5e42-aade2da443b2","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\"deal\":{\"attributes\":{\"supplier_payment_terms\":{},\"buyer_payment_terms\":{\"days\":45,\"from_date\":\"delivery_date\"},\"shipment_dates\":{\"to\":1519794000,\"from\":1519423199},\"delivery_dates\":{\"to\":1521864000,\"from\":1521583199},\"fx_rates\":{\"rates\":{\"USD\":{\"spot\":{\"bid\":1.2626,\"ask\":1.2631},\"1M\":{\"bid\":1.2621,\"ask\":1.26264},\"2M\":{\"bid\":1.26129,\"ask\":1.26185},\"3M\":{\"bid\":1.26059,\"ask\":1.26119},\"4M\":{\"bid\":1.25997,\"ask\":1.26058},\"5M\":{\"bid\":1.25926,\"ask\":1.25991},\"6M\":{\"bid\":1.25861,\"ask\":1.25931},\"7M\":{\"bid\":1.25785,\"ask\":1.25875},\"8M\":{\"bid\":1.25718,\"ask\":1.25817},\"9M\":{\"bid\":1.25674,\"ask\":1.25754},\"10M\":{\"bid\":1.25583,\"ask\":1.25669},\"11M\":{\"bid\":1.2554,\"ask\":1.25626},\"12M\":{\"bid\":1.25481,\"ask\":1.2557}},\"EUR\":{\"spot\":{\"bid\":1.54668,\"ask\":1.54868},\"1M\":{\"bid\":1.54882,\"ask\":1.5509},\"2M\":{\"bid\":1.55164,\"ask\":1.55378},\"3M\":{\"bid\":1.55444,\"ask\":1.55658},\"4M\":{\"bid\":1.55689,\"ask\":1.55912},\"5M\":{\"bid\":1.55988,\"ask\":1.56217},\"6M\":{\"bid\":1.56274,\"ask\":1.56511},\"7M\":{\"bid\":1.56549,\"ask\":1.56828},\"8M\":{\"bid\":1.56902,\"ask\":1.57199},\"9M\":{\"bid\":1.57213,\"ask\":1.57461},\"10M\":{\"bid\":1.57506,\"ask\":1.57799},\"11M\":{\"bid\":1.57923,\"ask\":1.5822},\"12M\":{\"bid\":1.58247,\"ask\":1.58514}},\"AUD\":{\"spot\":{\"bid\":0.98938,\"ask\":0.99138},\"1M\":{\"bid\":0.98891,\"ask\":0.99095},\"2M\":{\"bid\":0.98836,\"ask\":0.99042},\"3M\":{\"bid\":0.98794,\"ask\":0.99002},\"4M\":{\"bid\":0.98755,\"ask\":0.98966},\"5M\":{\"bid\":0.9872,\"ask\":0.98936},\"6M\":{\"bid\":0.98688,\"ask\":0.98906},\"7M\":{\"bid\":0.98647,\"ask\":0.98887},\"8M\":{\"bid\":0.98618,\"ask\":0.98874},\"9M\":{\"bid\":0.98607,\"ask\":0.98841},\"10M\":{\"bid\":0.98584,\"ask\":0.9883},\"11M\":{\"bid\":0.98561,\"ask\":0.98808},\"12M\":{\"bid\":0.98538,\"ask\":0.9878}},\"MXN\":{\"spot\":{\"ask\":0.06812,\"bid\":0.06811},\"1M\":{\"ask\":0.06779,\"bid\":0.06777},\"2M\":{\"ask\":0.06742,\"bid\":0.06738},\"3M\":{\"ask\":0.06705,\"bid\":0.06701},\"4M\":{\"ask\":0.0667,\"bid\":0.06668},\"5M\":{\"ask\":0.06635,\"bid\":0.06633},\"6M\":{\"ask\":0.06599,\"bid\":0.06594},\"7M\":{\"ask\":null,\"bid\":null},\"8M\":{\"ask\":null,\"bid\":null},\"9M\":{\"ask\":0.06496,\"bid\":0.06487},\"10M\":{\"ask\":null,\"bid\":null},\"11M\":{\"ask\":null,\"bid\":null},\"12M\":{\"ask\":0.064,\"bid\":0.06387}},\"GBP\":{\"spot\":{\"bid\":1.76181,\"ask\":1.76231},\"1M\":{\"bid\":1.76289,\"ask\":1.76347},\"2M\":{\"bid\":1.7645,\"ask\":1.76512},\"3M\":{\"bid\":1.76582,\"ask\":1.76646},\"4M\":{\"bid\":1.76687,\"ask\":1.76763},\"5M\":{\"bid\":1.76831,\"ask\":1.76915},\"6M\":{\"bid\":1.76962,\"ask\":1.77048},\"7M\":{\"bid\":1.77057,\"ask\":1.77188},\"8M\":{\"bid\":1.7723,\"ask\":1.77391},\"9M\":{\"bid\":1.77391,\"ask\":1.77502},\"10M\":{\"bid\":1.77506,\"ask\":1.77685},\"11M\":{\"bid\":1.77729,\"ask\":1.77902},\"12M\":{\"bid\":1.77888,\"ask\":1.78022}}},\"forex_id\":\"98fb24fd-9939-4cf0-be6b-bc1949b1e82a\",\"created\":1519476121,\"date\":\"20180224\",\"hour\":\"12\"},\"fx_rates_timestamp\":1519478855,\"fx_rates_range\":null}},\"bids_and_offers\":[{\"product_id\":\"b7c3bdca-609e-4be5-a267-18cee168073f\",\"supplier\":{\"price\":0.93,\"currency_code\":\"USD\",\"weight\":50000,\"measure_id\":\"7b4fd9fb-af50-4edd-a8f5-28efff423b1c\",\"measure\":{\"measure_id\":\"7b4fd9fb-af50-4edd-a8f5-28efff423b1c\",\"conversions\":{\"d7145cce-e034-4edd-a8cc-138ae6eef326\":0.453591,\"430af4c4-ff00-4305-92b6-028dff18bd0d\":0.00045359100000000004}},\"actual_price\":50000,\"actual_weight\":50000},\"buyer\":{\"price\":2.45,\"currency_code\":\"USD\",\"weight\":22680,\"measure_id\":\"d7145cce-e034-4edd-a8cc-138ae6eef326\",\"measure\":{\"measure_id\":\"d7145cce-e034-4edd-a8cc-138ae6eef326\",\"conversions\":{\"7b4fd9fb-af50-4edd-a8f5-28efff423b1c\":2.204629280563327,\"430af4c4-ff00-4305-92b6-028dff18bd0d\":0.001}},\"actual_price\":2.45,\"actual_weight\":22700}}],\"costs\":[{\"cost_id\":\"d74f7244-c2fe-48c1-ad6f-146f32e916f8\",\"type\":\"secondary\",\"service\":\"Interest on 42.958333333333336 days of financing\",\"product_id\":\"f899e7d1-ecbd-4f39-9c1d-7fd028710523\",\"amount\":{\"total\":204.7,\"currency\":\"USD\"},\"attributes\":{\"default_cost\":{\"type\":\"percent\",\"value\":0.4,\"name\":\"Cargo Insurance\",\"core\":\"1\",\"cost_type_id\":\"cargo-insurance\"},\"actual_amount\":0,\"total_actual_cad\":0}},{\"cost_id\":\"ed901c72-1f67-475d-be28-0f3c49b7cd71\",\"type\":\"secondary\",\"service\":\"Interest on null days of financing\",\"amount\":{\"total\":0,\"currency\":\"USD\"},\"attributes\":{\"default_cost\":{\"type\":\"percent\",\"value\":15,\"name\":\"Interest\",\"core\":\"1\",\"cost_type_id\":\"interest\"},\"actual_amount\":0,\"total_actual_cad\":0}},{\"cost_id\":\"65bc8d24-6713-41a2-8032-50a74f4cb9f2\",\"type\":\"secondary\",\"service\":\"Receivable Insurance\",\"product_id\":\"627cf6b8-6de7-4e7c-86b7-a2d78fa46143\",\"amount\":{\"total\":269.83,\"currency\":\"USD\"},\"attributes\":{\"default_cost\":{\"type\":\"percent\",\"value\":0.58,\"name\":\"Receivable Insurance\",\"core\":\"1\",\"cost_type_id\":\"receivable-insurance\"},\"actual_amount\":0,\"total_actual_cad\":0}},{\"cost_id\":\"37afdcec-9984-4366-8b29-85068d44a4e8\",\"type\":\"secondary\",\"service\":\"Document Delivery\",\"product_id\":\"eee0b715-39ed-441f-a97f-2a1b0b52ef7f\",\"amount\":{\"total\":50,\"currency\":\"CAD\"},\"attributes\":{\"default_cost\":{\"type\":\"money\",\"value\":50,\"currency\":\"CAD\",\"name\":\"Document Delivery\",\"core\":\"1\",\"cost_type_id\":\"document-delivery\"},\"actual_amount\":0,\"total_actual_cad\":0}},{\"cost_id\":\"74bde5d1-ef42-430f-a544-9a9cd91ae569\",\"type\":\"secondary\",\"service\":\"Bank Service Fee\",\"amount\":{\"total\":30,\"currency\":\"CAD\"},\"attributes\":{\"default_cost\":{\"type\":\"money\",\"value\":30,\"currency\":\"CAD\",\"name\":\"Bank Service Fee\",\"core\":\"1\",\"cost_type_id\":\"bank-service-fee\"},\"actual_amount\":0,\"total_actual_cad\":0}},{\"cost_id\":\"1d8c7ae4-2f33-4158-9895-3833cdad8eb9\",\"type\":\"secondary\",\"service\":\"Accural 1\",\"amount\":{\"total\":139.57,\"currency\":\"USD\"},\"attributes\":{\"default_cost\":{\"type\":\"percent\",\"value\":0.3,\"name\":\"Accural 1\",\"core\":\"1\",\"cost_type_id\":\"Foreign Exchange\"},\"actual_amount\":0,\"total_actual_cad\":0}},{\"cost_id\":\"b3a98d6a-9a4e-48fa-8e30-db73df9704df\",\"type\":\"secondary\",\"service\":\"Accural 2\",\"amount\":{\"total\":232.61,\"currency\":\"USD\"},\"attributes\":{\"default_cost\":{\"type\":\"percent\",\"value\":0.5,\"name\":\"Accural 2\",\"core\":\"1\",\"cost_type_id\":\"Deal Fulfillment\"},\"actual_amount\":0,\"total_actual_cad\":0}},{\"cost_id\":\"b6786e2b-7cf4-4f18-b4ae-724c16313604\",\"type\":\"primary\",\"provider\":1519244796.4895,\"service\":\"Boneless, Skinless, Tilapia Fillets\",\"product_id\":\"b7c3bdca-609e-4be5-a267-18cee168073f\",\"amount\":{\"total\":46500,\"currency\":\"USD\"},\"attributes\":{\"actual_amount\":2500000000,\"total_actual_cad\":3152975000,\"actual_currency\":\"USD\",\"actual_buy_weight\":50000,\"actual_buy_price\":50000,\"actual_sell_weight\":22700,\"actual_sell_price\":2.45}},{\"cost_id\":\"f10f69bd-5a83-48fa-9e11-0e70b9ca63d4\",\"type\":\"tertiary\",\"provider\":\"1519246953.3621\",\"service\":\"Customs Clearance\",\"product_id\":\"005049cd-5921-433c-8d7a-325af6996437\",\"amount\":{\"total\":3600,\"currency\":\"USD\"},\"attributes\":{\"actual_amount\":0,\"total_actual_cad\":0}},{\"cost_id\":\"219cb991-edf6-4671-aeaa-4cd57362f0a5\",\"type\":\"tertiary\",\"service\":\"Demurrage\",\"product_id\":\"af5c8a65-dd2e-4cb6-abcd-7f72af07f935\",\"amount\":{\"total\":350,\"currency\":\"USD\"},\"attributes\":{\"actual_amount\":0,\"total_actual_cad\":0}},{\"cost_id\":\"64c635d5-f29f-46cf-8439-b2fa15ecd232\",\"type\":\"tertiary\",\"provider\":\"1509959126.9582\",\"service\":\"Truck\",\"product_id\":\"4ba33c4c-5598-406f-a287-d3705ffd788e\",\"amount\":{\"total\":950,\"currency\":\"USD\"},\"attributes\":{\"actual_amount\":0,\"total_actual_cad\":0}},{\"cost_id\":\"0d42cb7a-eb89-4d12-9fce-269c5e0f2333\",\"type\":\"tertiary\",\"provider\":\"1509959126.9582\",\"service\":\"Sea\",\"amount\":{\"total\":90,\"currency\":\"CAD\"},\"attributes\":{\"segment_id\":\"97b495c0-4145-4a69-addd-1e45cb9dbd7e\",\"carrier_id\":\"077a9a58-44f7-47f2-89a5-960d0a04f7b8\",\"actual_amount\":900,\"total_actual_cad\":900,\"associated\":{\"invoice_id\":\"BWI41451TC-I107\",\"amount\":900,\"currency\":\"CAD\"},\"actual_currency\":\"CAD\"}}]}\n"},"url":"{{gateway_host}}/deals/calculate-margin"},"response":[],"_postman_id":"5bed6942-c700-9f17-5e42-aade2da443b2"},{"name":"add document (under construction)","id":"33fb670d-2fe9-4e8a-b828-2ffc60fee227","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n\t\"payload\": [\n\t\t\t\t\t{\n                        \"tag\": \"CORP.ADDRNAME\",\n                        \"identifier\": \"bwi_address_object\",\n                        \"is_row\": false,\n                        \"placeholder\": \"{CORP.ADDRNAME}\",\n                        \"identifier_value\":  {\n\t\t\t                \"establishment\": \"123\",\n\t\t\t                \"street1\": \"2 Berkley Street\",\n\t\t\t                \"city\": \"Toronto\",\n\t\t\t                \"country\": \"Argentina\",\n\t\t\t                \"cc\": \"AR\",\n\t\t\t                \"postal\": \"M5A 4J5\",\n\t\t\t                \"timezone\": \"foo\",\n\t\t\t                \"name\": \"Berkley Street\",\n\t\t\t                \"primary\": 1,\n\t\t\t                \"street2\": \"304\",\n\t\t\t                \"telephone1\": \"416-363-7070\",\n\t\t\t                \"def_delivery\": 1,\n\t\t\t                \"note\": \"some note\"\n\t\t\t            }\n                    },\n                    {\n                        \"tag\": \"CORP.ADDR\",\n                        \"identifier\": \"bwi_address_object\",\n                        \"is_row\": false,\n                        \"placeholder\": \"{CORP.Addr}\",\n                        \"identifier_value\":  {\n\t\t\t                \"establishment\": \"123\",\n\t\t\t                \"street1\": \"2 Berkley Street\",\n\t\t\t                \"city\": \"Toronto\",\n\t\t\t                \"country\": \"Argentina\",\n\t\t\t                \"cc\": \"AR\",\n\t\t\t                \"postal\": \"M5A 4J5\",\n\t\t\t                \"timezone\": \"foo\",\n\t\t\t                \"name\": \"Berkley Street\",\n\t\t\t                \"primary\": 1,\n\t\t\t                \"street2\": \"304\",\n\t\t\t                \"telephone1\": \"416-363-7070\",\n\t\t\t                \"def_delivery\": 1,\n\t\t\t                \"note\": \"some note\"\n\t\t\t            }\n                    },\n                    {\n                        \"tag\": \"CORP.CITY\",\n                        \"identifier\": \"bwi_address_object\",\n                        \"is_row\": false,\n                        \"placeholder\": \"{CORP.City}\",\n                        \"identifier_value\":  {\n\t\t\t                \"establishment\": \"123\",\n\t\t\t                \"street1\": \"2 Berkley Street\",\n\t\t\t                \"city\": \"Toronto\",\n\t\t\t                \"country\": \"Argentina\",\n\t\t\t                \"cc\": \"AR\",\n\t\t\t                \"postal\": \"M5A 4J5\",\n\t\t\t                \"timezone\": \"foo\",\n\t\t\t                \"name\": \"Berkley Street\",\n\t\t\t                \"primary\": 1,\n\t\t\t                \"street2\": \"304\",\n\t\t\t                \"telephone1\": \"416-363-7070\",\n\t\t\t                \"def_delivery\": 1,\n\t\t\t                \"note\": \"some note\"\n\t\t\t            }\n                    },\n                    {\n                        \"tag\": \"CORP.STATE\",\n                        \"identifier\": \"bwi_address_object\",\n                        \"is_row\": false,\n                        \"placeholder\": \"{CORP.State}\",\n                        \"identifier_value\":  {\n\t\t\t                \"establishment\": \"123\",\n\t\t\t                \"street1\": \"2 Berkley Street\",\n\t\t\t                \"city\": \"Toronto\",\n\t\t\t                \"country\": \"Argentina\",\n\t\t\t                \"cc\": \"AR\",\n\t\t\t                \"postal\": \"M5A 4J5\",\n\t\t\t                \"timezone\": \"foo\",\n\t\t\t                \"name\": \"Berkley Street\",\n\t\t\t                \"primary\": 1,\n\t\t\t                \"street2\": \"304\",\n\t\t\t                \"telephone1\": \"416-363-7070\",\n\t\t\t                \"def_delivery\": 1,\n\t\t\t                \"note\": \"some note\"\n\t\t\t            }\n                    },\n                    {\n                        \"tag\": \"CORP.COUNTRY\",\n                        \"identifier\": \"bwi_address_object\",\n                        \"is_row\": false,\n                        \"placeholder\": \"{CORP.Country}\",\n                        \"identifier_value\":  {\n\t\t\t                \"establishment\": \"123\",\n\t\t\t                \"street1\": \"2 Berkley Street\",\n\t\t\t                \"city\": \"Toronto\",\n\t\t\t                \"country\": \"Argentina\",\n\t\t\t                \"cc\": \"AR\",\n\t\t\t                \"postal\": \"M5A 4J5\",\n\t\t\t                \"timezone\": \"foo\",\n\t\t\t                \"name\": \"Berkley Street\",\n\t\t\t                \"primary\": 1,\n\t\t\t                \"street2\": \"304\",\n\t\t\t                \"telephone1\": \"416-363-7070\",\n\t\t\t                \"def_delivery\": 1,\n\t\t\t                \"note\": \"some note\"\n\t\t\t            }\n                    },\n                    {\n                        \"tag\": \"CORP.WEBSITE\",\n                        \"identifier\": \"company_account_id\",\n                        \"is_row\": false,\n                        \"placeholder\": \"{CORP.Website}\",\n                        \"identifier_value\": \"1521181918.2439\"\n                    }\n                ]\n}"},"url":"{{gateway_host}}/deals/add-document/{{deal_id}}/{{file_id}}"},"response":[],"_postman_id":"33fb670d-2fe9-4e8a-b828-2ffc60fee227"},{"name":"update","id":"7d31f6b1-3db8-bb59-ac5d-2bb62d8b2d19","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"69OYdaTK8PQYf1QZmcFgS3iZWLZINGLoeogZi3ALnbwU6VFFWjJkTo02Q3NRHegveFzBcHxXBVNGW0JAZ8xAHl"}},"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n    \"convertible\": false\n}"},"url":{"raw":"{{gateway_host}}/deals/:deal_id","host":["{{gateway_host}}"],"path":["deals",":deal_id"],"variable":[{"key":"deal_id","value":"225429TCI"}]}},"response":[],"_postman_id":"7d31f6b1-3db8-bb59-ac5d-2bb62d8b2d19"},{"name":"get all (cross account)","id":"1451c669-c081-ca53-23a9-468d3ee61688","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":{"raw":"{{gateway_host}}/deals?limit=10&sort=created|-1","host":["{{gateway_host}}"],"path":["deals"],"query":[{"key":"limit","value":"10"},{"key":"sort","value":"created|-1"}]}},"response":[],"_postman_id":"1451c669-c081-ca53-23a9-468d3ee61688"},{"name":"get all of single account","id":"0e5406e1-8288-97de-f7e8-715d0b39d2a0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"name\",\n  \"description\": \"description\",\n  \"body\": \"body\",\n  \"tags\": [\"tag1\", \"tag2\"],\n  \"archived\": \"false\"\n}"},"url":{"raw":"{{gateway_host}}/deals/account/:accout_id","host":["{{gateway_host}}"],"path":["deals","account",":accout_id"],"variable":[{"key":"accout_id","value":""}]}},"response":[],"_postman_id":"0e5406e1-8288-97de-f7e8-715d0b39d2a0"},{"name":"get single deal","id":"738e0637-04e1-4fe2-ba62-8aaa916a7ee3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":{"raw":"{{gateway_host}}/deals/:deal_id","host":["{{gateway_host}}"],"path":["deals",":deal_id"],"variable":[{"key":"deal_id","value":"231331TC","type":"string"}]}},"response":[{"id":"9d9d2bb5-04bd-45ca-bc37-3842b6755ed7","name":"get single deal","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":{"raw":"{{gateway_host}}/deals/:deal_id","host":["{{gateway_host}}"],"path":["deals",":deal_id"],"variable":[{"key":"deal_id","value":"160000TCI","type":"string"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 27 Jun 2023 14:58:26 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"120"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"nginx/1.10.3 (Ubuntu)"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Forward","value":"24.246.31.151"},{"key":"ETag","value":"W/\"78-ty6llvwmf9489l05vuNMjhlAiU0\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, OPTIONS, PUT, DELETE"},{"key":"Access-Control-Allow-Headers","value":"DNT,X-Mx-ReqToken,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Authorization"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"code\": \"NOT_FOUND\",\n        \"message\": \"Deal not found\",\n        \"details\": \"Deal not found or it doesnt belong to this account\"\n    }\n}"}],"_postman_id":"738e0637-04e1-4fe2-ba62-8aaa916a7ee3"},{"name":"get deal ids","id":"d3b88bdf-b8e2-453b-9649-8cffd450dfaa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":"{{gateway_host}}/deals/get-deal-ids"},"response":[],"_postman_id":"d3b88bdf-b8e2-453b-9649-8cffd450dfaa"},{"name":"get origin countries","id":"c7b279e2-cb51-4bb3-a875-06ed0e8f0875","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"2m4jlh9xcIuLIQCI39TkoBTqL9Sf6Bzw6ZGykPmkBhnXTjazCb0pLZAKn2i28Ny9ZVaSKIQB2CFlyag5SAcbEQ"}},"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":"{{gateway_host}}/deals/origin-countries"},"response":[],"_postman_id":"c7b279e2-cb51-4bb3-a875-06ed0e8f0875"},{"name":"delete","id":"d45062d0-184b-fe85-4ff5-3bf9e522321e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{gateway_host}}/deals/:deal_id","host":["{{gateway_host}}"],"path":["deals",":deal_id"],"variable":[{"key":"deal_id","value":""}]}},"response":[],"_postman_id":"d45062d0-184b-fe85-4ff5-3bf9e522321e"},{"name":"lock","id":"26593c05-d976-88c3-7814-2794afeb4bb2","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":""},"url":"{{gateway_host}}/deals/{{deal_id}}/lock"},"response":[],"_postman_id":"26593c05-d976-88c3-7814-2794afeb4bb2"},{"name":"unlock","id":"61532ad4-df8e-446f-f5b0-c20894258244","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":""},"url":"{{gateway_host}}/deals/{{deal_id}}/unlock"},"response":[],"_postman_id":"61532ad4-df8e-446f-f5b0-c20894258244"},{"name":"update status","id":"74ef53d9-1125-c4c5-a688-19af5db1f38a","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n\t\"status\": \"Invoiced\"\n}"},"url":"{{gateway_host}}/deals/{{deal_id}}/status"},"response":[],"_postman_id":"74ef53d9-1125-c4c5-a688-19af5db1f38a"},{"name":"add offer","id":"68f5ed91-f3f3-7ce1-422e-ead3ebf0fcdd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{gateway_host}}/deals/offer/:account_id/:deal_id/:offer_id","host":["{{gateway_host}}"],"path":["deals","offer",":account_id",":deal_id",":offer_id"],"variable":[{"key":"account_id","value":"","type":"string"},{"key":"deal_id","value":"","type":"string"},{"key":"offer_id","value":"","type":"string"}]}},"response":[],"_postman_id":"68f5ed91-f3f3-7ce1-422e-ead3ebf0fcdd"},{"name":"remove offer","id":"30ffe834-24d9-d162-ce87-11eedcd36761","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{gateway_host}}/deals/offer/:account_id/:deal_id/:offer_id","host":["{{gateway_host}}"],"path":["deals","offer",":account_id",":deal_id",":offer_id"],"variable":[{"key":"account_id","value":"","type":"string"},{"key":"deal_id","value":"","type":"string"},{"key":"offer_id","value":"","type":"string"}]}},"response":[],"_postman_id":"30ffe834-24d9-d162-ce87-11eedcd36761"},{"name":"add bid","id":"972a3bde-86ee-5f82-59ea-15d76d22d2ec","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"9S8oCPqYCiaK1GG4iQR1P4yunUzRZIehiIrT2zsiEQM3F2oQ28FbPjd4ms4RkPZHP0dkzdYjwVzmXj3A33MbI7"}},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{gateway_host}}/deals/bid/:account_id/:deal_id/:bid_id","host":["{{gateway_host}}"],"path":["deals","bid",":account_id",":deal_id",":bid_id"],"variable":[{"key":"account_id","value":"1562076904.7967"},{"key":"deal_id","value":"BWI114183TC"},{"key":"bid_id","value":"a0a375f3-2e8f-4b84-b7b4-2b810e5eefd0"}]}},"response":[],"_postman_id":"972a3bde-86ee-5f82-59ea-15d76d22d2ec"},{"name":"remove bid","id":"84a7ee4a-2649-31bb-1f7a-0d1d1faa1b70","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"4FyUiE4GIA53wGXYN8cjMzH4Pkz2ox0Xk2xOkOVy8qzYjg3XB4SKTlyoPjXpKqSgOtbJP0c22zLpoLmBVIuTW8"}},"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{gateway_host}}/deals/bid/:account_id/:deal_id/:bid_offer","host":["{{gateway_host}}"],"path":["deals","bid",":account_id",":deal_id",":bid_offer"],"variable":[{"key":"account_id","value":"1510188624.5357","type":"string"},{"key":"deal_id","value":"BWI113034TC","type":"string"},{"key":"bid_offer","value":"4a427ba5-a604-4e10-94c4-1853941df625","type":"string"}]}},"response":[],"_postman_id":"84a7ee4a-2649-31bb-1f7a-0d1d1faa1b70"},{"name":"calculate margin copy","id":"0fa98151-e885-6bf7-bc1a-b788dc8b9296","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\"deal\":{\"attributes\":{\"supplier_payment_terms\":{},\"buyer_payment_terms\":{\"days\":45,\"from_date\":\"delivery_date\"},\"shipment_dates\":{\"to\":1519794000,\"from\":1519423199},\"delivery_dates\":{\"to\":1521864000,\"from\":1521583199},\"fx_rates\":{\"rates\":{\"USD\":{\"spot\":{\"bid\":1.2626,\"ask\":1.2631},\"1M\":{\"bid\":1.2621,\"ask\":1.26264},\"2M\":{\"bid\":1.26129,\"ask\":1.26185},\"3M\":{\"bid\":1.26059,\"ask\":1.26119},\"4M\":{\"bid\":1.25997,\"ask\":1.26058},\"5M\":{\"bid\":1.25926,\"ask\":1.25991},\"6M\":{\"bid\":1.25861,\"ask\":1.25931},\"7M\":{\"bid\":1.25785,\"ask\":1.25875},\"8M\":{\"bid\":1.25718,\"ask\":1.25817},\"9M\":{\"bid\":1.25674,\"ask\":1.25754},\"10M\":{\"bid\":1.25583,\"ask\":1.25669},\"11M\":{\"bid\":1.2554,\"ask\":1.25626},\"12M\":{\"bid\":1.25481,\"ask\":1.2557}},\"EUR\":{\"spot\":{\"bid\":1.54668,\"ask\":1.54868},\"1M\":{\"bid\":1.54882,\"ask\":1.5509},\"2M\":{\"bid\":1.55164,\"ask\":1.55378},\"3M\":{\"bid\":1.55444,\"ask\":1.55658},\"4M\":{\"bid\":1.55689,\"ask\":1.55912},\"5M\":{\"bid\":1.55988,\"ask\":1.56217},\"6M\":{\"bid\":1.56274,\"ask\":1.56511},\"7M\":{\"bid\":1.56549,\"ask\":1.56828},\"8M\":{\"bid\":1.56902,\"ask\":1.57199},\"9M\":{\"bid\":1.57213,\"ask\":1.57461},\"10M\":{\"bid\":1.57506,\"ask\":1.57799},\"11M\":{\"bid\":1.57923,\"ask\":1.5822},\"12M\":{\"bid\":1.58247,\"ask\":1.58514}},\"AUD\":{\"spot\":{\"bid\":0.98938,\"ask\":0.99138},\"1M\":{\"bid\":0.98891,\"ask\":0.99095},\"2M\":{\"bid\":0.98836,\"ask\":0.99042},\"3M\":{\"bid\":0.98794,\"ask\":0.99002},\"4M\":{\"bid\":0.98755,\"ask\":0.98966},\"5M\":{\"bid\":0.9872,\"ask\":0.98936},\"6M\":{\"bid\":0.98688,\"ask\":0.98906},\"7M\":{\"bid\":0.98647,\"ask\":0.98887},\"8M\":{\"bid\":0.98618,\"ask\":0.98874},\"9M\":{\"bid\":0.98607,\"ask\":0.98841},\"10M\":{\"bid\":0.98584,\"ask\":0.9883},\"11M\":{\"bid\":0.98561,\"ask\":0.98808},\"12M\":{\"bid\":0.98538,\"ask\":0.9878}},\"MXN\":{\"spot\":{\"ask\":0.06812,\"bid\":0.06811},\"1M\":{\"ask\":0.06779,\"bid\":0.06777},\"2M\":{\"ask\":0.06742,\"bid\":0.06738},\"3M\":{\"ask\":0.06705,\"bid\":0.06701},\"4M\":{\"ask\":0.0667,\"bid\":0.06668},\"5M\":{\"ask\":0.06635,\"bid\":0.06633},\"6M\":{\"ask\":0.06599,\"bid\":0.06594},\"7M\":{\"ask\":null,\"bid\":null},\"8M\":{\"ask\":null,\"bid\":null},\"9M\":{\"ask\":0.06496,\"bid\":0.06487},\"10M\":{\"ask\":null,\"bid\":null},\"11M\":{\"ask\":null,\"bid\":null},\"12M\":{\"ask\":0.064,\"bid\":0.06387}},\"GBP\":{\"spot\":{\"bid\":1.76181,\"ask\":1.76231},\"1M\":{\"bid\":1.76289,\"ask\":1.76347},\"2M\":{\"bid\":1.7645,\"ask\":1.76512},\"3M\":{\"bid\":1.76582,\"ask\":1.76646},\"4M\":{\"bid\":1.76687,\"ask\":1.76763},\"5M\":{\"bid\":1.76831,\"ask\":1.76915},\"6M\":{\"bid\":1.76962,\"ask\":1.77048},\"7M\":{\"bid\":1.77057,\"ask\":1.77188},\"8M\":{\"bid\":1.7723,\"ask\":1.77391},\"9M\":{\"bid\":1.77391,\"ask\":1.77502},\"10M\":{\"bid\":1.77506,\"ask\":1.77685},\"11M\":{\"bid\":1.77729,\"ask\":1.77902},\"12M\":{\"bid\":1.77888,\"ask\":1.78022}}},\"forex_id\":\"98fb24fd-9939-4cf0-be6b-bc1949b1e82a\",\"created\":1519476121,\"date\":\"20180224\",\"hour\":\"12\"},\"fx_rates_timestamp\":1519478855,\"fx_rates_range\":null}},\"bids_and_offers\":[{\"product_id\":\"b7c3bdca-609e-4be5-a267-18cee168073f\",\"supplier\":{\"price\":0.93,\"currency_code\":\"USD\",\"weight\":50000,\"measure_id\":\"7b4fd9fb-af50-4edd-a8f5-28efff423b1c\",\"measure\":{\"measure_id\":\"7b4fd9fb-af50-4edd-a8f5-28efff423b1c\",\"conversions\":{\"d7145cce-e034-4edd-a8cc-138ae6eef326\":0.453591,\"430af4c4-ff00-4305-92b6-028dff18bd0d\":0.00045359100000000004}},\"actual_price\":50000,\"actual_weight\":50000},\"buyer\":{\"price\":2.45,\"currency_code\":\"USD\",\"weight\":22680,\"measure_id\":\"d7145cce-e034-4edd-a8cc-138ae6eef326\",\"measure\":{\"measure_id\":\"d7145cce-e034-4edd-a8cc-138ae6eef326\",\"conversions\":{\"7b4fd9fb-af50-4edd-a8f5-28efff423b1c\":2.204629280563327,\"430af4c4-ff00-4305-92b6-028dff18bd0d\":0.001}},\"actual_price\":2.45,\"actual_weight\":22700}}],\"costs\":[{\"cost_id\":\"d74f7244-c2fe-48c1-ad6f-146f32e916f8\",\"type\":\"secondary\",\"service\":\"Interest on 42.958333333333336 days of financing\",\"product_id\":\"f899e7d1-ecbd-4f39-9c1d-7fd028710523\",\"amount\":{\"total\":204.7,\"currency\":\"USD\"},\"attributes\":{\"default_cost\":{\"type\":\"percent\",\"value\":0.4,\"name\":\"Cargo Insurance\",\"core\":\"1\",\"cost_type_id\":\"cargo-insurance\"},\"actual_amount\":0,\"total_actual_cad\":0}},{\"cost_id\":\"ed901c72-1f67-475d-be28-0f3c49b7cd71\",\"type\":\"secondary\",\"service\":\"Interest on null days of financing\",\"amount\":{\"total\":0,\"currency\":\"USD\"},\"attributes\":{\"default_cost\":{\"type\":\"percent\",\"value\":15,\"name\":\"Interest\",\"core\":\"1\",\"cost_type_id\":\"interest\"},\"actual_amount\":0,\"total_actual_cad\":0}},{\"cost_id\":\"65bc8d24-6713-41a2-8032-50a74f4cb9f2\",\"type\":\"secondary\",\"service\":\"Receivable Insurance\",\"product_id\":\"627cf6b8-6de7-4e7c-86b7-a2d78fa46143\",\"amount\":{\"total\":269.83,\"currency\":\"USD\"},\"attributes\":{\"default_cost\":{\"type\":\"percent\",\"value\":0.58,\"name\":\"Receivable Insurance\",\"core\":\"1\",\"cost_type_id\":\"receivable-insurance\"},\"actual_amount\":0,\"total_actual_cad\":0}},{\"cost_id\":\"37afdcec-9984-4366-8b29-85068d44a4e8\",\"type\":\"secondary\",\"service\":\"Document Delivery\",\"product_id\":\"eee0b715-39ed-441f-a97f-2a1b0b52ef7f\",\"amount\":{\"total\":50,\"currency\":\"CAD\"},\"attributes\":{\"default_cost\":{\"type\":\"money\",\"value\":50,\"currency\":\"CAD\",\"name\":\"Document Delivery\",\"core\":\"1\",\"cost_type_id\":\"document-delivery\"},\"actual_amount\":0,\"total_actual_cad\":0}},{\"cost_id\":\"74bde5d1-ef42-430f-a544-9a9cd91ae569\",\"type\":\"secondary\",\"service\":\"Bank Service Fee\",\"amount\":{\"total\":30,\"currency\":\"CAD\"},\"attributes\":{\"default_cost\":{\"type\":\"money\",\"value\":30,\"currency\":\"CAD\",\"name\":\"Bank Service Fee\",\"core\":\"1\",\"cost_type_id\":\"bank-service-fee\"},\"actual_amount\":0,\"total_actual_cad\":0}},{\"cost_id\":\"1d8c7ae4-2f33-4158-9895-3833cdad8eb9\",\"type\":\"secondary\",\"service\":\"Accural 1\",\"amount\":{\"total\":139.57,\"currency\":\"USD\"},\"attributes\":{\"default_cost\":{\"type\":\"percent\",\"value\":0.3,\"name\":\"Accural 1\",\"core\":\"1\",\"cost_type_id\":\"Foreign Exchange\"},\"actual_amount\":0,\"total_actual_cad\":0}},{\"cost_id\":\"b3a98d6a-9a4e-48fa-8e30-db73df9704df\",\"type\":\"secondary\",\"service\":\"Accural 2\",\"amount\":{\"total\":232.61,\"currency\":\"USD\"},\"attributes\":{\"default_cost\":{\"type\":\"percent\",\"value\":0.5,\"name\":\"Accural 2\",\"core\":\"1\",\"cost_type_id\":\"Deal Fulfillment\"},\"actual_amount\":0,\"total_actual_cad\":0}},{\"cost_id\":\"b6786e2b-7cf4-4f18-b4ae-724c16313604\",\"type\":\"primary\",\"provider\":1519244796.4895,\"service\":\"Boneless, Skinless, Tilapia Fillets\",\"product_id\":\"b7c3bdca-609e-4be5-a267-18cee168073f\",\"amount\":{\"total\":46500,\"currency\":\"USD\"},\"attributes\":{\"actual_amount\":2500000000,\"total_actual_cad\":3152975000,\"actual_currency\":\"USD\",\"actual_buy_weight\":50000,\"actual_buy_price\":50000,\"actual_sell_weight\":22700,\"actual_sell_price\":2.45}},{\"cost_id\":\"f10f69bd-5a83-48fa-9e11-0e70b9ca63d4\",\"type\":\"tertiary\",\"provider\":\"1519246953.3621\",\"service\":\"Customs Clearance\",\"product_id\":\"005049cd-5921-433c-8d7a-325af6996437\",\"amount\":{\"total\":3600,\"currency\":\"USD\"},\"attributes\":{\"actual_amount\":0,\"total_actual_cad\":0}},{\"cost_id\":\"219cb991-edf6-4671-aeaa-4cd57362f0a5\",\"type\":\"tertiary\",\"service\":\"Demurrage\",\"product_id\":\"af5c8a65-dd2e-4cb6-abcd-7f72af07f935\",\"amount\":{\"total\":350,\"currency\":\"USD\"},\"attributes\":{\"actual_amount\":0,\"total_actual_cad\":0}},{\"cost_id\":\"64c635d5-f29f-46cf-8439-b2fa15ecd232\",\"type\":\"tertiary\",\"provider\":\"1509959126.9582\",\"service\":\"Truck\",\"product_id\":\"4ba33c4c-5598-406f-a287-d3705ffd788e\",\"amount\":{\"total\":950,\"currency\":\"USD\"},\"attributes\":{\"actual_amount\":0,\"total_actual_cad\":0}},{\"cost_id\":\"0d42cb7a-eb89-4d12-9fce-269c5e0f2333\",\"type\":\"tertiary\",\"provider\":\"1509959126.9582\",\"service\":\"Sea\",\"amount\":{\"total\":90,\"currency\":\"CAD\"},\"attributes\":{\"segment_id\":\"97b495c0-4145-4a69-addd-1e45cb9dbd7e\",\"carrier_id\":\"077a9a58-44f7-47f2-89a5-960d0a04f7b8\",\"actual_amount\":900,\"total_actual_cad\":900,\"associated\":{\"invoice_id\":\"BWI41451TC-I107\",\"amount\":900,\"currency\":\"CAD\"},\"actual_currency\":\"CAD\"}}]}\n"},"url":"{{gateway_host}}/deals/calculate-margin"},"response":[],"_postman_id":"0fa98151-e885-6bf7-bc1a-b788dc8b9296"},{"name":"get deals by deal ids","id":"7471bcda-ec7d-457b-983c-6afb8ac63238","request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer FEldVtLxCF01R8W9Q1rjIHIG9WXQTrxhKNNWlIwd1F5xr6XIiLuCH9YIFkug8CcGxGoTSnPeoJzkdfaJu54J8q"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"deal_ids\": [\n        \"BWI102976TC\",\n        \"BWI102977TC\",\n        \"BWI102978TC\",\n        \"BWI102979TC\",\n        \"BWI102980TC\",\n        \"BWI102981TC\",\n        \"BWI102982TC\",\n        \"BWI102983TC\",\n        \"BWI102985TC\",\n        \"BWI102987TC\",\n        \"BWI102989TC\",\n        \"BWI102991TC\",\n        \"BWI102993TC\",\n        \"BWI102995TC\",\n        \"BWI102997TC\",\n        \"BWI102999TC\",\n        \"BWI103001TC\",\n        \"BWI103003TC\",\n        \"BWI103005TC\",\n        \"BWI103007TC\",\n        \"BWI103009TC\",\n        \"BWI103011TC\",\n        \"BWI103013TC\",\n        \"BWI103015TC\",\n        \"BWI103017TC\",\n        \"BWI103019TC\",\n        \"BWI103021TC\",\n        \"BWI103023TC\",\n        \"BWI103025TC\",\n        \"BWI103027TC\",\n        \"BWI103029TC\",\n        \"BWI103031TC\",\n        \"BWI103034TC\",\n        \"BWI103037TC\",\n        \"BWI103040TC\",\n        \"BWI102947TC\",\n        \"BWI102948TC\",\n        \"BWI102949TC\",\n        \"BWI102950TC\",\n        \"BWI102951TC\",\n        \"BWI102952TC\",\n        \"BWI102953TC\",\n        \"BWI102954TC\",\n        \"BWI102955TC\",\n        \"BWI102956TC\",\n        \"BWI102957TC\",\n        \"BWI102958TC\",\n        \"BWI102959TC\",\n        \"BWI102960TC\",\n        \"BWI102961TC\",\n        \"BWI102962TC\",\n        \"BWI102963TC\",\n        \"BWI102964TC\",\n        \"BWI102965TC\",\n        \"BWI102966TC\",\n        \"BWI102967TC\",\n        \"BWI102968TC\",\n        \"BWI102969TC\",\n        \"BWI102970TC\",\n        \"BWI102971TC\",\n        \"BWI102972TC\",\n        \"BWI102973TC\",\n        \"BWI102974TC\",\n        \"BWI102975TC\",\n        \"BWI102827TC\",\n        \"BWI102810TC\",\n        \"BWI102811TC\",\n        \"BWI102812TC\",\n        \"BWI102829TC\",\n        \"BWI102828TC\",\n        \"BWI102781TC\",\n        \"BWI102782TC\",\n        \"BWI102767TC\",\n        \"BWI102761TC\",\n        \"BWI102756TC\",\n        \"BWI102757TC\",\n        \"BWI102753TC\",\n        \"BWI102754TC\",\n        \"BWI102708TC\",\n        \"BWI102710TC\",\n        \"BWI102711TC\",\n        \"BWI102712TC\",\n        \"BWI102713TC\",\n        \"BWI102714TC\",\n        \"BWI102715TC\",\n        \"BWI102716TC\",\n        \"BWI102717TC\",\n        \"BWI102718TC\",\n        \"BWI102719TC\",\n        \"BWI102596TC\",\n        \"BWI102573TC\",\n        \"BWI102574TC\",\n        \"BWI102575TC\",\n        \"BWI102499TC\",\n        \"BWI102500TC\",\n        \"BWI102501TC\",\n        \"BWI102414TC\",\n        \"BWI102415TC\",\n        \"BWI102351TC\",\n        \"BWI102352TC\",\n        \"BWI102353TC\",\n        \"BWI102354TC\",\n        \"BWI102192TC\",\n        \"BWI102198TC\",\n        \"BWI102195TC\",\n        \"BWI102196TC\",\n        \"BWI102163TC\",\n        \"BWI102133TC\",\n        \"BWI102135TC\",\n        \"BWI102136TC\",\n        \"BWI102053TC\",\n        \"BWI102066TC\",\n        \"BWI102067TC\",\n        \"BWI102054TC\",\n        \"BWI102055TC\",\n        \"BWI102056TC\",\n        \"BWI102057TC\",\n        \"BWI102058TC\",\n        \"BWI102059TC\",\n        \"BWI102060TC\",\n        \"BWI102061TC\",\n        \"BWI102062TC\",\n        \"BWI102063TC\",\n        \"BWI102064TC\",\n        \"BWI102065TC\",\n        \"BWI102008TC\",\n        \"BWI102009TC\",\n        \"BWI102010TC\",\n        \"BWI102011TC\",\n        \"BWI102012TC\",\n        \"BWI102013TC\",\n        \"BWI102071TC\",\n        \"BWI102072TC\",\n        \"BWI102015TC\",\n        \"BWI102023TC\",\n        \"BWI102024TC\",\n        \"BWI102025TC\",\n        \"BWI102026TC\",\n        \"BWI102027TC\",\n        \"BWI102028TC\",\n        \"BWI102029TC\",\n        \"BWI102030TC\",\n        \"BWI102032TC\",\n        \"BWI102033TC\",\n        \"BWI102034TC\",\n        \"BWI102035TC\",\n        \"BWI102036TC\",\n        \"BWI102038TC\",\n        \"BWI102039TC\",\n        \"BWI102041TC\",\n        \"BWI102042TC\",\n        \"BWI102068TC\",\n        \"BWI102069TC\",\n        \"BWI102070TC\",\n        \"BWI102002TC\",\n        \"BWI102003TC\",\n        \"BWI101994TC\",\n        \"BWI101995TC\",\n        \"BWI101996TC\",\n        \"BWI101991TC\",\n        \"BWI101992TC\",\n        \"BWI101993TC\",\n        \"BWI101961TC\",\n        \"BWI101981TC\",\n        \"BWI101982TC\",\n        \"BWI101963TC\",\n        \"BWI101964TC\",\n        \"BWI101965TC\",\n        \"BWI101997TC\",\n        \"BWI101924TC\",\n        \"BWI101917TC\",\n        \"BWI101918TC\",\n        \"BWI101919TC\",\n        \"BWI101920TC\",\n        \"BWI101921TC\",\n        \"BWI101922TC\",\n        \"BWI101908TC\",\n        \"BWI101909TC\",\n        \"BWI101910TC\",\n        \"BWI101911TC\",\n        \"BWI101912TC\",\n        \"BWI101913TC\",\n        \"BWI101914TC\",\n        \"BWI101903TC\",\n        \"BWI101939TC\",\n        \"BWI101940TC\",\n        \"BWI101941TC\",\n        \"BWI101942TC\",\n        \"BWI101943TC\",\n        \"BWI101944TC\",\n        \"BWI101945TC\",\n        \"BWI101946TC\",\n        \"BWI101947TC\",\n        \"BWI101960TC\",\n        \"BWI101948TC\",\n        \"BWI101949TC\",\n        \"BWI101950TC\",\n        \"BWI101951TC\",\n        \"BWI101952TC\",\n        \"BWI101953TC\",\n        \"BWI101954TC\",\n        \"BWI101955TC\",\n        \"BWI101956TC\",\n        \"BWI101957TC\",\n        \"BWI101895TC\",\n        \"BWI101894TC\",\n        \"BWI101892TC\",\n        \"BWI101893TC\",\n        \"BWI101867TC\",\n        \"BWI101868TC\",\n        \"BWI101872TC\",\n        \"BWI101859TC\",\n        \"BWI101860TC\",\n        \"BWI101854TC\",\n        \"BWI101856TC\",\n        \"BWI101862TC\",\n        \"BWI101863TC\",\n        \"BWI101821TC\",\n        \"BWI101822TC\",\n        \"BWI101823TC\",\n        \"BWI101810TC\",\n        \"BWI101779TC\",\n        \"BWI101781TC\",\n        \"BWI101783TC\",\n        \"BWI101588TC\",\n        \"BWI101591TC\",\n        \"BWI101592TC\",\n        \"BWI101593TC\",\n        \"BWI101594TC\",\n        \"BWI101595TC\",\n        \"BWI101596TC\",\n        \"BWI101597TC\",\n        \"BWI101598TC\",\n        \"BWI101599TC\",\n        \"BWI101600TC\",\n        \"BWI101601TC\",\n        \"BWI101602TC\",\n        \"BWI101603TC\",\n        \"BWI101604TC\",\n        \"BWI101605TC\",\n        \"BWI101606TC\",\n        \"BWI101607TC\",\n        \"BWI101608TC\",\n        \"BWI101609TC\",\n        \"BWI101610TC\",\n        \"BWI101611TC\",\n        \"BWI101612TC\",\n        \"BWI101613TC\",\n        \"BWI101614TC\",\n        \"BWI101615TC\",\n        \"BWI101616TC\",\n        \"BWI101617TC\",\n        \"BWI101618TC\",\n        \"BWI101619TC\",\n        \"BWI101620TC\",\n        \"BWI101621TC\",\n        \"BWI101622TC\",\n        \"BWI101623TC\",\n        \"BWI101584TC\",\n        \"BWI101585TC\",\n        \"BWI101586TC\",\n        \"BWI101587TC\",\n        \"BWI101580TC\",\n        \"BWI101492TC\",\n        \"BWI101493TC\",\n        \"BWI101450TC\",\n        \"BWI101451TC\",\n        \"BWI101452TC\",\n        \"BWI101453TC\",\n        \"BWI101454TC\",\n        \"BWI101455TC\",\n        \"BWI101456TC\",\n        \"BWI101457TC\",\n        \"BWI101458TC\",\n        \"BWI101459TC\",\n        \"BWI101460TC\",\n        \"BWI101461TC\",\n        \"BWI101462TC\",\n        \"BWI101463TC\",\n        \"BWI101464TC\",\n        \"BWI101465TC\",\n        \"BWI101466TC\",\n        \"BWI101467TC\",\n        \"BWI101468TC\",\n        \"BWI101469TC\",\n        \"BWI101470TC\",\n        \"BWI101471TC\",\n        \"BWI101472TC\",\n        \"BWI101473TC\",\n        \"BWI101474TC\",\n        \"BWI101475TC\",\n        \"BWI101476TC\",\n        \"BWI101477TC\",\n        \"BWI101478TC\",\n        \"BWI101479TC\",\n        \"BWI101480TC\",\n        \"BWI101481TC\",\n        \"BWI101482TC\",\n        \"BWI101483TC\",\n        \"BWI101484TC\",\n        \"BWI101485TC\",\n        \"BWI101430TC\",\n        \"BWI101432TC\",\n        \"BWI101434TC\",\n        \"BWI101436TC\",\n        \"BWI101438TC\",\n        \"BWI101420TC\",\n        \"BWI101421TC\",\n        \"BWI101413TC\",\n        \"BWI101414TC\",\n        \"BWI101415TC\",\n        \"BWI101416TC\",\n        \"BWI101411TC\",\n        \"BWI101412TC\",\n        \"BWI101362TC\",\n        \"BWI101363TC\",\n        \"BWI101364TC\",\n        \"BWI101358TC\",\n        \"BWI101287TC\",\n        \"BWI101288TC\",\n        \"BWI101289TC\",\n        \"BWI101290TC\",\n        \"BWI101291TC\",\n        \"BWI101292TC\",\n        \"BWI101293TC\",\n        \"BWI101294TC\",\n        \"BWI101295TC\",\n        \"BWI101296TC\",\n        \"BWI101297TC\",\n        \"BWI101298TC\",\n        \"BWI101299TC\",\n        \"BWI101300TC\",\n        \"BWI101301TC\",\n        \"BWI101302TC\",\n        \"BWI101303TC\",\n        \"BWI101304TC\",\n        \"BWI101305TC\",\n        \"BWI101306TC\",\n        \"BWI101307TC\",\n        \"BWI101308TC\",\n        \"BWI101309TC\",\n        \"BWI101310TC\",\n        \"BWI101311TC\",\n        \"BWI101312TC\",\n        \"BWI101313TC\",\n        \"BWI101314TC\",\n        \"BWI101315TC\",\n        \"BWI101316TC\",\n        \"BWI101317TC\",\n        \"BWI101318TC\",\n        \"BWI101319TC\",\n        \"BWI101320TC\",\n        \"BWI101321TC\",\n        \"BWI101322TC\",\n        \"BWI101323TC\",\n        \"BWI101324TC\",\n        \"BWI101325TC\",\n        \"BWI101270TC\",\n        \"BWI101187TC\",\n        \"BWI101188TC\",\n        \"BWI101194TC\",\n        \"BWI101195TC\",\n        \"BWI101196TC\",\n        \"BWI101197TC\",\n        \"BWI101198TC\",\n        \"BWI101199TC\",\n        \"BWI101200TC\",\n        \"BWI101201TC\",\n        \"BWI101202TC\",\n        \"BWI101203TC\",\n        \"BWI101158TC\",\n        \"BWI101159TC\",\n        \"BWI101156TC\",\n        \"BWI101146TC\",\n        \"BWI101147TC\",\n        \"BWI101148TC\",\n        \"BWI101149TC\",\n        \"BWI101132TC\",\n        \"BWI101133TC\",\n        \"BWI101135TC\",\n        \"BWI101136TC\",\n        \"BWI101137TC\",\n        \"BWI101126TC\",\n        \"BWI101127TC\",\n        \"BWI101129TC\",\n        \"BWI101113TC\",\n        \"BWI101104TC\",\n        \"BWI101105TC\",\n        \"BWI101106TC\",\n        \"BWI101107TC\",\n        \"BWI101108TC\",\n        \"BWI101098TC\",\n        \"BWI101079TC\",\n        \"BWI101080TC\",\n        \"BWI101081TC\",\n        \"BWI101054TC\",\n        \"BWI101055TC\",\n        \"BWI101056TC\",\n        \"BWI100947TC\",\n        \"BWI100949TC\",\n        \"BWI100927TC\",\n        \"BWI100929TC\",\n        \"BWI100930TC\",\n        \"BWI100468TC\",\n        \"BWI100216TC\",\n        \"BWI100223TC\",\n        \"BWI100222TC\",\n        \"BWI100217TC\",\n        \"BWI100219TC\",\n        \"BWI100845TC\",\n        \"BWI100098TC\",\n        \"BWI100188TC\",\n        \"BWI100190TC\",\n        \"BWI100670TC\",\n        \"BWI101904TC\",\n        \"BWI101905TC\",\n        \"BWI101906TC\",\n        \"BWI101929TC\",\n        \"BWI101930TC\",\n        \"BWI101931TC\",\n        \"BWI101932TC\",\n        \"BWI101933TC\",\n        \"BWI101934TC\",\n        \"BWI101935TC\",\n        \"BWI101936TC\",\n        \"BWI101937TC\"\n    ],\n    \"fields_to_remove\": [\n    \t\"attributes\",\n        \"log\"\n    ],\n    \"limit\": 200\n}"},"url":"{{gateway_host}}/deals/by-deal-ids"},"response":[],"_postman_id":"7471bcda-ec7d-457b-983c-6afb8ac63238"},{"name":"get deals by buyer ids","id":"04ecbc00-f281-4648-b638-363fd99e2d5b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"waPEXUO55qMa3RlQXI6FZ1G4RUS9hnrr9mvHYV6nNH11T2g2Nh7TdeNJMLiOu0UzH4gVtPgRbLeiAx3TZHRAoh"}},"method":"POST","header":[{"key":"Authorization","value":"Bearer FEldVtLxCF01R8W9Q1rjIHIG9WXQTrxhKNNWlIwd1F5xr6XIiLuCH9YIFkug8CcGxGoTSnPeoJzkdfaJu54J8q"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"buyer_ids\": [\n        \"1510188624.5357\"\n    ]\n}"},"url":"{{gateway_host}}/deals/by-buyer-ids"},"response":[],"_postman_id":"04ecbc00-f281-4648-b638-363fd99e2d5b"},{"name":"search by partial id","id":"bc94b8e0-5a69-450f-bb5a-d5744b14f9c0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n    \"deal_id\": \"TC\",\n    \"fields_to_remove\": [\n        \"attributes.fx_rates\",\n        \"log\"\n    ],\n    \"deal_ids\": [\"BWI100084TC\"],\n    \"limit\": 20\n}"},"url":"{{gateway_host}}/deals/search-by-deal-id"},"response":[],"_postman_id":"bc94b8e0-5a69-450f-bb5a-d5744b14f9c0"},{"name":"BROKEN DEALS FIXER SER-694","id":"b0659387-9d18-43bb-b331-bed171d2e405","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":""},"url":"{{gateway_host}}/deals/broken-deals","description":"to update the deals use ?fix=1"},"response":[],"_postman_id":"b0659387-9d18-43bb-b331-bed171d2e405"},{"name":"/deals/providers","id":"c51d2aa4-7cc6-4f0a-858d-daa10c078751","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"ids\": [\n        \"BWI110508TC\",\n        \"BWI110509TC\"\n        ]\n}","options":{"raw":{"language":"json"}}},"url":"{{gateway_host}}/deals/providers"},"response":[],"_postman_id":"c51d2aa4-7cc6-4f0a-858d-daa10c078751"},{"name":"deals/search elastic","id":"689e5bf7-1617-4e08-a3f7-17cc812bbb1d","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"auth":{"type":"bearer","bearer":{"token":"l95LsB8InFRTT4POHnVsV060YcHSsMDvXmtgU6FrwUJqJZArPPZNItfTbLOnUU94YZWvjWjzhB2jogePUpRN3k"}},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"sort\": [\n        {\n            \"deal_date\": \"desc\"\n        }\n    ],\n    \"limit\": 100,\n    \"skip\": 0,\n    \"query\": {\n        \"deal_id\": \"168485TC\"\n    },\n    \"columns\": [\n        \"deal_date\",\n        \"deal_id\",\n        \"product\"\n    ],\n    \"populate_intransit_balance\": false,\n    \"calculate\": false\n}","options":{"raw":{"language":"json"}}},"url":"{{gateway_host}}/deals/search"},"response":[{"id":"c049283f-fa76-4068-bdc8-ce8e4c1b225e","name":"deals/search elastic","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\"sort\":[{\"deal_date\":\"desc\"}],\"limit\":10,\"skip\":0,\"query\":{\"status\":[\"Submitted\",\"Confirmed\",\"Invoiced\",\"Delivered\"]},\"columns\":[\"deal_date\",\"deal_id\",\"product\",\"buy_price\",\"sell_price\",\"status\",\"buyer\",\"dest_location\",\"supplier\",\"origin_location\",\"origin_country\",\"buying_trader\",\"selling_trader\",\"note_warning\",\"parties\"],\"calculate\":false}","options":{"raw":{"language":"json"}}},"url":"{{gateway_host}}/deals/search"},"_postman_previewlanguage":null,"header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"689e5bf7-1617-4e08-a3f7-17cc812bbb1d"},{"name":"deals/filters","id":"f38a0629-fe13-4825-a611-480234305e73","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"limit\": 100,\n    \"skip\": 100,\n    \"sort\": [\n        {\n            \"attributes.deal_date\": \"desc\"\n        }\n    ],\n    \"query\": {\n        \"status\": [\n            \"Submitted\",\n            \"Confirmed\",\n            \"Docs Sent\",\n            \"Invoiced\",\n            \"Paid\"\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{gateway_host}}/deals/filters","host":["{{gateway_host}}"],"path":["deals","filters"],"query":[{"key":"limit","value":"100","disabled":true},{"key":"skip","value":"0","disabled":true}]}},"response":[],"_postman_id":"f38a0629-fe13-4825-a611-480234305e73"}],"id":"cab458dc-2a65-50b9-4330-bbb256cf2913","_postman_id":"cab458dc-2a65-50b9-4330-bbb256cf2913"},{"name":"Document Library","item":[{"name":"Document","item":[{"name":"search","id":"b020e387-67ce-f48d-8c9b-3f11754b03a3","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"foo {{$randomInt}}\",\n  \"type\": \"some_type\",\n  \"description\": \"some text\",\n  \"file_id\": \"file_id_from_file_object\",\n  \"doc_set\": [],\n  \"company\": \"*\",\n  \"product_category_id\": \"some_id\",\n  \"language\": \"en\",\n  \"archived\": false,\n  \"attributes\": {\n    \"foo\": \"bar\"\n  }\n}"},"url":"{{gateway_host}}/document-library/document"},"response":[],"_postman_id":"b020e387-67ce-f48d-8c9b-3f11754b03a3"},{"name":"get","id":"83433869-15f3-428b-9f35-1a825cd712cc","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"foo {{$randomInt}}\",\n  \"type\": \"some_type\",\n  \"description\": \"some text\",\n  \"file_id\": \"file_id_from_file_object\",\n  \"doc_set\": [],\n  \"company\": \"*\",\n  \"product_category_id\": \"some_id\",\n  \"language\": \"en\",\n  \"archived\": false,\n  \"attributes\": {\n    \"foo\": \"bar\"\n  }\n}"},"url":"{{gateway_host}}/document-library/document"},"response":[],"_postman_id":"83433869-15f3-428b-9f35-1a825cd712cc"},{"name":"create","id":"428c887b-9661-e39e-1023-0cc99a9f3e4a","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n    \"file_id\": \"7896b382-11a2-4bb7-9b51-9a8f9fe6af26\",\n    \"name\": \"some test\",\n    \"type\": \"some test\",\n    \"language\": \"en\",\n    \"company\": \"undefined\",\n    \"user_id\": \"074a96da-a5ac-4732-8917-f176a4a5c898\"\n}"},"url":"{{gateway_host}}/document-library/document"},"response":[],"_postman_id":"428c887b-9661-e39e-1023-0cc99a9f3e4a"},{"name":"delete","id":"3c8a1c3b-c6d2-f2bf-871e-a1b9aa944f19","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":""},"url":"{{gateway_host}}/document-library/document/{{document_id}}"},"response":[],"_postman_id":"3c8a1c3b-c6d2-f2bf-871e-a1b9aa944f19"},{"name":"doc-set add","id":"452be768-692c-ae3f-cf4f-96642f0bab14","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n\t\"set_id\": \"123\"\n}"},"url":"{{gateway_host}}/document-library/document/{{document_id}}/doc-set/add"},"response":[],"_postman_id":"452be768-692c-ae3f-cf4f-96642f0bab14"},{"name":"doc-set remove","id":"ecbe3de4-4342-8573-1b37-4d172b9dd531","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n\t\"set_id\": \"123\"\n}"},"url":"{{gateway_host}}/document-library/document/{{document_id}}/doc-set/remove"},"response":[],"_postman_id":"ecbe3de4-4342-8573-1b37-4d172b9dd531"},{"name":"doc update","id":"88e92b57-1708-4071-993f-01da7d3574f7","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"attributes\": {\n  \t\"requirements\": []\n  }\n}"},"url":"{{gateway_host}}/document-library/document/07e7f06a-ec48-44e6-8151-cf8973e92f33"},"response":[],"_postman_id":"88e92b57-1708-4071-993f-01da7d3574f7"}],"id":"8e03c8f5-f662-2540-83a7-798317349104","_postman_id":"8e03c8f5-f662-2540-83a7-798317349104"},{"name":"dev","item":[{"name":"mass endpoint single doc","id":"497d7698-fc9a-450c-9767-d4758e43f09d","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer 1B3CAKuzCoSlhglbEdvKOfhaRH5JisTaDHXXaL1fxEAuRmrfFsXLFKA91H0cfwWCFDvGIFWnVDIuxyo28h7ma3"}],"body":{"mode":"raw","raw":"{\"deal_id\":\"BWI101407TC\",\"name\":\"Loading_Instructions_AME_2018-10-08-BWI101407TC\",\"data\":[{\"requirements\":[{\"tag\":\"MISC.NOW\",\"identifier\":null,\"is_row\":false,\"placeholder\":\"{MISC.NOW}\"},{\"tag\":\"MISC.NOW\",\"identifier\":null,\"is_row\":false,\"placeholder\":\"{MISC.NOW}\"},{\"tag\":\"DEAL.REFNO\",\"identifier\":\"deal_id\",\"is_row\":false,\"placeholder\":\"{DEAL.RefNo}\",\"identifier_value\":\"BWI101407TC\"},{\"tag\":\"SHIPDET.TRBOOKINGNO\",\"identifier\":\"first_truck_segment_id\",\"is_row\":false,\"placeholder\":\"{SHIPDET.TrBookingNo}\",\"identifier_value\":\"0feeb73e-1114-45e2-9a02-024c60726bc8\"},{\"tag\":\"SHIPDET.TRVESSEL\",\"identifier\":\"latest_vessel_segment_id\",\"is_row\":false,\"placeholder\":\"{SHIPDET.TrVessel}\"},{\"tag\":\"SHIP.LOG\",\"identifier\":\"shipping_log_table\",\"is_row\":false,\"placeholder\":\"{SHIP.LOG}\",\"identifier_value\":[[\"Deal #\",\"Booking #\",\"Vessel Name and Voyage#\",\"Container #\",\"EPD\",\"Load Date and Act Load Time\",\"ERD\",\"Cutoff Date & Time\",\"ETD\",\"Product\"],[\"BWI101407TC\",\"\",\"\",\"\",\"\",\"11-Oct-2018 05:00am\",\"\",\"\",\"\",\"Cheddar Cheese Like Product\"]]},{\"tag\":\"DI.TYPE\",\"identifier\":\"di_item_type_id\",\"is_row\":true,\"placeholder\":\"{DI.Type.Row}\"},{\"tag\":\"DI.PRODUCT\",\"identifier\":\"product_id\",\"is_row\":true,\"placeholder\":\"{DI.Product.Row}\"},{\"tag\":\"DI.SPECS\",\"identifier\":\"offer_id\",\"is_row\":true,\"placeholder\":\"{DI.Specs.Row}\"},{\"tag\":\"DI.WRP\",\"identifier\":\"wrapping_id\",\"is_row\":true,\"placeholder\":\"{DI.WRP.Row}\"},{\"tag\":\"DI.PKGSZ\",\"identifier\":\"offer_id\",\"is_row\":true,\"placeholder\":\"{DI.PkgSz.Row}\"},{\"tag\":\"DI.PKGUNIT\",\"identifier\":\"di_package_measure_id\",\"is_row\":true,\"placeholder\":\"{DI.PkgUnit.Row}\"},{\"tag\":\"DI.WGHTTYPE\",\"identifier\":\"weight_type_id\",\"is_row\":true,\"placeholder\":\"{DI.WghtType.Row}\"},{\"tag\":\"DI.PKGTYPE\",\"identifier\":\"di_package_id\",\"is_row\":true,\"placeholder\":\"{DI.PkgType.Row}\"},{\"tag\":\"BUY.PICKESTABLISHMENTNO\",\"identifier\":\"offer_id\",\"is_row\":true,\"placeholder\":\"{BUY.PICKESTABLISHMENTNO.ROW}\"},{\"tag\":\"DI.BUYWGHTE\",\"identifier\":\"offer_id\",\"is_row\":true,\"placeholder\":\"{DI.BuyWghtE.Row}\"},{\"tag\":\"BUY.PTWGHT\",\"identifier\":\"buy_measure_id\",\"is_row\":false,\"placeholder\":\"{BUY.PTWght}\",\"identifier_value\":\"7b4fd9fb-af50-4edd-a8f5-28efff423b1c\"},{\"tag\":\"BUY.TOTNETWGHTE\",\"identifier\":\"deal_id\",\"is_row\":false,\"placeholder\":\"{BUY.TotNetWghtE}\",\"identifier_value\":\"BWI101407TC\"},{\"tag\":\"BUY.PTWGHT\",\"identifier\":\"buy_measure_id\",\"is_row\":false,\"placeholder\":\"{BUY.PTWght}\",\"identifier_value\":\"7b4fd9fb-af50-4edd-a8f5-28efff423b1c\"},{\"tag\":\"SHIPDET.PICKDT\",\"identifier\":\"pickup_segment_id\",\"is_row\":false,\"placeholder\":\"{SHIPDET.PickDt}\",\"identifier_value\":\"0feeb73e-1114-45e2-9a02-024c60726bc8\"},{\"tag\":\"SHIPDET.PICKADDR\",\"identifier\":\"pickup_address_object\",\"is_row\":false,\"placeholder\":\"{SHIPDET.PickAddr}\",\"identifier_value\":{\"country\":\"RU\",\"city\":\"Saint Petersburg\",\"name\":\"5 Post Office Square - Suite 100\"}},{\"tag\":\"SHIPDET.PICKTIME\",\"identifier\":\"pickup_segment_id\",\"is_row\":false,\"placeholder\":\"{SHIPDET.PickTime}\",\"identifier_value\":\"0feeb73e-1114-45e2-9a02-024c60726bc8\"},{\"tag\":\"BUY.REFNO\",\"identifier\":\"deal_id\",\"is_row\":false,\"placeholder\":\"{BUY.REFNO}\",\"identifier_value\":\"BWI101407TC\"},{\"tag\":\"DEAL.DOCS\",\"identifier\":\"deal_id\",\"is_row\":false,\"placeholder\":\"{DEAL.Docs}\",\"identifier_value\":\"BWI101407TC\"},{\"tag\":\"DEAL.DOCS\",\"identifier\":\"deal_id\",\"is_row\":false,\"placeholder\":\"{DEAL.Docs}\",\"identifier_value\":\"BWI101407TC\"},{\"tag\":\"LOAD_GUATEMALA\",\"identifier\":null,\"is_row\":false,\"placeholder\":\"{Load_Guatemala}\"},{\"tag\":\"LOAD_SALVADOR\",\"identifier\":null,\"is_row\":false,\"placeholder\":\"{Load_Salvador}\"},{\"tag\":\"LOAD_COSTARICA\",\"identifier\":null,\"is_row\":false,\"placeholder\":\"{Load_CostaRica}\"},{\"tag\":\"LOAD_HONDURAS\",\"identifier\":null,\"is_row\":false,\"placeholder\":\"{Load_Honduras}\"},{\"tag\":\"LOAD_NICARAGUA\",\"identifier\":null,\"is_row\":false,\"placeholder\":\"{Load_Nicaragua}\"},{\"tag\":\"DEAL.TEMP_C\",\"identifier\":\"item_type_id\",\"is_row\":false,\"placeholder\":\"{deal.temp_c}\",\"identifier_value\":\"b1844013-cf29-4da6-8d2d-fc8c39cdee72\"},{\"tag\":\"DEAL.TEMP_F\",\"identifier\":\"item_type_id\",\"is_row\":false,\"placeholder\":\"{deal.temp_f}\",\"identifier_value\":\"b1844013-cf29-4da6-8d2d-fc8c39cdee72\"},{\"tag\":\"SHIPDET.TRETD\",\"identifier\":\"earliest_vessel_segment_id\",\"is_row\":false,\"placeholder\":\"{SHIPDET.TRETD}\"},{\"tag\":\"CORP.CRCADDR\",\"identifier\":\"crc_address_object\",\"is_row\":false,\"placeholder\":\"{CORP.CRCAddr}\",\"identifier_value\":{\"name\":\"Bassett Walker International, Inc.\",\"primary\":1,\"street1\":\"2 Berkeley St\",\"street2\":\"Suite 303\",\"city\":\"Toronto\",\"cc\":\"CA\",\"country\":\"Canada\",\"postal\":\"M5A 4J5\",\"tax_id\":\"TestTaxID-1234\",\"telephone1\":\"4163637070\",\"telephone1_ext\":\"101\",\"fax\":\"415-666-0101\",\"fax_ext\":\"102\",\"note\":\"Note found in address fields in TradeCafe Staff Primary Address\",\"state\":\"Alberta\",\"telephone2\":\"4163637071\",\"email\":\"mfortuna@bassettwalkerinc.com\",\"state_code\":\"AB\"}},{\"tag\":\"DEAL.COORDINATOR\",\"identifier\":\"logistics_user_id\",\"is_row\":false,\"placeholder\":\"{DEAL.COORDINATOR}\",\"identifier_value\":\"5f9b0feb-7844-425b-990c-a6190db6e64e\"},{\"tag\":\"USER.PHONE\",\"identifier\":\"current_user_id\",\"is_row\":false,\"placeholder\":\"{USER.PHONE}\",\"identifier_value\":\"37bf1689-56ae-416a-af32-b5862ce2bdac\"},{\"tag\":\"CORP.ADDRNAME\",\"identifier\":\"bwi_address_object\",\"is_row\":false,\"placeholder\":\"{CORP.ADDRNAME}\",\"identifier_value\":{\"name\":\"Bassett Walker International, Inc.\",\"primary\":1,\"street1\":\"2 Berkeley St\",\"street2\":\"Suite 303\",\"city\":\"Toronto\",\"cc\":\"CA\",\"country\":\"Canada\",\"postal\":\"M5A 4J5\",\"tax_id\":\"TestTaxID-1234\",\"telephone1\":\"4163637070\",\"telephone1_ext\":\"101\",\"fax\":\"415-666-0101\",\"fax_ext\":\"102\",\"note\":\"Note found in address fields in TradeCafe Staff Primary Address\",\"state\":\"Alberta\",\"telephone2\":\"4163637071\",\"email\":\"mfortuna@bassettwalkerinc.com\",\"state_code\":\"AB\"}},{\"tag\":\"CORP.ADDR\",\"identifier\":\"bwi_address_object\",\"is_row\":false,\"placeholder\":\"{Corp.Addr}\",\"identifier_value\":{\"name\":\"Bassett Walker International, Inc.\",\"primary\":1,\"street1\":\"2 Berkeley St\",\"street2\":\"Suite 303\",\"city\":\"Toronto\",\"cc\":\"CA\",\"country\":\"Canada\",\"postal\":\"M5A 4J5\",\"tax_id\":\"TestTaxID-1234\",\"telephone1\":\"4163637070\",\"telephone1_ext\":\"101\",\"fax\":\"415-666-0101\",\"fax_ext\":\"102\",\"note\":\"Note found in address fields in TradeCafe Staff Primary Address\",\"state\":\"Alberta\",\"telephone2\":\"4163637071\",\"email\":\"mfortuna@bassettwalkerinc.com\",\"state_code\":\"AB\"}},{\"tag\":\"CORP.CITY\",\"identifier\":\"bwi_address_object\",\"is_row\":false,\"placeholder\":\"{Corp.City}\",\"identifier_value\":{\"name\":\"Bassett Walker International, Inc.\",\"primary\":1,\"street1\":\"2 Berkeley St\",\"street2\":\"Suite 303\",\"city\":\"Toronto\",\"cc\":\"CA\",\"country\":\"Canada\",\"postal\":\"M5A 4J5\",\"tax_id\":\"TestTaxID-1234\",\"telephone1\":\"4163637070\",\"telephone1_ext\":\"101\",\"fax\":\"415-666-0101\",\"fax_ext\":\"102\",\"note\":\"Note found in address fields in TradeCafe Staff Primary Address\",\"state\":\"Alberta\",\"telephone2\":\"4163637071\",\"email\":\"mfortuna@bassettwalkerinc.com\",\"state_code\":\"AB\"}},{\"tag\":\"CORP.STATE\",\"identifier\":\"bwi_address_object\",\"is_row\":false,\"placeholder\":\"{Corp.State}\",\"identifier_value\":{\"name\":\"Bassett Walker International, Inc.\",\"primary\":1,\"street1\":\"2 Berkeley St\",\"street2\":\"Suite 303\",\"city\":\"Toronto\",\"cc\":\"CA\",\"country\":\"Canada\",\"postal\":\"M5A 4J5\",\"tax_id\":\"TestTaxID-1234\",\"telephone1\":\"4163637070\",\"telephone1_ext\":\"101\",\"fax\":\"415-666-0101\",\"fax_ext\":\"102\",\"note\":\"Note found in address fields in TradeCafe Staff Primary Address\",\"state\":\"Alberta\",\"telephone2\":\"4163637071\",\"email\":\"mfortuna@bassettwalkerinc.com\",\"state_code\":\"AB\"}},{\"tag\":\"CORP.COUNTRY\",\"identifier\":\"bwi_address_object\",\"is_row\":false,\"placeholder\":\"{Corp.Country}\",\"identifier_value\":{\"name\":\"Bassett Walker International, Inc.\",\"primary\":1,\"street1\":\"2 Berkeley St\",\"street2\":\"Suite 303\",\"city\":\"Toronto\",\"cc\":\"CA\",\"country\":\"Canada\",\"postal\":\"M5A 4J5\",\"tax_id\":\"TestTaxID-1234\",\"telephone1\":\"4163637070\",\"telephone1_ext\":\"101\",\"fax\":\"415-666-0101\",\"fax_ext\":\"102\",\"note\":\"Note found in address fields in TradeCafe Staff Primary Address\",\"state\":\"Alberta\",\"telephone2\":\"4163637071\",\"email\":\"mfortuna@bassettwalkerinc.com\",\"state_code\":\"AB\"}},{\"tag\":\"CORP.ZIP\",\"identifier\":\"bwi_address_object\",\"is_row\":false,\"placeholder\":\"{Corp.ZIP}\",\"identifier_value\":{\"name\":\"Bassett Walker International, Inc.\",\"primary\":1,\"street1\":\"2 Berkeley St\",\"street2\":\"Suite 303\",\"city\":\"Toronto\",\"cc\":\"CA\",\"country\":\"Canada\",\"postal\":\"M5A 4J5\",\"tax_id\":\"TestTaxID-1234\",\"telephone1\":\"4163637070\",\"telephone1_ext\":\"101\",\"fax\":\"415-666-0101\",\"fax_ext\":\"102\",\"note\":\"Note found in address fields in TradeCafe Staff Primary Address\",\"state\":\"Alberta\",\"telephone2\":\"4163637071\",\"email\":\"mfortuna@bassettwalkerinc.com\",\"state_code\":\"AB\"}},{\"tag\":\"SHIPDET.CONSADDR\",\"identifier\":\"consignee_address_object\",\"is_row\":false,\"placeholder\":\"{SHIPDET.ConsAddr}\",\"identifier_value\":{\"name\":\"Bassett & Walker El Salvador\",\"consignee\":1,\"street1\":\"25 Avenida de la Union\",\"cc\":\"SV\",\"country\":\"El Salvador\",\"city\":\"Mejicanos\",\"telephone1\":\"4168889999\",\"telephone1_ext\":\"125\",\"telephone2_ext\":\"215\",\"fax_ext\":\"521\",\"fax\":\"4169998888\",\"establishment\":\"Test Con HH\",\"state\":\"San Salvador\",\"postal\":\"Test Zip Con HH\",\"tax_id\":\"Text Tax ID Con HH\",\"note\":\"Consignee Notes HH\",\"department\":\"bb6725ac-97da-4e60-acbe-1c57de852179\",\"telephone2\":\"4158998899\",\"state_code\":\"SS\"}},{\"tag\":\"SHIPDET.TRPORTLD\",\"identifier\":\"port_of_loading_location_id\",\"is_row\":false,\"placeholder\":\"{SHIPDET.TrPortLD}\"},{\"tag\":\"SHIPDET.TRPORTDC\",\"identifier\":\"port_of_discharge_location_id\",\"is_row\":false,\"placeholder\":\"{SHIPDET.TrPortDC}\"},{\"tag\":\"SHIPDET.TRDESTINATION\",\"identifier\":\"destination_location_id\",\"is_row\":false,\"placeholder\":\"{SHIPDET.TrDestination}\",\"identifier_value\":\"9b6dd8d7-4f3d-4ab6-929c-8faec7ae324a\"},{\"tag\":\"CORP.FAX\",\"identifier\":\"bwi_address_object\",\"is_row\":false,\"placeholder\":\"{corp.fax}\",\"identifier_value\":{\"name\":\"Bassett Walker International, Inc.\",\"primary\":1,\"street1\":\"2 Berkeley St\",\"street2\":\"Suite 303\",\"city\":\"Toronto\",\"cc\":\"CA\",\"country\":\"Canada\",\"postal\":\"M5A 4J5\",\"tax_id\":\"TestTaxID-1234\",\"telephone1\":\"4163637070\",\"telephone1_ext\":\"101\",\"fax\":\"415-666-0101\",\"fax_ext\":\"102\",\"note\":\"Note found in address fields in TradeCafe Staff Primary Address\",\"state\":\"Alberta\",\"telephone2\":\"4163637071\",\"email\":\"mfortuna@bassettwalkerinc.com\",\"state_code\":\"AB\"}},{\"tag\":\"DEAL.TEMP_C\",\"identifier\":\"item_type_id\",\"is_row\":false,\"placeholder\":\"{deal.temp_c}\",\"identifier_value\":\"b1844013-cf29-4da6-8d2d-fc8c39cdee72\"},{\"tag\":\"DEAL.TEMP_F\",\"identifier\":\"item_type_id\",\"is_row\":false,\"placeholder\":\"{deal.temp_f}\",\"identifier_value\":\"b1844013-cf29-4da6-8d2d-fc8c39cdee72\"},{\"tag\":\"CORP.ADDRNAME\",\"identifier\":\"bwi_address_object\",\"is_row\":false,\"placeholder\":\"{corp.addrname}\",\"identifier_value\":{\"name\":\"Bassett Walker International, Inc.\",\"primary\":1,\"street1\":\"2 Berkeley St\",\"street2\":\"Suite 303\",\"city\":\"Toronto\",\"cc\":\"CA\",\"country\":\"Canada\",\"postal\":\"M5A 4J5\",\"tax_id\":\"TestTaxID-1234\",\"telephone1\":\"4163637070\",\"telephone1_ext\":\"101\",\"fax\":\"415-666-0101\",\"fax_ext\":\"102\",\"note\":\"Note found in address fields in TradeCafe Staff Primary Address\",\"state\":\"Alberta\",\"telephone2\":\"4163637071\",\"email\":\"mfortuna@bassettwalkerinc.com\",\"state_code\":\"AB\"}},{\"tag\":\"CORP.SNAME\",\"identifier\":\"company_account_id\",\"is_row\":false,\"placeholder\":\"{corp.sname}\",\"identifier_value\":1510188624.5357},{\"tag\":\"CORP.ADDRNAME\",\"identifier\":\"bwi_address_object\",\"is_row\":false,\"placeholder\":\"{CORP.ADDRNAME}\",\"identifier_value\":{\"name\":\"Bassett Walker International, Inc.\",\"primary\":1,\"street1\":\"2 Berkeley St\",\"street2\":\"Suite 303\",\"city\":\"Toronto\",\"cc\":\"CA\",\"country\":\"Canada\",\"postal\":\"M5A 4J5\",\"tax_id\":\"TestTaxID-1234\",\"telephone1\":\"4163637070\",\"telephone1_ext\":\"101\",\"fax\":\"415-666-0101\",\"fax_ext\":\"102\",\"note\":\"Note found in address fields in TradeCafe Staff Primary Address\",\"state\":\"Alberta\",\"telephone2\":\"4163637071\",\"email\":\"mfortuna@bassettwalkerinc.com\",\"state_code\":\"AB\"}},{\"tag\":\"CORP.ADDR\",\"identifier\":\"bwi_address_object\",\"is_row\":false,\"placeholder\":\"{CORP.Addr}\",\"identifier_value\":{\"name\":\"Bassett Walker International, Inc.\",\"primary\":1,\"street1\":\"2 Berkeley St\",\"street2\":\"Suite 303\",\"city\":\"Toronto\",\"cc\":\"CA\",\"country\":\"Canada\",\"postal\":\"M5A 4J5\",\"tax_id\":\"TestTaxID-1234\",\"telephone1\":\"4163637070\",\"telephone1_ext\":\"101\",\"fax\":\"415-666-0101\",\"fax_ext\":\"102\",\"note\":\"Note found in address fields in TradeCafe Staff Primary Address\",\"state\":\"Alberta\",\"telephone2\":\"4163637071\",\"email\":\"mfortuna@bassettwalkerinc.com\",\"state_code\":\"AB\"}},{\"tag\":\"CORP.CITY\",\"identifier\":\"bwi_address_object\",\"is_row\":false,\"placeholder\":\"{CORP.City}\",\"identifier_value\":{\"name\":\"Bassett Walker International, Inc.\",\"primary\":1,\"street1\":\"2 Berkeley St\",\"street2\":\"Suite 303\",\"city\":\"Toronto\",\"cc\":\"CA\",\"country\":\"Canada\",\"postal\":\"M5A 4J5\",\"tax_id\":\"TestTaxID-1234\",\"telephone1\":\"4163637070\",\"telephone1_ext\":\"101\",\"fax\":\"415-666-0101\",\"fax_ext\":\"102\",\"note\":\"Note found in address fields in TradeCafe Staff Primary Address\",\"state\":\"Alberta\",\"telephone2\":\"4163637071\",\"email\":\"mfortuna@bassettwalkerinc.com\",\"state_code\":\"AB\"}},{\"tag\":\"CORP.STATE\",\"identifier\":\"bwi_address_object\",\"is_row\":false,\"placeholder\":\"{CORP.State}\",\"identifier_value\":{\"name\":\"Bassett Walker International, Inc.\",\"primary\":1,\"street1\":\"2 Berkeley St\",\"street2\":\"Suite 303\",\"city\":\"Toronto\",\"cc\":\"CA\",\"country\":\"Canada\",\"postal\":\"M5A 4J5\",\"tax_id\":\"TestTaxID-1234\",\"telephone1\":\"4163637070\",\"telephone1_ext\":\"101\",\"fax\":\"415-666-0101\",\"fax_ext\":\"102\",\"note\":\"Note found in address fields in TradeCafe Staff Primary Address\",\"state\":\"Alberta\",\"telephone2\":\"4163637071\",\"email\":\"mfortuna@bassettwalkerinc.com\",\"state_code\":\"AB\"}},{\"tag\":\"CORP.COUNTRY\",\"identifier\":\"bwi_address_object\",\"is_row\":false,\"placeholder\":\"{CORP.Country}\",\"identifier_value\":{\"name\":\"Bassett Walker International, Inc.\",\"primary\":1,\"street1\":\"2 Berkeley St\",\"street2\":\"Suite 303\",\"city\":\"Toronto\",\"cc\":\"CA\",\"country\":\"Canada\",\"postal\":\"M5A 4J5\",\"tax_id\":\"TestTaxID-1234\",\"telephone1\":\"4163637070\",\"telephone1_ext\":\"101\",\"fax\":\"415-666-0101\",\"fax_ext\":\"102\",\"note\":\"Note found in address fields in TradeCafe Staff Primary Address\",\"state\":\"Alberta\",\"telephone2\":\"4163637071\",\"email\":\"mfortuna@bassettwalkerinc.com\",\"state_code\":\"AB\"}},{\"tag\":\"CORP.ZIP\",\"identifier\":\"bwi_address_object\",\"is_row\":false,\"placeholder\":\"{CORP.ZIP}\",\"identifier_value\":{\"name\":\"Bassett Walker International, Inc.\",\"primary\":1,\"street1\":\"2 Berkeley St\",\"street2\":\"Suite 303\",\"city\":\"Toronto\",\"cc\":\"CA\",\"country\":\"Canada\",\"postal\":\"M5A 4J5\",\"tax_id\":\"TestTaxID-1234\",\"telephone1\":\"4163637070\",\"telephone1_ext\":\"101\",\"fax\":\"415-666-0101\",\"fax_ext\":\"102\",\"note\":\"Note found in address fields in TradeCafe Staff Primary Address\",\"state\":\"Alberta\",\"telephone2\":\"4163637071\",\"email\":\"mfortuna@bassettwalkerinc.com\",\"state_code\":\"AB\"}},{\"tag\":\"CORP.TEL\",\"identifier\":\"bwi_address_object\",\"is_row\":false,\"placeholder\":\"{CORP.Tel}\",\"identifier_value\":{\"name\":\"Bassett Walker International, Inc.\",\"primary\":1,\"street1\":\"2 Berkeley St\",\"street2\":\"Suite 303\",\"city\":\"Toronto\",\"cc\":\"CA\",\"country\":\"Canada\",\"postal\":\"M5A 4J5\",\"tax_id\":\"TestTaxID-1234\",\"telephone1\":\"4163637070\",\"telephone1_ext\":\"101\",\"fax\":\"415-666-0101\",\"fax_ext\":\"102\",\"note\":\"Note found in address fields in TradeCafe Staff Primary Address\",\"state\":\"Alberta\",\"telephone2\":\"4163637071\",\"email\":\"mfortuna@bassettwalkerinc.com\",\"state_code\":\"AB\"}},{\"tag\":\"CORP.WEBSITE\",\"identifier\":\"company_account_id\",\"is_row\":false,\"placeholder\":\"{CORP.Website}\",\"identifier_value\":1510188624.5357},{\"tag\":\"〈《「『【⦅〘〖«〝︵︷︹︻︽︿﹁﹃﹇﹙﹛﹝｢\\\"/><W:NOLINEBREAKSBEFORE\",\"identifier\":null,\"is_row\":false,\"placeholder\":\"{〈《「『【⦅〘〖«〝︵︷︹︻︽︿﹁﹃﹇﹙﹛﹝｢\\\"/><w:noLineBreaksBefore w:lang=\\\"English\\\" w:val=\\\"’”)〕]}\"}],\"rows\":[{\"di_item_type_id\":\"b1844013-cf29-4da6-8d2d-fc8c39cdee72\",\"product_id\":\"fc2fd47b-74a1-4c8f-9b7f-27f3a31aa2e8\",\"offer_id\":\"fc3125f3-0416-4475-91ae-e61248d1eeab\"}],\"deal_id\":\"BWI101407TC\",\"file_id\":\"1c285057-8150-441c-8c3c-f64ba7257f18\"}]}"},"url":"localhost:8081/document-generate-mass"},"response":[],"_postman_id":"497d7698-fc9a-450c-9767-d4758e43f09d"},{"name":"merge pdf","id":"58113686-6bc9-4894-b3c7-6a820bddc015","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n    \"deal_id\": \"BWI100165TC\",\n    \"name\": \"signature-test-4\",\n    \"file_ids\": []\n}"},"url":"localhost:8081/document-merge-pdf"},"response":[],"_postman_id":"58113686-6bc9-4894-b3c7-6a820bddc015"},{"name":"generate document (several docs into one)","id":"dbfe86de-f8ab-44b4-a3f2-085cba4538b2","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n    \"deal_id\": \"BWI100165TC\",\n    \"file_id\": \"ae72d459-94a1-4b22-8500-c38d87fc177c\",\n    \"name\": \"signature-test-4\",\n    \"data\": [\n        {\n            \"deal_id\": \"BWI100165TC\",\n            \"file_id\": \"ae72d459-94a1-4b22-8500-c38d87fc177c\",\n            \"requirements\": [\n                {\n                    \"tag\": \"DEAL.DATE\",\n                    \"identifier\": \"deal_id\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{DEAL.Date}\",\n                    \"identifier_value\": \"BWI100165TC\"\n                },\n                {\n                    \"tag\": \"BUY.COFNAME\",\n                    \"identifier\": \"supplier_fullname_string\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{BUY.CoFName}\",\n                    \"identifier_value\": \"Lukas Inc supplier LT mbgerbora@gmail.com\"\n                },\n                {\n                    \"tag\": \"BUY.COADDR\",\n                    \"identifier\": \"supplier_address_object\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{BUY.COADDR}\",\n                    \"identifier_value\": {\n                        \"name\": \"Some address\",\n                        \"primary\": 1,\n                        \"cc\": \"LT\",\n                        \"country\": \"Lithuania\",\n                        \"city\": \"Kaunas\",\n                        \"street1\": \"Nartavos 1\",\n                        \"street2\": \"18\",\n                        \"postal\": \"47489\",\n                        \"telephone1\": \"+37065512315\"\n                    }\n                },\n                {\n                    \"tag\": \"BUY.COADDR2\",\n                    \"identifier\": \"supplier_address_object\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{BUY.COADDR</w:t></w:r><w:r w:rsidR=\\\"005E23EF\\\"><w:rPr><w:rFonts w:cs=\\\"Arial\\\"/><w:b/><w:bCs/><w:color w:val=\\\"000000\\\"/></w:rPr><w:t>2</w:t></w:r><w:r w:rsidR=\\\"005E23EF\\\" w:rsidRPr=\\\"00602807\\\"><w:rPr><w:rFonts w:cs=\\\"Arial\\\"/><w:b/><w:bCs/><w:color w:val=\\\"000000\\\"/></w:rPr><w:t>}\",\n                    \"identifier_value\": {\n                        \"name\": \"Some address\",\n                        \"primary\": 1,\n                        \"cc\": \"LT\",\n                        \"country\": \"Lithuania\",\n                        \"city\": \"Kaunas\",\n                        \"street1\": \"Nartavos 1\",\n                        \"street2\": \"18\",\n                        \"postal\": \"47489\",\n                        \"telephone1\": \"+37065512315\"\n                    }\n                },\n                {\n                    \"tag\": \"BUY.COCITY\",\n                    \"identifier\": \"supplier_address_object\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{BUY.COCITY}\",\n                    \"identifier_value\": {\n                        \"name\": \"Some address\",\n                        \"primary\": 1,\n                        \"cc\": \"LT\",\n                        \"country\": \"Lithuania\",\n                        \"city\": \"Kaunas\",\n                        \"street1\": \"Nartavos 1\",\n                        \"street2\": \"18\",\n                        \"postal\": \"47489\",\n                        \"telephone1\": \"+37065512315\"\n                    }\n                },\n                {\n                    \"tag\": \"BUY.COSTATE\",\n                    \"identifier\": \"supplier_address_object\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{BUY.COSTATE}\",\n                    \"identifier_value\": {\n                        \"name\": \"Some address\",\n                        \"primary\": 1,\n                        \"cc\": \"LT\",\n                        \"country\": \"Lithuania\",\n                        \"city\": \"Kaunas\",\n                        \"street1\": \"Nartavos 1\",\n                        \"street2\": \"18\",\n                        \"postal\": \"47489\",\n                        \"telephone1\": \"+37065512315\"\n                    }\n                },\n                {\n                    \"tag\": \"BUY.COCOUNTRY\",\n                    \"identifier\": \"supplier_address_object\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{BUY.COCOUNTRY}\",\n                    \"identifier_value\": {\n                        \"name\": \"Some address\",\n                        \"primary\": 1,\n                        \"cc\": \"LT\",\n                        \"country\": \"Lithuania\",\n                        \"city\": \"Kaunas\",\n                        \"street1\": \"Nartavos 1\",\n                        \"street2\": \"18\",\n                        \"postal\": \"47489\",\n                        \"telephone1\": \"+37065512315\"\n                    }\n                },\n                {\n                    \"tag\": \"BUY.COZIP\",\n                    \"identifier\": \"supplier_address_object\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{BUY.COZIP}\",\n                    \"identifier_value\": {\n                        \"name\": \"Some address\",\n                        \"primary\": 1,\n                        \"cc\": \"LT\",\n                        \"country\": \"Lithuania\",\n                        \"city\": \"Kaunas\",\n                        \"street1\": \"Nartavos 1\",\n                        \"street2\": \"18\",\n                        \"postal\": \"47489\",\n                        \"telephone1\": \"+37065512315\"\n                    }\n                },\n                {\n                    \"tag\": \"DEAL.REFNO\",\n                    \"identifier\": \"deal_id\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{DEAL.RefNo}\",\n                    \"identifier_value\": \"BWI100165TC\"\n                },\n                {\n                    \"tag\": \"DEAL.REFNO\",\n                    \"identifier\": \"deal_id\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{DEAL.RefNo}\",\n                    \"identifier_value\": \"BWI100165TC\"\n                },\n                {\n                    \"tag\": \"BUY.REFNO\",\n                    \"identifier\": \"deal_id\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{BUY.RefNo}\",\n                    \"identifier_value\": \"BWI100165TC\"\n                },\n                {\n                    \"tag\": \"BUY.TOTNETWGHTE\",\n                    \"identifier\": \"deal_id\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{BUY.TotNetWghtE}\",\n                    \"identifier_value\": \"BWI100165TC\"\n                },\n                {\n                    \"tag\": \"BUY.PTWGHT\",\n                    \"identifier\": \"buy_measure_id\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{BUY.PTWght}\",\n                    \"identifier_value\": \"d7145cce-e034-4edd-a8cc-138ae6eef326\"\n                },\n                {\n                    \"tag\": \"DI.BUYWGHTE\",\n                    \"identifier\": \"offer_id\",\n                    \"is_row\": true,\n                    \"placeholder\": \"{DI.BuyWghtE.Row}\"\n                },\n                {\n                    \"tag\": \"BUY.PTWGHT\",\n                    \"identifier\": \"buy_measure_id\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{BUY.PTWght}\",\n                    \"identifier_value\": \"d7145cce-e034-4edd-a8cc-138ae6eef326\"\n                },\n                {\n                    \"tag\": \"DI.TYPE\",\n                    \"identifier\": \"di_item_type_id\",\n                    \"is_row\": true,\n                    \"placeholder\": \"{DI.Type.Row}\"\n                },\n                {\n                    \"tag\": \"DI.PRODUCT\",\n                    \"identifier\": \"product_id\",\n                    \"is_row\": true,\n                    \"placeholder\": \"{DI.Product.Row}\"\n                },\n                {\n                    \"tag\": \"DI.SPECS\",\n                    \"identifier\": \"offer_id\",\n                    \"is_row\": true,\n                    \"placeholder\": \"{DI.Specs.Row}\"\n                },\n                {\n                    \"tag\": \"DI.BUYCUE\",\n                    \"identifier\": \"offer_id\",\n                    \"is_row\": true,\n                    \"placeholder\": \"{DI.BuyCUE.Row}\"\n                },\n                {\n                    \"tag\": \"BUY.PTCURRENCY\",\n                    \"identifier\": \"deal_id\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{Buy.PTCurrency}\",\n                    \"identifier_value\": \"BWI100165TC\"\n                },\n                {\n                    \"tag\": \"BUY.PTWGHT\",\n                    \"identifier\": \"buy_measure_id\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{Buy.PTWght}\",\n                    \"identifier_value\": \"d7145cce-e034-4edd-a8cc-138ae6eef326\"\n                },\n                {\n                    \"tag\": \"BUY.INCOPT\",\n                    \"identifier\": \"supplier_pricing_terms_id\",\n                    \"is_row\": true,\n                    \"placeholder\": \"{BUY.INCOPT</w:t></w:r><w:r w:rsidR=\\\"000D76AF\\\"><w:rPr><w:b/></w:rPr><w:t>.Row</w:t></w:r><w:r><w:rPr><w:b/></w:rPr><w:t>}\"\n                },\n                {\n                    \"tag\": \"BUY.PTLOC\",\n                    \"identifier\": \"pickup_location_id\",\n                    \"is_row\": true,\n                    \"placeholder\": \"{BUY.PTLOC</w:t></w:r><w:r w:rsidR=\\\"000D76AF\\\"><w:rPr><w:b/></w:rPr><w:t>.Row</w:t></w:r><w:r><w:rPr><w:b/></w:rPr><w:t>}\"\n                },\n                {\n                    \"tag\": \"DI.WRP\",\n                    \"identifier\": \"wrapping_id\",\n                    \"is_row\": true,\n                    \"placeholder\": \"{DI.WRP.Row}\"\n                },\n                {\n                    \"tag\": \"DI.PKGSZ\",\n                    \"identifier\": \"offer_id\",\n                    \"is_row\": true,\n                    \"placeholder\": \"{DI.PkgSz.Row}\"\n                },\n                {\n                    \"tag\": \"DI.PKGUNIT\",\n                    \"identifier\": \"di_package_measure_id\",\n                    \"is_row\": true,\n                    \"placeholder\": \"{DI.PkgUnit.Row}\"\n                },\n                {\n                    \"tag\": \"DI.WGHTTYPE\",\n                    \"identifier\": \"weight_type_id\",\n                    \"is_row\": true,\n                    \"placeholder\": \"{DI.WghtType.Row}\"\n                },\n                {\n                    \"tag\": \"DI.PKGTYPE\",\n                    \"identifier\": \"di_package_id\",\n                    \"is_row\": true,\n                    \"placeholder\": \"{DI.PkgType.Row}\"\n                },\n                {\n                    \"tag\": \"BUY.PICKESTABLISHMENTNO\",\n                    \"identifier\": \"offer_id\",\n                    \"is_row\": true,\n                    \"placeholder\": \"{BUY.PICKESTABLISHMENTNO</w:t></w:r><w:r w:rsidR=\\\"00D2312F\\\"><w:rPr><w:rFonts w:cs=\\\"Arial\\\"/><w:b/><w:bCs/><w:color w:val=\\\"000000\\\"/></w:rPr><w:t>.Row</w:t></w:r><w:r w:rsidR=\\\"00CE4446\\\" w:rsidRPr=\\\"00CE4446\\\"><w:rPr><w:rFonts w:cs=\\\"Arial\\\"/><w:b/><w:bCs/><w:color w:val=\\\"000000\\\"/></w:rPr><w:t>}\"\n                },\n                {\n                    \"tag\": \"DEAL.ORIGIN\",\n                    \"identifier\": \"origin_location_id\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{DEAL.Origin}\",\n                    \"identifier_value\": \"8e54c460-9d24-401f-942b-c446e977b5dd\"\n                },\n                {\n                    \"tag\": \"BUY.SCHPERFROM\",\n                    \"identifier\": \"deal_id\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{BUY.SchPerFrom}\",\n                    \"identifier_value\": \"BWI100165TC\"\n                },\n                {\n                    \"tag\": \"BUY.SCHPERTO\",\n                    \"identifier\": \"deal_id\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{BUY.SchPerTo}\",\n                    \"identifier_value\": \"BWI100165TC\"\n                },\n                {\n                    \"tag\": \"DEAL.DOCS\",\n                    \"identifier\": \"deal_id\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{DEAL.Docs}\",\n                    \"identifier_value\": \"BWI100165TC\"\n                },\n                {\n                    \"tag\": \"BUY.SI\",\n                    \"identifier\": \"supplier_note_ids\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{BUY.SI}\",\n                    \"identifier_value\": []\n                },\n                {\n                    \"tag\": \"MEX.LABEL.REQUIREMENT\",\n                    \"identifier\": \"none\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{MEX.LABEL.REQUIREMENT}\"\n                },\n                {\n                    \"tag\": \"CUSTOM.LEGALPURCHASECONFIRMATION\",\n                    \"identifier\": null,\n                    \"is_row\": false,\n                    \"placeholder\": \"{</w:t></w:r><w:r w:rsidR=\\\"00F0334B\\\" w:rsidRPr=\\\"00F0334B\\\"><w:rPr><w:rFonts w:cs=\\\"Arial\\\"/><w:color w:val=\\\"808080\\\"/><w:sz w:val=\\\"12\\\"/><w:szCs w:val=\\\"16\\\"/><w:lang w:val=\\\"ro-RO\\\"/></w:rPr><w:t>CUSTOM.LEGALPURCHASECONFIRMATION</w:t></w:r><w:r><w:rPr><w:rFonts w:cs=\\\"Arial\\\"/><w:color w:val=\\\"808080\\\"/><w:sz w:val=\\\"12\\\"/><w:szCs w:val=\\\"16\\\"/><w:lang w:val=\\\"ro-RO\\\"/></w:rPr><w:t>}\",\n                    \"identifier_value\": \"All of the terms and conditions of this transaction are herein set forth. To the extent any terms or conditions provided by Seller are inconsistent with these terms and conditions, they are hereby rejected by Bassett & Walker International Inc. or an affiliate thereof (collectively, “BWI”) and the terms and conditions contained herein will apply. This transaction is binding by this document only. Ownership of and title to the goods covered by this transaction shall pass to BWI upon the receipt of shipment. The Seller is solely responsible for obtaining all import documents, approvals and registrations that may be required for the goods to enter the country of import and any effort by BWI to assist therewith is voluntary only and will not relieve Seller from its responsibility for same. All goods covered by this transaction and all related documentation, label or other writing delivered by the Seller in connection with the goods or any transaction are subject to inspection, approval and rejection by BWI. If any goods ( or the applicable documentation, label or writing delivered in connection therewith) are rejected by BWI, such goods shall, at BWI’s option, be replaced or the transaction price therefor credited in full by Seller at Seller’s risk and expense (including any costs and expenses of return and reshipment). Seller hereby indemnifies BWI for all losses, damages, claims and liabilities (including, without limitation, all shipping costs, duties, tariffs, taxes and all legal fees and expenses) arising from or relating to any inaccuracy or incorrectness in or omission from any document, label or other writing delivered, prepared or completed by or on behalf of Seller relating to this transaction. At the request of the parties, this transaction has been concluded in the English language only. This transaction shall be governed by the laws of the Province of Ontario and the federal laws of Canada applicable therein. Neither (a) the United Nations Convention of Contracts for the International Sale of Goods; nor (b) any of the international commercial terms (incoterms) from time to time published by the International Chamber of Commerce will apply to any transaction contemplated by these terms and conditions. For the purposes of all legal proceedings, this transaction will be deemed to have been performed in the Province of Ontario, Canada, and each party hereby attorns to the exclusive jurisdiction of the courts of the Province of Ontario, Canada. Seller agrees to accept service of process at Seller’s address shown on the documents related to this transaction. Any and all legal or agency fees and expenses whatsoever (including without limitation any fees and expenses of any professionals and court costs) incurred by or on behalf of BWI in connection with any dispute, proceeding or uncertainty relating to this transaction including, without limitation, to collect any payment or debt, resolve any dispute, and/or to investigate or discover any alleged failure, loss or damage, shall be the responsibility of and borne by Seller. Seller hereby agrees that BWI is entitled to seek, and Seller will grant, security for any claims that may arise out of these terms and conditions. It is expressly agreed that BWI may set-off or contra any payments or amounts due to Seller to settle any outstanding claim or debt of or due to BWI from Seller. This contract was not solicited by BWI. Receipt by Seller of these terms and conditions, including, without limitation, by electronic mail or facsimile transmission, shall constitute acceptance by Seller of all such terms and conditions, unless Seller notifies BWI in writing of its non-acceptance of such terms and conditions within 24 hours of Seller’s receipt thereof. BWI may, without consent of Seller, assign any or all of its rights and obligations hereunder to any affiliate of BWI. Seller must not assign any of its rights or obligations hereunder whatsoever without prior written consent of BWI. BWI shall not be in default or breach of any of its obligations in connection with this transaction where failure to perform or delay in performing any obligation is due, wholly or in part, directly or indirectly, to the occurrence or apprehension of matters beyond BWI’s reasonable control including, without limitation, acts of God, war or terrorism, acts of governmental authorities (foreign or domestic), sabotage, riot, fire, floods, explosions, epidemics, quarantine restrictions, strikes, lockouts, labour difficulties or labour shortages, accident, embargoes, delays occasioned by carriers and/or inadequate transport facilities, and any inability to procure or maintain any licence, permit, permission or authority.\"\n                },\n                {\n                    \"tag\": \"USER.SIGNATURE\",\n                    \"identifier\": \"signature_file_id\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{User.Signature}\",\n                    \"identifier_value\": \"ce57f96c-400c-4c38-9174-77799a2f8448\"\n                },\n                {\n                    \"tag\": \"USER.FNAME\",\n                    \"identifier\": \"current_user_id\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{USER.FNAME}\",\n                    \"identifier_value\": \"074a96da-a5ac-4732-8917-f176a4a5c898\"\n                },\n                {\n                    \"tag\": \"USER.LNAME\",\n                    \"identifier\": \"current_user_id\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{USER.LNAME}\",\n                    \"identifier_value\": \"074a96da-a5ac-4732-8917-f176a4a5c898\"\n                },\n                {\n                    \"tag\": \"CORP.ADDRNAME\",\n                    \"identifier\": \"bwi_address_object\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{CORP.ADDRNAME}\",\n                    \"identifier_value\": {\n                        \"name\": \"Bassett Walker International, Inc.\",\n                        \"primary\": 1,\n                        \"street1\": \"2 Berkeley St\",\n                        \"street2\": \"Suite 303\",\n                        \"city\": \"Toronto\",\n                        \"cc\": \"CA\",\n                        \"country\": \"Canada\",\n                        \"postal\": \"M5A 4J5\",\n                        \"tax_id\": \"TestTaxID-1234\",\n                        \"telephone1\": \"4163637070\",\n                        \"telephone1_ext\": \"101\",\n                        \"fax\": \"415-666-0101\",\n                        \"fax_ext\": \"102\",\n                        \"note\": \"Note found in address fields in TradeCafe Staff Primary Address\",\n                        \"state\": \"Alberta\",\n                        \"telephone2\": \"4163637071\",\n                        \"email\": \"mfortuna@bassettwalkerinc.com\",\n                        \"state_code\": \"AB\"\n                    }\n                },\n                {\n                    \"tag\": \"CORP.ADDR\",\n                    \"identifier\": \"bwi_address_object\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{CORP.Addr}\",\n                    \"identifier_value\": {\n                        \"name\": \"Bassett Walker International, Inc.\",\n                        \"primary\": 1,\n                        \"street1\": \"2 Berkeley St\",\n                        \"street2\": \"Suite 303\",\n                        \"city\": \"Toronto\",\n                        \"cc\": \"CA\",\n                        \"country\": \"Canada\",\n                        \"postal\": \"M5A 4J5\",\n                        \"tax_id\": \"TestTaxID-1234\",\n                        \"telephone1\": \"4163637070\",\n                        \"telephone1_ext\": \"101\",\n                        \"fax\": \"415-666-0101\",\n                        \"fax_ext\": \"102\",\n                        \"note\": \"Note found in address fields in TradeCafe Staff Primary Address\",\n                        \"state\": \"Alberta\",\n                        \"telephone2\": \"4163637071\",\n                        \"email\": \"mfortuna@bassettwalkerinc.com\",\n                        \"state_code\": \"AB\"\n                    }\n                },\n                {\n                    \"tag\": \"CORP.CITY\",\n                    \"identifier\": \"bwi_address_object\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{CORP.City}\",\n                    \"identifier_value\": {\n                        \"name\": \"Bassett Walker International, Inc.\",\n                        \"primary\": 1,\n                        \"street1\": \"2 Berkeley St\",\n                        \"street2\": \"Suite 303\",\n                        \"city\": \"Toronto\",\n                        \"cc\": \"CA\",\n                        \"country\": \"Canada\",\n                        \"postal\": \"M5A 4J5\",\n                        \"tax_id\": \"TestTaxID-1234\",\n                        \"telephone1\": \"4163637070\",\n                        \"telephone1_ext\": \"101\",\n                        \"fax\": \"415-666-0101\",\n                        \"fax_ext\": \"102\",\n                        \"note\": \"Note found in address fields in TradeCafe Staff Primary Address\",\n                        \"state\": \"Alberta\",\n                        \"telephone2\": \"4163637071\",\n                        \"email\": \"mfortuna@bassettwalkerinc.com\",\n                        \"state_code\": \"AB\"\n                    }\n                },\n                {\n                    \"tag\": \"CORP.STATE\",\n                    \"identifier\": \"bwi_address_object\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{CORP.State}\",\n                    \"identifier_value\": {\n                        \"name\": \"Bassett Walker International, Inc.\",\n                        \"primary\": 1,\n                        \"street1\": \"2 Berkeley St\",\n                        \"street2\": \"Suite 303\",\n                        \"city\": \"Toronto\",\n                        \"cc\": \"CA\",\n                        \"country\": \"Canada\",\n                        \"postal\": \"M5A 4J5\",\n                        \"tax_id\": \"TestTaxID-1234\",\n                        \"telephone1\": \"4163637070\",\n                        \"telephone1_ext\": \"101\",\n                        \"fax\": \"415-666-0101\",\n                        \"fax_ext\": \"102\",\n                        \"note\": \"Note found in address fields in TradeCafe Staff Primary Address\",\n                        \"state\": \"Alberta\",\n                        \"telephone2\": \"4163637071\",\n                        \"email\": \"mfortuna@bassettwalkerinc.com\",\n                        \"state_code\": \"AB\"\n                    }\n                },\n                {\n                    \"tag\": \"CORP.COUNTRY\",\n                    \"identifier\": \"bwi_address_object\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{CORP.Country}\",\n                    \"identifier_value\": {\n                        \"name\": \"Bassett Walker International, Inc.\",\n                        \"primary\": 1,\n                        \"street1\": \"2 Berkeley St\",\n                        \"street2\": \"Suite 303\",\n                        \"city\": \"Toronto\",\n                        \"cc\": \"CA\",\n                        \"country\": \"Canada\",\n                        \"postal\": \"M5A 4J5\",\n                        \"tax_id\": \"TestTaxID-1234\",\n                        \"telephone1\": \"4163637070\",\n                        \"telephone1_ext\": \"101\",\n                        \"fax\": \"415-666-0101\",\n                        \"fax_ext\": \"102\",\n                        \"note\": \"Note found in address fields in TradeCafe Staff Primary Address\",\n                        \"state\": \"Alberta\",\n                        \"telephone2\": \"4163637071\",\n                        \"email\": \"mfortuna@bassettwalkerinc.com\",\n                        \"state_code\": \"AB\"\n                    }\n                },\n                {\n                    \"tag\": \"CORP.ZIP\",\n                    \"identifier\": \"bwi_address_object\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{CORP.ZIP}\",\n                    \"identifier_value\": {\n                        \"name\": \"Bassett Walker International, Inc.\",\n                        \"primary\": 1,\n                        \"street1\": \"2 Berkeley St\",\n                        \"street2\": \"Suite 303\",\n                        \"city\": \"Toronto\",\n                        \"cc\": \"CA\",\n                        \"country\": \"Canada\",\n                        \"postal\": \"M5A 4J5\",\n                        \"tax_id\": \"TestTaxID-1234\",\n                        \"telephone1\": \"4163637070\",\n                        \"telephone1_ext\": \"101\",\n                        \"fax\": \"415-666-0101\",\n                        \"fax_ext\": \"102\",\n                        \"note\": \"Note found in address fields in TradeCafe Staff Primary Address\",\n                        \"state\": \"Alberta\",\n                        \"telephone2\": \"4163637071\",\n                        \"email\": \"mfortuna@bassettwalkerinc.com\",\n                        \"state_code\": \"AB\"\n                    }\n                },\n                {\n                    \"tag\": \"CORP.TEL\",\n                    \"identifier\": \"bwi_address_object\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{CORP.Tel}\",\n                    \"identifier_value\": {\n                        \"name\": \"Bassett Walker International, Inc.\",\n                        \"primary\": 1,\n                        \"street1\": \"2 Berkeley St\",\n                        \"street2\": \"Suite 303\",\n                        \"city\": \"Toronto\",\n                        \"cc\": \"CA\",\n                        \"country\": \"Canada\",\n                        \"postal\": \"M5A 4J5\",\n                        \"tax_id\": \"TestTaxID-1234\",\n                        \"telephone1\": \"4163637070\",\n                        \"telephone1_ext\": \"101\",\n                        \"fax\": \"415-666-0101\",\n                        \"fax_ext\": \"102\",\n                        \"note\": \"Note found in address fields in TradeCafe Staff Primary Address\",\n                        \"state\": \"Alberta\",\n                        \"telephone2\": \"4163637071\",\n                        \"email\": \"mfortuna@bassettwalkerinc.com\",\n                        \"state_code\": \"AB\"\n                    }\n                },\n                {\n                    \"tag\": \"CORP.WEBSITE\",\n                    \"identifier\": \"company_account_id\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{CORP.Website}\",\n                    \"identifier_value\": 1510188624.5357\n                }\n            ],\n            \"rows\": [\n                {\n                    \"offer_id\": \"22c6a2f9-515c-4ad4-8c27-102111cf6cf5\",\n                    \"di_item_type_id\": \"b1844013-cf29-4da6-8d2d-fc8c39cdee72\",\n                    \"product_id\": \"1a449809-803e-4023-9991-c7e2e22ed6b0\",\n                    \"supplier_pricing_terms_id\": \"3780e86d-3ae4-4cb7-9cc6-0c91bdec1418\",\n                    \"wrapping_id\": \"9bf0f53a-9088-431d-b2b4-252a543f1dbe\",\n                    \"di_package_measure_id\": \"d7145cce-e034-4edd-a8cc-138ae6eef326\",\n                    \"weight_type_id\": \"bc63c9f5-051f-4fac-a8f2-024d38083516\",\n                    \"di_package_id\": \"4782d961-4e73-42e1-a137-e2d1f5a7bcc6\"\n                }\n            ]\n        },\n        {\n            \"deal_id\": \"BWI100165TC\",\n            \"file_id\": \"ae72d459-94a1-4b22-8500-c38d87fc177c\",\n            \"requirements\": [\n                {\n                    \"tag\": \"DEAL.DATE\",\n                    \"identifier\": \"deal_id\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{DEAL.Date}\",\n                    \"identifier_value\": \"BWI100165TC\"\n                },\n                {\n                    \"tag\": \"BUY.COFNAME\",\n                    \"identifier\": \"supplier_fullname_string\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{BUY.CoFName}\",\n                    \"identifier_value\": \"Lukas Inc supplier LT mbgerbora@gmail.com\"\n                },\n                {\n                    \"tag\": \"BUY.COADDR\",\n                    \"identifier\": \"supplier_address_object\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{BUY.COADDR}\",\n                    \"identifier_value\": {\n                        \"name\": \"Some address\",\n                        \"primary\": 1,\n                        \"cc\": \"LT\",\n                        \"country\": \"Lithuania\",\n                        \"city\": \"Kaunas\",\n                        \"street1\": \"Nartavos 1\",\n                        \"street2\": \"18\",\n                        \"postal\": \"47489\",\n                        \"telephone1\": \"+37065512315\"\n                    }\n                },\n                {\n                    \"tag\": \"BUY.COADDR2\",\n                    \"identifier\": \"supplier_address_object\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{BUY.COADDR</w:t></w:r><w:r w:rsidR=\\\"005E23EF\\\"><w:rPr><w:rFonts w:cs=\\\"Arial\\\"/><w:b/><w:bCs/><w:color w:val=\\\"000000\\\"/></w:rPr><w:t>2</w:t></w:r><w:r w:rsidR=\\\"005E23EF\\\" w:rsidRPr=\\\"00602807\\\"><w:rPr><w:rFonts w:cs=\\\"Arial\\\"/><w:b/><w:bCs/><w:color w:val=\\\"000000\\\"/></w:rPr><w:t>}\",\n                    \"identifier_value\": {\n                        \"name\": \"Some address\",\n                        \"primary\": 1,\n                        \"cc\": \"LT\",\n                        \"country\": \"Lithuania\",\n                        \"city\": \"Kaunas\",\n                        \"street1\": \"Nartavos 1\",\n                        \"street2\": \"18\",\n                        \"postal\": \"47489\",\n                        \"telephone1\": \"+37065512315\"\n                    }\n                },\n                {\n                    \"tag\": \"BUY.COCITY\",\n                    \"identifier\": \"supplier_address_object\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{BUY.COCITY}\",\n                    \"identifier_value\": {\n                        \"name\": \"Some address\",\n                        \"primary\": 1,\n                        \"cc\": \"LT\",\n                        \"country\": \"Lithuania\",\n                        \"city\": \"Kaunas\",\n                        \"street1\": \"Nartavos 1\",\n                        \"street2\": \"18\",\n                        \"postal\": \"47489\",\n                        \"telephone1\": \"+37065512315\"\n                    }\n                },\n                {\n                    \"tag\": \"BUY.COSTATE\",\n                    \"identifier\": \"supplier_address_object\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{BUY.COSTATE}\",\n                    \"identifier_value\": {\n                        \"name\": \"Some address\",\n                        \"primary\": 1,\n                        \"cc\": \"LT\",\n                        \"country\": \"Lithuania\",\n                        \"city\": \"Kaunas\",\n                        \"street1\": \"Nartavos 1\",\n                        \"street2\": \"18\",\n                        \"postal\": \"47489\",\n                        \"telephone1\": \"+37065512315\"\n                    }\n                },\n                {\n                    \"tag\": \"BUY.COCOUNTRY\",\n                    \"identifier\": \"supplier_address_object\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{BUY.COCOUNTRY}\",\n                    \"identifier_value\": {\n                        \"name\": \"Some address\",\n                        \"primary\": 1,\n                        \"cc\": \"LT\",\n                        \"country\": \"Lithuania\",\n                        \"city\": \"Kaunas\",\n                        \"street1\": \"Nartavos 1\",\n                        \"street2\": \"18\",\n                        \"postal\": \"47489\",\n                        \"telephone1\": \"+37065512315\"\n                    }\n                },\n                {\n                    \"tag\": \"BUY.COZIP\",\n                    \"identifier\": \"supplier_address_object\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{BUY.COZIP}\",\n                    \"identifier_value\": {\n                        \"name\": \"Some address\",\n                        \"primary\": 1,\n                        \"cc\": \"LT\",\n                        \"country\": \"Lithuania\",\n                        \"city\": \"Kaunas\",\n                        \"street1\": \"Nartavos 1\",\n                        \"street2\": \"18\",\n                        \"postal\": \"47489\",\n                        \"telephone1\": \"+37065512315\"\n                    }\n                },\n                {\n                    \"tag\": \"DEAL.REFNO\",\n                    \"identifier\": \"deal_id\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{DEAL.RefNo}\",\n                    \"identifier_value\": \"BWI100165TC\"\n                },\n                {\n                    \"tag\": \"DEAL.REFNO\",\n                    \"identifier\": \"deal_id\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{DEAL.RefNo}\",\n                    \"identifier_value\": \"BWI100165TC\"\n                },\n                {\n                    \"tag\": \"BUY.REFNO\",\n                    \"identifier\": \"deal_id\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{BUY.RefNo}\",\n                    \"identifier_value\": \"BWI100165TC\"\n                },\n                {\n                    \"tag\": \"BUY.TOTNETWGHTE\",\n                    \"identifier\": \"deal_id\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{BUY.TotNetWghtE}\",\n                    \"identifier_value\": \"BWI100165TC\"\n                },\n                {\n                    \"tag\": \"BUY.PTWGHT\",\n                    \"identifier\": \"buy_measure_id\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{BUY.PTWght}\",\n                    \"identifier_value\": \"d7145cce-e034-4edd-a8cc-138ae6eef326\"\n                },\n                {\n                    \"tag\": \"DI.BUYWGHTE\",\n                    \"identifier\": \"offer_id\",\n                    \"is_row\": true,\n                    \"placeholder\": \"{DI.BuyWghtE.Row}\"\n                },\n                {\n                    \"tag\": \"BUY.PTWGHT\",\n                    \"identifier\": \"buy_measure_id\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{BUY.PTWght}\",\n                    \"identifier_value\": \"d7145cce-e034-4edd-a8cc-138ae6eef326\"\n                },\n                {\n                    \"tag\": \"DI.TYPE\",\n                    \"identifier\": \"di_item_type_id\",\n                    \"is_row\": true,\n                    \"placeholder\": \"{DI.Type.Row}\"\n                },\n                {\n                    \"tag\": \"DI.PRODUCT\",\n                    \"identifier\": \"product_id\",\n                    \"is_row\": true,\n                    \"placeholder\": \"{DI.Product.Row}\"\n                },\n                {\n                    \"tag\": \"DI.SPECS\",\n                    \"identifier\": \"offer_id\",\n                    \"is_row\": true,\n                    \"placeholder\": \"{DI.Specs.Row}\"\n                },\n                {\n                    \"tag\": \"DI.BUYCUE\",\n                    \"identifier\": \"offer_id\",\n                    \"is_row\": true,\n                    \"placeholder\": \"{DI.BuyCUE.Row}\"\n                },\n                {\n                    \"tag\": \"BUY.PTCURRENCY\",\n                    \"identifier\": \"deal_id\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{Buy.PTCurrency}\",\n                    \"identifier_value\": \"BWI100165TC\"\n                },\n                {\n                    \"tag\": \"BUY.PTWGHT\",\n                    \"identifier\": \"buy_measure_id\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{Buy.PTWght}\",\n                    \"identifier_value\": \"d7145cce-e034-4edd-a8cc-138ae6eef326\"\n                },\n                {\n                    \"tag\": \"BUY.INCOPT\",\n                    \"identifier\": \"supplier_pricing_terms_id\",\n                    \"is_row\": true,\n                    \"placeholder\": \"{BUY.INCOPT</w:t></w:r><w:r w:rsidR=\\\"000D76AF\\\"><w:rPr><w:b/></w:rPr><w:t>.Row</w:t></w:r><w:r><w:rPr><w:b/></w:rPr><w:t>}\"\n                },\n                {\n                    \"tag\": \"BUY.PTLOC\",\n                    \"identifier\": \"pickup_location_id\",\n                    \"is_row\": true,\n                    \"placeholder\": \"{BUY.PTLOC</w:t></w:r><w:r w:rsidR=\\\"000D76AF\\\"><w:rPr><w:b/></w:rPr><w:t>.Row</w:t></w:r><w:r><w:rPr><w:b/></w:rPr><w:t>}\"\n                },\n                {\n                    \"tag\": \"DI.WRP\",\n                    \"identifier\": \"wrapping_id\",\n                    \"is_row\": true,\n                    \"placeholder\": \"{DI.WRP.Row}\"\n                },\n                {\n                    \"tag\": \"DI.PKGSZ\",\n                    \"identifier\": \"offer_id\",\n                    \"is_row\": true,\n                    \"placeholder\": \"{DI.PkgSz.Row}\"\n                },\n                {\n                    \"tag\": \"DI.PKGUNIT\",\n                    \"identifier\": \"di_package_measure_id\",\n                    \"is_row\": true,\n                    \"placeholder\": \"{DI.PkgUnit.Row}\"\n                },\n                {\n                    \"tag\": \"DI.WGHTTYPE\",\n                    \"identifier\": \"weight_type_id\",\n                    \"is_row\": true,\n                    \"placeholder\": \"{DI.WghtType.Row}\"\n                },\n                {\n                    \"tag\": \"DI.PKGTYPE\",\n                    \"identifier\": \"di_package_id\",\n                    \"is_row\": true,\n                    \"placeholder\": \"{DI.PkgType.Row}\"\n                },\n                {\n                    \"tag\": \"BUY.PICKESTABLISHMENTNO\",\n                    \"identifier\": \"offer_id\",\n                    \"is_row\": true,\n                    \"placeholder\": \"{BUY.PICKESTABLISHMENTNO</w:t></w:r><w:r w:rsidR=\\\"00D2312F\\\"><w:rPr><w:rFonts w:cs=\\\"Arial\\\"/><w:b/><w:bCs/><w:color w:val=\\\"000000\\\"/></w:rPr><w:t>.Row</w:t></w:r><w:r w:rsidR=\\\"00CE4446\\\" w:rsidRPr=\\\"00CE4446\\\"><w:rPr><w:rFonts w:cs=\\\"Arial\\\"/><w:b/><w:bCs/><w:color w:val=\\\"000000\\\"/></w:rPr><w:t>}\"\n                },\n                {\n                    \"tag\": \"DEAL.ORIGIN\",\n                    \"identifier\": \"origin_location_id\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{DEAL.Origin}\",\n                    \"identifier_value\": \"8e54c460-9d24-401f-942b-c446e977b5dd\"\n                },\n                {\n                    \"tag\": \"BUY.SCHPERFROM\",\n                    \"identifier\": \"deal_id\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{BUY.SchPerFrom}\",\n                    \"identifier_value\": \"BWI100165TC\"\n                },\n                {\n                    \"tag\": \"BUY.SCHPERTO\",\n                    \"identifier\": \"deal_id\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{BUY.SchPerTo}\",\n                    \"identifier_value\": \"BWI100165TC\"\n                },\n                {\n                    \"tag\": \"DEAL.DOCS\",\n                    \"identifier\": \"deal_id\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{DEAL.Docs}\",\n                    \"identifier_value\": \"BWI100165TC\"\n                },\n                {\n                    \"tag\": \"BUY.SI\",\n                    \"identifier\": \"supplier_note_ids\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{BUY.SI}\",\n                    \"identifier_value\": []\n                },\n                {\n                    \"tag\": \"MEX.LABEL.REQUIREMENT\",\n                    \"identifier\": \"none\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{MEX.LABEL.REQUIREMENT}\"\n                },\n                {\n                    \"tag\": \"CUSTOM.LEGALPURCHASECONFIRMATION\",\n                    \"identifier\": null,\n                    \"is_row\": false,\n                    \"placeholder\": \"{</w:t></w:r><w:r w:rsidR=\\\"00F0334B\\\" w:rsidRPr=\\\"00F0334B\\\"><w:rPr><w:rFonts w:cs=\\\"Arial\\\"/><w:color w:val=\\\"808080\\\"/><w:sz w:val=\\\"12\\\"/><w:szCs w:val=\\\"16\\\"/><w:lang w:val=\\\"ro-RO\\\"/></w:rPr><w:t>CUSTOM.LEGALPURCHASECONFIRMATION</w:t></w:r><w:r><w:rPr><w:rFonts w:cs=\\\"Arial\\\"/><w:color w:val=\\\"808080\\\"/><w:sz w:val=\\\"12\\\"/><w:szCs w:val=\\\"16\\\"/><w:lang w:val=\\\"ro-RO\\\"/></w:rPr><w:t>}\",\n                    \"identifier_value\": \"All of the terms and conditions of this transaction are herein set forth. To the extent any terms or conditions provided by Seller are inconsistent with these terms and conditions, they are hereby rejected by Bassett & Walker International Inc. or an affiliate thereof (collectively, “BWI”) and the terms and conditions contained herein will apply. This transaction is binding by this document only. Ownership of and title to the goods covered by this transaction shall pass to BWI upon the receipt of shipment. The Seller is solely responsible for obtaining all import documents, approvals and registrations that may be required for the goods to enter the country of import and any effort by BWI to assist therewith is voluntary only and will not relieve Seller from its responsibility for same. All goods covered by this transaction and all related documentation, label or other writing delivered by the Seller in connection with the goods or any transaction are subject to inspection, approval and rejection by BWI. If any goods ( or the applicable documentation, label or writing delivered in connection therewith) are rejected by BWI, such goods shall, at BWI’s option, be replaced or the transaction price therefor credited in full by Seller at Seller’s risk and expense (including any costs and expenses of return and reshipment). Seller hereby indemnifies BWI for all losses, damages, claims and liabilities (including, without limitation, all shipping costs, duties, tariffs, taxes and all legal fees and expenses) arising from or relating to any inaccuracy or incorrectness in or omission from any document, label or other writing delivered, prepared or completed by or on behalf of Seller relating to this transaction. At the request of the parties, this transaction has been concluded in the English language only. This transaction shall be governed by the laws of the Province of Ontario and the federal laws of Canada applicable therein. Neither (a) the United Nations Convention of Contracts for the International Sale of Goods; nor (b) any of the international commercial terms (incoterms) from time to time published by the International Chamber of Commerce will apply to any transaction contemplated by these terms and conditions. For the purposes of all legal proceedings, this transaction will be deemed to have been performed in the Province of Ontario, Canada, and each party hereby attorns to the exclusive jurisdiction of the courts of the Province of Ontario, Canada. Seller agrees to accept service of process at Seller’s address shown on the documents related to this transaction. Any and all legal or agency fees and expenses whatsoever (including without limitation any fees and expenses of any professionals and court costs) incurred by or on behalf of BWI in connection with any dispute, proceeding or uncertainty relating to this transaction including, without limitation, to collect any payment or debt, resolve any dispute, and/or to investigate or discover any alleged failure, loss or damage, shall be the responsibility of and borne by Seller. Seller hereby agrees that BWI is entitled to seek, and Seller will grant, security for any claims that may arise out of these terms and conditions. It is expressly agreed that BWI may set-off or contra any payments or amounts due to Seller to settle any outstanding claim or debt of or due to BWI from Seller. This contract was not solicited by BWI. Receipt by Seller of these terms and conditions, including, without limitation, by electronic mail or facsimile transmission, shall constitute acceptance by Seller of all such terms and conditions, unless Seller notifies BWI in writing of its non-acceptance of such terms and conditions within 24 hours of Seller’s receipt thereof. BWI may, without consent of Seller, assign any or all of its rights and obligations hereunder to any affiliate of BWI. Seller must not assign any of its rights or obligations hereunder whatsoever without prior written consent of BWI. BWI shall not be in default or breach of any of its obligations in connection with this transaction where failure to perform or delay in performing any obligation is due, wholly or in part, directly or indirectly, to the occurrence or apprehension of matters beyond BWI’s reasonable control including, without limitation, acts of God, war or terrorism, acts of governmental authorities (foreign or domestic), sabotage, riot, fire, floods, explosions, epidemics, quarantine restrictions, strikes, lockouts, labour difficulties or labour shortages, accident, embargoes, delays occasioned by carriers and/or inadequate transport facilities, and any inability to procure or maintain any licence, permit, permission or authority.\"\n                },\n                {\n                    \"tag\": \"USER.SIGNATURE\",\n                    \"identifier\": \"signature_file_id\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{User.Signature}\",\n                    \"identifier_value\": \"ce57f96c-400c-4c38-9174-77799a2f8448\"\n                },\n                {\n                    \"tag\": \"USER.FNAME\",\n                    \"identifier\": \"current_user_id\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{USER.FNAME}\",\n                    \"identifier_value\": \"074a96da-a5ac-4732-8917-f176a4a5c898\"\n                },\n                {\n                    \"tag\": \"USER.LNAME\",\n                    \"identifier\": \"current_user_id\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{USER.LNAME}\",\n                    \"identifier_value\": \"074a96da-a5ac-4732-8917-f176a4a5c898\"\n                },\n                {\n                    \"tag\": \"CORP.ADDRNAME\",\n                    \"identifier\": \"bwi_address_object\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{CORP.ADDRNAME}\",\n                    \"identifier_value\": {\n                        \"name\": \"Bassett Walker International, Inc.\",\n                        \"primary\": 1,\n                        \"street1\": \"2 Berkeley St\",\n                        \"street2\": \"Suite 303\",\n                        \"city\": \"Toronto\",\n                        \"cc\": \"CA\",\n                        \"country\": \"Canada\",\n                        \"postal\": \"M5A 4J5\",\n                        \"tax_id\": \"TestTaxID-1234\",\n                        \"telephone1\": \"4163637070\",\n                        \"telephone1_ext\": \"101\",\n                        \"fax\": \"415-666-0101\",\n                        \"fax_ext\": \"102\",\n                        \"note\": \"Note found in address fields in TradeCafe Staff Primary Address\",\n                        \"state\": \"Alberta\",\n                        \"telephone2\": \"4163637071\",\n                        \"email\": \"mfortuna@bassettwalkerinc.com\",\n                        \"state_code\": \"AB\"\n                    }\n                },\n                {\n                    \"tag\": \"CORP.ADDR\",\n                    \"identifier\": \"bwi_address_object\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{CORP.Addr}\",\n                    \"identifier_value\": {\n                        \"name\": \"Bassett Walker International, Inc.\",\n                        \"primary\": 1,\n                        \"street1\": \"2 Berkeley St\",\n                        \"street2\": \"Suite 303\",\n                        \"city\": \"Toronto\",\n                        \"cc\": \"CA\",\n                        \"country\": \"Canada\",\n                        \"postal\": \"M5A 4J5\",\n                        \"tax_id\": \"TestTaxID-1234\",\n                        \"telephone1\": \"4163637070\",\n                        \"telephone1_ext\": \"101\",\n                        \"fax\": \"415-666-0101\",\n                        \"fax_ext\": \"102\",\n                        \"note\": \"Note found in address fields in TradeCafe Staff Primary Address\",\n                        \"state\": \"Alberta\",\n                        \"telephone2\": \"4163637071\",\n                        \"email\": \"mfortuna@bassettwalkerinc.com\",\n                        \"state_code\": \"AB\"\n                    }\n                },\n                {\n                    \"tag\": \"CORP.CITY\",\n                    \"identifier\": \"bwi_address_object\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{CORP.City}\",\n                    \"identifier_value\": {\n                        \"name\": \"Bassett Walker International, Inc.\",\n                        \"primary\": 1,\n                        \"street1\": \"2 Berkeley St\",\n                        \"street2\": \"Suite 303\",\n                        \"city\": \"Toronto\",\n                        \"cc\": \"CA\",\n                        \"country\": \"Canada\",\n                        \"postal\": \"M5A 4J5\",\n                        \"tax_id\": \"TestTaxID-1234\",\n                        \"telephone1\": \"4163637070\",\n                        \"telephone1_ext\": \"101\",\n                        \"fax\": \"415-666-0101\",\n                        \"fax_ext\": \"102\",\n                        \"note\": \"Note found in address fields in TradeCafe Staff Primary Address\",\n                        \"state\": \"Alberta\",\n                        \"telephone2\": \"4163637071\",\n                        \"email\": \"mfortuna@bassettwalkerinc.com\",\n                        \"state_code\": \"AB\"\n                    }\n                },\n                {\n                    \"tag\": \"CORP.STATE\",\n                    \"identifier\": \"bwi_address_object\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{CORP.State}\",\n                    \"identifier_value\": {\n                        \"name\": \"Bassett Walker International, Inc.\",\n                        \"primary\": 1,\n                        \"street1\": \"2 Berkeley St\",\n                        \"street2\": \"Suite 303\",\n                        \"city\": \"Toronto\",\n                        \"cc\": \"CA\",\n                        \"country\": \"Canada\",\n                        \"postal\": \"M5A 4J5\",\n                        \"tax_id\": \"TestTaxID-1234\",\n                        \"telephone1\": \"4163637070\",\n                        \"telephone1_ext\": \"101\",\n                        \"fax\": \"415-666-0101\",\n                        \"fax_ext\": \"102\",\n                        \"note\": \"Note found in address fields in TradeCafe Staff Primary Address\",\n                        \"state\": \"Alberta\",\n                        \"telephone2\": \"4163637071\",\n                        \"email\": \"mfortuna@bassettwalkerinc.com\",\n                        \"state_code\": \"AB\"\n                    }\n                },\n                {\n                    \"tag\": \"CORP.COUNTRY\",\n                    \"identifier\": \"bwi_address_object\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{CORP.Country}\",\n                    \"identifier_value\": {\n                        \"name\": \"Bassett Walker International, Inc.\",\n                        \"primary\": 1,\n                        \"street1\": \"2 Berkeley St\",\n                        \"street2\": \"Suite 303\",\n                        \"city\": \"Toronto\",\n                        \"cc\": \"CA\",\n                        \"country\": \"Canada\",\n                        \"postal\": \"M5A 4J5\",\n                        \"tax_id\": \"TestTaxID-1234\",\n                        \"telephone1\": \"4163637070\",\n                        \"telephone1_ext\": \"101\",\n                        \"fax\": \"415-666-0101\",\n                        \"fax_ext\": \"102\",\n                        \"note\": \"Note found in address fields in TradeCafe Staff Primary Address\",\n                        \"state\": \"Alberta\",\n                        \"telephone2\": \"4163637071\",\n                        \"email\": \"mfortuna@bassettwalkerinc.com\",\n                        \"state_code\": \"AB\"\n                    }\n                },\n                {\n                    \"tag\": \"CORP.ZIP\",\n                    \"identifier\": \"bwi_address_object\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{CORP.ZIP}\",\n                    \"identifier_value\": {\n                        \"name\": \"Bassett Walker International, Inc.\",\n                        \"primary\": 1,\n                        \"street1\": \"2 Berkeley St\",\n                        \"street2\": \"Suite 303\",\n                        \"city\": \"Toronto\",\n                        \"cc\": \"CA\",\n                        \"country\": \"Canada\",\n                        \"postal\": \"M5A 4J5\",\n                        \"tax_id\": \"TestTaxID-1234\",\n                        \"telephone1\": \"4163637070\",\n                        \"telephone1_ext\": \"101\",\n                        \"fax\": \"415-666-0101\",\n                        \"fax_ext\": \"102\",\n                        \"note\": \"Note found in address fields in TradeCafe Staff Primary Address\",\n                        \"state\": \"Alberta\",\n                        \"telephone2\": \"4163637071\",\n                        \"email\": \"mfortuna@bassettwalkerinc.com\",\n                        \"state_code\": \"AB\"\n                    }\n                },\n                {\n                    \"tag\": \"CORP.TEL\",\n                    \"identifier\": \"bwi_address_object\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{CORP.Tel}\",\n                    \"identifier_value\": {\n                        \"name\": \"Bassett Walker International, Inc.\",\n                        \"primary\": 1,\n                        \"street1\": \"2 Berkeley St\",\n                        \"street2\": \"Suite 303\",\n                        \"city\": \"Toronto\",\n                        \"cc\": \"CA\",\n                        \"country\": \"Canada\",\n                        \"postal\": \"M5A 4J5\",\n                        \"tax_id\": \"TestTaxID-1234\",\n                        \"telephone1\": \"4163637070\",\n                        \"telephone1_ext\": \"101\",\n                        \"fax\": \"415-666-0101\",\n                        \"fax_ext\": \"102\",\n                        \"note\": \"Note found in address fields in TradeCafe Staff Primary Address\",\n                        \"state\": \"Alberta\",\n                        \"telephone2\": \"4163637071\",\n                        \"email\": \"mfortuna@bassettwalkerinc.com\",\n                        \"state_code\": \"AB\"\n                    }\n                },\n                {\n                    \"tag\": \"CORP.WEBSITE\",\n                    \"identifier\": \"company_account_id\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{CORP.Website}\",\n                    \"identifier_value\": 1510188624.5357\n                }\n            ],\n            \"rows\": [\n                {\n                    \"offer_id\": \"22c6a2f9-515c-4ad4-8c27-102111cf6cf5\",\n                    \"di_item_type_id\": \"b1844013-cf29-4da6-8d2d-fc8c39cdee72\",\n                    \"product_id\": \"1a449809-803e-4023-9991-c7e2e22ed6b0\",\n                    \"supplier_pricing_terms_id\": \"3780e86d-3ae4-4cb7-9cc6-0c91bdec1418\",\n                    \"wrapping_id\": \"9bf0f53a-9088-431d-b2b4-252a543f1dbe\",\n                    \"di_package_measure_id\": \"d7145cce-e034-4edd-a8cc-138ae6eef326\",\n                    \"weight_type_id\": \"bc63c9f5-051f-4fac-a8f2-024d38083516\",\n                    \"di_package_id\": \"4782d961-4e73-42e1-a137-e2d1f5a7bcc6\"\n                }\n            ]\n        }\n    ]\n}"},"url":"{{gateway_host}}/document-generate-mass"},"response":[],"_postman_id":"dbfe86de-f8ab-44b4-a3f2-085cba4538b2"},{"name":"generate document mass","id":"fb5991fb-6cbf-4a4a-ba7c-9d3204bcb6f4","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n    \"deal_id\": \"BWI100165TC\",\n    \"file_id\": \"ae72d459-94a1-4b22-8500-c38d87fc177c\",\n    \"name\": \"signature-test-4\",\n    \"data\": [\n        {\n            \"deal_id\": \"BWI100165TC\",\n            \"file_id\": \"ae72d459-94a1-4b22-8500-c38d87fc177c\",\n            \"requirements\": [\n                {\n                    \"tag\": \"DEAL.DATE\",\n                    \"identifier\": \"deal_id\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{DEAL.Date}\",\n                    \"identifier_value\": \"BWI100165TC\"\n                },\n                {\n                    \"tag\": \"BUY.COFNAME\",\n                    \"identifier\": \"supplier_fullname_string\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{BUY.CoFName}\",\n                    \"identifier_value\": \"Lukas Inc supplier LT mbgerbora@gmail.com\"\n                },\n                {\n                    \"tag\": \"BUY.COADDR\",\n                    \"identifier\": \"supplier_address_object\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{BUY.COADDR}\",\n                    \"identifier_value\": {\n                        \"name\": \"Some address\",\n                        \"primary\": 1,\n                        \"cc\": \"LT\",\n                        \"country\": \"Lithuania\",\n                        \"city\": \"Kaunas\",\n                        \"street1\": \"Nartavos 1\",\n                        \"street2\": \"18\",\n                        \"postal\": \"47489\",\n                        \"telephone1\": \"+37065512315\"\n                    }\n                },\n                {\n                    \"tag\": \"BUY.COADDR2\",\n                    \"identifier\": \"supplier_address_object\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{BUY.COADDR</w:t></w:r><w:r w:rsidR=\\\"005E23EF\\\"><w:rPr><w:rFonts w:cs=\\\"Arial\\\"/><w:b/><w:bCs/><w:color w:val=\\\"000000\\\"/></w:rPr><w:t>2</w:t></w:r><w:r w:rsidR=\\\"005E23EF\\\" w:rsidRPr=\\\"00602807\\\"><w:rPr><w:rFonts w:cs=\\\"Arial\\\"/><w:b/><w:bCs/><w:color w:val=\\\"000000\\\"/></w:rPr><w:t>}\",\n                    \"identifier_value\": {\n                        \"name\": \"Some address\",\n                        \"primary\": 1,\n                        \"cc\": \"LT\",\n                        \"country\": \"Lithuania\",\n                        \"city\": \"Kaunas\",\n                        \"street1\": \"Nartavos 1\",\n                        \"street2\": \"18\",\n                        \"postal\": \"47489\",\n                        \"telephone1\": \"+37065512315\"\n                    }\n                },\n                {\n                    \"tag\": \"BUY.COCITY\",\n                    \"identifier\": \"supplier_address_object\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{BUY.COCITY}\",\n                    \"identifier_value\": {\n                        \"name\": \"Some address\",\n                        \"primary\": 1,\n                        \"cc\": \"LT\",\n                        \"country\": \"Lithuania\",\n                        \"city\": \"Kaunas\",\n                        \"street1\": \"Nartavos 1\",\n                        \"street2\": \"18\",\n                        \"postal\": \"47489\",\n                        \"telephone1\": \"+37065512315\"\n                    }\n                },\n                {\n                    \"tag\": \"BUY.COSTATE\",\n                    \"identifier\": \"supplier_address_object\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{BUY.COSTATE}\",\n                    \"identifier_value\": {\n                        \"name\": \"Some address\",\n                        \"primary\": 1,\n                        \"cc\": \"LT\",\n                        \"country\": \"Lithuania\",\n                        \"city\": \"Kaunas\",\n                        \"street1\": \"Nartavos 1\",\n                        \"street2\": \"18\",\n                        \"postal\": \"47489\",\n                        \"telephone1\": \"+37065512315\"\n                    }\n                },\n                {\n                    \"tag\": \"BUY.COCOUNTRY\",\n                    \"identifier\": \"supplier_address_object\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{BUY.COCOUNTRY}\",\n                    \"identifier_value\": {\n                        \"name\": \"Some address\",\n                        \"primary\": 1,\n                        \"cc\": \"LT\",\n                        \"country\": \"Lithuania\",\n                        \"city\": \"Kaunas\",\n                        \"street1\": \"Nartavos 1\",\n                        \"street2\": \"18\",\n                        \"postal\": \"47489\",\n                        \"telephone1\": \"+37065512315\"\n                    }\n                },\n                {\n                    \"tag\": \"BUY.COZIP\",\n                    \"identifier\": \"supplier_address_object\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{BUY.COZIP}\",\n                    \"identifier_value\": {\n                        \"name\": \"Some address\",\n                        \"primary\": 1,\n                        \"cc\": \"LT\",\n                        \"country\": \"Lithuania\",\n                        \"city\": \"Kaunas\",\n                        \"street1\": \"Nartavos 1\",\n                        \"street2\": \"18\",\n                        \"postal\": \"47489\",\n                        \"telephone1\": \"+37065512315\"\n                    }\n                },\n                {\n                    \"tag\": \"DEAL.REFNO\",\n                    \"identifier\": \"deal_id\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{DEAL.RefNo}\",\n                    \"identifier_value\": \"BWI100165TC\"\n                },\n                {\n                    \"tag\": \"DEAL.REFNO\",\n                    \"identifier\": \"deal_id\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{DEAL.RefNo}\",\n                    \"identifier_value\": \"BWI100165TC\"\n                },\n                {\n                    \"tag\": \"BUY.REFNO\",\n                    \"identifier\": \"deal_id\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{BUY.RefNo}\",\n                    \"identifier_value\": \"BWI100165TC\"\n                },\n                {\n                    \"tag\": \"BUY.TOTNETWGHTE\",\n                    \"identifier\": \"deal_id\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{BUY.TotNetWghtE}\",\n                    \"identifier_value\": \"BWI100165TC\"\n                },\n                {\n                    \"tag\": \"BUY.PTWGHT\",\n                    \"identifier\": \"buy_measure_id\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{BUY.PTWght}\",\n                    \"identifier_value\": \"d7145cce-e034-4edd-a8cc-138ae6eef326\"\n                },\n                {\n                    \"tag\": \"DI.BUYWGHTE\",\n                    \"identifier\": \"offer_id\",\n                    \"is_row\": true,\n                    \"placeholder\": \"{DI.BuyWghtE.Row}\"\n                },\n                {\n                    \"tag\": \"BUY.PTWGHT\",\n                    \"identifier\": \"buy_measure_id\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{BUY.PTWght}\",\n                    \"identifier_value\": \"d7145cce-e034-4edd-a8cc-138ae6eef326\"\n                },\n                {\n                    \"tag\": \"DI.TYPE\",\n                    \"identifier\": \"di_item_type_id\",\n                    \"is_row\": true,\n                    \"placeholder\": \"{DI.Type.Row}\"\n                },\n                {\n                    \"tag\": \"DI.PRODUCT\",\n                    \"identifier\": \"product_id\",\n                    \"is_row\": true,\n                    \"placeholder\": \"{DI.Product.Row}\"\n                },\n                {\n                    \"tag\": \"DI.SPECS\",\n                    \"identifier\": \"offer_id\",\n                    \"is_row\": true,\n                    \"placeholder\": \"{DI.Specs.Row}\"\n                },\n                {\n                    \"tag\": \"DI.BUYCUE\",\n                    \"identifier\": \"offer_id\",\n                    \"is_row\": true,\n                    \"placeholder\": \"{DI.BuyCUE.Row}\"\n                },\n                {\n                    \"tag\": \"BUY.PTCURRENCY\",\n                    \"identifier\": \"deal_id\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{Buy.PTCurrency}\",\n                    \"identifier_value\": \"BWI100165TC\"\n                },\n                {\n                    \"tag\": \"BUY.PTWGHT\",\n                    \"identifier\": \"buy_measure_id\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{Buy.PTWght}\",\n                    \"identifier_value\": \"d7145cce-e034-4edd-a8cc-138ae6eef326\"\n                },\n                {\n                    \"tag\": \"BUY.INCOPT\",\n                    \"identifier\": \"supplier_pricing_terms_id\",\n                    \"is_row\": true,\n                    \"placeholder\": \"{BUY.INCOPT</w:t></w:r><w:r w:rsidR=\\\"000D76AF\\\"><w:rPr><w:b/></w:rPr><w:t>.Row</w:t></w:r><w:r><w:rPr><w:b/></w:rPr><w:t>}\"\n                },\n                {\n                    \"tag\": \"BUY.PTLOC\",\n                    \"identifier\": \"pickup_location_id\",\n                    \"is_row\": true,\n                    \"placeholder\": \"{BUY.PTLOC</w:t></w:r><w:r w:rsidR=\\\"000D76AF\\\"><w:rPr><w:b/></w:rPr><w:t>.Row</w:t></w:r><w:r><w:rPr><w:b/></w:rPr><w:t>}\"\n                },\n                {\n                    \"tag\": \"DI.WRP\",\n                    \"identifier\": \"wrapping_id\",\n                    \"is_row\": true,\n                    \"placeholder\": \"{DI.WRP.Row}\"\n                },\n                {\n                    \"tag\": \"DI.PKGSZ\",\n                    \"identifier\": \"offer_id\",\n                    \"is_row\": true,\n                    \"placeholder\": \"{DI.PkgSz.Row}\"\n                },\n                {\n                    \"tag\": \"DI.PKGUNIT\",\n                    \"identifier\": \"di_package_measure_id\",\n                    \"is_row\": true,\n                    \"placeholder\": \"{DI.PkgUnit.Row}\"\n                },\n                {\n                    \"tag\": \"DI.WGHTTYPE\",\n                    \"identifier\": \"weight_type_id\",\n                    \"is_row\": true,\n                    \"placeholder\": \"{DI.WghtType.Row}\"\n                },\n                {\n                    \"tag\": \"DI.PKGTYPE\",\n                    \"identifier\": \"di_package_id\",\n                    \"is_row\": true,\n                    \"placeholder\": \"{DI.PkgType.Row}\"\n                },\n                {\n                    \"tag\": \"BUY.PICKESTABLISHMENTNO\",\n                    \"identifier\": \"offer_id\",\n                    \"is_row\": true,\n                    \"placeholder\": \"{BUY.PICKESTABLISHMENTNO</w:t></w:r><w:r w:rsidR=\\\"00D2312F\\\"><w:rPr><w:rFonts w:cs=\\\"Arial\\\"/><w:b/><w:bCs/><w:color w:val=\\\"000000\\\"/></w:rPr><w:t>.Row</w:t></w:r><w:r w:rsidR=\\\"00CE4446\\\" w:rsidRPr=\\\"00CE4446\\\"><w:rPr><w:rFonts w:cs=\\\"Arial\\\"/><w:b/><w:bCs/><w:color w:val=\\\"000000\\\"/></w:rPr><w:t>}\"\n                },\n                {\n                    \"tag\": \"DEAL.ORIGIN\",\n                    \"identifier\": \"origin_location_id\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{DEAL.Origin}\",\n                    \"identifier_value\": \"8e54c460-9d24-401f-942b-c446e977b5dd\"\n                },\n                {\n                    \"tag\": \"BUY.SCHPERFROM\",\n                    \"identifier\": \"deal_id\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{BUY.SchPerFrom}\",\n                    \"identifier_value\": \"BWI100165TC\"\n                },\n                {\n                    \"tag\": \"BUY.SCHPERTO\",\n                    \"identifier\": \"deal_id\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{BUY.SchPerTo}\",\n                    \"identifier_value\": \"BWI100165TC\"\n                },\n                {\n                    \"tag\": \"DEAL.DOCS\",\n                    \"identifier\": \"deal_id\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{DEAL.Docs}\",\n                    \"identifier_value\": \"BWI100165TC\"\n                },\n                {\n                    \"tag\": \"BUY.SI\",\n                    \"identifier\": \"supplier_note_ids\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{BUY.SI}\",\n                    \"identifier_value\": []\n                },\n                {\n                    \"tag\": \"MEX.LABEL.REQUIREMENT\",\n                    \"identifier\": \"none\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{MEX.LABEL.REQUIREMENT}\"\n                },\n                {\n                    \"tag\": \"CUSTOM.LEGALPURCHASECONFIRMATION\",\n                    \"identifier\": null,\n                    \"is_row\": false,\n                    \"placeholder\": \"{</w:t></w:r><w:r w:rsidR=\\\"00F0334B\\\" w:rsidRPr=\\\"00F0334B\\\"><w:rPr><w:rFonts w:cs=\\\"Arial\\\"/><w:color w:val=\\\"808080\\\"/><w:sz w:val=\\\"12\\\"/><w:szCs w:val=\\\"16\\\"/><w:lang w:val=\\\"ro-RO\\\"/></w:rPr><w:t>CUSTOM.LEGALPURCHASECONFIRMATION</w:t></w:r><w:r><w:rPr><w:rFonts w:cs=\\\"Arial\\\"/><w:color w:val=\\\"808080\\\"/><w:sz w:val=\\\"12\\\"/><w:szCs w:val=\\\"16\\\"/><w:lang w:val=\\\"ro-RO\\\"/></w:rPr><w:t>}\",\n                    \"identifier_value\": \"All of the terms and conditions of this transaction are herein set forth. To the extent any terms or conditions provided by Seller are inconsistent with these terms and conditions, they are hereby rejected by Bassett & Walker International Inc. or an affiliate thereof (collectively, “BWI”) and the terms and conditions contained herein will apply. This transaction is binding by this document only. Ownership of and title to the goods covered by this transaction shall pass to BWI upon the receipt of shipment. The Seller is solely responsible for obtaining all import documents, approvals and registrations that may be required for the goods to enter the country of import and any effort by BWI to assist therewith is voluntary only and will not relieve Seller from its responsibility for same. All goods covered by this transaction and all related documentation, label or other writing delivered by the Seller in connection with the goods or any transaction are subject to inspection, approval and rejection by BWI. If any goods ( or the applicable documentation, label or writing delivered in connection therewith) are rejected by BWI, such goods shall, at BWI’s option, be replaced or the transaction price therefor credited in full by Seller at Seller’s risk and expense (including any costs and expenses of return and reshipment). Seller hereby indemnifies BWI for all losses, damages, claims and liabilities (including, without limitation, all shipping costs, duties, tariffs, taxes and all legal fees and expenses) arising from or relating to any inaccuracy or incorrectness in or omission from any document, label or other writing delivered, prepared or completed by or on behalf of Seller relating to this transaction. At the request of the parties, this transaction has been concluded in the English language only. This transaction shall be governed by the laws of the Province of Ontario and the federal laws of Canada applicable therein. Neither (a) the United Nations Convention of Contracts for the International Sale of Goods; nor (b) any of the international commercial terms (incoterms) from time to time published by the International Chamber of Commerce will apply to any transaction contemplated by these terms and conditions. For the purposes of all legal proceedings, this transaction will be deemed to have been performed in the Province of Ontario, Canada, and each party hereby attorns to the exclusive jurisdiction of the courts of the Province of Ontario, Canada. Seller agrees to accept service of process at Seller’s address shown on the documents related to this transaction. Any and all legal or agency fees and expenses whatsoever (including without limitation any fees and expenses of any professionals and court costs) incurred by or on behalf of BWI in connection with any dispute, proceeding or uncertainty relating to this transaction including, without limitation, to collect any payment or debt, resolve any dispute, and/or to investigate or discover any alleged failure, loss or damage, shall be the responsibility of and borne by Seller. Seller hereby agrees that BWI is entitled to seek, and Seller will grant, security for any claims that may arise out of these terms and conditions. It is expressly agreed that BWI may set-off or contra any payments or amounts due to Seller to settle any outstanding claim or debt of or due to BWI from Seller. This contract was not solicited by BWI. Receipt by Seller of these terms and conditions, including, without limitation, by electronic mail or facsimile transmission, shall constitute acceptance by Seller of all such terms and conditions, unless Seller notifies BWI in writing of its non-acceptance of such terms and conditions within 24 hours of Seller’s receipt thereof. BWI may, without consent of Seller, assign any or all of its rights and obligations hereunder to any affiliate of BWI. Seller must not assign any of its rights or obligations hereunder whatsoever without prior written consent of BWI. BWI shall not be in default or breach of any of its obligations in connection with this transaction where failure to perform or delay in performing any obligation is due, wholly or in part, directly or indirectly, to the occurrence or apprehension of matters beyond BWI’s reasonable control including, without limitation, acts of God, war or terrorism, acts of governmental authorities (foreign or domestic), sabotage, riot, fire, floods, explosions, epidemics, quarantine restrictions, strikes, lockouts, labour difficulties or labour shortages, accident, embargoes, delays occasioned by carriers and/or inadequate transport facilities, and any inability to procure or maintain any licence, permit, permission or authority.\"\n                },\n                {\n                    \"tag\": \"USER.SIGNATURE\",\n                    \"identifier\": \"signature_file_id\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{User.Signature}\",\n                    \"identifier_value\": \"ce57f96c-400c-4c38-9174-77799a2f8448\"\n                },\n                {\n                    \"tag\": \"USER.FNAME\",\n                    \"identifier\": \"current_user_id\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{USER.FNAME}\",\n                    \"identifier_value\": \"074a96da-a5ac-4732-8917-f176a4a5c898\"\n                },\n                {\n                    \"tag\": \"USER.LNAME\",\n                    \"identifier\": \"current_user_id\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{USER.LNAME}\",\n                    \"identifier_value\": \"074a96da-a5ac-4732-8917-f176a4a5c898\"\n                },\n                {\n                    \"tag\": \"CORP.ADDRNAME\",\n                    \"identifier\": \"bwi_address_object\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{CORP.ADDRNAME}\",\n                    \"identifier_value\": {\n                        \"name\": \"Bassett Walker International, Inc.\",\n                        \"primary\": 1,\n                        \"street1\": \"2 Berkeley St\",\n                        \"street2\": \"Suite 303\",\n                        \"city\": \"Toronto\",\n                        \"cc\": \"CA\",\n                        \"country\": \"Canada\",\n                        \"postal\": \"M5A 4J5\",\n                        \"tax_id\": \"TestTaxID-1234\",\n                        \"telephone1\": \"4163637070\",\n                        \"telephone1_ext\": \"101\",\n                        \"fax\": \"415-666-0101\",\n                        \"fax_ext\": \"102\",\n                        \"note\": \"Note found in address fields in TradeCafe Staff Primary Address\",\n                        \"state\": \"Alberta\",\n                        \"telephone2\": \"4163637071\",\n                        \"email\": \"mfortuna@bassettwalkerinc.com\",\n                        \"state_code\": \"AB\"\n                    }\n                },\n                {\n                    \"tag\": \"CORP.ADDR\",\n                    \"identifier\": \"bwi_address_object\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{CORP.Addr}\",\n                    \"identifier_value\": {\n                        \"name\": \"Bassett Walker International, Inc.\",\n                        \"primary\": 1,\n                        \"street1\": \"2 Berkeley St\",\n                        \"street2\": \"Suite 303\",\n                        \"city\": \"Toronto\",\n                        \"cc\": \"CA\",\n                        \"country\": \"Canada\",\n                        \"postal\": \"M5A 4J5\",\n                        \"tax_id\": \"TestTaxID-1234\",\n                        \"telephone1\": \"4163637070\",\n                        \"telephone1_ext\": \"101\",\n                        \"fax\": \"415-666-0101\",\n                        \"fax_ext\": \"102\",\n                        \"note\": \"Note found in address fields in TradeCafe Staff Primary Address\",\n                        \"state\": \"Alberta\",\n                        \"telephone2\": \"4163637071\",\n                        \"email\": \"mfortuna@bassettwalkerinc.com\",\n                        \"state_code\": \"AB\"\n                    }\n                },\n                {\n                    \"tag\": \"CORP.CITY\",\n                    \"identifier\": \"bwi_address_object\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{CORP.City}\",\n                    \"identifier_value\": {\n                        \"name\": \"Bassett Walker International, Inc.\",\n                        \"primary\": 1,\n                        \"street1\": \"2 Berkeley St\",\n                        \"street2\": \"Suite 303\",\n                        \"city\": \"Toronto\",\n                        \"cc\": \"CA\",\n                        \"country\": \"Canada\",\n                        \"postal\": \"M5A 4J5\",\n                        \"tax_id\": \"TestTaxID-1234\",\n                        \"telephone1\": \"4163637070\",\n                        \"telephone1_ext\": \"101\",\n                        \"fax\": \"415-666-0101\",\n                        \"fax_ext\": \"102\",\n                        \"note\": \"Note found in address fields in TradeCafe Staff Primary Address\",\n                        \"state\": \"Alberta\",\n                        \"telephone2\": \"4163637071\",\n                        \"email\": \"mfortuna@bassettwalkerinc.com\",\n                        \"state_code\": \"AB\"\n                    }\n                },\n                {\n                    \"tag\": \"CORP.STATE\",\n                    \"identifier\": \"bwi_address_object\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{CORP.State}\",\n                    \"identifier_value\": {\n                        \"name\": \"Bassett Walker International, Inc.\",\n                        \"primary\": 1,\n                        \"street1\": \"2 Berkeley St\",\n                        \"street2\": \"Suite 303\",\n                        \"city\": \"Toronto\",\n                        \"cc\": \"CA\",\n                        \"country\": \"Canada\",\n                        \"postal\": \"M5A 4J5\",\n                        \"tax_id\": \"TestTaxID-1234\",\n                        \"telephone1\": \"4163637070\",\n                        \"telephone1_ext\": \"101\",\n                        \"fax\": \"415-666-0101\",\n                        \"fax_ext\": \"102\",\n                        \"note\": \"Note found in address fields in TradeCafe Staff Primary Address\",\n                        \"state\": \"Alberta\",\n                        \"telephone2\": \"4163637071\",\n                        \"email\": \"mfortuna@bassettwalkerinc.com\",\n                        \"state_code\": \"AB\"\n                    }\n                },\n                {\n                    \"tag\": \"CORP.COUNTRY\",\n                    \"identifier\": \"bwi_address_object\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{CORP.Country}\",\n                    \"identifier_value\": {\n                        \"name\": \"Bassett Walker International, Inc.\",\n                        \"primary\": 1,\n                        \"street1\": \"2 Berkeley St\",\n                        \"street2\": \"Suite 303\",\n                        \"city\": \"Toronto\",\n                        \"cc\": \"CA\",\n                        \"country\": \"Canada\",\n                        \"postal\": \"M5A 4J5\",\n                        \"tax_id\": \"TestTaxID-1234\",\n                        \"telephone1\": \"4163637070\",\n                        \"telephone1_ext\": \"101\",\n                        \"fax\": \"415-666-0101\",\n                        \"fax_ext\": \"102\",\n                        \"note\": \"Note found in address fields in TradeCafe Staff Primary Address\",\n                        \"state\": \"Alberta\",\n                        \"telephone2\": \"4163637071\",\n                        \"email\": \"mfortuna@bassettwalkerinc.com\",\n                        \"state_code\": \"AB\"\n                    }\n                },\n                {\n                    \"tag\": \"CORP.ZIP\",\n                    \"identifier\": \"bwi_address_object\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{CORP.ZIP}\",\n                    \"identifier_value\": {\n                        \"name\": \"Bassett Walker International, Inc.\",\n                        \"primary\": 1,\n                        \"street1\": \"2 Berkeley St\",\n                        \"street2\": \"Suite 303\",\n                        \"city\": \"Toronto\",\n                        \"cc\": \"CA\",\n                        \"country\": \"Canada\",\n                        \"postal\": \"M5A 4J5\",\n                        \"tax_id\": \"TestTaxID-1234\",\n                        \"telephone1\": \"4163637070\",\n                        \"telephone1_ext\": \"101\",\n                        \"fax\": \"415-666-0101\",\n                        \"fax_ext\": \"102\",\n                        \"note\": \"Note found in address fields in TradeCafe Staff Primary Address\",\n                        \"state\": \"Alberta\",\n                        \"telephone2\": \"4163637071\",\n                        \"email\": \"mfortuna@bassettwalkerinc.com\",\n                        \"state_code\": \"AB\"\n                    }\n                },\n                {\n                    \"tag\": \"CORP.TEL\",\n                    \"identifier\": \"bwi_address_object\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{CORP.Tel}\",\n                    \"identifier_value\": {\n                        \"name\": \"Bassett Walker International, Inc.\",\n                        \"primary\": 1,\n                        \"street1\": \"2 Berkeley St\",\n                        \"street2\": \"Suite 303\",\n                        \"city\": \"Toronto\",\n                        \"cc\": \"CA\",\n                        \"country\": \"Canada\",\n                        \"postal\": \"M5A 4J5\",\n                        \"tax_id\": \"TestTaxID-1234\",\n                        \"telephone1\": \"4163637070\",\n                        \"telephone1_ext\": \"101\",\n                        \"fax\": \"415-666-0101\",\n                        \"fax_ext\": \"102\",\n                        \"note\": \"Note found in address fields in TradeCafe Staff Primary Address\",\n                        \"state\": \"Alberta\",\n                        \"telephone2\": \"4163637071\",\n                        \"email\": \"mfortuna@bassettwalkerinc.com\",\n                        \"state_code\": \"AB\"\n                    }\n                },\n                {\n                    \"tag\": \"CORP.WEBSITE\",\n                    \"identifier\": \"company_account_id\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{CORP.Website}\",\n                    \"identifier_value\": 1510188624.5357\n                }\n            ],\n            \"rows\": [\n                {\n                    \"offer_id\": \"22c6a2f9-515c-4ad4-8c27-102111cf6cf5\",\n                    \"di_item_type_id\": \"b1844013-cf29-4da6-8d2d-fc8c39cdee72\",\n                    \"product_id\": \"1a449809-803e-4023-9991-c7e2e22ed6b0\",\n                    \"supplier_pricing_terms_id\": \"3780e86d-3ae4-4cb7-9cc6-0c91bdec1418\",\n                    \"wrapping_id\": \"9bf0f53a-9088-431d-b2b4-252a543f1dbe\",\n                    \"di_package_measure_id\": \"d7145cce-e034-4edd-a8cc-138ae6eef326\",\n                    \"weight_type_id\": \"bc63c9f5-051f-4fac-a8f2-024d38083516\",\n                    \"di_package_id\": \"4782d961-4e73-42e1-a137-e2d1f5a7bcc6\"\n                }\n            ]\n        },\n        {\n            \"deal_id\": \"BWI100165TC\",\n            \"file_id\": \"ae72d459-94a1-4b22-8500-c38d87fc177c\",\n            \"requirements\": [\n                {\n                    \"tag\": \"DEAL.DATE\",\n                    \"identifier\": \"deal_id\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{DEAL.Date}\",\n                    \"identifier_value\": \"BWI100165TC\"\n                },\n                {\n                    \"tag\": \"BUY.COFNAME\",\n                    \"identifier\": \"supplier_fullname_string\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{BUY.CoFName}\",\n                    \"identifier_value\": \"Lukas Inc supplier LT mbgerbora@gmail.com\"\n                },\n                {\n                    \"tag\": \"BUY.COADDR\",\n                    \"identifier\": \"supplier_address_object\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{BUY.COADDR}\",\n                    \"identifier_value\": {\n                        \"name\": \"Some address\",\n                        \"primary\": 1,\n                        \"cc\": \"LT\",\n                        \"country\": \"Lithuania\",\n                        \"city\": \"Kaunas\",\n                        \"street1\": \"Nartavos 1\",\n                        \"street2\": \"18\",\n                        \"postal\": \"47489\",\n                        \"telephone1\": \"+37065512315\"\n                    }\n                },\n                {\n                    \"tag\": \"BUY.COADDR2\",\n                    \"identifier\": \"supplier_address_object\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{BUY.COADDR</w:t></w:r><w:r w:rsidR=\\\"005E23EF\\\"><w:rPr><w:rFonts w:cs=\\\"Arial\\\"/><w:b/><w:bCs/><w:color w:val=\\\"000000\\\"/></w:rPr><w:t>2</w:t></w:r><w:r w:rsidR=\\\"005E23EF\\\" w:rsidRPr=\\\"00602807\\\"><w:rPr><w:rFonts w:cs=\\\"Arial\\\"/><w:b/><w:bCs/><w:color w:val=\\\"000000\\\"/></w:rPr><w:t>}\",\n                    \"identifier_value\": {\n                        \"name\": \"Some address\",\n                        \"primary\": 1,\n                        \"cc\": \"LT\",\n                        \"country\": \"Lithuania\",\n                        \"city\": \"Kaunas\",\n                        \"street1\": \"Nartavos 1\",\n                        \"street2\": \"18\",\n                        \"postal\": \"47489\",\n                        \"telephone1\": \"+37065512315\"\n                    }\n                },\n                {\n                    \"tag\": \"BUY.COCITY\",\n                    \"identifier\": \"supplier_address_object\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{BUY.COCITY}\",\n                    \"identifier_value\": {\n                        \"name\": \"Some address\",\n                        \"primary\": 1,\n                        \"cc\": \"LT\",\n                        \"country\": \"Lithuania\",\n                        \"city\": \"Kaunas\",\n                        \"street1\": \"Nartavos 1\",\n                        \"street2\": \"18\",\n                        \"postal\": \"47489\",\n                        \"telephone1\": \"+37065512315\"\n                    }\n                },\n                {\n                    \"tag\": \"BUY.COSTATE\",\n                    \"identifier\": \"supplier_address_object\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{BUY.COSTATE}\",\n                    \"identifier_value\": {\n                        \"name\": \"Some address\",\n                        \"primary\": 1,\n                        \"cc\": \"LT\",\n                        \"country\": \"Lithuania\",\n                        \"city\": \"Kaunas\",\n                        \"street1\": \"Nartavos 1\",\n                        \"street2\": \"18\",\n                        \"postal\": \"47489\",\n                        \"telephone1\": \"+37065512315\"\n                    }\n                },\n                {\n                    \"tag\": \"BUY.COCOUNTRY\",\n                    \"identifier\": \"supplier_address_object\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{BUY.COCOUNTRY}\",\n                    \"identifier_value\": {\n                        \"name\": \"Some address\",\n                        \"primary\": 1,\n                        \"cc\": \"LT\",\n                        \"country\": \"Lithuania\",\n                        \"city\": \"Kaunas\",\n                        \"street1\": \"Nartavos 1\",\n                        \"street2\": \"18\",\n                        \"postal\": \"47489\",\n                        \"telephone1\": \"+37065512315\"\n                    }\n                },\n                {\n                    \"tag\": \"BUY.COZIP\",\n                    \"identifier\": \"supplier_address_object\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{BUY.COZIP}\",\n                    \"identifier_value\": {\n                        \"name\": \"Some address\",\n                        \"primary\": 1,\n                        \"cc\": \"LT\",\n                        \"country\": \"Lithuania\",\n                        \"city\": \"Kaunas\",\n                        \"street1\": \"Nartavos 1\",\n                        \"street2\": \"18\",\n                        \"postal\": \"47489\",\n                        \"telephone1\": \"+37065512315\"\n                    }\n                },\n                {\n                    \"tag\": \"DEAL.REFNO\",\n                    \"identifier\": \"deal_id\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{DEAL.RefNo}\",\n                    \"identifier_value\": \"BWI100165TC\"\n                },\n                {\n                    \"tag\": \"DEAL.REFNO\",\n                    \"identifier\": \"deal_id\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{DEAL.RefNo}\",\n                    \"identifier_value\": \"BWI100165TC\"\n                },\n                {\n                    \"tag\": \"BUY.REFNO\",\n                    \"identifier\": \"deal_id\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{BUY.RefNo}\",\n                    \"identifier_value\": \"BWI100165TC\"\n                },\n                {\n                    \"tag\": \"BUY.TOTNETWGHTE\",\n                    \"identifier\": \"deal_id\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{BUY.TotNetWghtE}\",\n                    \"identifier_value\": \"BWI100165TC\"\n                },\n                {\n                    \"tag\": \"BUY.PTWGHT\",\n                    \"identifier\": \"buy_measure_id\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{BUY.PTWght}\",\n                    \"identifier_value\": \"d7145cce-e034-4edd-a8cc-138ae6eef326\"\n                },\n                {\n                    \"tag\": \"DI.BUYWGHTE\",\n                    \"identifier\": \"offer_id\",\n                    \"is_row\": true,\n                    \"placeholder\": \"{DI.BuyWghtE.Row}\"\n                },\n                {\n                    \"tag\": \"BUY.PTWGHT\",\n                    \"identifier\": \"buy_measure_id\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{BUY.PTWght}\",\n                    \"identifier_value\": \"d7145cce-e034-4edd-a8cc-138ae6eef326\"\n                },\n                {\n                    \"tag\": \"DI.TYPE\",\n                    \"identifier\": \"di_item_type_id\",\n                    \"is_row\": true,\n                    \"placeholder\": \"{DI.Type.Row}\"\n                },\n                {\n                    \"tag\": \"DI.PRODUCT\",\n                    \"identifier\": \"product_id\",\n                    \"is_row\": true,\n                    \"placeholder\": \"{DI.Product.Row}\"\n                },\n                {\n                    \"tag\": \"DI.SPECS\",\n                    \"identifier\": \"offer_id\",\n                    \"is_row\": true,\n                    \"placeholder\": \"{DI.Specs.Row}\"\n                },\n                {\n                    \"tag\": \"DI.BUYCUE\",\n                    \"identifier\": \"offer_id\",\n                    \"is_row\": true,\n                    \"placeholder\": \"{DI.BuyCUE.Row}\"\n                },\n                {\n                    \"tag\": \"BUY.PTCURRENCY\",\n                    \"identifier\": \"deal_id\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{Buy.PTCurrency}\",\n                    \"identifier_value\": \"BWI100165TC\"\n                },\n                {\n                    \"tag\": \"BUY.PTWGHT\",\n                    \"identifier\": \"buy_measure_id\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{Buy.PTWght}\",\n                    \"identifier_value\": \"d7145cce-e034-4edd-a8cc-138ae6eef326\"\n                },\n                {\n                    \"tag\": \"BUY.INCOPT\",\n                    \"identifier\": \"supplier_pricing_terms_id\",\n                    \"is_row\": true,\n                    \"placeholder\": \"{BUY.INCOPT</w:t></w:r><w:r w:rsidR=\\\"000D76AF\\\"><w:rPr><w:b/></w:rPr><w:t>.Row</w:t></w:r><w:r><w:rPr><w:b/></w:rPr><w:t>}\"\n                },\n                {\n                    \"tag\": \"BUY.PTLOC\",\n                    \"identifier\": \"pickup_location_id\",\n                    \"is_row\": true,\n                    \"placeholder\": \"{BUY.PTLOC</w:t></w:r><w:r w:rsidR=\\\"000D76AF\\\"><w:rPr><w:b/></w:rPr><w:t>.Row</w:t></w:r><w:r><w:rPr><w:b/></w:rPr><w:t>}\"\n                },\n                {\n                    \"tag\": \"DI.WRP\",\n                    \"identifier\": \"wrapping_id\",\n                    \"is_row\": true,\n                    \"placeholder\": \"{DI.WRP.Row}\"\n                },\n                {\n                    \"tag\": \"DI.PKGSZ\",\n                    \"identifier\": \"offer_id\",\n                    \"is_row\": true,\n                    \"placeholder\": \"{DI.PkgSz.Row}\"\n                },\n                {\n                    \"tag\": \"DI.PKGUNIT\",\n                    \"identifier\": \"di_package_measure_id\",\n                    \"is_row\": true,\n                    \"placeholder\": \"{DI.PkgUnit.Row}\"\n                },\n                {\n                    \"tag\": \"DI.WGHTTYPE\",\n                    \"identifier\": \"weight_type_id\",\n                    \"is_row\": true,\n                    \"placeholder\": \"{DI.WghtType.Row}\"\n                },\n                {\n                    \"tag\": \"DI.PKGTYPE\",\n                    \"identifier\": \"di_package_id\",\n                    \"is_row\": true,\n                    \"placeholder\": \"{DI.PkgType.Row}\"\n                },\n                {\n                    \"tag\": \"BUY.PICKESTABLISHMENTNO\",\n                    \"identifier\": \"offer_id\",\n                    \"is_row\": true,\n                    \"placeholder\": \"{BUY.PICKESTABLISHMENTNO</w:t></w:r><w:r w:rsidR=\\\"00D2312F\\\"><w:rPr><w:rFonts w:cs=\\\"Arial\\\"/><w:b/><w:bCs/><w:color w:val=\\\"000000\\\"/></w:rPr><w:t>.Row</w:t></w:r><w:r w:rsidR=\\\"00CE4446\\\" w:rsidRPr=\\\"00CE4446\\\"><w:rPr><w:rFonts w:cs=\\\"Arial\\\"/><w:b/><w:bCs/><w:color w:val=\\\"000000\\\"/></w:rPr><w:t>}\"\n                },\n                {\n                    \"tag\": \"DEAL.ORIGIN\",\n                    \"identifier\": \"origin_location_id\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{DEAL.Origin}\",\n                    \"identifier_value\": \"8e54c460-9d24-401f-942b-c446e977b5dd\"\n                },\n                {\n                    \"tag\": \"BUY.SCHPERFROM\",\n                    \"identifier\": \"deal_id\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{BUY.SchPerFrom}\",\n                    \"identifier_value\": \"BWI100165TC\"\n                },\n                {\n                    \"tag\": \"BUY.SCHPERTO\",\n                    \"identifier\": \"deal_id\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{BUY.SchPerTo}\",\n                    \"identifier_value\": \"BWI100165TC\"\n                },\n                {\n                    \"tag\": \"DEAL.DOCS\",\n                    \"identifier\": \"deal_id\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{DEAL.Docs}\",\n                    \"identifier_value\": \"BWI100165TC\"\n                },\n                {\n                    \"tag\": \"BUY.SI\",\n                    \"identifier\": \"supplier_note_ids\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{BUY.SI}\",\n                    \"identifier_value\": []\n                },\n                {\n                    \"tag\": \"MEX.LABEL.REQUIREMENT\",\n                    \"identifier\": \"none\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{MEX.LABEL.REQUIREMENT}\"\n                },\n                {\n                    \"tag\": \"CUSTOM.LEGALPURCHASECONFIRMATION\",\n                    \"identifier\": null,\n                    \"is_row\": false,\n                    \"placeholder\": \"{</w:t></w:r><w:r w:rsidR=\\\"00F0334B\\\" w:rsidRPr=\\\"00F0334B\\\"><w:rPr><w:rFonts w:cs=\\\"Arial\\\"/><w:color w:val=\\\"808080\\\"/><w:sz w:val=\\\"12\\\"/><w:szCs w:val=\\\"16\\\"/><w:lang w:val=\\\"ro-RO\\\"/></w:rPr><w:t>CUSTOM.LEGALPURCHASECONFIRMATION</w:t></w:r><w:r><w:rPr><w:rFonts w:cs=\\\"Arial\\\"/><w:color w:val=\\\"808080\\\"/><w:sz w:val=\\\"12\\\"/><w:szCs w:val=\\\"16\\\"/><w:lang w:val=\\\"ro-RO\\\"/></w:rPr><w:t>}\",\n                    \"identifier_value\": \"All of the terms and conditions of this transaction are herein set forth. To the extent any terms or conditions provided by Seller are inconsistent with these terms and conditions, they are hereby rejected by Bassett & Walker International Inc. or an affiliate thereof (collectively, “BWI”) and the terms and conditions contained herein will apply. This transaction is binding by this document only. Ownership of and title to the goods covered by this transaction shall pass to BWI upon the receipt of shipment. The Seller is solely responsible for obtaining all import documents, approvals and registrations that may be required for the goods to enter the country of import and any effort by BWI to assist therewith is voluntary only and will not relieve Seller from its responsibility for same. All goods covered by this transaction and all related documentation, label or other writing delivered by the Seller in connection with the goods or any transaction are subject to inspection, approval and rejection by BWI. If any goods ( or the applicable documentation, label or writing delivered in connection therewith) are rejected by BWI, such goods shall, at BWI’s option, be replaced or the transaction price therefor credited in full by Seller at Seller’s risk and expense (including any costs and expenses of return and reshipment). Seller hereby indemnifies BWI for all losses, damages, claims and liabilities (including, without limitation, all shipping costs, duties, tariffs, taxes and all legal fees and expenses) arising from or relating to any inaccuracy or incorrectness in or omission from any document, label or other writing delivered, prepared or completed by or on behalf of Seller relating to this transaction. At the request of the parties, this transaction has been concluded in the English language only. This transaction shall be governed by the laws of the Province of Ontario and the federal laws of Canada applicable therein. Neither (a) the United Nations Convention of Contracts for the International Sale of Goods; nor (b) any of the international commercial terms (incoterms) from time to time published by the International Chamber of Commerce will apply to any transaction contemplated by these terms and conditions. For the purposes of all legal proceedings, this transaction will be deemed to have been performed in the Province of Ontario, Canada, and each party hereby attorns to the exclusive jurisdiction of the courts of the Province of Ontario, Canada. Seller agrees to accept service of process at Seller’s address shown on the documents related to this transaction. Any and all legal or agency fees and expenses whatsoever (including without limitation any fees and expenses of any professionals and court costs) incurred by or on behalf of BWI in connection with any dispute, proceeding or uncertainty relating to this transaction including, without limitation, to collect any payment or debt, resolve any dispute, and/or to investigate or discover any alleged failure, loss or damage, shall be the responsibility of and borne by Seller. Seller hereby agrees that BWI is entitled to seek, and Seller will grant, security for any claims that may arise out of these terms and conditions. It is expressly agreed that BWI may set-off or contra any payments or amounts due to Seller to settle any outstanding claim or debt of or due to BWI from Seller. This contract was not solicited by BWI. Receipt by Seller of these terms and conditions, including, without limitation, by electronic mail or facsimile transmission, shall constitute acceptance by Seller of all such terms and conditions, unless Seller notifies BWI in writing of its non-acceptance of such terms and conditions within 24 hours of Seller’s receipt thereof. BWI may, without consent of Seller, assign any or all of its rights and obligations hereunder to any affiliate of BWI. Seller must not assign any of its rights or obligations hereunder whatsoever without prior written consent of BWI. BWI shall not be in default or breach of any of its obligations in connection with this transaction where failure to perform or delay in performing any obligation is due, wholly or in part, directly or indirectly, to the occurrence or apprehension of matters beyond BWI’s reasonable control including, without limitation, acts of God, war or terrorism, acts of governmental authorities (foreign or domestic), sabotage, riot, fire, floods, explosions, epidemics, quarantine restrictions, strikes, lockouts, labour difficulties or labour shortages, accident, embargoes, delays occasioned by carriers and/or inadequate transport facilities, and any inability to procure or maintain any licence, permit, permission or authority.\"\n                },\n                {\n                    \"tag\": \"USER.SIGNATURE\",\n                    \"identifier\": \"signature_file_id\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{User.Signature}\",\n                    \"identifier_value\": \"ce57f96c-400c-4c38-9174-77799a2f8448\"\n                },\n                {\n                    \"tag\": \"USER.FNAME\",\n                    \"identifier\": \"current_user_id\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{USER.FNAME}\",\n                    \"identifier_value\": \"074a96da-a5ac-4732-8917-f176a4a5c898\"\n                },\n                {\n                    \"tag\": \"USER.LNAME\",\n                    \"identifier\": \"current_user_id\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{USER.LNAME}\",\n                    \"identifier_value\": \"074a96da-a5ac-4732-8917-f176a4a5c898\"\n                },\n                {\n                    \"tag\": \"CORP.ADDRNAME\",\n                    \"identifier\": \"bwi_address_object\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{CORP.ADDRNAME}\",\n                    \"identifier_value\": {\n                        \"name\": \"Bassett Walker International, Inc.\",\n                        \"primary\": 1,\n                        \"street1\": \"2 Berkeley St\",\n                        \"street2\": \"Suite 303\",\n                        \"city\": \"Toronto\",\n                        \"cc\": \"CA\",\n                        \"country\": \"Canada\",\n                        \"postal\": \"M5A 4J5\",\n                        \"tax_id\": \"TestTaxID-1234\",\n                        \"telephone1\": \"4163637070\",\n                        \"telephone1_ext\": \"101\",\n                        \"fax\": \"415-666-0101\",\n                        \"fax_ext\": \"102\",\n                        \"note\": \"Note found in address fields in TradeCafe Staff Primary Address\",\n                        \"state\": \"Alberta\",\n                        \"telephone2\": \"4163637071\",\n                        \"email\": \"mfortuna@bassettwalkerinc.com\",\n                        \"state_code\": \"AB\"\n                    }\n                },\n                {\n                    \"tag\": \"CORP.ADDR\",\n                    \"identifier\": \"bwi_address_object\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{CORP.Addr}\",\n                    \"identifier_value\": {\n                        \"name\": \"Bassett Walker International, Inc.\",\n                        \"primary\": 1,\n                        \"street1\": \"2 Berkeley St\",\n                        \"street2\": \"Suite 303\",\n                        \"city\": \"Toronto\",\n                        \"cc\": \"CA\",\n                        \"country\": \"Canada\",\n                        \"postal\": \"M5A 4J5\",\n                        \"tax_id\": \"TestTaxID-1234\",\n                        \"telephone1\": \"4163637070\",\n                        \"telephone1_ext\": \"101\",\n                        \"fax\": \"415-666-0101\",\n                        \"fax_ext\": \"102\",\n                        \"note\": \"Note found in address fields in TradeCafe Staff Primary Address\",\n                        \"state\": \"Alberta\",\n                        \"telephone2\": \"4163637071\",\n                        \"email\": \"mfortuna@bassettwalkerinc.com\",\n                        \"state_code\": \"AB\"\n                    }\n                },\n                {\n                    \"tag\": \"CORP.CITY\",\n                    \"identifier\": \"bwi_address_object\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{CORP.City}\",\n                    \"identifier_value\": {\n                        \"name\": \"Bassett Walker International, Inc.\",\n                        \"primary\": 1,\n                        \"street1\": \"2 Berkeley St\",\n                        \"street2\": \"Suite 303\",\n                        \"city\": \"Toronto\",\n                        \"cc\": \"CA\",\n                        \"country\": \"Canada\",\n                        \"postal\": \"M5A 4J5\",\n                        \"tax_id\": \"TestTaxID-1234\",\n                        \"telephone1\": \"4163637070\",\n                        \"telephone1_ext\": \"101\",\n                        \"fax\": \"415-666-0101\",\n                        \"fax_ext\": \"102\",\n                        \"note\": \"Note found in address fields in TradeCafe Staff Primary Address\",\n                        \"state\": \"Alberta\",\n                        \"telephone2\": \"4163637071\",\n                        \"email\": \"mfortuna@bassettwalkerinc.com\",\n                        \"state_code\": \"AB\"\n                    }\n                },\n                {\n                    \"tag\": \"CORP.STATE\",\n                    \"identifier\": \"bwi_address_object\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{CORP.State}\",\n                    \"identifier_value\": {\n                        \"name\": \"Bassett Walker International, Inc.\",\n                        \"primary\": 1,\n                        \"street1\": \"2 Berkeley St\",\n                        \"street2\": \"Suite 303\",\n                        \"city\": \"Toronto\",\n                        \"cc\": \"CA\",\n                        \"country\": \"Canada\",\n                        \"postal\": \"M5A 4J5\",\n                        \"tax_id\": \"TestTaxID-1234\",\n                        \"telephone1\": \"4163637070\",\n                        \"telephone1_ext\": \"101\",\n                        \"fax\": \"415-666-0101\",\n                        \"fax_ext\": \"102\",\n                        \"note\": \"Note found in address fields in TradeCafe Staff Primary Address\",\n                        \"state\": \"Alberta\",\n                        \"telephone2\": \"4163637071\",\n                        \"email\": \"mfortuna@bassettwalkerinc.com\",\n                        \"state_code\": \"AB\"\n                    }\n                },\n                {\n                    \"tag\": \"CORP.COUNTRY\",\n                    \"identifier\": \"bwi_address_object\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{CORP.Country}\",\n                    \"identifier_value\": {\n                        \"name\": \"Bassett Walker International, Inc.\",\n                        \"primary\": 1,\n                        \"street1\": \"2 Berkeley St\",\n                        \"street2\": \"Suite 303\",\n                        \"city\": \"Toronto\",\n                        \"cc\": \"CA\",\n                        \"country\": \"Canada\",\n                        \"postal\": \"M5A 4J5\",\n                        \"tax_id\": \"TestTaxID-1234\",\n                        \"telephone1\": \"4163637070\",\n                        \"telephone1_ext\": \"101\",\n                        \"fax\": \"415-666-0101\",\n                        \"fax_ext\": \"102\",\n                        \"note\": \"Note found in address fields in TradeCafe Staff Primary Address\",\n                        \"state\": \"Alberta\",\n                        \"telephone2\": \"4163637071\",\n                        \"email\": \"mfortuna@bassettwalkerinc.com\",\n                        \"state_code\": \"AB\"\n                    }\n                },\n                {\n                    \"tag\": \"CORP.ZIP\",\n                    \"identifier\": \"bwi_address_object\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{CORP.ZIP}\",\n                    \"identifier_value\": {\n                        \"name\": \"Bassett Walker International, Inc.\",\n                        \"primary\": 1,\n                        \"street1\": \"2 Berkeley St\",\n                        \"street2\": \"Suite 303\",\n                        \"city\": \"Toronto\",\n                        \"cc\": \"CA\",\n                        \"country\": \"Canada\",\n                        \"postal\": \"M5A 4J5\",\n                        \"tax_id\": \"TestTaxID-1234\",\n                        \"telephone1\": \"4163637070\",\n                        \"telephone1_ext\": \"101\",\n                        \"fax\": \"415-666-0101\",\n                        \"fax_ext\": \"102\",\n                        \"note\": \"Note found in address fields in TradeCafe Staff Primary Address\",\n                        \"state\": \"Alberta\",\n                        \"telephone2\": \"4163637071\",\n                        \"email\": \"mfortuna@bassettwalkerinc.com\",\n                        \"state_code\": \"AB\"\n                    }\n                },\n                {\n                    \"tag\": \"CORP.TEL\",\n                    \"identifier\": \"bwi_address_object\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{CORP.Tel}\",\n                    \"identifier_value\": {\n                        \"name\": \"Bassett Walker International, Inc.\",\n                        \"primary\": 1,\n                        \"street1\": \"2 Berkeley St\",\n                        \"street2\": \"Suite 303\",\n                        \"city\": \"Toronto\",\n                        \"cc\": \"CA\",\n                        \"country\": \"Canada\",\n                        \"postal\": \"M5A 4J5\",\n                        \"tax_id\": \"TestTaxID-1234\",\n                        \"telephone1\": \"4163637070\",\n                        \"telephone1_ext\": \"101\",\n                        \"fax\": \"415-666-0101\",\n                        \"fax_ext\": \"102\",\n                        \"note\": \"Note found in address fields in TradeCafe Staff Primary Address\",\n                        \"state\": \"Alberta\",\n                        \"telephone2\": \"4163637071\",\n                        \"email\": \"mfortuna@bassettwalkerinc.com\",\n                        \"state_code\": \"AB\"\n                    }\n                },\n                {\n                    \"tag\": \"CORP.WEBSITE\",\n                    \"identifier\": \"company_account_id\",\n                    \"is_row\": false,\n                    \"placeholder\": \"{CORP.Website}\",\n                    \"identifier_value\": 1510188624.5357\n                }\n            ],\n            \"rows\": [\n                {\n                    \"offer_id\": \"22c6a2f9-515c-4ad4-8c27-102111cf6cf5\",\n                    \"di_item_type_id\": \"b1844013-cf29-4da6-8d2d-fc8c39cdee72\",\n                    \"product_id\": \"1a449809-803e-4023-9991-c7e2e22ed6b0\",\n                    \"supplier_pricing_terms_id\": \"3780e86d-3ae4-4cb7-9cc6-0c91bdec1418\",\n                    \"wrapping_id\": \"9bf0f53a-9088-431d-b2b4-252a543f1dbe\",\n                    \"di_package_measure_id\": \"d7145cce-e034-4edd-a8cc-138ae6eef326\",\n                    \"weight_type_id\": \"bc63c9f5-051f-4fac-a8f2-024d38083516\",\n                    \"di_package_id\": \"4782d961-4e73-42e1-a137-e2d1f5a7bcc6\"\n                }\n            ]\n        }\n    ]\n}"},"url":"{{gateway_host}}/document-generate-mass"},"response":[],"_postman_id":"fb5991fb-6cbf-4a4a-ba7c-9d3204bcb6f4"}],"id":"8eab92c3-9e50-4c16-a215-9fa049e27710","_postman_id":"8eab92c3-9e50-4c16-a215-9fa049e27710"},{"name":"Document set","item":[{"name":"create","id":"f4a74e19-fd29-412c-2c6d-782b1c91015e","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"foo {{$randomInt}}\",\n  \"description\": \"some text\",\n  \"country\": \"Canada\",\n  \"archived\": false,\n  \"attributes\": {\n    \"foo\": \"bar\"\n  }\n}"},"url":"{{gateway_host}}/document-set"},"response":[],"_postman_id":"f4a74e19-fd29-412c-2c6d-782b1c91015e"},{"name":"search","id":"1226abee-031e-1eb1-7b4b-be0aacc283bf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"em8STJnlQg6r7DhlZG92chipObbdqgrRmuK3Cf0iMgohhKb209ulvRzuBh9eis8KdhvaXIvcinREK7fowyNh2i"}},"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"foo {{$randomInt}}\",\n  \"type\": \"some_type\",\n  \"description\": \"some text\",\n  \"file_id\": \"file_id_from_file_object\",\n  \"doc_set\": [],\n  \"company\": \"*\",\n  \"product_category_id\": \"some_id\",\n  \"language\": \"en\",\n  \"archived\": false,\n  \"attributes\": {\n    \"foo\": \"bar\"\n  }\n}"},"url":"{{gateway_host}}/document-set"},"response":[],"_postman_id":"1226abee-031e-1eb1-7b4b-be0aacc283bf"},{"name":"get for the deal","id":"32d194a8-0e7d-4345-9ce8-2657d947fdf3","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"foo {{$randomInt}}\",\n  \"type\": \"some_type\",\n  \"description\": \"some text\",\n  \"file_id\": \"file_id_from_file_object\",\n  \"doc_set\": [],\n  \"company\": \"*\",\n  \"product_category_id\": \"some_id\",\n  \"language\": \"en\",\n  \"archived\": false,\n  \"attributes\": {\n    \"foo\": \"bar\"\n  }\n}"},"url":"{{gateway_host}}/document-set/deal/BWI100050TC","description":"This endpoint generates **temporary** set by buyer's country and company overrides. Then UI can select which document to make from the set."},"response":[],"_postman_id":"32d194a8-0e7d-4345-9ce8-2657d947fdf3"},{"name":"delete","id":"e8db84a7-d6a8-edca-ed1d-9e5d3922368a","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":""},"url":"{{gateway_host}}/document-set/{{set_id}}"},"response":[],"_postman_id":"e8db84a7-d6a8-edca-ed1d-9e5d3922368a"},{"name":"docs add","id":"5b22ced4-149b-4da0-730c-548f1168edf8","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n\t\"doc\": \"{{document_id}}\"\n}"},"url":"{{gateway_host}}/document-set/{{set_id}}/docs/add"},"response":[],"_postman_id":"5b22ced4-149b-4da0-730c-548f1168edf8"},{"name":"docs remove","id":"5f2e4922-95ad-bc9c-f458-9bf1b7cdbdd1","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n\t\"doc\": \"{{document_id}}\"\n}"},"url":"{{gateway_host}}/document-set/{{set_id}}/docs/remove"},"response":[],"_postman_id":"5f2e4922-95ad-bc9c-f458-9bf1b7cdbdd1"},{"name":"update","id":"2883e0e3-2ff7-46dd-ba73-47758aa3288e","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"foo\",\n\t\"user_id\": \"foo\",\n\t\"description\": \"abc\",\n\t\"country\": \"foo\",\n\t\"archived\": true,\n\t\"attributes\": {\"foo\":1}\n}"},"url":"{{gateway_host}}/document-set/{{set_id}}"},"response":[],"_postman_id":"2883e0e3-2ff7-46dd-ba73-47758aa3288e"}],"id":"3a78a611-eff7-34a2-657e-cc9452856537","_postman_id":"3a78a611-eff7-34a2-657e-cc9452856537"},{"name":"Document override","item":[{"name":"create","id":"b42babe3-7203-8d64-b024-7607a4d18b8e","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n\t\"type\": \"some_type\",\n\t\"description\": \"some text\",\n\t\"document_id\": \"{{document_id}}\",\n\t\"company\": \"*\",\n\t\"archived\": false,\n\t\"attributes\": {\n\t\t\"foo\": \"bar\"\n\t}\n}"},"url":"{{gateway_host}}/document-override"},"response":[],"_postman_id":"b42babe3-7203-8d64-b024-7607a4d18b8e"},{"name":"search","id":"e9114d81-8e09-2e7f-912a-b0387df25470","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"foo {{$randomInt}}\",\n  \"type\": \"some_type\",\n  \"description\": \"some text\",\n  \"file_id\": \"file_id_from_file_object\",\n  \"doc_set\": [],\n  \"company\": \"*\",\n  \"product_category_id\": \"some_id\",\n  \"language\": \"en\",\n  \"archived\": false,\n  \"attributes\": {\n    \"foo\": \"bar\"\n  }\n}"},"url":"{{gateway_host}}/document-override"},"response":[],"_postman_id":"e9114d81-8e09-2e7f-912a-b0387df25470"},{"name":"delete","id":"729d5d60-da4a-0c0c-9517-641de2494222","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":""},"url":"{{gateway_host}}/document-override/{{override_id}}"},"response":[],"_postman_id":"729d5d60-da4a-0c0c-9517-641de2494222"},{"name":"document set","id":"9c28c8b6-7d87-7a3a-bb44-f22d5e80383a","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n\t\"document_id\": \"{{document_id}}\"\n}"},"url":"{{gateway_host}}/document-override/{{override_id}}/document/set"},"response":[],"_postman_id":"9c28c8b6-7d87-7a3a-bb44-f22d5e80383a"},{"name":"update","id":"a2e882e3-98ab-46c6-a947-905a5ae886ef","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n\t\"user_id\": \"foo\",\n\t\"type\": \"foo\",\n\t\"description\": \"abc\",\n\t\"company\": \"\",\n\t\"archived\": true,\n\t\"attributes\": {\"foo\":1}\n}"},"url":"{{gateway_host}}/document-override/{{override_id}}"},"response":[],"_postman_id":"a2e882e3-98ab-46c6-a947-905a5ae886ef"}],"id":"bfd0c461-690e-6798-afac-b80d8105a4da","_postman_id":"bfd0c461-690e-6798-afac-b80d8105a4da"},{"name":"Tags","item":[{"name":"Tags csv","id":"4239dd2e-d93c-414f-b757-34a2a176a5dc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"S77pVkwm5OW7Rk6uiW1Z0eOgvKlsEbB00Y11WzUyVn6XKt1kde0zQPEp1vHLyJHpHlJMKjsy252yKYre1ShduL"}},"method":"GET","header":[],"url":"{{gateway_host}}/document/tags"},"response":[],"_postman_id":"4239dd2e-d93c-414f-b757-34a2a176a5dc"}],"id":"bdc3c546-e97a-48dc-8026-42768b8ae147","_postman_id":"bdc3c546-e97a-48dc-8026-42768b8ae147"},{"name":"generate document (single doc)","id":"9da9186b-4379-4654-a967-c3ae646aa1da","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer 1jj2FYJ4nt5GuD8OOBvJp3C1wx8xBBc7OdEk5LxS8vCBgXhqfXgkavqxAeobcGAmN40kh4PUPl5AXuEvDSeCku"}],"body":{"mode":"raw","raw":"{\n    \"deal_id\": \"BWI100191TC\",\n    \"file_id\": \"ae72d459-94a1-4b22-8500-c38d87fc177c\",\n    \"name\": \"signature-test-4\",\n    \"requirements\": [\n        {\n            \"tag\": \"DEAL.DATE\",\n            \"identifier\": \"deal_id\",\n            \"is_row\": false,\n            \"placeholder\": \"{DEAL.Date}\",\n            \"identifier_value\": \"BWI100165TC\"\n        },\n        {\n            \"tag\": \"BUY.COFNAME\",\n            \"identifier\": \"supplier_fullname_string\",\n            \"is_row\": false,\n            \"placeholder\": \"{BUY.CoFName}\",\n            \"identifier_value\": \"Lukas Inc supplier LT mbgerbora@gmail.com\"\n        },\n        {\n            \"tag\": \"BUY.COADDR\",\n            \"identifier\": \"supplier_address_object\",\n            \"is_row\": false,\n            \"placeholder\": \"{BUY.COADDR}\",\n            \"identifier_value\": {\n                \"name\": \"Some address\",\n                \"primary\": 1,\n                \"cc\": \"LT\",\n                \"country\": \"Lithuania\",\n                \"city\": \"Kaunas\",\n                \"street1\": \"Nartavos 1\",\n                \"street2\": \"18\",\n                \"postal\": \"47489\",\n                \"telephone1\": \"+37065512315\"\n            }\n        },\n        {\n            \"tag\": \"BUY.COADDR2\",\n            \"identifier\": \"supplier_address_object\",\n            \"is_row\": false,\n            \"placeholder\": \"{BUY.COADDR</w:t></w:r><w:r w:rsidR=\\\"005E23EF\\\"><w:rPr><w:rFonts w:cs=\\\"Arial\\\"/><w:b/><w:bCs/><w:color w:val=\\\"000000\\\"/></w:rPr><w:t>2</w:t></w:r><w:r w:rsidR=\\\"005E23EF\\\" w:rsidRPr=\\\"00602807\\\"><w:rPr><w:rFonts w:cs=\\\"Arial\\\"/><w:b/><w:bCs/><w:color w:val=\\\"000000\\\"/></w:rPr><w:t>}\",\n            \"identifier_value\": {\n                \"name\": \"Some address\",\n                \"primary\": 1,\n                \"cc\": \"LT\",\n                \"country\": \"Lithuania\",\n                \"city\": \"Kaunas\",\n                \"street1\": \"Nartavos 1\",\n                \"street2\": \"18\",\n                \"postal\": \"47489\",\n                \"telephone1\": \"+37065512315\"\n            }\n        },\n        {\n            \"tag\": \"BUY.COCITY\",\n            \"identifier\": \"supplier_address_object\",\n            \"is_row\": false,\n            \"placeholder\": \"{BUY.COCITY}\",\n            \"identifier_value\": {\n                \"name\": \"Some address\",\n                \"primary\": 1,\n                \"cc\": \"LT\",\n                \"country\": \"Lithuania\",\n                \"city\": \"Kaunas\",\n                \"street1\": \"Nartavos 1\",\n                \"street2\": \"18\",\n                \"postal\": \"47489\",\n                \"telephone1\": \"+37065512315\"\n            }\n        },\n        {\n            \"tag\": \"BUY.COSTATE\",\n            \"identifier\": \"supplier_address_object\",\n            \"is_row\": false,\n            \"placeholder\": \"{BUY.COSTATE}\",\n            \"identifier_value\": {\n                \"name\": \"Some address\",\n                \"primary\": 1,\n                \"cc\": \"LT\",\n                \"country\": \"Lithuania\",\n                \"city\": \"Kaunas\",\n                \"street1\": \"Nartavos 1\",\n                \"street2\": \"18\",\n                \"postal\": \"47489\",\n                \"telephone1\": \"+37065512315\"\n            }\n        },\n        {\n            \"tag\": \"BUY.COCOUNTRY\",\n            \"identifier\": \"supplier_address_object\",\n            \"is_row\": false,\n            \"placeholder\": \"{BUY.COCOUNTRY}\",\n            \"identifier_value\": {\n                \"name\": \"Some address\",\n                \"primary\": 1,\n                \"cc\": \"LT\",\n                \"country\": \"Lithuania\",\n                \"city\": \"Kaunas\",\n                \"street1\": \"Nartavos 1\",\n                \"street2\": \"18\",\n                \"postal\": \"47489\",\n                \"telephone1\": \"+37065512315\"\n            }\n        },\n        {\n            \"tag\": \"BUY.COZIP\",\n            \"identifier\": \"supplier_address_object\",\n            \"is_row\": false,\n            \"placeholder\": \"{BUY.COZIP}\",\n            \"identifier_value\": {\n                \"name\": \"Some address\",\n                \"primary\": 1,\n                \"cc\": \"LT\",\n                \"country\": \"Lithuania\",\n                \"city\": \"Kaunas\",\n                \"street1\": \"Nartavos 1\",\n                \"street2\": \"18\",\n                \"postal\": \"47489\",\n                \"telephone1\": \"+37065512315\"\n            }\n        },\n        {\n            \"tag\": \"DEAL.REFNO\",\n            \"identifier\": \"deal_id\",\n            \"is_row\": false,\n            \"placeholder\": \"{DEAL.RefNo}\",\n            \"identifier_value\": \"BWI100165TC\"\n        },\n        {\n            \"tag\": \"DEAL.REFNO\",\n            \"identifier\": \"deal_id\",\n            \"is_row\": false,\n            \"placeholder\": \"{DEAL.RefNo}\",\n            \"identifier_value\": \"BWI100165TC\"\n        },\n        {\n            \"tag\": \"BUY.REFNO\",\n            \"identifier\": \"deal_id\",\n            \"is_row\": false,\n            \"placeholder\": \"{BUY.RefNo}\",\n            \"identifier_value\": \"BWI100165TC\"\n        },\n        {\n            \"tag\": \"BUY.TOTNETWGHTE\",\n            \"identifier\": \"deal_id\",\n            \"is_row\": false,\n            \"placeholder\": \"{BUY.TotNetWghtE}\",\n            \"identifier_value\": \"BWI100165TC\"\n        },\n        {\n            \"tag\": \"BUY.PTWGHT\",\n            \"identifier\": \"buy_measure_id\",\n            \"is_row\": false,\n            \"placeholder\": \"{BUY.PTWght}\",\n            \"identifier_value\": \"d7145cce-e034-4edd-a8cc-138ae6eef326\"\n        },\n        {\n            \"tag\": \"DI.BUYWGHTE\",\n            \"identifier\": \"offer_id\",\n            \"is_row\": true,\n            \"placeholder\": \"{DI.BuyWghtE.Row}\"\n        },\n        {\n            \"tag\": \"BUY.PTWGHT\",\n            \"identifier\": \"buy_measure_id\",\n            \"is_row\": false,\n            \"placeholder\": \"{BUY.PTWght}\",\n            \"identifier_value\": \"d7145cce-e034-4edd-a8cc-138ae6eef326\"\n        },\n        {\n            \"tag\": \"DI.TYPE\",\n            \"identifier\": \"di_item_type_id\",\n            \"is_row\": true,\n            \"placeholder\": \"{DI.Type.Row}\"\n        },\n        {\n            \"tag\": \"DI.PRODUCT\",\n            \"identifier\": \"product_id\",\n            \"is_row\": true,\n            \"placeholder\": \"{DI.Product.Row}\"\n        },\n        {\n            \"tag\": \"DI.SPECS\",\n            \"identifier\": \"offer_id\",\n            \"is_row\": true,\n            \"placeholder\": \"{DI.Specs.Row}\"\n        },\n        {\n            \"tag\": \"DI.BUYCUE\",\n            \"identifier\": \"offer_id\",\n            \"is_row\": true,\n            \"placeholder\": \"{DI.BuyCUE.Row}\"\n        },\n        {\n            \"tag\": \"BUY.PTCURRENCY\",\n            \"identifier\": \"deal_id\",\n            \"is_row\": false,\n            \"placeholder\": \"{Buy.PTCurrency}\",\n            \"identifier_value\": \"BWI100165TC\"\n        },\n        {\n            \"tag\": \"BUY.PTWGHT\",\n            \"identifier\": \"buy_measure_id\",\n            \"is_row\": false,\n            \"placeholder\": \"{Buy.PTWght}\",\n            \"identifier_value\": \"d7145cce-e034-4edd-a8cc-138ae6eef326\"\n        },\n        {\n            \"tag\": \"BUY.INCOPT\",\n            \"identifier\": \"supplier_pricing_terms_id\",\n            \"is_row\": true,\n            \"placeholder\": \"{BUY.INCOPT</w:t></w:r><w:r w:rsidR=\\\"000D76AF\\\"><w:rPr><w:b/></w:rPr><w:t>.Row</w:t></w:r><w:r><w:rPr><w:b/></w:rPr><w:t>}\"\n        },\n        {\n            \"tag\": \"BUY.PTLOC\",\n            \"identifier\": \"pickup_location_id\",\n            \"is_row\": true,\n            \"placeholder\": \"{BUY.PTLOC</w:t></w:r><w:r w:rsidR=\\\"000D76AF\\\"><w:rPr><w:b/></w:rPr><w:t>.Row</w:t></w:r><w:r><w:rPr><w:b/></w:rPr><w:t>}\"\n        },\n        {\n            \"tag\": \"DI.WRP\",\n            \"identifier\": \"wrapping_id\",\n            \"is_row\": true,\n            \"placeholder\": \"{DI.WRP.Row}\"\n        },\n        {\n            \"tag\": \"DI.PKGSZ\",\n            \"identifier\": \"offer_id\",\n            \"is_row\": true,\n            \"placeholder\": \"{DI.PkgSz.Row}\"\n        },\n        {\n            \"tag\": \"DI.PKGUNIT\",\n            \"identifier\": \"di_package_measure_id\",\n            \"is_row\": true,\n            \"placeholder\": \"{DI.PkgUnit.Row}\"\n        },\n        {\n            \"tag\": \"DI.WGHTTYPE\",\n            \"identifier\": \"weight_type_id\",\n            \"is_row\": true,\n            \"placeholder\": \"{DI.WghtType.Row}\"\n        },\n        {\n            \"tag\": \"DI.PKGTYPE\",\n            \"identifier\": \"di_package_id\",\n            \"is_row\": true,\n            \"placeholder\": \"{DI.PkgType.Row}\"\n        },\n        {\n            \"tag\": \"BUY.PICKESTABLISHMENTNO\",\n            \"identifier\": \"offer_id\",\n            \"is_row\": true,\n            \"placeholder\": \"{BUY.PICKESTABLISHMENTNO</w:t></w:r><w:r w:rsidR=\\\"00D2312F\\\"><w:rPr><w:rFonts w:cs=\\\"Arial\\\"/><w:b/><w:bCs/><w:color w:val=\\\"000000\\\"/></w:rPr><w:t>.Row</w:t></w:r><w:r w:rsidR=\\\"00CE4446\\\" w:rsidRPr=\\\"00CE4446\\\"><w:rPr><w:rFonts w:cs=\\\"Arial\\\"/><w:b/><w:bCs/><w:color w:val=\\\"000000\\\"/></w:rPr><w:t>}\"\n        },\n        {\n            \"tag\": \"DEAL.ORIGIN\",\n            \"identifier\": \"origin_location_id\",\n            \"is_row\": false,\n            \"placeholder\": \"{DEAL.Origin}\",\n            \"identifier_value\": \"8e54c460-9d24-401f-942b-c446e977b5dd\"\n        },\n        {\n            \"tag\": \"BUY.SCHPERFROM\",\n            \"identifier\": \"deal_id\",\n            \"is_row\": false,\n            \"placeholder\": \"{BUY.SchPerFrom}\",\n            \"identifier_value\": \"BWI100165TC\"\n        },\n        {\n            \"tag\": \"BUY.SCHPERTO\",\n            \"identifier\": \"deal_id\",\n            \"is_row\": false,\n            \"placeholder\": \"{BUY.SchPerTo}\",\n            \"identifier_value\": \"BWI100165TC\"\n        },\n        {\n            \"tag\": \"DEAL.DOCS\",\n            \"identifier\": \"deal_id\",\n            \"is_row\": false,\n            \"placeholder\": \"{DEAL.Docs}\",\n            \"identifier_value\": \"BWI100165TC\"\n        },\n        {\n            \"tag\": \"BUY.SI\",\n            \"identifier\": \"supplier_note_ids\",\n            \"is_row\": false,\n            \"placeholder\": \"{BUY.SI}\",\n            \"identifier_value\": []\n        },\n        {\n            \"tag\": \"MEX.LABEL.REQUIREMENT\",\n            \"identifier\": \"none\",\n            \"is_row\": false,\n            \"placeholder\": \"{MEX.LABEL.REQUIREMENT}\"\n        },\n        {\n            \"tag\": \"CUSTOM.LEGALPURCHASECONFIRMATION\",\n            \"identifier\": null,\n            \"is_row\": false,\n            \"placeholder\": \"{</w:t></w:r><w:r w:rsidR=\\\"00F0334B\\\" w:rsidRPr=\\\"00F0334B\\\"><w:rPr><w:rFonts w:cs=\\\"Arial\\\"/><w:color w:val=\\\"808080\\\"/><w:sz w:val=\\\"12\\\"/><w:szCs w:val=\\\"16\\\"/><w:lang w:val=\\\"ro-RO\\\"/></w:rPr><w:t>CUSTOM.LEGALPURCHASECONFIRMATION</w:t></w:r><w:r><w:rPr><w:rFonts w:cs=\\\"Arial\\\"/><w:color w:val=\\\"808080\\\"/><w:sz w:val=\\\"12\\\"/><w:szCs w:val=\\\"16\\\"/><w:lang w:val=\\\"ro-RO\\\"/></w:rPr><w:t>}\",\n            \"identifier_value\": \"All of the terms and conditions of this transaction are herein set forth. To the extent any terms or conditions provided by Seller are inconsistent with these terms and conditions, they are hereby rejected by Bassett & Walker International Inc. or an affiliate thereof (collectively, “BWI”) and the terms and conditions contained herein will apply. This transaction is binding by this document only. Ownership of and title to the goods covered by this transaction shall pass to BWI upon the receipt of shipment. The Seller is solely responsible for obtaining all import documents, approvals and registrations that may be required for the goods to enter the country of import and any effort by BWI to assist therewith is voluntary only and will not relieve Seller from its responsibility for same. All goods covered by this transaction and all related documentation, label or other writing delivered by the Seller in connection with the goods or any transaction are subject to inspection, approval and rejection by BWI. If any goods ( or the applicable documentation, label or writing delivered in connection therewith) are rejected by BWI, such goods shall, at BWI’s option, be replaced or the transaction price therefor credited in full by Seller at Seller’s risk and expense (including any costs and expenses of return and reshipment). Seller hereby indemnifies BWI for all losses, damages, claims and liabilities (including, without limitation, all shipping costs, duties, tariffs, taxes and all legal fees and expenses) arising from or relating to any inaccuracy or incorrectness in or omission from any document, label or other writing delivered, prepared or completed by or on behalf of Seller relating to this transaction. At the request of the parties, this transaction has been concluded in the English language only. This transaction shall be governed by the laws of the Province of Ontario and the federal laws of Canada applicable therein. Neither (a) the United Nations Convention of Contracts for the International Sale of Goods; nor (b) any of the international commercial terms (incoterms) from time to time published by the International Chamber of Commerce will apply to any transaction contemplated by these terms and conditions. For the purposes of all legal proceedings, this transaction will be deemed to have been performed in the Province of Ontario, Canada, and each party hereby attorns to the exclusive jurisdiction of the courts of the Province of Ontario, Canada. Seller agrees to accept service of process at Seller’s address shown on the documents related to this transaction. Any and all legal or agency fees and expenses whatsoever (including without limitation any fees and expenses of any professionals and court costs) incurred by or on behalf of BWI in connection with any dispute, proceeding or uncertainty relating to this transaction including, without limitation, to collect any payment or debt, resolve any dispute, and/or to investigate or discover any alleged failure, loss or damage, shall be the responsibility of and borne by Seller. Seller hereby agrees that BWI is entitled to seek, and Seller will grant, security for any claims that may arise out of these terms and conditions. It is expressly agreed that BWI may set-off or contra any payments or amounts due to Seller to settle any outstanding claim or debt of or due to BWI from Seller. This contract was not solicited by BWI. Receipt by Seller of these terms and conditions, including, without limitation, by electronic mail or facsimile transmission, shall constitute acceptance by Seller of all such terms and conditions, unless Seller notifies BWI in writing of its non-acceptance of such terms and conditions within 24 hours of Seller’s receipt thereof. BWI may, without consent of Seller, assign any or all of its rights and obligations hereunder to any affiliate of BWI. Seller must not assign any of its rights or obligations hereunder whatsoever without prior written consent of BWI. BWI shall not be in default or breach of any of its obligations in connection with this transaction where failure to perform or delay in performing any obligation is due, wholly or in part, directly or indirectly, to the occurrence or apprehension of matters beyond BWI’s reasonable control including, without limitation, acts of God, war or terrorism, acts of governmental authorities (foreign or domestic), sabotage, riot, fire, floods, explosions, epidemics, quarantine restrictions, strikes, lockouts, labour difficulties or labour shortages, accident, embargoes, delays occasioned by carriers and/or inadequate transport facilities, and any inability to procure or maintain any licence, permit, permission or authority.\"\n        },\n        {\n            \"tag\": \"USER.SIGNATURE\",\n            \"identifier\": \"signature_file_id\",\n            \"is_row\": false,\n            \"placeholder\": \"{User.Signature}\",\n            \"identifier_value\": \"ce57f96c-400c-4c38-9174-77799a2f8448\"\n        },\n        {\n            \"tag\": \"USER.FNAME\",\n            \"identifier\": \"current_user_id\",\n            \"is_row\": false,\n            \"placeholder\": \"{USER.FNAME}\",\n            \"identifier_value\": \"074a96da-a5ac-4732-8917-f176a4a5c898\"\n        },\n        {\n            \"tag\": \"USER.LNAME\",\n            \"identifier\": \"current_user_id\",\n            \"is_row\": false,\n            \"placeholder\": \"{USER.LNAME}\",\n            \"identifier_value\": \"074a96da-a5ac-4732-8917-f176a4a5c898\"\n        },\n        {\n            \"tag\": \"CORP.ADDRNAME\",\n            \"identifier\": \"bwi_address_object\",\n            \"is_row\": false,\n            \"placeholder\": \"{CORP.ADDRNAME}\",\n            \"identifier_value\": {\n                \"name\": \"Bassett Walker International, Inc.\",\n                \"primary\": 1,\n                \"street1\": \"2 Berkeley St\",\n                \"street2\": \"Suite 303\",\n                \"city\": \"Toronto\",\n                \"cc\": \"CA\",\n                \"country\": \"Canada\",\n                \"postal\": \"M5A 4J5\",\n                \"tax_id\": \"TestTaxID-1234\",\n                \"telephone1\": \"4163637070\",\n                \"telephone1_ext\": \"101\",\n                \"fax\": \"415-666-0101\",\n                \"fax_ext\": \"102\",\n                \"note\": \"Note found in address fields in TradeCafe Staff Primary Address\",\n                \"state\": \"Alberta\",\n                \"telephone2\": \"4163637071\",\n                \"email\": \"mfortuna@bassettwalkerinc.com\",\n                \"state_code\": \"AB\"\n            }\n        },\n        {\n            \"tag\": \"CORP.ADDR\",\n            \"identifier\": \"bwi_address_object\",\n            \"is_row\": false,\n            \"placeholder\": \"{CORP.Addr}\",\n            \"identifier_value\": {\n                \"name\": \"Bassett Walker International, Inc.\",\n                \"primary\": 1,\n                \"street1\": \"2 Berkeley St\",\n                \"street2\": \"Suite 303\",\n                \"city\": \"Toronto\",\n                \"cc\": \"CA\",\n                \"country\": \"Canada\",\n                \"postal\": \"M5A 4J5\",\n                \"tax_id\": \"TestTaxID-1234\",\n                \"telephone1\": \"4163637070\",\n                \"telephone1_ext\": \"101\",\n                \"fax\": \"415-666-0101\",\n                \"fax_ext\": \"102\",\n                \"note\": \"Note found in address fields in TradeCafe Staff Primary Address\",\n                \"state\": \"Alberta\",\n                \"telephone2\": \"4163637071\",\n                \"email\": \"mfortuna@bassettwalkerinc.com\",\n                \"state_code\": \"AB\"\n            }\n        },\n        {\n            \"tag\": \"CORP.CITY\",\n            \"identifier\": \"bwi_address_object\",\n            \"is_row\": false,\n            \"placeholder\": \"{CORP.City}\",\n            \"identifier_value\": {\n                \"name\": \"Bassett Walker International, Inc.\",\n                \"primary\": 1,\n                \"street1\": \"2 Berkeley St\",\n                \"street2\": \"Suite 303\",\n                \"city\": \"Toronto\",\n                \"cc\": \"CA\",\n                \"country\": \"Canada\",\n                \"postal\": \"M5A 4J5\",\n                \"tax_id\": \"TestTaxID-1234\",\n                \"telephone1\": \"4163637070\",\n                \"telephone1_ext\": \"101\",\n                \"fax\": \"415-666-0101\",\n                \"fax_ext\": \"102\",\n                \"note\": \"Note found in address fields in TradeCafe Staff Primary Address\",\n                \"state\": \"Alberta\",\n                \"telephone2\": \"4163637071\",\n                \"email\": \"mfortuna@bassettwalkerinc.com\",\n                \"state_code\": \"AB\"\n            }\n        },\n        {\n            \"tag\": \"CORP.STATE\",\n            \"identifier\": \"bwi_address_object\",\n            \"is_row\": false,\n            \"placeholder\": \"{CORP.State}\",\n            \"identifier_value\": {\n                \"name\": \"Bassett Walker International, Inc.\",\n                \"primary\": 1,\n                \"street1\": \"2 Berkeley St\",\n                \"street2\": \"Suite 303\",\n                \"city\": \"Toronto\",\n                \"cc\": \"CA\",\n                \"country\": \"Canada\",\n                \"postal\": \"M5A 4J5\",\n                \"tax_id\": \"TestTaxID-1234\",\n                \"telephone1\": \"4163637070\",\n                \"telephone1_ext\": \"101\",\n                \"fax\": \"415-666-0101\",\n                \"fax_ext\": \"102\",\n                \"note\": \"Note found in address fields in TradeCafe Staff Primary Address\",\n                \"state\": \"Alberta\",\n                \"telephone2\": \"4163637071\",\n                \"email\": \"mfortuna@bassettwalkerinc.com\",\n                \"state_code\": \"AB\"\n            }\n        },\n        {\n            \"tag\": \"CORP.COUNTRY\",\n            \"identifier\": \"bwi_address_object\",\n            \"is_row\": false,\n            \"placeholder\": \"{CORP.Country}\",\n            \"identifier_value\": {\n                \"name\": \"Bassett Walker International, Inc.\",\n                \"primary\": 1,\n                \"street1\": \"2 Berkeley St\",\n                \"street2\": \"Suite 303\",\n                \"city\": \"Toronto\",\n                \"cc\": \"CA\",\n                \"country\": \"Canada\",\n                \"postal\": \"M5A 4J5\",\n                \"tax_id\": \"TestTaxID-1234\",\n                \"telephone1\": \"4163637070\",\n                \"telephone1_ext\": \"101\",\n                \"fax\": \"415-666-0101\",\n                \"fax_ext\": \"102\",\n                \"note\": \"Note found in address fields in TradeCafe Staff Primary Address\",\n                \"state\": \"Alberta\",\n                \"telephone2\": \"4163637071\",\n                \"email\": \"mfortuna@bassettwalkerinc.com\",\n                \"state_code\": \"AB\"\n            }\n        },\n        {\n            \"tag\": \"CORP.ZIP\",\n            \"identifier\": \"bwi_address_object\",\n            \"is_row\": false,\n            \"placeholder\": \"{CORP.ZIP}\",\n            \"identifier_value\": {\n                \"name\": \"Bassett Walker International, Inc.\",\n                \"primary\": 1,\n                \"street1\": \"2 Berkeley St\",\n                \"street2\": \"Suite 303\",\n                \"city\": \"Toronto\",\n                \"cc\": \"CA\",\n                \"country\": \"Canada\",\n                \"postal\": \"M5A 4J5\",\n                \"tax_id\": \"TestTaxID-1234\",\n                \"telephone1\": \"4163637070\",\n                \"telephone1_ext\": \"101\",\n                \"fax\": \"415-666-0101\",\n                \"fax_ext\": \"102\",\n                \"note\": \"Note found in address fields in TradeCafe Staff Primary Address\",\n                \"state\": \"Alberta\",\n                \"telephone2\": \"4163637071\",\n                \"email\": \"mfortuna@bassettwalkerinc.com\",\n                \"state_code\": \"AB\"\n            }\n        },\n        {\n            \"tag\": \"CORP.TEL\",\n            \"identifier\": \"bwi_address_object\",\n            \"is_row\": false,\n            \"placeholder\": \"{CORP.Tel}\",\n            \"identifier_value\": {\n                \"name\": \"Bassett Walker International, Inc.\",\n                \"primary\": 1,\n                \"street1\": \"2 Berkeley St\",\n                \"street2\": \"Suite 303\",\n                \"city\": \"Toronto\",\n                \"cc\": \"CA\",\n                \"country\": \"Canada\",\n                \"postal\": \"M5A 4J5\",\n                \"tax_id\": \"TestTaxID-1234\",\n                \"telephone1\": \"4163637070\",\n                \"telephone1_ext\": \"101\",\n                \"fax\": \"415-666-0101\",\n                \"fax_ext\": \"102\",\n                \"note\": \"Note found in address fields in TradeCafe Staff Primary Address\",\n                \"state\": \"Alberta\",\n                \"telephone2\": \"4163637071\",\n                \"email\": \"mfortuna@bassettwalkerinc.com\",\n                \"state_code\": \"AB\"\n            }\n        },\n        {\n            \"tag\": \"CORP.WEBSITE\",\n            \"identifier\": \"company_account_id\",\n            \"is_row\": false,\n            \"placeholder\": \"{CORP.Website}\",\n            \"identifier_value\": 1510188624.5357\n        }\n    ],\n    \"rows\": [\n        {\n            \"offer_id\": \"22c6a2f9-515c-4ad4-8c27-102111cf6cf5\",\n            \"di_item_type_id\": \"b1844013-cf29-4da6-8d2d-fc8c39cdee72\",\n            \"product_id\": \"1a449809-803e-4023-9991-c7e2e22ed6b0\",\n            \"supplier_pricing_terms_id\": \"3780e86d-3ae4-4cb7-9cc6-0c91bdec1418\",\n            \"wrapping_id\": \"9bf0f53a-9088-431d-b2b4-252a543f1dbe\",\n            \"di_package_measure_id\": \"d7145cce-e034-4edd-a8cc-138ae6eef326\",\n            \"weight_type_id\": \"bc63c9f5-051f-4fac-a8f2-024d38083516\",\n            \"di_package_id\": \"4782d961-4e73-42e1-a137-e2d1f5a7bcc6\"\n        }\n    ]\n}"},"url":"localhost:8081/document-generate"},"response":[],"_postman_id":"9da9186b-4379-4654-a967-c3ae646aa1da"},{"name":"regenerate documents technical info","id":"4b6d017f-fdf7-428e-aad7-7b59d3663eda","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{gateway_host}}/document-generate-tags?limit=50&skip=0","host":["{{gateway_host}}"],"path":["document-generate-tags"],"query":[{"key":"limit","value":"50"},{"key":"skip","value":"0"}]}},"response":[],"_postman_id":"4b6d017f-fdf7-428e-aad7-7b59d3663eda"}],"id":"4e57cb3b-f5e9-50b3-9b7d-88be2c066ab4","description":"The File Service (FS) allows the storage and retrieval of files (documents, images, binary) into the cloud. This service is a structured wrapper around AWS S3 buckets and CloudFront CDN. Files are used throughout the TradeCafe platform and are uploaded by service providers, logistics team, or generated directly in TradeCafe.\n\n* file_id – The unique id of the file, preferably a UUID.\n* account - The account/user to whom the file belongs.\n* tags – An array of tags (words) which describe the file.\n* deal_id – The deal id associated with the file. This is optional.\n* created – An epoch timestamo with the time the file was created.\n* name – The name of the file.\n* type – The mime type of the file.\n* link – An HTTPS URL which points to the file on the CDN.\n* size - The file's size in bytes.\n* archived – A 0/1 flag which identifies if this file has been archived.\n* attributes – A sub object with additional user defined attributes of the file.\n* notes - Notes left on the file.","_postman_id":"4e57cb3b-f5e9-50b3-9b7d-88be2c066ab4"},{"name":"Estimates","item":[{"name":"create","id":"707a3192-21ba-4756-26d8-4e1ccf3f1905","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"account\": \"{{account_id}}\",\n  \"creator_id\": \"{{user_id}}\",\n  \"supplier_detail\": {\n  \t\"foo\": \"bar\"\n  },\n  \"buyer_detail\": {\n  \t\"foo\": \"bar\"\n  },\n  \"cost_info\": {\n  \t\"foo\": \"bar\"\n  },\n  \"attributes\": {\n  \t\"foo\": \"bar\"\n  }\n}"},"url":"{{gateway_host}}/estimates"},"response":[],"_postman_id":"707a3192-21ba-4756-26d8-4e1ccf3f1905"},{"name":"update","id":"6e419024-0dae-5e0c-9aa8-f7931e7fc684","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"account\": \"{{account_id}}\",\n  \"supplier_detail\": {\n  \t\"foo\": \"bar\"\n  },\n  \"buyer_detail\": {\n  \t\"foo\": \"bar\"\n  },\n  \"cost_info\": {\n  \t\"foo\": \"bar\"\n  },\n  \"attributes\": {\n  \t\"foo\": \"bar\"\n  }\n}"},"url":"{{gateway_host}}/estimates/{{estimate_id}}"},"response":[],"_postman_id":"6e419024-0dae-5e0c-9aa8-f7931e7fc684"},{"name":"get","id":"4097d8e6-01fb-1715-ea4c-b85d183280ed","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"deal_id\": \"deal\",\n  \"carrier\": \"ups\",\n  \"code\": \"code\"\n}"},"url":"{{gateway_host}}/estimates/{{estimate_id}}"},"response":[],"_postman_id":"4097d8e6-01fb-1715-ea4c-b85d183280ed"},{"name":"all","id":"f813fc40-50ff-5726-6a92-1259ea7f5c0a","request":{"auth":{"type":"bearer","bearer":{"token":"qGFfhbZSIwWbfqVycDBRfrJR1ptd3IPEnegh9Lbj3jCCN3FNqaLqBEDE1g03eY5qCTlnnZJ7P2oOZSiLNbnzez"}},"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"name\",\n  \"description\": \"description\",\n  \"body\": \"body\",\n  \"tags\": [\"tag1\", \"tag2\"],\n  \"archived\": \"false\"\n}"},"url":{"raw":"{{gateway_host}}/estimates?name=Test123","host":["{{gateway_host}}"],"path":["estimates"],"query":[{"key":"name","value":"Test123"}]}},"response":[],"_postman_id":"f813fc40-50ff-5726-6a92-1259ea7f5c0a"},{"name":"delete","id":"762bfdb9-d690-ddaa-48cc-86b1c5accc19","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":""},"url":"{{gateway_host}}/estimates/{{estimate_id}}"},"response":[],"_postman_id":"762bfdb9-d690-ddaa-48cc-86b1c5accc19"}],"id":"6d57fac9-bbf1-23c6-7963-64c71ef677e7","description":"The Bid Service (BS) allows buyers and traders to submit bids on product offers in the Trade Cafe platform. A bid is a proposal to buy goods at a specific price and time, with specific set of conditions. In most cases bids will be specific to an offer. Bids are made by buyers or traders of goods to suppliers of those goods.\n\n","_postman_id":"6d57fac9-bbf1-23c6-7963-64c71ef677e7"},{"name":"Files","item":[{"name":"all","id":"17a206b3-19ed-f9df-d688-f2781ab3ad7e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":{"raw":"{{gateway_host}}/files?limit=99","host":["{{gateway_host}}"],"path":["files"],"query":[{"key":"limit","value":"99"}]}},"response":[],"_postman_id":"17a206b3-19ed-f9df-d688-f2781ab3ad7e"},{"name":"get for multiple deals","id":"08b82fd2-9660-4e36-844a-c26695420022","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n    \"deal_ids\": [\n        \"deal-id-xxx-01\",\n        \"foo\"\n    ]\n}"},"url":{"raw":"{{gateway_host}}/files/by-multiple-deals?limit=100","host":["{{gateway_host}}"],"path":["files","by-multiple-deals"],"query":[{"key":"limit","value":"100"}]}},"response":[],"_postman_id":"08b82fd2-9660-4e36-844a-c26695420022"},{"name":"all by deal id","id":"c0cc67ce-2a0a-232d-e793-6a2e56614202","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"name\",\n  \"description\": \"description\",\n  \"body\": \"body\",\n  \"tags\": [\"tag1\", \"tag2\"],\n  \"archived\": \"false\"\n}"},"url":{"raw":"{{gateway_host}}/files?deal_id=BWI100119TC","host":["{{gateway_host}}"],"path":["files"],"query":[{"key":"deal_id","value":"BWI100119TC"}]}},"response":[],"_postman_id":"c0cc67ce-2a0a-232d-e793-6a2e56614202"},{"name":"upload","id":"7ee92348-58b7-973d-a790-c42dd899b5e0","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"formdata","formdata":[{"key":"file","value":null,"type":"file"},{"key":"name","value":"invoice","type":"text"},{"key":"visibility","value":"1","type":"text"},{"key":"deal_id","value":"deal-id-xxx-01","type":"text","disabled":true},{"key":"tags","value":"tag 1","type":"text","disabled":true},{"key":"tags","value":"tag 2","type":"text","disabled":true},{"key":"attributes[field1]","value":"value 1","type":"text","disabled":true},{"key":"attributes[field2]","value":"value 2","type":"text","disabled":true},{"key":"notes","value":"note 2","type":"text","disabled":true},{"key":"notes","value":"note 1","type":"text","disabled":true},{"key":"account_id","value":"123","type":"text","disabled":true}]},"url":"{{gateway_host}}/files"},"response":[],"_postman_id":"7ee92348-58b7-973d-a790-c42dd899b5e0"},{"name":"get","id":"ba74aa58-2891-a8ac-ac60-e5946442643f","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":{"raw":"{{gateway_host}}/files/:file_id","host":["{{gateway_host}}"],"path":["files",":file_id"],"variable":[{"key":"file_id","value":"25a356e8-b3fe-4893-8925-43265dff634e"}]}},"response":[],"_postman_id":"ba74aa58-2891-a8ac-ac60-e5946442643f"},{"name":"download","id":"64d8bdf1-15f3-4bc4-9b5e-c604d85e916a","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"deal_id\": \"deal\",\n  \"carrier\": \"ups\",\n  \"code\": \"code\"\n}"},"url":"{{gateway_host}}/files/download/{{file_id}}"},"response":[],"_postman_id":"64d8bdf1-15f3-4bc4-9b5e-c604d85e916a"},{"name":"update","id":"636d1364-ecaa-125e-19a7-3886b4cc40c2","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n\t\"visibility\": 0\n}"},"url":"{{gateway_host}}/files/76f01d6e-f77b-4fdd-a323-639839fa8d6a"},"response":[],"_postman_id":"636d1364-ecaa-125e-19a7-3886b4cc40c2"},{"name":"delete","id":"46d1cc08-8d90-fadc-bea0-1c449434bce4","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":""},"url":"{{gateway_host}}/files/{{file_id}}"},"response":[],"_postman_id":"46d1cc08-8d90-fadc-bea0-1c449434bce4"},{"name":"/files/filter","id":"8ea4e069-3bd0-461c-978d-72543161cadd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"socd6ExgS18I1qxUTjE7cNaqmtt4bRpDcXQCbrohNTen8KdAh8lE4ySpKhR1wp5qi4kg6PJChvIcPmLDalbEB2"}},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"deal_ids\": [\n        \"BWI110006TC\"\n    ],\n    \"supplier_id\": [\n        1566583682.4141\n    ],\n    \"buyer_id\": [\n        1566583682.4141\n    ],\n    \"providers\": [\n        1518606314.6461\n    ],\n    \"created_from\": 1449878400,\n    \"created_to\": 1608299112,\n    \"readers\": [\n        1521644375.6827,\n        1522684505.6218\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{gateway_host}}/files/filter?format=extend","host":["{{gateway_host}}"],"path":["files","filter"],"query":[{"key":"format","value":"extend"}]}},"response":[],"_postman_id":"8ea4e069-3bd0-461c-978d-72543161cadd"},{"name":"send to deringer","id":"233a10b8-85d5-474f-bb62-5d8edf23a82c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"KVUn3DvJkzyZddis8ZWPhbt4gCJq6rjAbpWGkCzMie18giEj4Gj2nQtOSjUHc1XSAl7fHlO19nDM4Tdneds2AM"}},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"deal_ids\": [\n        \"BWI110006TC\"\n    ],\n    \"supplier_id\": [\n        1566583682.4141\n    ],\n    \"buyer_id\": [\n        1566583682.4141\n    ],\n    \"providers\": [\n        1518606314.6461\n    ],\n    \"created_from\": 1449878400,\n    \"created_to\": 1608299112,\n    \"readers\": [\n        1521644375.6827,\n        1522684505.6218\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{gateway_host}}/files/{{file_id}}/deringer/send"},"response":[],"_postman_id":"233a10b8-85d5-474f-bb62-5d8edf23a82c"},{"name":"/files/:file_id/approve","id":"9ed47a52-a7df-44d0-9833-d84805403c1c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"HcCoZDYoK3zsVL2v9ZFcXN0S4yZm4EZwq61njJFETpGlRhaw7TcArlOA7v2iZAvqTwVt00AQcNN7neKQZkqoZb"}},"method":"PUT","header":[],"url":{"raw":"{{gateway_host}}/files/:file_id/approve","host":["{{gateway_host}}"],"path":["files",":file_id","approve"],"variable":[{"id":"bba92f72-9397-426e-884f-e9d7166cb55c","key":"file_id","value":"08d08011-56c1-4df4-b236-6a76dfd22036"}]}},"response":[],"_postman_id":"9ed47a52-a7df-44d0-9833-d84805403c1c"},{"name":"/files/:file_id/reject","id":"a33efbcb-f1af-4084-95df-88572aa4d76c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"HcCoZDYoK3zsVL2v9ZFcXN0S4yZm4EZwq61njJFETpGlRhaw7TcArlOA7v2iZAvqTwVt00AQcNN7neKQZkqoZb"}},"method":"PUT","header":[],"url":{"raw":"{{gateway_host}}/files/:file_id/reject","host":["{{gateway_host}}"],"path":["files",":file_id","reject"],"variable":[{"id":"11be4234-455a-4aa7-b5a9-e361ee2be92f","key":"file_id","value":"08d08011-56c1-4df4-b236-6a76dfd22036"}]}},"response":[],"_postman_id":"a33efbcb-f1af-4084-95df-88572aa4d76c"}],"id":"ba294719-708f-dac9-ad7a-b11d28c43840","description":"The File Service (FS) allows the storage and retrieval of files (documents, images, binary) into the cloud. This service is a structured wrapper around AWS S3 buckets and CloudFront CDN. Files are used throughout the TradeCafe platform and are uploaded by service providers, logistics team, or generated directly in TradeCafe.\n\n* file_id – The unique id of the file, preferably a UUID.\n* account - The account/user to whom the file belongs.\n* tags – An array of tags (words) which describe the file.\n* deal_id – The deal id associated with the file. This is optional.\n* created – An epoch timestamo with the time the file was created.\n* name – The name of the file.\n* type – The mime type of the file.\n* link – An HTTPS URL which points to the file on the CDN.\n* size - The file's size in bytes.\n* archived – A 0/1 flag which identifies if this file has been archived.\n* attributes – A sub object with additional user defined attributes of the file.\n* notes - Notes left on the file.","_postman_id":"ba294719-708f-dac9-ad7a-b11d28c43840"},{"name":"Forex","item":[{"name":"get all","id":"e0eee403-94c4-b719-9526-b8ed003829aa","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"name\",\n  \"description\": \"description\",\n  \"body\": \"body\",\n  \"tags\": [\"tag1\", \"tag2\"],\n  \"archived\": \"false\"\n}"},"url":"{{gateway_host}}/forex"},"response":[],"_postman_id":"e0eee403-94c4-b719-9526-b8ed003829aa"},{"name":"get (all filters)","id":"637226cc-97fa-334b-cc00-d4c6f04575c9","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"name\",\n  \"description\": \"description\",\n  \"body\": \"body\",\n  \"tags\": [\"tag1\", \"tag2\"],\n  \"archived\": \"false\"\n}"},"url":{"raw":"{{gateway_host}}/forex?currency=EUR&currency=USD&date=1758299852","host":["{{gateway_host}}"],"path":["forex"],"query":[{"key":"currency","value":"EUR"},{"key":"currency","value":"USD"},{"key":"date","value":"1758299852"}]}},"response":[],"_postman_id":"637226cc-97fa-334b-cc00-d4c6f04575c9"}],"id":"d55ede45-8585-76df-1935-d909331646be","_postman_id":"d55ede45-8585-76df-1935-d909331646be"},{"name":"Invoices","item":[{"name":"with issues","item":[{"name":"get all invoices copy","id":"998f1473-9723-1635-1085-147d15933e45","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":"{{gateway_host}}/invoices"},"response":[],"_postman_id":"998f1473-9723-1635-1085-147d15933e45"}],"id":"e54f2106-31ce-c2fd-b926-b28b2b2168b4","_postman_id":"e54f2106-31ce-c2fd-b926-b28b2b2168b4"},{"name":"get invoices by status values","id":"72379497-4d2b-ed69-4d81-e07b820688bb","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"status_values\": [1, 2]\n}"},"url":"{{gateway_host}}/invoices/get_by_status_values/{{staff_account_id}}"},"response":[],"_postman_id":"72379497-4d2b-ed69-4d81-e07b820688bb"},{"name":"V2 search","id":"941819d5-c072-4df0-aeba-aa8bcdfd56d5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"GvhYGTMR43ssNIexwICRIpNzbLewp6ulPizq5vZbzbUyIOwgwnkZ3W85IWBspvveeLo5WC6vysbmU4ufQgxT3w"}},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n    \"_limit\": 20000,\n    \"_pick_fields\": {\n        \"invoice_id\": 1,\n        \"account\": 1\n    },\n    \"_offset\": 1,\n    \"_sort_by\": \"status\",\n    \"_sort_direction\": -1,\n    \"deal_id\": {\n        \"$in\": [\n        \"155482TCI\"\n    ]\n    }\n}"},"url":"{{gateway_host}}/invoices/search"},"response":[],"_postman_id":"941819d5-c072-4df0-aeba-aa8bcdfd56d5"},{"name":"get for multiple deals","id":"5d935db4-a828-4971-bfdf-458cb2b1c242","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n    \"deal_ids\": [\n        \"BWI100048TC\"\n    ]\n}"},"url":{"raw":"{{gateway_host}}/invoices/by-multiple-deals?limit=100","host":["{{gateway_host}}"],"path":["invoices","by-multiple-deals"],"query":[{"key":"limit","value":"100"}]}},"response":[],"_postman_id":"5d935db4-a828-4971-bfdf-458cb2b1c242"},{"name":"has batch id","id":"2ceb740f-0333-4361-9ac9-23814df649e4","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n    \"deal_ids\": [\n        \"BWI100048TC\"\n    ]\n}"},"url":"{{gateway_host}}/invoices/has-batch-id/{{invoice_batch_id}}"},"response":[],"_postman_id":"2ceb740f-0333-4361-9ac9-23814df649e4"},{"name":"get single invoice (depreciated)","id":"f4019c56-686d-221d-664f-1a07b1455f24","request":{"auth":{"type":"noauth"},"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"deal_id\": \"deal-id-1\",\n  \"account\": {{test_account_id}},\n  \"name\": \"name\",\n  \"type\": \"payable\",\n  \"description\": \"Payable Invoice\",\n  \"issued\": 1507064572,\n  \"currency\": \"USD\"\n}"},"url":"{{gateway_host}}/invoices/{{staff_account_id}}/{{invoice_id}}"},"response":[],"_postman_id":"f4019c56-686d-221d-664f-1a07b1455f24"},{"name":"get single invoice","id":"6ed11e85-47ab-6bb9-355e-e5781919f5d7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth"},"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":{"raw":"{{gateway_host}}/invoices/single/:invoice_id","host":["{{gateway_host}}"],"path":["invoices","single",":invoice_id"],"variable":[{"key":"invoice_id","value":"174102TC-I215"}]}},"response":[],"_postman_id":"6ed11e85-47ab-6bb9-355e-e5781919f5d7"},{"name":"get all invoices for account","id":"a68a8db4-1463-f5a9-e09d-824413dde22d","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":{"raw":"{{gateway_host}}/invoices/{{staff_account_id}}?sort=created|-1","host":["{{gateway_host}}"],"path":["invoices","{{staff_account_id}}"],"query":[{"key":"sort","value":"created|-1"}]}},"response":[],"_postman_id":"a68a8db4-1463-f5a9-e09d-824413dde22d"},{"name":"get by trader and status","id":"6347cc3e-c8e8-4b1e-bfa8-479e925ea287","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"deal_id\": \"deal-id-1\",\n  \"account\": {{test_account_id}},\n  \"name\": \"name\",\n  \"type\": \"payable\",\n  \"description\": \"Payable Invoice\",\n  \"issued\": 1507064572,\n  \"currency\": \"USD\"\n}"},"url":"{{gateway_host}}/invoices/trader-status/{{user_id}}/0"},"response":[],"_postman_id":"6347cc3e-c8e8-4b1e-bfa8-479e925ea287"},{"name":"create","id":"23327966-a7fe-206f-8150-58ea731f52f4","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"deal_id\": \"{{deal_id}}\",\n  \"vendor_invoice_id\": \"{{vendor_invoice_id}}\",\n  \"user_id\" : \"{{user_id}}\",\n  \"account\": \"{{account_id}}\",\n  \"name\": \"name\",\n  \"type\": \"payable\",\n  \"description\": \"Payable Invoice\",\n  \"issued\": 1507064572,\n  \"currency\": \"USD\",\n  \"status\": 1\n}"},"url":"{{gateway_host}}/invoices"},"response":[],"_postman_id":"23327966-a7fe-206f-8150-58ea731f52f4"},{"name":"update","id":"903de77c-bbb6-0a9a-d102-fbf0156e1602","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"name {{$timestamp}}\",\n  \"description\": \"Payable Invoice {{$timestamp}}\",\n  \"issued\": 1507064572,\n  \"status\": 1\n}"},"url":"{{gateway_host}}/invoices/{{account_id}}/{{invoice_id}}"},"response":[],"_postman_id":"903de77c-bbb6-0a9a-d102-fbf0156e1602"},{"name":"void","id":"0d715398-06b2-a4b9-398d-bf1bffae8b53","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"name {{$timestamp}}\",\n  \"description\": \"Payable Invoice {{$timestamp}}\",\n  \"issued\": 1507064572\n}"},"url":{"raw":"{{gateway_host}}/invoices/:account_id/:incoice_id/void","host":["{{gateway_host}}"],"path":["invoices",":account_id",":incoice_id","void"],"variable":[{"key":"account_id","value":"1510188624.5357"},{"key":"incoice_id","value":null}]}},"response":[],"_postman_id":"0d715398-06b2-a4b9-398d-bf1bffae8b53"},{"name":"sent","id":"4c0c5e91-67d7-f9ca-7c96-45d2b2eab969","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":""},"url":"{{gateway_host}}/invoices/{{account_id}}/{{invoice_id}}/sent"},"response":[],"_postman_id":"4c0c5e91-67d7-f9ca-7c96-45d2b2eab969"},{"name":"add receipt","id":"84a5bc9a-f073-44f1-2311-7522d1c0873f","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"receipt_id\": \"{{invoice_receipt_id}}\",\n  \"amount\": 123,\n  \"date\": 1507064571\n}"},"url":"{{gateway_host}}/invoices/{{account_id}}/{{invoice_id}}/receipt"},"response":[],"_postman_id":"84a5bc9a-f073-44f1-2311-7522d1c0873f"},{"name":"add item","id":"2fdbe7fb-35c8-01a8-17b4-4e4eb03ceb91","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"name {{$randomInt}}\",\n  \"description\": \"Description {{$timestamp}}\",\n  \"quantity\": 10,\n  \"price\": 2.99,\n  \"tax\": 0.3\n}"},"url":"{{gateway_host}}/invoices/{{staff_account_id}}/{{invoice_id}}/item"},"response":[],"_postman_id":"2fdbe7fb-35c8-01a8-17b4-4e4eb03ceb91"},{"name":"delete receipt","id":"d3abffe5-cea9-aeeb-618a-5b47c18fd869","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"receipt_id\": \"receipt-id\",\n  \"amount\": 6012.23,\n  \"date\": 1507064571\n}"},"url":"{{gateway_host}}/invoices/{{account_id}}/{{invoice_id}}/receipt/{{invoice_receipt_id}}"},"response":[],"_postman_id":"d3abffe5-cea9-aeeb-618a-5b47c18fd869"},{"name":"delete item","id":"ba5a33e2-90a3-6aa1-bdce-9b9a236a5b60","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"name {{$randomInt}}\",\n  \"description\": \"Description {{$timestamp}}\",\n  \"quantity\": 10,\n  \"price\": 2.99,\n  \"tax\": 0.3\n}"},"url":"{{gateway_host}}/invoices/{{account_id}}/{{invoice_id}}/item/{{invoice_item_id}}"},"response":[],"_postman_id":"ba5a33e2-90a3-6aa1-bdce-9b9a236a5b60"},{"name":"V2 recalculate invoice","id":"50a42a03-161a-41d9-a41d-b034baf77d54","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n\t\"invoice_id\": \"{{invoice_id}}\",\n\t\"do_update\": false\n}"},"url":"{{gateway_host}}/invoices/recalculate"},"response":[],"_postman_id":"50a42a03-161a-41d9-a41d-b034baf77d54"}],"id":"40a68458-750b-cc10-a3c8-7003bb7eaed1","description":"The File Service (FS) allows the storage and retrieval of files (documents, images, binary) into the cloud. This service is a structured wrapper around AWS S3 buckets and CloudFront CDN. Files are used throughout the TradeCafe platform and are uploaded by service providers, logistics team, or generated directly in TradeCafe.\n\n* file_id – The unique id of the file, preferably a UUID.\n* account - The account/user to whom the file belongs.\n* tags – An array of tags (words) which describe the file.\n* deal_id – The deal id associated with the file. This is optional.\n* created – An epoch timestamo with the time the file was created.\n* name – The name of the file.\n* type – The mime type of the file.\n* link – An HTTPS URL which points to the file on the CDN.\n* size - The file's size in bytes.\n* archived – A 0/1 flag which identifies if this file has been archived.\n* attributes – A sub object with additional user defined attributes of the file.\n* notes - Notes left on the file.","_postman_id":"40a68458-750b-cc10-a3c8-7003bb7eaed1"},{"name":"Messages","item":[{"name":"messages","item":[{"name":"list unread","id":"1e907c52-a7c3-4004-82e7-811a7b3f49f7","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"body_txt\": \"test 1.36\",\n  \"is_draft\": \"no\",\n  \"user_id\": \"123\",\n  \"direction\": \"outgoing\",\n  \"subject\": \"from live\",\n  \"type\": \"email\",\n  \"to\": [\"liesislukas@gmail.com\"],\n  \"from\": \"liesislukas@gmail.com\"\n}"},"url":{"raw":"{{gateway_host}}/messages/{{account_id}}/list-unread","host":["{{gateway_host}}"],"path":["messages","{{account_id}}","list-unread"],"query":[{"key":"from","value":"from-email@tradecafe.com","description":"filter by from","disabled":true},{"key":"to","value":"to-email@gmail.com","description":"filter by to","disabled":true},{"key":"cc","value":"cc-email@gmail.com","description":"filter by cc","disabled":true},{"key":"tags","value":"tag value","description":"filter by tags","disabled":true},{"key":"attributes[field]","value":"value","description":"filter by attributes","disabled":true},{"key":"skip","value":"0","description":"paging - number of items to skip","disabled":true},{"key":"limit","value":"1","description":"paging - number of items to limit by","disabled":true},{"key":"archived","value":"true","description":"include archived messages","disabled":true}]},"description":"Create new message"},"response":[],"_postman_id":"1e907c52-a7c3-4004-82e7-811a7b3f49f7"},{"name":"mass mark as read","id":"47341017-8e7e-443d-984d-e45460be4be3","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n \"message_ids\": [ \"2062b83e-5e17-4118-9e81-075ff9bb5775\" ]\n}"},"url":{"raw":"{{gateway_host}}/messages/{{account_id}}/mass-mark-as-read","host":["{{gateway_host}}"],"path":["messages","{{account_id}}","mass-mark-as-read"],"query":[{"key":"from","value":"from-email@tradecafe.com","description":"filter by from","disabled":true},{"key":"to","value":"to-email@gmail.com","description":"filter by to","disabled":true},{"key":"cc","value":"cc-email@gmail.com","description":"filter by cc","disabled":true},{"key":"tags","value":"tag value","description":"filter by tags","disabled":true},{"key":"attributes[field]","value":"value","description":"filter by attributes","disabled":true},{"key":"skip","value":"0","description":"paging - number of items to skip","disabled":true},{"key":"limit","value":"1","description":"paging - number of items to limit by","disabled":true},{"key":"archived","value":"true","description":"include archived messages","disabled":true}]},"description":"Create new message"},"response":[],"_postman_id":"47341017-8e7e-443d-984d-e45460be4be3"},{"name":"create new message (email)","id":"6a6e0ef3-cdd4-6ccd-bb65-43f1a2518891","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"body_txt\": \"test 1.37 text\",\n  \"body_html\": \"test 1.37 html\",\n  \"is_draft\": \"no\",\n  \"user_id\": \"123\",\n  \"direction\": \"outgoing\",\n  \"subject\": \"from live\",\n  \"type\": \"email\",\n  \"to\": [\"liesislukas@gmail.com\"],\n  \"from\": \"liesislukas@gmail.com\",\n  \"attachments\": [{\n  \t\"file_id\": \"568d387c-649d-462b-bd5b-92b8da52f201\",\n  \t\"name\": \"Sales_Confirmation (3)-to-test.docx\",\n\t\"url\": \"https://s3.us-east-2.amazonaws.com/file.service.dev/1510188624-5357-568d387c-649d-462b-bd5b-92b8da52f201\"\n  }]\n}"},"url":{"raw":"{{gateway_host}}/messages/{{account_id}}","host":["{{gateway_host}}"],"path":["messages","{{account_id}}"],"query":[{"key":"from","value":"from-email@tradecafe.com","description":"filter by from","disabled":true},{"key":"to","value":"to-email@gmail.com","description":"filter by to","disabled":true},{"key":"cc","value":"cc-email@gmail.com","description":"filter by cc","disabled":true},{"key":"tags","value":"tag value","description":"filter by tags","disabled":true},{"key":"attributes[field]","value":"value","description":"filter by attributes","disabled":true},{"key":"skip","value":"0","description":"paging - number of items to skip","disabled":true},{"key":"limit","value":"1","description":"paging - number of items to limit by","disabled":true},{"key":"archived","value":"true","description":"include archived messages","disabled":true}]},"description":"Create new message"},"response":[],"_postman_id":"6a6e0ef3-cdd4-6ccd-bb65-43f1a2518891"},{"name":"create new message (in-app)","id":"94b4d430-73d9-8490-95d1-cbd212b2bbd2","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"body_txt\": \"test 1.36\",\n  \"is_draft\": \"no\",\n  \"user_id\": \"{{user_created}}\",\n  \"account\": {{account_id}},\n  \"direction\": \"outgoing\",\n  \"subject\": \"hi to another user\",\n  \"type\": \"in-app\",\n  \"to\": \"user_id_to\",\n  \"from\": \"user_id_from\",\n  \"attributes\": {\n  \t\"acount_to\": \"{{account_to}}\"\n  }\n}"},"url":{"raw":"{{gateway_host}}/messages/{{account_id}}","host":["{{gateway_host}}"],"path":["messages","{{account_id}}"],"query":[{"key":"from","value":"from-email@tradecafe.com","description":"filter by from","disabled":true},{"key":"to","value":"to-email@gmail.com","description":"filter by to","disabled":true},{"key":"cc","value":"cc-email@gmail.com","description":"filter by cc","disabled":true},{"key":"tags","value":"tag value","description":"filter by tags","disabled":true},{"key":"attributes[field]","value":"value","description":"filter by attributes","disabled":true},{"key":"skip","value":"0","description":"paging - number of items to skip","disabled":true},{"key":"limit","value":"1","description":"paging - number of items to limit by","disabled":true},{"key":"archived","value":"true","description":"include archived messages","disabled":true}]},"description":"Create new message"},"response":[],"_postman_id":"94b4d430-73d9-8490-95d1-cbd212b2bbd2"},{"name":"create new message (sms)","id":"2087e313-ef87-4ad6-e0f2-91ccc43882f0","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"body_txt\": \"from live\",\n  \"is_draft\": \"no\",\n  \"user_id\": \"123\",\n  \"direction\": \"outgoing\",\n  \"type\": \"sms\",\n  \"from\": \"PHONE_NUMBER\",\n  \"to\": \"PHONE_NUMBER\",\n  \"name\": \"some name\"\n}"},"url":{"raw":"{{gateway_host}}/messages/{{account_id}}","host":["{{gateway_host}}"],"path":["messages","{{account_id}}"],"query":[{"key":"from","value":"from-email@tradecafe.com","description":"filter by from","disabled":true},{"key":"to","value":"to-email@gmail.com","description":"filter by to","disabled":true},{"key":"cc","value":"cc-email@gmail.com","description":"filter by cc","disabled":true},{"key":"tags","value":"tag value","description":"filter by tags","disabled":true},{"key":"attributes[field]","value":"value","description":"filter by attributes","disabled":true},{"key":"skip","value":"0","description":"paging - number of items to skip","disabled":true},{"key":"limit","value":"1","description":"paging - number of items to limit by","disabled":true},{"key":"archived","value":"true","description":"include archived messages","disabled":true}]},"description":"Create new message"},"response":[],"_postman_id":"2087e313-ef87-4ad6-e0f2-91ccc43882f0"},{"name":"create new message (mobile notification)","id":"47f54ebc-376a-477f-8f3b-a9f8f84d1d09","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"q8AWyuaTSdzq9Dz5r8iTU1IMUxJ2k02kAfrJPsmWR08dFO40yfGl7sWuhm5t5uHTm2zmqVglcGDyAP97uleDNK"}},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n    \"is_draft\": \"no\",\n    \"direction\": \"outgoing\",\n    \"type\": \"mobile\",\n    \"heading\": \"Notification heading\",\n    \"subtitle\": \"Notification subtitle\",\n    \"body_txt\": \"Notification text\",\n    \"to\": [\n        \"18efe2f4-043e-44b0-a65a-267033b501b6\"\n    ],\n    \"data\": {\"type\": \"matched_offer\", \"offer_id\": \"matched_offer_id\"}\n}"},"url":"{{gateway_host}}/messages/{{account_id}}","description":"Create new message"},"response":[],"_postman_id":"47f54ebc-376a-477f-8f3b-a9f8f84d1d09"},{"name":"filter","id":"8b70828d-f86f-4e69-8112-4c7265a9c08a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"GmKTEQerlT6mMbqD3r7ZrFGOMzMfA7UeOWik3Ll32viXd6CYjzLA0VqlHnxWR39NSdWJ1nbinad5qxE5snWLKk"}},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n\t\"type\": [\"sms\"]\n\t\n}"},"url":{"raw":"{{gateway_host}}/messages/{{account_id}}/filter?limit=10","host":["{{gateway_host}}"],"path":["messages","{{account_id}}","filter"],"query":[{"key":"limit","value":"10"}]},"description":"Create new message"},"response":[],"_postman_id":"8b70828d-f86f-4e69-8112-4c7265a9c08a"},{"name":"get signle","id":"0898443a-739f-9045-be15-8450cbefdfed","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{gateway_host}}/messages/{{account_id}}/{{message_id}}","host":["{{gateway_host}}"],"path":["messages","{{account_id}}","{{message_id}}"],"query":[{"key":"from","value":"from-email@tradecafe.com","description":"filter by from","disabled":true},{"key":"to","value":"to-email@gmail.com","description":"filter by to","disabled":true},{"key":"cc","value":"cc-email@gmail.com","description":"filter by cc","disabled":true},{"key":"tags","value":"tag value","description":"filter by tags","disabled":true},{"key":"attributes[field]","value":"value","description":"filter by attributes","disabled":true},{"key":"skip","value":"0","description":"paging - number of items to skip","disabled":true},{"key":"limit","value":"1","description":"paging - number of items to limit by","disabled":true},{"key":"archived","value":"true","description":"include archived messages","disabled":true}]},"description":"List messages with paging and filters"},"response":[{"id":"eec8e485-2aa7-f7b0-d090-0f14153da6e7","name":"/messages/:account","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":{"raw":"{{service_url}}/messages/{{account}}?name=message","host":["{{service_url}}"],"path":["messages","{{account}}"],"query":[{"key":"name","value":"message"},{"key":"to","value":"to-email@gmail.com","disabled":true},{"key":"from","value":"from-email@tradecafe.com","disabled":true},{"key":"tags","value":"tag value","disabled":true},{"key":"attributes[field]","value":"value","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"name":"connection","key":"connection","value":"keep-alive","description":""},{"name":"content-length","key":"content-length","value":"3392","description":""},{"name":"content-type","key":"content-type","value":"application/json; charset=utf-8","description":""},{"name":"date","key":"date","value":"Thu, 05 Oct 2017 12:40:08 GMT","description":""},{"name":"etag","key":"etag","value":"W/\"d40-Fl83fGr8tOalPS93nf+WKvTfyCc\"","description":""},{"name":"server","key":"server","value":"nginx/1.10.3 (Ubuntu)","description":""},{"name":"x-powered-by","key":"x-powered-by","value":"Express","description":""}],"cookie":[],"responseTime":"285","body":"[{\"thread_id\":\"d6388447-75cb-45f0-b2e4-e312a5a8682a\",\"direction\":\"outgoing\",\"name\":\"message 1507206880415\",\"user_id\":\"user-001-1507206880415\",\"deal_id\":\"trong001\",\"to\":[\"trongndse@gmail.com\",\"trong.nd@outlook.com\"],\"subject\":\"msg subject 1507206880415\",\"body_txt\":\"content 1507206880415\\n\\nAttachments:\\n- Attachment 1: http://file-service.tradecafe.com/0.2348050691613408\\n- Attachment 2: http://file-service.tradecafe.com/0.8215843906379914\\n- Attachment 3: http://file-service.tradecafe.com/0.8270042246231573\\n- Attachment 4: http://file-service.tradecafe.com/0.019791490377371712\\n- Attachment 5: http://file-service.tradecafe.com/0.21291089509965522\\n\",\"body_html\":\"<html><head></head><body>content <b>1507206880415</b>\\n    <br>\\n    <br>\\n    <div style=\\\"background-color: #efefef; font-family: Arial, Helvetica, sans-serif\\\">\\n      <br>\\n      <div style=\\\"font-size: 15px; font-weight: bold; color: #555\\\">\\n        &#xA0;&#xA0;&#xA0;Attachments\\n      </div>\\n      <br>\\n\\n      \\n\\n        &#xA0;&#xA0;&#xA0;-&#xA0;\\n\\n        <a href=\\\"http://file-service.tradecafe.com/0.2348050691613408\\\" style=\\\"font-size: 15px; color: #1a0dab; text-decoration: underline;\\\">\\n          Attachment 1\\n        </a>\\n        <div></div>\\n        <br>\\n\\n      \\n\\n        &#xA0;&#xA0;&#xA0;-&#xA0;\\n\\n        <a href=\\\"http://file-service.tradecafe.com/0.8215843906379914\\\" style=\\\"font-size: 15px; color: #1a0dab; text-decoration: underline;\\\">\\n          Attachment 2\\n        </a>\\n        <div></div>\\n        <br>\\n\\n      \\n\\n        &#xA0;&#xA0;&#xA0;-&#xA0;\\n\\n        <a href=\\\"http://file-service.tradecafe.com/0.8270042246231573\\\" style=\\\"font-size: 15px; color: #1a0dab; text-decoration: underline;\\\">\\n          Attachment 3\\n        </a>\\n        <div></div>\\n        <br>\\n\\n      \\n\\n        &#xA0;&#xA0;&#xA0;-&#xA0;\\n\\n        <a href=\\\"http://file-service.tradecafe.com/0.019791490377371712\\\" style=\\\"font-size: 15px; color: #1a0dab; text-decoration: underline;\\\">\\n          Attachment 4\\n        </a>\\n        <div></div>\\n        <br>\\n\\n      \\n\\n        &#xA0;&#xA0;&#xA0;-&#xA0;\\n\\n        <a href=\\\"http://file-service.tradecafe.com/0.21291089509965522\\\" style=\\\"font-size: 15px; color: #1a0dab; text-decoration: underline;\\\">\\n          Attachment 5\\n        </a>\\n        <div></div>\\n        <br>\\n\\n      \\n    </div>\\n\\n  </body></html>\",\"tags\":[\"tag1\"],\"attributes\":{\"attr1\":\"value 1\"},\"attachments\":[{\"file_id\":\"e335d25b-569d-4ea1-9772-891d080369aa\",\"url\":\"http://file-service.tradecafe.com/0.2348050691613408\",\"name\":\"Attachment 1\"},{\"file_id\":\"65815dc6-6b2d-42bd-bafd-8d931dfd7106\",\"url\":\"http://file-service.tradecafe.com/0.8215843906379914\",\"name\":\"Attachment 2\"},{\"file_id\":\"e430add6-2d32-48e1-aa06-9aea433a0f2f\",\"url\":\"http://file-service.tradecafe.com/0.8270042246231573\",\"name\":\"Attachment 3\"},{\"file_id\":\"b8c9a0c9-7545-4583-b8ee-0f2e20eed142\",\"url\":\"http://file-service.tradecafe.com/0.019791490377371712\",\"name\":\"Attachment 4\"},{\"file_id\":\"8f5f91c7-f8e0-41cb-90a5-16a4bcf15b95\",\"url\":\"http://file-service.tradecafe.com/0.21291089509965522\",\"name\":\"Attachment 5\"}],\"account\":12345.67,\"message_id\":\"96609e0f-3882-4950-967a-be190d0ce788\",\"created\":1507206886,\"from\":\"trong001@dev.tradecafe.com\",\"type\":null,\"received\":0,\"sent\":0,\"sent_details\":null,\"read\":0,\"open\":0,\"delivered\":0,\"archived\":0,\"history\":[{\"action\":\"created\",\"timestamp\":1507206886}]}]"}],"_postman_id":"0898443a-739f-9045-be15-8450cbefdfed"},{"name":"/messages/:account - list","id":"1e5ce446-5b78-9554-7260-e44bd4df7a30","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{gateway_host}}/messages/{{account_id}}?=attributes:{\"foo\":\"bar\"}","host":["{{gateway_host}}"],"path":["messages","{{account_id}}"],"query":[{"key":"from","value":"from-email@tradecafe.com","description":"filter by from","disabled":true},{"key":"to","value":"to-email@gmail.com","description":"filter by to","disabled":true},{"key":"cc","value":"cc-email@gmail.com","description":"filter by cc","disabled":true},{"key":"tags","value":"tag value","description":"filter by tags","disabled":true},{"key":"attributes[field]","value":"value","description":"filter by attributes","disabled":true},{"key":"archived","value":"true","description":"include archived messages","disabled":true},{"key":"","value":"attributes:{\"foo\":\"bar\"}"}]},"description":"List messages with paging and filters"},"response":[{"id":"d6c6ae84-082c-f62f-46b9-92b1a154c6b7","name":"/messages/:account","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":{"raw":"{{service_url}}/messages/{{account}}?name=message","host":["{{service_url}}"],"path":["messages","{{account}}"],"query":[{"key":"name","value":"message"},{"key":"to","value":"to-email@gmail.com","disabled":true},{"key":"from","value":"from-email@tradecafe.com","disabled":true},{"key":"tags","value":"tag value","disabled":true},{"key":"attributes[field]","value":"value","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"name":"connection","key":"connection","value":"keep-alive","description":""},{"name":"content-length","key":"content-length","value":"3392","description":""},{"name":"content-type","key":"content-type","value":"application/json; charset=utf-8","description":""},{"name":"date","key":"date","value":"Thu, 05 Oct 2017 12:40:08 GMT","description":""},{"name":"etag","key":"etag","value":"W/\"d40-Fl83fGr8tOalPS93nf+WKvTfyCc\"","description":""},{"name":"server","key":"server","value":"nginx/1.10.3 (Ubuntu)","description":""},{"name":"x-powered-by","key":"x-powered-by","value":"Express","description":""}],"cookie":[],"responseTime":"285","body":"[{\"thread_id\":\"d6388447-75cb-45f0-b2e4-e312a5a8682a\",\"direction\":\"outgoing\",\"name\":\"message 1507206880415\",\"user_id\":\"user-001-1507206880415\",\"deal_id\":\"trong001\",\"to\":[\"trongndse@gmail.com\",\"trong.nd@outlook.com\"],\"subject\":\"msg subject 1507206880415\",\"body_txt\":\"content 1507206880415\\n\\nAttachments:\\n- Attachment 1: http://file-service.tradecafe.com/0.2348050691613408\\n- Attachment 2: http://file-service.tradecafe.com/0.8215843906379914\\n- Attachment 3: http://file-service.tradecafe.com/0.8270042246231573\\n- Attachment 4: http://file-service.tradecafe.com/0.019791490377371712\\n- Attachment 5: http://file-service.tradecafe.com/0.21291089509965522\\n\",\"body_html\":\"<html><head></head><body>content <b>1507206880415</b>\\n    <br>\\n    <br>\\n    <div style=\\\"background-color: #efefef; font-family: Arial, Helvetica, sans-serif\\\">\\n      <br>\\n      <div style=\\\"font-size: 15px; font-weight: bold; color: #555\\\">\\n        &#xA0;&#xA0;&#xA0;Attachments\\n      </div>\\n      <br>\\n\\n      \\n\\n        &#xA0;&#xA0;&#xA0;-&#xA0;\\n\\n        <a href=\\\"http://file-service.tradecafe.com/0.2348050691613408\\\" style=\\\"font-size: 15px; color: #1a0dab; text-decoration: underline;\\\">\\n          Attachment 1\\n        </a>\\n        <div></div>\\n        <br>\\n\\n      \\n\\n        &#xA0;&#xA0;&#xA0;-&#xA0;\\n\\n        <a href=\\\"http://file-service.tradecafe.com/0.8215843906379914\\\" style=\\\"font-size: 15px; color: #1a0dab; text-decoration: underline;\\\">\\n          Attachment 2\\n        </a>\\n        <div></div>\\n        <br>\\n\\n      \\n\\n        &#xA0;&#xA0;&#xA0;-&#xA0;\\n\\n        <a href=\\\"http://file-service.tradecafe.com/0.8270042246231573\\\" style=\\\"font-size: 15px; color: #1a0dab; text-decoration: underline;\\\">\\n          Attachment 3\\n        </a>\\n        <div></div>\\n        <br>\\n\\n      \\n\\n        &#xA0;&#xA0;&#xA0;-&#xA0;\\n\\n        <a href=\\\"http://file-service.tradecafe.com/0.019791490377371712\\\" style=\\\"font-size: 15px; color: #1a0dab; text-decoration: underline;\\\">\\n          Attachment 4\\n        </a>\\n        <div></div>\\n        <br>\\n\\n      \\n\\n        &#xA0;&#xA0;&#xA0;-&#xA0;\\n\\n        <a href=\\\"http://file-service.tradecafe.com/0.21291089509965522\\\" style=\\\"font-size: 15px; color: #1a0dab; text-decoration: underline;\\\">\\n          Attachment 5\\n        </a>\\n        <div></div>\\n        <br>\\n\\n      \\n    </div>\\n\\n  </body></html>\",\"tags\":[\"tag1\"],\"attributes\":{\"attr1\":\"value 1\"},\"attachments\":[{\"file_id\":\"e335d25b-569d-4ea1-9772-891d080369aa\",\"url\":\"http://file-service.tradecafe.com/0.2348050691613408\",\"name\":\"Attachment 1\"},{\"file_id\":\"65815dc6-6b2d-42bd-bafd-8d931dfd7106\",\"url\":\"http://file-service.tradecafe.com/0.8215843906379914\",\"name\":\"Attachment 2\"},{\"file_id\":\"e430add6-2d32-48e1-aa06-9aea433a0f2f\",\"url\":\"http://file-service.tradecafe.com/0.8270042246231573\",\"name\":\"Attachment 3\"},{\"file_id\":\"b8c9a0c9-7545-4583-b8ee-0f2e20eed142\",\"url\":\"http://file-service.tradecafe.com/0.019791490377371712\",\"name\":\"Attachment 4\"},{\"file_id\":\"8f5f91c7-f8e0-41cb-90a5-16a4bcf15b95\",\"url\":\"http://file-service.tradecafe.com/0.21291089509965522\",\"name\":\"Attachment 5\"}],\"account\":12345.67,\"message_id\":\"96609e0f-3882-4950-967a-be190d0ce788\",\"created\":1507206886,\"from\":\"trong001@dev.tradecafe.com\",\"type\":null,\"received\":0,\"sent\":0,\"sent_details\":null,\"read\":0,\"open\":0,\"delivered\":0,\"archived\":0,\"history\":[{\"action\":\"created\",\"timestamp\":1507206886}]}]"}],"_postman_id":"1e5ce446-5b78-9554-7260-e44bd4df7a30"},{"name":"/messages/:account - search","id":"a962bf8a-c4b4-019c-aeba-9ecd0534453c","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{gateway_host}}/messages/{{account_id}}?search=test 1.36&skip=0&limit=1","host":["{{gateway_host}}"],"path":["messages","{{account_id}}"],"query":[{"key":"search","value":"test 1.36"},{"key":"skip","value":"0"},{"key":"limit","value":"1"}]},"description":"Search message by either name, subject, body_html or body_text"},"response":[{"id":"6ea2bbee-af63-862b-a512-b0d441fcdfa3","name":"/messages/:account - search","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":{"raw":"{{service_url}}/messages/{{account}}?search=message&skip=0&limit=1","host":["{{service_url}}"],"path":["messages","{{account}}"],"query":[{"key":"search","value":"message"},{"key":"skip","value":"0"},{"key":"limit","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"name":"connection","key":"connection","value":"keep-alive","description":""},{"name":"content-length","key":"content-length","value":"3392","description":""},{"name":"content-type","key":"content-type","value":"application/json; charset=utf-8","description":""},{"name":"date","key":"date","value":"Thu, 05 Oct 2017 12:43:27 GMT","description":""},{"name":"etag","key":"etag","value":"W/\"d40-Fl83fGr8tOalPS93nf+WKvTfyCc\"","description":""},{"name":"server","key":"server","value":"nginx/1.10.3 (Ubuntu)","description":""},{"name":"x-powered-by","key":"x-powered-by","value":"Express","description":""}],"cookie":[],"responseTime":"533","body":"[{\"thread_id\":\"d6388447-75cb-45f0-b2e4-e312a5a8682a\",\"direction\":\"outgoing\",\"name\":\"message 1507206880415\",\"user_id\":\"user-001-1507206880415\",\"deal_id\":\"trong001\",\"to\":[\"trongndse@gmail.com\",\"trong.nd@outlook.com\"],\"subject\":\"msg subject 1507206880415\",\"body_txt\":\"content 1507206880415\\n\\nAttachments:\\n- Attachment 1: http://file-service.tradecafe.com/0.2348050691613408\\n- Attachment 2: http://file-service.tradecafe.com/0.8215843906379914\\n- Attachment 3: http://file-service.tradecafe.com/0.8270042246231573\\n- Attachment 4: http://file-service.tradecafe.com/0.019791490377371712\\n- Attachment 5: http://file-service.tradecafe.com/0.21291089509965522\\n\",\"body_html\":\"<html><head></head><body>content <b>1507206880415</b>\\n    <br>\\n    <br>\\n    <div style=\\\"background-color: #efefef; font-family: Arial, Helvetica, sans-serif\\\">\\n      <br>\\n      <div style=\\\"font-size: 15px; font-weight: bold; color: #555\\\">\\n        &#xA0;&#xA0;&#xA0;Attachments\\n      </div>\\n      <br>\\n\\n      \\n\\n        &#xA0;&#xA0;&#xA0;-&#xA0;\\n\\n        <a href=\\\"http://file-service.tradecafe.com/0.2348050691613408\\\" style=\\\"font-size: 15px; color: #1a0dab; text-decoration: underline;\\\">\\n          Attachment 1\\n        </a>\\n        <div></div>\\n        <br>\\n\\n      \\n\\n        &#xA0;&#xA0;&#xA0;-&#xA0;\\n\\n        <a href=\\\"http://file-service.tradecafe.com/0.8215843906379914\\\" style=\\\"font-size: 15px; color: #1a0dab; text-decoration: underline;\\\">\\n          Attachment 2\\n        </a>\\n        <div></div>\\n        <br>\\n\\n      \\n\\n        &#xA0;&#xA0;&#xA0;-&#xA0;\\n\\n        <a href=\\\"http://file-service.tradecafe.com/0.8270042246231573\\\" style=\\\"font-size: 15px; color: #1a0dab; text-decoration: underline;\\\">\\n          Attachment 3\\n        </a>\\n        <div></div>\\n        <br>\\n\\n      \\n\\n        &#xA0;&#xA0;&#xA0;-&#xA0;\\n\\n        <a href=\\\"http://file-service.tradecafe.com/0.019791490377371712\\\" style=\\\"font-size: 15px; color: #1a0dab; text-decoration: underline;\\\">\\n          Attachment 4\\n        </a>\\n        <div></div>\\n        <br>\\n\\n      \\n\\n        &#xA0;&#xA0;&#xA0;-&#xA0;\\n\\n        <a href=\\\"http://file-service.tradecafe.com/0.21291089509965522\\\" style=\\\"font-size: 15px; color: #1a0dab; text-decoration: underline;\\\">\\n          Attachment 5\\n        </a>\\n        <div></div>\\n        <br>\\n\\n      \\n    </div>\\n\\n  </body></html>\",\"tags\":[\"tag1\"],\"attributes\":{\"attr1\":\"value 1\"},\"attachments\":[{\"file_id\":\"e335d25b-569d-4ea1-9772-891d080369aa\",\"url\":\"http://file-service.tradecafe.com/0.2348050691613408\",\"name\":\"Attachment 1\"},{\"file_id\":\"65815dc6-6b2d-42bd-bafd-8d931dfd7106\",\"url\":\"http://file-service.tradecafe.com/0.8215843906379914\",\"name\":\"Attachment 2\"},{\"file_id\":\"e430add6-2d32-48e1-aa06-9aea433a0f2f\",\"url\":\"http://file-service.tradecafe.com/0.8270042246231573\",\"name\":\"Attachment 3\"},{\"file_id\":\"b8c9a0c9-7545-4583-b8ee-0f2e20eed142\",\"url\":\"http://file-service.tradecafe.com/0.019791490377371712\",\"name\":\"Attachment 4\"},{\"file_id\":\"8f5f91c7-f8e0-41cb-90a5-16a4bcf15b95\",\"url\":\"http://file-service.tradecafe.com/0.21291089509965522\",\"name\":\"Attachment 5\"}],\"account\":12345.67,\"message_id\":\"96609e0f-3882-4950-967a-be190d0ce788\",\"created\":1507206886,\"from\":\"trong001@dev.tradecafe.com\",\"type\":null,\"received\":0,\"sent\":0,\"sent_details\":null,\"read\":0,\"open\":0,\"delivered\":0,\"archived\":0,\"history\":[{\"action\":\"created\",\"timestamp\":1507206886}]}]"}],"_postman_id":"a962bf8a-c4b4-019c-aeba-9ecd0534453c"},{"name":"/messages/:account/:message_id/archive","id":"c5fafea6-6425-a278-6f7b-57a3892e867f","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":""},"url":"{{gateway_host}}/messages/{{account_id}}/{{message_id}}/archive","description":"Archive a message"},"response":[{"id":"7e7b87bb-9c09-29d9-50d3-b5c10c637200","name":"/messages/:account/archive","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":""},"url":"{{service_url}}/messages/{{account}}/{{message_id}}/archive"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"name":"connection","key":"connection","value":"keep-alive","description":""},{"name":"content-length","key":"content-length","value":"3508","description":""},{"name":"content-type","key":"content-type","value":"application/json; charset=utf-8","description":""},{"name":"date","key":"date","value":"Thu, 05 Oct 2017 12:45:51 GMT","description":""},{"name":"etag","key":"etag","value":"W/\"db4-GaKJgk9A4uLzJOC0pSH6eba6uj0\"","description":""},{"name":"server","key":"server","value":"nginx/1.10.3 (Ubuntu)","description":""},{"name":"x-powered-by","key":"x-powered-by","value":"Express","description":""}],"cookie":[],"responseTime":"300","body":"{\"thread_id\":\"d6388447-75cb-45f0-b2e4-e312a5a8682a\",\"direction\":\"outgoing\",\"name\":\"message 1507206880415\",\"user_id\":\"user-001-1507206880415\",\"deal_id\":\"trong001\",\"to\":[\"trongndse@gmail.com\",\"trong.nd@outlook.com\"],\"subject\":\"msg subject 1507206880415\",\"body_txt\":\"content 1507206880415\\n\\nAttachments:\\n- Attachment 1: http://file-service.tradecafe.com/0.2348050691613408\\n- Attachment 2: http://file-service.tradecafe.com/0.8215843906379914\\n- Attachment 3: http://file-service.tradecafe.com/0.8270042246231573\\n- Attachment 4: http://file-service.tradecafe.com/0.019791490377371712\\n- Attachment 5: http://file-service.tradecafe.com/0.21291089509965522\\n\",\"body_html\":\"<html><head></head><body>content <b>1507206880415</b>\\n    <br>\\n    <br>\\n    <div style=\\\"background-color: #efefef; font-family: Arial, Helvetica, sans-serif\\\">\\n      <br>\\n      <div style=\\\"font-size: 15px; font-weight: bold; color: #555\\\">\\n        &#xA0;&#xA0;&#xA0;Attachments\\n      </div>\\n      <br>\\n\\n      \\n\\n        &#xA0;&#xA0;&#xA0;-&#xA0;\\n\\n        <a href=\\\"http://file-service.tradecafe.com/0.2348050691613408\\\" style=\\\"font-size: 15px; color: #1a0dab; text-decoration: underline;\\\">\\n          Attachment 1\\n        </a>\\n        <div></div>\\n        <br>\\n\\n      \\n\\n        &#xA0;&#xA0;&#xA0;-&#xA0;\\n\\n        <a href=\\\"http://file-service.tradecafe.com/0.8215843906379914\\\" style=\\\"font-size: 15px; color: #1a0dab; text-decoration: underline;\\\">\\n          Attachment 2\\n        </a>\\n        <div></div>\\n        <br>\\n\\n      \\n\\n        &#xA0;&#xA0;&#xA0;-&#xA0;\\n\\n        <a href=\\\"http://file-service.tradecafe.com/0.8270042246231573\\\" style=\\\"font-size: 15px; color: #1a0dab; text-decoration: underline;\\\">\\n          Attachment 3\\n        </a>\\n        <div></div>\\n        <br>\\n\\n      \\n\\n        &#xA0;&#xA0;&#xA0;-&#xA0;\\n\\n        <a href=\\\"http://file-service.tradecafe.com/0.019791490377371712\\\" style=\\\"font-size: 15px; color: #1a0dab; text-decoration: underline;\\\">\\n          Attachment 4\\n        </a>\\n        <div></div>\\n        <br>\\n\\n      \\n\\n        &#xA0;&#xA0;&#xA0;-&#xA0;\\n\\n        <a href=\\\"http://file-service.tradecafe.com/0.21291089509965522\\\" style=\\\"font-size: 15px; color: #1a0dab; text-decoration: underline;\\\">\\n          Attachment 5\\n        </a>\\n        <div></div>\\n        <br>\\n\\n      \\n    </div>\\n\\n  </body></html>\",\"tags\":[\"tag1\"],\"attributes\":{\"attr1\":\"value 1\"},\"attachments\":[{\"file_id\":\"e335d25b-569d-4ea1-9772-891d080369aa\",\"url\":\"http://file-service.tradecafe.com/0.2348050691613408\",\"name\":\"Attachment 1\"},{\"file_id\":\"65815dc6-6b2d-42bd-bafd-8d931dfd7106\",\"url\":\"http://file-service.tradecafe.com/0.8215843906379914\",\"name\":\"Attachment 2\"},{\"file_id\":\"e430add6-2d32-48e1-aa06-9aea433a0f2f\",\"url\":\"http://file-service.tradecafe.com/0.8270042246231573\",\"name\":\"Attachment 3\"},{\"file_id\":\"b8c9a0c9-7545-4583-b8ee-0f2e20eed142\",\"url\":\"http://file-service.tradecafe.com/0.019791490377371712\",\"name\":\"Attachment 4\"},{\"file_id\":\"8f5f91c7-f8e0-41cb-90a5-16a4bcf15b95\",\"url\":\"http://file-service.tradecafe.com/0.21291089509965522\",\"name\":\"Attachment 5\"}],\"account\":12345.67,\"message_id\":\"96609e0f-3882-4950-967a-be190d0ce788\",\"created\":1507206886,\"from\":\"trong001@dev.tradecafe.com\",\"type\":null,\"received\":0,\"sent\":0,\"sent_details\":null,\"read\":0,\"open\":0,\"delivered\":0,\"archived\":1507207551,\"history\":[{\"action\":\"created\",\"timestamp\":1507206886},{\"action\":\"update\",\"timestamp\":1507207551,\"fields\":[{\"name\":\"archived\",\"newValue\":1507207551,\"oldValue\":0}]}]}"}],"_postman_id":"c5fafea6-6425-a278-6f7b-57a3892e867f"},{"name":"/messages/:account/:message_id","id":"40806142-8153-1034-011f-d82a650ca545","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n\"tags\": [\"a\",\"b\",\"c\"],\n\"attributes\": {\"foo\": \"bar\", \"baz\":\"foobar\"},\n\"attachments\": [\n  {\n    \"file_id\":\"2c453055-ead9-48c3-b6d2-36006e77e143\",\n    \"url\": \"http://example.com\",\n    \"name\": \"some name\"\n  }\n  ],\n  \"name\": \"some other name\",\n  \"type\": \"some user defined\",\n  \"body_html\": \"<br />\",\n  \"body_txt\": \"br!\",\n  \"subject\": \"foo\",\n  \"cc\": \"foo@bar.com\"\n}\n"},"url":"{{gateway_host}}/messages/{{account_id}}/{{message_id}}","description":"Archive a message"},"response":[{"id":"f6e4394e-6feb-8cda-3dbf-14ed714b15e4","name":"/messages/:account/archive","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":""},"url":"{{service_url}}/messages/{{account}}/{{message_id}}/archive"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"name":"connection","key":"connection","value":"keep-alive","description":""},{"name":"content-length","key":"content-length","value":"3508","description":""},{"name":"content-type","key":"content-type","value":"application/json; charset=utf-8","description":""},{"name":"date","key":"date","value":"Thu, 05 Oct 2017 12:45:51 GMT","description":""},{"name":"etag","key":"etag","value":"W/\"db4-GaKJgk9A4uLzJOC0pSH6eba6uj0\"","description":""},{"name":"server","key":"server","value":"nginx/1.10.3 (Ubuntu)","description":""},{"name":"x-powered-by","key":"x-powered-by","value":"Express","description":""}],"cookie":[],"responseTime":"300","body":"{\"thread_id\":\"d6388447-75cb-45f0-b2e4-e312a5a8682a\",\"direction\":\"outgoing\",\"name\":\"message 1507206880415\",\"user_id\":\"user-001-1507206880415\",\"deal_id\":\"trong001\",\"to\":[\"trongndse@gmail.com\",\"trong.nd@outlook.com\"],\"subject\":\"msg subject 1507206880415\",\"body_txt\":\"content 1507206880415\\n\\nAttachments:\\n- Attachment 1: http://file-service.tradecafe.com/0.2348050691613408\\n- Attachment 2: http://file-service.tradecafe.com/0.8215843906379914\\n- Attachment 3: http://file-service.tradecafe.com/0.8270042246231573\\n- Attachment 4: http://file-service.tradecafe.com/0.019791490377371712\\n- Attachment 5: http://file-service.tradecafe.com/0.21291089509965522\\n\",\"body_html\":\"<html><head></head><body>content <b>1507206880415</b>\\n    <br>\\n    <br>\\n    <div style=\\\"background-color: #efefef; font-family: Arial, Helvetica, sans-serif\\\">\\n      <br>\\n      <div style=\\\"font-size: 15px; font-weight: bold; color: #555\\\">\\n        &#xA0;&#xA0;&#xA0;Attachments\\n      </div>\\n      <br>\\n\\n      \\n\\n        &#xA0;&#xA0;&#xA0;-&#xA0;\\n\\n        <a href=\\\"http://file-service.tradecafe.com/0.2348050691613408\\\" style=\\\"font-size: 15px; color: #1a0dab; text-decoration: underline;\\\">\\n          Attachment 1\\n        </a>\\n        <div></div>\\n        <br>\\n\\n      \\n\\n        &#xA0;&#xA0;&#xA0;-&#xA0;\\n\\n        <a href=\\\"http://file-service.tradecafe.com/0.8215843906379914\\\" style=\\\"font-size: 15px; color: #1a0dab; text-decoration: underline;\\\">\\n          Attachment 2\\n        </a>\\n        <div></div>\\n        <br>\\n\\n      \\n\\n        &#xA0;&#xA0;&#xA0;-&#xA0;\\n\\n        <a href=\\\"http://file-service.tradecafe.com/0.8270042246231573\\\" style=\\\"font-size: 15px; color: #1a0dab; text-decoration: underline;\\\">\\n          Attachment 3\\n        </a>\\n        <div></div>\\n        <br>\\n\\n      \\n\\n        &#xA0;&#xA0;&#xA0;-&#xA0;\\n\\n        <a href=\\\"http://file-service.tradecafe.com/0.019791490377371712\\\" style=\\\"font-size: 15px; color: #1a0dab; text-decoration: underline;\\\">\\n          Attachment 4\\n        </a>\\n        <div></div>\\n        <br>\\n\\n      \\n\\n        &#xA0;&#xA0;&#xA0;-&#xA0;\\n\\n        <a href=\\\"http://file-service.tradecafe.com/0.21291089509965522\\\" style=\\\"font-size: 15px; color: #1a0dab; text-decoration: underline;\\\">\\n          Attachment 5\\n        </a>\\n        <div></div>\\n        <br>\\n\\n      \\n    </div>\\n\\n  </body></html>\",\"tags\":[\"tag1\"],\"attributes\":{\"attr1\":\"value 1\"},\"attachments\":[{\"file_id\":\"e335d25b-569d-4ea1-9772-891d080369aa\",\"url\":\"http://file-service.tradecafe.com/0.2348050691613408\",\"name\":\"Attachment 1\"},{\"file_id\":\"65815dc6-6b2d-42bd-bafd-8d931dfd7106\",\"url\":\"http://file-service.tradecafe.com/0.8215843906379914\",\"name\":\"Attachment 2\"},{\"file_id\":\"e430add6-2d32-48e1-aa06-9aea433a0f2f\",\"url\":\"http://file-service.tradecafe.com/0.8270042246231573\",\"name\":\"Attachment 3\"},{\"file_id\":\"b8c9a0c9-7545-4583-b8ee-0f2e20eed142\",\"url\":\"http://file-service.tradecafe.com/0.019791490377371712\",\"name\":\"Attachment 4\"},{\"file_id\":\"8f5f91c7-f8e0-41cb-90a5-16a4bcf15b95\",\"url\":\"http://file-service.tradecafe.com/0.21291089509965522\",\"name\":\"Attachment 5\"}],\"account\":12345.67,\"message_id\":\"96609e0f-3882-4950-967a-be190d0ce788\",\"created\":1507206886,\"from\":\"trong001@dev.tradecafe.com\",\"type\":null,\"received\":0,\"sent\":0,\"sent_details\":null,\"read\":0,\"open\":0,\"delivered\":0,\"archived\":1507207551,\"history\":[{\"action\":\"created\",\"timestamp\":1507206886},{\"action\":\"update\",\"timestamp\":1507207551,\"fields\":[{\"name\":\"archived\",\"newValue\":1507207551,\"oldValue\":0}]}]}"}],"_postman_id":"40806142-8153-1034-011f-d82a650ca545"},{"name":"/messages/:account/:message_id","id":"4d555261-49b4-134c-7a43-1439e06b1ebe","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":""},"url":"{{gateway_host}}/messages/{{account_id}}/{{message_id}}","description":"Delete a message"},"response":[{"id":"41c4d315-0df6-e1f6-92db-67a87bff48ae","name":"/messages/:account/:message_id","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":""},"url":"{{service_url}}/messages/{{account}}/{{message_id}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"name":"connection","key":"connection","value":"keep-alive","description":""},{"name":"content-length","key":"content-length","value":"14","description":""},{"name":"content-type","key":"content-type","value":"application/json; charset=utf-8","description":""},{"name":"date","key":"date","value":"Thu, 05 Oct 2017 12:49:56 GMT","description":""},{"name":"etag","key":"etag","value":"W/\"e-CkRyIZZuDPD0k+jiTtvWW1ezIPc\"","description":""},{"name":"server","key":"server","value":"nginx/1.10.3 (Ubuntu)","description":""},{"name":"x-powered-by","key":"x-powered-by","value":"Express","description":""}],"cookie":[],"responseTime":"553","body":"{\"found\":true}"}],"_postman_id":"4d555261-49b4-134c-7a43-1439e06b1ebe"}],"id":"fae976a1-9117-d235-6c9d-b4878e716eba","_postman_id":"fae976a1-9117-d235-6c9d-b4878e716eba"},{"name":"validate","item":[{"name":"/validate/email","id":"833ed528-fa02-7b75-c45a-89b18ebadc5a","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"email\": \"some-email@gmail.com\"\n}"},"url":"{{gateway_host}}/messages/validate/email","description":"Validate an email using Mailgun Validation API"},"response":[{"id":"8c0089a1-329b-3d68-2b7b-b2774d5311c2","name":"/validate/email","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"email\": \"some-email@gmail.com\"\n}"},"url":"{{service_url}}/validate/email"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"name":"connection","key":"connection","value":"keep-alive","description":""},{"name":"content-length","key":"content-length","value":"220","description":""},{"name":"content-type","key":"content-type","value":"application/json; charset=utf-8","description":""},{"name":"date","key":"date","value":"Thu, 05 Oct 2017 12:51:40 GMT","description":""},{"name":"etag","key":"etag","value":"W/\"dc-ov6Z11gx4gQDgWL+dJ/CtozVMls\"","description":""},{"name":"server","key":"server","value":"nginx/1.10.3 (Ubuntu)","description":""},{"name":"x-powered-by","key":"x-powered-by","value":"Express","description":""}],"cookie":[],"responseTime":"568","body":"{\"address\":\"some-email@gmail.com\",\"did_you_mean\":null,\"is_disposable_address\":false,\"is_role_address\":false,\"is_valid\":false,\"mailbox_verification\":\"unknown\",\"parts\":{\"display_name\":null,\"domain\":null,\"local_part\":null}}"}],"_postman_id":"833ed528-fa02-7b75-c45a-89b18ebadc5a"},{"name":"/validate/phone","id":"27247c08-d83c-159e-7e36-7b9b74e50a53","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n\t\"phone\": \"+37062341111\"\n}"},"url":"{{gateway_host}}/messages/validate/phone","description":"Validate a phone number using Twilio Lookup API"},"response":[{"id":"21ea11af-b8fb-e2ce-40e9-8b8e8f291183","name":"/validate/phone","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"phone\": \"415-701-2311\"\n}"},"url":"{{service_url}}/validate/phone"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"name":"connection","key":"connection","value":"keep-alive","description":""},{"name":"content-length","key":"content-length","value":"420","description":""},{"name":"content-type","key":"content-type","value":"application/json; charset=utf-8","description":""},{"name":"date","key":"date","value":"Thu, 05 Oct 2017 12:53:37 GMT","description":""},{"name":"etag","key":"etag","value":"W/\"1a4-Ol14XZUlc+SjVV9V1Mpf7Kfnkr8\"","description":""},{"name":"server","key":"server","value":"nginx/1.10.3 (Ubuntu)","description":""},{"name":"x-powered-by","key":"x-powered-by","value":"Express","description":""}],"cookie":[],"responseTime":"3530","body":"{\"callerName\":{\"caller_name\":\"SAN FRANCISCO TRANSIT - BUS LI\",\"caller_type\":\"BUSINESS\",\"error_code\":null},\"countryCode\":\"US\",\"phoneNumber\":\"+14157012311\",\"nationalFormat\":\"(415) 701-2311\",\"carrier\":{\"mobile_country_code\":null,\"mobile_network_code\":null,\"name\":\"Pacific Bell\",\"type\":\"landline\",\"error_code\":null},\"addOns\":null,\"url\":\"https://lookups.twilio.com/v1/PhoneNumbers/+14157012311?Type=carrier&Type=caller-name\"}"}],"_postman_id":"27247c08-d83c-159e-7e36-7b9b74e50a53"}],"id":"7235716e-1d4c-2eee-3593-b40b1c6812b0","_postman_id":"7235716e-1d4c-2eee-3593-b40b1c6812b0"},{"name":"mailgun webhooks","item":[{"name":"delivered","id":"56fce53b-b3f1-4e01-91b4-1a87545b014f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n\t\"signature\": {\n        \"signature\": \"1a7b24347f55e6b75a3214fbaef1d9aa5fd6d53de2b5ac4d2cfbb04e2ecf7063\",\n        \"timestamp\": \"1738886400\",\n        \"token\": \"5d3f6e7b8c9d0a1b2c3d4e5f67890abc\"\n    }\n}"},"url":{"raw":"{{gateway_host}}/mailgun/webhooks/delivered?key=b57370438280ab7e8cead8ca4514c542-fab099d8-a28f42f6","host":["{{gateway_host}}"],"path":["mailgun","webhooks","delivered"],"query":[{"key":"key","value":"b57370438280ab7e8cead8ca4514c542-fab099d8-a28f42f6"}]},"description":"Validate a phone number using Twilio Lookup API"},"response":[{"id":"bc980b49-e729-4093-9350-308a28bcbcd2","name":"/validate/phone","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"phone\": \"415-701-2311\"\n}"},"url":"{{service_url}}/validate/phone"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"name":"connection","key":"connection","value":"keep-alive","description":""},{"name":"content-length","key":"content-length","value":"420","description":""},{"name":"content-type","key":"content-type","value":"application/json; charset=utf-8","description":""},{"name":"date","key":"date","value":"Thu, 05 Oct 2017 12:53:37 GMT","description":""},{"name":"etag","key":"etag","value":"W/\"1a4-Ol14XZUlc+SjVV9V1Mpf7Kfnkr8\"","description":""},{"name":"server","key":"server","value":"nginx/1.10.3 (Ubuntu)","description":""},{"name":"x-powered-by","key":"x-powered-by","value":"Express","description":""}],"cookie":[],"responseTime":null,"body":"{\"callerName\":{\"caller_name\":\"SAN FRANCISCO TRANSIT - BUS LI\",\"caller_type\":\"BUSINESS\",\"error_code\":null},\"countryCode\":\"US\",\"phoneNumber\":\"+14157012311\",\"nationalFormat\":\"(415) 701-2311\",\"carrier\":{\"mobile_country_code\":null,\"mobile_network_code\":null,\"name\":\"Pacific Bell\",\"type\":\"landline\",\"error_code\":null},\"addOns\":null,\"url\":\"https://lookups.twilio.com/v1/PhoneNumbers/+14157012311?Type=carrier&Type=caller-name\"}"}],"_postman_id":"56fce53b-b3f1-4e01-91b4-1a87545b014f"},{"name":"failed","id":"1853d9dd-0a12-4389-b20d-85c1ced3e64d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n\t\"phone\": \"+37062341111\"\n}"},"url":{"raw":"{{gateway_host}}/mailgun/webhooks/failed?key=b57370438280ab7e8cead8ca4514c542-fab099d8-a28f42f6","host":["{{gateway_host}}"],"path":["mailgun","webhooks","failed"],"query":[{"key":"key","value":"b57370438280ab7e8cead8ca4514c542-fab099d8-a28f42f6"}]},"description":"Validate a phone number using Twilio Lookup API"},"response":[{"id":"d674c654-a00c-4093-885a-071eea2eba76","name":"/validate/phone","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"phone\": \"415-701-2311\"\n}"},"url":"{{service_url}}/validate/phone"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"name":"connection","key":"connection","value":"keep-alive","description":""},{"name":"content-length","key":"content-length","value":"420","description":""},{"name":"content-type","key":"content-type","value":"application/json; charset=utf-8","description":""},{"name":"date","key":"date","value":"Thu, 05 Oct 2017 12:53:37 GMT","description":""},{"name":"etag","key":"etag","value":"W/\"1a4-Ol14XZUlc+SjVV9V1Mpf7Kfnkr8\"","description":""},{"name":"server","key":"server","value":"nginx/1.10.3 (Ubuntu)","description":""},{"name":"x-powered-by","key":"x-powered-by","value":"Express","description":""}],"cookie":[],"responseTime":null,"body":"{\"callerName\":{\"caller_name\":\"SAN FRANCISCO TRANSIT - BUS LI\",\"caller_type\":\"BUSINESS\",\"error_code\":null},\"countryCode\":\"US\",\"phoneNumber\":\"+14157012311\",\"nationalFormat\":\"(415) 701-2311\",\"carrier\":{\"mobile_country_code\":null,\"mobile_network_code\":null,\"name\":\"Pacific Bell\",\"type\":\"landline\",\"error_code\":null},\"addOns\":null,\"url\":\"https://lookups.twilio.com/v1/PhoneNumbers/+14157012311?Type=carrier&Type=caller-name\"}"}],"_postman_id":"1853d9dd-0a12-4389-b20d-85c1ced3e64d"},{"name":"open","id":"080aaf69-ebcd-4099-85d4-97bb4bc670b3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n\t\"phone\": \"+37062341111\"\n}"},"url":{"raw":"{{gateway_host}}/mailgun/webhooks/open?key=b57370438280ab7e8cead8ca4514c542-fab099d8-a28f42f6","host":["{{gateway_host}}"],"path":["mailgun","webhooks","open"],"query":[{"key":"key","value":"b57370438280ab7e8cead8ca4514c542-fab099d8-a28f42f6"}]},"description":"Validate a phone number using Twilio Lookup API"},"response":[{"id":"84ca29c0-87be-4633-999b-11019de5ef29","name":"/validate/phone","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"phone\": \"415-701-2311\"\n}"},"url":"{{service_url}}/validate/phone"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"name":"connection","key":"connection","value":"keep-alive","description":""},{"name":"content-length","key":"content-length","value":"420","description":""},{"name":"content-type","key":"content-type","value":"application/json; charset=utf-8","description":""},{"name":"date","key":"date","value":"Thu, 05 Oct 2017 12:53:37 GMT","description":""},{"name":"etag","key":"etag","value":"W/\"1a4-Ol14XZUlc+SjVV9V1Mpf7Kfnkr8\"","description":""},{"name":"server","key":"server","value":"nginx/1.10.3 (Ubuntu)","description":""},{"name":"x-powered-by","key":"x-powered-by","value":"Express","description":""}],"cookie":[],"responseTime":null,"body":"{\"callerName\":{\"caller_name\":\"SAN FRANCISCO TRANSIT - BUS LI\",\"caller_type\":\"BUSINESS\",\"error_code\":null},\"countryCode\":\"US\",\"phoneNumber\":\"+14157012311\",\"nationalFormat\":\"(415) 701-2311\",\"carrier\":{\"mobile_country_code\":null,\"mobile_network_code\":null,\"name\":\"Pacific Bell\",\"type\":\"landline\",\"error_code\":null},\"addOns\":null,\"url\":\"https://lookups.twilio.com/v1/PhoneNumbers/+14157012311?Type=carrier&Type=caller-name\"}"}],"_postman_id":"080aaf69-ebcd-4099-85d4-97bb4bc670b3"}],"id":"dd834035-7f26-401b-9b91-9262987c4dc2","_postman_id":"dd834035-7f26-401b-9b91-9262987c4dc2"},{"name":"notification","item":[{"name":"invoice sheduled","id":"4c8f9d81-c2fe-4a3c-806c-b501e70c0a56","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"sYezFvmDaWbiXXHngIFHFDUEBoidfiPvbnSWj7214o2DbM11OhxQWRk0rCof2aupdXlwF0ldWcq8EhwPRvJuCU"}},"method":"POST","header":[],"url":"{{gateway_host}}/messages/notification/invoices"},"response":[],"_postman_id":"4c8f9d81-c2fe-4a3c-806c-b501e70c0a56"},{"name":"segment notifications","id":"82688967-d748-4657-879a-8d13aa8415ee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"lC8UvDyt7CejGT7ZBoYE09iD4ZaKaM8vy06BPjIOAHx9KRZ9pIiEryU2SMSRSPIuBZr2mXJ8U0efgbzoj94kx6"}},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"type\": \"SEGMENT_UPDATED\",\n    \"deal_id\": \"BWI115269TC\",\n    \"segment_type\": \"rail\",\n    \"notes\": \"Text for notes\",\n    \"docs_available\": true,\n    \"fields\": [\n        {\n            \"field\": \"carrier\",\n            \"highlight\": false,\n            \"value\": \"Julius ir CO\"\n        },\n        {\n            \"field\": \"dropoff_location\",\n            \"highlight\": true,\n            \"value\": \"Vilniaus g. 10, Vilnius, Lithuania\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{gateway_host}}/messages/notification/segments"},"response":[],"_postman_id":"82688967-d748-4657-879a-8d13aa8415ee"}],"id":"89284c7e-c121-432d-8807-984fa23b998e","_postman_id":"89284c7e-c121-432d-8807-984fa23b998e"}],"id":"cf3d36f3-33c4-a3dd-ead8-2e83d7a12f24","description":"The Messaging Service (MS) allows for the sending, and tracking of messages via email or SMS to specific recipients. The MS also processes and stores incoming email messages. The service should utilize Mailgun for the sending of email messages and Twilio for the sending of SMS messages. The service should also keep track of every message sent and provide open/read tracking for email messages.\nThe Message Service should also handle incoming messages from Mailgun. All messages sent to the TradeCafe domain, regardless of the recipient email handle, will be forwarded to the Message Service for processing. The Message Service should accept a JSON POST, parse the JSON, and store the message internally. The service should also keep track of the thread of a message. It should use the logic below, or something similar, in determining a message thread. \n\n\n","_postman_id":"cf3d36f3-33c4-a3dd-ead8-2e83d7a12f24"},{"name":"custom tag","item":[{"name":"find","id":"5c92173d-c9d3-4e44-a76e-d626686ab144","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":""},"url":"{{gateway_host}}/custom-tag"},"response":[{"id":"6fedf9ff-a11e-4d62-8834-96968c13549d","name":"Currency.find","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":{"raw":"http://18.220.143.152/api/currencies?filter={}","protocol":"http","host":["18","220","143","152"],"path":["api","currencies"],"query":[{"key":"filter","value":"{}","description":"A json string for the filter (Ex: {\"where\":{\"id\":\"theId\"},\"limit\":10,\"offset\":20, \"sort\":{\"createdAt\":-1}})"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 23 Oct 2017 18:07:54 GMT","name":"Date","description":""},{"key":"Server","value":"nginx/1.10.3 (Ubuntu)","name":"Server","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Tradecafe-Global-Request-Id","value":"172ff230-b81d-11e7-827f-b930f56dcffb","name":"X-Tradecafe-Global-Request-Id","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"currencyId\": \"fe3b3e60-b81c-11e7-827f-b930f56dcffb\",\n            \"createdAt\": 1508782032,\n            \"symbol\": \"L\",\n            \"code\": \"GBP\",\n            \"description\": \"Sterling Pound\"\n        }\n    ]\n}"}],"_postman_id":"5c92173d-c9d3-4e44-a76e-d626686ab144"},{"name":"create","id":"11ba4098-6d55-443e-bb4d-bd387f6957df","request":{"auth":{"type":"noauth"},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Custom Tag {{$randomInt}}\",\n  \"tag\": \"tag-{{$randomInt}}\",\n  \"description\": \"description\",\n  \"language\": \"english\"\n}"},"url":"{{gateway_host}}/custom-tag"},"response":[{"id":"9fa778c4-1bc3-42e5-bce5-7513a8b883bd","name":"Currency.create","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json;charset=utf-8"}],"body":{"mode":"raw","raw":"{\n   \"symbol\": \"L\",\n   \"code\": \"GBP\",\n   \"description\": \"Sterling Pound\"\n}"},"url":"http://18.220.143.152/api/currencies"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 23 Oct 2017 18:07:12 GMT","name":"Date","description":""},{"key":"Server","value":"nginx/1.10.3 (Ubuntu)","name":"Server","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Tradecafe-Global-Request-Id","value":"fe3b1750-b81c-11e7-827f-b930f56dcffb","name":"X-Tradecafe-Global-Request-Id","description":""}],"cookie":[],"responseTime":null,"body":"{\"data\":{\"currencyId\":\"fe3b3e60-b81c-11e7-827f-b930f56dcffb\",\"createdAt\":1508782032,\"symbol\":\"L\",\"code\":\"GBP\",\"description\":\"Sterling Pound\"}}"}],"_postman_id":"11ba4098-6d55-443e-bb4d-bd387f6957df"},{"name":"find by id","id":"5d11d628-e087-4413-bfa3-f9c669186981","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":""},"url":"{{gateway_host}}/custom-tag/{{custom_tag_id}}"},"response":[{"id":"ab91fd3b-97f9-4939-ac42-0c6422f91991","name":"Currency.findById","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":{"raw":"http://18.220.143.152/api/currencies/:id","protocol":"http","host":["18","220","143","152"],"path":["api","currencies",":id"],"variable":[{"key":"id","value":"fe3b3e60-b81c-11e7-827f-b930f56dcffb"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 23 Oct 2017 18:08:57 GMT","name":"Date","description":""},{"key":"Server","value":"nginx/1.10.3 (Ubuntu)","name":"Server","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Tradecafe-Global-Request-Id","value":"3cb95230-b81d-11e7-827f-b930f56dcffb","name":"X-Tradecafe-Global-Request-Id","description":""}],"cookie":[],"responseTime":null,"body":"{\"data\":{\"currencyId\":\"fe3b3e60-b81c-11e7-827f-b930f56dcffb\",\"createdAt\":1508782032,\"symbol\":\"L\",\"code\":\"GBP\",\"description\":\"Sterling Pound\"}}"}],"_postman_id":"5d11d628-e087-4413-bfa3-f9c669186981"},{"name":"replace by id","id":"d340a4ea-58f3-468c-8535-e9b1125f5b8f","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n }"},"url":"{{gateway_host}}/custom-tag/{{custom_tag_id}}"},"response":[{"id":"99f48027-ea86-4391-a6e9-c1e8969e60b5","name":"Currency.replaceById","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json;charset=utf-8"}],"body":{"mode":"raw","raw":"{\n    \"symbol\": \"L\",\n    \"code\": \"GBP\",\n    \"description\": \"Sterling Pound\"\n}"},"url":{"raw":"http://18.220.143.152/api/currencies/:id","protocol":"http","host":["18","220","143","152"],"path":["api","currencies",":id"],"variable":[{"key":"id","value":"fe3b3e60-b81c-11e7-827f-b930f56dcffb"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 23 Oct 2017 18:10:29 GMT","name":"Date","description":""},{"key":"Server","value":"nginx/1.10.3 (Ubuntu)","name":"Server","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Tradecafe-Global-Request-Id","value":"73f7ee00-b81d-11e7-827f-b930f56dcffb","name":"X-Tradecafe-Global-Request-Id","description":""}],"cookie":[],"responseTime":null,"body":"{\"data\":{\"currencyId\":\"fe3b3e60-b81c-11e7-827f-b930f56dcffb\",\"createdAt\":1508782032,\"symbol\":\"L\",\"code\":\"GBP\",\"description\":\"Sterling Pound\"}}"}],"_postman_id":"d340a4ea-58f3-468c-8535-e9b1125f5b8f"},{"name":"delete by id","id":"3d66d039-f9f7-4853-be5c-e7ef81b6eca6","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":""},"url":"{{gateway_host}}/custom-tag/{{custom_tag_id}}"},"response":[{"id":"b94ac78a-9166-4e46-8ff9-0336c264094b","name":"Currency.deleteById","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":""},"url":{"raw":"http://18.220.143.152/api/currencies/:id","protocol":"http","host":["18","220","143","152"],"path":["api","currencies",":id"],"variable":[{"key":"id","value":"fe3b3e60-b81c-11e7-827f-b930f56dcffb"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Date","value":"Mon, 23 Oct 2017 18:11:08 GMT","name":"Date","description":""},{"key":"Server","value":"nginx/1.10.3 (Ubuntu)","name":"Server","description":""},{"key":"X-Tradecafe-Global-Request-Id","value":"8b00d760-b81d-11e7-827f-b930f56dcffb","name":"X-Tradecafe-Global-Request-Id","description":""}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"3d66d039-f9f7-4853-be5c-e7ef81b6eca6"}],"id":"253a65b4-f238-45d6-827f-03fd0ce12239","_postman_id":"253a65b4-f238-45d6-827f-03fd0ce12239"},{"name":"Metadata","item":[{"name":"additional cost type","item":[{"name":"all","id":"73d5025b-4d27-a724-b7bb-6a2a8e02def4","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"name\",\n  \"description\": \"description\",\n  \"body\": \"body\",\n  \"tags\": [\"tag1\", \"tag2\"],\n  \"archived\": \"false\"\n}"},"url":"{{gateway_host}}/additional-cost-types"},"response":[],"_postman_id":"73d5025b-4d27-a724-b7bb-6a2a8e02def4"},{"name":"create","id":"e38df333-c461-b4bd-a972-8d80093dde25","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"user_id\": \"{{user_id}}\",\n  \"description\": \"description {{$randomInt}}\"\n}"},"url":"{{gateway_host}}/additional-cost-types"},"response":[],"_postman_id":"e38df333-c461-b4bd-a972-8d80093dde25"},{"name":"get","id":"11cb79ef-978c-a4cb-60e8-6cf0b529f519","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"deal_id\": \"deal\",\n  \"carrier\": \"ups\",\n  \"code\": \"code\"\n}"},"url":"{{gateway_host}}/additional-cost-types/{{additional_cost_type_id}}"},"response":[],"_postman_id":"11cb79ef-978c-a4cb-60e8-6cf0b529f519"},{"name":"update","id":"0d29f93a-9639-a2a4-c3ff-af0909c27d06","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"description\": \"description - {{$randomInt}}\"\n}"},"url":"{{gateway_host}}/additional-cost-types/{{additional_cost_type_id}}"},"response":[],"_postman_id":"0d29f93a-9639-a2a4-c3ff-af0909c27d06"},{"name":"delete","id":"1ab278c5-b7d4-2807-5776-8795e2d047d6","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":""},"url":"{{gateway_host}}/additional-cost-types/{{additional_cost_type_id}}"},"response":[],"_postman_id":"1ab278c5-b7d4-2807-5776-8795e2d047d6"}],"id":"ec2244b3-5fe2-4ff5-b5b6-4c4dd67acf7f","_postman_id":"ec2244b3-5fe2-4ff5-b5b6-4c4dd67acf7f"},{"name":"temperature","item":[{"name":"all","id":"62a3c8a7-31e7-e5b1-be37-0f53a72a9f38","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"name\",\n  \"description\": \"description\",\n  \"body\": \"body\",\n  \"tags\": [\"tag1\", \"tag2\"],\n  \"archived\": \"false\"\n}"},"url":"{{gateway_host}}/temperature"},"response":[],"_postman_id":"62a3c8a7-31e7-e5b1-be37-0f53a72a9f38"},{"name":"create","id":"31156b74-5f5f-156a-9fd5-57a1824433dd","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Name {{$randomInt}}\",\n  \"celsius\": {{$randomInt}},\n  \"fahrenheit\": {{$randomInt}}\n}"},"url":"{{gateway_host}}/temperature"},"response":[],"_postman_id":"31156b74-5f5f-156a-9fd5-57a1824433dd"},{"name":"get","id":"e9839728-d3f0-d1fd-bb4a-267a45d3fd60","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"deal_id\": \"deal\",\n  \"carrier\": \"ups\",\n  \"code\": \"code\"\n}"},"url":"{{gateway_host}}/temperature/{{temperature_id}}"},"response":[],"_postman_id":"e9839728-d3f0-d1fd-bb4a-267a45d3fd60"},{"name":"update","id":"91c1ab0b-767d-408d-300b-42ea768f3da6","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"celsius\": {{$randomInt}}\n}"},"url":"{{gateway_host}}/temperature/{{temperature_id}}"},"response":[],"_postman_id":"91c1ab0b-767d-408d-300b-42ea768f3da6"},{"name":"delete","id":"283e8178-b029-0c25-9011-44a1b51b48e0","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":""},"url":"{{gateway_host}}/temperature/{{temperature_id}}"},"response":[],"_postman_id":"283e8178-b029-0c25-9011-44a1b51b48e0"}],"id":"412e771f-78f7-0b59-6cc9-4ce9be9ac89e","_postman_id":"412e771f-78f7-0b59-6cc9-4ce9be9ac89e"},{"name":"country","item":[{"name":"create","id":"a9181f78-fbf8-f871-ec2a-f37a54448e95","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"country - {{$randomInt}}\",\n  \"code\": \"code\",\n  \"flag\": \"flag\",\n  \"description\": \"description\",\n  \"user_id\": \"user-id\"\n}"},"url":"{{gateway_host}}/countries"},"response":[],"_postman_id":"a9181f78-fbf8-f871-ec2a-f37a54448e95"},{"name":"list all","id":"cbf2297d-a1d1-5311-8dfd-ed3c01878b13","request":{"auth":{"type":"bearer","bearer":{"token":"gYQl31LWSOuMrc5FFfHd9ntDR6K42buIgF5FsEvTNnIXOfGoQxaO1XYelq70RMtuaYTsqismVlXMkX84RC9pqD"}},"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"name\",\n  \"description\": \"description\",\n  \"body\": \"body\",\n  \"tags\": [\"tag1\", \"tag2\"],\n  \"archived\": \"false\"\n}"},"url":"{{gateway_host}}/countries"},"response":[],"_postman_id":"cbf2297d-a1d1-5311-8dfd-ed3c01878b13"},{"name":"get one","id":"551c2653-fd50-cb7e-1597-5ba9499d24c3","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"deal_id\": \"deal\",\n  \"carrier\": \"ups\",\n  \"code\": \"code\"\n}"},"url":"{{gateway_host}}/countries/{{country_id}}"},"response":[],"_postman_id":"551c2653-fd50-cb7e-1597-5ba9499d24c3"},{"name":"update","id":"7353fe0b-7527-dfac-760a-4d56e794291a","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"country - {{$randomInt}}\",\n  \"code\": \"code\",\n  \"flag\": \"flag\",\n  \"description\": \"description\"\n}"},"url":"{{gateway_host}}/countries/{{country_id}}"},"response":[],"_postman_id":"7353fe0b-7527-dfac-760a-4d56e794291a"},{"name":"delete","id":"fb173f5c-e66b-0f52-9d78-7293b7a3eb42","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":""},"url":"{{gateway_host}}/countries/{{country_id}}"},"response":[],"_postman_id":"fb173f5c-e66b-0f52-9d78-7293b7a3eb42"}],"id":"84a1f895-2fb3-d42a-259c-dfb835a224c5","_postman_id":"84a1f895-2fb3-d42a-259c-dfb835a224c5"},{"name":"logistic notes","item":[{"name":"create","id":"167302eb-16ab-4038-a07d-d42315f83a19","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"code\": \"note-code\",\n  \"note\": \"note-description\",\n  \"user_id\": \"user-id\"\n}"},"url":"{{gateway_host}}/logistic-notes"},"response":[],"_postman_id":"167302eb-16ab-4038-a07d-d42315f83a19"},{"name":"list all","id":"cc5b9346-58aa-4d14-a6b5-c7dde7ebf462","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":"{{gateway_host}}/logistic-notes"},"response":[],"_postman_id":"cc5b9346-58aa-4d14-a6b5-c7dde7ebf462"},{"name":"get one","id":"f65c0f3b-a00a-4e74-ae5e-d59e1a310315","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":"{{gateway_host}}/logistic-notes/{{logistic_note_id}}"},"response":[],"_postman_id":"f65c0f3b-a00a-4e74-ae5e-d59e1a310315"},{"name":"update","id":"ec68381a-0fe3-497c-a70f-2512089964af","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"N3q1h1YBdiusy1E3DincfF4C2kXpJ4OAqyI8V3QnJXZJPAxYutoeBlaKdyjoqd34O2ZHORgJmAaz0RF9hc4vFe"}},"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"code\": \"EI\",\n  \"note\": \"Export Instructions\",\n  \"user_id\": \"0dd4e690-8a39-44de-a45a-b2108354c496\"\n}"},"url":"{{gateway_host}}/logistic-notes/{{logistic_note_id}}"},"response":[],"_postman_id":"ec68381a-0fe3-497c-a70f-2512089964af"},{"name":"delete","id":"e34a1b31-e762-4037-b1a8-3dadd65c4bac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":""},"url":"{{gateway_host}}/countries/{{country_id}}"},"response":[],"_postman_id":"e34a1b31-e762-4037-b1a8-3dadd65c4bac"}],"id":"a66a0542-0c87-4cbf-b7b4-716eb846dc3a","_postman_id":"a66a0542-0c87-4cbf-b7b4-716eb846dc3a"},{"name":"bank account","item":[{"name":"create","id":"2f297d47-fbe6-ffb3-5f60-71b7e7d3d6c7","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"id\": \"some-bank-account\",\n  \"name\": \"bank account - {{$randomInt}}\",\n  \"country\": \"CA\",\n  \"description\": \"description\",\n  \"attributes\": {\n  \t\"foo\": \"bar\"\n  }\n}"},"url":"{{gateway_host}}/bank-account"},"response":[],"_postman_id":"2f297d47-fbe6-ffb3-5f60-71b7e7d3d6c7"},{"name":"list all","id":"8f50ca05-e128-a1b7-3445-c46e4c9ac5c1","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"name\",\n  \"description\": \"description\",\n  \"body\": \"body\",\n  \"tags\": [\"tag1\", \"tag2\"],\n  \"archived\": \"false\"\n}"},"url":"{{gateway_host}}/bank-account"},"response":[],"_postman_id":"8f50ca05-e128-a1b7-3445-c46e4c9ac5c1"},{"name":"get one","id":"24dcde3c-670a-73e6-c59c-ad19f29814da","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"deal_id\": \"deal\",\n  \"carrier\": \"ups\",\n  \"code\": \"code\"\n}"},"url":"{{gateway_host}}/bank-account/{{bank_account_id}}"},"response":[],"_postman_id":"24dcde3c-670a-73e6-c59c-ad19f29814da"},{"name":"update","id":"a242f92b-dcba-453d-6860-e8d6304a10d8","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"updated name - {{$randomInt}}\"\n}"},"url":"{{gateway_host}}/bank-account/{{bank_account_id}}"},"response":[],"_postman_id":"a242f92b-dcba-453d-6860-e8d6304a10d8"},{"name":"delete","id":"c4bb2385-5aae-5f64-bce1-8a3892bb363a","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":""},"url":"{{gateway_host}}/bank-account/{{bank_account_id}}"},"response":[],"_postman_id":"c4bb2385-5aae-5f64-bce1-8a3892bb363a"}],"id":"acce0532-58f1-9101-6285-bcd66af55bfb","_postman_id":"acce0532-58f1-9101-6285-bcd66af55bfb"},{"name":"currency","item":[{"name":"all","id":"f80d0801-b663-86bf-6e55-4bc6de9f37d3","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"name\",\n  \"description\": \"description\",\n  \"body\": \"body\",\n  \"tags\": [\"tag1\", \"tag2\"],\n  \"archived\": \"false\"\n}"},"url":"{{gateway_host}}/currencies"},"response":[],"_postman_id":"f80d0801-b663-86bf-6e55-4bc6de9f37d3"},{"name":"create","id":"4751a16c-b059-cc2d-1ae6-ef97d15fa156","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"user_id\": \"{{user_id}}\",\n  \"symbol\": \"symbol {{$randomInt}}\",\n  \"code\": \"foo\"\n}"},"url":"{{gateway_host}}/currencies"},"response":[],"_postman_id":"4751a16c-b059-cc2d-1ae6-ef97d15fa156"},{"name":"get","id":"06e26136-6fe2-33c5-0a5c-62f2acb60c50","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"deal_id\": \"deal\",\n  \"carrier\": \"ups\",\n  \"code\": \"code\"\n}"},"url":"{{gateway_host}}/currencies/{{currency_id}}"},"response":[],"_postman_id":"06e26136-6fe2-33c5-0a5c-62f2acb60c50"},{"name":"update","id":"627c3fe1-bde8-0d00-614e-a0a1ce117dba","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"symbol\": \"symbol\",\n  \"code\": \"code {{$randomInt}}\",\n  \"flag\": \"flag-{{$randomInt}}\",\n  \"description\": \"description {{$randomInt}}\"\n}"},"url":"{{gateway_host}}/currencies/{{currency_id}}"},"response":[],"_postman_id":"627c3fe1-bde8-0d00-614e-a0a1ce117dba"},{"name":"delete","id":"c5fff314-aadf-b1a5-c9a8-44d652b338cc","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":""},"url":"{{gateway_host}}/currencies/{{currency_id}}"},"response":[],"_postman_id":"c5fff314-aadf-b1a5-c9a8-44d652b338cc"}],"id":"b7921dd6-ca6e-2bf1-25a1-4d268cea73cd","_postman_id":"b7921dd6-ca6e-2bf1-25a1-4d268cea73cd"},{"name":"payment method","item":[{"name":"create","id":"b6b3694c-0fca-32e5-05d6-2d2979ad857a","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"method\": \"foo\",\n  \"code\": \"foo\",\n  \"user_id\": \"user-id\"\n}"},"url":"{{gateway_host}}/payment-method"},"response":[],"_postman_id":"b6b3694c-0fca-32e5-05d6-2d2979ad857a"},{"name":"list all","id":"efce5b04-35b6-f169-a03b-c67f86576d67","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"name\",\n  \"description\": \"description\",\n  \"body\": \"body\",\n  \"tags\": [\"tag1\", \"tag2\"],\n  \"archived\": \"false\"\n}"},"url":"{{gateway_host}}/payment-method"},"response":[],"_postman_id":"efce5b04-35b6-f169-a03b-c67f86576d67"},{"name":"get one","id":"8bd7d8b6-e2b9-633b-aa5f-28e3746f54cb","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"deal_id\": \"deal\",\n  \"carrier\": \"ups\",\n  \"code\": \"code\"\n}"},"url":"{{gateway_host}}/payment-method/{{payment_method_id}}"},"response":[],"_postman_id":"8bd7d8b6-e2b9-633b-aa5f-28e3746f54cb"},{"name":"update","id":"2a79b824-3a19-2f3a-2142-5616ed920975","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"code\": \"foo-{{$randomInt}}\"\n}"},"url":"{{gateway_host}}/payment-method/{{payment_method_id}}"},"response":[],"_postman_id":"2a79b824-3a19-2f3a-2142-5616ed920975"},{"name":"delete","id":"29ad9434-b7e5-cd2a-b20f-c51df7a22b15","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":""},"url":"{{gateway_host}}/payment-method/{{payment_method_id}}"},"response":[],"_postman_id":"29ad9434-b7e5-cd2a-b20f-c51df7a22b15"}],"id":"54137adc-ea71-3969-2ac6-77101ee8a15d","_postman_id":"54137adc-ea71-3969-2ac6-77101ee8a15d"},{"name":"payment reference","item":[{"name":"create","id":"c3a0ca7f-4ad9-4806-f126-502bbf259ef2","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"user_id\": \"{{user_id}}\",\n  \"reference\": \"foo-{{$randomInt}}\"\n}"},"url":"{{gateway_host}}/payment-reference"},"response":[],"_postman_id":"c3a0ca7f-4ad9-4806-f126-502bbf259ef2"},{"name":"list all","id":"24d5eff6-203a-447c-d24f-468be0a43b6f","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"name\",\n  \"description\": \"description\",\n  \"body\": \"body\",\n  \"tags\": [\"tag1\", \"tag2\"],\n  \"archived\": \"false\"\n}"},"url":"{{gateway_host}}/payment-reference"},"response":[],"_postman_id":"24d5eff6-203a-447c-d24f-468be0a43b6f"},{"name":"get one","id":"c21cc4e6-7793-e521-468c-c6b6f3fa9002","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"deal_id\": \"deal\",\n  \"carrier\": \"ups\",\n  \"code\": \"code\"\n}"},"url":"{{gateway_host}}/payment-reference/{{payment_reference_id}}"},"response":[],"_postman_id":"c21cc4e6-7793-e521-468c-c6b6f3fa9002"},{"name":"update","id":"f58075af-7518-c35e-8343-88c51cd48363","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"reference\": \"reference - {{$randomInt}}\"\n}"},"url":"{{gateway_host}}/payment-reference/{{payment_reference_id}}"},"response":[],"_postman_id":"f58075af-7518-c35e-8343-88c51cd48363"},{"name":"delete","id":"d3db558e-b188-12c8-5ffe-9b91cdab2ded","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":""},"url":"{{gateway_host}}/payment-reference/{{payment_reference_id}}"},"response":[],"_postman_id":"d3db558e-b188-12c8-5ffe-9b91cdab2ded"}],"id":"f7d2fcc3-9de8-e4e1-8eae-567d8aedc0be","_postman_id":"f7d2fcc3-9de8-e4e1-8eae-567d8aedc0be"},{"name":"pricing terms","item":[{"name":"create","id":"9b98193e-e288-d755-04f5-c5d3dc483bb4","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"term\": \"term - {{$randomInt}}\",\n  \"selectable\": true,\n  \"insurance\": true,\n  \"user_id\": \"{{user_id}}\"\n}"},"url":"{{gateway_host}}/pricing-terms"},"response":[],"_postman_id":"9b98193e-e288-d755-04f5-c5d3dc483bb4"},{"name":"list all","id":"d6dbde1e-bd58-0b78-2d23-db09784044e1","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"name\",\n  \"description\": \"description\",\n  \"body\": \"body\",\n  \"tags\": [\"tag1\", \"tag2\"],\n  \"archived\": \"false\"\n}"},"url":"{{gateway_host}}/pricing-terms"},"response":[],"_postman_id":"d6dbde1e-bd58-0b78-2d23-db09784044e1"},{"name":"get one","id":"26f54a13-8256-c317-bd86-66eea453bff0","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"deal_id\": \"deal\",\n  \"carrier\": \"ups\",\n  \"code\": \"code\"\n}"},"url":"{{gateway_host}}/pricing-terms/{{pricing_terms_id}}"},"response":[],"_postman_id":"26f54a13-8256-c317-bd86-66eea453bff0"},{"name":"update","id":"737401b5-d439-6a52-98f1-bdc801a9c43d","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"term\": \"foo - {{$randomInt}}\"\n}"},"url":"{{gateway_host}}/pricing-terms/{{pricing_terms_id}}"},"response":[],"_postman_id":"737401b5-d439-6a52-98f1-bdc801a9c43d"},{"name":"delete","id":"08179a5c-6c91-e973-1831-122356643df3","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":""},"url":"{{gateway_host}}/pricing-terms/{{pricing_terms_id}}"},"response":[],"_postman_id":"08179a5c-6c91-e973-1831-122356643df3"}],"id":"1886be0b-4a20-eaf0-8761-e5b597b76b36","_postman_id":"1886be0b-4a20-eaf0-8761-e5b597b76b36"}],"id":"f3dec7f4-468d-301e-2149-5250d2f794fd","description":"The Metadata Service (MDS) stores the various static metadata used within the TradeCafe platform. This service provide the facility to list, and retrieve the metadata so it may be consumed by the other services in the platform. The service should translate the below table structures in SQL into MongoDB and provide retrieve and list functionality for each object represented in the SQL.\n\nThe Metadata Service provides basic CRUD functionality for all metadata entities in this service. A user should be able to create values in the db, list all possible values for each database object, and query the service to return the details of a specific value. User should also have the ability to update values as needed. These attributes do not have account restrictions as they are available to all users within the platform.\n","_postman_id":"f3dec7f4-468d-301e-2149-5250d2f794fd"},{"name":"Migrate","item":[{"name":"migrate","id":"0387a654-07db-44d9-ab3b-cca49d0ba742","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"formdata","formdata":[{"key":"Banking_Profile","value":null,"type":"file"},{"key":"Company","value":null,"type":"file"},{"key":"Company_Address","value":null,"type":"file"},{"key":"Company_Contact","value":null,"type":"file"},{"key":"Company_Profile","value":null,"type":"file"},{"key":"Payment_Buyer","value":null,"type":"file"},{"key":"Payment_Seller","value":null,"type":"file"}]},"url":{"raw":"{{gateway_host}}/migrate?deleteAccounts=0","host":["{{gateway_host}}"],"path":["migrate"],"query":[{"key":"deleteAccounts","value":"0"}]}},"response":[],"_postman_id":"0387a654-07db-44d9-ab3b-cca49d0ba742"}],"id":"b9ebc684-c1f2-440b-832b-50d9259faeb7","description":"The Account Service manages company and user account information within the TradeCafe platform. Company accounts belong to suppliers, buyers, and other partners while users are simply contacts within a specific company. Each user may login to their own account and view information related to their TradeCafe account, with certain restrictions placed on their specific user type.\n\nAn account within the TradeCafe platform consists of at least the following data attributes.\n\n\n* account - `required` The unique id of the account in TC. This is alphanumeric.\n* name – `required` The company name.\n* status - `required` This indicates the status of the account. (pending=0, reviewed=1, active=2, restricted=-1)\n* type – `required` The type of account, buyer, supplier, service provider, or admin (there will be only one admin account).\n* created – `required` An epoch timestamp with the time the account was created. This is automatically generated by the platform.\n* primaryphone – `required` The primary phone number associated with the account.\n* products – `required` A list of products the company is interested in trading.\n* primaryemail – `required` The primary email address associated with the account.\n* since - The year the business started.\n* corp_type - The type of the company. LLC, Inc, LLP, etc.\n* parent - Indicates a parent account id of this company if the company is a subsidiary.\n* emails – Other email addresses associated with the account.\n* phones – Other phone numbers associated with the account.\n* addresses – A JSON array of objects containing address components (street1, street2, city, state, postal, country, timezone). The company may have multiple addresses.\n* website - The website URL of the account.\n* archived – A 0/1 flag which identifies if this file has been archived.\n* attributes – A sub object with additional attributes of the account.\n* currency – The default currency of the company.\n* language – The preferred language of the company.\n* manager - The account manager assigned the company. This is a user id.\n* coordinator - The logistics coordinator assigned to the company. This is a user id.\n* banking - The banking profile of the company. This is a JSON subobject.\n\nBelow are API endpoints that provide access to account data within the platform.","_postman_id":"b9ebc684-c1f2-440b-832b-50d9259faeb7"},{"name":"Notes","item":[{"name":"create","id":"e5845dee-d1ea-bee9-a038-fd7e8725df03","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"account\": \"{{account_id}}\",\n  \"body\": \"some note - {{$randomInt}}\",\n  \"user_id\": \"{{user_id}}\",\n  \"visibility\": 1,\n  \"deal_id\": \"{{deal_id}}\",\n  \"shipment_id\": \"{{shipment_id}}\",\n  \"attributes\": {\n    \"company\": \"123\"\n  }\n}"},"url":"{{gateway_host}}/{{account_id}}/notes","description":"Create – A user should be able to POST a JSON payload to the service and create a note. The response should be the newly created note object in JSON form.\n"},"response":[],"_postman_id":"e5845dee-d1ea-bee9-a038-fd7e8725df03"},{"name":"update (disabled)","id":"051dd584-cef3-410f-052e-6ef3ceb9c798","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"body\": \"Updated body {{$randomInt}}\",\n  \"visibility\": 2\n}"},"url":"{{gateway_host}}/notes/{{account_id}}/{{note_id}}","description":"Update - A user should be able to PUT a JSON body to the service, along with a note id, and make changes to the note. Only the creator may update the note."},"response":[],"_postman_id":"051dd584-cef3-410f-052e-6ef3ceb9c798"},{"name":"list all by deal","id":"963577ce-184e-bc30-3ed0-92f113279803","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"name\",\n  \"description\": \"description\",\n  \"body\": \"body\",\n  \"tags\": [\"tag1\", \"tag2\"],\n  \"archived\": \"false\"\n}"},"url":{"raw":"{{gateway_host}}/notes/{{staff_account_id}}?deal_id={{deal_id}}","host":["{{gateway_host}}"],"path":["notes","{{staff_account_id}}"],"query":[{"key":"deal_id","value":"{{deal_id}}"}]},"description":"Retrieve By Deal - The user should be able to retrieve all notes associated with a deal."},"response":[],"_postman_id":"963577ce-184e-bc30-3ed0-92f113279803"},{"name":"get","id":"f9c2db19-cc7c-7cb3-53a1-b3c136da212a","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Update Name {{$randomInt}}\"\n}"},"url":"{{gateway_host}}/notes/{{staff_account_id}}/{{note_id}}","description":"Retrieve – A user should be able to retrieve a single note using the note id."},"response":[],"_postman_id":"f9c2db19-cc7c-7cb3-53a1-b3c136da212a"},{"name":"list all by shipment","id":"edf17ba4-3f3b-3e6c-ba65-1a439ce5e8a3","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"name\",\n  \"description\": \"description\",\n  \"body\": \"body\",\n  \"tags\": [\"tag1\", \"tag2\"],\n  \"archived\": \"false\"\n}"},"url":{"raw":"{{gateway_host}}/notes/{{staff_account_id}}?shipment_id={{shipment_id}}","host":["{{gateway_host}}"],"path":["notes","{{staff_account_id}}"],"query":[{"key":"shipment_id","value":"{{shipment_id}}"}]},"description":"Retrieve By Shipment - A user should be able to retrieve all note for a specified shipment."},"response":[],"_postman_id":"edf17ba4-3f3b-3e6c-ba65-1a439ce5e8a3"},{"name":"list all by user","id":"d44f34bc-1286-226e-972e-265355863e29","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"name\",\n  \"description\": \"description\",\n  \"body\": \"body\",\n  \"tags\": [\"tag1\", \"tag2\"],\n  \"archived\": \"false\"\n}"},"url":{"raw":"{{gateway_host}}/notes/{{staff_account_id}}?user_id={{user_id}}","host":["{{gateway_host}}"],"path":["notes","{{staff_account_id}}"],"query":[{"key":"user_id","value":"{{user_id}}"}]},"description":"Retrieve By User – A user should be able to retrieve all notes created by a user."},"response":[],"_postman_id":"d44f34bc-1286-226e-972e-265355863e29"},{"name":"list all by invoice id","id":"d9522012-409e-aefa-8953-b342254d7e29","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"name\",\n  \"description\": \"description\",\n  \"body\": \"body\",\n  \"tags\": [\"tag1\", \"tag2\"],\n  \"archived\": \"false\"\n}"},"url":{"raw":"{{gateway_host}}/notes/{{staff_account_id}}?invoice_id={{invoice_id}}","host":["{{gateway_host}}"],"path":["notes","{{staff_account_id}}"],"query":[{"key":"invoice_id","value":"{{invoice_id}}"}]},"description":"Retrieve By User – A user should be able to retrieve all notes created by a user."},"response":[],"_postman_id":"d9522012-409e-aefa-8953-b342254d7e29"},{"name":"list all by freight rate id","id":"ebdb6c02-8503-47bb-ad8e-ed25352eacfa","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"name\",\n  \"description\": \"description\",\n  \"body\": \"body\",\n  \"tags\": [\"tag1\", \"tag2\"],\n  \"archived\": \"false\"\n}"},"url":{"raw":"{{gateway_host}}/notes/{{staff_account_id}}?freight_rate_id=d5715a11-ec68-45a1-8ff4-458379a53c3c","host":["{{gateway_host}}"],"path":["notes","{{staff_account_id}}"],"query":[{"key":"freight_rate_id","value":"d5715a11-ec68-45a1-8ff4-458379a53c3c"}]},"description":"Retrieve By User – A user should be able to retrieve all notes created by a user."},"response":[],"_postman_id":"ebdb6c02-8503-47bb-ad8e-ed25352eacfa"},{"name":"list all by company","id":"a3135be8-df97-4e38-9990-7a1e353bc2a5","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"name\",\n  \"description\": \"description\",\n  \"body\": \"body\",\n  \"tags\": [\"tag1\", \"tag2\"],\n  \"archived\": \"false\"\n}"},"url":{"raw":"{{gateway_host}}/notes/{{staff_account_id}}?company=123","host":["{{gateway_host}}"],"path":["notes","{{staff_account_id}}"],"query":[{"key":"company","value":"123"}]},"description":"Retrieve By Shipment - A user should be able to retrieve all note for a specified shipment."},"response":[],"_postman_id":"a3135be8-df97-4e38-9990-7a1e353bc2a5"},{"name":"list all by credit note id","id":"86073d35-4642-4908-ae0d-297d6bf6e383","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"name\",\n  \"description\": \"description\",\n  \"body\": \"body\",\n  \"tags\": [\"tag1\", \"tag2\"],\n  \"archived\": \"false\"\n}"},"url":{"raw":"{{gateway_host}}/notes/{{staff_account_id}}?credit_note_id={{credit_note_id}}","host":["{{gateway_host}}"],"path":["notes","{{staff_account_id}}"],"query":[{"key":"credit_note_id","value":"{{credit_note_id}}"}]},"description":"Retrieve By User – A user should be able to retrieve all notes created by a user."},"response":[],"_postman_id":"86073d35-4642-4908-ae0d-297d6bf6e383"},{"name":"list all by visibility","id":"8174335c-6285-9ba5-4170-a72dfac8e7f1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":{"raw":"{{gateway_host}}/notes/{{staff_account_id}}?visibility=1","host":["{{gateway_host}}"],"path":["notes","{{staff_account_id}}"],"query":[{"key":"","value":null,"disabled":true},{"key":"","value":"","type":"text","disabled":true},{"key":"visibility","value":"1"}]},"description":"Retrieve By User – A user should be able to retrieve all notes created by a user."},"response":[],"_postman_id":"8174335c-6285-9ba5-4170-a72dfac8e7f1"},{"name":"list all by attributes.account_id","id":"ab538ea9-2cc4-451f-b096-70642f9bd8f5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":{"raw":"{{gateway_host}}/notes/{{staff_account_id}}?account_id={{staff_account_id}}","host":["{{gateway_host}}"],"path":["notes","{{staff_account_id}}"],"query":[{"key":"account_id","value":"{{staff_account_id}}"},{"key":"account_id","value":"1234","disabled":true},{"key":"account_id","value":"421","disabled":true}]},"description":"Retrieve By User – A user should be able to retrieve all notes created by a user."},"response":[],"_postman_id":"ab538ea9-2cc4-451f-b096-70642f9bd8f5"},{"name":"list all","id":"da8db814-c4cc-b159-ddb7-ebd3a64d1042","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":"{{gateway_host}}/{{staff_account_id}}/notes","description":"Retrieve By User – A user should be able to retrieve all notes created by a user."},"response":[],"_postman_id":"da8db814-c4cc-b159-ddb7-ebd3a64d1042"},{"name":"delete (disabled)","id":"93127795-a6e4-96e2-ac92-b85e7beeb8f9","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":""},"url":"{{gateway_host}}/notes/{{account_id}}/{{note_id}}","description":"Delete Note - A user should be able to delete a note by providing the specified note id. Only the creator may delete a note."},"response":[],"_postman_id":"93127795-a6e4-96e2-ac92-b85e7beeb8f9"},{"name":"by deal ids","id":"8f195990-45b4-412f-ac47-d3161e3cb78d","request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"deal_ids\": [\"deal-id-1\",\"deal-id-2\",\"deal-id-3\"]\n}"},"url":"{{gateway_host}}/notes/{{account_id}}/by_deals"},"response":[],"_postman_id":"8f195990-45b4-412f-ac47-d3161e3cb78d"},{"name":"by receipt ids","id":"93cfd71b-3559-4a23-b8ab-1396970c58c3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"receipt_ids\": [\n        \"5df873f7-aaf1-4235-9b2a-f6542a5ef6b5\",\n        \"355657b7-e9d4-458a-a1b8-870219363eac\"\n    ]\n}"},"url":"{{gateway_host}}/notes/{{staff_account_id}}/by_receipt_ids"},"response":[],"_postman_id":"93cfd71b-3559-4a23-b8ab-1396970c58c3"}],"id":"e6e0e95c-c190-5d60-eee2-966bf1fadcc8","description":"The Account Service manages company and user account information within the TradeCafe platform. Company accounts belong to suppliers, buyers, and other partners while users are simply contacts within a specific company. Each user may login to their own account and view information related to their TradeCafe account, with certain restrictions placed on their specific user type.\n\nAn account within the TradeCafe platform consists of at least the following data attributes.\n\n\n* account - `required` The unique id of the account in TC. This is alphanumeric.\n* name – `required` The company name.\n* status - `required` This indicates the status of the account. (pending=0, reviewed=1, active=2, restricted=-1)\n* type – `required` The type of account, buyer, supplier, service provider, or admin (there will be only one admin account).\n* created – `required` An epoch timestamp with the time the account was created. This is automatically generated by the platform.\n* primaryphone – `required` The primary phone number associated with the account.\n* products – `required` A list of products the company is interested in trading.\n* primaryemail – `required` The primary email address associated with the account.\n* since - The year the business started.\n* corp_type - The type of the company. LLC, Inc, LLP, etc.\n* parent - Indicates a parent account id of this company if the company is a subsidiary.\n* emails – Other email addresses associated with the account.\n* phones – Other phone numbers associated with the account.\n* addresses – A JSON array of objects containing address components (street1, street2, city, state, postal, country, timezone). The company may have multiple addresses.\n* website - The website URL of the account.\n* archived – A 0/1 flag which identifies if this file has been archived.\n* attributes – A sub object with additional attributes of the account.\n* currency – The default currency of the company.\n* language – The preferred language of the company.\n* manager - The account manager assigned the company. This is a user id.\n* coordinator - The logistics coordinator assigned to the company. This is a user id.\n* banking - The banking profile of the company. This is a JSON subobject.\n\nBelow are API endpoints that provide access to account data within the platform.","_postman_id":"e6e0e95c-c190-5d60-eee2-966bf1fadcc8"},{"name":"Offers","item":[{"name":"all","id":"5925ada1-e9a4-5468-922c-a8996a7d6405","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"email\": \"a-company-287@test.com\",\n  \"password\": \"12345678\"\n}"},"url":"{{gateway_host}}/{{staff_account_id}}/offers"},"response":[],"_postman_id":"5925ada1-e9a4-5468-922c-a8996a7d6405"},{"name":"by deals","id":"80202ac4-b6f8-4165-8520-51c1988aba5d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"4FyUiE4GIA53wGXYN8cjMzH4Pkz2ox0Xk2xOkOVy8qzYjg3XB4SKTlyoPjXpKqSgOtbJP0c22zLpoLmBVIuTW8"}},"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"deal_ids\": [\n        \"BWI113034TC\"\n    ]\n}"},"url":{"raw":"{{gateway_host}}/:account_id/offers/by_deals","host":["{{gateway_host}}"],"path":[":account_id","offers","by_deals"],"variable":[{"key":"account_id","value":"1510188624.5357","type":"string"}]}},"response":[],"_postman_id":"80202ac4-b6f8-4165-8520-51c1988aba5d"},{"name":"filter","id":"41c3da95-0221-4363-87bb-847b1e2ae4c0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"dinHdJS4UD5z6k160HBs03uBUP3tgFTHFVBpIXAlqXzlFBKrlxDm0UbjsKQ6QqdMGXs5EBgpqhyX5t4Fbnedtj"}},"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"filters\": {\n\t\t\"products\": [\"good_product\", \"product_id\"],\n\t\t\"origin_countries\": [\"LT\", \"USA\"],\n\t\t\"suppliers\": [\"supplier_id\"],\n\t\t\"status\": [1],\n\t\t\"offer_substring\": \"\"\n\t}\n}"},"url":"{{gateway_host}}/{{account_id}}/offers/filter"},"response":[],"_postman_id":"41c3da95-0221-4363-87bb-847b1e2ae4c0"},{"name":"create","id":"7a6d6e4c-5693-2d63-a588-408524ee34a1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"476ytWqvvmFkHikxlzsipv7jYQUKe2psnUm0lU1F2x1h6moimZK5hokoLtBWjCqnenMTyUKnQT9gURVCVMDNLx"}},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n        \"deal_id\": \"BWI113711TC\",\n        \"account\": \"1526662128.9012\",\n        \"country\": \"CA\",\n        \"product\": \"570f646f-44bd-4de5-a6a5-ae4371615a48\",\n        \"price\": 0.925,\n        \"currency\": \"USD\",\n        \"containers\": 1,\n        \"ship_start\": 1601683199,\n        \"ship_end\": 1601683199,\n        \"type\": \"market_order\",\n        \"pickup\": \"82836f71-cb5c-4b10-8046-8f889437e51a\",\n        \"expire\": 1632336086,\n        \"establishment\": \"\",\n        \"weight\": {\n            \"unit\": \"a72cfe55-d2dd-4494-b3a7-1f07c844a02d\",\n            \"amount\": 40000\n        },\n        \"incoterm\": \"0d177108-d2cb-4e16-bff4-b6446cdaf6d2\",\n        \"quantity\": 0,\n        \"wrapping\": \"\",\n        \"packing\": {\n            \"packages_count\": 0,\n            \"package_size\": 0,\n            \"package_measure_id\": \"\",\n            \"package_id\": \"\"\n        },\n        \"notes\": [],\n        \"bwi_inventory\": false,\n        \"attributes\": {\n            \"establishments\": [],\n            \"gross_weight\": 0,\n            \"incoterm_location\": \"82836f71-cb5c-4b10-8046-8f889437e51a\",\n            \"batches\": [],\n            \"item_type_id\": \"81b42633-6d75-493e-8e1d-49067134e039\",\n            \"additional_specs\": \"SPALDING\",\n            \"product_code\": \"\",\n            \"brand\": \"\",\n            \"weight_type_id\": \"\"\n        },\n        \"status\": 0,\n        \"changes\": [],\n        \"note\": []\n    }"},"url":{"raw":"{{gateway_host}}/:account_id/offers","host":["{{gateway_host}}"],"path":[":account_id","offers"],"variable":[{"key":"account_id","value":"","type":"string"}]}},"response":[],"_postman_id":"7a6d6e4c-5693-2d63-a588-408524ee34a1"},{"name":"get","id":"4de2afbc-a43f-6f37-84d1-4cf29fc8c040","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":{"raw":"{{gateway_host}}/{{staff_account_id}}/offers/:offer_id","host":["{{gateway_host}}"],"path":["{{staff_account_id}}","offers",":offer_id"],"variable":[{"key":"offer_id","value":"0717a271-5e2b-4a21-a768-687b9edc4f2b","type":"string"}]}},"response":[],"_postman_id":"4de2afbc-a43f-6f37-84d1-4cf29fc8c040"},{"name":"get countries","id":"35672344-a9d7-4a10-a0f9-ecb5b7437f26","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":"{{gateway_host}}/offers/countries"},"response":[],"_postman_id":"35672344-a9d7-4a10-a0f9-ecb5b7437f26"},{"name":"update","id":"63becd30-c352-cc1d-af64-bd991b2fa7c4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"b9rNYRbVmvytrbE8Op5BtHh0iAa9FVEPdvWvNyW7n9gbW7ADx8cGZWDSUxVRmIrbmdU3htQH0lNGRcPrUVkznF"}},"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"expire\": 1772304740,\n  \"status\":  1\n}"},"url":{"raw":"{{gateway_host}}/:account_id/offers/:offer_id","host":["{{gateway_host}}"],"path":[":account_id","offers",":offer_id"],"variable":[{"key":"account_id","value":"1510188624.5357"},{"key":"offer_id","value":"689a7a4a-40d7-440f-9efb-d6573a4877ed"}]}},"response":[],"_postman_id":"63becd30-c352-cc1d-af64-bd991b2fa7c4"},{"name":"notes","id":"871c38be-3980-250e-aaa8-7e10d09d919f","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"text\": \"note for offer, at {{$timestamp}}\"\n}"},"url":"{{gateway_host}}/{{account_id}}/offers/{{offer_id}}/notes"},"response":[],"_postman_id":"871c38be-3980-250e-aaa8-7e10d09d919f"},{"name":"set deal id","id":"e6edee19-d043-4696-89b8-376e1461750f","request":{"auth":{"type":"bearer","bearer":{"token":"1J5WvAbg3ZDKi88KT4JFqfNVFIiS4hzZQhcy09sCHsHC6bM8yVFxrrCb5HrbLKAXjbw33jPD9S7H7lgagNceBK"}},"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"text\": \"note for offer, at {{$timestamp}}\"\n}"},"url":{"raw":"{{gateway_host}}/{{account_id}}/offers/:offer_id/deal/:deal_id","host":["{{gateway_host}}"],"path":["{{account_id}}","offers",":offer_id","deal",":deal_id"],"variable":[{"key":"offer_id","value":null},{"key":"deal_id","value":null}]}},"response":[],"_postman_id":"e6edee19-d043-4696-89b8-376e1461750f"},{"name":"delete","id":"d531bf50-978f-4cb0-c46e-d3a126d9a359","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"476ytWqvvmFkHikxlzsipv7jYQUKe2psnUm0lU1F2x1h6moimZK5hokoLtBWjCqnenMTyUKnQT9gURVCVMDNLx"}},"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{gateway_host}}/:account_id/offers/:offer_id","host":["{{gateway_host}}"],"path":[":account_id","offers",":offer_id"],"variable":[{"key":"account_id","value":"1510188624.5357","type":"string"},{"key":"offer_id","value":"a128a4b0-ff28-40da-bfcb-1f9863cfa96d","type":"string"}]}},"response":[],"_postman_id":"d531bf50-978f-4cb0-c46e-d3a126d9a359"},{"name":"delete batch","id":"07023486-d37c-d3d0-67ee-25daf7a4a634","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"ids\": [\"ee633ec9-78fe-4aac-ba3f-50c6e199848d\"]\n}"},"url":"{{gateway_host}}/{{account_id}}/offers/_batch"},"response":[],"_postman_id":"07023486-d37c-d3d0-67ee-25daf7a4a634"},{"name":"cancel","id":"467370fa-8173-4759-9df5-fb5aef214114","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"1CoQswkzXKUdKRS6zLlnGSyjMsoRLjkApYTnCGfFVtnF2A14SQb0QVRxHXtdWiia2QWBgr1XAZscDOb80wDUxm"}},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n\t\"offer_ids\": [\n\t\t\"868f63ff-88c0-46c9-af8e-dbef33e58b59\"\n\t]\n}"},"url":"{{gateway_host}}/offers/cancel"},"response":[],"_postman_id":"467370fa-8173-4759-9df5-fb5aef214114"}],"id":"fe77a3e3-7232-9599-4102-375a4bebfe9a","description":"The Offer Service (OS) allows supplies to submit product offers into the TradeCafe platform. An offer is a proposal to sell goods at a specific price and time, with specific set of conditions. Offers are made by suppliers of goods to traders or buyers.","_postman_id":"fe77a3e3-7232-9599-4102-375a4bebfe9a"},{"name":"Package Tracking","item":[{"name":"all","id":"88444ac9-948f-d764-6847-fe2aa62be782","request":{"auth":{"type":"noauth"},"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"name\",\n  \"description\": \"description\",\n  \"body\": \"body\",\n  \"tags\": [\"tag1\", \"tag2\"],\n  \"archived\": \"false\"\n}"},"url":"{{gateway_host}}/package-tracking"},"response":[],"_postman_id":"88444ac9-948f-d764-6847-fe2aa62be782"},{"name":"create","event":[{"listen":"test","script":{"id":"13c2a899-fb9f-471a-977f-a010c397c8e1","exec":[""],"type":"text/javascript","packages":{}}}],"id":"97914bf6-170a-9855-896f-cdea4aa51533","request":{"auth":{"type":"bearer","bearer":{"token":"AXfHbwTVnG0fHz3Ct2o4xSYjDNVSFmibmkKvUsM4OuYVgGCgrPe9FaolwrE31XUDNxvQB9oBQM1UDt7EcXIBer"}},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"deal_id\": \"deal\",\n  \"carrier\": \"ups\",\n  \"user_id\": \"920a9a5d-9e69-405e-9030-374bc2895d57\",\n  \"tracking_number\": \"tracking_number\",\n  \"type\": \"document\"\n}"},"url":"{{gateway_host}}/package-tracking/{{staff_account_id}}"},"response":[],"_postman_id":"97914bf6-170a-9855-896f-cdea4aa51533"},{"name":"get for multiple deals","id":"da9f71e3-0177-48d4-952a-818a5b3936a6","request":{"auth":{"type":"bearer","bearer":{"token":"AXfHbwTVnG0fHz3Ct2o4xSYjDNVSFmibmkKvUsM4OuYVgGCgrPe9FaolwrE31XUDNxvQB9oBQM1UDt7EcXIBer"}},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n    \"deal_ids\": [\n        \"BWI100157TC\"\n    ]\n}"},"url":"{{gateway_host}}/package-tracking/by-multiple-deals"},"response":[],"_postman_id":"da9f71e3-0177-48d4-952a-818a5b3936a6"},{"name":"get","id":"34f7b341-c7c6-f237-b83b-f688e0f51e74","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"deal_id\": \"deal\",\n  \"carrier\": \"ups\",\n  \"code\": \"code\"\n}"},"url":"{{gateway_host}}/package-tracking/{{package_id}}/{{staff_account_id}}"},"response":[],"_postman_id":"34f7b341-c7c6-f237-b83b-f688e0f51e74"},{"name":"track","id":"12d41549-27c4-a4bc-ebd6-3c377e7d2ec8","request":{"auth":{"type":"bearer","bearer":{"token":"AXfHbwTVnG0fHz3Ct2o4xSYjDNVSFmibmkKvUsM4OuYVgGCgrPe9FaolwrE31XUDNxvQB9oBQM1UDt7EcXIBer"}},"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"track\": false,\n  \"party\": {\"aaa\": \"bbbbb\"}\n}"},"url":"{{gateway_host}}/package-tracking/{{package_id}}/{{staff_account_id}}/track"},"response":[],"_postman_id":"12d41549-27c4-a4bc-ebd6-3c377e7d2ec8"},{"name":"delete","id":"a139cc30-0016-9eeb-3d05-a34600fd88c1","request":{"auth":{"type":"bearer","bearer":{"token":"AXfHbwTVnG0fHz3Ct2o4xSYjDNVSFmibmkKvUsM4OuYVgGCgrPe9FaolwrE31XUDNxvQB9oBQM1UDt7EcXIBer"}},"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":""},"url":"{{gateway_host}}/package-tracking/{{package_id}}/{{staff_account_id}}"},"response":[],"_postman_id":"a139cc30-0016-9eeb-3d05-a34600fd88c1"},{"name":"/package-tracking-service/search-post","id":"3bd1ff12-293d-42bd-af5e-323f2554c74e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"search\": {\n        \"deal_id\": {\n            \"$in\": [\n                \"BWI110079TC\"\n            ]\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint}}/package-tracking-service/search-post"},"response":[],"_postman_id":"3bd1ff12-293d-42bd-af5e-323f2554c74e"}],"id":"2689464e-bc54-4aff-bfc1-f3cee9c61bb6","description":"The Package Tracking Service (PTS) stores and tracks packages sent via shipping carriers like UPS and FedEx. It allows the \"creation\" of packages when supplied the tracking number of the package, will monitor the package status every 30 minutes if it hasn't already been delivered, and will send event notification when the package status changes. This service allows for the automatic tracking of packages and removes the need for manual package tracking.","_postman_id":"2689464e-bc54-4aff-bfc1-f3cee9c61bb6"},{"name":"Preferences","item":[{"name":"account","item":[{"name":"create","id":"7ed3e7bc-b60f-842b-0336-cfbbed71386b","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"account\": \"{{account_id}}\",\n  \"preferences\": {\n    \"key1\": \"val-{{$randomInt}}\",\n    \"key2\": \"val-{{$randomInt}}\"\n  }\n}"},"url":"{{gateway_host}}/preference/account/{{account_id}}"},"response":[],"_postman_id":"7ed3e7bc-b60f-842b-0336-cfbbed71386b"},{"name":"get","id":"93b9671f-75bd-d021-e9a5-7680e636afe8","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"account\": \"account\",\n  \"user\": \"user\",\n  \"preferences\": {\n    \"key\": \"val\",\n    \"key1\": \"val1\"\n  }\n}"},"url":"{{gateway_host}}/preference/account/{{account_id}}"},"response":[],"_postman_id":"93b9671f-75bd-d021-e9a5-7680e636afe8"},{"name":"set keys","id":"d3b065c0-cd05-0658-40e7-fdfa214baf61","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \n    \"key1\": \"new-value {{$randomInt}}\",\n    \"key2\": \"new-value {{$randomInt}}\"\n}"},"url":"{{gateway_host}}/preference/account/{{account_id}}"},"response":[],"_postman_id":"d3b065c0-cd05-0658-40e7-fdfa214baf61"},{"name":"unset keys","id":"3bd8bfed-db53-fd74-4a3b-5819dd8730ca","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"key2\": \"\"\n}"},"url":"{{gateway_host}}/preference/account/{{account_id}}/unset"},"response":[],"_postman_id":"3bd8bfed-db53-fd74-4a3b-5819dd8730ca"},{"name":"delete","id":"a5fa50f3-b792-ca28-ae2a-c162c3733791","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":""},"url":"{{gateway_host}}/preference/account/{{account_id}}"},"response":[],"_postman_id":"a5fa50f3-b792-ca28-ae2a-c162c3733791"}],"id":"20fa25f3-7f00-58be-938f-1a6f3af64642","_postman_id":"20fa25f3-7f00-58be-938f-1a6f3af64642"},{"name":"user","item":[{"name":"create","id":"0c1d508d-a780-9dc5-b32b-7d3eea534ab3","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"user\": \"{{user_id}}\",\n  \"account\": \"{{account_id}}\",\n  \"preferences\": {\n    \"key1\": \"val-{{$randomInt}}\",\n    \"key2\": \"val-{{$randomInt}}\"\n  }\n}"},"url":"{{gateway_host}}/preference/user/{{account_id}}/{{user_id}}"},"response":[],"_postman_id":"0c1d508d-a780-9dc5-b32b-7d3eea534ab3"},{"name":"get","id":"9c65e426-9eea-a5e3-ef04-144a5f3e206a","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"account\": \"account\",\n  \"user\": \"user\",\n  \"preferences\": {\n    \"key\": \"val\",\n    \"key1\": \"val1\"\n  }\n}"},"url":"{{gateway_host}}/preference/user/{{account_id}}/{{user_id}}"},"response":[],"_postman_id":"9c65e426-9eea-a5e3-ef04-144a5f3e206a"},{"name":"set keys","id":"3c8b6300-4eda-16ae-480b-dee625471472","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \n    \"key1\": \"{{$randomInt}}\",\n    \"key2\": \"{{$randomInt}}\"\n}"},"url":"{{gateway_host}}/preference/user/{{account_id}}/{{user_id}}"},"response":[],"_postman_id":"3c8b6300-4eda-16ae-480b-dee625471472"},{"name":"unset keys","id":"577150f3-7b70-ff44-cf93-0b1f40e18cb9","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \n    \"key2\": \"\"\n}"},"url":"{{gateway_host}}/preference/user/{{account_id}}/{{user_id}}/unset"},"response":[],"_postman_id":"577150f3-7b70-ff44-cf93-0b1f40e18cb9"},{"name":"delete","id":"1572e3e7-850a-bd69-ea0b-54fc814adc7b","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":""},"url":"{{gateway_host}}/preference/user/{{account_id}}/{{user_id}}"},"response":[],"_postman_id":"1572e3e7-850a-bd69-ea0b-54fc814adc7b"}],"id":"b72a39f3-25a7-f128-5c78-f910a6ad6738","_postman_id":"b72a39f3-25a7-f128-5c78-f910a6ad6738"}],"id":"e62d2bf4-c00f-b2aa-fa88-b74bc42d808a","description":"The Preference Service (PFS) allows for the management of user and account preferences in the TradeCafe platform. Each account will have a set of specific preferences which can be set for that account. These preferences will be of various types and values, and will evolve with time as we build out the front end of the application.","_postman_id":"e62d2bf4-c00f-b2aa-fa88-b74bc42d808a"},{"name":"Products","item":[{"name":"products","item":[{"name":"create","id":"25cc5cb1-94bb-835e-7e24-355bb39cf14b","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"product-{{$randomInt}}\",\n  \"category_id\": \"{{category_id}}\",\n  \"type_id\": \"{{type_id}}\",\n  \"user_id\": \"{{user_id}}\"\n}"},"url":"{{gateway_host}}/products"},"response":[],"_postman_id":"25cc5cb1-94bb-835e-7e24-355bb39cf14b"},{"name":"search","id":"ac76944f-84fb-8186-77be-f85240df7e1a","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"name\",\n  \"description\": \"description\",\n  \"body\": \"body\",\n  \"tags\": [\"tag1\", \"tag2\"],\n  \"archived\": \"false\"\n}"},"url":"{{gateway_host}}/products"},"response":[],"_postman_id":"ac76944f-84fb-8186-77be-f85240df7e1a"},{"name":"search by type","id":"1e6b19bf-8029-65de-e469-7491bc6b2f8c","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":{"raw":"{{gateway_host}}/products/by-type?type_id=0cf9d5f3-629e-4e43-b6df-5756f41c8d40","host":["{{gateway_host}}"],"path":["products","by-type"],"query":[{"key":"type_id","value":"0cf9d5f3-629e-4e43-b6df-5756f41c8d40"}]}},"response":[],"_postman_id":"1e6b19bf-8029-65de-e469-7491bc6b2f8c"},{"name":"search by name","id":"3937a350-2e3e-0455-1ac0-cb37c917fb1f","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"name\",\n  \"description\": \"description\",\n  \"body\": \"body\",\n  \"tags\": [\"tag1\", \"tag2\"],\n  \"archived\": \"false\"\n}"},"url":{"raw":"{{gateway_host}}/products/by-name?name=Boneless Pork Picnics","host":["{{gateway_host}}"],"path":["products","by-name"],"query":[{"key":"name","value":"Boneless Pork Picnics"}]}},"response":[],"_postman_id":"3937a350-2e3e-0455-1ac0-cb37c917fb1f"},{"name":"get","id":"cd2da852-5315-17a5-ee58-3c155c03f280","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":{"raw":"{{gateway_host}}/products/:product_id","host":["{{gateway_host}}"],"path":["products",":product_id"],"variable":[{"key":"product_id","value":"0d34c813-c310-4660-9666-f0585bdc4cbb","type":"string"}]}},"response":[],"_postman_id":"cd2da852-5315-17a5-ee58-3c155c03f280"},{"name":"update","id":"c368c9b8-d65c-66a2-7cdb-952bbf3df0fe","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"user_id\": \"{{user_id}}\",\n  \"name\": \"new name {{$randomInt}}\"\n}"},"url":"{{gateway_host}}/products/{{product_id}}"},"response":[],"_postman_id":"c368c9b8-d65c-66a2-7cdb-952bbf3df0fe"},{"name":"delete","id":"906473c3-c082-53db-e6c0-7c94df686e11","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":""},"url":"{{gateway_host}}/products/{{product_id}}"},"response":[],"_postman_id":"906473c3-c082-53db-e6c0-7c94df686e11"}],"id":"7a4125b4-9469-67f9-b58d-9e9f58b06400","_postman_id":"7a4125b4-9469-67f9-b58d-9e9f58b06400"},{"name":"types","item":[{"name":"create","id":"0c4d533b-df11-5063-a009-9e10ef3280bc","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"product-{{$randomInt}}\",\n  \"category_id\": \"{{category_id}}\",\n  \"user_id\": \"{{user_id}}\"\n}"},"url":"{{gateway_host}}/types"},"response":[],"_postman_id":"0c4d533b-df11-5063-a009-9e10ef3280bc"},{"name":"search","id":"d6a4b434-5320-db8c-963c-f1ccb1b659a0","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"name\",\n  \"description\": \"description\",\n  \"body\": \"body\",\n  \"tags\": [\"tag1\", \"tag2\"],\n  \"archived\": \"false\"\n}"},"url":"{{gateway_host}}/types"},"response":[],"_postman_id":"d6a4b434-5320-db8c-963c-f1ccb1b659a0"},{"name":"search by type name","id":"e19bf269-4681-dfc2-e043-e43ddfe06bd0","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"name\",\n  \"description\": \"description\",\n  \"body\": \"body\",\n  \"tags\": [\"tag1\", \"tag2\"],\n  \"archived\": \"false\"\n}"},"url":{"raw":"{{gateway_host}}/types/by-name?name=Pork","host":["{{gateway_host}}"],"path":["types","by-name"],"query":[{"key":"name","value":"Pork"}]}},"response":[],"_postman_id":"e19bf269-4681-dfc2-e043-e43ddfe06bd0"},{"name":"search by category","id":"d3ad69ca-ee54-667d-41e8-6dda6bf43b5d","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"name\",\n  \"description\": \"description\",\n  \"body\": \"body\",\n  \"tags\": [\"tag1\", \"tag2\"],\n  \"archived\": \"false\"\n}"},"url":{"raw":"{{gateway_host}}/types/by-category?category_id=212b7778-c5c7-11e7-a24e-415212819da0","host":["{{gateway_host}}"],"path":["types","by-category"],"query":[{"key":"category_id","value":"212b7778-c5c7-11e7-a24e-415212819da0"}]}},"response":[],"_postman_id":"d3ad69ca-ee54-667d-41e8-6dda6bf43b5d"},{"name":"get","id":"74c3092e-a196-c56e-4ef0-e3b867d1b525","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"deal_id\": \"deal\",\n  \"carrier\": \"ups\",\n  \"code\": \"code\"\n}"},"url":"{{gateway_host}}/types/{{product_type_id}}"},"response":[],"_postman_id":"74c3092e-a196-c56e-4ef0-e3b867d1b525"},{"name":"update","id":"876ed146-5e30-0c54-237c-4b5da7c11844","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"user_id\": \"{{user_id}}\",\n  \"name\": \"new name {{$randomInt}}\",\n  \"category_id\": \"123\"\n}"},"url":"{{gateway_host}}/types/{{product_type_id}}"},"response":[],"_postman_id":"876ed146-5e30-0c54-237c-4b5da7c11844"},{"name":"delete","id":"93360dcc-02db-8346-f2f1-762da7bbc236","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":""},"url":"{{gateway_host}}/types/{{product_type_id}}"},"response":[],"_postman_id":"93360dcc-02db-8346-f2f1-762da7bbc236"}],"id":"7446e7b0-925d-a46f-f6a9-abf22f49c5e2","_postman_id":"7446e7b0-925d-a46f-f6a9-abf22f49c5e2"},{"name":"item type","item":[{"name":"create","id":"e76b4634-6769-81d3-cfd7-2841e894243e","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"product-{{$randomInt}}\",\n  \"user_id\": \"{{user_id}}\"\n}"},"url":"{{gateway_host}}/item-type"},"response":[],"_postman_id":"e76b4634-6769-81d3-cfd7-2841e894243e"},{"name":"search","id":"2a7678fe-ce15-1de0-9b9b-cc33daa19514","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"name\",\n  \"description\": \"description\",\n  \"body\": \"body\",\n  \"tags\": [\"tag1\", \"tag2\"],\n  \"archived\": \"false\"\n}"},"url":"{{gateway_host}}/item-type"},"response":[],"_postman_id":"2a7678fe-ce15-1de0-9b9b-cc33daa19514"},{"name":"get","id":"7967e71f-ccbf-bb54-2dbd-fc600f5692ce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"wJlclEh2Lb2GHfeeBvHl7EpuQFhbIFHM9ogwavvbq7dOAOZpqbcE3R7iEa9YDT5gngS1ElxO48uMBOvyXgiyPv"}},"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":{"raw":"{{gateway_host}}/item-type/:item_type_id","host":["{{gateway_host}}"],"path":["item-type",":item_type_id"],"variable":[{"key":"item_type_id","value":"bc8ed039-f762-4d3a-8f51-20150c44ce7b","type":"string"}]}},"response":[],"_postman_id":"7967e71f-ccbf-bb54-2dbd-fc600f5692ce"},{"name":"update","id":"e8e332e8-70c3-4d61-79fe-f8071beb6db4","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"new name {{$randomInt}}\"\n}"},"url":"{{gateway_host}}/item-type/{{product_item_type_id}}"},"response":[],"_postman_id":"e8e332e8-70c3-4d61-79fe-f8071beb6db4"},{"name":"delete","id":"10cfac02-9480-ff99-911e-af5402da06e9","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":""},"url":"{{gateway_host}}/item-type/{{product_item_type_id}}"},"response":[],"_postman_id":"10cfac02-9480-ff99-911e-af5402da06e9"}],"id":"7eaa1699-9df5-b19d-e52f-d403cb0e5557","_postman_id":"7eaa1699-9df5-b19d-e52f-d403cb0e5557"},{"name":"packagings","item":[{"name":"create","id":"69536d71-e1b9-3baf-1998-9e14ce2e0351","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"name-{{$randomInt}}\",\n  \"description\": \"description\",\n  \"user_id\": \"{{user_id}}\",\n  \"attributes\": {}\n}"},"url":"{{gateway_host}}/packagings"},"response":[],"_postman_id":"69536d71-e1b9-3baf-1998-9e14ce2e0351"},{"name":"search","id":"0befdc4f-23da-f1d1-add8-2e8fedbc4c65","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"name\",\n  \"description\": \"description\",\n  \"body\": \"body\",\n  \"tags\": [\"tag1\", \"tag2\"],\n  \"archived\": \"false\"\n}"},"url":"{{gateway_host}}/packagings"},"response":[],"_postman_id":"0befdc4f-23da-f1d1-add8-2e8fedbc4c65"},{"name":"search by name","id":"fec85f35-3c0f-4370-7995-921deee4014b","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"name\",\n  \"description\": \"description\",\n  \"body\": \"body\",\n  \"tags\": [\"tag1\", \"tag2\"],\n  \"archived\": \"false\"\n}"},"url":{"raw":"{{gateway_host}}/packagings/by-name?name=name-473","host":["{{gateway_host}}"],"path":["packagings","by-name"],"query":[{"key":"name","value":"name-473"}]}},"response":[],"_postman_id":"fec85f35-3c0f-4370-7995-921deee4014b"},{"name":"get","id":"0b1e436b-4578-891b-c34c-291aa9bacb2b","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"deal_id\": \"deal\",\n  \"carrier\": \"ups\",\n  \"code\": \"code\"\n}"},"url":"{{gateway_host}}/packagings/{{product_packing_id}}"},"response":[],"_postman_id":"0b1e436b-4578-891b-c34c-291aa9bacb2b"},{"name":"update","id":"2e1e385a-d1a5-dd70-f972-b5ffd1bce599","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"new name-{{$randomInt}}\",\n  \"user_id\": \"{{user_id}}}}\",\n  \"description\": \"description\",\n  \"attributes\": {}\n}"},"url":"{{gateway_host}}/packagings/{{product_packing_id}}"},"response":[],"_postman_id":"2e1e385a-d1a5-dd70-f972-b5ffd1bce599"},{"name":"delete","id":"47ce1a2d-8d1e-fe2b-ab09-574c37c9e8b7","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":""},"url":"{{gateway_host}}/packagings/{{product_packing_id}}"},"response":[],"_postman_id":"47ce1a2d-8d1e-fe2b-ab09-574c37c9e8b7"}],"id":"ad0f2682-9fbc-bdd9-a850-d798fac10663","_postman_id":"ad0f2682-9fbc-bdd9-a850-d798fac10663"},{"name":"measures","item":[{"name":"list all","id":"2d9e074c-7e08-a30a-28fe-6db0ce19f5e5","request":{"auth":{"type":"bearer","bearer":{"token":"2OuemNZ4RXGA3XXTSfJKnEOGo6hrlbBZ4HExYhF3MRNuvzULuc3EsrGhCNYYhNfYJKSaJHFr23ACdZgkz7NvI2"}},"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":"{{gateway_host}}/measures"},"response":[],"_postman_id":"2d9e074c-7e08-a30a-28fe-6db0ce19f5e5"},{"name":"create","id":"73f17b86-742b-d89b-6eb3-97b2237f3434","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"name-{{$randomInt}}\",\n  \"user_id\": \"{{user_id}}\",\n  \"symbol\": \"name-{{$randomInt}}\",\n  \"code\": \"description\",\n  \"precision\": 2,\n  \"conversions\": {}\n}"},"url":"{{gateway_host}}/measures"},"response":[],"_postman_id":"73f17b86-742b-d89b-6eb3-97b2237f3434"},{"name":"get one","id":"7f113530-dbb2-0693-de04-595711b1d3c2","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"deal_id\": \"deal\",\n  \"carrier\": \"ups\",\n  \"code\": \"code\"\n}"},"url":"{{gateway_host}}/measures/{{product_measures_id}}"},"response":[],"_postman_id":"7f113530-dbb2-0693-de04-595711b1d3c2"},{"name":"update","id":"a0ed9449-5ef9-eed9-9a6f-da38cc22b5b6","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"name-{{$randomInt}}\",\n  \"user_id\": \"{{user_id}}\",\n  \"symbol\": \"name-{{$randomInt}}\",\n  \"code\": \"description\",\n  \"precision\": 2,\n  \"conversions\": {}\n}"},"url":"{{gateway_host}}/measures/{{product_measures_id}}"},"response":[],"_postman_id":"a0ed9449-5ef9-eed9-9a6f-da38cc22b5b6"},{"name":"delete","id":"bb28afa9-bea6-d241-c87d-6f5b44eaced0","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":""},"url":"{{gateway_host}}/measures/{{product_measures_id}}"},"response":[],"_postman_id":"bb28afa9-bea6-d241-c87d-6f5b44eaced0"}],"id":"4e91f5fa-9582-60ef-e11c-2ec2af5773a1","_postman_id":"4e91f5fa-9582-60ef-e11c-2ec2af5773a1"},{"name":"wrappings","item":[{"name":"search","id":"856013cd-5096-a2c6-3dc9-2c13a3802d06","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"name\",\n  \"description\": \"description\",\n  \"body\": \"body\",\n  \"tags\": [\"tag1\", \"tag2\"],\n  \"archived\": \"false\"\n}"},"url":"{{gateway_host}}/wrappings"},"response":[],"_postman_id":"856013cd-5096-a2c6-3dc9-2c13a3802d06"},{"name":"search by name","id":"cfa26682-bd57-ecae-32f3-b3c39fc88439","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"name\",\n  \"description\": \"description\",\n  \"body\": \"body\",\n  \"tags\": [\"tag1\", \"tag2\"],\n  \"archived\": \"false\"\n}"},"url":{"raw":"{{gateway_host}}/wrappings/by-name?name=name-129","host":["{{gateway_host}}"],"path":["wrappings","by-name"],"query":[{"key":"name","value":"name-129"}]}},"response":[],"_postman_id":"cfa26682-bd57-ecae-32f3-b3c39fc88439"},{"name":"create","id":"e42f7fdd-7683-38e1-69c6-f86a0264751f","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"name-{{$randomInt}}\",\n  \"user_id\": \"{{user_id}}\"\n}"},"url":"{{gateway_host}}/wrappings"},"response":[],"_postman_id":"e42f7fdd-7683-38e1-69c6-f86a0264751f"},{"name":"get","id":"56b2be0a-5db8-67cb-3ca1-309b1c9ab6d6","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"deal_id\": \"deal\",\n  \"carrier\": \"ups\",\n  \"code\": \"code\"\n}"},"url":"{{gateway_host}}/wrappings/{{product_wrapping_id}}"},"response":[],"_postman_id":"56b2be0a-5db8-67cb-3ca1-309b1c9ab6d6"},{"name":"update","id":"8f78bd39-8803-de98-adb6-665ff9664da8","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"name-{{$randomInt}}\",\n  \"user_id\": \"{{user_id}}\"\n}"},"url":"{{gateway_host}}/wrappings/{{product_wrapping_id}}"},"response":[],"_postman_id":"8f78bd39-8803-de98-adb6-665ff9664da8"},{"name":"delete","id":"1f0a3049-a2a5-2e37-cdc8-077086405732","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":""},"url":"{{gateway_host}}/wrappings/{{product_wrapping_id}}"},"response":[],"_postman_id":"1f0a3049-a2a5-2e37-cdc8-077086405732"}],"id":"91fc13ba-0a4e-8006-df24-5fc905eaaff1","_postman_id":"91fc13ba-0a4e-8006-df24-5fc905eaaff1"},{"name":"specifications","item":[{"name":"search","id":"e0f38109-2af2-6aee-6271-75bdf54611d1","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"name\",\n  \"description\": \"description\",\n  \"body\": \"body\",\n  \"tags\": [\"tag1\", \"tag2\"],\n  \"archived\": \"false\"\n}"},"url":"{{gateway_host}}/specifications"},"response":[],"_postman_id":"e0f38109-2af2-6aee-6271-75bdf54611d1"},{"name":"search by name","id":"769a71b6-821c-80f9-a58f-c6de815e614d","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"name\",\n  \"description\": \"description\",\n  \"body\": \"body\",\n  \"tags\": [\"tag1\", \"tag2\"],\n  \"archived\": \"false\"\n}"},"url":{"raw":"{{gateway_host}}/specifications/by-name?name=name-104","host":["{{gateway_host}}"],"path":["specifications","by-name"],"query":[{"key":"name","value":"name-104"}]}},"response":[],"_postman_id":"769a71b6-821c-80f9-a58f-c6de815e614d"},{"name":"create","id":"8be88722-02f4-d785-cf58-b03d114257d9","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"name-{{$randomInt}}\",\n  \"user_id\": \"{{user_id}}\",\n  \"category_id\": \"foo\",\n  \"type_id\": \"foo\",\n  \"visible_to_buyer\": true\n}"},"url":"{{gateway_host}}/specifications"},"response":[],"_postman_id":"8be88722-02f4-d785-cf58-b03d114257d9"},{"name":"get","id":"e1c8357a-0505-26d6-f319-3130448f838e","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"deal_id\": \"deal\",\n  \"carrier\": \"ups\",\n  \"code\": \"code\"\n}"},"url":"{{gateway_host}}/specifications/{{product_specification_id}}"},"response":[],"_postman_id":"e1c8357a-0505-26d6-f319-3130448f838e"},{"name":"update","id":"0cf7dae4-5f9a-5868-e740-5860b29d798c","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"new name {{$randomInt}}\",\n  \"user_id\": \"{{user_id}}\"\n}"},"url":"{{gateway_host}}/specifications/{{product_specification_id}}"},"response":[],"_postman_id":"0cf7dae4-5f9a-5868-e740-5860b29d798c"},{"name":"delete","id":"fba4c0e5-ef6d-e102-3748-ce4f27013555","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":""},"url":"{{gateway_host}}/specifications/{{product_specification_id}}"},"response":[],"_postman_id":"fba4c0e5-ef6d-e102-3748-ce4f27013555"}],"id":"142f87b6-1456-651d-a541-0334201ed69e","_postman_id":"142f87b6-1456-651d-a541-0334201ed69e"},{"name":"categories","item":[{"name":"search","id":"9b46fccb-c3d1-3298-0ce3-fe0e66dcf216","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"name\",\n  \"description\": \"description\",\n  \"body\": \"body\",\n  \"tags\": [\"tag1\", \"tag2\"],\n  \"archived\": \"false\"\n}"},"url":"{{gateway_host}}/categories"},"response":[],"_postman_id":"9b46fccb-c3d1-3298-0ce3-fe0e66dcf216"},{"name":"search by category name","id":"a62e5df4-d314-3a01-ce42-d4983d8b0937","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"name\",\n  \"description\": \"description\",\n  \"body\": \"body\",\n  \"tags\": [\"tag1\", \"tag2\"],\n  \"archived\": \"false\"\n}"},"url":{"raw":"{{gateway_host}}/categories/by-name/?name=Banking","host":["{{gateway_host}}"],"path":["categories","by-name",""],"query":[{"key":"name","value":"Banking"}]}},"response":[],"_postman_id":"a62e5df4-d314-3a01-ce42-d4983d8b0937"},{"name":"create","id":"8cc20e2f-52b1-158f-c031-1448856c2ad0","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"name\",\n  \"user_id\": \"123-{{$randomInt}}\"\n}"},"url":"{{gateway_host}}/categories"},"response":[],"_postman_id":"8cc20e2f-52b1-158f-c031-1448856c2ad0"},{"name":"update","id":"323b3f18-30d4-ce3f-1199-775b03da689d","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"name-{{$randomInt}}\",\n  \"user_id\": \"id=a\"\n}"},"url":"{{gateway_host}}/categories/{{product_category_id}}"},"response":[],"_postman_id":"323b3f18-30d4-ce3f-1199-775b03da689d"},{"name":"get","id":"f506ab46-4f8b-df28-9cec-d78463a27b2a","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"name\",\n  \"description\": \"description\",\n  \"body\": \"body\",\n  \"tags\": [\"tag1\", \"tag2\"],\n  \"archived\": \"false\"\n}"},"url":"{{gateway_host}}/categories/{{product_category_id}}"},"response":[],"_postman_id":"f506ab46-4f8b-df28-9cec-d78463a27b2a"},{"name":"delete","id":"75b3792c-4f53-817d-e9f6-c9140790b52e","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"name\",\n  \"description\": \"description\",\n  \"body\": \"body\",\n  \"tags\": [\"tag1\", \"tag2\"],\n  \"archived\": \"false\"\n}"},"url":"{{gateway_host}}/categories/{{product_category_id}}"},"response":[],"_postman_id":"75b3792c-4f53-817d-e9f6-c9140790b52e"}],"id":"b343b97c-877f-4233-8133-a5a5d4c79b4e","_postman_id":"b343b97c-877f-4233-8133-a5a5d4c79b4e"},{"name":"weight type","item":[{"name":"create","id":"c167f70f-25ff-8e35-742c-218222105fb6","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n \"name\" : \"name {{$randomInt}}\",\n \"user_id\": \"{{user_id}}\"\n}\n\n"},"url":"{{gateway_host}}/weight-type"},"response":[],"_postman_id":"c167f70f-25ff-8e35-742c-218222105fb6"},{"name":"get","id":"28e1f0b4-6a6f-f1bf-ca61-e3fdf0a5e0a0","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"name\",\n  \"description\": \"description\",\n  \"body\": \"body\",\n  \"tags\": [\"tag1\", \"tag2\"],\n  \"archived\": \"false\"\n}"},"url":"{{gateway_host}}/weight-type/{{weight_type_id}}"},"response":[],"_postman_id":"28e1f0b4-6a6f-f1bf-ca61-e3fdf0a5e0a0"},{"name":"list","id":"7c43e136-dfb8-5bb7-b076-83196023ce7b","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"name\",\n  \"description\": \"description\",\n  \"body\": \"body\",\n  \"tags\": [\"tag1\", \"tag2\"],\n  \"archived\": \"false\"\n}"},"url":"{{gateway_host}}/weight-type"},"response":[],"_postman_id":"7c43e136-dfb8-5bb7-b076-83196023ce7b"},{"name":"edit","id":"a284ff6d-da51-907a-6123-36413099fe64","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n \"name\" : \"new name {{$randomInt}}\"\n}\n\n"},"url":"{{gateway_host}}/weight-type/{{weight_type_id}}"},"response":[],"_postman_id":"a284ff6d-da51-907a-6123-36413099fe64"}],"id":"cc631229-fd4a-8d56-a270-29e189008cd0","_postman_id":"cc631229-fd4a-8d56-a270-29e189008cd0"}],"id":"e9095109-eba1-0e50-9471-e704cae629b8","description":"The Product Service (PS) is a metadata repository for all the various products allowed within the Trade Cafe system. It stores the products, product categories, and product tree structure for the various products and allows for the creation, update, of products in its repository. An example product tree is located in the Product Table spreadsheet within this folder. ","auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"event":[{"listen":"prerequest","script":{"id":"7b125c6b-a1e1-4c34-bf3a-38fc65b7ed21","type":"text/javascript","packages":{},"exec":[""]}},{"listen":"test","script":{"id":"f231ea24-718b-41ef-98c2-64e62da80ad4","type":"text/javascript","packages":{},"exec":[""]}}],"_postman_id":"e9095109-eba1-0e50-9471-e704cae629b8"},{"name":"Receipts","item":[{"name":"create","id":"ed38445d-5f30-c98e-0c97-1a90a62d974e","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"account\": \"{{account_id}}\",\n  \"type\": \"standard\",\n  \"received\": 0,\n  \"currency\": \"USD\",\n  \"credit_pool\": \"{{credit_pool_id}}\",\n  \"status\": 0,\n  \"amount\": 10,\n  \"attributes\": {\n    \"obj\": {\n      \"name\": \"Jack\"\n    }\n  }\n}"},"url":"{{gateway_host}}/receipts/{{staff_account_id}}"},"response":[],"_postman_id":"ed38445d-5f30-c98e-0c97-1a90a62d974e"},{"name":"create many","id":"1a743811-b17c-1dce-159f-f80320b26ac8","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"[\n  {\n       \"account\": {{account_id}},\n       \"type\": \"standard\",\n       \"credit_pool\": \"1st\",\n       \"received\": 1234,\n       \"currency\": \"USD\",\n       \"status\": 0,\n       \"amount\": {{$randomInt}},\n       \"attributes\": {\n         \"obj\": {\n           \"name\": \"Jack\"\n         }\n       }\n },\n  {\n       \"account\": {{account_id}},\n       \"type\": \"standard\",\n       \"credit_pool\": \"2nd\",\n       \"received\": 1234,\n       \"currency\": \"USD\",\n       \"status\": 0,\n       \"amount\": {{$randomInt}},\n       \"attributes\": {\n         \"obj\": {\n           \"name\": \"Jack\"\n         }\n       }\n }\n]"},"url":"{{gateway_host}}/receipts/{{account_id}}/_batch"},"response":[],"_postman_id":"1a743811-b17c-1dce-159f-f80320b26ac8"},{"name":"get all for account","id":"e8022985-48ee-b42e-65a3-36e19e1375d5","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"email\": \"a-company-287@test.com\",\n  \"password\": \"12345678\"\n}"},"url":"{{gateway_host}}/receipts/{{account_id}}"},"response":[],"_postman_id":"e8022985-48ee-b42e-65a3-36e19e1375d5"},{"name":"get single","id":"e4905775-a467-a68f-81d5-05e12148c69d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"DbDxMwoYWKczxJWt70RcVelEQBCaYzjLmYiJX6wKQRgsuy9PdT3wtMBmJnSeQtGmFbvOjJpU55wwv2ntsLkOPo"}},"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}} "}],"body":{"mode":"raw","raw":"{\n    \"limit\": 10,\n    \"skip\": 0,\n    \"filters\": {\n        \"status\": [\n            \"unassigned\",\n            \"assigned\",\n            \"partial\"\n        ],\n        \"received\": {}\n    }\n}"},"url":"{{gateway_host}}/receipts/{{account_id}}/{{invoice_receipt_id}}"},"response":[],"_postman_id":"e4905775-a467-a68f-81d5-05e12148c69d"},{"name":"update invoice(s)","id":"6976eaf1-2a87-af55-0a27-95cc6f86a966","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"[\n  {\n    \"type\": 1,\n    \"date\": 123456789,\n    \"due_date\": 123456789,\n    \"status\": 1,\n    \"invoice_num\": 1,\n    \"client_id\": 1,\n    \"invoice_id\": \"{{invoice_id}}\",\n    \"amount\": 123,\n    \"payment_date\": 1234567654,\n    \"user_id\": \"{{user_id}}\",\n    \"items\": [\n    \t{\n    \t\t\"item\": \"1232\",\n    \t\t\"qty\": 123,\n    \t\t\"price\": 123\n    \t}\n    ]\n  }\n]"},"url":"{{gateway_host}}/receipts/{{account_id}}/{{invoice_receipt_id}}/invoices"},"response":[],"_postman_id":"6976eaf1-2a87-af55-0a27-95cc6f86a966"},{"name":"void single","id":"260ebdec-0c81-68b6-92da-2289622e4a6d","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"amount\": {{$randomInt}},\n  \"attributes\": {\n    \"obj\": {\n      \"name\": \"Jack\",\n      \"updated\": {{$timestamp}}\n    }\n  }\n}"},"url":"{{gateway_host}}/receipts/{{account_id}}/{{invoice_receipt_id}}/void"},"response":[],"_postman_id":"260ebdec-0c81-68b6-92da-2289622e4a6d"},{"name":"update","id":"7fba321c-9482-b2c2-cb21-743ae672a034","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"status\": 0\n}"},"url":"{{gateway_host}}/receipts/{{staff_account_id}}/{{invoice_receipt_id}}"},"response":[],"_postman_id":"7fba321c-9482-b2c2-cb21-743ae672a034"},{"name":"delete one","id":"46573c67-56a2-ea2c-e8f1-b7388e0c0e04","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":""},"url":"{{gateway_host}}/receipts/{{account_id}}/{{invoice_receipt_id}}"},"response":[],"_postman_id":"46573c67-56a2-ea2c-e8f1-b7388e0c0e04"},{"name":"delete many","id":"7c4eb339-7a11-f50e-da1e-3635fba8fa8e","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n\t\"ids\": [\n\t\t\"3861ce6d-63d1-4cec-940a-bdd6b025f1ae\",\n\t\t\"8d88873b-203e-4231-aff2-767d943db8cb\"\n\t]\n}"},"url":"{{gateway_host}}/receipts/{{account_id}}/_batch"},"response":[],"_postman_id":"7c4eb339-7a11-f50e-da1e-3635fba8fa8e"},{"name":"get views","id":"590c63d9-defc-483d-a56d-e545e71f8690","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"d193D3vgIuosqnUcn1uQjz6ENLJsko0UfXWOtT6RvswU8EuMBgNWpLOohNjfHvjYQtr8Knq8sBCGTTjBlf3aAX"}},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"limit\": 10,\n    \"skip\": 0,\n    \"filters\": {\n        \"received\": {}\n    },\n    \"sort\": {\n        \"amount\": \"asc\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{gateway_host}}/receipts/:account_id/view","host":["{{gateway_host}}"],"path":["receipts",":account_id","view"],"variable":[{"id":"b5e44b52-8f9f-422d-b016-61fcd344367e","key":"account_id","value":"1510188624.5357"}]}},"response":[],"_postman_id":"590c63d9-defc-483d-a56d-e545e71f8690"}],"id":"cc1b139e-d9f9-f505-fcdb-4c43cb59d0a7","_postman_id":"cc1b139e-d9f9-f505-fcdb-4c43cb59d0a7"},{"name":"Shipment","item":[{"name":"location","item":[{"name":"all","id":"9863af96-4a43-90eb-c171-714e07b5bca0","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"name\",\n  \"description\": \"description\",\n  \"body\": \"body\",\n  \"tags\": [\"tag1\", \"tag2\"],\n  \"archived\": \"false\"\n}"},"url":{"raw":"{{gateway_host}}/locations?limit=2&skip=0","host":["{{gateway_host}}"],"path":["locations"],"query":[{"key":"limit","value":"2"},{"key":"skip","value":"0"}]}},"response":[],"_postman_id":"9863af96-4a43-90eb-c171-714e07b5bca0"},{"name":"create","id":"4fbff28b-6365-293e-3381-2ff4d7c7110b","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Location USA - {{$randomInt}}\",\n  \"type\": \"pickup\",\n  \"country\": \"US\",\n  \"city\": \"New York\",\n   \"user_id\": \"user-id\"\n}"},"url":"{{gateway_host}}/locations"},"response":[],"_postman_id":"4fbff28b-6365-293e-3381-2ff4d7c7110b"},{"name":"get","id":"9222f4d9-940a-877d-4637-cc3b260aefcd","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"deal_id\": \"deal\",\n  \"carrier\": \"ups\",\n  \"code\": \"code\"\n}"},"url":"{{gateway_host}}/locations/{{location_id}}"},"response":[],"_postman_id":"9222f4d9-940a-877d-4637-cc3b260aefcd"},{"name":"update","id":"4eab6951-709f-48bc-0884-1efb034f4869","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"type\": \"delivery\",\n  \"user_id\": \"1234-{{$randomInt}}\"\n}"},"url":"{{gateway_host}}/locations/{{location_id}}"},"response":[],"_postman_id":"4eab6951-709f-48bc-0884-1efb034f4869"},{"name":"delete","id":"57d40aa1-9b91-e704-49f7-0be6c4fb3188","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":""},"url":"{{gateway_host}}/locations/{{location_id}}"},"response":[],"_postman_id":"57d40aa1-9b91-e704-49f7-0be6c4fb3188"}],"id":"ae0c52c5-6706-65a1-3858-bc08d2d5b8df","_postman_id":"ae0c52c5-6706-65a1-3858-bc08d2d5b8df"},{"name":"unlocode","item":[{"name":"lookup","id":"7021e7ac-5a82-4457-99d1-6ae60388ffcd","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":{"raw":"{{gateway_host}}/unlocodes/:country_code/:subdivision_code/?name=New York","host":["{{gateway_host}}"],"path":["unlocodes",":country_code",":subdivision_code",""],"query":[{"key":"name","value":"New York"}],"variable":[{"key":"country_code","value":"US"},{"key":"subdivision_code","value":"NY"}]}},"response":[],"_postman_id":"7021e7ac-5a82-4457-99d1-6ae60388ffcd"}],"id":"2bb4e2f9-9a15-4fb0-98f6-af940f09f33e","_postman_id":"2bb4e2f9-9a15-4fb0-98f6-af940f09f33e"},{"name":"segment","item":[{"name":"all","id":"95b30fac-0a9c-1b51-3e47-5b610c46e7ba","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"name\",\n  \"description\": \"description\",\n  \"body\": \"body\",\n  \"tags\": [\"tag1\", \"tag2\"],\n  \"archived\": \"false\"\n}"},"url":{"raw":"{{gateway_host}}/segments?skip=0","host":["{{gateway_host}}"],"path":["segments"],"query":[{"key":"skip","value":"0"}]}},"response":[],"_postman_id":"95b30fac-0a9c-1b51-3e47-5b610c46e7ba"},{"name":"create","id":"55066e0f-ae06-c0d0-2ee1-91731b69d3fb","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"shipment_id\": \"d4wv4wv4g-{{$randomInt}}\",\n  \"type\": \"land\",\n  \"attributes\": {\"a\": 1, \"b\": 2, \"c\": 3, \"d\": 4},\n  \"archived\": false,\n  \"carrier_id\": \"{{carrier_id}}\",\n  \"deals\": [\"{{deal_id}}\", \"random\"],\n  \"booking_id\": \"26a3f199-943d-4468-89ab-6f3b30e29717\"\n}"},"url":"{{gateway_host}}/segments"},"response":[],"_postman_id":"55066e0f-ae06-c0d0-2ee1-91731b69d3fb"},{"name":"get all by deal ids","id":"ab41ff67-7dd0-4711-a5e6-707f3e6b4ace","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"kGGVuydeC1fDkWIoVPJUeWnnl67RqPaOkwWZsyX4BbyGCQcRASOeSXR3KUh9PmmQqfqwiRfBeC5FIRnvAGhuI3"}},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"deal_ids\": [\n  \t\"BWI107386TC\"\n  \t]\n}"},"url":"{{gateway_host}}/segments/by-deal-ids"},"response":[],"_postman_id":"ab41ff67-7dd0-4711-a5e6-707f3e6b4ace"},{"name":"filter","id":"becad197-228d-4dd2-a6fa-3e455ffd2433","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"deal_ids\": [\n  \t\"BWI100083TC\",\n  \t\"BWI100085TC\"\n  \t]\n}"},"url":"{{gateway_host}}/segments/by-deal-ids"},"response":[],"_postman_id":"becad197-228d-4dd2-a6fa-3e455ffd2433"},{"name":"get","id":"a8e14018-3d01-8cf2-ebf5-79dd22bc96fe","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"deal_id\": \"deal\",\n  \"carrier\": \"ups\",\n  \"code\": \"code\"\n}"},"url":"{{gateway_host}}/segments/{{segment_id}}"},"response":[],"_postman_id":"a8e14018-3d01-8cf2-ebf5-79dd22bc96fe"},{"name":"update","id":"707771c6-a6d1-1bc0-86eb-acbc0d79e99d","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"type\": \"sea\"\n}"},"url":"{{gateway_host}}/segments/{{segment_id}}"},"response":[],"_postman_id":"707771c6-a6d1-1bc0-86eb-acbc0d79e99d"},{"name":"delete","id":"773e0261-1d2b-3de1-453d-21b229bc83fc","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":""},"url":"{{gateway_host}}/segments/{{segment_id}}"},"response":[],"_postman_id":"773e0261-1d2b-3de1-453d-21b229bc83fc"}],"id":"bee60705-634b-3009-c759-48f27f25b887","_postman_id":"bee60705-634b-3009-c759-48f27f25b887"},{"name":"shipment","item":[{"name":"all","id":"ba7cf631-b911-0cce-2424-a3e43375c2b5","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"name\",\n  \"description\": \"description\",\n  \"body\": \"body\",\n  \"tags\": [\"tag1\", \"tag2\"],\n  \"archived\": \"false\"\n}"},"url":"{{gateway_host}}/shipments"},"response":[],"_postman_id":"ba7cf631-b911-0cce-2424-a3e43375c2b5"},{"name":"get all by deal ids","id":"332d6361-e9c7-483a-8387-08e9b14488be","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"deal_ids\": [\n  \t\"BWI100083TC\",\n  \t\"BWI100085TC\"\n  \t]\t\n}"},"url":"{{gateway_host}}/shipments/by-deal-ids"},"response":[],"_postman_id":"332d6361-e9c7-483a-8387-08e9b14488be"},{"name":"create","id":"ecee3fac-6160-25db-092d-9b6777140ffa","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"weight\": {\n    \"max\": 4,\n    \"metric\": \"kg\"\n  },\n  \"deals\": [\"{{deal_id}}\", \"b-{{$randomInt}}\", \"c\"],\n  \"origins\": [1, 2, 3],\n  \"destinations\": [4, 5, 6],\n  \"containers\": [\n  \t{\n    \"size\": 3,\n    \"weight\": 4,\n    \"container_number\": \"{{container_number}}\"\n  }],\n  \"attributes\": {\"a\": 1, \"b\": 2},\n  \"archived\": false\n}"},"url":"{{gateway_host}}/shipments"},"response":[],"_postman_id":"ecee3fac-6160-25db-092d-9b6777140ffa"},{"name":"get","id":"57a418a9-a40e-f6a3-4c8a-3fbef963b0fb","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"deal_id\": \"deal\",\n  \"carrier\": \"ups\",\n  \"code\": \"code\"\n}"},"url":"{{gateway_host}}/shipments/{{shipment_id}}"},"response":[],"_postman_id":"57a418a9-a40e-f6a3-4c8a-3fbef963b0fb"},{"name":"update","id":"9ed1fa09-9fc4-b325-6f12-a90d96f17446","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"deals\": [\"x-{{$randomInt}}\", \"y-{{$randomInt}}\", \"z-{{$randomInt}}\"]\n}"},"url":"{{gateway_host}}/shipments/{{shipment_id}}"},"response":[],"_postman_id":"9ed1fa09-9fc4-b325-6f12-a90d96f17446"},{"name":"delete","id":"ed13a76e-9641-edf1-23e8-38b6022ffd5f","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":""},"url":"{{gateway_host}}/shipments/{{shipment_id}}"},"response":[],"_postman_id":"ed13a76e-9641-edf1-23e8-38b6022ffd5f"}],"id":"38eb6bd3-7bbb-1b2a-c81b-0384b30497d1","_postman_id":"38eb6bd3-7bbb-1b2a-c81b-0384b30497d1"},{"name":"shipment rates","item":[{"name":"all","id":"a7ae2015-6111-23e5-577f-228cbbf14b3a","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"name\",\n  \"description\": \"description\",\n  \"body\": \"body\",\n  \"tags\": [\"tag1\", \"tag2\"],\n  \"archived\": \"false\"\n}"},"url":{"raw":"{{gateway_host}}/shipment-rates?skip=0","host":["{{gateway_host}}"],"path":["shipment-rates"],"query":[{"key":"skip","value":"0"}]}},"response":[],"_postman_id":"a7ae2015-6111-23e5-577f-228cbbf14b3a"},{"name":"create","id":"baad213e-c5d2-5014-175f-57e99ced3520","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"until\": 1507716983,\n  \"product_category\": \"product category testing - {{$randomInt}}\",\n  \"weight\": {\n    \"max\": 4,\n    \"metric\": \"kg\"\n  },\n  \"user_id\": \"12740546\",\n  \"type\": \"land\",\n  \"carrier_id\": \"h45y5rg\",\n  \"origin_id\": \"origin id 3\",\n  \"destination_id\": \"destination id 3\",\n  \"container_size\": 4,\n  \"rate\": {\n    \"amount\": 3,\n    \"currency_id\": \"USD\"\n  },\n  \"description\": \"This is description\",\n  \"archived\": false\n}"},"url":"{{gateway_host}}/shipment-rates"},"response":[],"_postman_id":"baad213e-c5d2-5014-175f-57e99ced3520"},{"name":"get","id":"aaf10ad7-d4eb-faf2-3150-e954d7cd0e42","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"deal_id\": \"deal\",\n  \"carrier\": \"ups\",\n  \"code\": \"code\"\n}"},"url":"{{gateway_host}}/shipment-rates/{{rate_id}}"},"response":[],"_postman_id":"aaf10ad7-d4eb-faf2-3150-e954d7cd0e42"},{"name":"update","id":"4cb2efe9-f2da-4f65-f449-67318f57c158","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"product_category\": \"new category {{$randomInt}}\"\n}"},"url":"{{gateway_host}}/shipment-rates/{{rate_id}}"},"response":[],"_postman_id":"4cb2efe9-f2da-4f65-f449-67318f57c158"},{"name":"delete","id":"b86cf02e-23e6-a365-ddae-958d361c53b4","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":""},"url":"{{gateway_host}}/shipment-rates/{{rate_id}}"},"response":[],"_postman_id":"b86cf02e-23e6-a365-ddae-958d361c53b4"},{"name":"clone","id":"58beda1b-fa8a-4a4f-ad87-b9060c5b68ea","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"e595IgmhMjjkZXgvBsdHIy08fTdToz67Gn2LJgW5dntBJrAD2v1oL9uEgdDr1CmIJjdy6KyN8AtcmWLecNPMWn"}},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"rate_ids\": [\n        \"9842646e-9bd7-45ef-a923-83aab68c4214\",\n        \"e94ba825-dced-4ddd-8507-b40e729566d8\"\n        ],\n    \"change\":  100,\n    \"date_quoted\": 1631881372,\n    \"until\": 1632140572,\n    \"retire_now\": false\n}","options":{"raw":{"language":"json"}}},"url":"{{gateway_host}}/shipment-rates/clone"},"response":[],"_postman_id":"58beda1b-fa8a-4a4f-ad87-b9060c5b68ea"},{"name":"Bulk Expire","id":"0973a6b9-fc5e-43b1-809a-8b5b412aa152","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"9OtS9LbJ2BKQX9t95VoGiSYeHuzwTWT9EjdWaE71fRK9MudRdAI1gwOFA1pngPAo07Zj4eyP3PXG3wje8YA01m"}},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"rate_ids\": [\r\n        \"677c6fa0-449a-4c2f-bf7c-08c50b5122e7\",\r\n        \"83f00824-95b5-4019-9515-55e353a30128\",\r\n        \"cecd7faa-f053-4d6b-87b0-ecd7f6690fce\",\r\n        \"d4b439a2-1b6b-439a-9399-ff0513edb982\",\r\n        \"f447c0c7-5422-494c-b202-3e3f7ac2c907\",\r\n        \"daec977f-3573-4312-b02b-e7338e7ce18b\",\r\n        \"6047e3d0-3a1a-4e9c-8993-135b72957a40\"\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"{{gateway_host}}/shipment-rates/bulk-expire"},"response":[],"_postman_id":"0973a6b9-fc5e-43b1-809a-8b5b412aa152"}],"id":"2daf9bfb-1e8f-bc6c-49c2-70b05acf61c2","_postman_id":"2daf9bfb-1e8f-bc6c-49c2-70b05acf61c2"},{"name":"transit time","item":[{"name":"all","id":"8c0e070b-3aa9-200d-2a2a-50f1b85a712d","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"name\",\n  \"description\": \"description\",\n  \"body\": \"body\",\n  \"tags\": [\"tag1\", \"tag2\"],\n  \"archived\": \"false\"\n}"},"url":{"raw":"{{gateway_host}}/transit-time?skip=0","host":["{{gateway_host}}"],"path":["transit-time"],"query":[{"key":"skip","value":"0"}]}},"response":[],"_postman_id":"8c0e070b-3aa9-200d-2a2a-50f1b85a712d"},{"name":"create","id":"b1c1447f-c779-98db-e311-765428b59292","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"user_id\": \"{{user_id}}\",\n  \"name\": \"new transit-time\",\n  \"pickup\": \"location-id-1\",\n  \"delivery\": \"location-id-{{$randomInt}}\",\n  \"time\": 22,\n  \"type\": \"land\",\n  \"archived\": false\n}"},"url":"{{gateway_host}}/transit-time"},"response":[],"_postman_id":"b1c1447f-c779-98db-e311-765428b59292"},{"name":"get","id":"f2ff55be-f1f5-6980-0c78-62334c9d8375","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"deal_id\": \"deal\",\n  \"carrier\": \"ups\",\n  \"code\": \"code\"\n}"},"url":"{{gateway_host}}/transit-time/{{transit_time_id}}"},"response":[],"_postman_id":"f2ff55be-f1f5-6980-0c78-62334c9d8375"},{"name":"update","id":"1d96d825-c5fa-d9bc-50ad-24663de5f8e5","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"new name - {{$randomInt}}\"\n}"},"url":"{{gateway_host}}/transit-time/{{transit_time_id}}"},"response":[],"_postman_id":"1d96d825-c5fa-d9bc-50ad-24663de5f8e5"},{"name":"delete","id":"d94035ad-4868-24d6-db64-53bd8998ea8a","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":""},"url":"{{gateway_host}}/transit-time/{{transit_time_id}}"},"response":[],"_postman_id":"d94035ad-4868-24d6-db64-53bd8998ea8a"}],"id":"94908122-d12b-e4aa-2840-230b078294c2","_postman_id":"94908122-d12b-e4aa-2840-230b078294c2"},{"name":"tracking providers","item":[{"name":"all","id":"cb2511a8-11c5-2fb4-98bc-45395b3978d1","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"name\",\n  \"description\": \"description\",\n  \"body\": \"body\",\n  \"tags\": [\"tag1\", \"tag2\"],\n  \"archived\": \"false\"\n}"},"url":{"raw":"{{gateway_host}}/tracking-providers?skip=0","host":["{{gateway_host}}"],"path":["tracking-providers"],"query":[{"key":"skip","value":"0"}]}},"response":[],"_postman_id":"cb2511a8-11c5-2fb4-98bc-45395b3978d1"},{"name":"create","id":"034579a5-9103-941f-41eb-f839d481033b","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"provider name\",\n  \"url\": \"http://url\",\n  \"user_id\": \"userId\",\n  \"attributes\": {\"a\": 3, \"b\": 5},\n  \"archived\": false\n}"},"url":"{{gateway_host}}/tracking-providers"},"response":[],"_postman_id":"034579a5-9103-941f-41eb-f839d481033b"},{"name":"get","id":"eb91e6c7-dd8a-16fb-bfd7-d2120026a49b","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"deal_id\": \"deal\",\n  \"carrier\": \"ups\",\n  \"code\": \"code\"\n}"},"url":"{{gateway_host}}/tracking-providers/{{tracking_providers_id}}"},"response":[],"_postman_id":"eb91e6c7-dd8a-16fb-bfd7-d2120026a49b"},{"name":"update","id":"76ab3106-fd97-6190-7fb0-ecb37639a663","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"new name - {{$randomInt}}\"\n}"},"url":"{{gateway_host}}/tracking-providers/{{tracking_providers_id}}"},"response":[],"_postman_id":"76ab3106-fd97-6190-7fb0-ecb37639a663"},{"name":"delete","id":"fe562284-05cf-cd07-cbb4-b04292d9ac05","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":""},"url":"{{gateway_host}}/transit-time/{{transit_time_id}}"},"response":[],"_postman_id":"fe562284-05cf-cd07-cbb4-b04292d9ac05"}],"id":"bb7d54dc-352d-0187-132f-5e6a9e812f3d","_postman_id":"bb7d54dc-352d-0187-132f-5e6a9e812f3d"},{"name":"carrier","item":[{"name":"all","id":"a4a2e88b-b276-8623-2a9d-af2b7611b6c1","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"name\",\n  \"description\": \"description\",\n  \"body\": \"body\",\n  \"tags\": [\"tag1\", \"tag2\"],\n  \"archived\": \"false\"\n}"},"url":{"raw":"{{gateway_host}}/carriers?skip=0&account={{staff_account_id}}&attributes={\"foo\": \"B\"}","host":["{{gateway_host}}"],"path":["carriers"],"query":[{"key":"skip","value":"0"},{"key":"account","value":"{{staff_account_id}}"},{"key":"attributes","value":"{\"foo\": \"B\"}"}]}},"response":[],"_postman_id":"a4a2e88b-b276-8623-2a9d-af2b7611b6c1"},{"name":"create","id":"14a5a1b3-87ab-db5d-0a83-339f5ad7eac8","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"user_id\": \"{{user_id}}\",\n  \"name\": \"new carrier {{$randomInt}}\",\n  \"account\" : \"123\",\n  \"type\": [\"land\"],\n  \"description\": \"new product {{$timestamp}}\",\n  \"archived\": false\n}"},"url":"{{gateway_host}}/carriers"},"response":[],"_postman_id":"14a5a1b3-87ab-db5d-0a83-339f5ad7eac8"},{"name":"get","id":"61290e73-0945-f55d-583b-78180a53064a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"deal_id\": \"deal\",\n  \"carrier\": \"ups\",\n  \"code\": \"code\"\n}"},"url":{"raw":"{{gateway_host}}/carriers/:carrier_id","host":["{{gateway_host}}"],"path":["carriers",":carrier_id"],"variable":[{"key":"carrier_id","value":""}]}},"response":[],"_postman_id":"61290e73-0945-f55d-583b-78180a53064a"},{"name":"update","id":"a41870af-d5af-7ef1-ab55-563171cf5667","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"type\": \"sea\",\n  \"name\": \"some name {{$randomInt}}\"\n}"},"url":"{{gateway_host}}/carriers/{{carrier_id}}"},"response":[],"_postman_id":"a41870af-d5af-7ef1-ab55-563171cf5667"},{"name":"delete","id":"bb371924-c442-dd62-bcc9-c0eae502194e","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":""},"url":"{{gateway_host}}/carriers/{{carrier_id}}"},"response":[],"_postman_id":"bb371924-c442-dd62-bcc9-c0eae502194e"}],"id":"8046326b-9a49-65d7-2257-dedef1512721","_postman_id":"8046326b-9a49-65d7-2257-dedef1512721"},{"name":"track","item":[{"name":"track","id":"dd078cad-cc0c-5de2-c697-cb5fd9314827","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"deal_id\": \"deal\",\n  \"carrier\": \"ups\",\n  \"code\": \"code\"\n}"},"url":"{{gateway_host}}/tracking/track/{{container_number}}"},"response":[],"_postman_id":"dd078cad-cc0c-5de2-c697-cb5fd9314827"}],"id":"f63a23e0-ea8e-57cc-02f0-57cd3879b4d5","_postman_id":"f63a23e0-ea8e-57cc-02f0-57cd3879b4d5"},{"name":"request","item":[{"name":"/shipments-request/:deal_id","id":"c99dcc4a-ce12-4c8d-b3d2-dd05266ac856","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{gateway_host}}/shipment-request/:deal_id","host":["{{gateway_host}}"],"path":["shipment-request",":deal_id"],"variable":[{"id":"6636d6a9-6d53-487b-8a1f-0e9c39befcb0","key":"deal_id","value":"BWI113155TC"}]}},"response":[],"_postman_id":"c99dcc4a-ce12-4c8d-b3d2-dd05266ac856"}],"id":"e48f69f9-b89b-4b5a-b678-7d27d97d2668","_postman_id":"e48f69f9-b89b-4b5a-b678-7d27d97d2668"},{"name":"routes","item":[{"name":"Get Lowest Cost Routes","id":"0abb6f62-d15d-427d-ba6e-3e9a7d3f47d6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"origin_id\": \"bb3218d8-a816-471f-8803-1f2970b8aed3\",\r\n    \"destination_id\": \"07e86dde-48e4-42dc-8940-e04158ea86a4\",\r\n    \"options\": {\r\n        \"count\": 5,\r\n        \"filters\": {\r\n            \"timestamp\": 1717027199\r\n        }\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"{{gateway_host}}/routes/cost"},"response":[],"_postman_id":"0abb6f62-d15d-427d-ba6e-3e9a7d3f47d6"},{"name":"Get Fastest Routes","id":"1dd211a2-9490-4941-8ff8-74ea64f8eb8c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"origin_id\": \"bb3218d8-a816-471f-8803-1f2970b8aed3\",\r\n    \"destination_id\": \"07e86dde-48e4-42dc-8940-e04158ea86a4\",\r\n    \"options\": {\r\n        \"count\": 5,\r\n        \"filters\": {\r\n            \"timestamp\": 1717027199\r\n        }\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"{{gateway_host}}/routes/time"},"response":[],"_postman_id":"1dd211a2-9490-4941-8ff8-74ea64f8eb8c"}],"id":"cabc5fbc-52b2-4ee3-8746-2b7b16c20a7d","_postman_id":"cabc5fbc-52b2-4ee3-8746-2b7b16c20a7d"}],"id":"50dfb54a-d0fa-4c0d-bcb2-27d3a254c7e3","_postman_id":"50dfb54a-d0fa-4c0d-bcb2-27d3a254c7e3"},{"name":"Table views","item":[{"name":"search","id":"267cda20-1ec2-9927-89fb-44852acb83cc","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"formdata","formdata":[]},"url":"{{gateway_host}}/{{staff_account_id}}/table-views","description":"A simple API ping to check status."},"response":[],"_postman_id":"267cda20-1ec2-9927-89fb-44852acb83cc"},{"name":"create","id":"86d9ff86-dfd3-8790-83b1-8909749fd23a","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n\t\"account\":  \"{{account_id}}\",\n\t\"user_id\": \"{{user_id}}\",\n\t\"table\": \"foo\"\n}"},"url":"{{gateway_host}}/{{account_id}}/table-views","description":"A simple API ping to check status."},"response":[],"_postman_id":"86d9ff86-dfd3-8790-83b1-8909749fd23a"},{"name":"get single","id":"1e815804-9ba1-bc49-b7a5-a079bb5a8b26","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n\t\"account\":  \"{{account_id}}\",\n\t\"user_id\": \"{{user_id}}\",\n\t\"table\": \"foo\"\n}"},"url":"{{gateway_host}}/{{staff_account_id}}/table-views/{{table_view_id}}","description":"A simple API ping to check status."},"response":[],"_postman_id":"1e815804-9ba1-bc49-b7a5-a079bb5a8b26"},{"name":"update","id":"4626baef-1e4a-ba9e-cc07-bb37181609ae","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n\t\"table\": \"foo {{$randomInt}}\"\n}"},"url":"{{gateway_host}}/{{account_id}}/table-views/{{table_view_id}}","description":"A simple API ping to check status."},"response":[],"_postman_id":"4626baef-1e4a-ba9e-cc07-bb37181609ae"},{"name":"delete","id":"ef54a58d-db17-dcde-56bc-6e9cc24d293c","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n\t\"table\": \"foo {{$randomInt}}\"\n}"},"url":"{{gateway_host}}/{{account_id}}/table-views/{{table_view_id}}","description":"A simple API ping to check status."},"response":[],"_postman_id":"ef54a58d-db17-dcde-56bc-6e9cc24d293c"},{"name":"make private","id":"07de8c08-6d23-31d3-fdfb-7418fe9a5141","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n\t\"table\": \"foo {{$randomInt}}\"\n}"},"url":"{{gateway_host}}/{{account_id}}/table-views/{{table_view_id}}/private","description":"A simple API ping to check status."},"response":[],"_postman_id":"07de8c08-6d23-31d3-fdfb-7418fe9a5141"},{"name":"make public","id":"ab81e193-6a49-e5f2-120a-484a7075ec65","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n\t\"table\": \"foo {{$randomInt}}\"\n}"},"url":"{{gateway_host}}/{{account_id}}/table-views/{{table_view_id}}/public","description":"A simple API ping to check status."},"response":[],"_postman_id":"ab81e193-6a49-e5f2-120a-484a7075ec65"},{"name":"share","id":"fafdaaca-f1f3-b601-1797-7192b86eb0d0","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n\t\"user_id\": \"{{user_id}}\"\n}"},"url":"{{gateway_host}}/{{account_id}}/table-views/{{table_view_id}}/share","description":"A simple API ping to check status."},"response":[],"_postman_id":"fafdaaca-f1f3-b601-1797-7192b86eb0d0"},{"name":"unshare","id":"cff8ad21-0def-07e6-2f70-d002281653c4","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n\t\"user_id\": \"{{user_id}}\"\n}"},"url":"{{gateway_host}}/{{account_id}}/table-views/{{table_view_id}}/unshare","description":"A simple API ping to check status."},"response":[],"_postman_id":"cff8ad21-0def-07e6-2f70-d002281653c4"}],"id":"606ce448-a1d4-80fd-dded-01ef15bedcec","_postman_id":"606ce448-a1d4-80fd-dded-01ef15bedcec"},{"name":"Templates","item":[{"name":"all","id":"642543b2-10b4-4ce7-144f-21020d6ac684","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"name\",\n  \"description\": \"description\",\n  \"body\": \"body\",\n  \"tags\": [\"tag1\", \"tag2\"],\n  \"archived\": \"false\"\n}"},"url":"{{gateway_host}}/{{staff_account_id}}/templates"},"response":[],"_postman_id":"642543b2-10b4-4ce7-144f-21020d6ac684"},{"name":"create","id":"c92670b0-67bc-1460-0aac-221bfe75d5b7","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"account\":\"{{account_id}}\",\n  \"user_id\": \"{{user_id}}\",\n  \"name\": \"name\",\n  \"description\": \"description\",\n  \"body\": \"deal id: <var name=deal_id/> was updated. Getting for any updated deal.\",\n  \"archived\": false\n}"},"url":"{{gateway_host}}/{{account_id}}/templates"},"response":[],"_postman_id":"c92670b0-67bc-1460-0aac-221bfe75d5b7"},{"name":"get","id":"9815c02d-8958-b6de-fdb8-1cec0b6beb01","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"name\",\n  \"description\": \"description\",\n  \"body\": \"body\",\n  \"tags\": [\"tag1\", \"tag2\"],\n  \"archived\": \"false\"\n}"},"url":"{{gateway_host}}/{{staff_account_id}}/templates/{{template_id}}"},"response":[],"_postman_id":"9815c02d-8958-b6de-fdb8-1cec0b6beb01"},{"name":"update","id":"b4916aca-d0f5-333f-3ec4-ca70fb0534d8","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"name-{{$randomInt}}\",\n  \"description\": \"description-{{$randomInt}}\",\n  \"body\": \"deal created! id: <var name=deal_id/> inside attributes.sample: <var name=attributes.sample/>\",\n  \"user_id\": \"{{user_id}}\"\n}"},"url":"{{gateway_host}}/{{staff_account_id}}/templates/{{template_id}}"},"response":[],"_postman_id":"b4916aca-d0f5-333f-3ec4-ca70fb0534d8"},{"name":"delete","id":"7dbf5010-56e8-5dbe-6fc6-414861aeef3c","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":""},"url":"{{gateway_host}}/{{account_id}}/templates/{{template_id}}"},"response":[],"_postman_id":"7dbf5010-56e8-5dbe-6fc6-414861aeef3c"},{"name":"parse","id":"c7f2a76e-5ed4-4226-1acf-e639a4f6d195","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"deal_id\": \"DEAL123\",\n  \"attributes.sample\": \"123\"\n}"},"url":"{{gateway_host}}/{{account_id}}/templates/{{template_id}}/parse"},"response":[],"_postman_id":"c7f2a76e-5ed4-4226-1acf-e639a4f6d195"},{"name":"/templates/languages","id":"147d5c20-6f5a-45ad-b1bd-981ee30abbcf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{gateway_host}}/templates/languages"},"response":[],"_postman_id":"147d5c20-6f5a-45ad-b1bd-981ee30abbcf"},{"name":"/templates/translate","id":"6459041c-7f8b-439e-948a-d1ad348b7587","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"LNibGrimldUe14sT1CuRIpGBRlvnEm0UVUFy4Lry7NXjfbisJvCaEOfr4XfjVhy9BSyZBIQPJVBh6zS3sU0G5C"}},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\t\"message\": \"Hello my friend\",\n\t\"target\": \"lt\"\n}","options":{"raw":{"language":"json"}}},"url":"{{gateway_host}}/templates/translate"},"response":[],"_postman_id":"6459041c-7f8b-439e-948a-d1ad348b7587"}],"id":"44036b3e-fc02-0a2a-b23d-8f9534d5520d","_postman_id":"44036b3e-fc02-0a2a-b23d-8f9534d5520d"},{"name":"Triggers","item":[{"name":"recipient","item":[{"name":"get types","id":"c5aadc93-549b-4629-9f10-3fc38bfc99c4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{gateway_host}}/recipient/type"},"response":[{"id":"99eb48b3-99d7-4753-af09-8b69e5147e1c","name":"get types","originalRequest":{"method":"GET","header":[],"url":"{{gateway_host}}/recipient/type"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Forward","value":"::1"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"344"},{"key":"ETag","value":"W/\"158-1PD+Vv3ASSPrKCWDWifWvkx7ahk\""},{"key":"Date","value":"Fri, 09 Aug 2019 08:27:51 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"label\": \"Logistics coordinator\",\n            \"value\": \"logistics_coordinator\"\n        },\n        {\n            \"label\": \"Buyer logistics coordinator\",\n            \"value\": \"buyer_logistics_coordinator\"\n        },\n        {\n            \"label\": \"Supplier logistics coordinator\",\n            \"value\": \"supplier_logistics_coordinator\"\n        },\n        {\n            \"label\": \"Buyer\",\n            \"value\": \"buyer\"\n        },\n        {\n            \"label\": \"Seller\",\n            \"value\": \"seller\"\n        },\n        {\n            \"label\": \"Trader\",\n            \"value\": \"trader\"\n        }\n    ]\n}"}],"_postman_id":"c5aadc93-549b-4629-9f10-3fc38bfc99c4"}],"id":"b7ecba2a-3557-47d5-8b75-df85f0bebb48","_postman_id":"b7ecba2a-3557-47d5-8b75-df85f0bebb48"},{"name":"events","item":[{"name":"create","id":"6afa3b6d-1599-4d95-8d19-e014b65df83b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"dLo5IqlDpSvgnQ1DYm5B4wfPeF3l82vgqzzj7q0BlgamTWUlDZLRpAlKOu5mKlqLXCjVSrqwXQCrzXKIaC1KMx"}},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"event\": \"tc-os-matched_offer-buyer-add-bid\",\n\t\"name\": \"Buyer Add Bid\",\n\t\"description\": \"Trading\"\n}"},"url":"{{gateway_host}}/events"},"response":[],"_postman_id":"6afa3b6d-1599-4d95-8d19-e014b65df83b"},{"name":"all","id":"2cc70d9c-e27a-43e3-8246-b2fd926072e3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{gateway_host}}/events"},"response":[],"_postman_id":"2cc70d9c-e27a-43e3-8246-b2fd926072e3"},{"name":"get","id":"b9c0b522-d882-46ed-82b2-6fd1b967b901","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{gateway_host}}/events/{{event_id}}"},"response":[],"_postman_id":"b9c0b522-d882-46ed-82b2-6fd1b967b901"},{"name":"update","id":"08570723-c0d8-4683-aa9c-d4fc78592422","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Supplier OfferName\"\n\t\n}"},"url":{"raw":"{{gateway_host}}/events/:event_id","host":["{{gateway_host}}"],"path":["events",":event_id"],"variable":[{"key":"event_id","value":""}]}},"response":[],"_postman_id":"08570723-c0d8-4683-aa9c-d4fc78592422"},{"name":"delete","id":"50507f60-46fe-4fe5-9547-cd2a3bd5650e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Supplier OfferName\"\n\t\n}"},"url":"{{gateway_host}}/events/{{event_id}}"},"response":[],"_postman_id":"50507f60-46fe-4fe5-9547-cd2a3bd5650e"}],"id":"b25646e2-f75c-447e-a09c-be7210c2a35b","event":[{"listen":"prerequest","script":{"id":"2553dacb-db47-48a7-8b67-8321b6869a7d","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"303e9e71-12c3-4afe-a0ef-5b8634fe2d76","type":"text/javascript","exec":[""]}}],"_postman_id":"b25646e2-f75c-447e-a09c-be7210c2a35b"},{"name":"notifications","item":[{"name":"create","id":"fa7ee668-5221-49f8-862b-7049a72d498b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"POST","header":[],"url":"{{gateway_host}}/notifications"},"response":[],"_postman_id":"fa7ee668-5221-49f8-862b-7049a72d498b"}],"id":"f385dcb6-fefd-4f26-ae6f-2a0c0966c25a","_postman_id":"f385dcb6-fefd-4f26-ae6f-2a0c0966c25a"},{"name":"create","id":"5aeb20b4-e642-7bf5-6959-fab08a747e1c","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"event\": \"tc-ds-deal-update\",\n  \"template\": \"7b081c8b-46d0-4d81-9d82-ac2320f1e00d\",\n  \"users\": [\"{{user_id}}\"],\n  \"attributes\": {\n    \"recipient_user_types\": [],\n    \"type\": \"email\"\n  },\n  \"creator_id\": \"{{user_id}}\",\n  \"account\": \"{{account_id}}\",\n  \"paused\": false\n}"},"url":"{{gateway_host}}/{{account_id}}/triggers"},"response":[],"_postman_id":"5aeb20b4-e642-7bf5-6959-fab08a747e1c"},{"name":"all","id":"e83a7127-c4e4-04ee-cc76-c5000d608ebb","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":"{{gateway_host}}/{{staff_account_id}}/triggers"},"response":[],"_postman_id":"e83a7127-c4e4-04ee-cc76-c5000d608ebb"},{"name":"get","id":"16829e50-d185-b6d6-57b8-209974ae3bde","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"deal_id\": \"deal\",\n  \"carrier\": \"ups\",\n  \"code\": \"code\"\n}"},"url":{"raw":"{{gateway_host}}/{{staff_account_id}}/triggers/:trigger_id","host":["{{gateway_host}}"],"path":["{{staff_account_id}}","triggers",":trigger_id"],"variable":[{"key":"trigger_id","value":"0702feec-fa46-41bc-aaef-b350da100925"}]}},"response":[],"_postman_id":"16829e50-d185-b6d6-57b8-209974ae3bde"},{"name":"update","id":"3271a033-9f82-7436-4b83-a26110398240","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"template\": \"template_id{{$randomInt}}\"\n}"},"url":"{{gateway_host}}/{{account_id}}/triggers/{{trigger_id}}"},"response":[],"_postman_id":"3271a033-9f82-7436-4b83-a26110398240"},{"name":"pause","id":"8408f848-98a7-ac18-c8e2-e5f9d3e592f0","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":""},"url":"{{gateway_host}}/{{account_id}}/triggers/{{trigger_id}}/pause"},"response":[],"_postman_id":"8408f848-98a7-ac18-c8e2-e5f9d3e592f0"},{"name":"resume","id":"4b64045b-0e65-7ed5-70ba-798e3ab220aa","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":""},"url":"{{gateway_host}}/{{account_id}}/triggers/{{trigger_id}}/resume"},"response":[],"_postman_id":"4b64045b-0e65-7ed5-70ba-798e3ab220aa"},{"name":"delete","id":"46e4238e-2cdc-9ed8-cbbf-d169dff5b5ad","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":""},"url":"{{gateway_host}}/{{account_id}}/triggers/fe353d65-d11e-457a-b55a-4baed64da87f"},"response":[],"_postman_id":"46e4238e-2cdc-9ed8-cbbf-d169dff5b5ad"}],"id":"331eab05-2cff-47a4-7d9a-c0f94116b2fb","_postman_id":"331eab05-2cff-47a4-7d9a-c0f94116b2fb"},{"name":"Users","item":[{"name":"all","id":"580a1aa3-825b-3197-1826-a52ed30bf78b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"fEHDp9K2DiUpS82gZOA35tfmfiaG5macIIsJe9lT2gsy7Cl5IpAVAMMPw14EPj3pGsMVHrHJ2H9YFcY1pJ8DMh"}},"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":{"raw":"{{gateway_host}}/:account_id/users","host":["{{gateway_host}}"],"path":[":account_id","users"],"query":[{"key":"archived","value":"true","description":"Set true to see deleted and archived users","disabled":true}],"variable":[{"key":"account_id","value":"1562075709.5146","type":"string"}]}},"response":[],"_postman_id":"580a1aa3-825b-3197-1826-a52ed30bf78b"},{"name":"staff all users","id":"6707d56b-a18f-a8ab-1305-e2f164e89197","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"name\",\n  \"description\": \"description\",\n  \"body\": \"body\",\n  \"tags\": [\"tag1\", \"tag2\"],\n  \"archived\": \"false\"\n}"},"url":"{{gateway_host}}/{{staff_account_id}}/users"},"response":[],"_postman_id":"6707d56b-a18f-a8ab-1305-e2f164e89197"},{"name":"create","id":"2b64f110-1be0-a949-76b4-968432aac358","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n    \"firstname\": \"First {{$randomInt}}\",\n    \"lastname\": \"Last {{$randomInt}}\",\n    \"role\": \"administrator\",\n    \"primaryemail\": \"a-user-{{$randomInt}}@test.com\",\n    \"primaryphone\": \"+12025551\",\n\t\"manager\" : \"202fddf2-62da-4aa6-b789-83d984885e51\",\n\t\"coordinator\": \"202fddf2-62da-4aa6-b789-83d984885e51\"\n}"},"url":"{{gateway_host}}/{{account_id}}/users"},"response":[],"_postman_id":"2b64f110-1be0-a949-76b4-968432aac358"},{"name":"create new user for staff account","id":"957a68af-c2c8-9d0f-0f24-984d6ef711c6","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n    \"firstname\": \"First {{$randomInt}}\",\n    \"lastname\": \"Last {{$randomInt}}\",\n    \"role\": \"administrator\",\n    \"primaryemail\": \"a-user-{{$randomInt}}@test.com\",\n    \"primaryphone\": \"+12025551{{$randomInt}}\"\n}"},"url":"{{gateway_host}}/{{staff_account_id}}/users"},"response":[],"_postman_id":"957a68af-c2c8-9d0f-0f24-984d6ef711c6"},{"name":"get","id":"fe8fd407-c690-10d7-61aa-f75a5597c679","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":{"raw":"{{gateway_host}}/:account_id/users/:user_id","host":["{{gateway_host}}"],"path":[":account_id","users",":user_id"],"variable":[{"key":"account_id","value":"1510188624.5357"},{"key":"user_id","value":"52e3a973-448e-47fc-aa38-36cb211f6c70"}]}},"response":[],"_postman_id":"fe8fd407-c690-10d7-61aa-f75a5597c679"},{"name":"update","id":"29fd4832-ea93-fa8e-6440-75e8587b0059","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n    \"attributes\": {\n        \"cell_phone\": \"37061041745\",\n        \"matched_offers_checked\": \"1578848792\"\n    },\n    \"address\": {\n        \"country\": \"Argentina\"\n    },\n    \"firstname\": \"Oleg\",\n    \"lastname\": \"Sviderskij\",\n    \"role\": \"manager\",\n    \"primaryemail\": \"oleg@dmarksai.com\",\n    \"primaryphone\": \"37061041745\",\n    \"login_allowed\": true\n}"},"url":{"raw":"{{gateway_host}}/:account_id/users/:user_id","host":["{{gateway_host}}"],"path":[":account_id","users",":user_id"],"variable":[{"key":"account_id","value":""},{"key":"user_id","value":"a12e3ef2-12aa-48dd-a55d-d603f46f6d2f"}]}},"response":[],"_postman_id":"29fd4832-ea93-fa8e-6440-75e8587b0059"},{"name":"update notifications","id":"e3362173-aa8d-4de7-8541-ff108420f9fd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"Unk6AMPBamLYyibF2OB9nqvHJGUr3Jumi1YARzXb1V5pBDctT8pde2DLWBWZdmA3GV2E1GMAq7BRhSQQxWvaOl"}},"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n    \"notifications\": [\n        {\n            \"event\": \"testEvent5\",\n            \"channels\": [\n                {\n                    \"name\": \"mobile\",\n                    \"enabled\": true\n                },\n                {\n                    \"name\": \"sms\",\n                    \"enabled\": false\n                }\n            ]\n        },\n        {\n            \"event\": \"testEvent1\",\n            \"channels\": [\n                {\n                    \"name\": \"email\",\n                    \"enabled\": false\n                }\n            ]\n        }\n    ]\n}"},"url":"{{gateway_host}}/{{account_id}}/users/{{user_id}}/notifications"},"response":[],"_postman_id":"e3362173-aa8d-4de7-8541-ff108420f9fd"},{"name":"set password by email","id":"9729327f-fc4c-84c0-c9e6-67c78f3f19f3","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"password\": \"{{user_password}}\"\n}"},"url":{"raw":"{{gateway_host}}/users/reset-password?email={{user_email}}","host":["{{gateway_host}}"],"path":["users","reset-password"],"query":[{"key":"email","value":"{{user_email}}"}]}},"response":[],"_postman_id":"9729327f-fc4c-84c0-c9e6-67c78f3f19f3"},{"name":"set password by user id","id":"5edd6f21-fc0b-166e-dbde-3af2830bddc6","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"password\": \"{{user_password}}\"\n}"},"url":{"raw":"{{gateway_host}}/users/reset-password?user_id={{user_id}}","host":["{{gateway_host}}"],"path":["users","reset-password"],"query":[{"key":"user_id","value":"{{user_id}}"}]}},"response":[],"_postman_id":"5edd6f21-fc0b-166e-dbde-3af2830bddc6"},{"name":"delete","id":"4d1ad3cc-8683-eb13-4a69-a298f57098e3","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":""},"url":"{{gateway_host}}/{{account_id}}/users/{{user_id}}"},"response":[],"_postman_id":"4d1ad3cc-8683-eb13-4a69-a298f57098e3"},{"name":"is active","id":"4aed6a6a-8add-ccb0-b2cb-f23919987b54","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"name\",\n  \"description\": \"description\",\n  \"body\": \"body\",\n  \"tags\": [\"tag1\", \"tag2\"],\n  \"archived\": \"false\"\n}"},"url":"{{gateway_host}}/{{account_id}}/users/{{user_id}}/is-active"},"response":[],"_postman_id":"4aed6a6a-8add-ccb0-b2cb-f23919987b54"},{"name":"/users/onesignal/:user_id Copy","id":"df83cd28-acfc-4c9d-b617-6f5e87515668","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"onesignal_player_id\": \"<onesignal_player_id>\",\n    \"timestamp\": 123412412412,\n    \"sound\": true,\n    \"duration\": 10\n}"},"url":"{{gateway_host}}/users/onesignal/{{user_id}}"},"response":[{"id":"71a80da2-8db2-481b-9a48-1f68c2ae45ee","name":"/users/onesignal/:user_id","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"onesignal_player_id\": \"12345678\"\n}"},"url":"{{gateway_host}}/users/onesignal/f02a8094-180f-4b9b-b556-f3718a98a84"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 28 Jun 2019 10:55:06 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"nginx/1.10.3 (Ubuntu)"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Forward","value":"172.31.40.197"},{"key":"ETag","value":"W/\"1d8-jHpqO9v9uE07QlRIM2M9NN8gcgo\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, OPTIONS, PUT, DELETE"},{"key":"Access-Control-Allow-Headers","value":"DNT,X-Mx-ReqToken,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Authorization"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"code\": \"REQUEST_ERROR\",\n        \"message\": \"The requested item is not found.\",\n        \"details\": {\n            \"code\": \"NOT_FOUND\",\n            \"statusCode\": 404,\n            \"details\": {\n                \"account\": 1521644375.6827,\n                \"user_id\": \"f02a8094-180f-4b9b-b556-f3718a98a84\",\n                \"code\": \"DOCUMENT_NOT_FOUND\"\n            }\n        },\n        \"stack\": \"[object Object]\\n    at doRequest (/home/ubuntu/app/node_modules/@tradecafe/utils/request/request.js:50:18)\\n    at <anonymous>\\n    at process._tickDomainCallback (internal/process/next_tick.js:228:7)\",\n        \"_tcError\": \"error\"\n    }\n}"},{"id":"b32840e5-cab8-4299-864d-8c6476db6ca3","name":"/users/onesignal/:user_id","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"onesignal_player_id\": \"12345678\"\n}"},"url":"{{gateway_host}}/users/onesignal/f02a8094-180f-4b9b-b556-f3718a98a84d"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 28 Jun 2019 10:52:46 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"nginx/1.10.3 (Ubuntu)"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Forward","value":"172.31.15.188"},{"key":"ETag","value":"W/\"1b9-CAc6L22K3C/qe1ts+A/ub/cAW/E\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, OPTIONS, PUT, DELETE"},{"key":"Access-Control-Allow-Headers","value":"DNT,X-Mx-ReqToken,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Authorization"},{"key":"P3P","value":"policyref=\"/w3c/p3p.xml\", CP=\"ALL IND DSP COR ADM CONo CUR CUSo IVAo IVDo PSA PSD TAI TELo OUR SAMo CNT COM INT NAV ONL PHY PRE PUR UNI\", CP=\"CAO PSA OUR\""},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"firstname\": \"Oleg\",\n        \"lastname\": \"Sviderskij\",\n        \"role\": \"trader\",\n        \"attributes\": {\n            \"designated\": \"0\"\n        },\n        \"login_allowed\": true,\n        \"primaryphone\": \"+37061041745\",\n        \"primaryemail\": \"oleg@sviderskij.lt\",\n        \"account\": 1521644375.6827,\n        \"user_id\": \"f02a8094-180f-4b9b-b556-f3718a98a84d\",\n        \"created\": 1559314158,\n        \"lastupdate\": 1561622228,\n        \"emails\": [\n            \"oleg@dmarksai.com\"\n        ],\n        \"phones\": [\n            \"+37061041745\"\n        ],\n        \"lastlogin\": 1561717465,\n        \"archived\": false,\n        \"player_id\": \"12345678\"\n    },\n    \"error\": null\n}"},{"id":"ebcbbf0b-8459-4962-9391-9490cfbb96f2","name":"/users/onesignal/:user_id","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"onesignal_player_id\": \"12345678\"\n}"},"url":"{{gateway_host}}/users/onesignal/f02a8094-180f-4b9b-b556-f3718a98a84"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 28 Jun 2019 10:55:06 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"nginx/1.10.3 (Ubuntu)"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Forward","value":"172.31.40.197"},{"key":"ETag","value":"W/\"1d8-jHpqO9v9uE07QlRIM2M9NN8gcgo\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, OPTIONS, PUT, DELETE"},{"key":"Access-Control-Allow-Headers","value":"DNT,X-Mx-ReqToken,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Authorization"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"code\": \"REQUEST_ERROR\",\n        \"message\": \"The requested item is not found.\",\n        \"details\": {\n            \"code\": \"NOT_FOUND\",\n            \"statusCode\": 404,\n            \"details\": {\n                \"account\": 1521644375.6827,\n                \"user_id\": \"f02a8094-180f-4b9b-b556-f3718a98a84\",\n                \"code\": \"DOCUMENT_NOT_FOUND\"\n            }\n        },\n        \"stack\": \"[object Object]\\n    at doRequest (/home/ubuntu/app/node_modules/@tradecafe/utils/request/request.js:50:18)\\n    at <anonymous>\\n    at process._tickDomainCallback (internal/process/next_tick.js:228:7)\",\n        \"_tcError\": \"error\"\n    }\n}"}],"_postman_id":"df83cd28-acfc-4c9d-b617-6f5e87515668"}],"id":"297beefe-562b-4b3f-d4c0-7ebf2d21d926","_postman_id":"297beefe-562b-4b3f-d4c0-7ebf2d21d926"},{"name":"Report","item":[{"name":"all (under dev)","id":"fb605e02-1472-493a-acbb-176a88a7d42e","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"formdata","formdata":[]},"url":"{{gateway_host}}/report"},"response":[],"_postman_id":"fb605e02-1472-493a-acbb-176a88a7d42e"},{"name":"get trader performance","id":"12c2eef6-dfd6-4393-b0f1-c583fc906c4a","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"formdata","formdata":[]},"url":"{{gateway_host}}/report/trader/{{account_id}}"},"response":[],"_postman_id":"12c2eef6-dfd6-4393-b0f1-c583fc906c4a"},{"name":"get","id":"6342c68c-0085-400e-a33d-dcf51518f166","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"formdata","formdata":[]},"url":"{{gateway_host}}/report/{{account_id}}/{{trader_id}}"},"response":[],"_postman_id":"6342c68c-0085-400e-a33d-dcf51518f166"},{"name":"create","id":"da369923-3cae-4996-bc40-d1f93819fbd8","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"formdata","formdata":[]},"url":"{{gateway_host}}/report/{{account_id}}/{{trader_id}}"},"response":[],"_postman_id":"da369923-3cae-4996-bc40-d1f93819fbd8"},{"name":"update","id":"866bbf2d-fc74-45e9-9c1f-76271cce0cd9","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"formdata","formdata":[]},"url":"{{gateway_host}}/report/{{account_id}}/{{trader_id}}"},"response":[],"_postman_id":"866bbf2d-fc74-45e9-9c1f-76271cce0cd9"},{"name":"delete","id":"c6a02945-35d5-4d9b-a5fc-f9d9dfdb7511","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"formdata","formdata":[]},"url":"{{gateway_host}}/report/{{account_id}}/{{trader_id}}"},"response":[],"_postman_id":"c6a02945-35d5-4d9b-a5fc-f9d9dfdb7511"},{"name":"AR report","id":"35aac139-004a-4c3a-8685-0fc10941b615","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"6Hv94Fnal7nWDPVSCXumMXG9bvFiwIi5JvCQN8yy9Ig3BQthF0KjdDgp3rYqyj51wvlUDH3hjU4pxGQPr4xLgB"}},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"buyer_ids\": [\n        \"1628248314.7909\"\n    ],\n    \"status\": [\n        0,\n        1,\n        2,\n        3\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{gateway_host}}/reports/ar-report/invoices"},"response":[],"_postman_id":"35aac139-004a-4c3a-8685-0fc10941b615"}],"id":"d249bb85-b98c-4cab-b2e1-189bee6477e1","_postman_id":"d249bb85-b98c-4cab-b2e1-189bee6477e1"},{"name":"Vendor credits","item":[{"name":"create","id":"af3dffc5-0f67-4772-85d4-1d0802a17bbd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":"{{gateway_host}}/vendor-credits"},"response":[],"_postman_id":"af3dffc5-0f67-4772-85d4-1d0802a17bbd"},{"name":"void","id":"b138b4ec-e7a4-4a13-acb3-c5ba008ba607","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":"{{gateway_host}}/vendor-credits/{{vendor_credit_id}}/void"},"response":[],"_postman_id":"b138b4ec-e7a4-4a13-acb3-c5ba008ba607"},{"name":"update","id":"bca3bcc4-d072-443d-b83a-76f685832066","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":"{{gateway_host}}/vendor-credits/{{vendor_credit_id}}"},"response":[],"_postman_id":"bca3bcc4-d072-443d-b83a-76f685832066"},{"name":"get for account","id":"af6aac43-3608-483b-9bab-ef5dfd687888","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":"{{gateway_host}}/vendor-credits/by-account/{{account_id}}"},"response":[],"_postman_id":"af6aac43-3608-483b-9bab-ef5dfd687888"},{"name":"get for deal","id":"42a65ded-eb60-4e63-b3e6-e3716dcfbf2e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":"{{gateway_host}}/vendor-credits/by-deal/{{deal_id}}"},"response":[],"_postman_id":"42a65ded-eb60-4e63-b3e6-e3716dcfbf2e"},{"name":"get single","id":"abdfbd91-48b5-4822-98e2-20527556614a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":"{{gateway_host}}/vendor-credits/{{vendor_credit_id}}"},"response":[],"_postman_id":"abdfbd91-48b5-4822-98e2-20527556614a"},{"name":"by-deals","id":"ee4d6773-2ed9-4961-ba08-b5fb0c3cae90","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"thc3W443XN8CtlxKy9LFvVmdYeNYlrXEeAOB777gYqO0AGPxCex88KzRQMS3U53Xz5knoKP3vvdB41cczDN8ct"}},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"deal_ids\": [\"BWI108620TC\", \"BWI108283TC\"]\n}","options":{"raw":{"language":"json"}}},"url":"{{gateway_host}}/vendor-credits/by-deals"},"response":[],"_postman_id":"ee4d6773-2ed9-4961-ba08-b5fb0c3cae90"}],"id":"368cc37a-173f-4697-a24a-65f755d829ce","_postman_id":"368cc37a-173f-4697-a24a-65f755d829ce"},{"name":"Notifications","item":[{"name":"create","id":"ac9b4c2c-571b-49e0-b48b-7d1489f437d7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"VGVQdoaVgWSfSCoGs32TkYLnBylSfsNIHp5kRD8CzeP7qiiVDiYF7yWKG8vBLub4gA8zj12lnngqWpHJZqZYsO"}},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Notification Name\",\n\t\"event\": \"tc-os-notitficaiton-event-name\",\n\t\"description\": \"Description of the event\"\n}"},"url":"{{gateway_host}}/notifications"},"response":[],"_postman_id":"ac9b4c2c-571b-49e0-b48b-7d1489f437d7"},{"name":"all","id":"6d42fc48-a590-4c27-9bcb-b9ef2511577d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{gateway_host}}/notifications"},"response":[],"_postman_id":"6d42fc48-a590-4c27-9bcb-b9ef2511577d"},{"name":"get","id":"6b22cadf-51d7-4492-b9d0-9da951f798ec","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{gateway_host}}/notifications/{{notification_id}}"},"response":[],"_postman_id":"6b22cadf-51d7-4492-b9d0-9da951f798ec"},{"name":"update","id":"8de18f00-e1c5-4653-be65-a029e08c9e3d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Supplier OfferName\"\n\t\n}"},"url":"{{gateway_host}}/notifications/{{notification_id}}"},"response":[],"_postman_id":"8de18f00-e1c5-4653-be65-a029e08c9e3d"},{"name":"delete","id":"7fe62348-85e4-4893-878a-583c76606f21","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Supplier OfferName\"\n\t\n}"},"url":"{{gateway_host}}/notifications/{{notification_id}}"},"response":[],"_postman_id":"7fe62348-85e4-4893-878a-583c76606f21"}],"id":"f4d7587d-2a67-4580-a673-d5564dbfc577","_postman_id":"f4d7587d-2a67-4580-a673-d5564dbfc577"},{"name":"Search","item":[{"name":"invoices","item":[{"name":"/search/invoices","id":"3bb1b3a6-7758-413e-bc93-6045971988cc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"9on5V9PIrp6CxhkdV92XaYRUYxwERMDjr17AEKBgPquzERcFkXLiKSqUBzTHKqRF9TfvQC481wotesLUSJqBZM"}},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"sort\": [\n        {\n            \"created\": \"desc\"\n        }\n    ],\n    \"limit\": 10,\n    \"skip\": 0,\n    \"query\": {\n        \"type\": [\n            \"payable\"\n        ],\n        \"status\": [\n            0,\n            1,\n            2,\n            3,\n            4\n        ],\n        \"batch_id\": [\n            null,\n            \"0040\"\n        ],\n        \"text\": [\n            {\n                \"$not\": \"#TEST\"\n            }\n        ]\n    },\n    \"columns\": [\n        \"company\",\n        \"vendor_invoice_id\",\n        \"invoice_id\",\n        \"currency\",\n        \"actl_amount\",\n        \"net_payable\",\n        \"partial_margin\",\n        \"variance\",\n        \"due_date\",\n        \"status\",\n        \"deal_status\",\n        \"sched_pmt_date\",\n        \"actualized\",\n        \"created\",\n        \"issued\",\n        \"payment_type\",\n        \"batch_id\",\n        \"note_warning\",\n        \"buyer\"\n    ],\n    \"calculate\": true\n}","options":{"raw":{"language":"json"}}},"url":"{{gateway_host}}/search/invoices"},"response":[],"_postman_id":"3bb1b3a6-7758-413e-bc93-6045971988cc"},{"name":"/search/invoices/filters","id":"3c839e9a-a9f2-4662-8e39-80a71eee3441","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"E9MBVUEBoK6iPZs9iAqHt6EYG6vmfBqW0iecX6sDs2msmEszdWaM86PJKh2W1st6Lcl8ScKeXciOy9NHVMpMi5"}},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"query\": {}\n}","options":{"raw":{"language":"json"}}},"url":"{{gateway_host}}/search/invoices/filters"},"response":[],"_postman_id":"3c839e9a-a9f2-4662-8e39-80a71eee3441"},{"name":"Get index source","id":"1b512693-d060-4554-aaeb-8fd50dabb06d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"sort\": [\n        {\n            \"due_date\": \"desc\"\n        }\n    ],\n    \"limit\": 50,\n    \"skip\": 0,\n    \"query\": {\n   \n    },\n    \"calculate\": false\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/invoices/source"},"response":[],"_postman_id":"1b512693-d060-4554-aaeb-8fd50dabb06d"}],"id":"73a085bd-547d-40e2-8854-bbd063dc509c","_postman_id":"73a085bd-547d-40e2-8854-bbd063dc509c"},{"name":"files","item":[{"name":"/search/files","id":"13c20f91-3af2-4ed5-80b0-83222b75aeea","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth"},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"limit\": 2,\n    \"skip\": 0,\n    \"query\": {\n        \"eta\": {\n            \"from\": 1635534000,\n            \"to\": 1635534000\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{gateway_host}}/search/files"},"response":[],"_postman_id":"13c20f91-3af2-4ed5-80b0-83222b75aeea"},{"name":"/search/files/filters","id":"61c34779-f965-4a33-8eaa-1d3e21ebd684","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth"},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"limit\": 2,\n    \"skip\": 0,\n    \"query\": {\n        \"eta\": {\n            \"from\": 1635534000,\n            \"to\": 1635534000\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{gateway_host}}/search/files/filters"},"response":[],"_postman_id":"61c34779-f965-4a33-8eaa-1d3e21ebd684"}],"id":"48f58956-2b85-4aaf-bbc8-8679b0ca6582","_postman_id":"48f58956-2b85-4aaf-bbc8-8679b0ca6582"},{"name":"deals","item":[{"name":"/deals/search","id":"626731fa-2dc5-4c91-b320-ee3861e02b63","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"auth":{"type":"bearer","bearer":{"token":"Ql9JPMQi5E7DVIFrnNxPLSscZ1WY7fLhrzGJEvzToXDMpAaf7u6d47Kgi6Q6rJxMw5xZpXCrTPezFQeXZM3O1r"}},"method":"POST","header":[{"key":"Host","value":"searchservice-proxy","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\n    \"sort\": [\n        {\n            \"deal_date\": \"desc\"\n        }\n    ],\n    \"limit\": 10,\n    \"skip\": 0,\n    \"query\": {\n        \"status\": [\n            \"Submitted\",\n            \"Confirmed\",\n            \"Docs Sent\",\n            \"Invoiced\",\n            \"Paid\"\n        ]\n    },\n    \"columns\": [\n        \"deal_id\",\n        \"product\",\n        \"supplier\",\n        \"buyer\",\n        \"origin_location\",\n        \"origin_country\",\n        \"pickup_location\",\n        \"dropoff_location\",\n        \"truck_refer_id\",\n        \"pickup_date\",\n        \"pickup_date_2\",\n        \"dropoff_date\",\n        \"etd\",\n        \"eta\",\n        \"carrier\",\n        \"carrier_2\",\n        \"booking_id\",\n        \"container_number\",\n        \"partial_margin\",\n        \"note_warning\",\n        \"aes_number\",\n        \"int_cred_avail\",\n        \"comments\",\n        \"rate\",\n        \"temperature\",\n        \"macropoint_order_identifier\",\n        \"macropoint_order_status_name\",\n        \"macropoint_order_latest_location_city_name\",\n        \"macropoint_order_delivery_status_name\",\n        \"last_movement\",\n        \"supplier_invoice_id\",\n        \"supplier_invoice_status\",\n        \"credit_notes_negative_total\",\n        \"notes\",\n        \"deal_type\",\n        \"parties\",\n        \"export_reports\",\n        \"macropoint_order\",\n        \"can_create_prepayment\",\n        \"int_cred_max\",\n        \"sold_deal_status\",\n        \"credit_notes\",\n        \"other_truck_carriers\",\n        \"other_truck_pickup_dates\",\n        \"estimated_buyer_revenue_next_7_days\",\n        \"booking\"\n    ],\n    \"populate_intransit_balance\": true,\n    \"calculate\": true\n}","options":{"raw":{"language":"json"}}},"url":"{{gateway_host}}/deals/search"},"response":[],"_postman_id":"626731fa-2dc5-4c91-b320-ee3861e02b63"},{"name":"/deals/filters","id":"6268212b-be9c-47c9-b1fa-101844e9df98","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"Ql9JPMQi5E7DVIFrnNxPLSscZ1WY7fLhrzGJEvzToXDMpAaf7u6d47Kgi6Q6rJxMw5xZpXCrTPezFQeXZM3O1r"}},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"query\": {},\n    \"columns\": [\n        \"text\",\n        \"deal_id\",\n        \"buyer\",\n        \"supplier\",\n        \"brokerage_customer\",\n        \"product\",\n        \"coordinator\",\n        \"selling_trader\",\n        \"carrier\",\n        \"carrier_2\",\n        \"deal_date\",\n        \"pickup_date\",\n        \"pickup_date_2\",\n        \"actual_delivery_date\",\n        \"collection_date\",\n        \"onboard\",\n        \"vessel_cutoff_date\",\n        \"origin_country\",\n        \"docs_country\",\n        \"status\",\n        \"product_category\",\n        \"status_notes\",\n        \"status_notes_2\",\n        \"deal_type\",\n        \"booking_id\",\n        \"container_number\",\n        \"supplier_invoice_id\",\n        \"secondary_cost_invoice_id\",\n        \"macropoint_order_identifier\",\n        \"macropoint_order_status_name\",\n        \"macropoint_order_delivery_status_name\",\n        \"macropoint_order_latest_location_city_name\",\n        \"carrier_eta\",\n        \"latest_carrier_message\",\n        \"comments\",\n        \"last_movement\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{gateway_host}}/deals/filters"},"response":[],"_postman_id":"6268212b-be9c-47c9-b1fa-101844e9df98"}],"id":"1fc9db5f-3c1e-422c-9cec-a9af6c318b60","_postman_id":"1fc9db5f-3c1e-422c-9cec-a9af6c318b60"},{"name":"receipts","item":[{"name":"/search/receipts","id":"c01cea57-647f-460a-bf5b-0d83bf7841ba","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"sort\": [\n        {\n            \"created\": \"desc\"\n        }\n    ],\n    \"limit\": 10,\n    \"skip\": 0,\n    \"query\": {\n        \"view_type\": \"expanded\"\n    },\n    \"columns\": [\n        \"select\",\n        \"created\",\n        \"received\",\n        \"amount\",\n        \"assigned\",\n        \"unapplied\",\n        \"currency\",\n        \"bank\",\n        \"bank_ref\",\n        \"buyer_ref\",\n        \"customer\",\n        \"account\",\n        \"statusText\",\n        \"sourceText\",\n        \"noteWarning\",\n        \"ellipsisMenu\"\n    ],\n    \"calculate\": true\n}","options":{"raw":{"language":"json"}}},"url":"{{gateway_host}}/search/receipts"},"response":[],"_postman_id":"c01cea57-647f-460a-bf5b-0d83bf7841ba"},{"name":"/search/receipts/filters","id":"d1ebbe29-6934-41c6-ad58-5a68c20af452","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"query\": {\n        \"query\": {},\n        \"columns\": [\n            \"text\",\n            \"invoice_id\",\n            \"received\",\n            \"customer\",\n            \"status\",\n            \"currency\",\n            \"bank\",\n            \"source\"\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{gateway_host}}/search/receipts/filters"},"response":[],"_postman_id":"d1ebbe29-6934-41c6-ad58-5a68c20af452"}],"id":"2984d918-2aec-4664-a445-4855efaa2300","_postman_id":"2984d918-2aec-4664-a445-4855efaa2300"},{"name":"credit-notes","item":[{"name":"/search/credit-notes","id":"cf175578-b7ab-49ba-adb7-80d50da1cd4e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"sort\": [\n        {\n            \"created\": \"desc\"\n        }\n    ],\n    \"limit\": 10,\n    \"skip\": 0,\n    \"query\": {},\n    \"columns\": [\n        \"select\",\n        \"created\",\n        \"creator\",\n        \"company\",\n        \"deal_id\",\n        \"cn_id\",\n        \"assignedToDeals\",\n        \"currency\",\n        \"amount\",\n        \"description\",\n        \"approver\",\n        \"approval\",\n        \"statusText\",\n        \"deal_status\",\n        \"note\",\n        \"managementMenu\"\n    ],\n    \"calculate\": true\n}","options":{"raw":{"language":"json"}}},"url":"{{gateway_host}}/search/credit-notes"},"response":[],"_postman_id":"cf175578-b7ab-49ba-adb7-80d50da1cd4e"},{"name":"/search/credit-notes/filters","id":"2ed2dcb1-5db3-48d0-a434-03ac202642b9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"query\": {\n        \"query\": {},\n        \"columns\": [\n            \"text\",\n            \"approver\",\n            \"creator\",\n            \"company\",\n            \"deal_ids\",\n            \"status\",\n            \"approval\",\n            \"deal_status\",\n            \"source\"\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{gateway_host}}/search/credit-notes/filters"},"response":[],"_postman_id":"2ed2dcb1-5db3-48d0-a434-03ac202642b9"}],"id":"4f91a651-cb11-468e-b4cd-7a17cc98eba6","_postman_id":"4f91a651-cb11-468e-b4cd-7a17cc98eba6"},{"name":"vendor-credits","item":[{"name":"/search/vendor-credits","id":"18120e3f-3beb-48c6-a319-4055d8146911","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"sort\": [\n        {\n            \"created\": \"desc\"\n        }\n    ],\n    \"limit\": 10,\n    \"skip\": 0,\n    \"query\": {},\n    \"columns\": [\n        \"select\",\n        \"created\",\n        \"creator\",\n        \"company\",\n        \"deal_id\",\n        \"cn_id\",\n        \"assignedToDeals\",\n        \"currency\",\n        \"amount\",\n        \"description\",\n        \"approver\",\n        \"approval\",\n        \"statusText\",\n        \"deal_status\",\n        \"note\",\n        \"managementMenu\"\n    ],\n    \"calculate\": true\n}","options":{"raw":{"language":"json"}}},"url":"{{gateway_host}}/search/vendor-credits"},"response":[],"_postman_id":"18120e3f-3beb-48c6-a319-4055d8146911"},{"name":"/search/vendor-credits/filters","id":"b62808fe-edda-4068-b946-e6fcaa4867aa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"query\": {\n        \"query\": {},\n        \"columns\": [\n            \"text\",\n            \"approver\",\n            \"company\",\n            \"deal_id\",\n            \"statusText\",\n            \"type\",\n            \"source\"\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{gateway_host}}/search/vendor-credits/filters"},"response":[],"_postman_id":"b62808fe-edda-4068-b946-e6fcaa4867aa"}],"id":"29d52631-fd51-4a3b-9fa6-f0d617ae8180","_postman_id":"29d52631-fd51-4a3b-9fa6-f0d617ae8180"},{"name":"matched offers","item":[{"name":"/matched_offers/search","id":"14f74344-94fb-4c4f-a02b-c66f0b07b7bb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"QNryNgavS9jT9inehVQuWc1hhurC7hFoIApGdBrZLltzbezwRMok21TettTxjMis3ttA1BjXMvC9h6OtwldRLy"}},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"sort\": [\n        {\n            \"created\": \"desc\"\n        }\n    ],\n    \"limit\": 200,\n    \"skip\": 3200,\n    \"query\": {},\n    \"columns\": [\n        \"bidding\",\n        \"costs\",\n        \"delivery\",\n        \"feature_bids\",\n        \"incoterm\",\n        \"origin_country\",\n        \"pickup_location\",\n        \"product\",\n        \"product_type\",\n        \"buyer\",\n        \"supplier\",\n        \"selling_trader\",\n        \"creator\",\n        \"buyer_incoterm\",\n        \"docs_country\",\n        \"destination_country_for_list\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{gateway_host}}/search/matched_offers"},"response":[],"_postman_id":"14f74344-94fb-4c4f-a02b-c66f0b07b7bb"},{"name":"/matched_offers/filters","id":"846738dd-43f3-4d9c-a615-d9786fb80506","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"QNryNgavS9jT9inehVQuWc1hhurC7hFoIApGdBrZLltzbezwRMok21TettTxjMis3ttA1BjXMvC9h6OtwldRLy"}},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"query\": {\n        \"query\": {},\n        \"columns\": [\n            \"text\",\n            \"matched_offer_id\",\n            \"supplier_offer_id\",\n            \"automated_offer_id\",\n            \"origin_deal_id\",\n            \"supplier\",\n            \"buyer\",\n            \"buyer_group\",\n            \"product\",\n            \"origin_country\",\n            \"status\",\n            \"deal_status\",\n            \"clicked\",\n            \"created\",\n            \"creator\",\n            \"selling_trader\",\n            \"buy_unit\",\n            \"buy_currency\",\n            \"sell_unit\",\n            \"sell_currency\",\n            \"docs_country\",\n            \"destination_country_for_list\"\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{gateway_host}}/search/matched_offers/filters"},"response":[],"_postman_id":"846738dd-43f3-4d9c-a615-d9786fb80506"}],"id":"f42d1d8a-1045-4b3e-9fd8-5a4fba1aee4b","_postman_id":"f42d1d8a-1045-4b3e-9fd8-5a4fba1aee4b"}],"id":"ef2cc80e-67b5-4c38-931d-d6b00cf8b8a3","_postman_id":"ef2cc80e-67b5-4c38-931d-d6b00cf8b8a3"},{"name":"Montship","item":[{"name":"reject","id":"82be485d-ff61-400d-9271-0af6ab27e698","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":{"raw":"{{gateway_host}}/bookings/:booking_id/reject","host":["{{gateway_host}}"],"path":["bookings",":booking_id","reject"],"variable":[{"key":"booking_id","value":"{{montship_booking_id}}"}]}},"response":[],"_postman_id":"82be485d-ff61-400d-9271-0af6ab27e698"},{"name":"put on hold","id":"ded9ee59-0928-4141-afba-afb3a4ea1e50","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":{"raw":"{{gateway_host}}/bookings/:booking_id/on-hold","host":["{{gateway_host}}"],"path":["bookings",":booking_id","on-hold"],"variable":[{"key":"booking_id","value":"{{montship_booking_id}}"}]}},"response":[],"_postman_id":"ded9ee59-0928-4141-afba-afb3a4ea1e50"},{"name":"approve","id":"316c6eaa-5049-4d75-b27d-6379e9e1ffc3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":{"raw":"{{gateway_host}}/bookings/:booking_id/approve","host":["{{gateway_host}}"],"path":["bookings",":booking_id","approve"],"variable":[{"key":"booking_id","value":"{{montship_booking_id}}"}]}},"response":[],"_postman_id":"316c6eaa-5049-4d75-b27d-6379e9e1ffc3"},{"name":"send booking","id":"4b082673-9ae6-453c-8f4f-5325b4344f64","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"deal_id\": \"{{deal_id}}\",\r\n    \"request\": {\r\n        \"buyer_address\": {\r\n            \"name\": \"Ali Primary Address\",\r\n            \"primary\": 1,\r\n            \"department\": \"f1733608-6ba7-4373-b2ae-78d33fbca182\",\r\n            \"street1\": \"testing\",\r\n            \"city\": \"Lahore\",\r\n            \"country\": \"Mexico\",\r\n            \"cc\": \"MX\",\r\n            \"contact_name\": \"Ali contact\",\r\n            \"integration_codes\": {\r\n                \"montship\": \"6789\"\r\n            }\r\n        },\r\n        \"bwi_address\": {\r\n            \"name\": \"Canada Address\",\r\n            \"primary\": 1,\r\n            \"street1\": \"2 Berkeley St\",\r\n            \"street2\": \"Suite 303\",\r\n            \"city\": \"Toronto\",\r\n            \"state\": \"Ontario\",\r\n            \"state_code\": \"ON\",\r\n            \"country\": \"Canada\",\r\n            \"cc\": \"CA\",\r\n            \"postal\": \"M5A 4J5\",\r\n            \"telephone1\": \"+1\",\r\n            \"fax\": \"415-666-0101\",\r\n            \"integration_codes\": {\r\n                \"montship\": \"010761\"\r\n            }\r\n        },\r\n        \"bwi_address_unlocode\": \"CATOR\",\r\n        \"consignee\": {\r\n            \"name\": \"Ali Primary Address\",\r\n            \"primary\": 1,\r\n            \"department\": \"f1733608-6ba7-4373-b2ae-78d33fbca182\",\r\n            \"street1\": \"testing\",\r\n            \"city\": \"Lahore\",\r\n            \"country\": \"Pakistan\",\r\n            \"cc\": \"PK\",\r\n            \"contact_name\": \"Ali contact\",\r\n            \"integration_codes\": {\r\n                \"montship\": \"6789\"\r\n            }\r\n        },\r\n        \"consignee_unlocode\": null,\r\n        \"notify\": {\r\n            \"name\": \"Ali Primary Address\",\r\n            \"primary\": 1,\r\n            \"department\": \"f1733608-6ba7-4373-b2ae-78d33fbca182\",\r\n            \"street1\": \"testing\",\r\n            \"city\": \"Lahore\",\r\n            \"country\": \"Pakistan\",\r\n            \"cc\": \"PK\",\r\n            \"contact_name\": \"Ali contact\",\r\n            \"integration_codes\": {\r\n                \"montship\": \"6789\"\r\n            }\r\n        },\r\n        \"notify_unlocode\": \"PKLHE\",\r\n        \"etd_date\": 1690704033,\r\n        \"freight_forwarder_id\": \"72099d26-b561-4913-b214-062f114a3480\",\r\n        \"freight_forwarder_unlocode\": null,\r\n        \"freight_forwarder\": {\r\n            \"name\": \"Head Office\",\r\n            \"primary\": 1,\r\n            \"def_delivery\": 1,\r\n            \"street1\": \"street 1\",\r\n            \"city\": \"360 Rue Saint-Jacques\",\r\n            \"state\": \"Quebec\",\r\n            \"state_code\": \"QC\",\r\n            \"country\": \"Canada\",\r\n            \"cc\": \"CA\",\r\n            \"postal\": \"H2Y 1R2\",\r\n            \"telephone1\": \"1514 286 4646\",\r\n            \"fax\": \"1514 286 4650\",\r\n            \"contact_name\": \"WH Con Name\",\r\n            \"integration_codes\": {\r\n                \"montship\": \"6554\"\r\n            }\r\n        },\r\n        \"minimum_temperature_celsius\": -4,\r\n        \"pickup_date\": 1690444828,\r\n        \"pickup_ref_no\": null,\r\n        \"port_of_discharge_id\": \"5ddafec9-839d-4800-bbcd-92b2fe4759bd\",\r\n        \"port_of_discharge_name\": \"Escuintla\",\r\n        \"port_of_discharge_unlocode\": \"GTESC\",\r\n        \"port_of_loading_id\": \"1344799c-0dde-4203-9198-81e0280a8c34\",\r\n        \"port_of_loading_name\": \"La Porte\",\r\n        \"port_of_loading_unlocode\": \"USUQF\",\r\n        \"shipment_type\": \"door_to_door\",\r\n        \"shipper\": {\r\n            \"name\": \"Canada Address\",\r\n            \"primary\": 1,\r\n            \"street1\": \"2 Berkeley St\",\r\n            \"street2\": \"Suite 303\",\r\n            \"city\": \"Toronto\",\r\n            \"state\": \"Ontario\",\r\n            \"state_code\": \"ON\",\r\n            \"country\": \"Canada\",\r\n            \"cc\": \"CA\",\r\n            \"postal\": \"M5A 4J5\",\r\n            \"telephone1\": \"+1\",\r\n            \"fax\": \"415-666-0101\",\r\n            \"integration_codes\": {\r\n                \"montship\": \"010761\"\r\n            }\r\n        },\r\n        \"shipper_unlocode\": \"CATOR\",\r\n        \"shipping_link\": null,\r\n        \"warehouse\": {\r\n            \"cc\": \"US\",\r\n            \"name\": \"NOCS  La Porte TX\",\r\n            \"department\": \"e42b5fda-eb5a-442b-979d-9b129a00b1a4\",\r\n            \"street1\": \"9223 HWY 225\",\r\n            \"country\": \"United States\",\r\n            \"city\": \"La porte\",\r\n            \"state\": \"Texas\",\r\n            \"state_code\": \"TX\",\r\n            \"postal\": \"70126\",\r\n            \"telephone1\": \"281930-8002\",\r\n            \"email\": \"WG-ORDER-REQUEST@nocs.com\",\r\n            \"tax_id\": \"ID765\",\r\n            \"primary\": 1,\r\n            \"integration_codes\": {\r\n                \"montship\": \"200173\"\r\n            }\r\n        },\r\n        \"warehouse_unlocode\": \"USUQF\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"{{gateway_host}}/montship/bookings/send-request"},"response":[],"_postman_id":"4b082673-9ae6-453c-8f4f-5325b4344f64"}],"id":"b7f9fe88-3eea-4798-899f-866ffa15e26a","auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"event":[{"listen":"prerequest","script":{"id":"dce38f49-54ed-4d64-bfef-af39dd3bebb8","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"4274a9d2-02e1-4dfd-b320-01e3f69f10cb","type":"text/javascript","exec":[""]}}],"_postman_id":"b7f9fe88-3eea-4798-899f-866ffa15e26a"},{"name":"AES","item":[{"name":"create","id":"a4d3ec64-604d-49fc-9f4a-fb9f23e0cfce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"deal_id\":\"BWI115109TC\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{gateway_host}}/aes/commodity-reports"},"response":[],"_postman_id":"a4d3ec64-604d-49fc-9f4a-fb9f23e0cfce"},{"name":"cancel","id":"47892646-0c28-452f-ba76-3da9fc10aac7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{gateway_host}}/aes/commodity-reports/:report_id/cancel","host":["{{gateway_host}}"],"path":["aes","commodity-reports",":report_id","cancel"],"variable":[{"key":"report_id","value":null}]}},"response":[],"_postman_id":"47892646-0c28-452f-ba76-3da9fc10aac7"},{"name":"create in batch","id":"a8fb8df3-2d28-4541-b511-71366df22173","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"deal_ids\":[\"BWI115012TC\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"{{gateway_host}}/aes/commodity-reports/batch"},"response":[],"_postman_id":"a8fb8df3-2d28-4541-b511-71366df22173"},{"name":"search","id":"669735df-36b5-4851-b6ff-eb432a641405","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"deal_ids\": [\"BWI115012TC\"]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{gateway_host}}/aes/commodity-reports/search?limit=10&offset=0","host":["{{gateway_host}}"],"path":["aes","commodity-reports","search"],"query":[{"key":"limit","value":"10"},{"key":"offset","value":"0"}]}},"response":[],"_postman_id":"669735df-36b5-4851-b6ff-eb432a641405"},{"name":"get","id":"0bd1220d-2569-4a16-8e79-108bd006b2e7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n    \"deal_ids\": [\"BWI115012TC\"]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{gateway_host}}/aes/commodity-reports/:report_id","host":["{{gateway_host}}"],"path":["aes","commodity-reports",":report_id"],"variable":[{"key":"report_id","value":"1565579e-12c2-4a23-a7c3-e1b08598ab78"}]}},"response":[],"_postman_id":"0bd1220d-2569-4a16-8e79-108bd006b2e7"},{"name":"set response status","id":"aa3aad26-16ae-4abd-9d6e-6637d1cfd1ac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"status\": \"handled\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{gateway_host}}/aes/commodity-reports/:id/response-status","host":["{{gateway_host}}"],"path":["aes","commodity-reports",":id","response-status"],"variable":[{"key":"id","value":"55d70013-5a6a-4a6e-9074-82f66ac76e7d"}]}},"response":[],"_postman_id":"aa3aad26-16ae-4abd-9d6e-6637d1cfd1ac"}],"id":"7081ae04-95a0-47e7-aa4a-04a4bcecd0db","auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"event":[{"listen":"prerequest","script":{"id":"dce38f49-54ed-4d64-bfef-af39dd3bebb8","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"4274a9d2-02e1-4dfd-b320-01e3f69f10cb","type":"text/javascript","exec":[""]}}],"_postman_id":"7081ae04-95a0-47e7-aa4a-04a4bcecd0db"},{"name":"Operations","item":[{"name":"escalateInvoice","id":"39505525-c6f1-4d10-9b6a-192c948a6c05","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\"invoiceId\": \"116534TC-I368\"}"},"url":"{{gateway_host}}/operations/escalate-invoice"},"response":[],"_postman_id":"39505525-c6f1-4d10-9b6a-192c948a6c05"},{"name":"send-link","id":"c80388a7-6021-4335-88c4-b9c5e1d6c5ed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\"invoiceId\": \"116534TC-I368\"}"},"url":"{{gateway_host}}/operations/send-link"},"response":[],"_postman_id":"c80388a7-6021-4335-88c4-b9c5e1d6c5ed"},{"name":"actualize-invoice","id":"dd1e65b7-939c-44a1-8ed8-c2de55bb61ba","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"{{gateway_host}}/operations/actualize-invoice"},"response":[],"_postman_id":"dd1e65b7-939c-44a1-8ed8-c2de55bb61ba"}],"id":"fe4e70b4-8bf2-42d8-ac0f-01020fd61bce","_postman_id":"fe4e70b4-8bf2-42d8-ac0f-01020fd61bce"},{"name":"Audit","item":[{"name":"create","id":"7e326bf4-0a35-5c10-dee3-7d8528cc8ac9","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"account\": \"{{account_id}}\",\n  \"deal_id\": \"{{deal_id}}\",\n  \"action\": \"foo\",\n  \"user_id\": \"{{user_id}}\",\n  \"value\": \"bar\",\n  \"attributes\": {\"a\": {{$randomInt}}}\n}"},"url":"{{gateway_host}}/audit"},"response":[],"_postman_id":"7e326bf4-0a35-5c10-dee3-7d8528cc8ac9"},{"name":"get","id":"f495a212-193a-a6af-cee6-ce3081cb04e7","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{gateway_host}}/audit?limit=4","host":["{{gateway_host}}"],"path":["audit"],"query":[{"key":"limit","value":"4"}]}},"response":[],"_postman_id":"f495a212-193a-a6af-cee6-ce3081cb04e7"}],"id":"c22ab62e-79af-2db5-0b87-9e2286333a4a","description":"The Account Service manages company and user account information within the TradeCafe platform. Company accounts belong to suppliers, buyers, and other partners while users are simply contacts within a specific company. Each user may login to their own account and view information related to their TradeCafe account, with certain restrictions placed on their specific user type.\n\nAn account within the TradeCafe platform consists of at least the following data attributes.\n\n\n* account - `required` The unique id of the account in TC. This is alphanumeric.\n* name – `required` The company name.\n* status - `required` This indicates the status of the account. (pending=0, reviewed=1, active=2, restricted=-1)\n* type – `required` The type of account, buyer, supplier, service provider, or admin (there will be only one admin account).\n* created – `required` An epoch timestamp with the time the account was created. This is automatically generated by the platform.\n* primaryphone – `required` The primary phone number associated with the account.\n* products – `required` A list of products the company is interested in trading.\n* primaryemail – `required` The primary email address associated with the account.\n* since - The year the business started.\n* corp_type - The type of the company. LLC, Inc, LLP, etc.\n* parent - Indicates a parent account id of this company if the company is a subsidiary.\n* emails – Other email addresses associated with the account.\n* phones – Other phone numbers associated with the account.\n* addresses – A JSON array of objects containing address components (street1, street2, city, state, postal, country, timezone). The company may have multiple addresses.\n* website - The website URL of the account.\n* archived – A 0/1 flag which identifies if this file has been archived.\n* attributes – A sub object with additional attributes of the account.\n* currency – The default currency of the company.\n* language – The preferred language of the company.\n* manager - The account manager assigned the company. This is a user id.\n* coordinator - The logistics coordinator assigned to the company. This is a user id.\n* banking - The banking profile of the company. This is a JSON subobject.\n\nBelow are API endpoints that provide access to account data within the platform.","_postman_id":"c22ab62e-79af-2db5-0b87-9e2286333a4a"},{"name":"Chart","item":[{"name":"Internal Chart Data","id":"3ea1641e-8493-4bb4-aa56-18bc59e42608","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"fofhyN8kQLPgRtZZrQtRybzVtyHnR35j3E8FLgqIi7i94ZPnth5RLuXGWx2C3SEpnmBhuMyLTpU7ukpgkI4dnT"}},"method":"GET","header":[],"url":"{{gateway_host}}/chart/internal"},"response":[],"_postman_id":"3ea1641e-8493-4bb4-aa56-18bc59e42608"},{"name":"Import Internal Chart Data","id":"fe5f25a2-7f55-412a-89a8-952d59614f16","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"fofhyN8kQLPgRtZZrQtRybzVtyHnR35j3E8FLgqIi7i94ZPnth5RLuXGWx2C3SEpnmBhuMyLTpU7ukpgkI4dnT"}},"method":"GET","header":[],"url":"{{gateway_host}}/chart/internal"},"response":[],"_postman_id":"fe5f25a2-7f55-412a-89a8-952d59614f16"},{"name":"Get Internal Chart Data","id":"e7328987-a016-48a6-a1a6-723547d1d029","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"fofhyN8kQLPgRtZZrQtRybzVtyHnR35j3E8FLgqIi7i94ZPnth5RLuXGWx2C3SEpnmBhuMyLTpU7ukpgkI4dnT"}},"method":"POST","header":[],"url":"http://localhost:3000/chart/internal"},"response":[],"_postman_id":"e7328987-a016-48a6-a1a6-723547d1d029"}],"id":"02117a7f-50ba-438d-b297-e5b21f925c61","_postman_id":"02117a7f-50ba-438d-b297-e5b21f925c61"},{"name":"Export service","item":[{"name":"export csv","id":"5dcc51d5-fede-4bb9-ba16-2ce148c15373","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n    \"columns\": [\n        {\n            \"field\": \"deal_id\",\n            \"displayName\": \"Deal #\",\n            \"exportField\": \"deal_id\",\n            \"exportPipe\": \"fakeId\"\n        },\n        {\n            \"field\": \"matched_offer_id\",\n            \"displayName\": \"Matched Offer #\",\n            \"exportField\": \"matched_offer_id\",\n            \"exportPipe\": \"fakeId\"\n        },\n        {\n            \"field\": \"status\",\n            \"displayName\": \"Status\",\n            \"exportField\": \"status\",\n            \"exportPipe\": \"\"\n        },\n        {\n            \"field\": \"buyer_price\",\n            \"displayName\": \"MO Price\",\n            \"exportField\": \"buyer_price\",\n            \"exportPipe\": \"\"\n        },\n        {\n            \"field\": \"offer_price\",\n            \"displayName\": \"SO Price\",\n            \"exportField\": \"offer_price\",\n            \"exportPipe\": \"\"\n        },\n        {\n            \"field\": \"fob_price\",\n            \"displayName\": \"FOB Bid\",\n            \"exportField\": \"fob_price\",\n            \"exportPipe\": \"\"\n        },\n        {\n            \"field\": \"buyerName\",\n            \"displayName\": \"Buyer\",\n            \"exportField\": \"buyerName\",\n            \"exportPipe\": \"\"\n        },\n        {\n            \"field\": \"productName\",\n            \"displayName\": \"Product\",\n            \"exportField\": \"productName\",\n            \"exportPipe\": \"\"\n        },\n        {\n            \"field\": \"price\",\n            \"displayName\": \"Bid Price\",\n            \"exportField\": \"price\",\n            \"exportPipe\": \"currency\"\n        },\n        {\n            \"field\": \"futureDates\",\n            \"displayName\": \"Delivery Date\",\n            \"exportField\": \"futureDates\",\n            \"exportPipe\": \"epochRange\"\n        },\n        {\n            \"field\": \"shipmentDates\",\n            \"displayName\": \"Shipment Dates\",\n            \"exportField\": \"shipmentDates\",\n            \"exportPipe\": \"epochRange\"\n        },\n        {\n            \"field\": \"deliveryLocation\",\n            \"displayName\": \"Location\",\n            \"exportField\": \"deliveryLocation\",\n            \"exportPipe\": \"\"\n        },\n        {\n            \"field\": \"pickupLocation\",\n            \"displayName\": \"Pickup Location\",\n            \"exportField\": \"pickupLocation\",\n            \"exportPipe\": \"\"\n        },\n        {\n            \"field\": \"productSpecification\",\n            \"displayName\": \"Product Specification\",\n            \"exportField\": \"productSpecification\",\n            \"exportPipe\": \"\"\n        },\n        {\n            \"field\": \"created\",\n            \"displayName\": \"Offer Created\",\n            \"exportField\": \"created\",\n            \"exportPipe\": \"epoch\"\n        },\n        {\n            \"field\": \"updated\",\n            \"displayName\": \"Date of Bidding\",\n            \"exportField\": \"updated\",\n            \"exportPipe\": \"epoch\"\n        },\n        {\n            \"field\": \"bidPartialMargin\",\n            \"displayName\": \"Bid PM\",\n            \"exportField\": \"\",\n            \"exportPipe\": \"\"\n        },\n        {\n            \"field\": \"deal_status\",\n            \"displayName\": \"Deal Status\",\n            \"exportField\": \"deal_status\",\n            \"exportPipe\": \"\"\n        },\n        {\n            \"field\": \"status\",\n            \"displayName\": \"Status\",\n            \"exportField\": \"status\",\n            \"exportPipe\": \"\"\n        }\n    ],\n    \"query\": {\n        \"query\": {\n        },\n        \"columns\": [\n            \"deal_id\",\n            \"matched_offer_id\",\n            \"status\",\n            \"buyer_price\",\n            \"offer_price\",\n            \"fob_price\",\n            \"buyerName\",\n            \"productName\",\n            \"price\",\n            \"futureDates\",\n            \"shipmentDates\",\n            \"deliveryLocation\",\n            \"pickupLocation\",\n            \"supplier\",\n            \"productSpecification\",\n            \"created\",\n            \"updated\",\n            \"bidPartialMargin\",\n            \"actionMenu\",\n            \"bidding\",\n            \"buyer\",\n            \"product\",\n            \"origin_country\",\n            \"delivery\",\n            \"item_type\",\n            \"deal\",\n            \"matched_offer\",\n            \"matched_offers\",\n            \"deal_status\",\n            \"bidPartialMargin\"\n        ]\n    },\n    \"entityType\": \"futureBids\"\n}"},"url":"{{gateway_host}}/export/csv"},"response":[{"id":"b9d53224-693a-4d2c-8da5-e5369df6790a","name":"export csv","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n    \"columns\": [\n        {\n            \"field\": \"deal_id\",\n            \"displayName\": \"Deal #\",\n            \"exportField\": \"deal_id\",\n            \"exportPipe\": \"fakeId\"\n        },\n        {\n            \"field\": \"matched_offer_id\",\n            \"displayName\": \"Matched Offer #\",\n            \"exportField\": \"matched_offer_id\",\n            \"exportPipe\": \"fakeId\"\n        },\n        {\n            \"field\": \"status\",\n            \"displayName\": \"Status\",\n            \"exportField\": \"status\",\n            \"exportPipe\": \"\"\n        },\n        {\n            \"field\": \"buyer_price\",\n            \"displayName\": \"MO Price\",\n            \"exportField\": \"buyer_price\",\n            \"exportPipe\": \"\"\n        },\n        {\n            \"field\": \"offer_price\",\n            \"displayName\": \"SO Price\",\n            \"exportField\": \"offer_price\",\n            \"exportPipe\": \"\"\n        },\n        {\n            \"field\": \"fob_price\",\n            \"displayName\": \"FOB Bid\",\n            \"exportField\": \"fob_price\",\n            \"exportPipe\": \"\"\n        },\n        {\n            \"field\": \"buyerName\",\n            \"displayName\": \"Buyer\",\n            \"exportField\": \"buyer_name\",\n            \"exportPipe\": \"\"\n        },\n        {\n            \"field\": \"productName\",\n            \"displayName\": \"Product\",\n            \"exportField\": \"product_name\",\n            \"exportPipe\": \"\"\n        },\n        {\n            \"field\": \"price\",\n            \"displayName\": \"Bid Price\",\n            \"exportField\": \"price\",\n            \"exportPipe\": \"\"\n        },\n        {\n            \"field\": \"futureDates\",\n            \"displayName\": \"Delivery Date\",\n            \"exportField\": \"est_delivery_start,est_delivery_end\",\n            \"exportPipe\": \"epochRange\"\n        },\n        {\n            \"field\": \"shipmentDates\",\n            \"displayName\": \"Shipment Dates\",\n            \"exportField\": \"future_bid_start_date,future_bid_end_date\",\n            \"exportPipe\": \"epochRange\"\n        },\n        {\n            \"field\": \"deliveryLocation\",\n            \"displayName\": \"Location\",\n            \"exportField\": \"destination_location_name\",\n            \"exportPipe\": \"\"\n        },\n        {\n            \"field\": \"pickupLocation\",\n            \"displayName\": \"Pickup Location\",\n            \"exportField\": \"pickup_location_name\",\n            \"exportPipe\": \"\"\n        },\n        {\n            \"field\": \"supplier_name\",\n            \"displayName\": \"Supplier Name\",\n            \"exportField\": \"supplier_name\",\n            \"exportPipe\": \"\"\n        },\n        {\n            \"field\": \"supplier_id\",\n            \"displayName\": \"Supplier ID\",\n            \"exportField\": \"supplier_id\",\n            \"exportPipe\": \"\"\n        },\n        {\n            \"field\": \"buyer_id\",\n            \"displayName\": \"Buyer ID\",\n            \"exportField\": \"buyer_id\",\n            \"exportPipe\": \"\"\n        },\n        {\n            \"field\": \"product_id\",\n            \"displayName\": \"Product ID\",\n            \"exportField\": \"product_id\",\n            \"exportPipe\": \"\"\n        },\n        {\n            \"field\": \"offer_id\",\n            \"displayName\": \"Offer ID\",\n            \"exportField\": \"offer_id\",\n            \"exportPipe\": \"\"\n        },\n        {\n            \"field\": \"quantity\",\n            \"displayName\": \"Quantity\",\n            \"exportField\": \"quantity\",\n            \"exportPipe\": \"\"\n        },\n        {\n            \"field\": \"currency\",\n            \"displayName\": \"Currency\",\n            \"exportField\": \"currency\",\n            \"exportPipe\": \"\"\n        },\n        {\n            \"field\": \"origin_country\",\n            \"displayName\": \"Origin Country\",\n            \"exportField\": \"origin_country\",\n            \"exportPipe\": \"\"\n        },\n        {\n            \"field\": \"ship_start\",\n            \"displayName\": \"Ship Start\",\n            \"exportField\": \"ship_start\",\n            \"exportPipe\": \"epoch\"\n        },\n        {\n            \"field\": \"ship_end\",\n            \"displayName\": \"Ship End\",\n            \"exportField\": \"ship_end\",\n            \"exportPipe\": \"epoch\"\n        },\n        {\n            \"field\": \"expires_at\",\n            \"displayName\": \"Expires At\",\n            \"exportField\": \"expires_at\",\n            \"exportPipe\": \"epoch\"\n        },\n        {\n            \"field\": \"productSpecification\",\n            \"displayName\": \"Product Specification\",\n            \"exportField\": \"product_specification\",\n            \"exportPipe\": \"\"\n        },\n        {\n            \"field\": \"created\",\n            \"displayName\": \"Offer Created\",\n            \"exportField\": \"created\",\n            \"exportPipe\": \"epoch\"\n        },\n        {\n            \"field\": \"updated\",\n            \"displayName\": \"Date of Bidding\",\n            \"exportField\": \"updated\",\n            \"exportPipe\": \"epoch\"\n        },\n        {\n            \"field\": \"bidPartialMargin\",\n            \"displayName\": \"Bid PM\",\n            \"exportField\": \"bid_partial_margin\",\n            \"exportPipe\": \"\"\n        },\n        {\n            \"field\": \"bid_percentage\",\n            \"displayName\": \"Bid Percentage\",\n            \"exportField\": \"bid_percentage\",\n            \"exportPipe\": \"\"\n        },\n        {\n            \"field\": \"bid_partial_margin_cad\",\n            \"displayName\": \"Bid PM CAD\",\n            \"exportField\": \"bid_partial_margin_cad\",\n            \"exportPipe\": \"\"\n        },\n        {\n            \"field\": \"is_biggest_bid_partial_margin\",\n            \"displayName\": \"Is Biggest Bid PM\",\n            \"exportField\": \"is_biggest_bid_partial_margin\",\n            \"exportPipe\": \"boolean\"\n        },\n        {\n            \"field\": \"bid_price\",\n            \"displayName\": \"Bid Price (Raw)\",\n            \"exportField\": \"bid_price\",\n            \"exportPipe\": \"\"\n        },\n        {\n            \"field\": \"is_future_bid\",\n            \"displayName\": \"Is Future Bid\",\n            \"exportField\": \"is_future_bid\",\n            \"exportPipe\": \"boolean\"\n        },\n        {\n            \"field\": \"has_future_bid\",\n            \"displayName\": \"Has Future Bid\",\n            \"exportField\": \"has_future_bid\",\n            \"exportPipe\": \"boolean\"\n        },\n        {\n            \"field\": \"is_delivery_date_active\",\n            \"displayName\": \"Is Delivery Date Active\",\n            \"exportField\": \"is_delivery_date_active\",\n            \"exportPipe\": \"boolean\"\n        },\n        {\n            \"field\": \"active\",\n            \"displayName\": \"Active\",\n            \"exportField\": \"active\",\n            \"exportPipe\": \"boolean\"\n        }\n    ],\n    \"query\": {\n        \"query\": {},\n        \"sort\": [],\n        \"columns\": [\n            \"deal_id\",\n            \"matched_offer_id\",\n            \"status\",\n            \"buyer_price\",\n            \"offer_price\",\n            \"fob_price\",\n            \"buyerName\",\n            \"productName\",\n            \"price\",\n            \"futureDates\",\n            \"shipmentDates\",\n            \"deliveryLocation\",\n            \"pickupLocation\",\n            \"supplier_name\",\n            \"supplier_id\",\n            \"buyer_id\",\n            \"product_id\",\n            \"offer_id\",\n            \"quantity\",\n            \"currency\",\n            \"origin_country\",\n            \"ship_start\",\n            \"ship_end\",\n            \"expires_at\",\n            \"productSpecification\",\n            \"created\",\n            \"updated\",\n            \"bidPartialMargin\",\n            \"bid_percentage\",\n            \"bid_partial_margin_cad\",\n            \"is_biggest_bid_partial_margin\",\n            \"bid_price\",\n            \"is_future_bid\",\n            \"has_future_bid\",\n            \"is_delivery_date_active\",\n            \"active\",\n            \"actionMenu\",\n            \"bidding\",\n            \"buyer\",\n            \"product\",\n\"origin_country\",\n\"delivery\",\n\"item_type\"\n        ]\n    },\n    \"entityType\": \"futureBids\"\n}"},"url":"{{gateway_host}}/export/csv"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Vary","value":"Origin, X-HTTP-Method, X-HTTP-Method-Override, X-Method-Override, Accept-Encoding"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Forward","value":"::1"},{"key":"Content-Type","value":"text/html; charset=utf-8"},{"key":"ETag","value":"W/\"2a2b-QA7DNFjDP2bMKTQ+GzyblCwaJqs\""},{"key":"Content-Encoding","value":"gzip"},{"key":"Date","value":"Tue, 30 Sep 2025 08:59:30 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"Deal #,Matched Offer #,Status,MO Price,SO Price,FOB Bid,Buyer,Product,Bid Price,Delivery Date,Shipment Dates,Location,Pickup Location,Supplier Name,Supplier ID,Buyer ID,Product ID,Offer ID,Quantity,Currency,Origin Country,Ship Start,Ship End,Expires At,Product Specification,Offer Created,Date of Bidding,Bid PM,Bid Percentage,Bid PM CAD,Is Biggest Bid PM,Bid Price (Raw),Is Future Bid,Has Future Bid,Is Delivery Date Active,Active,Origin Country\n,78735,,4.2875,2,-1.2875,,,1,,,,,,,,,,,,,,,,,24-Sep-2025,24-Sep-2025,,,,FALSE,,FALSE,FALSE,TRUE,FALSE,\n,5c848,,1.9075,0.21,0.2025,,,1.9,,,,,,,,,,,,,,,,,24-Sep-2025,24-Sep-2025,,,,FALSE,,FALSE,FALSE,TRUE,FALSE,\n,5c848,,1.9075,0.21,0.2025,,,1.9,,,,,,,,,,,,,,,,,24-Sep-2025,24-Sep-2025,,,,FALSE,,TRUE,FALSE,TRUE,FALSE,\n,44af8,,1.51,0.21,0.0618,,,1.4,,,,,,,,,,,,,,,,,24-Sep-2025,24-Sep-2025,,,,FALSE,,FALSE,FALSE,TRUE,FALSE,\n,44142,,4.4875,0.21,0.1703,,,4.4,,,,,,,,,,,,,,,,,24-Sep-2025,24-Sep-2025,,,,FALSE,,FALSE,FALSE,TRUE,FALSE,\n,917b9,,4.2875,2,-1.2875,,,1,,,,,,,,,,,,,,,,,24-Sep-2025,24-Sep-2025,,,,FALSE,,FALSE,FALSE,TRUE,FALSE,\n,68a3f,,8,2,-5,,,1,,,,,,,,,,,,,,,,,24-Sep-2025,24-Sep-2025,,,,FALSE,,FALSE,FALSE,TRUE,FALSE,\n,f9207,,10,2,-7,,,1,,,,,,,,,,,,,,,,,24-Sep-2025,24-Sep-2025,,,,FALSE,,FALSE,FALSE,TRUE,FALSE,\n,bc536,,8,2,-5,,,1,,,,,,,,,,,,,,,,,24-Sep-2025,24-Sep-2025,,,,FALSE,,FALSE,FALSE,TRUE,FALSE,\n,3cf40,,4.2875,2,-1.2875,,,1,,,,,,,,,,,,,,,,,24-Sep-2025,24-Sep-2025,,,,FALSE,,FALSE,FALSE,TRUE,FALSE,\n,5bca5,,4.2875,2,-1.2875,,,1,,,,,,,,,,,,,,,,,24-Sep-2025,24-Sep-2025,,,,FALSE,,FALSE,FALSE,TRUE,FALSE,\n,a93c8,,0.5825,0.43,0.4195,,,0.572,,,,,,,,,,,,,,,,,24-Sep-2025,24-Sep-2025,,,,FALSE,,FALSE,FALSE,TRUE,FALSE,\n,a93c8,,0.5825,0.43,0.4195,,,0.572,,,,,,,,,,,,,,,,,24-Sep-2025,24-Sep-2025,,,,FALSE,,TRUE,FALSE,TRUE,FALSE,\n,88540,,0.4625,0.43,0.4131,,,0.45,,,,,,,,,,,,,,,,,24-Sep-2025,24-Sep-2025,,,,FALSE,,FALSE,FALSE,TRUE,FALSE,\n,88540,,0.4625,0.43,0.4131,,,0.45,,,,,,,,,,,,,,,,,24-Sep-2025,24-Sep-2025,,,,FALSE,,TRUE,FALSE,TRUE,FALSE,\n,88498,,1.3725,0.43,0.3835,,,1.27,,,,,,,,,,,,,,,,,24-Sep-2025,24-Sep-2025,,,,FALSE,,FALSE,FALSE,TRUE,FALSE,\n,88498,,1.3725,0.43,0.3835,,,1.27,,,,,,,,,,,,,,,,,24-Sep-2025,24-Sep-2025,,,,FALSE,,TRUE,FALSE,TRUE,FALSE,\n,956b0,,12,2,-9,,,1,,,,,,,,,,,,,,,,,24-Sep-2025,24-Sep-2025,,,,FALSE,,FALSE,FALSE,TRUE,FALSE,\n,3dc9d,,8,2,-5,,,1,,,,,,,,,,,,,,,,,24-Sep-2025,24-Sep-2025,,,,FALSE,,FALSE,FALSE,TRUE,FALSE,\n,25397,,10,2,-7,,,1,,,,,,,,,,,,,,,,,24-Sep-2025,24-Sep-2025,,,,FALSE,,FALSE,FALSE,TRUE,FALSE,\n,2b16d,,8,2,-5,,,1,,,,,,,,,,,,,,,,,24-Sep-2025,24-Sep-2025,,,,FALSE,,FALSE,FALSE,TRUE,FALSE,\n,29ad3,,20.065,3.1,-11.365,,,5.6,,,,,,,,,,,,,,,,,24-Sep-2025,24-Sep-2025,,,,FALSE,,FALSE,FALSE,TRUE,FALSE,\n,29ad3,,20.065,3.1,-11.365,,,5.6,,,,,,,,,,,,,,,,,24-Sep-2025,24-Sep-2025,,,,FALSE,,TRUE,FALSE,TRUE,FALSE,\n,7ef14,,2.79,1,-0.79,,,1,,,,,,,,,,,,,,,,,24-Sep-2025,24-Sep-2025,,,,FALSE,,FALSE,FALSE,TRUE,FALSE,\n,85fda,,8.89,2,95.1099,,,101.9999,,,,,,,,,,,,,,,,,24-Sep-2025,24-Sep-2025,,,,FALSE,,FALSE,FALSE,TRUE,FALSE,\n,2d0e0,,10.2025,3,93.7975,,,101,,,,,,,,,,,,,,,,,24-Sep-2025,24-Sep-2025,,,,FALSE,,FALSE,FALSE,TRUE,FALSE,\n,9c861,,4.2875,2,-1.2875,,,1,,,,,,,,,,,,,,,,,24-Sep-2025,24-Sep-2025,,,,FALSE,,FALSE,FALSE,TRUE,FALSE,\n,e05c2,,2.79,1,-0.79,,,1,,,,,,,,,,,,,,,,,24-Sep-2025,24-Sep-2025,,,,FALSE,,FALSE,FALSE,TRUE,FALSE,\n,8c387,,4.2875,2,-1.2875,,,1,,,,,,,,,,,,,,,,,24-Sep-2025,24-Sep-2025,,,,FALSE,,FALSE,FALSE,TRUE,FALSE,\n,dd883,,2.79,1,-0.79,,,1,,,,,,,,,,,,,,,,,24-Sep-2025,24-Sep-2025,,,,FALSE,,FALSE,FALSE,TRUE,FALSE,\n,9af63,,17.295,1.1,-14.995,,,1.2,,,,,,,,,,,,,,,,,24-Sep-2025,24-Sep-2025,,,,FALSE,,FALSE,FALSE,TRUE,FALSE,\n,9af63,,17.295,1.1,-14.995,,,1.2,,,,,,,,,,,,,,,,,24-Sep-2025,24-Sep-2025,,,,FALSE,,TRUE,FALSE,TRUE,FALSE,\n,9af63,,17.295,1.1,-14.995,,,1.2,,,,,,,,,,,,,,,,,24-Sep-2025,24-Sep-2025,,,,FALSE,,TRUE,FALSE,TRUE,FALSE,\n,9af63,,17.295,1.1,-15.195,,,1,,,,,,,,,,,,,,,,,23-Sep-2025,23-Sep-2025,,,,FALSE,,TRUE,FALSE,TRUE,FALSE,\n,e711a,,34.8175,1.1,-30.3175,,,3.4,,,,,,,,,,,,,,,,,24-Sep-2025,24-Sep-2025,,,,FALSE,,FALSE,FALSE,TRUE,FALSE,\n,e711a,,34.8175,1.1,-30.3175,,,3.4,,,,,,,,,,,,,,,,,24-Sep-2025,24-Sep-2025,,,,FALSE,,TRUE,FALSE,TRUE,FALSE,\n,e711a,,34.8175,1.1,-30.3175,,,3.4,,,,,,,,,,,,,,,,,24-Sep-2025,24-Sep-2025,,,,FALSE,,TRUE,FALSE,TRUE,FALSE,\n,f9e9d,,4.2875,2,-1.2875,,,1,,,,,,,,,,,,,,,,,23-Sep-2025,23-Sep-2025,,,,FALSE,,FALSE,FALSE,TRUE,FALSE,\n,9a93d,,2.79,1,-0.79,,,1,,,,,,,,,,,,,,,,,23-Sep-2025,23-Sep-2025,,,,FALSE,,FALSE,FALSE,TRUE,FALSE,\n,6a4e0,,4.2875,2,-1.2875,,,1,,,,,,,,,,,,,,,,,23-Sep-2025,23-Sep-2025,,,,FALSE,,FALSE,FALSE,TRUE,FALSE,\n,96b98,,2.79,1,-0.79,,,1,,,,,,,,,,,,,,,,,23-Sep-2025,23-Sep-2025,,,,FALSE,,FALSE,FALSE,TRUE,FALSE,\n,a2847,,1.6475,0.32,0.2725,,,1.6,,,,,,,,,,,,,,,,,23-Sep-2025,23-Sep-2025,,,,FALSE,,FALSE,FALSE,TRUE,FALSE,\n,a2847,,1.6475,0.32,0.2725,,,1.6,,,,,,,,,,,,,,,,,23-Sep-2025,23-Sep-2025,,,,FALSE,,TRUE,FALSE,TRUE,FALSE,\n,f4608,,3.875,0.32,0.1499,,,3.5,,,,,,,,,,,,,,,,,23-Sep-2025,23-Sep-2025,,,,FALSE,,FALSE,FALSE,TRUE,FALSE,\n,f4608,,3.875,0.32,0.1499,,,3.5,,,,,,,,,,,,,,,,,23-Sep-2025,23-Sep-2025,,,,FALSE,,TRUE,FALSE,TRUE,FALSE,\n,2c543,,1.3,0.32,0.0497,,,1.1,,,,,,,,,,,,,,,,,23-Sep-2025,23-Sep-2025,,,,FALSE,,FALSE,FALSE,TRUE,FALSE,\n,2c543,,1.3,0.32,0.0497,,,1.1,,,,,,,,,,,,,,,,,23-Sep-2025,23-Sep-2025,,,,FALSE,,TRUE,FALSE,TRUE,FALSE,\n,ccdcd,,2.79,1,-0.79,,,1,,,,,,,,,,,,,,,,,23-Sep-2025,23-Sep-2025,,,,FALSE,,FALSE,FALSE,TRUE,FALSE,\n,2c217,,11.9425,5.55,3.1075,,,9.5,,,,,,,,,,,,,,,,,23-Sep-2025,23-Sep-2025,,,,FALSE,,FALSE,FALSE,TRUE,FALSE,\n,2c217,,11.9425,5.55,3.1075,,,9.5,,,,,,,,,,,,,,,,,23-Sep-2025,23-Sep-2025,,,,FALSE,,TRUE,FALSE,TRUE,FALSE,\n,2c217,,11.9425,5.55,3.1075,,,9.5,,,,,,,,,,,,,,,,,23-Sep-2025,23-Sep-2025,,,,FALSE,,TRUE,FALSE,TRUE,FALSE,\n,2c217,,11.9425,5.55,3.1075,,,9.5,,,,,,,,,,,,,,,,,23-Sep-2025,23-Sep-2025,,,,FALSE,,TRUE,FALSE,TRUE,FALSE,\n,b11c7,,2.79,1,-0.79,,,1,,,,,,,,,,,,,,,,,23-Sep-2025,23-Sep-2025,,,,FALSE,,FALSE,FALSE,TRUE,FALSE,\n,4a1e1,,4.2875,2,-1.2875,,,1,,,,,,,,,,,,,,,,,23-Sep-2025,23-Sep-2025,,,,FALSE,,FALSE,FALSE,TRUE,FALSE,\n,d6a7a,,2.79,1,-0.79,,,1,,,,,,,,,,,,,,,,,23-Sep-2025,23-Sep-2025,,,,FALSE,,FALSE,FALSE,TRUE,FALSE,\n,e44d2,,37.475,3.1,-22.375,,,12,,,,,,,,,,,,,,,,,23-Sep-2025,23-Sep-2025,,,,FALSE,,FALSE,FALSE,TRUE,FALSE,\n,5efe8,,9.5895,4.7,-0.6895,,,4.2,,,,,,,,,,,,,,,,,23-Sep-2025,23-Sep-2025,,,,FALSE,,FALSE,FALSE,TRUE,FALSE,\n,bcf43,,8.0767,4.7,-2.0767,,,1.3,,,,,,,,,,,,,,,,,23-Sep-2025,23-Sep-2025,,,,FALSE,,FALSE,FALSE,TRUE,FALSE,\n,d555f,,2.79,1,-0.79,,,1,,,,,,,,,,,,,,,,,23-Sep-2025,23-Sep-2025,,,,FALSE,,FALSE,FALSE,TRUE,FALSE,\n,ff003,,4.2875,2,-1.2875,,,1,,,,,,,,,,,,,,,,,23-Sep-2025,23-Sep-2025,,,,FALSE,,FALSE,FALSE,TRUE,FALSE,\n,83778,,84.995,60,77.005,,,102,,,,,,,,,,,,,,,,,23-Sep-2025,23-Sep-2025,,,,FALSE,,FALSE,FALSE,TRUE,FALSE,\n,83778,,84.995,60,77.005,,,102,,,,,,,,,,,,,,,,,23-Sep-2025,23-Sep-2025,,,,FALSE,,TRUE,FALSE,TRUE,FALSE,\n,83778,,84.995,60,77.005,,,102,,,,,,,,,,,,,,,,,23-Sep-2025,23-Sep-2025,,,,FALSE,,TRUE,FALSE,TRUE,FALSE,\n,83778,,84.995,60,77.005,,,102,,,,,,,,,,,,,,,,,23-Sep-2025,23-Sep-2025,,,,FALSE,,TRUE,FALSE,TRUE,FALSE,\n,83778,,84.995,60,77.005,,,102,,,,,,,,,,,,,,,,,23-Sep-2025,23-Sep-2025,,,,FALSE,,TRUE,FALSE,TRUE,FALSE,\n,83778,,84.995,60,77.005,,,102,,,,,,,,,,,,,,,,,23-Sep-2025,23-Sep-2025,,,,FALSE,,TRUE,FALSE,TRUE,FALSE,\n,83778,,84.995,60,77.005,,,102,,,,,,,,,,,,,,,,,23-Sep-2025,23-Sep-2025,,,,FALSE,,TRUE,FALSE,TRUE,FALSE,\n,83778,,84.995,60,77.005,,,102,,,,,,,,,,,,,,,,,23-Sep-2025,23-Sep-2025,,,,FALSE,,TRUE,FALSE,TRUE,FALSE,\n,f888e,,10.18,3,94.82,,,102,,,,,,,,,,,,,,,,,23-Sep-2025,23-Sep-2025,,,,FALSE,,FALSE,FALSE,TRUE,FALSE,\n,94fde,,2.79,1,-0.79,,,1,,,,,,,,,,,,,,,,,23-Sep-2025,23-Sep-2025,,,,FALSE,,FALSE,FALSE,TRUE,FALSE,\n,8bf9a,,7.395,2.222,1.327,,,6.5,,,,,,,,,,,,,,,,,23-Sep-2025,23-Sep-2025,,,,FALSE,,FALSE,FALSE,TRUE,FALSE,\n,b65de,,4.2875,2,-1.2875,,,1,,,,,,,,,,,,,,,,,23-Sep-2025,23-Sep-2025,,,,FALSE,,FALSE,FALSE,TRUE,FALSE,\n,52331,,2.79,1,-0.79,,,1,,,,,,,,,,,,,,,,,23-Sep-2025,23-Sep-2025,,,,FALSE,,FALSE,FALSE,TRUE,FALSE,\n,5a314,,4.7275,1.2,-0.9775,,,2.55,,,,,,,,,,,,,,,,,23-Sep-2025,23-Sep-2025,,,,FALSE,,FALSE,FALSE,TRUE,FALSE,\n,5a314,,4.7275,1.2,-0.9775,,,2.55,,,,,,,,,,,,,,,,,23-Sep-2025,23-Sep-2025,,,,FALSE,,TRUE,FALSE,TRUE,FALSE,\n,5a314,,4.7275,1.2,-0.9775,,,2.55,,,,,,,,,,,,,,,,,23-Sep-2025,23-Sep-2025,,,,FALSE,,TRUE,FALSE,TRUE,FALSE,\n,f5edc,,4.2875,2,-1.2875,,,1,,,,,,,,,,,,,,,,,22-Sep-2025,22-Sep-2025,,,,FALSE,,FALSE,FALSE,TRUE,FALSE,\n,634b8,,2.79,1,-0.79,,,1,,,,,,,,,,,,,,,,,22-Sep-2025,22-Sep-2025,,,,FALSE,,FALSE,FALSE,TRUE,FALSE,\n,03afc,,4.2875,2,-1.2875,,,1,,,,,,,,,,,,,,,,,22-Sep-2025,22-Sep-2025,,,,FALSE,,FALSE,FALSE,TRUE,FALSE,\n,43ce7,,2.79,1,-0.79,,,1,,,,,,,,,,,,,,,,,22-Sep-2025,22-Sep-2025,,,,FALSE,,FALSE,FALSE,TRUE,FALSE,\n,0405d,,4.615,2.3,0.085,,,2.4,,,,,,,,,,,,,,,,,22-Sep-2025,22-Sep-2025,,,,FALSE,,FALSE,FALSE,TRUE,FALSE,\n,0405d,,4.615,2.3,0.085,,,2.4,,,,,,,,,,,,,,,,,22-Sep-2025,22-Sep-2025,,,,FALSE,,FALSE,FALSE,TRUE,FALSE,\n,0405d,,4.615,2.3,0.085,,,2.4,,,,,,,,,,,,,,,,,22-Sep-2025,22-Sep-2025,,,,FALSE,,TRUE,FALSE,TRUE,FALSE,\n,0405d,,4.615,2.3,0.085,,,2.4,,,,,,,,,,,,,,,,,22-Sep-2025,22-Sep-2025,,,,FALSE,,TRUE,FALSE,TRUE,FALSE,\n,988b5,,33,1,-2.3,,,29.7,,,,,,,,,,,,,,,,,22-Sep-2025,22-Sep-2025,,,,FALSE,,FALSE,FALSE,TRUE,FALSE,\n,7e0c3,,11.9425,5.55,3.5075,,,9.9,,,,,,,,,,,,,,,,,22-Sep-2025,22-Sep-2025,,,,FALSE,,FALSE,FALSE,TRUE,FALSE,\n,250e9,,2.79,1,-0.79,,,1,,,,,,,,,,,,,,,,,22-Sep-2025,22-Sep-2025,,,,FALSE,,FALSE,FALSE,TRUE,FALSE,\n,a2eb3,,4.2875,2,-1.2875,,,1,,,,,,,,,,,,,,,,,22-Sep-2025,22-Sep-2025,,,,FALSE,,FALSE,FALSE,TRUE,FALSE,\n,6160f,,5.4125,3.1234,1.7109,,,4,,,,,,,,,,,,,,,,,22-Sep-2025,22-Sep-2025,,,,FALSE,,FALSE,FALSE,TRUE,FALSE,\n,6160f,,5.4125,3.1234,1.7109,,,4,,,,,,,,,,,,,,,,,22-Sep-2025,22-Sep-2025,,,,FALSE,,TRUE,FALSE,TRUE,FALSE,\n,6160f,,5.4125,3.1234,1.7109,,,4,,,,,,,,,,,,,,,,,22-Sep-2025,22-Sep-2025,,,,FALSE,,TRUE,FALSE,TRUE,FALSE,\n,6160f,,5.4125,3.1234,1.7109,,,4,,,,,,,,,,,,,,,,,22-Sep-2025,22-Sep-2025,,,,FALSE,,TRUE,FALSE,TRUE,FALSE,\n,5dd3a,,6.7425,4.123,2.8805,,,5.5,,,,,,,,,,,,,,,,,22-Sep-2025,22-Sep-2025,,,,FALSE,,FALSE,FALSE,TRUE,FALSE,\n,04aa4,,2.75,1.123,0.373,,,2,,,,,,,,,,,,,,,,,22-Sep-2025,22-Sep-2025,,,,FALSE,,FALSE,FALSE,TRUE,FALSE,\n,04839,,2.8,2.123,1.0665,,,1.9,,,,,,,,,,,,,,,,,22-Sep-2025,22-Sep-2025,,,,FALSE,,FALSE,FALSE,TRUE,FALSE,\n,04839,,2.8,2.123,1.1839,,,2,,,,,,,,,,,,,,,,,22-Sep-2025,22-Sep-2025,,,,FALSE,,FALSE,FALSE,TRUE,FALSE,\n,fb900,,4.2875,2,-1.2875,,,1,,,,,,,,,,,,,,,,,21-Sep-2025,21-Sep-2025,,,,FALSE,,FALSE,FALSE,TRUE,FALSE,\n,46d40,,2.79,1,-0.79,,,1,,,,,,,,,,,,,,,,,21-Sep-2025,21-Sep-2025,,,,FALSE,,FALSE,FALSE,TRUE,FALSE,\n,73efc,,4.2875,2,-1.2875,,,1,,,,,,,,,,,,,,,,,21-Sep-2025,21-Sep-2025,,,,FALSE,,FALSE,FALSE,TRUE,FALSE,\n,233dc,,4.2875,2,-1.2875,,,1,,,,,,,,,,,,,,,,,21-Sep-2025,21-Sep-2025,,,,FALSE,,FALSE,FALSE,TRUE,FALSE,\n"}],"_postman_id":"5dcc51d5-fede-4bb9-ba16-2ce148c15373"}],"id":"463de67a-03b3-48c3-b2b5-8e3bd73b0781","_postman_id":"463de67a-03b3-48c3-b2b5-8e3bd73b0781"},{"name":"Intercom","item":[{"name":"Assign User","id":"37800f59-9377-420a-b4dc-17f8a493c0ac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-intercom-token","value":"{{webhook_token}}","type":"text"}],"url":{"raw":"{{gateway_host}}}/intercom/webhook?convo_id={{convo_id}}","host":["{{gateway_host}}}"],"path":["intercom","webhook"],"query":[{"key":"convo_id","value":"{{convo_id}}"}]}},"response":[],"_postman_id":"37800f59-9377-420a-b4dc-17f8a493c0ac"},{"name":"Update Company Type","id":"0107c847-e601-450d-a9b5-c75bbd71607f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-intercom-token","value":"{{webhook_token}}","type":"text"}],"url":{"raw":"{{gateway_host}}}/intercom/company-type/:account_id","host":["{{gateway_host}}}"],"path":["intercom","company-type",":account_id"],"variable":[{"key":"account_id","value":"{{test_account_id}}"}]}},"response":[],"_postman_id":"0107c847-e601-450d-a9b5-c75bbd71607f"}],"id":"552a3c6c-4869-4c36-996e-ee7fbe139ff1","_postman_id":"552a3c6c-4869-4c36-996e-ee7fbe139ff1"},{"name":"Macropoint","item":[{"name":"Webhooks","item":[{"name":"Trip Events","id":"fc327aed-e199-4333-b7c4-476a75a35e7f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":{"raw":"{{gateway_host}}/macropoint/orders/webhooks/trip-event?MPOrderID=27722BBFEA2140509249DA4910B45A6D&MPTrackingRequestID=1211&ID=Load-123&Stop=test stop&Event=X3&EventDateTime=2024-03-11T14:25:08Z&StopID=123&ApproxLocationDateTimeInLocalTime=2022-06-21T10:25:08&Latitude=41.39690000&Longitude=-81.66249100&Street1=15+Cantonment+Walton+Lahore&Street2=Suite+190&Neighborhood=Batman's+friend&City=Gotham&State=GM&Postal=44131&Country=US&UpdatedBy=Driver&UnLocode=CNZUH","host":["{{gateway_host}}"],"path":["macropoint","orders","webhooks","trip-event"],"query":[{"key":"MPOrderID","value":"27722BBFEA2140509249DA4910B45A6D"},{"key":"MPTrackingRequestID","value":"1211"},{"key":"ID","value":"Load-123"},{"key":"Stop","value":"test stop"},{"key":"Event","value":"X3"},{"key":"EventDateTime","value":"2024-03-11T14:25:08Z"},{"key":"StopID","value":"123"},{"key":"ApproxLocationDateTimeInLocalTime","value":"2022-06-21T10:25:08"},{"key":"Latitude","value":"41.39690000"},{"key":"Longitude","value":"-81.66249100"},{"key":"Street1","value":"15+Cantonment+Walton+Lahore"},{"key":"Street2","value":"Suite+190"},{"key":"Neighborhood","value":"Batman's+friend"},{"key":"City","value":"Gotham"},{"key":"State","value":"GM"},{"key":"Postal","value":"44131"},{"key":"Country","value":"US"},{"key":"UpdatedBy","value":"Driver"},{"key":"UnLocode","value":"CNZUH"}]},"description":"# The Trip Events Callback will push all arrival and departure trip events on a specified order to a URL endpoint that is established by the customer.\n\n# **Individual Event Updates can be retrieved from the URL via a GET Request.**\n\n#### Trip Events are provided in real time as they are received on a live tracking session.\n\n<table><tbody><tr><th>Parameter</th><th>Description</th></tr><tr><td><div>MPOrderID</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td><td><div>Unique Descartes MacroPoint ID</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>MPTrackingRequestID</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td><td><div>Unique Descartes MacroPoint generated ID for the order if a Tracking Request was sent to a partnered Descartes MacroPoint Carrier at the time of order creation. If no Tracking Request was sent to a MacroPoint Partnered Carrier this parameter will not contain any value<br><br>Note: The MPTrackingRequestID will be provided for all LTL trip event updates.</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>ID</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td><td><div>Customer specific order ID</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>Stop</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td><td><div>Name of the stop</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>StopID</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td><td><div>Customer internal reference ID for stop</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>Event</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td><td><div>Event is the “code” that goes with the event. E.g., X1 for Arrived at delivery location, X3 for arrived at pick-up location</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>EventDateTime</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td><td><div>Time in ISO8601 and in UTC</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>ApproxLocationDateTimeIn LocalTime</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td><td><div>The date and time that this event occurred in the local time zone</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>Latitude</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td><td><div>The latitude in decimal degrees</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>Longitude</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td><td><div>The longitude in decimal degrees</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>Street1</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td><td><div>The street address if available</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>Street2</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td><td><div>The second street address line if available</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>Neighborhood</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td><td><div>The name of the neighborhood if available</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>City</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td><td><div>The city name if available</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>State</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td><td><div>The state name if available</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>Postal</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td><td><div>The postal code if available</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>Country</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td><td><div>The country if available<br>Ex: US, USA, United States</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>UpdatedBy</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td><td><div>Method event was captured. Values include: Customer (via API or Control Tower), Carrier (via integration), Driver (via mobile app), MacroPoint (via geofence)</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>UnLocode</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td><td><div>Code for Associated Terminal. Ocean Tracking Only.</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td></tr></tbody></table>\n\n## Standard Event Codes:\n\n| Event Name | Event Code |\n| --- | --- |\n| Arrived - Pickup | X3 |\n| Departed - Pickup | AF |\n| Arrived - DropOff | X1 |\n| Departed - DropOff | D1 |\n\n### Sample URL:\n\n```\nhttps://CustomerSpecifiedURL?MPOrderID=1234567&TrackingRequestID=632F3D84198B4E32BD70259C12A9BE25&ID=Load-123&Stop=stop1&Event=x1&EventDateTime=2022-06-21T14:25:08Z&StopID=123&ApproxLocationDateTimeInLocalTime=2022-06-21T10:25:08&Latitude=41.39690000&Longitude=-81.66249100&Street1=6050+Oak+Tree+Blvd&Street2=Suite+190&Neighborhood=Meadow+Lakes&City=Independence&State=OH&Postal=44131&Country=US&UpdatedBy=Driver&UnLocode=CNZUH\n\n ```"},"response":[],"_postman_id":"fc327aed-e199-4333-b7c4-476a75a35e7f"},{"name":"Location Updates","id":"404a1f64-68cb-4688-8324-e220b799e2e9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":{"raw":"{{gateway_host}}/macropoint/orders/webhooks/location-update?MPOrderID=44EF8358ADD44927B705C0C42346DC5F&ID=Load-123&Latitude=39.842180&Longitude=-82.917530&Uncertainty=0&Street1=6051+Oak+Tree+Blvd+TCStage&Street2=Suite+123123&Neighborhood=&City=Gotham&State=Punj&Postal=4433&Country=United States of America&LocationDateTimeUTC=2020-01-01T12:00:00Z&ApproxLocationDateTimeInLocalTime=2020-01-01T13:00:00Z&DataSource=Ping&MPTrackingRequestID=123&Locator=2167894270","host":["{{gateway_host}}"],"path":["macropoint","orders","webhooks","location-update"],"query":[{"key":"MPOrderID","value":"44EF8358ADD44927B705C0C42346DC5F"},{"key":"ID","value":"Load-123"},{"key":"Latitude","value":"39.842180"},{"key":"Longitude","value":"-82.917530"},{"key":"Uncertainty","value":"0"},{"key":"Street1","value":"6051+Oak+Tree+Blvd+TCStage"},{"key":"Street2","value":"Suite+123123"},{"key":"Neighborhood","value":""},{"key":"City","value":"Gotham"},{"key":"State","value":"Punj"},{"key":"Postal","value":"4433"},{"key":"Country","value":"United States of America"},{"key":"LocationDateTimeUTC","value":"2020-01-01T12:00:00Z"},{"key":"ApproxLocationDateTimeInLocalTime","value":"2020-01-01T13:00:00Z"},{"key":"DataSource","value":"Ping"},{"key":"MPTrackingRequestID","value":"123"},{"key":"Locator","value":"2167894270"}]},"description":"# The Location Updates Callback will push all location updates received on an order to a URL endpoint that is established by the customer.\n\n# Individual Location Updates can be retrieved from the URL via a GET Request.\n\n#### Location updates are provided in real time as they are received on a live tracking session\n\n| Parameter | Description |\n| --- | --- |\n| MPOrderID | Unique MacroPoint generated ID for the order |\n| ID | Customers specific order ID |\n| Latitude | Latitude, in decimal degrees |\n| Longitude | Longitude, in decimal degrees |\n| Uncertainty | Approximate uncertainty radius, in miles |\n| Street1 | Street address, if available |\n| Street2 | Second street address line, if available |\n| Neighborhood | Neighborhood name, if available |\n| City | City name, if available |\n| State or Province | State name, if available |\n| Postal | Postal code, if available |\n| Country | Country, if available  <br>IE: US, USA, United States |\n| LocationDateTimeUTC | Date and time in ISO 8601 that location was obtained |\n| ApproxLocationDateTime InLocalTime | The date and time that this location was obtained, in the local time zone |\n| DataSource | Source the data was received from |\n| MPTrackingRequestID | Unique MacroPoint generated ID for the order if a Tracking Request was sent to a partnered MacroPoint carrier at the time of order creation. If no Tracking Request was sent to a MacroPoint partnered carrier this parameter will not contain any value |\n| Locator | TMS ID, Truck Number, Trailer Number, or Mobile Cell Phone Number |\n\n#### The DataSource value in the URL return will differ based on the tracking session method. Below are the variation options:\n\n| Shipment Type | DataSource Value |\n| --- | --- |\n| Mobile App Tracked Shipment | Ping |\n| TMS Tracked Shipment | TMS |\n| LTL Tracked Shipment | LTL |\n| Telematics Tracked Shipment | Telematics |\n\n### Sample URL:\n\n```\nhttps://CustomerSpecifiedURL?MPOrderID=1234567&ID=Load-123&Latitude=39.842180&Longitude=-82.917530&Uncertainty=0&Street1=6050+Oak+Tree+Blvd&Street2=Suite+190&Neighborhood=&City=Independence&State=OH&Postal=44131&Country=USA&LocationDateTimeUTC=2020-01-01T12:00:00Z&ApproxLocationDateTimeInLocalTime=2020-01-01T12:00:00Z&DataSource=Ping&MPTrackingRequestID=A04EE941BEC446419749D8433885C654&locator=2167894270\n\n ```"},"response":[],"_postman_id":"404a1f64-68cb-4688-8324-e220b799e2e9"},{"name":"Schedule Alerts","id":"dd5efae0-3fef-4b4d-af20-8fe377f95895","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":{"raw":"{{gateway_host}}/macropoint/orders/webhooks/schedule-alert?MPOrderID=1234567&ID=Load-123&StopType=Pickup&StopID=123&StopName=full stop&AddressLine1=6050+Oak+Tree+Blvd&City=Independence&State=OH&PostalCode=44131&ScheduleAlertCode=1&ScheduledStartTimeInLocalTimeForStop=20200101120000&ScheduledEndTimeInLocalTimeForStop=20200101120000&ScheduleAlertText=The shipment will be delayed a little bit bcz captain Jawad is having a party&DistanceToStopInMiles=20&EtaToStop=2020-01-01T11:55:00Z&ETALocalTimeZoneOffset=04:00&MPTrackingRequestID=8970EE13D98741A78D849033057A46BA","host":["{{gateway_host}}"],"path":["macropoint","orders","webhooks","schedule-alert"],"query":[{"key":"MPOrderID","value":"1234567"},{"key":"ID","value":"Load-123"},{"key":"StopType","value":"Pickup"},{"key":"StopID","value":"123"},{"key":"StopName","value":"full stop"},{"key":"AddressLine1","value":"6050+Oak+Tree+Blvd"},{"key":"City","value":"Independence"},{"key":"State","value":"OH"},{"key":"PostalCode","value":"44131"},{"key":"ScheduleAlertCode","value":"1"},{"key":"ScheduledStartTimeInLocalTimeForStop","value":"20200101120000"},{"key":"ScheduledEndTimeInLocalTimeForStop","value":"20200101120000"},{"key":"ScheduleAlertText","value":"The shipment will be delayed a little bit bcz captain Jawad is having a party"},{"key":"DistanceToStopInMiles","value":"20"},{"key":"EtaToStop","value":"2020-01-01T11:55:00Z"},{"key":"ETALocalTimeZoneOffset","value":"04:00"},{"key":"MPTrackingRequestID","value":"8970EE13D98741A78D849033057A46BA"}]},"description":"# The Schedule Alerts Callback will push all ETAs and schedule alerts on a specified order to a URL endpoint that is established by the customer.\n\n# **Individual Schedule Alert Updates can be retrieved from the URL via a GET Request.**\n\nDescartes MacroPoint will recalculate and return a new schedule alert with each corresponding location update received on the order\n\nSchedule Alerts can be throttled by Customer within Descartes MacroPoint if desired\n\n| Parameter | Description |\n| --- | --- |\n| MPOrderID | Unique Descartes MacroPoint generated ID for the order |\n| ID | Customers specific order ID |\n| StopType | The type of stop that is expected to occur next: Pickup or Dropoff |\n| StopID | Customer internal reference ID for stop |\n| StopName | The name of the stop |\n| AddressLine1 | Street address, if available |\n| City | City name, if available |\n| State | State name, if available |\n| PostalCode | Postal code, if available |\n| Country | Country, if available |\n| [ScheduleAlertCode](#scheduled-alert-codes) | A numeric code that represents the current status of the order |\n| ScheduledStartTimeInLocalTimeForStop | The data and time stop was scheduled to begin in the local time zone (Format: yyyyMMddHHmmss) |\n| ScheduledEndTimeInLocalTimeForStop | The data and time stop was scheduled to end in the local time zone (Format: yyyyMMddHHmmss) |\n| ScheduleAlertText | A brief description of current schedule status for the order (i.e.: 2 Hours Behind) |\n| DistanceToStopInMiles | Distance to stop in miles from last known location |\n| EtaToStop | Estimated time to the stop based on the last known location in UTC |\n| ETALocalTimeZoneOffset | Local Timezone offset from UTC |\n| MPTrackingRequestID | Unique Descartes MacroPoint generated ID for the order |\n\n## Scheduled Alert Codes:\n\n| Schedule Alert Name | Schedule Alert Code |\n| --- | --- |\n| Cannot Determine | 0 |\n| On Time or Ahead of Schedule | 1 |\n| Behind Schedule | 2 |\n| Cannot Make It | 3 |\n| Past Appointment Time | 4 |\n\n### Sample URL:\n\n```\nhttps://CustomerSpecifiedURL?MPOrderID=1234567&ID=Load-123&StopType=Pickup&StopID=123&StopName=Stop1&AddressLine1=6050+Oak+Tree+Blvd&City=Independence&State=OH&PostalCode=44131&ScheduleAlertCode=1&ScheduledStartTimeInLocalTimeForStop=20200101120000&ScheduledEndTImeInLocalTimeForStop=20200101120000&ScheduleAlertText=OnTime&DistanceToStopInMiles=20&EtaToStop=2020-01-01T11:55\n:00Z&ETALocalTimeZoneOffset=04:00&PTrackingRequestID=3531B52998C34E85ADF91BF976E9F0F1\n\n```"},"response":[],"_postman_id":"dd5efae0-3fef-4b4d-af20-8fe377f95895"},{"name":"Order Messaging","id":"43e16d06-5564-4c39-9403-31a7655c266f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":{"raw":"{{gateway_host}}/macropoint/orders/webhooks/message?OrderID=FB93D3FE546749F5A3385D1E2961A12B&Message=Jawad has started tracking this&TrackingRequestID=8970EE13D98741A78D849033057A46BA&ID=Load123","host":["{{gateway_host}}"],"path":["macropoint","orders","webhooks","message"],"query":[{"key":"OrderID","value":"FB93D3FE546749F5A3385D1E2961A12B"},{"key":"Message","value":"Jawad has started tracking this"},{"key":"TrackingRequestID","value":"8970EE13D98741A78D849033057A46BA"},{"key":"ID","value":"Load123"}]},"description":"# The Order Messaging Callback will push all driver messages on a specified order to a URL endpoint that is established by the Customer.\n\n# **Individual Order Messages can be retrieved from the URL via a GET Request.**\n\n#### Order Messages are provided in real time as they are received on a live tracking session.\n\n| Parameter | Description |\n| --- | --- |\n| OrderID | Unique Descartes MacroPoint generated ID for the order |\n| Message | Message from driver |\n| TrackingRequestID | Unique Descartes MacroPoint generated ID for the order |\n| ID | Customer provided LoadID |\n\n### Sample URL:\n\n```\nhttps://CustomerSpecifiedURL?OrderID=FB93D3FE546749F5A3385D1E2961A12B&Message=Will do&TrackingRequestID=3D3FE546749F5A3385D1E2961A12B&ID=Load123\n\n```"},"response":[],"_postman_id":"43e16d06-5564-4c39-9403-31a7655c266f"},{"name":"Order Status","id":"f3b06189-396e-4510-a47b-e41137a8c214","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":{"raw":"{{gateway_host}}/macropoint/orders/webhooks/status-update?MPOrderID=27722BBFEA2140509249DA4910B45A6D&MPTrackingRequestID=11212221&ID=180925TC&Code=1021&Message=Tracking+Now","host":["{{gateway_host}}"],"path":["macropoint","orders","webhooks","status-update"],"query":[{"key":"MPOrderID","value":"27722BBFEA2140509249DA4910B45A6D"},{"key":"MPTrackingRequestID","value":"11212221"},{"key":"ID","value":"180925TC"},{"key":"Code","value":"1021"},{"key":"Message","value":"Tracking+Now"}]},"description":"# The Order Status Callback will push all order status changes on a specified order to a URL endpoint that is established by the Customer.\n\n# **Individual Order Status Updates can be retrieved from the URL via a GET Request.**\n\n#### Order Status updates are provided in real time as they are received on a live tracking session.\n\n| Parameter | Description |\n| --- | --- |\n| MPOrderID | Unique Descartes MacroPoint generated ID for the order |\n| MPTrackingRequestID | Unique Descartes MacroPoint generated ID for the order |\n| ID | Customers specific order ID |\n| Code | The Order Status Code |\n| Message | Order Status Message |\n\n#### Order Status\n\n| Order Status Code | Order Status Message | Order Status Description |\n| --- | --- | --- |\n| 1002 | Requesting+App+Install | Tracking is pending the driver download of the Descartes MacroPoint app for tracking to take place |\n| 1020 | Ready+To+Track | Tracking session is awaiting the track start time |\n| 1021 | Tracking+Now | Tracking is actively taking place |\n| 1022 | Tracking+Completed+Successfully | Tracking is completed and the session yielded location data |\n| 1050 | Stopped+By+Creator | Tracking session was cancelled before completion by creator |\n| 1053 | Location+Hidden+By+Driver | Driver disabled or limited location services on the app |\n| 1060 | Tracking+-+Waiting+For+Update | A scheduled ping has not yet been acquired |\n| 1061 | Incompatible+Phone | Phone does not support Descartes MacroPoint mobile app |\n| 1065 | Invalid+Truck+Number | Truck # is determined to be invalid |\n| 1066 | Invalid+Trailer+Number | Trailer # is determined to be invalid |\n| 1067 | Expired+With+Location+Hidden+By+Driver | Tracking session expired without a location due to location setting restrictions at the mobile device level |\n| 1068 | Driver+Phone+Unresponsive | Mobile device is not responding to Descartes MacroPoint request for a ping |\n| 1069 | Expired+With+Driver+Phone+Unresponsive | Tracking session expired without a location due to no response from the mobile device |\n| 1070 | Expired+Without+Installation | Tracking session expired without the installation of the Descartes MacroPoint app |\n| 1071 | Expired+Without+Location | Tracking session expired without a ping |\n| 1072 | Invalid+Bill+Of+Lading | Ocean Bill of Landing is invalid |\n| 1073 | Invalid+PRO+Number | LTL PRO is invalid |\n| 1074 | Invalid+Air+Waybill | Air Waybill is invalid |\n\n### Sample URL:\n\n```\nhttps://CustomerSpecifiedURL?MPOrderID=1234567&MPTrackingRequestID=89123456&ID=Load-123&Code=1020&Message=Ready+To+Track\n\n ```"},"response":[],"_postman_id":"f3b06189-396e-4510-a47b-e41137a8c214"},{"name":"Order Enhanced Status","id":"21ef7566-d980-4c48-b6aa-69573d327884","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":{"raw":"{{gateway_host}}/macropoint/orders/webhooks/enhanced-status-update?MPOrderID=54ECF71173DD4D7B97F17104D6CA6DDA&ID=MAEU238382104&StatusCode=ETA&StatusMessage=Estimated+Arrival+to+Santa+Cruz%2FSual+(Port+of+discharge)&StatusDate=&StatusLocationCity=Santa+Cruz%2FSual&StatusLocationState=&StatusLocationCountry=PH&EventETADateTimeInLocalTime=7%2F8%2F2024+5%3A00%3A00+PM+%2B08%3A00&EventETADateTimeUTC=2024-07-08T09%3A00%3A00Z&UnLocode=PHSCR","host":["{{gateway_host}}"],"path":["macropoint","orders","webhooks","enhanced-status-update"],"query":[{"key":"MPOrderID","value":"54ECF71173DD4D7B97F17104D6CA6DDA"},{"key":"ID","value":"MAEU238382104"},{"key":"StatusCode","value":"ETA"},{"key":"StatusMessage","value":"Estimated+Arrival+to+Santa+Cruz%2FSual+(Port+of+discharge)"},{"key":"StatusDate","value":""},{"key":"StatusLocationCity","value":"Santa+Cruz%2FSual"},{"key":"StatusLocationState","value":""},{"key":"StatusLocationCountry","value":"PH"},{"key":"EventETADateTimeInLocalTime","value":"7%2F8%2F2024+5%3A00%3A00+PM+%2B08%3A00"},{"key":"EventETADateTimeUTC","value":"2024-07-08T09%3A00%3A00Z"},{"key":"UnLocode","value":"PHSCR"}]},"description":"# The Order Status Callback will push all order status changes on a specified order to a URL endpoint that is established by the Customer.\n\n# **Individual Order Status Updates can be retrieved from the URL via a GET Request.**\n\n#### Order Status updates are provided in real time as they are received on a live tracking session.\n\n| Parameter | Description |\n| --- | --- |\n| MPOrderID | Unique Descartes MacroPoint generated ID for the order |\n| MPTrackingRequestID | Unique Descartes MacroPoint generated ID for the order |\n| ID | Customers specific order ID |\n| Code | The Order Status Code |\n| Message | Order Status Message |\n\n#### Order Status\n\n| Order Status Code | Order Status Message | Order Status Description |\n| --- | --- | --- |\n| 1002 | Requesting+App+Install | Tracking is pending the driver download of the Descartes MacroPoint app for tracking to take place |\n| 1020 | Ready+To+Track | Tracking session is awaiting the track start time |\n| 1021 | Tracking+Now | Tracking is actively taking place |\n| 1022 | Tracking+Completed+Successfully | Tracking is completed and the session yielded location data |\n| 1050 | Stopped+By+Creator | Tracking session was cancelled before completion by creator |\n| 1053 | Location+Hidden+By+Driver | Driver disabled or limited location services on the app |\n| 1060 | Tracking+-+Waiting+For+Update | A scheduled ping has not yet been acquired |\n| 1061 | Incompatible+Phone | Phone does not support Descartes MacroPoint mobile app |\n| 1065 | Invalid+Truck+Number | Truck # is determined to be invalid |\n| 1066 | Invalid+Trailer+Number | Trailer # is determined to be invalid |\n| 1067 | Expired+With+Location+Hidden+By+Driver | Tracking session expired without a location due to location setting restrictions at the mobile device level |\n| 1068 | Driver+Phone+Unresponsive | Mobile device is not responding to Descartes MacroPoint request for a ping |\n| 1069 | Expired+With+Driver+Phone+Unresponsive | Tracking session expired without a location due to no response from the mobile device |\n| 1070 | Expired+Without+Installation | Tracking session expired without the installation of the Descartes MacroPoint app |\n| 1071 | Expired+Without+Location | Tracking session expired without a ping |\n| 1072 | Invalid+Bill+Of+Lading | Ocean Bill of Landing is invalid |\n| 1073 | Invalid+PRO+Number | LTL PRO is invalid |\n| 1074 | Invalid+Air+Waybill | Air Waybill is invalid |\n\n### Sample URL:\n\n```\nhttps://CustomerSpecifiedURL?MPOrderID=1234567&MPTrackingRequestID=89123456&ID=Load-123&Code=1020&Message=Ready+To+Track\n\n ```"},"response":[{"id":"18f5902a-ff57-4213-a4b2-75d04b594540","name":"ETA","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{gateway_host}}/macropoint/orders/webhooks/enhanced-status-update?MPOrderID=54ECF71173DD4D7B97F17104D6CA6DDA&ID=MEDUP1822410&StatusCode=ETA&StatusMessage=Estimated+Arrival+to+Ensenada+(Port+of+discharge)&StatusDate=&StatusLocationCity=Ensenada&StatusLocationState=BCN&StatusLocationCountry=MX&EventETADateTimeInLocalTime=6%2F27%2F2024+12%3A00%3A00+PM+-07%3A00&EventETADateTimeUTC=2024-06-27T19%3A00%3A00Z&UnLocode=MXESE","host":["{{gateway_host}}"],"path":["macropoint","orders","webhooks","enhanced-status-update"],"query":[{"key":"MPOrderID","value":"54ECF71173DD4D7B97F17104D6CA6DDA"},{"key":"ID","value":"MEDUP1822410"},{"key":"StatusCode","value":"ETA"},{"key":"StatusMessage","value":"Estimated+Arrival+to+Ensenada+(Port+of+discharge)"},{"key":"StatusDate","value":""},{"key":"StatusLocationCity","value":"Ensenada"},{"key":"StatusLocationState","value":"BCN"},{"key":"StatusLocationCountry","value":"MX"},{"key":"EventETADateTimeInLocalTime","value":"6%2F27%2F2024+12%3A00%3A00+PM+-07%3A00"},{"key":"EventETADateTimeUTC","value":"2024-06-27T19%3A00%3A00Z"},{"key":"UnLocode","value":"MXESE"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null},{"id":"eab20f22-c386-4d9e-a300-bbf678bb0d9a","name":"Actual status","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{gateway_host}}/macropoint/orders/webhooks/enhanced-status-update?MPOrderID=27722BBFEA2140509249DA4910B45A6D&ID=MAEU238382104&StatusCode=VESSEL_DEPARTED&StatusMessage=VESSEL_DEPARTED&StatusDate=2024-04-24T14%3A20%3A00Z&StatusLocationCity=Montreal&StatusLocationState=QC&StatusLocationCountry=CA&EventETADateTimeInLocalTime=&EventETADateTimeUTC=&UnLocode=CAMTR","host":["{{gateway_host}}"],"path":["macropoint","orders","webhooks","enhanced-status-update"],"query":[{"key":"MPOrderID","value":"27722BBFEA2140509249DA4910B45A6D"},{"key":"ID","value":"MAEU238382104"},{"key":"StatusCode","value":"VESSEL_DEPARTED"},{"key":"StatusMessage","value":"VESSEL_DEPARTED"},{"key":"StatusDate","value":"2024-04-24T14%3A20%3A00Z"},{"key":"StatusLocationCity","value":"Montreal"},{"key":"StatusLocationState","value":"QC"},{"key":"StatusLocationCountry","value":"CA"},{"key":"EventETADateTimeInLocalTime","value":""},{"key":"EventETADateTimeUTC","value":""},{"key":"UnLocode","value":"CAMTR"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"21ef7566-d980-4c48-b6aa-69573d327884"}],"id":"6e15fb05-c9c2-4b6b-9aba-3f95145c72dc","auth":{"type":"basic","basic":{"username":"{{macropoint_webhook_username}}","password":"{{macropoint_webhook_password}}"}},"event":[{"listen":"prerequest","script":{"id":"0d31f181-0d3d-42c3-83a3-9746519456cf","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"d1baa504-a6b4-461e-8edf-dc22f8f689b8","type":"text/javascript","exec":[""]}}],"_postman_id":"6e15fb05-c9c2-4b6b-9aba-3f95145c72dc"},{"name":"create order","id":"225cb640-8c0e-4ed0-b162-2a20eb02c084","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"deal_id\": \"142800TC\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{gateway_host}}/macropoint/orders"},"response":[],"_postman_id":"225cb640-8c0e-4ed0-b162-2a20eb02c084"},{"name":"search orders","id":"66090227-cc75-45cf-bcef-a7a8a7b4485d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"deal_ids\": [\"142800TC\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"{{gateway_host}}/macropoint/orders/search"},"response":[],"_postman_id":"66090227-cc75-45cf-bcef-a7a8a7b4485d"},{"name":"get order","id":"52a66a71-8939-4af5-b983-fdc2622b86a5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"GET","header":[],"url":"{{gateway_host}}/macropoint/orders/{{macropoint_order_id}}"},"response":[],"_postman_id":"52a66a71-8939-4af5-b983-fdc2622b86a5"},{"name":"generate order hyperlink","id":"c12d1b3a-0cd9-4641-953b-41afb724119c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"POST","header":[],"url":"{{gateway_host}}/macropoint/orders/{{macropoint_order_identifier}}/hyperlink"},"response":[],"_postman_id":"c12d1b3a-0cd9-4641-953b-41afb724119c"},{"name":"stop order","id":"5a9ad01f-0720-4066-9872-3e3f0a1488c8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":{"raw":"{{gateway_host}}/macropoint/orders/:order_id/stop","host":["{{gateway_host}}"],"path":["macropoint","orders",":order_id","stop"],"variable":[{"key":"order_id","value":"{{tracking_request_id}}"}]}},"response":[],"_postman_id":"5a9ad01f-0720-4066-9872-3e3f0a1488c8"}],"id":"1391ff2f-a52c-4af0-a90d-03b622a7fdee","_postman_id":"1391ff2f-a52c-4af0-a90d-03b622a7fdee"},{"name":"Validation","item":[{"name":"/validate/email","id":"928449b8-d45e-41a6-8a61-b022d97e0c9e","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"email\": \"some-email@gmail.com\"\n}"},"url":"{{gateway_host}}/validate/email","description":"Validate an email using Mailgun Validation API"},"response":[{"id":"817a9aa1-f0f7-421e-b31b-25c113324a0f","name":"/validate/email","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"email\": \"some-email@gmail.com\"\n}"},"url":"{{service_url}}/validate/email"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"name":"connection","key":"connection","value":"keep-alive","description":""},{"name":"content-length","key":"content-length","value":"220","description":""},{"name":"content-type","key":"content-type","value":"application/json; charset=utf-8","description":""},{"name":"date","key":"date","value":"Thu, 05 Oct 2017 12:51:40 GMT","description":""},{"name":"etag","key":"etag","value":"W/\"dc-ov6Z11gx4gQDgWL+dJ/CtozVMls\"","description":""},{"name":"server","key":"server","value":"nginx/1.10.3 (Ubuntu)","description":""},{"name":"x-powered-by","key":"x-powered-by","value":"Express","description":""}],"cookie":[],"responseTime":"568","body":"{\"address\":\"some-email@gmail.com\",\"did_you_mean\":null,\"is_disposable_address\":false,\"is_role_address\":false,\"is_valid\":false,\"mailbox_verification\":\"unknown\",\"parts\":{\"display_name\":null,\"domain\":null,\"local_part\":null}}"}],"_postman_id":"928449b8-d45e-41a6-8a61-b022d97e0c9e"},{"name":"/validate/phone","id":"a05d2c4d-7982-4b2d-b2ca-3fbe87733e41","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n\t\"phone\": \"+37062341111\"\n}"},"url":"{{gateway_host}}/validate/phone","description":"Validate a phone number using Twilio Lookup API"},"response":[{"id":"f4ec745c-b116-43b4-98f3-8b32480a606c","name":"/validate/phone","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"phone\": \"415-701-2311\"\n}"},"url":"{{service_url}}/validate/phone"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"name":"connection","key":"connection","value":"keep-alive","description":""},{"name":"content-length","key":"content-length","value":"420","description":""},{"name":"content-type","key":"content-type","value":"application/json; charset=utf-8","description":""},{"name":"date","key":"date","value":"Thu, 05 Oct 2017 12:53:37 GMT","description":""},{"name":"etag","key":"etag","value":"W/\"1a4-Ol14XZUlc+SjVV9V1Mpf7Kfnkr8\"","description":""},{"name":"server","key":"server","value":"nginx/1.10.3 (Ubuntu)","description":""},{"name":"x-powered-by","key":"x-powered-by","value":"Express","description":""}],"cookie":[],"responseTime":"3530","body":"{\"callerName\":{\"caller_name\":\"SAN FRANCISCO TRANSIT - BUS LI\",\"caller_type\":\"BUSINESS\",\"error_code\":null},\"countryCode\":\"US\",\"phoneNumber\":\"+14157012311\",\"nationalFormat\":\"(415) 701-2311\",\"carrier\":{\"mobile_country_code\":null,\"mobile_network_code\":null,\"name\":\"Pacific Bell\",\"type\":\"landline\",\"error_code\":null},\"addOns\":null,\"url\":\"https://lookups.twilio.com/v1/PhoneNumbers/+14157012311?Type=carrier&Type=caller-name\"}"}],"_postman_id":"a05d2c4d-7982-4b2d-b2ca-3fbe87733e41"}],"id":"f73ff456-334e-488d-9bf9-2b3a85374c77","_postman_id":"f73ff456-334e-488d-9bf9-2b3a85374c77"},{"name":"Feature flags","item":[{"name":"feature-flag/:key","id":"24816fb5-c6a9-4c89-8ba4-b7bb2a3ca79a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"SEP5w5IiXVff5ZPZAiEqJvons8vMsUk41CukiVu7ZdbF9TUBaaObVmzdXzMtOy8smIrHQQLsnLosKeZ1rUQHFU"}},"method":"GET","header":[],"url":{"raw":"{{gateway_host}}/feature-flag/:key","host":["{{gateway_host}}"],"path":["feature-flag",":key"],"variable":[{"key":"key","value":"FEATURE_FLAG_TEST"}]}},"response":[],"_postman_id":"24816fb5-c6a9-4c89-8ba4-b7bb2a3ca79a"}],"id":"e2143cf5-1697-41d9-8200-daa9594801f1","_postman_id":"e2143cf5-1697-41d9-8200-daa9594801f1"},{"name":"Maersk","item":[{"name":"webhook","item":[{"name":"New Request","id":"4b49c06e-8515-4382-af54-a045241a3d91","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth"},"method":"POST","header":[{"key":"sign","value":"HmacSHA256 VoN2WFCTE72eEElgu0as/WEu8UKpnOmyEfdNhphhFxk=","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"bookingStatus\": \"CANCELLED\",\n    \"carrierBookingRequestReference\": \"86a6914d-7bcb-4cf9-8960-a8c4bcbd90c6\",\n    \"carrierBookingReference\": \"KA0637847\"\n}","options":{"raw":{"language":"json"}}},"url":"{{gateway_host}}/maersk/webhooks/booking-status"},"response":[],"_postman_id":"4b49c06e-8515-4382-af54-a045241a3d91"}],"id":"bf6d66ee-f737-4499-aa14-4b600393c5ed","_postman_id":"bf6d66ee-f737-4499-aa14-4b600393c5ed"},{"name":"create booking","id":"052e4309-ef50-4c55-948c-2326d855442a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"xHmnt21s9qPs7p82MvyCFGdb7VSHOOkM5saoNurCZJpsBEpMbSOosVX8M72It5rpI0cQ0m25DTIvFv5podH7yK"}},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"user_id\": \"eccd9577-6b47-4065-a79b-3248ef326981\",\n    \"deal_id\": \"172058TC\",\n    \"origin_receipt_type\": \"CY\",\n    \"destination_delivery_type\": \"CY\",\n    \"origin_cargo_movement_type\": \"FCL\",\n    \"destination_cargo_movement_type\": \"FCL\",\n    \"etd_date\": 1761182878,\n    \"place_of_receipt\": {\n        \"location_id\": \"a384596d-2cbc-4458-9551-0e199df33c8f\",\n        \"name\": \"Hong Kong\",\n        \"unlocode\": \"HKHKG\"\n    },\n    \"place_of_delivery\": {\n        \"location_id\": \"54220414-831f-468a-9a4a-fb49cec30c12\",\n        \"name\": \"Rotterdam\",\n        \"unlocode\": \"NLRTM\"\n    },\n    \"port_of_loading\": {\n        \"location_id\": \"a384596d-2cbc-4458-9551-0e199df33c8f\",\n        \"name\": \"Hong Kong\",\n        \"unlocode\": \"HKHKG\"\n    },\n    \"port_of_discharge\": {\n        \"location_id\": \"54220414-831f-468a-9a4a-fb49cec30c12\",\n        \"name\": \"Rotterdam\",\n        \"unlocode\": \"NLRTM\"\n    },\n    \"expected_arrival_at_place_of_delivery_start_date\": 1762200000,\n    \"expected_arrival_at_place_of_delivery_end_date\": 1762800000,\n    \"temperature_celsius\": -20,\n    \"equipment_units\": 1,\n    \"equipment_type_iso_code\": \"45R1\",\n    \"product_id\": \"035bd97f-d4b2-4b55-9f7d-bfa1c26497b8\",\n    \"product_name\": \"frozen meat\",\n    \"product_hs_codes\": [\n        \"020430\"\n    ],\n    \"gross_weight\": 12000,\n    \"gross_weight_unit_id\": \"d7145cce-e034-4edd-a8cc-138ae6eef326\"\n}\n","options":{"raw":{"language":"json"}}},"url":"{{gateway_host}}/maersk/bookings/send-request"},"response":[],"_postman_id":"052e4309-ef50-4c55-948c-2326d855442a"},{"name":"update booking","id":"2123ca9d-0058-4db8-8e94-d85e4ee77a09","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"rNBZtMRpHJ5D8AqaDYozlIG0Jax7lO0k1dxXyG93tzDptQjfwzDG2ZM9IYWOfxpUT2r9y2jDBR7kF1uVSeTlDm"}},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n  \"user_id\": \"eccd9577-6b47-4065-a79b-3248ef326981\",\n  \"deal_id\": \"172058TC\",\n  \"origin_receipt_type\": \"CY\",\n  \"destination_delivery_type\": \"CY\",\n  \"origin_cargo_movement_type\": \"FCL\",\n  \"destination_cargo_movement_type\": \"FCL\",\n  \"etd_date\": 1761905928,\n  \"place_of_receipt\": {\n    \"location_id\": \"a384596d-2cbc-4458-9551-0e199df33c8f\",\n    \"name\": \"Hong Kong\",\n    \"unlocode\": \"HKHKG\"\n  },\n  \"place_of_delivery\": {\n    \"location_id\": \"54220414-831f-468a-9a4a-fb49cec30c12\",\n    \"name\": \"Rotterdam\",\n    \"unlocode\": \"NLRTM\"\n  },\n  \"port_of_loading\": {\n    \"location_id\": \"a384596d-2cbc-4458-9551-0e199df33c8f\",\n    \"name\": \"Hong Kong\",\n    \"unlocode\": \"HKHKG\"\n  },\n  \"port_of_discharge\": {\n    \"location_id\": \"54220414-831f-468a-9a4a-fb49cec30c12\",\n    \"name\": \"Rotterdam\",\n    \"unlocode\": \"NLRTM\"\n  },\n  \"expected_arrival_at_place_of_delivery_start_date\": 1762560000,\n  \"expected_arrival_at_place_of_delivery_end_date\": 1763088000,\n  \"temperature_celsius\": -18,\n  \"equipment_units\": 1,\n  \"equipment_type_iso_code\": \"45R1\",\n  \"product_id\": \"035bd97f-d4b2-4b55-9f7d-bfa1c26497b8\",\n  \"product_name\": \"frozen meat\",\n  \"product_hs_codes\": [\n    \"020430\"\n  ],\n  \"gross_weight\": 11500,\n  \"gross_weight_unit_id\": \"d7145cce-e034-4edd-a8cc-138ae6eef326\"\n}\n","options":{"raw":{"language":"json"}}},"url":"{{gateway_host}}/maersk/bookings/{{reference}}"},"response":[],"_postman_id":"2123ca9d-0058-4db8-8e94-d85e4ee77a09"},{"name":"Cancel booking","id":"b6ca0adf-0c3d-402d-a645-f6e7c924d6f8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"reason\": \"CARGO_NOT_READY\",\n    \"additional_comments\": \"optional free text\"\n}","options":{"raw":{"language":"json"}}},"url":"{{gateway_host}}/maersk/bookings/{{reference}}/cancel"},"response":[],"_postman_id":"b6ca0adf-0c3d-402d-a645-f6e7c924d6f8"},{"name":"Get booking","id":"b9e0b8a7-2f09-4040-a45d-e4647833f471","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n    \"reason\": \"CARGO_NOT_READY\",\n    \"additional_comments\": \"optional free text\"\n}","options":{"raw":{"language":"json"}}},"url":"{{service_url}}/maersk/bookings/{{reference}}"},"response":[],"_postman_id":"b9e0b8a7-2f09-4040-a45d-e4647833f471"}],"id":"36319ef5-47ff-466e-a23d-409255864e62","_postman_id":"36319ef5-47ff-466e-a23d-409255864e62"},{"name":"alive","id":"5aabaf47-9e21-f0d0-3002-4e6460d2bcf7","request":{"auth":{"type":"basic","basic":{"password":"bwi-tech","username":"admin@tradecafe.ca"}},"method":"GET","header":[],"url":{"raw":"{{gateway_host}}/alive?foo=bar","host":["{{gateway_host}}"],"path":["alive"],"query":[{"key":"foo","value":"bar"}]},"description":"A simple API ping to check status."},"response":[],"_postman_id":"5aabaf47-9e21-f0d0-3002-4e6460d2bcf7"},{"name":"diagnostics","id":"1a0090b1-fd24-db4b-3612-3c98d6f07546","request":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"{{gateway_host}}/diagnostics","description":"A simple API ping to check status."},"response":[],"_postman_id":"1a0090b1-fd24-db4b-3612-3c98d6f07546"},{"name":"ping","id":"7d4ed2b5-f123-e010-e48c-8eebff86583a","request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{gateway_host}}/ping","description":"A simple API ping to check status."},"response":[],"_postman_id":"7d4ed2b5-f123-e010-e48c-8eebff86583a"},{"name":"New Request","id":"472104be-7e2e-4815-8dbe-578477a5aa2f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[]},"response":[],"_postman_id":"472104be-7e2e-4815-8dbe-578477a5aa2f"},{"name":"delete","id":"8640384c-67af-b933-a7c4-b8624ec69972","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":""},"url":"{{gateway_host}}/locations/{{location_id}}"},"response":[],"_postman_id":"8640384c-67af-b933-a7c4-b8624ec69972"},{"name":"all","id":"87ddf584-0e42-1f61-0351-93e318b35836","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"name\",\n  \"description\": \"description\",\n  \"body\": \"body\",\n  \"tags\": [\"tag1\", \"tag2\"],\n  \"archived\": \"false\"\n}"},"url":{"raw":"{{gateway_host}}/locations?limit=2&skip=0","host":["{{gateway_host}}"],"path":["locations"],"query":[{"key":"limit","value":"2"},{"key":"skip","value":"0"}]}},"response":[],"_postman_id":"87ddf584-0e42-1f61-0351-93e318b35836"},{"name":"all","id":"d50dc3de-61ba-02b6-7be2-744f451ebe78","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"name\",\n  \"description\": \"description\",\n  \"body\": \"body\",\n  \"tags\": [\"tag1\", \"tag2\"],\n  \"archived\": \"false\"\n}"},"url":{"raw":"{{gateway_host}}/locations?limit=2&skip=0","host":["{{gateway_host}}"],"path":["locations"],"query":[{"key":"limit","value":"2"},{"key":"skip","value":"0"}]}},"response":[],"_postman_id":"d50dc3de-61ba-02b6-7be2-744f451ebe78"}],"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"event":[{"listen":"prerequest","script":{"id":"5cb805bc-0ff6-4298-8c2e-466c5dd36c07","type":"text/javascript","packages":{},"exec":[""]}},{"listen":"test","script":{"id":"88fc4fe2-ed2b-4503-acc0-f0e66e6bbdbc","type":"text/javascript","packages":{},"exec":[""]}}]}