{"info":{"_postman_id":"833ab547-d8ea-4a71-815f-bc3eb99182c8","name":"euShipments API documentation","description":"<html><head></head><body><img src=\"https://content.pstmn.io/45e56e60-317d-47c5-ba8d-671ebf773110/ZXVzaGlwbWVudHMuY29tLnBuZw==\" alt=\"WEB%20SERVICES\" width=\"680\" height=\"81\">\n\n<p>The requests to API are an HTTP POST or HTTP GET, the body contains a JSON string or URL query. The response is also in a JSON format.</p>\n<p>API Base URLs<br>Environment Description<br>Testkl<br>Production <a href=\"https://api1.inout.bg/api/v1/\">https://api1.inout.bg/api/v1/</a></p>\n<p>The API token is used to all requests in the header with keyword “Bearer” before the token - e.g. Authorization: Bearer \"<strong>API Token - on request\"</strong></p>\n<p>How to use any web service:</p>\n<p>Web Service Url: BASE_URL/API Endpoint<br>Example for test environment: <a href=\"https://test-api.inout.bg/api/v1/get-countries\">https://test-api.inout.bg/api/v1/get-countries</a><br>Example for production environment: <a href=\"https://api1.inout.bg/api/v1/get-countries\">https://api1.inout.bg/api/v1/get-countries</a></p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"26992907","collectionId":"833ab547-d8ea-4a71-815f-bc3eb99182c8","publishedId":"2s93Y2S2Q8","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2023-04-19T13:31:14.000Z"},"item":[{"name":"AWB Creation","item":[{"name":"Shipment_Creation_Web_Service_v1.5","id":"514bf6b0-5805-4538-955b-865d3bbb9320","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"testMode\": 0, //On the test environment, all shipments save on test env.\r\n    \"senderId\": 333, //ID of company, obtain an ID from Companies Web Service or your key account manager.\r\n    \"courierId\": 20, //ID of courier, obtain an ID from Couriers Web Service.\r\n    \"waybillAvailableDate\": \"2023-06-29\", //Always use today date.\r\n    \"serviceName\": \"crossborder\", //By default use \"crossborder\". Service \"eushipmentsairexpress\" is only for delivery partner \"DLH\".\r\n    \"recipient\": {\r\n        \"name\": \"Test User\", //Name of recipient or company. Typically, both customer names (first name and last name) or company.\r\n        \"countryIsoCode\": \"HU\", //Two digits country ISO code.\r\n        \"cityId\": 20144281, //The ID of a city where the shipment needs to delivery. Obtain an ID from Cities_Web_Service_v1.0. Using cityId, cityName and zipCode can be null.\r\n        \"region\": \"null\", //The Municipality/county were the city is located.\r\n        \"cityName\": \"Balatonszárszó\", //City name. If you have your own nomenclature with а cities, you can fill in the fields cityName, zipCode and region.\r\n        \"zipCode\": \"8624\", //Zip code.\r\n        \"streetName\": \"test street\", //Name of the street, office address or office name - e.g. If you create shipment to address - Main street or Main street 10.If you want to create shipment to an office, please add a keyword \"to office: \" to office name or office address.\r\n        \"buildingNumber\": 0, //Number of the street/building - e.g. 10\r\n        \"officeId\": 1297, //if the courier support PUDO delivery, you can send ID of the PUDO. Obtain the PUDO ID's from \"Courier_Offices_Web_Service_v1.2\"\r\n        \"addressText\": \"additional text, address test\", //Additional address information – e.g. бл.25 ет 3. or bl.25 et. 3 *NOT ALL COURIERS SUPPORT IT*\r\n        \"contactPerson\": \"Test User\", //Contact person. Usually is the same as the name of recipient.\r\n        \"phoneNumber\": \"00889000000\", //Recipient's phone number - mandatory for all coureirs.\r\n        \"email\": \"2@2.com\" // Recipient's email - highly recomended\r\n    },\r\n    \"awb\": {\r\n        \"shipmentType\": \"pack\", //pack or pallet\r\n        \"parcels\": 1, // Number of parcels in the shipment. *NOT ALL COURIERS SUPPORT MULTIPARCEL SERVICE*\r\n        \"envelopes\": 0, //Always send \"0\".\r\n        \"totalWeight\": 1.000, //Total weight of the shipment in kg. The value have to be equal to the sum of all packages.\r\n        \"declaredValue\": 0, //Insurance amount of the shipment. *NOT ALL COURIERS SUPPORT THE SERVICE*\r\n        \"bankRepayment\": 0.0, //COD amount of the shipment in local currency. You can set to 0 if the shipment doesn't have a COD amount.\r\n        \"otherRepayment\": \"additional text for repayment\",//The service is no longer supported\r\n        \"observations\": \"notes\", //Additional information about the shipment/products. (notes)\r\n        \"openPackage\": false, //Check up the shipment before pay.\r\n        \"shipmentPayer\": \"sender\", //Always \"sender\"\r\n        \"saturdayDelivery\": false, //The service is no longer supported\r\n        \"referenceNumber\": \"000000\", //Client reference number. Important: The information in the field must be unique to avoid duplicate shipments!\r\n        \"products\": \"test product\", //The content of the shipment. e.g. product1 product2\r\n        \"fragile\": 1, //Marker whether the content is fragile. (fragile = 1 if the content is fragile) – Used only for BG\r\n        \"productsInfo\": \"1111;2222;3333;4444\", //Аdditional product information.\r\n        \"piecesInPack\": 4, //Products amount in one shipment. e.g If the shipment contain 5 products the field will be filled with 5.\r\n        \"packages\": {\r\n            \"1\": {\r\n                \"dimensions\": {\r\n                    \"width\": 20,\r\n                    \"height\": 20,\r\n                    \"length\": 20\r\n                },\r\n                \"weight\": 2.300\r\n            }\r\n        }\r\n    },\r\n    \"returnLabel\": {\r\n        \"nDaysValid\": 0 //By default is 0 (infinity). FUsed only for Greece\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api1.inout.bg/api/v1/createAWB","description":"<p>We can now offer you the ability to ask for a shipment creation directly from your company’s software or website by taking advantage of \"Shipment Creation\".</p>\n<p>Requirements</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>API Endpoint</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>createAWB</td>\n<td>Creates a new shipment according to provided the API token and the shipment’s data.</td>\n</tr>\n</tbody>\n</table>\n</div><p>Method: POST<br />Authorization: Bearer API_TOKEN<br />API Call Input Fields<br />Body (JSON)</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n<th><strong>required</strong></th>\n<th>restrictions</th>\n<th><strong>description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>testMode</td>\n<td>boolean</td>\n<td>yes</td>\n<td></td>\n<td>if you want to use the API only for tests set this field to true. Applies only to the production environment. On the test environment, all shipments save on test env.</td>\n</tr>\n<tr>\n<td>senderId (company id)</td>\n<td>integer</td>\n<td>yes</td>\n<td></td>\n<td>ID of company, obtain an ID from Companies Web Service. Please for more information, see Companies Web Service.</td>\n</tr>\n<tr>\n<td>courierId</td>\n<td>integer</td>\n<td>yes</td>\n<td></td>\n<td>ID of courier, obtain an ID from Couriers Web Service.</td>\n</tr>\n<tr>\n<td>waybillAvailableDate</td>\n<td>date</td>\n<td>yes</td>\n<td></td>\n<td>The date on which the shipment is to be dispatched.</td>\n</tr>\n<tr>\n<td>serviceName</td>\n<td>string</td>\n<td>yes</td>\n<td></td>\n<td>The service name must be one of the following:  <br />•crossborder  <br />•eushipmentsairexpress</td>\n</tr>\n<tr>\n<td><strong>recipient</strong></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>name</td>\n<td>string</td>\n<td>yes</td>\n<td></td>\n<td>Name of recipient or company. Typically, both customer names (first name and last name) or company name are filled in.</td>\n</tr>\n<tr>\n<td>cityId</td>\n<td>integer</td>\n<td>yes</td>\n<td></td>\n<td>The ID of a city where the shipment needs to delivery. Obtain an ID from Cities resource. Please for more information, see Cities web service.</td>\n</tr>\n<tr>\n<td>countryIsoCode</td>\n<td>string</td>\n<td>yes</td>\n<td></td>\n<td>Two digits country ISO code.</td>\n</tr>\n<tr>\n<td>cityName</td>\n<td>string</td>\n<td>no</td>\n<td></td>\n<td>City name. If you have your own nomenclature with а cities, you can fill in the fields cityName, zipCode and region.</td>\n</tr>\n<tr>\n<td>zipCode</td>\n<td>string</td>\n<td>no</td>\n<td></td>\n<td>Zip code.</td>\n</tr>\n<tr>\n<td>region</td>\n<td>string</td>\n<td>no</td>\n<td>Requiered for Romania</td>\n<td>Region.</td>\n</tr>\n<tr>\n<td>streetName</td>\n<td>string</td>\n<td>yes</td>\n<td></td>\n<td>Name of the street, office address or office name - e.g. If you create shipment to address - Main street or Main street 10. If you want to create shipment to an office, please add a keyword \"to office: \" to office name or office address (Courier_Offices_Web_Service_v1.2) e.g. \" to office: Русе Николаевска\" or \" to office: Русе ж.к. ЦЮР ул. Николаевска №109\".</td>\n</tr>\n<tr>\n<td>buildingNumber</td>\n<td>integer</td>\n<td>yes</td>\n<td></td>\n<td>Number of the street/building - e.g. 10</td>\n</tr>\n<tr>\n<td>addressText</td>\n<td>string</td>\n<td>yes</td>\n<td></td>\n<td>Additional address information – e.g. бл.25 ет 3. or bl.25 et. 3</td>\n</tr>\n<tr>\n<td>contactPerson</td>\n<td>string</td>\n<td>no</td>\n<td></td>\n<td>Contact person. Usually is the same as the name of recipient.</td>\n</tr>\n<tr>\n<td>phoneNumber</td>\n<td>string</td>\n<td>yes</td>\n<td></td>\n<td>Phone number of the recipient.</td>\n</tr>\n<tr>\n<td>email</td>\n<td>email</td>\n<td>no</td>\n<td></td>\n<td>Email of the recipient. But for some partners it is mandatory and the API returns a mistake.</td>\n</tr>\n<tr>\n<td><strong>awb</strong></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>shipmentType</td>\n<td>string</td>\n<td>no</td>\n<td></td>\n<td>Enum: pack or pallet</td>\n</tr>\n<tr>\n<td>parcels</td>\n<td>integer</td>\n<td>yes</td>\n<td></td>\n<td>Number of parcels in the shipment.</td>\n</tr>\n<tr>\n<td>envelopes</td>\n<td>integer</td>\n<td>yes</td>\n<td></td>\n<td>Number of envelopes in the shipment.</td>\n</tr>\n<tr>\n<td>pallets</td>\n<td>Integer</td>\n<td>no</td>\n<td></td>\n<td>The number of pallets.</td>\n</tr>\n<tr>\n<td>totalWeight</td>\n<td>numeric</td>\n<td>yes</td>\n<td></td>\n<td>Total weight of the shipment in kg. The value have to be equal to the sum of all packages.</td>\n</tr>\n<tr>\n<td>declaredValue</td>\n<td>numeric</td>\n<td>no</td>\n<td></td>\n<td>Insurance amount of the shipment. The service returns an error when filling more than of the permitted value for the country.</td>\n</tr>\n<tr>\n<td>bankRepayment</td>\n<td>numeric</td>\n<td>yes</td>\n<td></td>\n<td>COD amount of the shipment in local currency. You can set to 0 if the shipment doesn't have a COD amount.</td>\n</tr>\n<tr>\n<td>otherRepayment</td>\n<td>string</td>\n<td>no</td>\n<td></td>\n<td>Additional information to COD.</td>\n</tr>\n<tr>\n<td>observations</td>\n<td>string</td>\n<td>no</td>\n<td></td>\n<td>Additional information about the shipment/products. (notes)</td>\n</tr>\n<tr>\n<td>openPackage</td>\n<td>boolean</td>\n<td>yes</td>\n<td></td>\n<td>Check up the shipment before pay.</td>\n</tr>\n<tr>\n<td>saturdayDelivery</td>\n<td>boolean</td>\n<td>yes</td>\n<td></td>\n<td>Saturday delivery. Not available for some countries.</td>\n</tr>\n<tr>\n<td><strong>referenceNumber</strong></td>\n<td>string</td>\n<td>yes</td>\n<td></td>\n<td>Client reference number. Usually, the client put here the unique number of order from the site or unique order number of the content or invoice number. Helps for tracking and reporting.  <br /><strong>Important: The information in the field must be unique to avoid duplicate shipments!</strong></td>\n</tr>\n<tr>\n<td>products</td>\n<td>string</td>\n<td>yes</td>\n<td></td>\n<td>The content of the shipment. e.g. product1 product2</td>\n</tr>\n<tr>\n<td>fragile</td>\n<td>boolean</td>\n<td>no</td>\n<td></td>\n<td>Marker whether the content is fragile. (fragile = 1 if the content is fragile) – Used only for BG</td>\n</tr>\n<tr>\n<td>productsInfo</td>\n<td>string</td>\n<td>no</td>\n<td></td>\n<td>Аdditional product information.</td>\n</tr>\n<tr>\n<td>piecesInPack</td>\n<td>integer</td>\n<td>no</td>\n<td></td>\n<td>Products amount in one shipment. e.g If the shipment contain 5 products the field will be filled with 5.</td>\n</tr>\n<tr>\n<td><strong>document</strong></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>content</td>\n<td>base64 binary</td>\n<td>no</td>\n<td></td>\n<td>PDF content base64 encoded.</td>\n</tr>\n<tr>\n<td>format</td>\n<td>string</td>\n<td>no</td>\n<td></td>\n<td>Enum: pdf</td>\n</tr>\n<tr>\n<td><strong>packages</strong></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>dimensions</td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>width</td>\n<td>numeric 15.2</td>\n<td>no</td>\n<td></td>\n<td>Width of the specific parcel in cm.</td>\n</tr>\n<tr>\n<td>height</td>\n<td>numeric 15.2</td>\n<td>no</td>\n<td></td>\n<td>Height of the specific parcel in cm.</td>\n</tr>\n<tr>\n<td>length</td>\n<td>numeric 15.2</td>\n<td>no</td>\n<td></td>\n<td>Lenght of the specific parcel in cm.</td>\n</tr>\n<tr>\n<td>weight</td>\n<td>numeric 15.2</td>\n<td>no</td>\n<td></td>\n<td>Weight of the specific parcel in kg.</td>\n</tr>\n<tr>\n<td><strong>customsData</strong></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>dutyPaymentInfo</td>\n<td>string</td>\n<td>no</td>\n<td></td>\n<td>Mandatory field for countries outside the European Union.  <br />ENUM: DDU (Delivery duty unpaid), DDP (Delivery duty paid)</td>\n</tr>\n<tr>\n<td>customsValue</td>\n<td>numeric 15.2</td>\n<td>no</td>\n<td></td>\n<td>Mandatory field for countries outside the European Union.</td>\n</tr>\n<tr>\n<td><strong>courierRequest</strong></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>date</td>\n<td>date string</td>\n<td>no</td>\n<td></td>\n<td>The date on which the courier must visit the address.</td>\n</tr>\n<tr>\n<td>timeFrom</td>\n<td>time string</td>\n<td>no</td>\n<td></td>\n<td>Starting time of the visit.</td>\n</tr>\n<tr>\n<td>timeTo</td>\n<td>time string</td>\n<td>no</td>\n<td></td>\n<td>End time of the visit.</td>\n</tr>\n<tr>\n<td><strong>returnLabel</strong></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>ndaysValid</td>\n<td>integer</td>\n<td>no</td>\n<td></td>\n<td>By default is 0 (infinity). For now used only for Greece</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>API</strong> <strong>Response (Output Fields)</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>awb</td>\n<td>AWB number</td>\n</tr>\n<tr>\n<td>barcode</td>\n<td>Barcode of the shipment printed on the label</td>\n</tr>\n<tr>\n<td>returnLabelNumber</td>\n<td>RR number available only for Geniki</td>\n</tr>\n<tr>\n<td>packagesBarcodes</td>\n<td>Barcode of the shipment printed on each label</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Example:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"awb\": 7000008793166,\n    \"barcode\": \"7000008793166001F4348\",\n    \"returnLabelNumber\": \"\",\n    \"packagesBarcodes\": [\n        \"7000008793166001F4348\",\n        \"7000008793166002F4348\",\n        \"7000008793166003F4348\",\n        \"7000008793166004F4348\",\n        \"7000008793166005F4348\",\n        \"7000008793166006F4348\",\n        \"7000008793166007F4348\"\n    ]\n}\n\n</code></pre>\n<p>HTTP Errors:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200</td>\n<td>Returns result from the web service.</td>\n</tr>\n<tr>\n<td>400</td>\n<td>Bad request.</td>\n</tr>\n<tr>\n<td>401</td>\n<td>Unauthenticated. API expects a header like - 'Authorization: Bearer (api_token)'.</td>\n</tr>\n<tr>\n<td>404</td>\n<td>Not found data.</td>\n</tr>\n<tr>\n<td>408</td>\n<td>The partner API not answer. Please try again letter!</td>\n</tr>\n<tr>\n<td>422</td>\n<td>Unprocessable Entity. Wrong input data.</td>\n</tr>\n<tr>\n<td>500</td>\n<td>Internal Server Error / This action is unauthorized.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","createAWB"],"host":["api1","inout","bg"],"query":[],"variable":[]}},"response":[],"_postman_id":"514bf6b0-5805-4538-955b-865d3bbb9320"},{"name":"Shipment_Creation_Web_Service_v1.5 Pallet","id":"f1564d93-2826-4fee-841b-0402551be0d6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"serviceName\": \"crossborder\",\r\n    \"waybillAvailableDate\": \"2022-08-30\",\r\n    \"senderId\": \"333\",\r\n    \"courierId\": \"15\",\r\n    \"testMode\": \"0\",\r\n    \"awb\": {\r\n        \"shipmentType\": \"pallet\",\r\n        \"referenceNumber\": \"1234567\",\r\n        \"totalWeight\": \"100\",\r\n        \"envelopes\": \"0\",\r\n        \"parcels\": \"0\",\r\n        \"pallets\": \"1\",\r\n        \"declaredValue\": 5,\r\n        \"observations\": null,\r\n        \"products\": \"test test\",\r\n        \"packages\": {\r\n            \"1\": {\r\n                \"dimensions\": {\r\n                    \"width\": \"80\",\r\n                    \"height\": \"150\",\r\n                    \"length\": \"120\"\r\n                },\r\n                \"weight\": \"100\"\r\n            }\r\n        },\r\n        \"bankRepayment\": null\r\n    },\r\n    \"recipient\": {\r\n        \"name\": \"API - TESTS\",\r\n        \"cityId\": null,\r\n        \"countryIsoCode\": \"BG\",\r\n        \"cityName\": \"София\",\r\n        \"zipCode\": \"1000\",\r\n        \"region\": null,\r\n        \"streetName\": \"ул. Иван Вазов 12\",\r\n        \"buildingNumber\": null,\r\n        \"addressText\": null,\r\n        \"phoneNumber\": \"0887000000\",\r\n        \"contactPerson\": \"API - TESTS\",\r\n        \"email\": \"example@example.com\"\r\n    },\r\n    \"courierRequest\": {\r\n        \"date\": \"2022-08-30\",\r\n        \"timeFrom\": \"00:00\",\r\n        \"timeTo\": \"00:00\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api1.inout.bg/api/v1/createAWB","description":"<p>We can now offer you the ability to ask for a shipment creation directly from your company’s software or website by taking advantage of \"Shipment Creation\".</p>\n<p>Requirements</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>API Endpoint</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>createAWB</td>\n<td>Creates a new shipment according to provided the API token and the shipment’s data.</td>\n</tr>\n</tbody>\n</table>\n</div><p>Method: POST<br />Authorization: Bearer API_TOKEN<br />API Call Input Fields<br />Body (JSON)</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n<th><strong>required</strong></th>\n<th><strong>description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>testMode</td>\n<td>boolean</td>\n<td>yes</td>\n<td>if you want to use the API only for tests set this field to true. Applies only to the production environment. On the test environment, all shipments save on test env.</td>\n</tr>\n<tr>\n<td>senderId (company id)</td>\n<td>integer</td>\n<td>yes</td>\n<td>ID of company, obtain an ID from Companies Web Service. Please for more information, see Companies Web Service.</td>\n</tr>\n<tr>\n<td>courierId</td>\n<td>integer</td>\n<td>yes</td>\n<td>ID of courier, obtain an ID from Couriers Web Service.</td>\n</tr>\n<tr>\n<td>waybillAvailableDate</td>\n<td>date</td>\n<td>yes</td>\n<td>The date on which the shipment is to be dispatched.</td>\n</tr>\n<tr>\n<td>serviceName</td>\n<td>string</td>\n<td>yes</td>\n<td>The service name must be one of the following:  <br />•crossborder  <br />•eushipmentsairexpress</td>\n</tr>\n<tr>\n<td><strong>recipient</strong></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>name</td>\n<td>string</td>\n<td>yes</td>\n<td>Name of recipient or company. Typically, both customer names (first name and last name) or company name are filled in.</td>\n</tr>\n<tr>\n<td>cityId</td>\n<td>integer</td>\n<td>yes</td>\n<td>The ID of a city where the shipment needs to delivery. Obtain an ID from Cities resource. Please for more information, see Cities web service.</td>\n</tr>\n<tr>\n<td>countryIsoCode</td>\n<td>string</td>\n<td>no</td>\n<td>Two digits country ISO code.</td>\n</tr>\n<tr>\n<td>cityName</td>\n<td>string</td>\n<td>no</td>\n<td>City name. If you have your own nomenclature with а cities, you can fill in the fields cityName, zipCode and region.</td>\n</tr>\n<tr>\n<td>zipCode</td>\n<td>string</td>\n<td>no</td>\n<td>Zip code.</td>\n</tr>\n<tr>\n<td>region</td>\n<td>string</td>\n<td>no</td>\n<td>Region.</td>\n</tr>\n<tr>\n<td>streetName</td>\n<td>string</td>\n<td>yes</td>\n<td>Name of the street, office address or office name - e.g. If you create shipment to address - Main street or Main street 10. If you want to create shipment to an office, please add a keyword \"to office: \" to office name or office address (Courier_Offices_Web_Service_v1.2) e.g. \" to office: Русе Николаевска\" or \" to office: Русе ж.к. ЦЮР ул. Николаевска №109\".</td>\n</tr>\n<tr>\n<td>buildingNumber</td>\n<td>integer</td>\n<td>yes</td>\n<td>Number of the street/building - e.g. 10</td>\n</tr>\n<tr>\n<td>addressText</td>\n<td>string</td>\n<td>yes</td>\n<td>Additional address information – e.g. бл.25 ет 3. or bl.25 et. 3</td>\n</tr>\n<tr>\n<td>contactPerson</td>\n<td>string</td>\n<td>no</td>\n<td>Contact person. Usually is the same as the name of recipient.</td>\n</tr>\n<tr>\n<td>phoneNumber</td>\n<td>string</td>\n<td>yes</td>\n<td>Phone number of the recipient.</td>\n</tr>\n<tr>\n<td>email</td>\n<td>email</td>\n<td>yes</td>\n<td>Email of the recipient. But for some partners it is mandatory and the API returns a mistake.</td>\n</tr>\n<tr>\n<td><strong>awb</strong></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>shipmentType</td>\n<td>string</td>\n<td>no</td>\n<td>Enum: pack or pallet</td>\n</tr>\n<tr>\n<td>parcels</td>\n<td>integer</td>\n<td>yes</td>\n<td>Number of parcels in the shipment.</td>\n</tr>\n<tr>\n<td>envelopes</td>\n<td>integer</td>\n<td>yes</td>\n<td>Number of envelopes in the shipment.</td>\n</tr>\n<tr>\n<td>pallets</td>\n<td>Integer</td>\n<td>no</td>\n<td>The number of pallets.</td>\n</tr>\n<tr>\n<td>totalWeight</td>\n<td>numeric</td>\n<td>yes</td>\n<td>Total weight of the shipment in kg.</td>\n</tr>\n<tr>\n<td>declaredValue</td>\n<td>numeric</td>\n<td>no</td>\n<td>Insurance amount of the shipment. The service returns an error when filling more than of the permitted value for the country.</td>\n</tr>\n<tr>\n<td>bankRepayment</td>\n<td>numeric</td>\n<td>no</td>\n<td>COD amount of the shipment. You can set to 0 if the shipment doesn't have a COD amount.</td>\n</tr>\n<tr>\n<td>otherRepayment</td>\n<td>string</td>\n<td>no</td>\n<td>Additional information to COD.</td>\n</tr>\n<tr>\n<td>observations</td>\n<td>string</td>\n<td>no</td>\n<td>Additional information about the shipment/products. (notes)</td>\n</tr>\n<tr>\n<td>openPackage</td>\n<td>boolean</td>\n<td>yes</td>\n<td>Check up the shipment before pay.</td>\n</tr>\n<tr>\n<td>saturdayDelivery</td>\n<td>boolean</td>\n<td>yes</td>\n<td>Saturday delivery. Not available for some countries.</td>\n</tr>\n<tr>\n<td><strong>referenceNumber</strong></td>\n<td>string</td>\n<td>yes</td>\n<td>Client reference number. Usually, the client put here the unique number of order from the site or unique order number of the content or invoice number. Helps for tracking and reporting.  <br /><strong>Important: The information in the field must be unique to avoid duplicate shipments!</strong></td>\n</tr>\n<tr>\n<td>products</td>\n<td>string</td>\n<td>yes</td>\n<td>The content of the shipment. e.g. product1 product2</td>\n</tr>\n<tr>\n<td>fragile</td>\n<td>boolean</td>\n<td>no</td>\n<td>Marker whether the content is fragile. (fragile = 1 if the content is fragile) – Used only for BG</td>\n</tr>\n<tr>\n<td>productsInfo</td>\n<td>string</td>\n<td>no</td>\n<td>Аdditional product information.</td>\n</tr>\n<tr>\n<td>piecesInPack</td>\n<td>integer</td>\n<td>no</td>\n<td>Products amount in one shipment. e.g If the shipment contain 5 products the field will be filled with 5.</td>\n</tr>\n<tr>\n<td><strong>document</strong></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>content</td>\n<td>base64 binary</td>\n<td>no</td>\n<td>PDF content base64 encoded.</td>\n</tr>\n<tr>\n<td>format</td>\n<td>string</td>\n<td>no</td>\n<td>Enum: pdf</td>\n</tr>\n<tr>\n<td><strong>customsData</strong></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>dutyPaymentInfo</td>\n<td>string</td>\n<td>no</td>\n<td>Mandatory field for countries outside the European Union.  <br />ENUM: DDU (Delivery duty unpaid), DDP (Delivery duty paid)</td>\n</tr>\n<tr>\n<td>customsValue</td>\n<td>numeric 15.2</td>\n<td>no</td>\n<td>Mandatory field for countries outside the European Union.</td>\n</tr>\n<tr>\n<td><strong>courierRequest</strong></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>date</td>\n<td>date string</td>\n<td>no</td>\n<td>The date on which the courier must visit the address.</td>\n</tr>\n<tr>\n<td>timeFrom</td>\n<td>time string</td>\n<td>no</td>\n<td>Starting time of the visit.</td>\n</tr>\n<tr>\n<td>timeTo</td>\n<td>time string</td>\n<td>no</td>\n<td>End time of the visit.</td>\n</tr>\n<tr>\n<td><strong>returnLabel</strong></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>ndaysValid</td>\n<td>integer</td>\n<td>no</td>\n<td>By default is 0 (infinity). For now used only for Greece</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>API</strong> <strong>Response (Output Fields)</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>awb</td>\n<td>AWB number</td>\n</tr>\n<tr>\n<td>barcode</td>\n<td>Barcode of the shipment printed on the label</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Example:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"awb\": \"1507023066\",\n    \"barcode\": \"\"\n}\n\n</code></pre>\n<p>HTTP Errors:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200</td>\n<td>Returns result from the web service.</td>\n</tr>\n<tr>\n<td>400</td>\n<td>Bad request.</td>\n</tr>\n<tr>\n<td>401</td>\n<td>Unauthenticated. API expects a header like - 'Authorization: Bearer (api_token)'.</td>\n</tr>\n<tr>\n<td>404</td>\n<td>Not found data.</td>\n</tr>\n<tr>\n<td>408</td>\n<td>The partner API not answer. Please try again letter!</td>\n</tr>\n<tr>\n<td>422</td>\n<td>Unprocessable Entity. Wrong input data.</td>\n</tr>\n<tr>\n<td>500</td>\n<td>Internal Server Error / This action is unauthorized.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","createAWB"],"host":["api1","inout","bg"],"query":[],"variable":[]}},"response":[],"_postman_id":"f1564d93-2826-4fee-841b-0402551be0d6"},{"name":"Shipment_Creation_Web_Service_v1.3-NON-EU","id":"0d9826c8-93db-48fc-813f-a128dd223c02","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"testMode\": 0,\r\n    \"senderId\": 333,\r\n    \"courierId\": 20,\r\n    \"waybillAvailableDate\": \"2023-01-23\",\r\n    \"serviceName\": \"eushipmentsairexpress\",\r\n    \"recipient\": {\r\n        \"name\": \"Test User\",\r\n        \"countryIsoCode\": \"HU\",\r\n        \"cityId\": 20144281,\r\n        \"region\": \"null\",\r\n        \"cityName\": \"Balatonszárszó\",\r\n        \"zipCode\": \"8624\",\r\n        \"streetName\": \"test street\",\r\n        \"buildingNumber\": 0,\r\n        \"addressText\": \"additional text, address test\",\r\n        \"contactPerson\": \"Test User\",\r\n        \"phoneNumber\": \"00889000000\",\r\n        \"email\": \"2@2.com\"\r\n    },\r\n    \"awb\": {\r\n        \"parcels\": 1,\r\n        \"envelopes\": 0,\r\n        \"totalWeight\": 1.000,\r\n        \"declaredValue\": 0,\r\n        \"bankRepayment\": 0.0,\r\n        \"otherRepayment\": \"additional text for repayment\",\r\n        \"observations\": \"notes\",\r\n        \"openPackage\": false,\r\n        \"shipmentPayer\": \"sender\",\r\n        \"saturdayDelivery\": false,\r\n        \"referenceNumber\": \"000000\",\r\n        \"products\": \"test product\",\r\n        \"fragile\": 1,\r\n        \"productsInfo\": \"1111;2222;3333;4444\",\r\n        \"piecesInPack\": 4,\r\n        \"document\": {\r\n            \"content\": \"JVBERi0xLjcKJcfsj6IKOCAwIG9iago8PC9MZW5ndGggOSAwIFIvRmlsdGVyIC9GbGF0ZURlY29kZT4+CnN0cmVhbQp4nL1bW3fbxhF+56+Yc3JO66Tmeu8L6M2SL1EqW44oOy99gUjYpg8vMkg6UU4f0qRu2vSW...\",\r\n            \"format\": \"pdf\"\r\n        },\r\n        \"packages\": [\r\n            {\r\n                \"dimensions\": {\r\n                    \"width\": 20,\r\n                    \"height\": 20,\r\n                    \"length\": 20\r\n                },\r\n                \"weight\": 1\r\n            }\r\n        ]\r\n    },\r\n    \"customsData\": {\r\n        \"dutyPaymentInfo\": \"DDU\",\r\n        \"customsValue\": 35.50\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api1.inout.bg/api/v1/createAWB","description":"<p>We can now offer you the ability to ask for a shipment creation directly from your company’s software or website by taking advantage of \"Shipment Creation\".</p>\n<p>Requirements</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>API Endpoint</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>createAWB</td>\n<td>Creates a new shipment according to provided the API token and the shipment’s data.</td>\n</tr>\n</tbody>\n</table>\n</div><p>Method: POST<br />Authorization: Bearer API_TOKEN<br />API Call Input Fields<br />Body (JSON)</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n<th><strong>required</strong></th>\n<th><strong>description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>testMode</td>\n<td>boolean</td>\n<td>yes</td>\n<td>if you want to use the API only for tests set this field to true. Applies only to the production environment. On the test environment, all shipments save on test env.</td>\n</tr>\n<tr>\n<td>senderId (company id)</td>\n<td>integer</td>\n<td>yes</td>\n<td>ID of company, obtain an ID from Companies Web Service. Please for more information, see Companies Web Service.</td>\n</tr>\n<tr>\n<td>courierId</td>\n<td>integer</td>\n<td>yes</td>\n<td>ID of courier, obtain an ID from Couriers Web Service.</td>\n</tr>\n<tr>\n<td>waybillAvailableDate</td>\n<td>date</td>\n<td>yes</td>\n<td>The date on which the shipment is to be dispatched.</td>\n</tr>\n<tr>\n<td>serviceName</td>\n<td>string</td>\n<td>yes</td>\n<td>The service name must be one of the following:  <br />•crossborder  <br />•eushipmentsairexpress</td>\n</tr>\n<tr>\n<td><strong>recipient</strong></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>name</td>\n<td>string</td>\n<td>yes</td>\n<td>Name of recipient or company. Typically, both customer names (first name and last name) or company name are filled in.</td>\n</tr>\n<tr>\n<td>cityId</td>\n<td>integer</td>\n<td>yes</td>\n<td>The ID of a city where the shipment needs to delivery. Obtain an ID from Cities resource. Please for more information, see Cities web service.</td>\n</tr>\n<tr>\n<td>countryIsoCode</td>\n<td>string</td>\n<td>no</td>\n<td>Two digits country ISO code.</td>\n</tr>\n<tr>\n<td>cityName</td>\n<td>string</td>\n<td>no</td>\n<td>City name. If you have your own nomenclature with а cities, you can fill in the fields cityName, zipCode and region.</td>\n</tr>\n<tr>\n<td>zipCode</td>\n<td>string</td>\n<td>no</td>\n<td>Zip code.</td>\n</tr>\n<tr>\n<td>region</td>\n<td>string</td>\n<td>no</td>\n<td>Region.</td>\n</tr>\n<tr>\n<td>streetName</td>\n<td>string</td>\n<td>yes</td>\n<td>Name of the street, office address or office name - e.g. If you create shipment to address - Main street or Main street 10. If you want to create shipment to an office, please add a keyword \"to office: \" to office name or office address (obtain information from \"offices address\" web service.) e.g. \" to office: Русе Николаевска\" or \" to office: Русе ж.к. ЦЮР ул. Николаевска №109\".</td>\n</tr>\n<tr>\n<td>buildingNumber</td>\n<td>integer</td>\n<td>yes</td>\n<td>Number of the street/building - e.g. 10</td>\n</tr>\n<tr>\n<td>addressText</td>\n<td>string</td>\n<td>yes</td>\n<td>Additional address information – e.g. бл.25 ет 3. or bl.25 et. 3</td>\n</tr>\n<tr>\n<td>contactPerson</td>\n<td>string</td>\n<td>no</td>\n<td>Contact person. Usually is the same as the name of recipient.</td>\n</tr>\n<tr>\n<td>phoneNumber</td>\n<td>string</td>\n<td>yes</td>\n<td>Phone number of the recipient.</td>\n</tr>\n<tr>\n<td>email</td>\n<td>email</td>\n<td>no</td>\n<td>Email of the recipient. But for some partners it is mandatory and the API returns a mistake.</td>\n</tr>\n<tr>\n<td><strong>awb</strong></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>shipmentType</td>\n<td>string</td>\n<td>no</td>\n<td>Enum: pack or pallet</td>\n</tr>\n<tr>\n<td>parcels</td>\n<td>integer</td>\n<td>yes</td>\n<td>Number of parcels in the shipment.</td>\n</tr>\n<tr>\n<td>envelopes</td>\n<td>integer</td>\n<td>yes</td>\n<td>Number of envelopes in the shipment.</td>\n</tr>\n<tr>\n<td>pallets</td>\n<td>Integer</td>\n<td>no</td>\n<td>The number of pallets.</td>\n</tr>\n<tr>\n<td>totalWeight</td>\n<td>numeric</td>\n<td>yes</td>\n<td>Total weight of the shipment in kg.</td>\n</tr>\n<tr>\n<td>declaredValue</td>\n<td>numeric</td>\n<td>no</td>\n<td>Insurance amount of the shipment. The service returns an error when filling more than of the permitted value for the country.</td>\n</tr>\n<tr>\n<td>bankRepayment</td>\n<td>numeric</td>\n<td>no</td>\n<td>COD amount of the shipment. You can set to 0 if the shipment doesn't have a COD amount.</td>\n</tr>\n<tr>\n<td>otherRepayment</td>\n<td>string</td>\n<td>no</td>\n<td>Additional information to COD.</td>\n</tr>\n<tr>\n<td>observations</td>\n<td>string</td>\n<td>no</td>\n<td>Additional information about the shipment/products. (notes)</td>\n</tr>\n<tr>\n<td>openPackage</td>\n<td>boolean</td>\n<td>no</td>\n<td>Check up the shipment before pay.</td>\n</tr>\n<tr>\n<td>saturdayDelivery</td>\n<td>boolean</td>\n<td>no</td>\n<td>Saturday delivery. Not available for some countries.</td>\n</tr>\n<tr>\n<td><strong>referenceNumber</strong></td>\n<td>string</td>\n<td>yes</td>\n<td>Client reference number. Usually, the client put here the unique number of order from the site or unique order number of the content or invoice number. Helps for tracking and reporting.  <br /><strong>Important: The information in the field must be unique to avoid duplicate shipments!</strong></td>\n</tr>\n<tr>\n<td>products</td>\n<td>string</td>\n<td>yes</td>\n<td>Shipment content</td>\n</tr>\n<tr>\n<td>fragile</td>\n<td>boolean</td>\n<td>no</td>\n<td>Marker whether the content is fragile. (fragile = 1 if the content is fragile) – Used only for BG</td>\n</tr>\n<tr>\n<td>productsInfo</td>\n<td>string</td>\n<td>no</td>\n<td>Аdditional product information.</td>\n</tr>\n<tr>\n<td>piecesInPack</td>\n<td>integer</td>\n<td>no</td>\n<td>Products amount in one shipment. e.g If the shipment contain 5 products the field will be filled with 5.</td>\n</tr>\n<tr>\n<td><strong>document</strong></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>content</td>\n<td>base64 binary</td>\n<td>no</td>\n<td>PDF content base64 encoded.</td>\n</tr>\n<tr>\n<td>format</td>\n<td>string</td>\n<td>no</td>\n<td>Enum: pdf</td>\n</tr>\n<tr>\n<td><strong>customsData</strong></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>dutyPaymentInfo</td>\n<td>string</td>\n<td>no</td>\n<td>Mandatory field for countries outside the European Union.  <br />ENUM: DDU (Delivery duty unpaid), DDP (Delivery duty paid)</td>\n</tr>\n<tr>\n<td>customsValue</td>\n<td>numeric 15.2</td>\n<td>no</td>\n<td>Mandatory field for countries outside the European Union.</td>\n</tr>\n<tr>\n<td><strong>courierRequest</strong></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>date</td>\n<td>date string</td>\n<td>no</td>\n<td>The date on which the courier must visit the address.</td>\n</tr>\n<tr>\n<td>timeFrom</td>\n<td>time string</td>\n<td>no</td>\n<td>Starting time of the visit.</td>\n</tr>\n<tr>\n<td>timeTo</td>\n<td>time string</td>\n<td>no</td>\n<td>End time of the visit.</td>\n</tr>\n<tr>\n<td><strong>returnLabel</strong></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>ndaysValid</td>\n<td>integer</td>\n<td>no</td>\n<td>By default is 0 (infinity). For now used only for Greece</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>API</strong> <strong>Response (Output Fields)</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>awb</td>\n<td>AWB number</td>\n</tr>\n<tr>\n<td>barcode</td>\n<td>Barcode of the shipment printed on the label</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Example:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"awb\": \"1507023066\",\n    \"barcode\": \"\"\n}\n\n</code></pre>\n<p>HTTP Errors:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200</td>\n<td>Returns result from the web service.</td>\n</tr>\n<tr>\n<td>400</td>\n<td>Bad request.</td>\n</tr>\n<tr>\n<td>401</td>\n<td>Unauthenticated. API expects a header like - 'Authorization: Bearer (api_token)'.</td>\n</tr>\n<tr>\n<td>404</td>\n<td>Not found data.</td>\n</tr>\n<tr>\n<td>408</td>\n<td>The partner API not answer. Please try again letter!</td>\n</tr>\n<tr>\n<td>422</td>\n<td>Unprocessable Entity. Wrong input data.</td>\n</tr>\n<tr>\n<td>500</td>\n<td>Internal Server Error / This action is unauthorized.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","createAWB"],"host":["api1","inout","bg"],"query":[],"variable":[]}},"response":[],"_postman_id":"0d9826c8-93db-48fc-813f-a128dd223c02"},{"name":"Pickup_AWB_Creation_Web_Service-v1.0","id":"afa63781-0182-4cf0-89aa-b1c45ede5ac7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"companyId\": 333,\r\n    \"courierId\": 20,\r\n    \"sender\": {\r\n        \"name\": \"TEST API\",\r\n        \"cityId\": 20142210,\r\n        \"countryIsoCode\": \"HU\",\r\n        \"cityName\": null,\r\n        \"zipCode\": null,\r\n        \"region\": null,\r\n        \"streetName\": \"Nagymező u.\",\r\n        \"contactPerson\": \"TEST API\",\r\n        \"phoneNumber\": \"+3655237191\",\r\n        \"email\": \"it@example.com\"\r\n    },\r\n    \"awb\": {\r\n        \"parcels\": 1,\r\n        \"totalWeight\": 1,\r\n        \"observations\": null,\r\n        \"products\": \"test products\",\r\n        \"referenceNumber\": null,\r\n        \"packages\": [\r\n            {\r\n                \"dimensions\": {\r\n                    \"width\": 10,\r\n                    \"height\": 10,\r\n                    \"length\": 10\r\n                },\r\n                \"weight\": 1\r\n            }\r\n        ]\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api1.inout.bg/api/v1/awb/pickup","description":"<p>We can now offer you the ability to a pick up request for a shipment directly from your company’s software or website by taking advantage of \"Shipment Creation\".</p>\n<p>Requirements</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>API Endpoint</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>/awb/pickup</td>\n<td>Creating a pickup AWB in our system via API.</td>\n</tr>\n</tbody>\n</table>\n</div><p>Method: POST<br />Authorization: Bearer API_TOKEN<br />API Call Input Fields<br />Body (JSON)</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>parameter</th>\n<th><strong>type</strong></th>\n<th><strong>required</strong></th>\n<th>restrictions</th>\n<th><strong>description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>companyId</td>\n<td>integer</td>\n<td>yes</td>\n<td>There must be a company with the selected ID.</td>\n<td>ID of company, you can receive it from the „Companies Web Service“.</td>\n</tr>\n<tr>\n<td>courierId</td>\n<td>integer</td>\n<td>no</td>\n<td>Only required if you have more than one courier for the country you want to create an pre AWB.</td>\n<td>IID of courier, you can receive it from the „Couriers Web Service“.</td>\n</tr>\n<tr>\n<td>sender</td>\n<td>object</td>\n<td>yes</td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>name</td>\n<td>string</td>\n<td>yes</td>\n<td></td>\n<td>Name of sender or company. Typically, both sender names (first name and last name) or company name are filled in.</td>\n</tr>\n<tr>\n<td>cityId</td>\n<td>integer</td>\n<td>yes</td>\n<td></td>\n<td>The ID of a city where the shipment needs to delivery. Obtain an ID from Cities resource. Please for more information, see Cities web service.</td>\n</tr>\n<tr>\n<td>cityName</td>\n<td>string</td>\n<td>no</td>\n<td>Required field if city ID is not present.</td>\n<td>Sender's city name e.g. София.</td>\n</tr>\n<tr>\n<td>zipCode</td>\n<td>string</td>\n<td>no</td>\n<td>Required field if a region is not present.</td>\n<td>Sender's city zip code e.g. 1000.</td>\n</tr>\n<tr>\n<td>region</td>\n<td>integer</td>\n<td>no</td>\n<td>Required for Romania. Required field if a city zip code is not present.</td>\n<td>Sender's region e.g. София.</td>\n</tr>\n<tr>\n<td>streetName</td>\n<td>string</td>\n<td>yes</td>\n<td></td>\n<td>name of the street, office address or office name - e.g. If you create a shipment to address - Main street or Main street 10.</td>\n</tr>\n<tr>\n<td>contactPerson</td>\n<td>string</td>\n<td>no</td>\n<td></td>\n<td>Contact person. Usually is the same as the name of sender.</td>\n</tr>\n<tr>\n<td>phoneNumber</td>\n<td>string</td>\n<td>yes</td>\n<td></td>\n<td>Sender's phone number.</td>\n</tr>\n<tr>\n<td>region</td>\n<td>string</td>\n<td>no</td>\n<td></td>\n<td>Region.</td>\n</tr>\n<tr>\n<td>email</td>\n<td>email</td>\n<td>yes</td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><strong>awb</strong></td>\n<td>object</td>\n<td>yes</td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>parcels</td>\n<td>integer</td>\n<td>no</td>\n<td></td>\n<td>Number of parcels in the shipment.</td>\n</tr>\n<tr>\n<td>totalWeight</td>\n<td>integer</td>\n<td>yes</td>\n<td></td>\n<td>Total weight of the shipment in kg.</td>\n</tr>\n<tr>\n<td>observations</td>\n<td>string</td>\n<td>yes</td>\n<td></td>\n<td>Additional information about the shipment/products. (notes)</td>\n</tr>\n<tr>\n<td>email</td>\n<td>email</td>\n<td>no</td>\n<td></td>\n<td>Email of the recipient. But for some partners it is mandatory and the API returns a mistake.</td>\n</tr>\n<tr>\n<td>referenceNumber</td>\n<td>string</td>\n<td>yes</td>\n<td></td>\n<td>Client reference number. Usually, the client put here the unique number of pickup AWB from the site or unique pickup AWB number of the content or invoice number. Helps for tracking and reporting.  <br />Important: The information in the field must be unique!</td>\n</tr>\n<tr>\n<td>products</td>\n<td>string</td>\n<td>yes</td>\n<td></td>\n<td>The content of the shipment. e.g. product1 product2.</td>\n</tr>\n<tr>\n<td>packages</td>\n<td>array</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>weight</td>\n<td>numeric</td>\n<td>yes</td>\n<td></td>\n<td>Package weight</td>\n</tr>\n<tr>\n<td>dimensions</td>\n<td>array</td>\n<td>yes</td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>width</td>\n<td>numeric</td>\n<td>yes</td>\n<td></td>\n<td>Package width</td>\n</tr>\n<tr>\n<td>height</td>\n<td>numeric</td>\n<td>yes</td>\n<td></td>\n<td>Package height</td>\n</tr>\n<tr>\n<td>length</td>\n<td>numeric</td>\n<td>yes</td>\n<td></td>\n<td>Package length</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Success API Response (Output Fields)</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>pickupAWBNumber</td>\n<td>Pickup AWB number.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Example:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"pickupAWBNumber\": \"3169951776\"\n}\n\n</code></pre>\n<p>HTTP Errors:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>201</td>\n<td>The pickup AWB created successfully.</td>\n</tr>\n<tr>\n<td>400</td>\n<td>Bad request.</td>\n</tr>\n<tr>\n<td>401</td>\n<td>Unauthenticated. API expects a header like - 'Authorization: Bearer (api_token)'.</td>\n</tr>\n<tr>\n<td>404</td>\n<td>Not found record.</td>\n</tr>\n<tr>\n<td>408</td>\n<td>The partner API not answer. Please try again letter!</td>\n</tr>\n<tr>\n<td>422</td>\n<td>Unprocessable Entity. Wrong input data.</td>\n</tr>\n<tr>\n<td>500</td>\n<td>Internal Server Error / This action is unauthorized.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","awb","pickup"],"host":["api1","inout","bg"],"query":[],"variable":[]}},"response":[],"_postman_id":"afa63781-0182-4cf0-89aa-b1c45ede5ac7"},{"name":"PDF_Web_Service_v1.2","id":"4d9a884e-528e-4a01-a3d6-0621b765f73c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api1.inout.bg/api/v1/print/{AWBnumber}?testMode=0","description":"<p>We can now offer you the ability to ask for a pdf file directly from your company’s software or website by taking advantage of \"PDF Web Service\".</p>\n<p>Requirements:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>API Endpoint</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>print/{AWBnumber}</td>\n<td>Get PDF file as A4 or label in base64 encoding.</td>\n</tr>\n</tbody>\n</table>\n</div><p>Method: GET<br />Authorization: Bearer API_TOKEN</p>\n<p>API Call Input Fields<br />URL query parameters</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n<th><strong>required</strong></th>\n<th><strong>description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>testMode</td>\n<td>boolean</td>\n<td>yes</td>\n<td>If you want to use the API only for tests set this field to true. Applies only to the production environment. On the test environment, all shipments save on test env.</td>\n</tr>\n<tr>\n<td>printFileType</td>\n<td>smallInt</td>\n<td>no</td>\n<td>By default always returns label. But you can choose the type of AWB print. If 'printFileType' equals to 1 then you receive PDF in A4 format, else if 'printFileType' equals to 2 then you receive PDF in label format.  <br />This works if our partner also supports a waybill in both formats.  <br />Important: If we set the type label in our system you receive the PDF in the chosen format in out system.  <br /></td>\n</tr>\n</tbody>\n</table>\n</div><p>Example:<br /><a href>https://api1.inout.bg/api/v1/print/64506083?testMode=0</a></p>\n<p>API Response (Output Fields)</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>type</td>\n<td>Type document.</td>\n</tr>\n<tr>\n<td>awb_print</td>\n<td>Base64 encoded file.</td>\n</tr>\n</tbody>\n</table>\n</div><p>Example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"type\": \"PDF\",\n    \"awb_print\": base64 encoded pdf\n}\n\n</code></pre>\n<p>HTTP Errors:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200</td>\n<td>Returns result from the web service.</td>\n</tr>\n<tr>\n<td>400</td>\n<td>Bad request.</td>\n</tr>\n<tr>\n<td>401</td>\n<td>Unauthenticated. API expects a header like - 'Authorization: Bearer (api_token)'.</td>\n</tr>\n<tr>\n<td>404</td>\n<td>Not found data.</td>\n</tr>\n<tr>\n<td>408</td>\n<td>The partner API not answer. Please try again letter!</td>\n</tr>\n<tr>\n<td>422</td>\n<td>Unprocessable Entity. Wrong input data.</td>\n</tr>\n<tr>\n<td>500</td>\n<td>Internal Server Error / This action is unauthorized.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","print","{AWBnumber}"],"host":["api1","inout","bg"],"query":[{"key":"testMode","value":"0"}],"variable":[]}},"response":[],"_postman_id":"4d9a884e-528e-4a01-a3d6-0621b765f73c"},{"name":"Waybills_History_Web_Service-v1.0","id":"95f11446-a09e-45fd-b480-a72d12540c51","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"testMode\": 0,\r\n\t\"awbs\": [\r\n\t\t{\r\n\t\t\t\"awb\": \"321654987456\"\r\n\t\t}, \r\n\t\t{\r\n\t\t\t\"awb\": \"321654123456\"\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"awb\": \"987654321\"\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"awb\": \"654321897654\"\r\n\t\t}\r\n\t]\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://api1.inout.bg/api/v1/fulfilment/waybills-history","description":"<p>We can now offer you the ability to get the statuses history by AWB number from your company’s software or website by taking advantage of \"AWB History Web Service\".</p>\n<p><strong>Requirements</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>API Endpoint</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>/fulfilment/waybills-history</td>\n<td>Receiving the AWB information.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Method: POST****Authorization: Bearer API_TOKEN</strong>API Call Input Fields<strong>Body (JSON)</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>parameter</strong></th>\n<th><strong>type</strong></th>\n<th><strong>required</strong></th>\n<th><strong>restrictions</strong></th>\n<th><strong>description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>testMode</td>\n<td>bool</td>\n<td>yes</td>\n<td></td>\n<td>if you want to use the API only for tests set this field to true. Applies only to the production environment. On the test environment, all shipments save on test env.</td>\n</tr>\n<tr>\n<td><strong>awbs</strong></td>\n<td>object</td>\n<td>yes</td>\n<td>max 100 AWB's</td>\n<td></td>\n</tr>\n<tr>\n<td>awb</td>\n<td>string</td>\n<td>yes</td>\n<td>exits to our DB and created with your API Token</td>\n<td>Shipment number (AWB)</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Example:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"testMode\": 0,\n    \"awbs\": [\n        {\n            \"awb\": \"321654987456\"\n        }, \n        {\n            \"awb\": \"321654123456\"\n        },\n        {\n            \"awb\": \"987654321\"\n        },\n        {\n            \"awb\": \"654321897654\"\n        }\n    ]\n}\n\n</code></pre>\n<p><strong>API Response (Output Fields)</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>refNum</td>\n<td>Order reference number.</td>\n</tr>\n<tr>\n<td>awb</td>\n<td>AWB number</td>\n</tr>\n<tr>\n<td>error</td>\n<td>A field that contains the text from a possible error while executing the web service from the server-side.</td>\n</tr>\n<tr>\n<td>errorCode</td>\n<td>Error code if it is from our server.</td>\n</tr>\n<tr>\n<td>statusesHistory</td>\n<td>Array with statuses history.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>List with the statuses:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Status Name</strong></th>\n<th><strong>Final</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>On delivery</td>\n<td>No</td>\n</tr>\n<tr>\n<td>In transit</td>\n<td>No</td>\n</tr>\n<tr>\n<td>Delivered</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>Returned</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>In the office</td>\n<td>No</td>\n</tr>\n<tr>\n<td>COD paid</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>New</td>\n<td>No</td>\n</tr>\n<tr>\n<td>Canceled</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>Stockout</td>\n<td>No</td>\n</tr>\n<tr>\n<td>Lost shipment</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>Redirected</td>\n<td>No</td>\n</tr>\n<tr>\n<td>Deleted</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>Warehouse Ruse</td>\n<td>No</td>\n</tr>\n<tr>\n<td>Returning</td>\n<td>No</td>\n</tr>\n<tr>\n<td>Scanned Waybill</td>\n<td>No</td>\n</tr>\n<tr>\n<td>Packed</td>\n<td>No</td>\n</tr>\n<tr>\n<td>Information received</td>\n<td>No</td>\n</tr>\n<tr>\n<td>Awaiting pickup</td>\n<td>No</td>\n</tr>\n<tr>\n<td>Insufficient data - AWB not created</td>\n<td>No</td>\n</tr>\n<tr>\n<td>Information sent to warehouse</td>\n<td>No</td>\n</tr>\n<tr>\n<td>Compenstaed courier fee</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>Claim opened</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>Warehouse</td>\n<td>No</td>\n</tr>\n<tr>\n<td>Damaged shipment</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>PreAlert</td>\n<td>No</td>\n</tr>\n<tr>\n<td>Destroyed</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>Warehouse Budapest</td>\n<td>No</td>\n</tr>\n<tr>\n<td>Lastmile Accept</td>\n<td>No</td>\n</tr>\n<tr>\n<td>Warehouse Sofia</td>\n<td>No</td>\n</tr>\n<tr>\n<td>Warehouse Zagreb</td>\n<td>No</td>\n</tr>\n<tr>\n<td>Returned to Warehouse</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>Rejected by courier</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>Returned to Client</td>\n<td>Yes</td>\n</tr>\n</tbody>\n</table>\n</div><p>**<br />StatusesHistory (Data Structure)**</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>ID</td>\n<td>Record identifier.</td>\n</tr>\n<tr>\n<td>STATUS</td>\n<td>Status text (e.g. In Transit, On delivery etc)</td>\n</tr>\n<tr>\n<td>DATE</td>\n<td>Status date</td>\n</tr>\n<tr>\n<td>DATE_CREATED</td>\n<td>The date the record was created</td>\n</tr>\n<tr>\n<td>COMMENT</td>\n<td>The name of the status in the native language for every country.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Example:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[\n  {\n    \"refNum\": \"5420122\",\n    \"awb\": null,\n    \"error\": null,\n    \"errorCode\": null,\n    \"statusesHistory\": [\n      {\n        \"ID\": 26332,\n        \"STATUS\": \"Information received\",\n        \"DATE\": \"2020-03-06 10:47:18\",\n        \"DATE_CREATED\": \"2020-03-06 10:47:18\",\n        \"COMMENT\": null\n      }\n    ]\n  },\n  {\n    \"refNum\": \"21555\",\n    \"awb\": \"00228876896\",\n    \"error\": null,\n    \"errorCode\": null,\n    \"statusesHistory\": [\n      {\n        \"ID\": 26332,\n        \"STATUS\": \"Information received\",\n        \"DATE\": \"2020-03-06 10:47:18\",\n        \"DATE_CREATED\": \"2020-03-06 10:47:18\",\n        \"COMMENT\": null\n      }\n    ]\n  },\n  {\n    \"refNum\": \"488\",\n    \"awb\": null,\n    \"error\": \"Not found waybill with specified reference number!\",\n    \"errorCode\": 404,\n    \"statusesHistory\": []\n  },\n  {\n    \"refNum\": \"55555555555555555555\",\n    \"awb\": null,\n    \"error\": \"Not found waybill with specified reference number!\",\n    \"errorCode\": 404,\n    \"statusesHistory\": []\n  }\n]\n\n</code></pre>\n<p>HTTP Errors:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Code</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200</td>\n<td>The request was successful</td>\n</tr>\n<tr>\n<td>400</td>\n<td>Bad request.</td>\n</tr>\n<tr>\n<td>401</td>\n<td>Unauthenticated. API expects a header like - 'Authorization: Bearer (api_token)'.</td>\n</tr>\n<tr>\n<td>404</td>\n<td>Not found record.</td>\n</tr>\n<tr>\n<td>422</td>\n<td>Wrong params.</td>\n</tr>\n<tr>\n<td>500</td>\n<td>Internal Server Error / This action is unauthorized.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","fulfilment","waybills-history"],"host":["api1","inout","bg"],"query":[],"variable":[]}},"response":[],"_postman_id":"95f11446-a09e-45fd-b480-a72d12540c51"},{"name":"Shipment_Status_Web_Service_v1.1","id":"1413f560-2e74-44dd-844d-1b70dae3c8f9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api1.inout.bg/api/v1/get-status/{AWBNumber}?testMode=0","description":"<p>We can now offer you the ability to ask for a last shipment status directly from your company’s software or website by taking advantage of \"Shipment Status Web Service\".</p>\n<p><strong>Requirements</strong>:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>API Endpoint</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>get-status/{AWBNumber}</td>\n<td>Receive the last shipment status.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Method: GET</strong> Authorization: Bearer API_TOKEN<br /><strong>API Call (Input Fields)</strong> URL query parameters</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n<th><strong>required</strong></th>\n<th><strong>description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>testMode</td>\n<td>boolean</td>\n<td>yes</td>\n<td>If you want to use the API only for tests set this field to true. Applies only to the production environment. On the test environment, all shipments save on test env.</td>\n</tr>\n</tbody>\n</table>\n</div><p>Example:<br /><a href=\"https://api1.inout.bg/api/v1/get-status/64506083?testMode=0\">https://api1.inout.bg/api/v1/get-status/64506083?testMode=0</a></p>\n<p><strong>API Response (Output Fields)</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>status</td>\n<td>Text with last status from the shipment tracking.</td>\n</tr>\n</tbody>\n</table>\n</div><p>Example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"status\": \"Delivered\"\n}\n\n</code></pre>\n<p><strong>List with the statuses:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Status ID</strong></th>\n<th><strong>Status Name</strong></th>\n<th><strong>Final</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>On delivery</td>\n<td>No</td>\n</tr>\n<tr>\n<td>2</td>\n<td>In transit</td>\n<td>No</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Delivered</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>4</td>\n<td>Returned</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>5</td>\n<td>In the office</td>\n<td>No</td>\n</tr>\n<tr>\n<td>6</td>\n<td>COD paid</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>7</td>\n<td>New</td>\n<td>No</td>\n</tr>\n<tr>\n<td>8</td>\n<td>Canceled</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>11</td>\n<td>Stockout</td>\n<td>No</td>\n</tr>\n<tr>\n<td>13</td>\n<td>Lost shipment</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>14</td>\n<td>Redirected</td>\n<td>No</td>\n</tr>\n<tr>\n<td>15</td>\n<td>Deleted</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>16</td>\n<td>Warehouse Ruse</td>\n<td>No</td>\n</tr>\n<tr>\n<td>17</td>\n<td>Returning</td>\n<td>No</td>\n</tr>\n<tr>\n<td>18</td>\n<td>Scanned Waybill</td>\n<td>No</td>\n</tr>\n<tr>\n<td>19</td>\n<td>Packed</td>\n<td>No</td>\n</tr>\n<tr>\n<td>20</td>\n<td>Information received</td>\n<td>No</td>\n</tr>\n<tr>\n<td>21</td>\n<td>Awaiting pickup</td>\n<td>No</td>\n</tr>\n<tr>\n<td>22</td>\n<td>Insufficient data - AWB not created</td>\n<td>No</td>\n</tr>\n<tr>\n<td>23</td>\n<td>Information sent to warehouse</td>\n<td>No</td>\n</tr>\n<tr>\n<td>24</td>\n<td>Compenstaed courier fee</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>25</td>\n<td>Claim opened</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>26</td>\n<td>Warehouse</td>\n<td>No</td>\n</tr>\n<tr>\n<td>27</td>\n<td>Damaged shipment</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>28</td>\n<td>PreAlert</td>\n<td>No</td>\n</tr>\n<tr>\n<td>29</td>\n<td>Destroyed</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>30</td>\n<td>Warehouse Budapest</td>\n<td>No</td>\n</tr>\n<tr>\n<td>31</td>\n<td>Lastmile Accept</td>\n<td>No</td>\n</tr>\n<tr>\n<td>32</td>\n<td>Warehouse Sofia</td>\n<td>No</td>\n</tr>\n<tr>\n<td>33</td>\n<td>Warehouse Zagreb</td>\n<td>No</td>\n</tr>\n<tr>\n<td>34</td>\n<td>Returned to Warehouse</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>35</td>\n<td>Rejected by courier</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>36</td>\n<td>Returned to Client</td>\n<td>Yes</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>HTTP Errors</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Code</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200</td>\n<td>Returns result from the web service.</td>\n</tr>\n<tr>\n<td>400</td>\n<td>Bad request.</td>\n</tr>\n<tr>\n<td>401</td>\n<td>Unauthenticated. API expects a header like - 'Authorization: Bearer (api_token)'.</td>\n</tr>\n<tr>\n<td>404</td>\n<td>Not found data.</td>\n</tr>\n<tr>\n<td>422</td>\n<td>Unprocessable Entity. Wrong input data.</td>\n</tr>\n<tr>\n<td>500</td>\n<td>Internal Server Error / This action is unauthorized.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","get-status","{AWBNumber}"],"host":["api1","inout","bg"],"query":[{"key":"testMode","value":"0"}],"variable":[]}},"response":[],"_postman_id":"1413f560-2e74-44dd-844d-1b70dae3c8f9"},{"name":"Shipment_History_Web_Service_v1.4","id":"a0865ef6-3b84-493e-8462-a95c62fe0c62","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api1.inout.bg/api/v1/get-status/history/{AWBNumber}?testMode=0&lang=EN","description":"<p>We can now offer you the ability to ask for a all shipment history directly from your company’s software or website by taking advantage of \"Shipment History Web Service\".</p>\n<p><strong>Requirements:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>API Endpoint</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>get-status/history/{AWBNumber}</td>\n<td>Receive all statuses from the shipment tracking</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Method: GET****Authorization: Bearer API_TOKEN</strong>API Call Input Fields<strong>URL query parameters</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n<th><strong>required</strong></th>\n<th><strong>description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>testMode</td>\n<td>boolean</td>\n<td>yes</td>\n<td>If you want to use the API only for tests set this field to true. Applies only to the production environment. On the test environment, all shipments save on test env.</td>\n</tr>\n<tr>\n<td>lang</td>\n<td>string</td>\n<td>no</td>\n<td>If you want to receive the our partner statuses in English in field \"Comment\", fill this field with language initials e.g. 'EN'.</td>\n</tr>\n</tbody>\n</table>\n</div><p>Example:<br /><a href=\"https://test-api.inout.bg/api/v1/get-status/64506083?testMode=1&amp;lang=EN\">https://api1.inout.bg/api/v1/get-status/64506083?testMode=0&amp;lang=EN</a></p>\n<p><strong>API Response (Output Fields)</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>statusesHistory</td>\n<td>An array of objects with all statuses to this time.</td>\n</tr>\n<tr>\n<td>ID</td>\n<td>An ID of status.</td>\n</tr>\n<tr>\n<td>STATUS</td>\n<td>The shipment status in our system.</td>\n</tr>\n<tr>\n<td>DATE</td>\n<td>The date when status is created.</td>\n</tr>\n<tr>\n<td>DATE_CREATED</td>\n<td>Date when our partner has changed the status.</td>\n</tr>\n<tr>\n<td>COMMENT</td>\n<td>The name of the status in the native language for every country.</td>\n</tr>\n<tr>\n<td>PARTNER_VOUCHER</td>\n<td>Voucher number for the partner.</td>\n</tr>\n<tr>\n<td>NOTE_ID</td>\n<td>Note id is set if the partner has an additional note to shipment.</td>\n</tr>\n<tr>\n<td>NOTE_CODE</td>\n<td>Note code is set if the partner has an additional note to shipment.</td>\n</tr>\n</tbody>\n</table>\n</div><p><em>Example:</em></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"statusesHistory\": [\n    {\n      \"ID\": 2513944,\n      \"STATUS\": \"New\",\n      \"DATE\": \"2019-11-05 13:02:38\",\n      \"DATE_CREATED\": \"2019-11-05 15:00:58\",\n      \"COMMENT\": \"NEW\",\n      \"PARTNER_VOUCHER\": null,\n      \"NOTE_ID\": null,\n      \"NOTE_CODE\": null\n    },\n    {\n      \"ID\": 2515304,\n      \"STATUS\": \"Warehouse Ruse\",\n      \"DATE\": \"2019-11-05 16:54:14\",\n      \"DATE_CREATED\": \"2019-11-05 16:54:14\",\n      \"COMMENT\": null,\n      \"PARTNER_VOUCHER\": null,\n      \"NOTE_ID\": null,\n      \"NOTE_CODE\": null\n    },\n    {\n      \"ID\": 2516372,\n      \"STATUS\": \"In transit\",\n      \"DATE\": \"2019-11-05 18:01:06\",\n      \"DATE_CREATED\": \"2019-11-05 18:01:06\",\n      \"COMMENT\": \"ONROAD\",\n      \"PARTNER_VOUCHER\": null,\n      \"NOTE_ID\": null,\n      \"NOTE_CODE\": null\n    },\n    {\n      \"ID\": 2770453,\n      \"STATUS\": \"In transit\",\n      \"DATE\": \"2019-12-17 20:20:23\",\n      \"DATE_CREATED\": \"2019-12-17 20:20:23\",\n      \"COMMENT\": \"ONROAD - УГОВОРКА ЗА БЪДЕЩА ДОСТАВКА\",\n      \"PARTNER_VOUCHER\": null,\n      \"NOTE_ID\": 45,\n      \"NOTE_CODE\": \"MF\"\n    },\n    {\n      \"ID\": 2776573,\n      \"STATUS\": \"In transit\",\n      \"DATE\": \"2019-12-18 10:52:16\",\n      \"DATE_CREATED\": \"2019-12-18 10:52:16\",\n      \"COMMENT\": \"ONROAD - УГОВОРКА ЗА БЪДЕЩА ДОСТАВКА\",\n      \"PARTNER_VOUCHER\": null,\n      \"NOTE_ID\": 45,\n      \"NOTE_CODE\": \"MF\"\n    }\n  ]\n}\n\n</code></pre>\n<p><strong>List with the statuses:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Status ID</strong></th>\n<th><strong>Status Name</strong></th>\n<th><strong>Final</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>On delivery</td>\n<td>No</td>\n</tr>\n<tr>\n<td>2</td>\n<td>In transit</td>\n<td>No</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Delivered</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>4</td>\n<td>Returned</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>5</td>\n<td>In the office</td>\n<td>No</td>\n</tr>\n<tr>\n<td>6</td>\n<td>COD paid</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>7</td>\n<td>New</td>\n<td>No</td>\n</tr>\n<tr>\n<td>8</td>\n<td>Canceled</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>11</td>\n<td>Stockout</td>\n<td>No</td>\n</tr>\n<tr>\n<td>13</td>\n<td>Lost shipment</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>14</td>\n<td>Redirected</td>\n<td>No</td>\n</tr>\n<tr>\n<td>15</td>\n<td>Deleted</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>16</td>\n<td>Warehouse Ruse</td>\n<td>No</td>\n</tr>\n<tr>\n<td>17</td>\n<td>Returning</td>\n<td>No</td>\n</tr>\n<tr>\n<td>18</td>\n<td>Scanned Waybill</td>\n<td>No</td>\n</tr>\n<tr>\n<td>19</td>\n<td>Packed</td>\n<td>No</td>\n</tr>\n<tr>\n<td>20</td>\n<td>Information received</td>\n<td>No</td>\n</tr>\n<tr>\n<td>21</td>\n<td>Awaiting pickup</td>\n<td>No</td>\n</tr>\n<tr>\n<td>22</td>\n<td>Insufficient data - AWB not created</td>\n<td>No</td>\n</tr>\n<tr>\n<td>23</td>\n<td>Information sent to warehouse</td>\n<td>No</td>\n</tr>\n<tr>\n<td>24</td>\n<td>Compenstaed courier fee</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>25</td>\n<td>Claim opened</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>26</td>\n<td>Warehouse</td>\n<td>No</td>\n</tr>\n<tr>\n<td>27</td>\n<td>Damaged shipment</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>28</td>\n<td>PreAlert</td>\n<td>No</td>\n</tr>\n<tr>\n<td>29</td>\n<td>Destroyed</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>30</td>\n<td>Warehouse Budapest</td>\n<td>No</td>\n</tr>\n<tr>\n<td>31</td>\n<td>Lastmile Accept</td>\n<td>No</td>\n</tr>\n<tr>\n<td>32</td>\n<td>Warehouse Sofia</td>\n<td>No</td>\n</tr>\n<tr>\n<td>33</td>\n<td>Warehouse Zagreb</td>\n<td>No</td>\n</tr>\n<tr>\n<td>34</td>\n<td>Returned to Warehouse</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>35</td>\n<td>Rejected by courier</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>36</td>\n<td>Returned to Client</td>\n<td>Yes</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>HTTP Errors</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Code</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200</td>\n<td>Returns result from the web service.</td>\n</tr>\n<tr>\n<td>400</td>\n<td>Bad request.</td>\n</tr>\n<tr>\n<td>401</td>\n<td>Unauthenticated. API expects a header like - 'Authorization: Bearer (api_token)'.</td>\n</tr>\n<tr>\n<td>404</td>\n<td>Not found data.</td>\n</tr>\n<tr>\n<td>422</td>\n<td>Unprocessable Entity. Wrong input data.</td>\n</tr>\n<tr>\n<td>500</td>\n<td>Internal Server Error / This action is unauthorized.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","get-status","history","{AWBNumber}"],"host":["api1","inout","bg"],"query":[{"key":"testMode","value":"0"},{"key":"lang","value":"EN"}],"variable":[]}},"response":[],"_postman_id":"a0865ef6-3b84-493e-8462-a95c62fe0c62"},{"name":"Shipment_Price_Web_Service_v1.1","id":"9db63c02-b918-4069-9ca0-6c46f19befd4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"courierId\": 15,\r\n\t\"companyId\": 333,\r\n\t\"weight\": 1,\r\n\t\"codAmount\": 100,\r\n\t\"openPackage\": 0,\r\n\t\"insuranceAmount\": 0,\r\n\t\"returnDocs\": 2,\r\n\t\"saturdayDelivery\": 0,\r\n\t\"toOffice\": 1,\r\n\t\"currency\": \"BGN\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://api1.inout.bg/api/v1/shipment-price","description":"<p>We can now offer you the ability to ask for a shipment price directly from your company’s software or website by taking advantage of \"Shipment Price Web Service\".</p>\n<p><strong>Requirements</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>API Endpoint</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>shipment-price</td>\n<td>You can receive shipment price according to the provided the shipment's dat</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Method: POST<strong><strong>Authorization: Bearer API_TOKEN</strong></strong>API Call Input Fields****Body (JSON)</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n<th><strong>required</strong></th>\n<th><strong>description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>courierId</td>\n<td>integer</td>\n<td>yes</td>\n<td>ID of courier</td>\n</tr>\n<tr>\n<td>companyId</td>\n<td>integer</td>\n<td>yes</td>\n<td>ID of company</td>\n</tr>\n<tr>\n<td>weight</td>\n<td>numeric</td>\n<td>yes</td>\n<td>Shipment weight</td>\n</tr>\n<tr>\n<td>codAmount</td>\n<td>numeric</td>\n<td>yes (set as 0 if the shipment does not have cod)</td>\n<td>Shipment cod amount in local currency.</td>\n</tr>\n<tr>\n<td>openPackage</td>\n<td>boolean</td>\n<td>yes</td>\n<td>Check up a shipment before pay.</td>\n</tr>\n<tr>\n<td>insuranceAmount</td>\n<td>numeric</td>\n<td>yes (set as 0 if the shipment does not have insurance)</td>\n<td>Shipment insurance amount in BGN currency</td>\n</tr>\n<tr>\n<td>returnDocs</td>\n<td>enum</td>\n<td>yes</td>\n<td>Return documents: 2 = NOTHING returns 0 = document; 1 = waybill</td>\n</tr>\n<tr>\n<td>saturdayDelivery</td>\n<td>boolean</td>\n<td>yes</td>\n<td>Saturday delivery</td>\n</tr>\n<tr>\n<td>city</td>\n<td>string</td>\n<td>required only for Romania - Cargus</td>\n<td>City where the shipment is to be delivered.</td>\n</tr>\n<tr>\n<td>county</td>\n<td>string</td>\n<td>Required only for Romania - Cargus</td>\n<td>County where the shipment is to be delivered.</td>\n</tr>\n<tr>\n<td>toOffice</td>\n<td>boolean</td>\n<td>Required only if the courier is different from Cargus.</td>\n<td>If the shipment is to an office then this field is true otherwise it is a false.</td>\n</tr>\n<tr>\n<td>currency</td>\n<td>string</td>\n<td>Required only if the courier is different from Cargus.</td>\n<td>Currency in 3-letters code - for example:  <br />EUR, BGN, HRK and etc.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>API Response (Output Fields)</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>price</td>\n<td>Shipment price in EUR. (without VAT included)</td>\n</tr>\n<tr>\n<td>pr_weight</td>\n<td>Price for weight of the shipment</td>\n</tr>\n<tr>\n<td>pr_cod</td>\n<td>Price for the COD tax</td>\n</tr>\n<tr>\n<td>pr_ins</td>\n<td>Price for the insurance</td>\n</tr>\n<tr>\n<td>pr_check</td>\n<td>Price for \"open parcel\" service</td>\n</tr>\n<tr>\n<td>pr_ret</td>\n<td>Price for return document/AWB service</td>\n</tr>\n<tr>\n<td>pr_fulfill</td>\n<td>Price for fulfillment service</td>\n</tr>\n<tr>\n<td>pr_sat_del</td>\n<td>Price for Saturday delivery service</td>\n</tr>\n<tr>\n<td>pr_sms</td>\n<td>Price for SMS notification</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Example:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">    \"price\": \"3.99\",\n    \"pr_weight\": \"3.99\",\n    \"pr_cod\": \"0.00\",\n    \"pr_ins\": \"0.00\",\n    \"pr_check\": \"0.00\",\n    \"pr_ret\": \"0.00\",\n    \"pr_fulfill\": \"0.00\",\n    \"pr_sat_del\": \"0.00\",\n    \"pr_sms\": \"0.0000\"\n\n</code></pre>\n<p><strong>HTTP Errors:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Code</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200</td>\n<td>Returns result from the web service.</td>\n</tr>\n<tr>\n<td>400</td>\n<td>Bad request.</td>\n</tr>\n<tr>\n<td>401</td>\n<td>Unauthenticated. API expects a header like - 'Authorization: Bearer (api_token)'.</td>\n</tr>\n<tr>\n<td>404</td>\n<td>Not found data.</td>\n</tr>\n<tr>\n<td>500</td>\n<td>Internal Server Error / This action is unauthorized.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","shipment-price"],"host":["api1","inout","bg"],"query":[],"variable":[]}},"response":[],"_postman_id":"9db63c02-b918-4069-9ca0-6c46f19befd4"},{"name":"Shipment_Price_Web_Service_v1.1 Romania","id":"d8474b4f-60b0-47e7-9d90-fb5fea2ca3d6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"courierId\": 8,\r\n\t\"companyId\": 333,\r\n\t\"weight\": 1.000,\r\n\t\"codAmount\": 79.00,\r\n\t\"openPackage\": 0,\r\n\t\"insuranceAmount\": 0,\r\n\t\"returnDocs\": 2,\r\n\t\"saturdayDelivery\": 0,\r\n\t\"city\": \"Abrud\",\r\n\t\"county\": \"Alba\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://api1.inout.bg/api/v1/shipment-price","description":"<p>We can now offer you the ability to ask for a shipment price directly from your company’s software or website by taking advantage of \"Shipment Price Web Service\".</p>\n<p><strong>Requirements</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>API Endpoint</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>shipment-price</td>\n<td>You can receive shipment price according to the provided the shipment's dat</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Method: POST<strong><strong>Authorization: Bearer API_TOKEN</strong></strong>API Call Input Fields****Body (JSON)</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n<th><strong>required</strong></th>\n<th><strong>description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>courierId</td>\n<td>integer</td>\n<td>yes</td>\n<td>ID of courier</td>\n</tr>\n<tr>\n<td>companyId</td>\n<td>integer</td>\n<td>yes</td>\n<td>ID of company</td>\n</tr>\n<tr>\n<td>weight</td>\n<td>numeric</td>\n<td>yes</td>\n<td>Shipment weight</td>\n</tr>\n<tr>\n<td>codAmount</td>\n<td>numeric</td>\n<td>yes (set as 0 if the shipment does not have cod)</td>\n<td>Shipment cod amount in local currency.</td>\n</tr>\n<tr>\n<td>openPackage</td>\n<td>boolean</td>\n<td>yes</td>\n<td>Check up a shipment before pay.</td>\n</tr>\n<tr>\n<td>insuranceAmount</td>\n<td>numeric</td>\n<td>yes (set as 0 if the shipment does not have insurance)</td>\n<td>Shipment insurance amount in BGN currency</td>\n</tr>\n<tr>\n<td>returnDocs</td>\n<td>enum</td>\n<td>yes</td>\n<td>Return documents: 2 = NOTHING returns 0 = document; 1 = waybill</td>\n</tr>\n<tr>\n<td>saturdayDelivery</td>\n<td>boolean</td>\n<td>yes</td>\n<td>Saturday delivery</td>\n</tr>\n<tr>\n<td>city</td>\n<td>string</td>\n<td>required only for Romania - Cargus</td>\n<td>City where the shipment is to be delivered.</td>\n</tr>\n<tr>\n<td>county</td>\n<td>string</td>\n<td>Required only for Romania - Cargus</td>\n<td>County where the shipment is to be delivered.</td>\n</tr>\n<tr>\n<td>toOffice</td>\n<td>boolean</td>\n<td>Required only if the courier is different from Cargus.</td>\n<td>If the shipment is to an office then this field is true otherwise it is a false.</td>\n</tr>\n<tr>\n<td>currency</td>\n<td>string</td>\n<td>Required only if the courier is different from Cargus.</td>\n<td>Currency in 3-letters code - for example:  <br />EUR, BGN, HRK and etc.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>API Response (Output Fields)</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>price</td>\n<td>Shipment price in EUR. (without VAT included)</td>\n</tr>\n<tr>\n<td>pr_weight</td>\n<td>Price for weight of the shipment</td>\n</tr>\n<tr>\n<td>pr_cod</td>\n<td>Price for the COD tax</td>\n</tr>\n<tr>\n<td>pr_ins</td>\n<td>Price for the insurance</td>\n</tr>\n<tr>\n<td>pr_check</td>\n<td>Price for \"open parcel\" service</td>\n</tr>\n<tr>\n<td>pr_ret</td>\n<td>Price for return document/AWB service</td>\n</tr>\n<tr>\n<td>pr_fulfill</td>\n<td>Price for fulfillment service</td>\n</tr>\n<tr>\n<td>pr_sat_del</td>\n<td>Price for Saturday delivery service</td>\n</tr>\n<tr>\n<td>pr_sms</td>\n<td>Price for SMS notification</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Example:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">    \"price\": \"3.99\",\n    \"pr_weight\": \"3.99\",\n    \"pr_cod\": \"0.00\",\n    \"pr_ins\": \"0.00\",\n    \"pr_check\": \"0.00\",\n    \"pr_ret\": \"0.00\",\n    \"pr_fulfill\": \"0.00\",\n    \"pr_sat_del\": \"0.00\",\n    \"pr_sms\": \"0.0000\"\n\n</code></pre>\n<p><strong>HTTP Errors:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Code</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200</td>\n<td>Returns result from the web service.</td>\n</tr>\n<tr>\n<td>400</td>\n<td>Bad request.</td>\n</tr>\n<tr>\n<td>401</td>\n<td>Unauthenticated. API expects a header like - 'Authorization: Bearer (api_token)'.</td>\n</tr>\n<tr>\n<td>404</td>\n<td>Not found data.</td>\n</tr>\n<tr>\n<td>500</td>\n<td>Internal Server Error / This action is unauthorized.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","shipment-price"],"host":["api1","inout","bg"],"query":[],"variable":[]}},"response":[],"_postman_id":"d8474b4f-60b0-47e7-9d90-fb5fea2ca3d6"}],"id":"6d53426f-ebca-48d2-aa5f-0092db75e4df","_postman_id":"6d53426f-ebca-48d2-aa5f-0092db75e4df","description":""},{"name":"Location Web Services","item":[{"name":"Cities_Suggestions_Web_Service_v1.0","id":"7c8c32a1-5134-44bd-8ded-8309c7044f1c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api1.inout.bg/api/v1/get-cities/suggestions/2/8290?testMode=0&searchAllFields=1","description":"<p>We can now offer you the ability to ask for cities suggestions directly from your company’s software or website by taking advantage of \"Cities Suggestions Web Service\".<br />Requirements:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>API Endpoint</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Restrictions</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>/get-cities/suggestions/{countryId}/{string}</td>\n<td>With this service, you can receive the cities in a chosen country and by a string as part or full name of city, region or postal code.</td>\n<td>String parameter: min lenght 3  <br />CountryId parameter: Must be the valid country id.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Method: GET<strong><strong>Authorization: Bearer API_TOKEN</strong></strong>API Call Input Fields****URL query parameters</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n<th><strong>required</strong></th>\n<th><strong>description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>testMode</td>\n<td>boolean</td>\n<td>yes</td>\n<td>If you want to use the API only for tests set this field to true. Applies only to the production environment. On the test environment, all shipments save on test env.</td>\n</tr>\n<tr>\n<td>searchAllFields</td>\n<td>boolean</td>\n<td>no</td>\n<td>By default, the system searches the city by zip code or city name if you want to search by all fields you should set this field as true.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Examples</strong>:</p>\n<p>By zip code<br /><a href=\"https://api1.inout.bg/api/v1/get-cities/suggestions/2/700?testMode=0\">https://api1.inout.bg/api/v1/get-cities/suggestions/2/700?testMode=0</a></p>\n<p>By city name<br /><a href=\"https://api1.inout.bg/api/v1/get-cities/suggestions/2/%D1%80%D1%83%D1%81?testMode=0\">https://api1.inout.bg/api/v1/get-cities/suggestions/2/рус?testMode=0</a><br /><a href=\"https://api1.inout.bg/api/v1/get-cities/suggestions/2/rus?testMode=0\">https://api1.inout.bg/api/v1/get-cities/suggestions/2/rus?testMode=0</a></p>\n<p>Search by all fields (city name, postal code, county name, state + these fields on Latin)<br /><a href=\"https://api1.inout.bg/api/v1/get-cities/suggestions/2/%D1%80%D1%83%D1%81?testMode=0&amp;searchAllFields=1\">https://api1.inout.bg/api/v1/get-cities/suggestions/2/рус?testMode=0&amp;searchAllFields=1</a></p>\n<p><strong>Important</strong>: The web service returns only the first 50 results it finds. If what you are looking for is not found, change the search string.</p>\n<p><strong>API Response (Output Fields)</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>COUNTRY_ID</td>\n<td>The ID of country</td>\n</tr>\n<tr>\n<td>COUNTY_ID</td>\n<td>The ID of the county if exists</td>\n</tr>\n<tr>\n<td>ID</td>\n<td>The ID of city.</td>\n</tr>\n<tr>\n<td>POSTAL_CODE</td>\n<td>Zip code of the city.</td>\n</tr>\n<tr>\n<td>CITY_NAME_LOCAL</td>\n<td>The city name on the local language.</td>\n</tr>\n<tr>\n<td>CITY_NAME_EN</td>\n<td>The name of the city with Latin symbols.</td>\n</tr>\n<tr>\n<td>COUNTY</td>\n<td>Region of location on local language</td>\n</tr>\n<tr>\n<td>COUNTY_EN</td>\n<td>Region of location with Latin symbols.</td>\n</tr>\n<tr>\n<td>STATE</td>\n<td>If the country location has state this field is set it with local state name.</td>\n</tr>\n<tr>\n<td>STATE_EN</td>\n<td>If the country location has state this field is set it with latin characters state name.</td>\n</tr>\n<tr>\n<td>CRE_FROM_API</td>\n<td>If true the record was created through API.</td>\n</tr>\n</tbody>\n</table>\n</div><p>Example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"suggestions\": [\n        {\n            \"COUNTRY_ID\": 2,\n            \"COUNTY_ID\": null,\n            \"ID\": 25558,\n            \"POSTAL_CODE\": \"2742\",\n            \"CITY_NAME_LOCAL\": \"Бучино\",\n            \"CITY_NAME_EN\": \"Buchino\",\n            \"COUNTY\": null,\n            \"COUNTY_EN\": \"Blagoevgrad\",\n            \"STATE\": null,\n            \"STATE_EN\": null,\n            \"CRE_FROM_API\": null\n        },\n        {\n            \"COUNTRY_ID\": 2,\n            \"COUNTY_ID\": null,\n            \"ID\": 25560,\n            \"POSTAL_CODE\": \"5380\",\n            \"CITY_NAME_LOCAL\": \"Бучуковци\",\n            \"CITY_NAME_EN\": \"Buchukovtsi\",\n            \"COUNTY\": null,\n            \"COUNTY_EN\": \"Gabrovo\",\n            \"STATE\": null,\n            \"STATE_EN\": null,\n            \"CRE_FROM_API\": null\n        },\n        {\n            \"COUNTRY_ID\": 2,\n            \"COUNTY_ID\": null,\n            \"ID\": 20189381,\n            \"POSTAL_CODE\": \"2256\",\n            \"CITY_NAME_LOCAL\": \"Бучин проход\",\n            \"CITY_NAME_EN\": \"Buchin prohod\",\n            \"COUNTY\": null,\n            \"COUNTY_EN\": \"Sofia\",\n            \"STATE\": null,\n            \"STATE_EN\": null,\n            \"CRE_FROM_API\": null\n        }\n    ]\n}\n\n</code></pre>\n<p><strong>HTTP Errors</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Code</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200</td>\n<td>Returns result from the web service.</td>\n</tr>\n<tr>\n<td>400</td>\n<td>Bad request.</td>\n</tr>\n<tr>\n<td>401</td>\n<td>Unauthenticated. API expects a header like - 'Authorization: Bearer (api_token)'.</td>\n</tr>\n<tr>\n<td>404</td>\n<td>Not found data.</td>\n</tr>\n<tr>\n<td>429</td>\n<td>Too many attempts. Over 180 requests per minute.</td>\n</tr>\n<tr>\n<td>500</td>\n<td>Internal Server Error / This action is unauthorized.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","get-cities","suggestions","2","8290"],"host":["api1","inout","bg"],"query":[{"key":"testMode","value":"0"},{"key":"searchAllFields","value":"1"}],"variable":[]}},"response":[],"_postman_id":"7c8c32a1-5134-44bd-8ded-8309c7044f1c"},{"name":"Cities_Web_Service_v1.0","id":"6af9032e-b67f-4620-9a1e-8ccc85126432","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api1.inout.bg/api/v1/get-cities/1?first=1&skip=0&paging=0","description":"<p>We can now offer you the ability to ask for cities directly from your company’s software or website by taking advantage of \"Cities Web Service\".</p>\n<p><strong>Requirements</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>API Endpoint</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>/get-cities/{countryID}</td>\n<td>With this service, you can receive the cities in a chosen country.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Method: GET<br />Authorization: Bearer API_TOKEN</strong></p>\n<p><strong>API Call Input Fields<br />URL query parameters</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n<th><strong>required</strong></th>\n<th><strong>description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>paging</td>\n<td>boolean</td>\n<td>yes</td>\n<td>Set true if you want to get only a few records, else set false for all records.</td>\n</tr>\n<tr>\n<td>first</td>\n<td>integer</td>\n<td>in some cases</td>\n<td>Required if paging parameter equals true. Enter the number of records what you want to returns.</td>\n</tr>\n<tr>\n<td>skip</td>\n<td>integer</td>\n<td>in some cases</td>\n<td>Required if paging parameter equals true. Enter the number of records what you want to skip.</td>\n</tr>\n<tr>\n<td>county_id</td>\n<td>integer</td>\n<td>no</td>\n<td>county id, obtain an ID from Counties Romania Web Resource. You can use this field only for Romania.</td>\n</tr>\n<tr>\n<td>office_id</td>\n<td>integer</td>\n<td>no</td>\n<td>office id, obtain an ID from Offices Romania Web Service. You can use this field only for Romania.</td>\n</tr>\n</tbody>\n</table>\n</div><p>Example:<br /><a href=\"https://test-api.inout.bg/api/v1/get-cities/1?first=1&amp;skip=0&amp;paging=0\">https://test-api.inout.bg/api/v1/get-cities/1?first=1&amp;skip=0&amp;paging=0</a>  \n </p>\n<p><strong>API Response (Output Fields)</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>ID</td>\n<td>ID of city.</td>\n</tr>\n<tr>\n<td>POSTAL_CODE</td>\n<td>Zip code of the city.</td>\n</tr>\n<tr>\n<td>CITY_NAME_LOCAL</td>\n<td>The city name on the local language.</td>\n</tr>\n<tr>\n<td>CITY_NAME_EN</td>\n<td>The name of the city with Latin symbols.</td>\n</tr>\n<tr>\n<td>COUNTY</td>\n<td>Region of location on local language</td>\n</tr>\n<tr>\n<td>COUNTY_EN</td>\n<td>Region of location with Latin symbols.</td>\n</tr>\n<tr>\n<td>MUNICIPALITY</td>\n<td>This field used only for Bulgaria.</td>\n</tr>\n<tr>\n<td>STATE</td>\n<td>If the country location has state this field is set it with local state name.</td>\n</tr>\n<tr>\n<td>STATE_EN</td>\n<td>If the country location has state this field is set it with Latin characters state name.</td>\n</tr>\n<tr>\n<td>MANUAL_EDIT</td>\n<td>If this field is equal to 1, the city is added through a cabinet in the nomenclature.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Example</strong>:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[\n    {\n        \"ID\": 24370,\n        \"POSTAL_CODE\": \"1528\",\n        \"CITY_NAME_LOCAL\": \"Абдовица\",\n        \"CITY_NAME_EN\": null,\n        \"COUNTY\": \"София\",\n        \"COUNTY_ID\": null,\n        \"COUNTY_EN\": null,\n        \"MUNICIPALITY\": \"Столична\",\n        \"STATE\": null,\n        \"STATE_EN\": null,\n        \"MANUAL_EDIT\": null\n    },\n    {\n        \"ID\": 24372,\n        \"POSTAL_CODE\": \"2932\",\n        \"CITY_NAME_LOCAL\": \"Абланица\",\n        \"CITY_NAME_EN\": \"Ablanitsa\",\n        \"COUNTY\": \"Благоевград\",\n        \"COUNTY_ID\": null,\n        \"COUNTY_EN\": \"Blagoevgrad\",\n        \"MUNICIPALITY\": \"Хаджидимово\",\n        \"STATE\": null,\n        \"STATE_EN\": null,\n        \"MANUAL_EDIT\": null\n    }\n]\n\n</code></pre>\n<p><strong>HTTP Errors</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200</td>\n<td>Returns result from the web service.</td>\n</tr>\n<tr>\n<td>400</td>\n<td>Bad request.</td>\n</tr>\n<tr>\n<td>401</td>\n<td>Unauthenticated. API expects a header like - 'Authorization: Bearer (api_token)'.</td>\n</tr>\n<tr>\n<td>404</td>\n<td>Not found data.</td>\n</tr>\n<tr>\n<td>422</td>\n<td>Unprocessable Entity. Wrong input data.</td>\n</tr>\n<tr>\n<td>500</td>\n<td>Internal Server Error / This action is unauthorized.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","get-cities","1"],"host":["api1","inout","bg"],"query":[{"key":"first","value":"1"},{"key":"skip","value":"0"},{"key":"paging","value":"0"}],"variable":[]}},"response":[],"_postman_id":"6af9032e-b67f-4620-9a1e-8ccc85126432"},{"name":"Counties_Romania_Web_Service_v1.0","id":"cc447c98-fc2d-4b57-8f97-294ac121c681","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api1.inout.bg/api/v1/get-counties/1","description":"<p>We can now offer you the ability to ask for counties of Romania directly from your company’s software or website by taking advantage of \"Counties Romania Web Service\".</p>\n<p><strong>Requirements:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>API Endpoint</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>get-counties/{countryID}</td>\n<td>With this service, you can receive the counties in Romania.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Method: GET****Authorization: Bearer API_TOKEN</strong></p>\n<p><strong>Example:</strong><a href=\"https://api1.inout.bg/api/v1/get-counties/1\"><br />https://api1.inout.bg/api/v1/get-counties/1</a></p>\n<p><strong>API Response (Output Fields)</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>ID of county.</td>\n</tr>\n<tr>\n<td>abr</td>\n<td>County abbreviation.</td>\n</tr>\n<tr>\n<td>name</td>\n<td>County name.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Example</strong>*:<br />*</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[\n  {\n    \"id\": 3,\n    \"abr\": \"AB\",\n    \"name\": \"Alba\"\n  },\n  {\n    \"id\": 4,\n    \"abr\": \"AR\",\n    \"name\": \"Arad\"\n  }\n]\n\n</code></pre>\n<p><strong>HTTP Errors</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Code</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200</td>\n<td>Returns result from the web service.</td>\n</tr>\n<tr>\n<td>400</td>\n<td>Bad request.</td>\n</tr>\n<tr>\n<td>401</td>\n<td>Unauthenticated. API expects a header like - 'Authorization: Bearer (api_token)'.</td>\n</tr>\n<tr>\n<td>404</td>\n<td>Not found data.</td>\n</tr>\n<tr>\n<td>422</td>\n<td>Unprocessable Entity. Wrong input data.</td>\n</tr>\n<tr>\n<td>500</td>\n<td>Internal Server Error / This action is unauthorized.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","get-counties","1"],"host":["api1","inout","bg"],"query":[],"variable":[]}},"response":[],"_postman_id":"cc447c98-fc2d-4b57-8f97-294ac121c681"},{"name":"Countries_Web_Service_v1.0","id":"4de65d90-9514-4113-83ad-9da4be89c1c6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api1.inout.bg/api/v1/get-countries","description":"<p>We can now offer you the ability to ask for countries directly from your company’s software or website by taking advantage of \"Countries Web Service\".</p>\n<p><strong>Requirements:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>API Endpoint</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>get-countries</td>\n<td>With this service, you can receive the countries for which you can create shipments.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Method: GET<br />Authorization: Bearer API_TOKEN</strong></p>\n<p><strong>Example:</strong><a href=\"https://api1.inout.bg/api/v1/get-countries\">https://api1.inout.bg/api/v1/get-countries</a></p>\n<p><strong>API Response (Output Fields)</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>ID</td>\n<td>ID of country.</td>\n</tr>\n<tr>\n<td>NAME</td>\n<td>Country name.</td>\n</tr>\n<tr>\n<td>CYRILLIC_NAME</td>\n<td>The name of the country in Cyrillic.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Example:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[\n    {\n        \"ID\": 1,\n        \"NAME\": \"Romania\",\n        \"CYRILLIC_NAME\": \"Румъния\"\n    },\n    {\n        \"ID\": 2,\n        \"NAME\": \"Bulgaria\",\n        \"CYRILLIC_NAME\": \"България\"\n    },\n    {\n        \"ID\": 3,\n        \"NAME\": \"Hungary\",\n        \"CYRILLIC_NAME\": \"Унгария\"\n    }\n]\n\n</code></pre>\n<p><strong>HTTP Errors</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Code</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200</td>\n<td>Returns result from the web service.</td>\n</tr>\n<tr>\n<td>400</td>\n<td>Bad request.</td>\n</tr>\n<tr>\n<td>401</td>\n<td>Unauthenticated. API expects a header like - 'Authorization: Bearer (api_token)'.</td>\n</tr>\n<tr>\n<td>404</td>\n<td>Not found data.</td>\n</tr>\n<tr>\n<td>422</td>\n<td>Unprocessable Entity. Wrong input data.</td>\n</tr>\n<tr>\n<td>500</td>\n<td>Internal Server Error / This action is unauthorized.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","get-countries"],"host":["api1","inout","bg"],"query":[],"variable":[]}},"response":[],"_postman_id":"4de65d90-9514-4113-83ad-9da4be89c1c6"},{"name":"Courier_Offices_Web_Service_v1.2","event":[{"listen":"prerequest","script":{"id":"528d312e-8733-49bb-ad81-61e3f703e87b","exec":[""],"type":"text/javascript"}}],"id":"5e41fec5-745a-427c-9ad5-5869a9ff2a91","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api1.inout.bg/api/v1/offices-by-courier/{courierId}","description":"<p>We can now offer you the ability to ask for courier offices directly from your company’s software or website by taking advantage of \"Courier Offices Web Service\".</p>\n<p><strong>Requirements:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>API Endpoint</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>offices-by-courier/{courierId}</td>\n<td>With this service, you can receive the offices for a chosen courier.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Method: GET<br />Authorization: Bearer API_TOKEN</strong></p>\n<p><strong>Example:</strong></p>\n<p><a href=\"https://api1.inout.bg/api/v1/offices-by-courier/15\">https://api1.inout.bg/api/v1/offices-by-courier/15</a></p>\n<p><strong>API Response (Output Fields)</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>ID</td>\n<td>ID of office.</td>\n</tr>\n<tr>\n<td>CITY_ID</td>\n<td>The ID of the city where is the office.</td>\n</tr>\n<tr>\n<td>COURIER_ID</td>\n<td>The ID of the courier.</td>\n</tr>\n<tr>\n<td>COURIER_OFFICE_ID</td>\n<td>The office ID of the subcontractor.</td>\n</tr>\n<tr>\n<td>OFFICE_NAME</td>\n<td>Name of the office.</td>\n</tr>\n<tr>\n<td>COURIER_OFFICE_CODE</td>\n<td>The office code of the subcontractor.</td>\n</tr>\n<tr>\n<td>CITY_NAME</td>\n<td>Name of city where is the office.</td>\n</tr>\n<tr>\n<td>ADDRESS</td>\n<td>Office address.</td>\n</tr>\n<tr>\n<td>LATITUDE</td>\n<td>Office latitude.</td>\n</tr>\n<tr>\n<td>LONGITUDE</td>\n<td>Office longitude.</td>\n</tr>\n<tr>\n<td>WORK_END</td>\n<td>End work time for the office during the week.</td>\n</tr>\n<tr>\n<td>WORK_BEGIN</td>\n<td>Begin work time for the office during the week.</td>\n</tr>\n<tr>\n<td>WORK_BEGIN_SATURDAY</td>\n<td>End work time for the office on Saturday.</td>\n</tr>\n<tr>\n<td>WORK_END_SATURDAY</td>\n<td>Begin work time for the office on Saturday.</td>\n</tr>\n<tr>\n<td>GROUP_CITY_ID</td>\n<td>City id by global Romania nomenclature number.</td>\n</tr>\n<tr>\n<td>POST_CODE</td>\n<td>Zip code of the city. For Romania, missing postal codes for some large cities.</td>\n</tr>\n<tr>\n<td>POST_CODE</td>\n<td>Zip code of the city. For Romania, missing postal codes for some large cities.</td>\n</tr>\n<tr>\n<td>REGION</td>\n<td>Region. For some countries it is null, the nomenclature does not support data for the region.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Example:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[\n  {\n        \"ID\": 1297,\n        \"CITY_ID\": 24392,\n        \"COURIER_ID\": 15,\n        \"COURIER_OFFICE_ID\": 1053,\n        \"OFFICE_NAME\": \"Айдемир\",\n        \"COURIER_OFFICE_CODE\": \"7538\",\n        \"CITY_NAME\": \"Айдемир\",\n        \"ADDRESS\": \"Айдемир кв. Деленките ул. София №7\",\n        \"LATITUDE\": \"44.1009192550187000\",\n        \"LONGITUDE\": \"27.1950400265455000\",\n        \"WORK_END\": \"18:00:00\",\n        \"WORK_BEGIN\": \"09:00:00\",\n        \"WORK_BEGIN_SATURDAY\": \"09:00:00\",\n        \"WORK_END_SATURDAY\": \"15:00:00\",\n        \"GROUP_CITY_ID\": 24392,\n        \"POST_CODE\": \"7538\",\n        \"REGION\": \"Силистра\"\n    },\n    {\n        \"ID\": 1298,\n        \"CITY_ID\": 24396,\n        \"COURIER_ID\": 15,\n        \"COURIER_OFFICE_ID\": 133,\n        \"OFFICE_NAME\": \"Айтос Автогара\",\n        \"COURIER_OFFICE_CODE\": \"8501\",\n        \"CITY_NAME\": \"Айтос\",\n        \"ADDRESS\": \"Айтос ул. Хаджи Димитър №31\",\n        \"LATITUDE\": \"42.7066729507548500\",\n        \"LONGITUDE\": \"27.2505099280334600\",\n        \"WORK_END\": \"18:00:00\",\n        \"WORK_BEGIN\": \"09:00:00\",\n        \"WORK_BEGIN_SATURDAY\": \"09:00:00\",\n        \"WORK_END_SATURDAY\": \"15:00:00\",\n        \"GROUP_CITY_ID\": 24396,\n        \"POST_CODE\": \"8500\",\n        \"REGION\": \"Бургас\"\n    },\n]\n\n</code></pre>\n<p><strong>HTTP Errors</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Code</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200</td>\n<td>Returns result from the web service.</td>\n</tr>\n<tr>\n<td>400</td>\n<td>Bad request.</td>\n</tr>\n<tr>\n<td>401</td>\n<td>Unauthenticated. API expects a header like - 'Authorization: Bearer (api_token)'.</td>\n</tr>\n<tr>\n<td>404</td>\n<td>Not found data.</td>\n</tr>\n<tr>\n<td>422</td>\n<td>Unprocessable Entity. Wrong input data.</td>\n</tr>\n<tr>\n<td>500</td>\n<td>Internal Server Error / This action is unauthorized.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","offices-by-courier","{courierId}"],"host":["api1","inout","bg"],"query":[],"variable":[]}},"response":[],"_postman_id":"5e41fec5-745a-427c-9ad5-5869a9ff2a91"}],"id":"c7752740-4a95-4806-b094-25428f6f83ff","_postman_id":"c7752740-4a95-4806-b094-25428f6f83ff","description":""},{"name":"Fulfilment documentation","item":[{"name":"Order_Creation_Web_Service-v1.2","id":"80425df5-1657-4670-8652-2e8fd17989e0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"testMode\": 0,\r\n    \"senderId\": 333,\r\n    \"courierId\": 15,\r\n    \"waybillAvailableDate\": \"2020-01-27\",\r\n    \"serviceName\": \"crossborder\",\r\n    \"recipient\": {\r\n        \"name\": \"Test User\",\r\n        \"cityId\": null,\r\n        \"countryIsoCode\": \"BG\",\r\n        \"cityName\": \"София\",\r\n        \"zipCode\": \"1000\",\r\n        \"region\": null,\r\n        \"officeId\": null,\r\n        \"officeCode\": null,\r\n        \"streetName\": \"test street\",\r\n        \"buildingNumber\": \"0\",\r\n        \"addressText\": \"additional text, address test\",\r\n        \"contactPerson\": \"Test User\",\r\n        \"phoneNumber\": \"+36000000000\",\r\n        \"email\": \"\"\r\n    },\r\n    \"awb\": {\r\n        \"parcels\": 1,\r\n        \"envelopes\": 0,\r\n        \"totalWeight\": 1.000,\r\n        \"declaredValue\": 0,\r\n        \"bankRepayment\": \"25.5\",\r\n        \"otherRepayment\": \"additional text for repayment\",\r\n        \"observations\": null,\r\n        \"openPackage\": false,\r\n        \"shipmentPayer\": \"sender\",\r\n        \"saturdayDelivery\": false,\r\n        \"referenceNumber\": \"000002\",\r\n        \"products\": \"test product test product1\",\r\n        \"fragile\": 1,\r\n        \"piecesInPack\": 5,\r\n        \"productsInfo\": \"1111,2222,3333,4444,5555\"\r\n    },\r\n    \"products\": [\r\n        {\r\n            \"refNumber\": \"33445\",\r\n            \"qty\": 3\r\n        },\r\n        {\r\n            \"refNumber\": \"3344\",\r\n            \"qty\": 4\r\n        }\r\n    ],\r\n    \"customsData\": {\r\n        \"dutyPaymentInfo\": \"DDU\",\r\n        \"customsValue\": \"35.50\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api1.inout.bg/api/v1/fulfilment/create-order","description":"<p>We can now offer you the ability to ask order creation from your company’s software or website by taking advantage of \"Order Creation Web Service\".</p>\n<p><strong>Requirements</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>API Endpoint</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>/fulfilment/create-order</td>\n<td>Creating a order in our fulfilment system.</td>\n</tr>\n</tbody>\n</table>\n</div><p>Method: POST<br />Authorization: Bearer API_TOKEN<br />Body (JSON)<br />API Call Input Fields</p>\n<p>*_Important!!!<br />*_You can upload orders only if the products from the orders are available (there is enought stock) in euShipments warehouse</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>parameter</strong></th>\n<th><strong>type</strong></th>\n<th><strong>required</strong></th>\n<th><strong>restrictions</strong></th>\n<th><strong>description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>testMode</td>\n<td>bool</td>\n<td>yes</td>\n<td></td>\n<td>if you want to use the API only for tests set this field to true. Applies only to the production environment. On the test environment, all shipments save on test env.</td>\n</tr>\n<tr>\n<td>senderId</td>\n<td>integer</td>\n<td>yes</td>\n<td>There must be a company with the selected ID.</td>\n<td>ID of company, you can receive it from the „Companies Web Service“.</td>\n</tr>\n<tr>\n<td>courierId</td>\n<td>integer</td>\n<td>yes</td>\n<td>There must be a courier with the selected ID.</td>\n<td>ID of courier, you can receive it from the „Couriers Web Service“.</td>\n</tr>\n<tr>\n<td>waybillAvailableDate</td>\n<td>date</td>\n<td>yes</td>\n<td>Cannot be in the past.</td>\n<td>Date when the order should be processed.</td>\n</tr>\n<tr>\n<td>serviceName</td>\n<td>string</td>\n<td>no</td>\n<td>If the parameter is not present, the default value is crossborder</td>\n<td>The service name must be one of the following:  <br />•crossborder  <br />•eushipmentsairexpress</td>\n</tr>\n<tr>\n<td><strong>recipient</strong></td>\n<td>object</td>\n<td>yes</td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>name</td>\n<td>string</td>\n<td>yes</td>\n<td></td>\n<td>Name of recipient or company. Typically, both customer names (first name and last name) or company name are filled in.</td>\n</tr>\n<tr>\n<td>cityId</td>\n<td>integer</td>\n<td>no</td>\n<td>The parameter is mandatory if city and postal code data are not filled in.</td>\n<td>The ID of a city where the shipment needs to delivery. Obtain an ID from Cities resource. Please for more information, see Cities web service.</td>\n</tr>\n<tr>\n<td>cityName</td>\n<td>string</td>\n<td>no</td>\n<td>Required field if city ID is not present.</td>\n<td>Recipient's city name e.g. Sofia.</td>\n</tr>\n<tr>\n<td>zipCode</td>\n<td>string</td>\n<td>no</td>\n<td>Required field if a region is not present.</td>\n<td>Recipient's city zip code e.g. 1000.</td>\n</tr>\n<tr>\n<td>region</td>\n<td>string</td>\n<td>no</td>\n<td>Required for Romania. Required field if a city zip code is not present.</td>\n<td>Recipient's region e.g. София.</td>\n</tr>\n<tr>\n<td>officeId</td>\n<td>integer</td>\n<td>no</td>\n<td></td>\n<td>Obtain an ID from City offices or Courier offices resource. Please see one of the two web services for more information.</td>\n</tr>\n<tr>\n<td>officeCode</td>\n<td>string</td>\n<td>no</td>\n<td></td>\n<td>Obtain a COURIER OFFICE CODE from City offices or Courier offices resource. Please see one of the two web services for more information.</td>\n</tr>\n<tr>\n<td>streetName</td>\n<td>string</td>\n<td>yes</td>\n<td></td>\n<td>name of the street, office address or office name - e.g. If you create a shipment to address - Main street or Main street 10. If you want to create a shipment to an office and not use the \"officeID\" or \"officeCode\", please add a keyword \"to office: \" to office name or office address (obtain information from \"offices address\" web service.) e.g. \" to office: Русе Николаевска\" or \" to office: Русе ж.к. ЦЮР ул. Николаевска №109\".</td>\n</tr>\n<tr>\n<td>buildingNumber</td>\n<td>integer</td>\n<td>yes</td>\n<td></td>\n<td>Number of the street/building - e.g. 10</td>\n</tr>\n<tr>\n<td>addressText</td>\n<td>string</td>\n<td>yes</td>\n<td></td>\n<td>Additional address information – e.g. бл.25 вх.1 ет.3 ап.4 or bl.25 vh.1 et.3 ap.4 or or another information for the address.</td>\n</tr>\n<tr>\n<td>contactPerson</td>\n<td>string</td>\n<td>no</td>\n<td></td>\n<td>Contact person. Usually is the same as the name of recipient.</td>\n</tr>\n<tr>\n<td>phoneNumber</td>\n<td>string</td>\n<td>yes</td>\n<td></td>\n<td>Recipient's phone number.</td>\n</tr>\n<tr>\n<td>email</td>\n<td>email</td>\n<td>no</td>\n<td></td>\n<td>Recipient's email</td>\n</tr>\n<tr>\n<td>countryIsoCode</td>\n<td>string</td>\n<td>no</td>\n<td>The parameter is mandatory, when the fields recipient.cityName and recipient.zipCode are filled and validated.</td>\n<td>Country iso code.</td>\n</tr>\n<tr>\n<td><strong>awb</strong></td>\n<td>object</td>\n<td>yes</td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>parcels</td>\n<td>integer</td>\n<td>yes</td>\n<td></td>\n<td>Number of parcels in the shipment.</td>\n</tr>\n<tr>\n<td>envelopes</td>\n<td>integer</td>\n<td></td>\n<td></td>\n<td>Number of envelopes in the shipment</td>\n</tr>\n<tr>\n<td>totalWeight</td>\n<td>numeric</td>\n<td>yes</td>\n<td></td>\n<td>Total weight of the shipment in kg.</td>\n</tr>\n<tr>\n<td>declaredValue</td>\n<td>numeric</td>\n<td>no</td>\n<td></td>\n<td>Insurance amount of the shipment.</td>\n</tr>\n<tr>\n<td>bankRepayment</td>\n<td>numeric</td>\n<td>no</td>\n<td></td>\n<td>COD amount of the shipment. You can set to 0 if the shipment doesn't have a COD amount.</td>\n</tr>\n<tr>\n<td>otherRepayment</td>\n<td>string</td>\n<td>no</td>\n<td></td>\n<td>Additional information to COD.</td>\n</tr>\n<tr>\n<td>observations</td>\n<td>string</td>\n<td>no</td>\n<td></td>\n<td>Additional information about the shipment/products. (<strong>notes</strong>)</td>\n</tr>\n<tr>\n<td>openPackage</td>\n<td>boolean</td>\n<td>no</td>\n<td></td>\n<td>Check up the shipment before pay.Not available for all countries.</td>\n</tr>\n<tr>\n<td>saturdayDelivery</td>\n<td>boolean</td>\n<td>no</td>\n<td></td>\n<td>Saturday delivery. Not available for some countries.</td>\n</tr>\n<tr>\n<td><strong>referenceNumber</strong></td>\n<td>string</td>\n<td>yes</td>\n<td></td>\n<td>Client reference number. Usually, the client put here the unique number of order from the site or unique order number of the content or invoice number. Helps for tracking and reporting.  <br /><strong>Important: The information in the field must be unique to avoid duplicate shipments!</strong></td>\n</tr>\n<tr>\n<td>products</td>\n<td>string</td>\n<td>yes</td>\n<td></td>\n<td>The content of the shipment. e.g. product1 product2.</td>\n</tr>\n<tr>\n<td>fragile</td>\n<td>boolean</td>\n<td>no</td>\n<td></td>\n<td>Marker whether the content is fragile. (fragile = 1 if the content is fragile)</td>\n</tr>\n<tr>\n<td>productsInfo</td>\n<td>string</td>\n<td>no</td>\n<td></td>\n<td>Аdditional product information.</td>\n</tr>\n<tr>\n<td>piecesInPack</td>\n<td>integer</td>\n<td>no</td>\n<td></td>\n<td>Products amount in one shipment. e.g If the shipment contain 5 products the field will be filled with 5.</td>\n</tr>\n<tr>\n<td><strong>products</strong></td>\n<td>Array of objects</td>\n<td>yes</td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>refNum</td>\n<td>string</td>\n<td>yes</td>\n<td></td>\n<td>Product reference number. That is your product code or barcode.</td>\n</tr>\n<tr>\n<td>qty</td>\n<td>integer</td>\n<td>yes</td>\n<td></td>\n<td>Product quantity.</td>\n</tr>\n<tr>\n<td><strong>customsData</strong></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>dutyPaymentInfo</td>\n<td>string</td>\n<td>no</td>\n<td>Mandatory field for countries outside the European Union.  <br />ENUM: DDU (Delivery duty unpaid), DDP (Delivery duty paid)</td>\n<td>dutyPaymentInfo</td>\n</tr>\n<tr>\n<td>customsValue</td>\n<td>numeric 15.2</td>\n<td>no</td>\n<td>Mandatory field for countries outside the European Union.</td>\n<td>customsValue</td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>API Response (Output Fields)</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>orderId</td>\n<td>ID of orderHTTP status code.</td>\n</tr>\n<tr>\n<td>code</td>\n<td>HTTP status code.</td>\n</tr>\n<tr>\n<td>error</td>\n<td>A field that contains the text from a possible error while executing the web service from the server-side.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Example:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"orderId\": 745770,\n    \"error\": false,\n    \"code\": 200\n}\n\n</code></pre>\n<p><strong>HTTP Errors:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Code</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200</td>\n<td>The order created successfully.</td>\n</tr>\n<tr>\n<td>400</td>\n<td>Bad request.</td>\n</tr>\n<tr>\n<td>401</td>\n<td>Unauthenticated. API expects a header like - 'Authorization: Bearer (api_token)'.</td>\n</tr>\n<tr>\n<td>404</td>\n<td>Not found record.</td>\n</tr>\n<tr>\n<td>422</td>\n<td>Wrong params.</td>\n</tr>\n<tr>\n<td>500</td>\n<td>Internal Server Error / This action is unauthorized.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","fulfilment","create-order"],"host":["api1","inout","bg"],"query":[],"variable":[]}},"response":[],"_postman_id":"80425df5-1657-4670-8652-2e8fd17989e0"},{"name":"Attach_PDF_Files_Web_Service-v1.0","id":"da39c835-e560-43b0-bdf1-4532d76ba0b0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"testMode\": \"0\",\r\n  \"orderId\": \"123\",\r\n  \"referenceNumber\": \"0000026\",\r\n  \"files\": [\r\n    {\r\n      \"base64Attached\": \"base64 string\"\r\n    }\r\n  ]\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://api1.inout.bg/api/v1/fulfilment/attach-pdf-files","description":"<p>We can now offer you the ability to attach PDF file (invoice) from your company’s software or website by taking advantage of \"Attach PDF Files Web Service\".</p>\n<p><strong>Requirements</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>API Endpoint</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>/fulfilment/attach-pdf-files</td>\n<td>You can attach files to your order.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Method: POST<br />Authorization: Bearer API_TOKEN<br />API Call Input Fields<br />Body (JSON</strong>)</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>parameter</th>\n<th>type</th>\n<th>required</th>\n<th>restrictions</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>testMode</td>\n<td>bool</td>\n<td>yes</td>\n<td></td>\n<td>if you want to use the API only for tests set this field to true. Applies only to the production environment. On the test environment, all shipments save on test env.</td>\n</tr>\n<tr>\n<td>orderId</td>\n<td>integer</td>\n<td>no</td>\n<td>Required if the reference number not present.</td>\n<td>ID of order.</td>\n</tr>\n<tr>\n<td>referenceNumber</td>\n<td>string</td>\n<td>no</td>\n<td></td>\n<td>Reference number (usually the reference number is the order number from your system.)</td>\n</tr>\n<tr>\n<td><strong>files</strong></td>\n<td>array</td>\n<td>yes</td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>base64Attached</td>\n<td>string</td>\n<td>yes</td>\n<td></td>\n<td>The base64 formatted string.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>API Response (Output Fields)</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>orderId</td>\n<td>ID of order</td>\n</tr>\n<tr>\n<td>error</td>\n<td>A field that contains the text from a possible error while executing the web service from the server-side.</td>\n</tr>\n<tr>\n<td>code</td>\n<td>HTTP status code.</td>\n</tr>\n<tr>\n<td>pdfId</td>\n<td>The ID for your attached pdf.</td>\n</tr>\n<tr>\n<td>pdfCode</td>\n<td>The code for your attached pdf.</td>\n</tr>\n<tr>\n<td>referenceNumber</td>\n<td>Client reference number. (order number, invoice number or other unique number)</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Example:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"testMode\": \"false\",\n  \"orderId\": \"null\",\n  \"referenceNumber\": \"0000026\",\n  \"files\": [\n    {\n      \"base64Attached\": \"base64 string\"\n    }\n  ]\n}\n\n</code></pre>\n<p><strong>HTTP Errors:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Code</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200</td>\n<td>The pdf files added successfully.</td>\n</tr>\n<tr>\n<td>400</td>\n<td>Bad request.</td>\n</tr>\n<tr>\n<td>401</td>\n<td>Unauthenticated. API expects a header like - 'Authorization: Bearer (api_token)'.</td>\n</tr>\n<tr>\n<td>404</td>\n<td>Not found record.</td>\n</tr>\n<tr>\n<td>422</td>\n<td>Wrong params.</td>\n</tr>\n<tr>\n<td>500</td>\n<td>Internal Server Error / This action is unauthorized.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","fulfilment","attach-pdf-files"],"host":["api1","inout","bg"],"query":[],"variable":[]}},"response":[],"_postman_id":"da39c835-e560-43b0-bdf1-4532d76ba0b0"},{"name":"Orders_History_Web_Service-v1.0","id":"4c9d4869-381e-4ce1-94bd-677b76bd947b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"testMode\": 0,\r\n\t\"orders\": [\r\n\t\t{\r\n\t\t\t\"refNum\": \"Order #320\"\r\n\t\t}, \r\n\t\t{\r\n\t\t\t\"refNum\": \"123\"\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"refNum\": \"TEST488\"\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"refNum\": \"55555555555555555555\"\r\n\t\t}\r\n\t]\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://api1.inout.bg/api/v1/fulfilment/orders-history","description":"<p>We can now offer you the ability to statuses history by order data from your company’s software or website by taking advantage of \"Orders History Web Service\".</p>\n<p><strong>Requirements</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>API Endpoint</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>/fulfilment/orders-history</td>\n<td>Receiving the orders information.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Method: POST****Authorization: Bearer API_TOKEN</strong>API Call Input Fields<strong>Body (JSON)</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>parameter</strong></th>\n<th><strong>type</strong></th>\n<th><strong>required</strong></th>\n<th><strong>restrictions</strong></th>\n<th><strong>description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>testMode</td>\n<td>bool</td>\n<td>yes</td>\n<td></td>\n<td>if you want to use the API only for tests set this field to true. Applies only to the production environment. On the test environment, all shipments save on test env.</td>\n</tr>\n<tr>\n<td><strong>orders</strong></td>\n<td>object</td>\n<td>yes</td>\n<td>max 100 orders</td>\n<td></td>\n</tr>\n<tr>\n<td>refNum</td>\n<td>string</td>\n<td>yes</td>\n<td>exits to our DB.</td>\n<td>Reference number</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Example:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"testMode\": 0,\n    \"orders\": [\n        {\n            \"refNum\": \"5420122\"\n        }, \n        {\n            \"refNum\": \"21555\"\n        },\n        {\n            \"refNum\": \"TEST488\"\n        },\n        {\n            \"refNum\": \"55555555555555555555\"\n        }\n    ]\n}\n\n</code></pre>\n<p><strong>API Response (Output Fields)</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>refNum</td>\n<td>Order reference number.</td>\n</tr>\n<tr>\n<td>awb</td>\n<td>AWB number</td>\n</tr>\n<tr>\n<td>error</td>\n<td>A field that contains the text from a possible error while executing the web service from the server-side.</td>\n</tr>\n<tr>\n<td>errorCode</td>\n<td>Error code if it is from our server.</td>\n</tr>\n<tr>\n<td>statusesHistory</td>\n<td>Array with statuses history.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>List with the statuses:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Status Name</strong></th>\n<th><strong>Final</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>On delivery</td>\n<td>No</td>\n</tr>\n<tr>\n<td>In transit</td>\n<td>No</td>\n</tr>\n<tr>\n<td>Delivered</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>Returned</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>In the office</td>\n<td>No</td>\n</tr>\n<tr>\n<td>COD paid</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>New</td>\n<td>No</td>\n</tr>\n<tr>\n<td>Canceled</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>Stockout</td>\n<td>No</td>\n</tr>\n<tr>\n<td>Lost shipment</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>Redirected</td>\n<td>No</td>\n</tr>\n<tr>\n<td>Deleted</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>Warehouse Ruse</td>\n<td>No</td>\n</tr>\n<tr>\n<td>Returning</td>\n<td>No</td>\n</tr>\n<tr>\n<td>Scanned Waybill</td>\n<td>No</td>\n</tr>\n<tr>\n<td>Packed</td>\n<td>No</td>\n</tr>\n<tr>\n<td>Information received</td>\n<td>No</td>\n</tr>\n<tr>\n<td>Awaiting pickup</td>\n<td>No</td>\n</tr>\n<tr>\n<td>Insufficient data - AWB not created</td>\n<td>No</td>\n</tr>\n<tr>\n<td>Information sent to warehouse</td>\n<td>No</td>\n</tr>\n<tr>\n<td>Compenstaed courier fee</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>Claim opened</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>Warehouse</td>\n<td>No</td>\n</tr>\n<tr>\n<td>Damaged shipment</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>PreAlert</td>\n<td>No</td>\n</tr>\n<tr>\n<td>Destroyed</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>Warehouse Budapest</td>\n<td>No</td>\n</tr>\n<tr>\n<td>Lastmile Accept</td>\n<td>No</td>\n</tr>\n<tr>\n<td>Warehouse Sofia</td>\n<td>No</td>\n</tr>\n<tr>\n<td>Warehouse Zagreb</td>\n<td>No</td>\n</tr>\n<tr>\n<td>Returned to Warehouse</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>Rejected by courier</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>Returned to Client</td>\n<td>Yes</td>\n</tr>\n</tbody>\n</table>\n</div><p>**<br />StatusesHistory (Data Structure)**</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>ID</td>\n<td>Record identifier.</td>\n</tr>\n<tr>\n<td>STATUS</td>\n<td>Status text (e.g. In Transit, On delivery etc)</td>\n</tr>\n<tr>\n<td>DATE</td>\n<td>Status date</td>\n</tr>\n<tr>\n<td>DATE_CREATED</td>\n<td>The date the record was created</td>\n</tr>\n<tr>\n<td>COMMENT</td>\n<td>The name of the status in the native language for every country.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Example:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[\n  {\n    \"refNum\": \"5420122\",\n    \"awb\": null,\n    \"error\": null,\n    \"errorCode\": null,\n    \"statusesHistory\": [\n      {\n        \"ID\": 26332,\n        \"STATUS\": \"Information received\",\n        \"DATE\": \"2020-03-06 10:47:18\",\n        \"DATE_CREATED\": \"2020-03-06 10:47:18\",\n        \"COMMENT\": null\n      }\n    ]\n  },\n  {\n    \"refNum\": \"21555\",\n    \"awb\": \"00228876896\",\n    \"error\": null,\n    \"errorCode\": null,\n    \"statusesHistory\": [\n      {\n        \"ID\": 26332,\n        \"STATUS\": \"Information received\",\n        \"DATE\": \"2020-03-06 10:47:18\",\n        \"DATE_CREATED\": \"2020-03-06 10:47:18\",\n        \"COMMENT\": null\n      }\n    ]\n  },\n  {\n    \"refNum\": \"TEST488\",\n    \"awb\": null,\n    \"error\": \"Not found order with specified reference number!\",\n    \"errorCode\": 404,\n    \"statusesHistory\": []\n  },\n  {\n    \"refNum\": \"55555555555555555555\",\n    \"awb\": null,\n    \"error\": \"Not found order with specified reference number!\",\n    \"errorCode\": 404,\n    \"statusesHistory\": []\n  }\n]\n\n</code></pre>\n<p>HTTP Errors:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Code</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200</td>\n<td>The pdf files added successfully.</td>\n</tr>\n<tr>\n<td>400</td>\n<td>Bad request.</td>\n</tr>\n<tr>\n<td>401</td>\n<td>Unauthenticated. API expects a header like - 'Authorization: Bearer (api_token)'.</td>\n</tr>\n<tr>\n<td>404</td>\n<td>Not found record.</td>\n</tr>\n<tr>\n<td>422</td>\n<td>Wrong params.</td>\n</tr>\n<tr>\n<td>500</td>\n<td>Internal Server Error / This action is unauthorized.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","fulfilment","orders-history"],"host":["api1","inout","bg"],"query":[],"variable":[]}},"response":[],"_postman_id":"4c9d4869-381e-4ce1-94bd-677b76bd947b"},{"name":"Product_Creation_Web_Service-v1.1","id":"397294d1-a87b-4a48-a9d9-6d7c3418a86b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"testMode\": 0,\r\n    \"companyId\": 333,\r\n    \"product\": {\r\n        \"name\": \"test product\",\r\n        \"barcode\": \"bb-test-54202\",\r\n        \"refNumber\": \"ref-test-54202\",\r\n        \"barcodeType\": \"EAN-13\",\r\n        \"description\": \"test decsription test decsription test decsription test decsription test decsription test decsription test decsription test decsription test decsription test decsription test decsription test decsription test decsription test decsription test decsription test decsription test decsription test decsription test decsription test decsription test decsription test decsription test decsription test decsription test decsription test decsription test decsription test decsription test decsription test\",\r\n        \"length\": 20.5,\r\n        \"width\": 20.5,\r\n        \"height\": 20.5,\r\n        \"weight\": 2.2,\r\n        \"hsCode\": \"640399.30.00\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api1.inout.bg/api/v1/fulfilment/create-product","description":"<p>We can now offer you the ability to ask product creation from your company’s software or website by taking advantage of \"Product Creation Web Service\".</p>\n<p><strong>Requirements</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>API Endpoint</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>/fulfilment/create-product</td>\n<td>Creating a product in our fulfilment system.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Method: POST<br />Authorization: Bearer API_TOKEN<br />API Call Input Fields<br />Body (JSON)</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>parameter</strong></th>\n<th><strong>type</strong></th>\n<th><strong>required</strong></th>\n<th><strong>restrictions</strong></th>\n<th><strong>description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>testMode</td>\n<td>bool</td>\n<td>yes</td>\n<td></td>\n<td>if you want to use the API only for tests set this field to true. Appliescm only to the production environment. On the test environment, all shipments save on test env.</td>\n</tr>\n<tr>\n<td>companyId</td>\n<td>integer</td>\n<td>yes</td>\n<td></td>\n<td>ID of company, you can receive it from the „Companies Web Service“.</td>\n</tr>\n<tr>\n<td><strong>product</strong></td>\n<td>object</td>\n<td>yes</td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>name</td>\n<td>string</td>\n<td>yes</td>\n<td>MaxLenght: 200</td>\n<td>Product name</td>\n</tr>\n<tr>\n<td>bacode</td>\n<td>string</td>\n<td>yes</td>\n<td>MaxLenght: 20</td>\n<td>Product barcode e.g - 5439636114211</td>\n</tr>\n<tr>\n<td>refNumber</td>\n<td>string</td>\n<td>yes</td>\n<td>MaxLenght: 100</td>\n<td>Product reference number.</td>\n</tr>\n<tr>\n<td>barcodeType</td>\n<td>string</td>\n<td>no</td>\n<td>MaxLenght: 5</td>\n<td>Product barcode type. By default the type is EAN-13</td>\n</tr>\n<tr>\n<td>description</td>\n<td>text</td>\n<td>no</td>\n<td>MaxLenght: 500</td>\n<td>Product description</td>\n</tr>\n<tr>\n<td>length</td>\n<td>numeric(15.2)</td>\n<td>yes</td>\n<td></td>\n<td>Product length in cm.</td>\n</tr>\n<tr>\n<td>width</td>\n<td>numeric(15.2)</td>\n<td>yes</td>\n<td></td>\n<td>Product width in cm.</td>\n</tr>\n<tr>\n<td>height</td>\n<td>numeric(15.2)</td>\n<td>yes</td>\n<td></td>\n<td>Product height in cm.</td>\n</tr>\n<tr>\n<td>weight</td>\n<td>numeric(15.2)</td>\n<td>yes</td>\n<td></td>\n<td>Product height in kg.</td>\n</tr>\n<tr>\n<td>hsCode</td>\n<td>string</td>\n<td>no</td>\n<td>MaxLenght:100</td>\n<td>HS Code.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Example</strong>:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"testMode\": true,\n    \"companyId\": 332,\n    \"product\": {\n        \"name\": \"test product\",\n        \"barcode\": \"bb-test-54202\",\n                \"refNumber\": \"ref-test-54202\",\n        \"barcodeType\": \"EAN-13\",\n        \"description\": \"test decsription test decsription test decsription test decsription test decsription test decsription test decsription test decsription test decsription test decsription test decsription test decsription test decsription test decsription test decsription test decsription test decsription test decsription test decsription test decsription test decsription test decsription test decsription test decsription test decsription test decsription test decsription test decsription test decsription test\",\n        \"length\": 20.5,\n        \"width\": 20.5,\n        \"height\": 20.5,\n        \"weight\": 2.2,\n        \"hsCode\": \"640399.30.00\"\n    }\n}\n\n</code></pre>\n<p><strong>API Response (Output Fields)</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>productId</td>\n<td>ID of product</td>\n</tr>\n<tr>\n<td>error</td>\n<td>A field that contains the text from a possible error while executing the web service from the server-side.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Example:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"productId\": 85,\n  \"error\": false\n}\n\n</code></pre>\n<p>HTTP Errors:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Code</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200</td>\n<td>The pdf files added successfully.</td>\n</tr>\n<tr>\n<td>400</td>\n<td>Bad request.</td>\n</tr>\n<tr>\n<td>401</td>\n<td>Unauthenticated. API expects a header like - 'Authorization: Bearer (api_token)'.</td>\n</tr>\n<tr>\n<td>500</td>\n<td>Internal Server Error / This action is unauthorized.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","fulfilment","create-product"],"host":["api1","inout","bg"],"query":[],"variable":[]}},"response":[],"_postman_id":"397294d1-a87b-4a48-a9d9-6d7c3418a86b"},{"name":"Booking_Request_Creation_Web_Service","id":"63d1df5a-a6bd-4080-84c6-0db02332331c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"testMode\": true,\r\n    \"companyId\": 332,\r\n    \"warehouseId\": 1,\r\n    \"products\": [\r\n        {\r\n            \"refNumber\": \"ref-test-54202\",\r\n            \"quantity\": 10\r\n        },\r\n        {\r\n            \"refNumber\": \"ref-test-54201\",\r\n            \"quantity\": 100\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api1.inout.bg/api/v1/fulfilment/create-request","description":"<p>We can now offer you the ability to create a booking request from your company’s software or website by taking advantage of \"Booking Request Creation Web Service\".</p>\n<p><strong>Requirements</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>API Endpoint</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>/fulfilment/create-request</td>\n<td>Creating a booking request in our fulfilment system.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Method: POST<strong><strong>Authorization: Bearer API_TOKEN</strong></strong>API Call Input Fields****Body (JSON)</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>parameter</strong></th>\n<th><strong>type</strong></th>\n<th><strong>required</strong></th>\n<th><strong>restrictions</strong></th>\n<th><strong>description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>testMode</td>\n<td>bool</td>\n<td>yes</td>\n<td></td>\n<td>if you want to use the API only for tests set this field to true. Appliescm only to the production environment. On the test environment, all shipments save on test env.</td>\n</tr>\n<tr>\n<td>companyId</td>\n<td>integer</td>\n<td>yes</td>\n<td></td>\n<td>ID of company, you can receive it from the „Companies Web Service“.</td>\n</tr>\n<tr>\n<td>warehouseId</td>\n<td>integer</td>\n<td>yes</td>\n<td></td>\n<td>ID of warehouse you want to send a Request to.</td>\n</tr>\n<tr>\n<td>products</td>\n<td>object</td>\n<td>yes</td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>refNumer</td>\n<td>string</td>\n<td>yes</td>\n<td></td>\n<td>Reference number of product.</td>\n</tr>\n<tr>\n<td>quantity</td>\n<td>integer</td>\n<td>yes</td>\n<td>Min: 1</td>\n<td>Product Quantity</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Example</strong>:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"testMode\": true,\n    \"companyId\": 332,\n    \"warehouseId\": 1,\n    \"products\": [\n        {\n                    \"refNumber\": \"ref-test-54202\",\n                    \"quantity\": 10\n        },\n        {\n                    \"refNumber\": \"ref-test-54201\",\n                    \"quantity\": 100\n        }\n        ]\n}\n\n</code></pre>\n<p><strong>API Response (Output Fields)</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>requestId</td>\n<td>ID of Request</td>\n</tr>\n<tr>\n<td>error</td>\n<td>A field that contains the text from a possible error while executing the web service from the server-side.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Example:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"requestId\": 137\n}\n\n</code></pre>\n<p>HTTP Errors:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Code</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>201</td>\n<td>The Request was created successfully</td>\n</tr>\n<tr>\n<td>400</td>\n<td>Bad request.</td>\n</tr>\n<tr>\n<td>401</td>\n<td>Unauthenticated. API expects a header like - 'Authorization: Bearer (api_token)'.</td>\n</tr>\n<tr>\n<td>422</td>\n<td>The company ID you added in Request does not exist. Please check it!</td>\n</tr>\n<tr>\n<td>422</td>\n<td>You don't have access to this warehouse. Please check warehouseId in your Request!</td>\n</tr>\n<tr>\n<td>422</td>\n<td>At least 1 of the products in the Request is not yours.</td>\n</tr>\n<tr>\n<td>422</td>\n<td>Error when saving Request information!</td>\n</tr>\n<tr>\n<td>500</td>\n<td>Internal Server Error / This action is unauthorized.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","fulfilment","create-request"],"host":["api1","inout","bg"],"query":[],"variable":[]}},"response":[],"_postman_id":"63d1df5a-a6bd-4080-84c6-0db02332331c"},{"name":"Prod Avails","id":"9d650449-02c6-489e-9524-4440331742de","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://api1.inout.bg/api/v1/fulfilment/get-prod-avails","urlObject":{"protocol":"https","path":["api","v1","fulfilment","get-prod-avails"],"host":["api1","inout","bg"],"query":[],"variable":[]}},"response":[],"_postman_id":"9d650449-02c6-489e-9524-4440331742de"}],"id":"aff54543-9f63-42ad-b615-d84c4337474f","description":"<p>We can now offer you the ability to ask order creation from your company’s software or website by taking advantage of \"Order Creation Web Service\".</p>\n","_postman_id":"aff54543-9f63-42ad-b615-d84c4337474f"},{"name":"Additional Web Services","item":[{"name":"COD_Information_Web_Service_v1.0","id":"98fa55d9-e957-425d-8987-4d0cbae513f0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":"https://api1.inout.bg/api/v1/check-cod-by-order/123?testMode=0","description":"<p>We can now offer you the ability to ask for cod information directly from your company’s software or website by taking advantage of \"COD Information Web Service\".</p>\n<p>Description:\nWith this service, you can receive detailed COD information. In \"referenceNumber\" property, you can fill the value you filled in the \"referenceNumber\" when creating the AWB. The value can be an order number, a product number or an invoice number.</p>\n<p>API Endpoint\n\"check-cod-by-order/{referenceNumber}\"</p>\n<p>Method: GET\nAuthorization: Bearer API_TOKEN</p>\n<p>URL query parameters:\nfield - testMode\ntype - boolean\nrequired - yes\ndescription - If you want to use the API only for tests set this field to true. Applies only to the production environment. On the test environment, all shipments save on test env.</p>\n<p>Example:\n<a href=\"https://api1.inout.bg/api/v1/check-cod-by-order/CCS-03207-CZ?testMode=0\">https://api1.inout.bg/api/v1/check-cod-by-order/CCS-03207-CZ?testMode=0</a></p>\n<p>Response example:\n{\n  \"awbNumber\": \"40695693257\",\n  \"referenceNumber\": \"CCS-03207-CZ\",\n  \"COD\": \"2310.00\",\n  \"payedNumber\": 10793,\n  \"payedDate\": \"2019-05-20 13:40:51\"\n}\nOutput Fields:\nawbNumber - AWB Number.\nreferenceNumber - The value that you filled when creating the AWB.\nCOD - COD amount in country currency.\npayedNumber - If is set, then you will see the number of the protocol that InOut made the payment.\npayedDate - The date on which the payment was made.</p>\n<p>HTTP Errors:\nCode description\n200 - Returns result from the web service.\n400 - Bad request.\n401 - Unauthenticated. API expects a header like - 'Authorization: Bearer (api_token)'.\n404 - Not found data.\n500 - Internal Server Error / This action is unauthorized.</p>\n","urlObject":{"protocol":"https","path":["api","v1","check-cod-by-order","123"],"host":["api1","inout","bg"],"query":[{"key":"testMode","value":"0"}],"variable":[]}},"response":[],"_postman_id":"98fa55d9-e957-425d-8987-4d0cbae513f0"},{"name":"Phone_Call_History_Web_Service_v1.0","id":"e3848856-7781-4033-8fa4-fb694f567697","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api1.inout.bg/api/v1/check-actions/{AWBNumber}?testMode=0","description":"<p>We can now offer you the ability to ask for a phone call history directly from your company’s software or Website by taking advantage of \"Phone Call History Web Service\".</p>\n<p>Requirements:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>API Endpoint</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>check-actions/{AWBNumber}</td>\n<td>With this service, you can receive the call history from our call centre for chosen shipment.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Method: GET****Authorization: Bearer API_TOKEN</strong></p>\n<p><strong>Api Call Input Fields****URL query parameters</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n<th><strong>required</strong></th>\n<th><strong>description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>testMode</td>\n<td>boolean</td>\n<td>yes</td>\n<td>If you want to use the API only for tests set this field to true. Applies only to the production environment. On the test environment, all shipments save on test env.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>API****Response (Output Fields)</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>actions</td>\n<td>Array with actions history of chosen shipment.</td>\n</tr>\n<tr>\n<td>ID</td>\n<td>The ID of the call.</td>\n</tr>\n<tr>\n<td>ACTION</td>\n<td>Аction that was taken after the call.</td>\n</tr>\n<tr>\n<td>COMMENT</td>\n<td>Comment of the person who contacted the recipient.</td>\n</tr>\n<tr>\n<td>Date</td>\n<td>Date of action.</td>\n</tr>\n</tbody>\n</table>\n</div><pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">Example:{\n  \"actions\": [\n    {\n      \"ID\": 22083,\n      \"ACTION\": \"Return to us\",\n      \"COMMENT\": \"test\",\n      \"Date\": \"2019-02-01 12:14:00\"\n    },\n    {\n      \"ID\": 22084,\n      \"ACTION\": \"Organise delivery\",\n      \"COMMENT\": \"ttt\",\n      \"Date\": \"2019-02-01 12:26:00\"\n    },\n    {\n      \"ID\": 22094,\n      \"ACTION\": \"Destroy it\",\n      \"COMMENT\": \"test\",\n      \"Date\": \"2019-02-01 15:34:00\"\n    }\n  ]\n}\n\n</code></pre>\n<p><strong>HTTP Errors:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Code</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200</td>\n<td>Returns result from the web service.</td>\n</tr>\n<tr>\n<td>400</td>\n<td>Bad request.</td>\n</tr>\n<tr>\n<td>401</td>\n<td>Unauthenticated. API expects a header like - 'Authorization: Bearer (api_token)'</td>\n</tr>\n<tr>\n<td>404</td>\n<td>Not found data.</td>\n</tr>\n<tr>\n<td>500</td>\n<td>Internal Server Error / This action is unauthorized.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","check-actions","{AWBNumber}"],"host":["api1","inout","bg"],"query":[{"key":"testMode","value":"0"}],"variable":[]}},"response":[],"_postman_id":"e3848856-7781-4033-8fa4-fb694f567697"}],"id":"fa279dd1-e7f1-46f7-b459-930b1480e8e3","_postman_id":"fa279dd1-e7f1-46f7-b459-930b1480e8e3","description":""},{"name":"PreAWB","item":[{"name":"Pre_AWB_Creation_Web_Service-v1.0","id":"eb461f4c-5638-46ad-b535-e9ac97173981","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"testMode\": true,\r\n    \"senderId\": 333,\r\n    \"waybillAvailableDate\": \"2021-04-22\",\r\n    \"serviceName\": \"crossborder\",\r\n    \"courierId\": \"15\",\r\n    \"recipient\": {\r\n        \"name\": \"API - TESTS\",\r\n        \"cityId\": null,\r\n        \"countryIsoCode\": \"BG\",\r\n        \"cityName\": \"Sofia\",\r\n        \"zipCode\": \"1000\",\r\n        \"region\": \"\",\r\n        \"officeId\": null,\r\n        \"officeCode\": null,\r\n        \"streetName\": \"ул. Цар Иван Асен II 64\",\r\n        \"buildingNumber\": null,\r\n        \"addressText\": null,\r\n        \"phoneNumber\": \"0887000000\",\r\n        \"contactPerson\": \"API - TESTS\",\r\n        \"email\": \"test@example.com\"\r\n    },\r\n    \"awb\": {\r\n        \"referenceNumber\": \"bb-test-1000\",\r\n        \"totalWeight\": \"5\",\r\n        \"envelopes\": \"0\",\r\n        \"parcels\": \"1\",\r\n        \"declaredValue\": null,\r\n        \"bankRepayment\": null,\r\n        \"otherRepayment\": \"additional text for repayment\",\r\n        \"openPackage\": false,\r\n        \"shipmentPayer\": \"sender\",\r\n        \"saturdayDelivery\": false,\r\n        \"productsinfo\": \"test product test product1\",\r\n        \"fragile\": 0,\r\n        \"piecesInPack\": 1,\r\n        \"observations\": null,\r\n        \"products\": \"test\",\r\n        \"packages\": {\r\n            \"1\": {\r\n                \"dimensions\": {\r\n                    \"width\": 10,\r\n                    \"height\": 10,\r\n                    \"length\": 10\r\n                },\r\n                \"weight\": 1\r\n            }\r\n        }\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api1.inout.bg/api/v1/preAWB","description":"<p>We can now offer you the ability to ask for a shipment creation directly from your company’s software or website by taking advantage of \"Shipment Creation\".</p>\n<p>Requirements</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>API Endpoint</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>preAWB</td>\n<td>Creates a new shipment according to provided the API token and the shipment’s data.</td>\n</tr>\n</tbody>\n</table>\n</div><p>Method: POST<br />Authorization: Bearer API_TOKEN<br />API Call Input Fields<br />Body (JSON)</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n<th><strong>required</strong></th>\n<th><strong>description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>testMode</td>\n<td>boolean</td>\n<td>yes</td>\n<td>if you want to use the API only for tests set this field to true. Applies only to the production environment. On the test environment, all shipments save on test env.</td>\n</tr>\n<tr>\n<td>senderId (company id)</td>\n<td>integer</td>\n<td>yes</td>\n<td>ID of company, obtain an ID from Companies Web Service. Please for more information, see Companies Web Service.</td>\n</tr>\n<tr>\n<td>courierId</td>\n<td>integer</td>\n<td>yes</td>\n<td>ID of courier, obtain an ID from Couriers Web Service.</td>\n</tr>\n<tr>\n<td>waybillAvailableDate</td>\n<td>date</td>\n<td>yes</td>\n<td>The date on which the shipment is to be dispatched.</td>\n</tr>\n<tr>\n<td>serviceName</td>\n<td>string</td>\n<td>yes</td>\n<td>The service name must be one of the following:  <br />•crossborder  <br />•eushipmentsairexpress  <br /></td>\n</tr>\n<tr>\n<td><strong>recipient</strong></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>name</td>\n<td>string</td>\n<td>yes</td>\n<td>Name of recipient or company. Typically, both customer names (first name and last name) or company name are filled in.</td>\n</tr>\n<tr>\n<td>cityId</td>\n<td>integer</td>\n<td>yes</td>\n<td>The ID of a city where the shipment needs to delivery. Obtain an ID from Cities resource. Please for more information, see Cities web service.</td>\n</tr>\n<tr>\n<td>countryIsoCode</td>\n<td>string</td>\n<td>no</td>\n<td>Two digits country ISO code.</td>\n</tr>\n<tr>\n<td>cityName</td>\n<td>string</td>\n<td>no</td>\n<td>City name. If you have your own nomenclature with а cities, you can fill in the fields cityName, zipCode and region.</td>\n</tr>\n<tr>\n<td>zipCode</td>\n<td>string</td>\n<td>no</td>\n<td>Zip code.</td>\n</tr>\n<tr>\n<td>region</td>\n<td>string</td>\n<td>no</td>\n<td>Region.</td>\n</tr>\n<tr>\n<td>streetName</td>\n<td>string</td>\n<td>yes</td>\n<td>Name of the street, office address or office name - e.g. If you create shipment to address - Main street or Main street 10. If you want to create shipment to an office, please add a keyword \"to office: \" to office name or office address (Courier_Offices_Web_Service_v1.2) e.g. \" to office: Русе Николаевска\" or \" to office: Русе ж.к. ЦЮР ул. Николаевска №109\".</td>\n</tr>\n<tr>\n<td>buildingNumber</td>\n<td>integer</td>\n<td>no</td>\n<td>Number of the street/building - e.g. 10</td>\n</tr>\n<tr>\n<td>addressText</td>\n<td>string</td>\n<td>no</td>\n<td>Additional address information – e.g. бл.25 ет 3. or bl.25 et. 3</td>\n</tr>\n<tr>\n<td>contactPerson</td>\n<td>string</td>\n<td>no</td>\n<td>Contact person. Usually is the same as the name of recipient.</td>\n</tr>\n<tr>\n<td>phoneNumber</td>\n<td>string</td>\n<td>yes</td>\n<td>Phone number of the recipient.</td>\n</tr>\n<tr>\n<td>email</td>\n<td>email</td>\n<td>no</td>\n<td>Email of the recipient. But for some partners it is mandatory and the API returns a mistake.</td>\n</tr>\n<tr>\n<td><strong>awb</strong></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>shipmentType</td>\n<td>string</td>\n<td>no</td>\n<td>Enum: pack or pallet</td>\n</tr>\n<tr>\n<td>parcels</td>\n<td>integer</td>\n<td>yes</td>\n<td>Number of parcels in the shipment.</td>\n</tr>\n<tr>\n<td>envelopes</td>\n<td>integer</td>\n<td>yes</td>\n<td>Number of envelopes in the shipment.</td>\n</tr>\n<tr>\n<td>pallets</td>\n<td>Integer</td>\n<td>no</td>\n<td>The number of pallets.</td>\n</tr>\n<tr>\n<td>totalWeight</td>\n<td>numeric</td>\n<td>yes</td>\n<td>Total weight of the shipment in kg. The value have to be equal to the sum of all packages.</td>\n</tr>\n<tr>\n<td>declaredValue</td>\n<td>numeric</td>\n<td>no</td>\n<td>Insurance amount of the shipment. The service returns an error when filling more than of the permitted value for the country.</td>\n</tr>\n<tr>\n<td>bankRepayment</td>\n<td>numeric</td>\n<td>no</td>\n<td>COD amount of the shipment. You can set to 0 if the shipment doesn't have a COD amount.</td>\n</tr>\n<tr>\n<td>otherRepayment</td>\n<td>string</td>\n<td>no</td>\n<td>Additional information to COD.</td>\n</tr>\n<tr>\n<td>observations</td>\n<td>string</td>\n<td>no</td>\n<td>Additional information about the shipment/products. (notes)</td>\n</tr>\n<tr>\n<td>openPackage</td>\n<td>boolean</td>\n<td>no</td>\n<td>Check up the shipment before pay.</td>\n</tr>\n<tr>\n<td>saturdayDelivery</td>\n<td>boolean</td>\n<td>no</td>\n<td>Saturday delivery. Not available for some countries.</td>\n</tr>\n<tr>\n<td><strong>referenceNumber</strong></td>\n<td>string</td>\n<td>yes</td>\n<td>Client reference number. Usually, the client put here the unique number of order from the site or unique order number of the content or invoice number. Helps for tracking and reporting.  <br /><strong>Important: The information in the field must be unique to avoid duplicate shipments!</strong>  <br /></td>\n</tr>\n<tr>\n<td>products</td>\n<td>string</td>\n<td>no</td>\n<td>The content of the shipment. e.g. product1 product2 - Only for BG is required.</td>\n</tr>\n<tr>\n<td>fragile</td>\n<td>boolean</td>\n<td>no</td>\n<td>Marker whether the content is fragile. (fragile = 1 if the content is fragile) – Used only for BG</td>\n</tr>\n<tr>\n<td>productsInfo</td>\n<td>string</td>\n<td>no</td>\n<td>Аdditional product information.</td>\n</tr>\n<tr>\n<td>piecesInPack</td>\n<td>integer</td>\n<td>no</td>\n<td>Products amount in one shipment. e.g If the shipment contain 5 products the field will be filled with 5.</td>\n</tr>\n<tr>\n<td><strong>document</strong></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>content</td>\n<td>base64 binary</td>\n<td>no</td>\n<td>PDF content base64 encoded.</td>\n</tr>\n<tr>\n<td>format</td>\n<td>string</td>\n<td>no</td>\n<td>Enum: pdf</td>\n</tr>\n<tr>\n<td><strong>packages</strong></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>dimensions</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>width</td>\n<td>numeric 15.2</td>\n<td>no</td>\n<td>Width of the specific parcel in cm.</td>\n</tr>\n<tr>\n<td>height</td>\n<td>numeric 15.2</td>\n<td>no</td>\n<td>Height of the specific parcel in cm.</td>\n</tr>\n<tr>\n<td>length</td>\n<td>numeric 15.2</td>\n<td>no</td>\n<td>Lenght of the specific parcel in cm.</td>\n</tr>\n<tr>\n<td>weight</td>\n<td>numeric 15.2</td>\n<td>no</td>\n<td>Weight of the specific parcel in kg.</td>\n</tr>\n<tr>\n<td><strong>customsData</strong></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>dutyPaymentInfo</td>\n<td>string</td>\n<td>no</td>\n<td>Mandatory field for countries outside the European Union.  <br />ENUM: DDU (Delivery duty unpaid), DDP (Delivery duty paid)  <br /></td>\n</tr>\n<tr>\n<td>customsValue</td>\n<td>numeric 15.2</td>\n<td>no</td>\n<td>Mandatory field for countries outside the European Union.</td>\n</tr>\n<tr>\n<td><strong>courierRequest</strong></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>date</td>\n<td>date string</td>\n<td>no</td>\n<td>The date on which the courier must visit the address.</td>\n</tr>\n<tr>\n<td>timeFrom</td>\n<td>time string</td>\n<td>no</td>\n<td>Starting time of the visit.</td>\n</tr>\n<tr>\n<td>timeTo</td>\n<td>time string</td>\n<td>no</td>\n<td>End time of the visit.</td>\n</tr>\n<tr>\n<td><strong>returnLabel</strong></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>ndaysValid</td>\n<td>integer</td>\n<td>no</td>\n<td>By default is 0 (infinity). For now used only for Greece</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>API</strong> <strong>Response (Output Fields)</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>awb</td>\n<td>AWB number</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Example:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"awb\": \"00215858486\"\n}\n\n</code></pre>\n<p>HTTP Errors:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200</td>\n<td>Returns result from the web service.</td>\n</tr>\n<tr>\n<td>400</td>\n<td>Bad request.</td>\n</tr>\n<tr>\n<td>401</td>\n<td>Unauthenticated. API expects a header like - 'Authorization: Bearer (api_token)'.</td>\n</tr>\n<tr>\n<td>404</td>\n<td>Not found data.</td>\n</tr>\n<tr>\n<td>408</td>\n<td>The partner API not answer. Please try again letter!</td>\n</tr>\n<tr>\n<td>422</td>\n<td>Unprocessable Entity. Wrong input data.</td>\n</tr>\n<tr>\n<td>500</td>\n<td>Internal Server Error / This action is unauthorized.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","preAWB"],"host":["api1","inout","bg"],"query":[],"variable":[]}},"response":[],"_postman_id":"eb461f4c-5638-46ad-b535-e9ac97173981"},{"name":"Pre_AWB_Creation_INOUT_LABEL_Web_Service-v1.1","id":"c51766fb-49c6-4109-bb31-b8770475f169","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://api1.inout.bg/api/v1/preAWB","urlObject":{"protocol":"https","path":["api","v1","preAWB"],"host":["api1","inout","bg"],"query":[],"variable":[]}},"response":[],"_postman_id":"c51766fb-49c6-4109-bb31-b8770475f169"},{"name":"Pre_AWB_INOUT_LABEL_Web_Service_v1.0","id":"04d12849-27f9-4f52-b202-d2a73d257e1f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://api1.inout.bg/api/v1/preAWB/print/inout/label/{OrderId}","urlObject":{"protocol":"https","path":["api","v1","preAWB","print","inout","label","{OrderId}"],"host":["api1","inout","bg"],"query":[],"variable":[]}},"response":[],"_postman_id":"04d12849-27f9-4f52-b202-d2a73d257e1f"},{"name":"Pre_AWB_INOUT_LABEL_BY_NUM_Web_Service_v1.0","id":"b8522877-d382-4d06-bdd4-54eb406857b2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://api1.inout.bg/api/v1/preAWB/print/inout/label/num/{inoutLabelNum}","urlObject":{"protocol":"https","path":["api","v1","preAWB","print","inout","label","num","{inoutLabelNum}"],"host":["api1","inout","bg"],"query":[],"variable":[]}},"response":[],"_postman_id":"b8522877-d382-4d06-bdd4-54eb406857b2"}],"id":"b7d237b5-06e4-45b9-9866-25c6f80d3d85","_postman_id":"b7d237b5-06e4-45b9-9866-25c6f80d3d85","description":""},{"name":"Others","item":[{"name":"Couries_Web_Service_v1.0","id":"07afb7f2-3347-4702-8836-cbbfe189e455","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api1.inout.bg/api/v1/couriers/{senderId}","description":"<p>We can now offer you the ability to ask for couriers directly from your company’s software or website by taking advantage of \"Couries Web Service\".</p>\n<p><strong>Requirements</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>API Endpoint</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>couriers/{companyId}</td>\n<td>With this service, you can receive the couriers for a chosen company. If you receive empty array, this means you do not have couriers to your client account, then please contact with InOut employee for adding the couriers to your client account.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Method: GET****Authorization: Bearer API_TOKEN</strong></p>\n<p><strong>Example:</strong><br /><a href=\"https://api1.inout.bg/api/v1/couriers/333\">https://api1.inout.bg/api/v1/couriers/333</a></p>\n<p><strong>API Response (Output Fields)</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>ID</td>\n<td>ID of courier.</td>\n</tr>\n<tr>\n<td>NAME</td>\n<td>The courier name.</td>\n</tr>\n<tr>\n<td>TO_OFFICE</td>\n<td>If this field is true, you can create shipments to an office.</td>\n</tr>\n<tr>\n<td>TO_ADDRESS</td>\n<td>If this field is true, you can create shipments to an address.</td>\n</tr>\n<tr>\n<td>COUNTRY</td>\n<td>Country where the carrier operate</td>\n</tr>\n<tr>\n<td>CURRENCY</td>\n<td>Local currency</td>\n</tr>\n</tbody>\n</table>\n</div><p>Example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[\n {\n        \"ID\": 738,\n        \"NAME\": \"Hungary GLS New\",\n        \"TO_OFFICE\": false,\n        \"TO_ADDRESS\": true,\n        \"COUNTRY\": \"Hungary\",\n        \"CURRENCY\": \"HUF\"\n }\n]\n\n</code></pre>\n<p><strong>HTTP Errors:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Code</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200</td>\n<td>The order created successfully.</td>\n</tr>\n<tr>\n<td>400</td>\n<td>Bad request.</td>\n</tr>\n<tr>\n<td>401</td>\n<td>Unauthenticated. API expects a header like - 'Authorization: Bearer (api_token)'.</td>\n</tr>\n<tr>\n<td>404</td>\n<td>Not found record.</td>\n</tr>\n<tr>\n<td>422</td>\n<td>Wrong params.</td>\n</tr>\n<tr>\n<td>500</td>\n<td>Internal Server Error / This action is unauthorized.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","couriers","{senderId}"],"host":["api1","inout","bg"],"query":[],"variable":[]}},"response":[],"_postman_id":"07afb7f2-3347-4702-8836-cbbfe189e455"},{"name":"Companies_Web_Service_v1.0","id":"5f6055d7-be14-469a-afea-757ff1f5ad87","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api1.inout.bg/api/v1/get-user-companies","urlObject":{"protocol":"https","path":["api","v1","get-user-companies"],"host":["api1","inout","bg"],"query":[],"variable":[]}},"response":[],"_postman_id":"5f6055d7-be14-469a-afea-757ff1f5ad87"},{"name":"AWB_Details_Web_Service_v1.0","id":"63ddd4c4-23f3-4311-81e7-eee0cc200f54","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api1.inout.bg/api/v1/get-awb/64506083?testMode=0","description":"<p>We can now offer you the ability to ask for a AWB details directly from your company’s software or website by taking advantage of \"AWB Details Web Service\".</p>\n<p><strong>Requirements</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>API Endpoint</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>get-awb/{AWBNumber}</td>\n<td>Receive main data for AWB by AWB number.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Method: GET****Authorization: Bearer API_TOKEN</strong>API Call Input Fields<strong>URL query parameters</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>field</strong></th>\n<th><strong>type</strong></th>\n<th><strong>required</strong></th>\n<th><strong>description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>testMode</td>\n<td>boolean</td>\n<td>yes</td>\n<td>If you want to use the API only for tests set this field to true. Applies only to the production environment. On the test environment, all shipments save on test env.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Example:</strong></p>\n<p><a href=\"https://api1.inout.bg/api/v1/get-awb/64506083?testMode=0\">https://api1.inout.bg/api/v1/get-awb/64506083?testMode=0</a></p>\n<p><strong>API Response (Output Fields)</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>SENDER_ID</td>\n<td>An ID of the company, which created the shipment.</td>\n</tr>\n<tr>\n<td>REFERENCENUMBER</td>\n<td>Reference/ID order number</td>\n</tr>\n<tr>\n<td>WAYBILL_AVAILABLE_DATE</td>\n<td>Date of AWB creation</td>\n</tr>\n<tr>\n<td></td>\n<td>An ID of the city from Cities Web Service. City, where the recipient should receive the shipment.</td>\n</tr>\n<tr>\n<td>STREET_NAME</td>\n<td>Recipient street name.</td>\n</tr>\n<tr>\n<td>BUILDING_NUMBER</td>\n<td>Building number or street number.</td>\n</tr>\n<tr>\n<td>ADDRESS_TEXT</td>\n<td>Additional text to a recipient address.</td>\n</tr>\n<tr>\n<td>CONTACT_PERSON</td>\n<td>Contact person</td>\n</tr>\n<tr>\n<td>PHONE_NUMBER</td>\n<td>Phone number of recipient.</td>\n</tr>\n<tr>\n<td>PARCELS</td>\n<td>Number of parcels</td>\n</tr>\n<tr>\n<td>ENVELOPES</td>\n<td>Number of envelopes</td>\n</tr>\n<tr>\n<td>TOTAL_WEIGHT</td>\n<td>Shipment weight.</td>\n</tr>\n<tr>\n<td>DECLARED_VALUE</td>\n<td>Shipment insurance or insurance amount. For every country is different.</td>\n</tr>\n<tr>\n<td>COD</td>\n<td>COD amount</td>\n</tr>\n<tr>\n<td>OTHER_REPAYMENT</td>\n<td>Additional text to cod.</td>\n</tr>\n<tr>\n<td>CURRENCY</td>\n<td>Country currency.</td>\n</tr>\n<tr>\n<td>OPEN_PACKAGE</td>\n<td>Check up shipment before pay.</td>\n</tr>\n<tr>\n<td>SATURDAY_DELIVERY</td>\n<td>Saturday delivery.</td>\n</tr>\n<tr>\n<td>OBSERVATIONS</td>\n<td>Additional information about the shipment/products. (notes)</td>\n</tr>\n<tr>\n<td>AWB_STATUS</td>\n<td>The AWB status to this moment.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Example</strong>:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"SENDER_ID\": 1362,\n    \"REFERENCENUMBER\": \"185096-6608739-3\",\n    \"WAYBILL_AVAILABLE_DATE\": \"2024-08-01 09:26:11\",\n    \"RECIPIENT_NAME\": \"Faur Sergiu\",\n    \"CITYNAME\": \"Ineu\",\n    \"ZIPCODE\": \"315300\",\n    \"STREET_NAME\": \"To office: easybox Republicii 3\",\n    \"BUILDING_NUMBER\": \"0\",\n    \"PHONE_NUMBER\": \"0743407779\",\n    \"PARCELS\": 1,\n    \"TOTAL_WEIGHT\": \"0.690\",\n    \"DECLARED_VALUE\": \"0.00\",\n    \"COD\": \"174.00\",\n    \"PAYEDNUMBER\": 1000001682,\n    \"PAYEDDATE\": \"2024-08-07 12:00:11\",\n    \"CURRENCY\": \"RON\",\n    \"OPEN_PACKAGE\": 0,\n    \"AWB_STATUS\": \"New\",\n    \"COMMENT\": null,\n    \"PRICE\": \"6.00\"\n}\n\n</code></pre>\n<p><strong>HTTP Errors:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Code</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200</td>\n<td>The order created successfully.</td>\n</tr>\n<tr>\n<td>400</td>\n<td>Bad request.</td>\n</tr>\n<tr>\n<td>401</td>\n<td>Unauthenticated. API expects a header like - 'Authorization: Bearer (api_token)'.</td>\n</tr>\n<tr>\n<td>404</td>\n<td>Not found record.</td>\n</tr>\n<tr>\n<td>422</td>\n<td>Wrong params.</td>\n</tr>\n<tr>\n<td>500</td>\n<td>Internal Server Error / This action is unauthorized.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","get-awb","64506083"],"host":["api1","inout","bg"],"query":[{"key":"testMode","value":"0"}],"variable":[]}},"response":[],"_postman_id":"63ddd4c4-23f3-4311-81e7-eee0cc200f54"}],"id":"98ae42aa-58b8-4e4d-8e93-e5a5460f77b7","description":"<h1 id=\"additional-information\">Additional information!</h1>\n<h3 id=\"phone-format-requirements\"><strong>Phone format requirements:</strong></h3>\n<p><strong>Romania</strong> all carriers - phone number without country phone prefix;<br /><strong>Czech Republic</strong> - country phone prefix +420 or 00420 + valid mobile number (9 digits);<br /><strong>Hungary</strong> - country phone prefix +36 or 036 + valid mobile number (9 digits);<br /><strong>Slovakia</strong> - country phone prefix +421 or 00421 + valid mobile number (9 digits);<br /><strong>Bulgaria</strong> - phone number without country phone prefix;<br /><strong>Greece</strong> - phone number without country phone prefix;<br /><strong>Poland</strong> - phone number without country phone prefix;<br /><strong>Croatia</strong> - country phone prefix +385 or 0385 + valid mobile number (9 digits).</p>\n<h2 id=\"to-use-the-pudo-service-to-any-courier-office-through-us\"><strong>To use the PUDO service to any courier office through us:</strong></h2>\n<p>1. You need to download the office nomenclature from <a href=\"https://api1.inout.bg/api/v1/offices-by-courier/%7BcourierID%7D\">https://api1.inout.bg/api/v1/offices-by-courier/{courierID}</a></p>\n<p>2. The request to us needs to be submitted in one of the following ways:<br />2.1 In the \"streetName\" field, submit a keyword office+\"OFFICE_NAME\" from our nomenclature<br />2.2 In the \"streetName\" field, submit a keyword office+\"ADDRESS\" from our nomenclature<br />2.3 In the \"officeId\" field, submit \"ID\" from our nomenclature</p>\n<p>Sample data for the points described above:<br />2.1.</p>\n<p>\"recipient\": {<br />\"name\": \"Test User\",<br />\"countryIsoCode\": \"BG\",<br />\"cityId\": null,<br />\"region\": \"null\",<br />\"cityName\": \"Aidemir\",<br />\"zipCode\": \"7538\",<br />\"streetName\": \"<strong>office Aidemir</strong>\",<br />\"buildingNumber\": 0,<br />\"officeId\": null,<br />\"officeCode\": \"\",<br />\"addressText\": \"additional text, address test\",<br />\"contactPerson\": \"Test User\",<br />\"phoneNumber\": \"00889000000\",<br />\"email\": \"[22.com](<a href=\"https://mailto:2\">https://mailto:2</a>2.com)\"<br />}</p>\n<p>2.2</p>\n<p>\"recipient\": {<br />\"name\": \"Test User\",<br />\"countryIsoCode\": \"BG\",<br />\"cityId\": null,<br />\"region\": \"null\",<br />\"cityName\": \"Aidemir\",<br />\"zipCode\": \"7538\",<br />\"streetName\": \"<strong>office</strong> <strong>Aidemir kv. Delenkite ul. Sofia №7</strong>\",<br />\"buildingNumber\": 0,<br />\"officeId\": null,<br />\"officeCode\": \"\",<br />\"addressText\": \"additional text, address test\",<br />\"contactPerson\": \"Test User\",<br />\"phoneNumber\": \"00889000000\",<br />\"email\": \"[22.com](<a href=\"https://mailto:2\">https://mailto:2</a>2.com)\"<br />}</p>\n<p>2.3</p>\n<p>\"recipient\": {<br />\"name\": \"Test User\",<br />\"countryIsoCode\": \"BG\",<br />\"cityId\": null,<br />\"region\": \"null\",<br />\"cityName\": \"Aidemir\",<br />\"zipCode\": \"7538\",<br />\"streetName\": \"null\",<br />\"buildingNumber\": 0,<br />\"officeId\": <strong>1297</strong>,<br />\"officeCode\": \"\",<br />\"addressText\": \"additional text, address test\",<br />\"contactPerson\": \"Test User\",<br />\"phoneNumber\": \"00889000000\",<br />\"email\": \"[22.com](<a href=\"https://mailto:2\">https://mailto:2</a>2.com)\"<br />}</p>\n","_postman_id":"98ae42aa-58b8-4e4d-8e93-e5a5460f77b7"}]}