{
	"info": {
		"_postman_id": "8b57c58a-9e65-4a98-9e14-f7c3d5a3de41",
		"name": "IC",
		"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
		"_exporter_id": "9132481"
	},
	"item": [
		{
			"name": "inventory",
			"item": [
				{
					"name": "/inventory/quote",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{authToken}}",
									"type": "string"
								}
							]
						},
						"method": "POST",
						"header": [
							{
								"key": "Content-Type",
								"value": "application/json"
							},
							{
								"key": "Accept",
								"value": "application/json"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n  \"lines\": [\n    {\n      \"sku\": \"ADDFFF\",\n      \"quantity\": \"1\"\n      }\n  ]\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{baseUrl}}/inventory/quote",
							"host": [
								"{{baseUrl}}"
							],
							"path": [
								"inventory",
								"quote"
							]
						},
						"description": "Inventory Quote: \n  \n  <h4>Request URL with sku</h4>\n  ```\n  curl -X POST \"https://dev.gw.intercars.eu/inventory/1.0.0/inventory/quote?sku=ADDFFF,ADDFFA\"\n\n  ````\n  <h4>Request URL with sku body</h4>\n  ```\n  curl -X POST \"https://dev.gw.intercars.eu/inventory/1.0.0/inventory/quote\"\n  ```\n  <h4>Request Body JSON</h4>\n  ```\n  {\n      \"lines\": [\n          {\n              \"sku\": \"ADDFFA\",\n              \"quantity\": 1\n          },\n          {\n              \"sku\": \"ADDFFF\",\n              \"quantity\": 1\n          }\n      ]\n  }\n  ```\n  <h4>Response JSON</h4>\n  ```\n  [\n      {\n          \"sku\": \"ADDFFA\",\n          \"quantity\": 1,\n          \"price\": {\n              \"currencyCode\": \"PLN\",\n              \"listPriceNet\": 12.75,\n              \"listPriceGross\": 15.68,\n              \"vatPercentage\": 23,\n              \"vatAmount\": 2.93,\n              \"refundableAmountNet\": 0,\n              \"refundableAmountGross\": 0,\n              \"customerPriceNet\": 12.75,\n              \"customerPriceGross\": 15.68\n          },\n          \"lines\": [\n              {\n                  \"sku\": \"ADDFFA\",\n                  \"location\": \"HSN\",\n                  \"availability\": 10,\n                  \"latestDeliveryDate\": \"2022-03-26\"\n              }\n          ]\n      },\n      {\n          \"sku\": \"ADDFFA\",\n          \"quantity\": 1,\n          \"price\": {\n              \"currencyCode\": \"PLN\",\n              \"listPriceNet\": 12.75,\n              \"listPriceGross\": 15.68,\n              \"vatPercentage\": 23,\n              \"vatAmount\": 2.93,\n              \"refundableAmountNet\": 0,\n              \"refundableAmountGross\": 0,\n              \"customerPriceNet\": 12.75,\n              \"customerPriceGross\": 15.68\n          },\n          \"lines\": [\n              {\n                  \"sku\": \"ADDFFA\",\n                  \"location\": \"HZA\",\n                  \"availability\": 10,\n                  \"latestDeliveryDate\": \"2022-03-26\"\n              }\n          ]\n      }\n  ]\n  ```\n"
					},
					"response": [
						{
							"name": "Success",
							"originalRequest": {
								"method": "POST",
								"header": [
									{
										"description": "Added as a part of security scheme: oauth2",
										"key": "Authorization",
										"value": "<token>"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n  \"lines\": [\n    {\n      \"sku\": \"ADDFFF\",\n      \"quantity\": 10\n    },\n    {\n      \"sku\": \"ADDFFF\",\n      \"quantity\": 10\n    }\n  ]\n}",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "{{baseUrl}}/inventory/quote?sku=ADDFFF&location=KOM",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"inventory",
										"quote"
									],
									"query": [
										{
											"key": "sku",
											"value": "ADDFFF"
										},
										{
											"key": "location",
											"value": "KOM"
										},
										{
											"key": "shipTo",
											"value": "<string>",
											"disabled": true
										}
									]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Content-Type",
									"value": "application/json"
								}
							],
							"cookie": [],
							"body": "[\n  {\n    \"sku\": \"ADDFFF\",\n    \"quantity\": 10,\n    \"price\": {\n      \"currencyCode\": \"PLN\",\n      \"listPriceNet\": 100,\n      \"listPriceGross\": 123,\n      \"vatPercentage\": 23,\n      \"vatAmount\": 23,\n      \"refundableAmount\": 0,\n      \"customerPriceNet\": 80,\n      \"customerPriceGross\": 98.4\n    },\n    \"lines\": [\n      {\n        \"location\": \"KOM\",\n        \"sku\": \"ADDFFF\",\n        \"availability\": 64705007.5585455,\n        \"latestDeliveryDate\": \"2019-04-18\"\n      },\n      {\n        \"location\": \"KOM\",\n        \"sku\": \"ADDFFF\",\n        \"availability\": 66482730.38726246,\n        \"latestDeliveryDate\": \"2019-04-18\"\n      }\n    ]\n  },\n  {\n    \"sku\": \"ADDFFF\",\n    \"quantity\": 10,\n    \"price\": {\n      \"currencyCode\": \"PLN\",\n      \"listPriceNet\": 100,\n      \"listPriceGross\": 123,\n      \"vatPercentage\": 23,\n      \"vatAmount\": 23,\n      \"refundableAmount\": 0,\n      \"customerPriceNet\": 80,\n      \"customerPriceGross\": 98.4\n    },\n    \"lines\": [\n      {\n        \"location\": \"KOM\",\n        \"sku\": \"ADDFFF\",\n        \"availability\": 73136080.56703997,\n        \"latestDeliveryDate\": \"2019-04-18\"\n      },\n      {\n        \"location\": \"KOM\",\n        \"sku\": \"ADDFFF\",\n        \"availability\": -66373958.16354758,\n        \"latestDeliveryDate\": \"2019-04-18\"\n      }\n    ]\n  }\n]"
						},
						{
							"name": "Syntactically incorrect request",
							"originalRequest": {
								"method": "POST",
								"header": [
									{
										"description": "Added as a part of security scheme: oauth2",
										"key": "Authorization",
										"value": "<token>"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n  \"lines\": [\n    {\n      \"sku\": \"ADDFFF\",\n      \"quantity\": 10\n    },\n    {\n      \"sku\": \"ADDFFF\",\n      \"quantity\": 10\n    }\n  ]\n}",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "{{baseUrl}}/inventory/quote?sku=ADDFFF,ADDFFF&location=KOM,KOM&shipTo=<string>",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"inventory",
										"quote"
									],
									"query": [
										{
											"key": "sku",
											"value": "ADDFFF,ADDFFF"
										},
										{
											"key": "location",
											"value": "KOM,KOM"
										},
										{
											"key": "shipTo",
											"value": "<string>"
										}
									]
								}
							},
							"status": "Bad Request",
							"code": 400,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Content-Type",
									"value": "application/json"
								}
							],
							"cookie": [],
							"body": "[\n  {\n    \"code\": \"faultInvalidContract\",\n    \"details\": \"Invalid Currency Code !\"\n  },\n  {\n    \"code\": \"faultInvalidContract\",\n    \"details\": \"Invalid Currency Code !\"\n  }\n]"
						},
						{
							"name": "Unauthorized",
							"originalRequest": {
								"method": "POST",
								"header": [
									{
										"description": "Added as a part of security scheme: oauth2",
										"key": "Authorization",
										"value": "<token>"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n  \"lines\": [\n    {\n      \"sku\": \"ADDFFF\",\n      \"quantity\": 10\n    },\n    {\n      \"sku\": \"ADDFFF\",\n      \"quantity\": 10\n    }\n  ]\n}",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "{{baseUrl}}/inventory/quote?sku=ADDFFF,ADDFFF&location=KOM,KOM&shipTo=<string>",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"inventory",
										"quote"
									],
									"query": [
										{
											"key": "sku",
											"value": "ADDFFF,ADDFFF"
										},
										{
											"key": "location",
											"value": "KOM,KOM"
										},
										{
											"key": "shipTo",
											"value": "<string>"
										}
									]
								}
							},
							"status": "Unauthorized",
							"code": 401,
							"_postman_previewlanguage": "text",
							"header": [
								{
									"key": "Content-Type",
									"value": "text/plain"
								}
							],
							"cookie": [],
							"body": ""
						},
						{
							"name": "Forbidden",
							"originalRequest": {
								"method": "POST",
								"header": [
									{
										"description": "Added as a part of security scheme: oauth2",
										"key": "Authorization",
										"value": "<token>"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n  \"lines\": [\n    {\n      \"sku\": \"ADDFFF\",\n      \"quantity\": 10\n    },\n    {\n      \"sku\": \"ADDFFF\",\n      \"quantity\": 10\n    }\n  ]\n}",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "{{baseUrl}}/inventory/quote?sku=ADDFFF,ADDFFF&location=KOM,KOM&shipTo=<string>",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"inventory",
										"quote"
									],
									"query": [
										{
											"key": "sku",
											"value": "ADDFFF,ADDFFF"
										},
										{
											"key": "location",
											"value": "KOM,KOM"
										},
										{
											"key": "shipTo",
											"value": "<string>"
										}
									]
								}
							},
							"status": "Forbidden",
							"code": 403,
							"_postman_previewlanguage": "text",
							"header": [
								{
									"key": "Content-Type",
									"value": "text/plain"
								}
							],
							"cookie": [],
							"body": ""
						}
					]
				},
				{
					"name": "calculate Balance List",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{authToken}}",
									"type": "string"
								}
							]
						},
						"method": "GET",
						"header": [
							{
								"key": "Accept",
								"value": "application/json"
							}
						],
						"url": {
							"raw": "{{baseUrl}}/inventory/stock?sku=ADDFFF&location=KOM",
							"host": [
								"{{baseUrl}}"
							],
							"path": [
								"inventory",
								"stock"
							],
							"query": [
								{
									"key": "sku",
									"value": "ADDFFF",
									"description": "(Required) The SKU is the Inter Cars product identifier from the IC product catalog. This parameter gives \nyou control to limits the results set to items from the specified SKU. For example, if you\nsearch for ADDFFF availability ([URL]?sku=ADDFFF), the result will give you information about\nnumber of ADDFFF product that are available for purchase. You can also use any combination \nof the location and sku to filter the result set. \nMaximum: 30 SKUs \nRequired: 1 SKU\n"
								},
								{
									"key": "location",
									"value": "KOM",
									"description": "This field lets you filter by item location and is used to limit the results to \nspecified warehouse. From the business meaning, the location is the code of Inter Cars unit. \nFor example, if you search for product availability in HZA warehouse ([URL]?location=HZA), \nthe result set will be limited to this specified location. \nMaximum: 10 warehouse codes \nDefault: Empty value - state are returned for all warehouses from customer logistic path.\n"
								},
								{
									"key": "shipTo",
									"value": "",
									"description": "This field allows to set receiver party customer identifier according to main customer database. \nIf not provided, receiver and payer are considered the same and are taken from authorization token.\n",
									"disabled": true
								}
							]
						},
						"description": "Stock inventory:\n\nThis method retrieves the details of estimated number of item that are available for purchase. \nThe calling system, via the service, can download data on the availability of certain warehouse \nitems, for example in the process of handling sales orders. If the location of the Inter Cars \nwarehouse is specified in the operation call, the state is only designated for this warehouse. \nOtherwise, state are returned for all warehouses from customer logistic path.\nMaxiumum of 30 SKUs per request is allowed.\n\n<h4>Request URL without location definition</h4>\n```\ncurl -X GET \"https://dev.gw.intercars.eu/inventory/1.0.0/inventory/stock?sku=ADDFFF,ADDFFA\"\n```\n<h4>Request URL with location definition</h4>\n```\ncurl -X GET \"https://dev.gw.intercars.eu/inventory/1.0.0/inventory/stock?sku=ADDFFF,ADDFFA&location=POZ,HZA\"\n```\n<h4>Request URL with receiver party definition</h4>\n```\ncurl -X GET \"https://dev.gw.intercars.eu/inventory/1.0.0/inventory/stock?sku=ADDFFF,ADDFFA&shipTo=00008\"\n```\n<h4>Response JSON</h4>\n```\n[\n  {\n    \"location\": \"POZ\",\n    \"sku\": \"ADDFFF\",\n    \"availability\": 0,\n    \"latestDeliveryDate\": null\n  },\n  {\n    \"location\": \"POZ\",\n    \"sku\": \"ADDFFA\",\n    \"availability\": 5,\n    \"latestDeliveryDate\": \"2020-03-27\"\n  },\n  {\n    \"location\": \"HZA\",\n    \"sku\": \"ADDFFF\",\n    \"availability\": 10,\n    \"latestDeliveryDate\": \"2020-03-29\"\n  },\n  {\n    \"location\": \"HZA\",\n    \"sku\": \"ADDFFA\",\n    \"availability\": 10,\n    \"latestDeliveryDate\": \"2020-03-29\"\n  }\n]\n```\nNote, that all of estimated number of item which are returned by this method are available\nfor puchase. In case of response presented above, you can buy 11 units of ADDFFF and 15 units\nof ADDFFA.\n"
					},
					"response": [
						{
							"name": "Success",
							"originalRequest": {
								"method": "GET",
								"header": [
									{
										"description": "Added as a part of security scheme: oauth2",
										"key": "Authorization",
										"value": "<token>"
									}
								],
								"url": {
									"raw": "{{baseUrl}}/inventory/stock?sku=ADDFFF,ADDFFF&location=KOM",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"inventory",
										"stock"
									],
									"query": [
										{
											"key": "sku",
											"value": "ADDFFF,ADDFFF"
										},
										{
											"key": "location",
											"value": "KOM"
										},
										{
											"key": "shipTo",
											"value": "<string>",
											"disabled": true
										}
									]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Content-Type",
									"value": "application/json"
								}
							],
							"cookie": [],
							"body": "[\n  {\n    \"location\": \"KOM\",\n    \"sku\": \"ADDFFF\",\n    \"availability\": -23276819.78425251,\n    \"latestDeliveryDate\": \"2013-07-28\"\n  },\n  {\n    \"location\": \"KOM\",\n    \"sku\": \"ADDFFF\",\n    \"availability\": 50119645.197573185,\n    \"latestDeliveryDate\": \"1990-02-25\"\n  }\n]"
						},
						{
							"name": "Syntactically incorrect request",
							"originalRequest": {
								"method": "GET",
								"header": [
									{
										"description": "Added as a part of security scheme: oauth2",
										"key": "Authorization",
										"value": "<token>"
									}
								],
								"url": {
									"raw": "{{baseUrl}}/inventory/stock?sku=ADDFFF,ADDFFF&location=KOM,KOM&shipTo=<string>",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"inventory",
										"stock"
									],
									"query": [
										{
											"key": "sku",
											"value": "ADDFFF,ADDFFF"
										},
										{
											"key": "location",
											"value": "KOM,KOM"
										},
										{
											"key": "shipTo",
											"value": "<string>"
										}
									]
								}
							},
							"status": "Bad Request",
							"code": 400,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Content-Type",
									"value": "application/json"
								}
							],
							"cookie": [],
							"body": "[\n  {\n    \"code\": \"faultInvalidContract\",\n    \"details\": \"Invalid Currency Code !\"\n  },\n  {\n    \"code\": \"faultInvalidContract\",\n    \"details\": \"Invalid Currency Code !\"\n  }\n]"
						},
						{
							"name": "Unauthorized",
							"originalRequest": {
								"method": "GET",
								"header": [
									{
										"description": "Added as a part of security scheme: oauth2",
										"key": "Authorization",
										"value": "<token>"
									}
								],
								"url": {
									"raw": "{{baseUrl}}/inventory/stock?sku=ADDFFF,ADDFFF&location=KOM,KOM&shipTo=<string>",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"inventory",
										"stock"
									],
									"query": [
										{
											"key": "sku",
											"value": "ADDFFF,ADDFFF"
										},
										{
											"key": "location",
											"value": "KOM,KOM"
										},
										{
											"key": "shipTo",
											"value": "<string>"
										}
									]
								}
							},
							"status": "Unauthorized",
							"code": 401,
							"_postman_previewlanguage": "text",
							"header": [
								{
									"key": "Content-Type",
									"value": "text/plain"
								}
							],
							"cookie": [],
							"body": ""
						},
						{
							"name": "Forbidden",
							"originalRequest": {
								"method": "GET",
								"header": [
									{
										"description": "Added as a part of security scheme: oauth2",
										"key": "Authorization",
										"value": "<token>"
									}
								],
								"url": {
									"raw": "{{baseUrl}}/inventory/stock?sku=ADDFFF,ADDFFF&location=KOM,KOM&shipTo=<string>",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"inventory",
										"stock"
									],
									"query": [
										{
											"key": "sku",
											"value": "ADDFFF,ADDFFF"
										},
										{
											"key": "location",
											"value": "KOM,KOM"
										},
										{
											"key": "shipTo",
											"value": "<string>"
										}
									]
								}
							},
							"status": "Forbidden",
							"code": 403,
							"_postman_previewlanguage": "text",
							"header": [
								{
									"key": "Content-Type",
									"value": "text/plain"
								}
							],
							"cookie": [],
							"body": ""
						}
					]
				},
				{
					"name": "/inventory/stock",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{authToken}}",
									"type": "string"
								}
							]
						},
						"method": "POST",
						"header": [
							{
								"key": "Content-Type",
								"value": "application/json"
							},
							{
								"key": "Accept",
								"value": "application/json"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n  \"sku\": \"ADDFFF\"\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{baseUrl}}/inventory/stock?location=KOM",
							"host": [
								"{{baseUrl}}"
							],
							"path": [
								"inventory",
								"stock"
							],
							"query": [
								{
									"key": "location",
									"value": "KOM",
									"description": "Stock warehouse\nMaximum: 10 warehouse codes \nDefault: Empty value - state are returned for all warehouses from customer logistic path.\n"
								},
								{
									"key": "shipTo",
									"value": "<string>",
									"description": "This field allows to set receiver party if it's not same as payer party. \n",
									"disabled": true
								}
							]
						},
						"description": "Stock inventory request with many SKUs (100+). Response is same as GET Inventory Stock.    \n"
					},
					"response": [
						{
							"name": "Success",
							"originalRequest": {
								"method": "POST",
								"header": [
									{
										"description": "Added as a part of security scheme: oauth2",
										"key": "Authorization",
										"value": "<token>"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n  \"sku\": \"ADDFFF,ADDFA,ADDFZ\"\n}",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "{{baseUrl}}/inventory/stock?location=KOM",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"inventory",
										"stock"
									],
									"query": [
										{
											"key": "location",
											"value": "KOM"
										},
										{
											"key": "shipTo",
											"value": "<string>",
											"disabled": true
										}
									]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Content-Type",
									"value": "application/json"
								}
							],
							"cookie": [],
							"body": "[\n  {\n    \"location\": \"KOM\",\n    \"sku\": \"ADDFFF\",\n    \"availability\": 12,\n    \"latestDeliveryDate\": \"2019-04-18\"\n  },\n  {\n    \"location\": \"KOM\",\n    \"sku\": \"ADDFFF\",\n    \"availability\": 7,\n    \"latestDeliveryDate\": \"2019-04-18\"\n  }\n]"
						},
						{
							"name": "Syntactically incorrect request",
							"originalRequest": {
								"method": "POST",
								"header": [
									{
										"description": "Added as a part of security scheme: oauth2",
										"key": "Authorization",
										"value": "<token>"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n  \"sku\": \"ADDFFF,ADDFA,ADDFZ\"\n}",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "{{baseUrl}}/inventory/stock?location=KOM,KOM&shipTo=<string>",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"inventory",
										"stock"
									],
									"query": [
										{
											"key": "location",
											"value": "KOM,KOM"
										},
										{
											"key": "shipTo",
											"value": "<string>"
										}
									]
								}
							},
							"status": "Bad Request",
							"code": 400,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Content-Type",
									"value": "application/json"
								}
							],
							"cookie": [],
							"body": "[\n  {\n    \"code\": \"faultInvalidContract\",\n    \"details\": \"Invalid Currency Code !\"\n  },\n  {\n    \"code\": \"faultInvalidContract\",\n    \"details\": \"Invalid Currency Code !\"\n  }\n]"
						},
						{
							"name": "Unauthorized",
							"originalRequest": {
								"method": "POST",
								"header": [
									{
										"description": "Added as a part of security scheme: oauth2",
										"key": "Authorization",
										"value": "<token>"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n  \"sku\": \"ADDFFF,ADDFA,ADDFZ\"\n}",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "{{baseUrl}}/inventory/stock?location=KOM,KOM&shipTo=<string>",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"inventory",
										"stock"
									],
									"query": [
										{
											"key": "location",
											"value": "KOM,KOM"
										},
										{
											"key": "shipTo",
											"value": "<string>"
										}
									]
								}
							},
							"status": "Unauthorized",
							"code": 401,
							"_postman_previewlanguage": "text",
							"header": [
								{
									"key": "Content-Type",
									"value": "text/plain"
								}
							],
							"cookie": [],
							"body": ""
						},
						{
							"name": "Forbidden",
							"originalRequest": {
								"method": "POST",
								"header": [
									{
										"description": "Added as a part of security scheme: oauth2",
										"key": "Authorization",
										"value": "<token>"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n  \"sku\": \"ADDFFF,ADDFA,ADDFZ\"\n}",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "{{baseUrl}}/inventory/stock?location=KOM,KOM&shipTo=<string>",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"inventory",
										"stock"
									],
									"query": [
										{
											"key": "location",
											"value": "KOM,KOM"
										},
										{
											"key": "shipTo",
											"value": "<string>"
										}
									]
								}
							},
							"status": "Forbidden",
							"code": 403,
							"_postman_previewlanguage": "text",
							"header": [
								{
									"key": "Content-Type",
									"value": "text/plain"
								}
							],
							"cookie": [],
							"body": ""
						}
					]
				}
			],
			"event": [
				{
					"listen": "prerequest",
					"script": {
						"type": "text/javascript",
						"exec": [
							""
						]
					}
				},
				{
					"listen": "test",
					"script": {
						"type": "text/javascript",
						"exec": [
							""
						]
					}
				}
			]
		},
		{
			"name": "delivery",
			"item": [
				{
					"name": "search Delivery",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{authToken}}",
									"type": "string"
								}
							]
						},
						"method": "GET",
						"header": [
							{
								"key": "Accept",
								"value": "application/json"
							}
						],
						"url": {
							"raw": "{{baseUrl}}/delivery?creationDateFrom=2023-01-13&creationDateTo=2023-01-15&offset=1&limit=20",
							"host": [
								"{{baseUrl}}"
							],
							"path": [
								"delivery"
							],
							"query": [
								{
									"key": "creationDateFrom",
									"value": "2023-01-13",
									"description": "(Required) Description:\nThe start date of the delivery window (earliest projected delivery date). This value is taken \nin UTC format (yyyy-MM-dd). Note that creationDateFrom and creationDateTo are obligatory, \nso you need to define both of parameter. \nRestriction: Two days maximum windows is supported, so the period time between end date and \nstart date could not be bigger than 2. \n"
								},
								{
									"key": "creationDateTo",
									"value": "2023-01-15",
									"description": "(Required) Description:\nThe end date of the delivery window (latest projected delivery date). This value is taken \nin UTC format (yyyy-MM-dd). Note that creationDateFrom and creationDateTo are obligatory, \nso you need to define both of parameter. \nRestriction: Two days maximum windows is supported, so the period time between end date and \nstart date could not be bigger than 2. \n"
								},
								{
									"key": "offset",
									"value": "1",
									"description": "Specifies the number of items to skip in the result set. This is used with the limit field \nto control the pagination of the output. If offset is 1 and limit is 10, the method will \nretrieve items 1-10 from the list of items returned, if offset is 11 and limit is 10, the \nmethod will retrieve items 11 thru 20 from the list of items returned. \nValid Values: 0-10,000 (inclusive) \nDefault: 1\n"
								},
								{
									"key": "limit",
									"value": "20",
									"description": "The number of items from the result set returned in a single page. \nDefault: 20 \nMaximum number of items per page (limit): 50\n"
								}
							]
						},
						"description": "This method searches for deliveries by various query parameters and retrieves list of deliveries. \nCurrent version supports only delivery creation date so you can limit your set of deliveries to given period time. \nFor example, you can limit response to last 7 days. \nAdditionaly, this method is supporting pagination controls (limit and offset fields) which allow you to control \nsize of returned orders page. Note, that if you does not define pagination controls, the default value will be taken.\n\n<h4>Request URL</h4>\n```\ncurl -X GET \"https://webapi.intercars.eu/v1/delivery?creationDateFrom=2021-07-29&creationDateTo=2021-08-05&offset=1&limit=20\"\n```\n<h4>Response JSON</h4>\n```\n[\n  {\n    \"id\": \"LAZ/19/0001\",\n    \"orderId\": \"LAZ/19/0001\",\n    \"currencyCode\": \"PLN\",\n    \"billTo\": \"000008\",\n    \"shipTo\": \"000008\",\n    \"shipFrom\": \"LAZ\",\n    \"deliveryMethod\": \"DHL\",\n    \"creationDate\": \"2021-07-30T10:12:32.321\",\n    \"lines\": [\n      {\n        \"sku\": \"ADDFFF\",\n        \"name\": \"Filtr oleju\",\n        \"index\": \"0 451 103 276\",\n        \"shippedQuantity\": 5,\n        \"unitPriceNet\": 100,\n        \"unitPriceGross\": 123,\n        \"vatPercentage\": 23,\n        \"totalNet\": 500,\n        \"totalGross\": 615\n      }\n    ]\n  }\n]\n```\n"
					},
					"response": [
						{
							"name": "successful operation",
							"originalRequest": {
								"method": "GET",
								"header": [
									{
										"description": "Added as a part of security scheme: oauth2",
										"key": "Authorization",
										"value": "<token>"
									}
								],
								"url": {
									"raw": "{{baseUrl}}/delivery?creationDateFrom=1997-09-13&creationDateTo=1997-09-15&offset=1&limit=20",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"delivery"
									],
									"query": [
										{
											"key": "creationDateFrom",
											"value": "1997-09-13"
										},
										{
											"key": "creationDateTo",
											"value": "1997-09-15"
										},
										{
											"key": "offset",
											"value": "1"
										},
										{
											"key": "limit",
											"value": "20"
										}
									]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Content-Type",
									"value": "application/json"
								}
							],
							"cookie": [],
							"body": "[\n  {\n    \"id\": \"LAZ/19/0001\",\n    \"orderId\": \"LAZ/19/0001\",\n    \"currencyCode\": \"PLN\",\n    \"billTo\": \"8.0\",\n    \"shipTo\": \"8.0\",\n    \"shipFrom\": \"LAZ\",\n    \"deliveryMethod\": \"DHL\",\n    \"creationDate\": \"1997-09-13T05:09:51.986Z\",\n    \"lines\": [\n      {\n        \"sku\": \"ADDFFF\",\n        \"shippedQuantity\": 3737823,\n        \"name\": \"Filtr oleju\",\n        \"index\": \"0 451 103 276\",\n        \"unitPriceNet\": 100,\n        \"unitPriceGross\": 123,\n        \"vatPercentage\": 23,\n        \"totalNet\": 500,\n        \"totalGross\": 615\n      },\n      {\n        \"sku\": \"ADDFFF\",\n        \"shippedQuantity\": -52408408,\n        \"name\": \"Filtr oleju\",\n        \"index\": \"0 451 103 276\",\n        \"unitPriceNet\": 100,\n        \"unitPriceGross\": 123,\n        \"vatPercentage\": 23,\n        \"totalNet\": 500,\n        \"totalGross\": 615\n      }\n    ]\n  },\n  {\n    \"id\": \"LAZ/19/0001\",\n    \"orderId\": \"LAZ/19/0001\",\n    \"currencyCode\": \"PLN\",\n    \"billTo\": \"8.0\",\n    \"shipTo\": \"8.0\",\n    \"shipFrom\": \"LAZ\",\n    \"deliveryMethod\": \"DHL\",\n    \"creationDate\": \"1970-01-23T12:39:43.001Z\",\n    \"lines\": [\n      {\n        \"sku\": \"ADDFFF\",\n        \"shippedQuantity\": 5016316,\n        \"name\": \"Filtr oleju\",\n        \"index\": \"0 451 103 276\",\n        \"unitPriceNet\": 100,\n        \"unitPriceGross\": 123,\n        \"vatPercentage\": 23,\n        \"totalNet\": 500,\n        \"totalGross\": 615\n      },\n      {\n        \"sku\": \"ADDFFF\",\n        \"shippedQuantity\": 71088157,\n        \"name\": \"Filtr oleju\",\n        \"index\": \"0 451 103 276\",\n        \"unitPriceNet\": 100,\n        \"unitPriceGross\": 123,\n        \"vatPercentage\": 23,\n        \"totalNet\": 500,\n        \"totalGross\": 615\n      }\n    ]\n  }\n]"
						},
						{
							"name": "Syntactically incorrect request",
							"originalRequest": {
								"method": "GET",
								"header": [
									{
										"description": "Added as a part of security scheme: oauth2",
										"key": "Authorization",
										"value": "<token>"
									}
								],
								"url": {
									"raw": "{{baseUrl}}/delivery?creationDateFrom=<date>&creationDateTo=<date>&offset=<integer>&limit=<integer>",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"delivery"
									],
									"query": [
										{
											"key": "creationDateFrom",
											"value": "<date>"
										},
										{
											"key": "creationDateTo",
											"value": "<date>"
										},
										{
											"key": "offset",
											"value": "<integer>"
										},
										{
											"key": "limit",
											"value": "<integer>"
										}
									]
								}
							},
							"status": "Bad Request",
							"code": 400,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Content-Type",
									"value": "application/json"
								}
							],
							"cookie": [],
							"body": "[\n  {\n    \"code\": \"faultInvalidContract\",\n    \"details\": \"Invalid Currency Code !\"\n  },\n  {\n    \"code\": \"faultInvalidContract\",\n    \"details\": \"Invalid Currency Code !\"\n  }\n]"
						},
						{
							"name": "Unauthorized",
							"originalRequest": {
								"method": "GET",
								"header": [
									{
										"description": "Added as a part of security scheme: oauth2",
										"key": "Authorization",
										"value": "<token>"
									}
								],
								"url": {
									"raw": "{{baseUrl}}/delivery?creationDateFrom=<date>&creationDateTo=<date>&offset=<integer>&limit=<integer>",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"delivery"
									],
									"query": [
										{
											"key": "creationDateFrom",
											"value": "<date>"
										},
										{
											"key": "creationDateTo",
											"value": "<date>"
										},
										{
											"key": "offset",
											"value": "<integer>"
										},
										{
											"key": "limit",
											"value": "<integer>"
										}
									]
								}
							},
							"status": "Unauthorized",
							"code": 401,
							"_postman_previewlanguage": "text",
							"header": [
								{
									"key": "Content-Type",
									"value": "text/plain"
								}
							],
							"cookie": [],
							"body": ""
						},
						{
							"name": "Forbidden",
							"originalRequest": {
								"method": "GET",
								"header": [
									{
										"description": "Added as a part of security scheme: oauth2",
										"key": "Authorization",
										"value": "<token>"
									}
								],
								"url": {
									"raw": "{{baseUrl}}/delivery?creationDateFrom=<date>&creationDateTo=<date>&offset=<integer>&limit=<integer>",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"delivery"
									],
									"query": [
										{
											"key": "creationDateFrom",
											"value": "<date>"
										},
										{
											"key": "creationDateTo",
											"value": "<date>"
										},
										{
											"key": "offset",
											"value": "<integer>"
										},
										{
											"key": "limit",
											"value": "<integer>"
										}
									]
								}
							},
							"status": "Forbidden",
							"code": 403,
							"_postman_previewlanguage": "text",
							"header": [
								{
									"key": "Content-Type",
									"value": "text/plain"
								}
							],
							"cookie": [],
							"body": ""
						}
					]
				},
				{
					"name": "get Delivery",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{authToken}}",
									"type": "string"
								}
							]
						},
						"method": "GET",
						"header": [
							{
								"key": "Accept",
								"value": "application/json"
							}
						],
						"url": {
							"raw": "{{baseUrl}}/delivery/:id",
							"host": [
								"{{baseUrl}}"
							],
							"path": [
								"delivery",
								":id"
							],
							"variable": [
								{
									"key": "id",
									"value": "LAZ%2F19%2F0001",
									"description": "(Required) Internal shipment id"
								}
							]
						},
						"description": "This call retrieves single dalivery detailed data. The unique identifier (delivery.id) is passed \nin at the end of the call URI. For example, if you want to get detailed information about your PLXYZ00000001 \ndelivery, you need to invoke request as /delivery/PLXYZ00000001. As a response, you will get deliveries \ncollection containing all products lines in delivery.\n\n<h4>Request URL</h4>\n```\ncurl -X GET \"https://webapi.intercars.eu/v1/delivery/IC10000001\"\n```\n<h4>Response JSON</h4>\n```\n[\n  {\n    \"id\": \"LAZ/19/0001\",\n    \"orderId\": \"LAZ/19/0001\",\n    \"currencyCode\": \"PLN\",\n    \"billTo\": \"000008\",\n    \"shipTo\": \"000008\",\n    \"shipFrom\": \"LAZ\",\n    \"deliveryMethod\": \"DHL\",\n    \"creationDate\": \"2021-07-30T10:12:32.321\",\n    \"lines\": [\n      {\n        \"sku\": \"ADDFFF\",\n        \"name\": \"Filtr oleju\",\n        \"index\": \"0 451 103 276\",\n        \"shippedQuantity\": 0,\n        \"unitPriceNet\": 100,\n        \"unitPriceGross\": 123,\n        \"vatPercentage\": 23,\n        \"totalNet\": 500,\n        \"totalGross\": 615\n      }\n    ]\n  }\n]\n```\n"
					},
					"response": [
						{
							"name": "successful operation",
							"originalRequest": {
								"method": "GET",
								"header": [
									{
										"description": "Added as a part of security scheme: oauth2",
										"key": "Authorization",
										"value": "<token>"
									}
								],
								"url": {
									"raw": "{{baseUrl}}/delivery/:id",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"delivery",
										":id"
									],
									"variable": [
										{
											"key": "id",
											"value": "LAZ%2F19%2F0001",
											"description": "(Required) Internal shipment id"
										}
									]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Content-Type",
									"value": "application/json"
								}
							],
							"cookie": [],
							"body": "[\n  {\n    \"id\": \"LAZ/19/0001\",\n    \"orderId\": \"LAZ/19/0001\",\n    \"currencyCode\": \"PLN\",\n    \"billTo\": \"8.0\",\n    \"shipTo\": \"8.0\",\n    \"shipFrom\": \"LAZ\",\n    \"deliveryMethod\": \"DHL\",\n    \"creationDate\": \"1997-09-13T05:09:51.986Z\",\n    \"lines\": [\n      {\n        \"sku\": \"ADDFFF\",\n        \"shippedQuantity\": 3737823,\n        \"name\": \"Filtr oleju\",\n        \"index\": \"0 451 103 276\",\n        \"unitPriceNet\": 100,\n        \"unitPriceGross\": 123,\n        \"vatPercentage\": 23,\n        \"totalNet\": 500,\n        \"totalGross\": 615\n      },\n      {\n        \"sku\": \"ADDFFF\",\n        \"shippedQuantity\": -52408408,\n        \"name\": \"Filtr oleju\",\n        \"index\": \"0 451 103 276\",\n        \"unitPriceNet\": 100,\n        \"unitPriceGross\": 123,\n        \"vatPercentage\": 23,\n        \"totalNet\": 500,\n        \"totalGross\": 615\n      }\n    ]\n  },\n  {\n    \"id\": \"LAZ/19/0001\",\n    \"orderId\": \"LAZ/19/0001\",\n    \"currencyCode\": \"PLN\",\n    \"billTo\": \"8.0\",\n    \"shipTo\": \"8.0\",\n    \"shipFrom\": \"LAZ\",\n    \"deliveryMethod\": \"DHL\",\n    \"creationDate\": \"1970-01-23T12:39:43.001Z\",\n    \"lines\": [\n      {\n        \"sku\": \"ADDFFF\",\n        \"shippedQuantity\": 5016316,\n        \"name\": \"Filtr oleju\",\n        \"index\": \"0 451 103 276\",\n        \"unitPriceNet\": 100,\n        \"unitPriceGross\": 123,\n        \"vatPercentage\": 23,\n        \"totalNet\": 500,\n        \"totalGross\": 615\n      },\n      {\n        \"sku\": \"ADDFFF\",\n        \"shippedQuantity\": 71088157,\n        \"name\": \"Filtr oleju\",\n        \"index\": \"0 451 103 276\",\n        \"unitPriceNet\": 100,\n        \"unitPriceGross\": 123,\n        \"vatPercentage\": 23,\n        \"totalNet\": 500,\n        \"totalGross\": 615\n      }\n    ]\n  }\n]"
						},
						{
							"name": "Syntactically incorrect request",
							"originalRequest": {
								"method": "GET",
								"header": [
									{
										"description": "Added as a part of security scheme: oauth2",
										"key": "Authorization",
										"value": "<token>"
									}
								],
								"url": {
									"raw": "{{baseUrl}}/delivery/:id",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"delivery",
										":id"
									],
									"variable": [
										{
											"key": "id",
											"value": "<string>",
											"description": "(Required) Internal shipment id"
										}
									]
								}
							},
							"status": "Bad Request",
							"code": 400,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Content-Type",
									"value": "application/json"
								}
							],
							"cookie": [],
							"body": "[\n  {\n    \"code\": \"faultInvalidContract\",\n    \"details\": \"Invalid Currency Code !\"\n  },\n  {\n    \"code\": \"faultInvalidContract\",\n    \"details\": \"Invalid Currency Code !\"\n  }\n]"
						},
						{
							"name": "Unauthorized",
							"originalRequest": {
								"method": "GET",
								"header": [
									{
										"description": "Added as a part of security scheme: oauth2",
										"key": "Authorization",
										"value": "<token>"
									}
								],
								"url": {
									"raw": "{{baseUrl}}/delivery/:id",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"delivery",
										":id"
									],
									"variable": [
										{
											"key": "id",
											"value": "<string>",
											"description": "(Required) Internal shipment id"
										}
									]
								}
							},
							"status": "Unauthorized",
							"code": 401,
							"_postman_previewlanguage": "text",
							"header": [
								{
									"key": "Content-Type",
									"value": "text/plain"
								}
							],
							"cookie": [],
							"body": ""
						},
						{
							"name": "Forbidden",
							"originalRequest": {
								"method": "GET",
								"header": [
									{
										"description": "Added as a part of security scheme: oauth2",
										"key": "Authorization",
										"value": "<token>"
									}
								],
								"url": {
									"raw": "{{baseUrl}}/delivery/:id",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"delivery",
										":id"
									],
									"variable": [
										{
											"key": "id",
											"value": "<string>",
											"description": "(Required) Internal shipment id"
										}
									]
								}
							},
							"status": "Forbidden",
							"code": 403,
							"_postman_previewlanguage": "text",
							"header": [
								{
									"key": "Content-Type",
									"value": "text/plain"
								}
							],
							"cookie": [],
							"body": ""
						},
						{
							"name": "Delivery not Found",
							"originalRequest": {
								"method": "GET",
								"header": [
									{
										"description": "Added as a part of security scheme: oauth2",
										"key": "Authorization",
										"value": "<token>"
									}
								],
								"url": {
									"raw": "{{baseUrl}}/delivery/:id",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"delivery",
										":id"
									],
									"variable": [
										{
											"key": "id",
											"value": "<string>",
											"description": "(Required) Internal shipment id"
										}
									]
								}
							},
							"status": "Not Found",
							"code": 404,
							"_postman_previewlanguage": "text",
							"header": [
								{
									"key": "Content-Type",
									"value": "text/plain"
								}
							],
							"cookie": [],
							"body": ""
						}
					]
				}
			]
		},
		{
			"name": "invoice",
			"item": [
				{
					"name": "search Invoice",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{authToken}}",
									"type": "string"
								}
							]
						},
						"method": "GET",
						"header": [
							{
								"key": "Accept",
								"value": "application/json"
							}
						],
						"url": {
							"raw": "{{baseUrl}}/invoice?issueDateFrom=2023-01-04&issueDateTo=2023-01-10&offset=1&limit=20",
							"host": [
								"{{baseUrl}}"
							],
							"path": [
								"invoice"
							],
							"query": [
								{
									"key": "issueDateFrom",
									"value": "2023-01-04",
									"description": "(Required) Description:\nThe start date of the invoices window (earliest projected invoice date). This value is taken \nin UTC format (yyyy-MM-dd). Note that salesDateFrom and salesDateTo are obligatory, so you \nneed to define both of parameter. \nRestriction: Two days maximum windows is supported, so the period time between end date and \nstart date could not be bigger than 2. \n"
								},
								{
									"key": "issueDateTo",
									"value": "2023-01-10",
									"description": "(Required) Description:\nThe end date of the invoices window (latest projected invoice date). This value is taken \nin UTC format (yyyy-MM-dd). Note that salesDateFrom and salesDateTo are obligatory, so you \nneed to define both of parameter. \nRestriction: Two days maximum windows is supported, so the period time between end date and \nstart date could not be bigger than 2. \n"
								},
								{
									"key": "offset",
									"value": "1",
									"description": "Specifies the number of items to skip in the result set. This is used with the limit field \nto control the pagination of the output. If offset is 1 and limit is 10, the method will \nretrieve items 1-10 from the list of items returned, if offset is 11 and limit is 10, the \nmethod will retrieve items 11 thru 20 from the list of items returned. \nValid Values: 0-10,000 (inclusive) \nDefault: 1\n"
								},
								{
									"key": "limit",
									"value": "20",
									"description": "The number of items from the result set returned in a single page. \nDefault: 20 \nMaximum number of items per page (limit): 50\n"
								}
							]
						},
						"description": "This method searches for invoices by various query parameters and retrieves summaries of the invoices. \nCurrent version supports only invoice date so you can limit your set of orders to given period time. \nFor example, you can limit response to last two day (/invoice?salesDateFrom=2018-01-09&salesDateTo=2018-01-11). \nAdditionaly, this method supports pagination controls (limit and offset fields) which allow you to control \nsize of returned orders page. Note, that if you does not define pagination controls, the default value will be taken.\n\n```\n[\n  {\n    \"id\": \"LAZ/19/0001\",\n    \"currencyCode\": \"PLN\",\n    \"billTo\": \"000008\",\n    \"shipTo\": \"000008\",\n    \"issueFrom\": \"KOM\",\n    \"paymentMethod\": \"CASH\",\n    \"issueDate\": \"2018-10-12T10:12:32.321\",\n    \"salesDate\": \"2018-10-12T10:12:32.321\",\n    \"dueDate\": \"2018-10-12T10:12:32.321\",\n    \"invoiceClassification\": \"INVOICE\",\n    \"invoiceType\": \"INVOICE\",\n    \"totalNet\": 500,\n    \"totalGross\": 615,\n    \"paymentStatus\": \"UNPAID\",\n    \"toBePaid\": 615,\n  }\n]\n```\n"
					},
					"response": [
						{
							"name": "successful operation",
							"originalRequest": {
								"method": "GET",
								"header": [
									{
										"description": "Added as a part of security scheme: oauth2",
										"key": "Authorization",
										"value": "<token>"
									}
								],
								"url": {
									"raw": "{{baseUrl}}/invoice?issueDateFrom=1977-03-04&issueDateTo=1977-03-05&offset=1&limit=20",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"invoice"
									],
									"query": [
										{
											"key": "issueDateFrom",
											"value": "1977-03-04"
										},
										{
											"key": "issueDateTo",
											"value": "1977-03-05"
										},
										{
											"key": "offset",
											"value": "1"
										},
										{
											"key": "limit",
											"value": "20"
										}
									]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Content-Type",
									"value": "application/json"
								}
							],
							"cookie": [],
							"body": "[\n  {\n    \"id\": \"LAZ/19/0001\",\n    \"currencyCode\": \"PLN\",\n    \"billTo\": \"8.0\",\n    \"shipTo\": \"8.0\",\n    \"issueFrom\": \"KOM\",\n    \"paymentMethod\": \"CASH\",\n    \"issueDate\": \"1977-03-04T21:44:28.599Z\",\n    \"salesDate\": \"1967-09-21T21:43:08.205Z\",\n    \"dueDate\": \"1948-06-29T17:07:02.193Z\",\n    \"invoiceClassification\": \"CREDIT_NOTE\",\n    \"invoiceType\": \"INVOICE\",\n    \"totalNet\": 500,\n    \"totalGross\": 615,\n    \"paymentStatus\": \"PARTIALLY_PAID\",\n    \"toBePaid\": 615,\n    \"relatedInvoice\": {\n      \"value\": \"<Circular reference to #/components/schemas/Invoice detected>\"\n    },\n    \"lines\": [\n      {\n        \"sku\": \"ADDFFF\",\n        \"quantity\": 5,\n        \"unitPriceNet\": 100,\n        \"unitPriceGross\": 123,\n        \"vatPercentage\": 23,\n        \"totalNet\": 500,\n        \"totalGross\": 615,\n        \"orderId\": \"LAZ/19/0001\",\n        \"deliveryId\": [\n          \"LAZ/19/001, LAZ/19/002\",\n          \"LAZ/19/001, LAZ/19/002\"\n        ]\n      },\n      {\n        \"sku\": \"ADDFFF\",\n        \"quantity\": 5,\n        \"unitPriceNet\": 100,\n        \"unitPriceGross\": 123,\n        \"vatPercentage\": 23,\n        \"totalNet\": 500,\n        \"totalGross\": 615,\n        \"orderId\": \"LAZ/19/0001\",\n        \"deliveryId\": [\n          \"LAZ/19/001, LAZ/19/002\",\n          \"LAZ/19/001, LAZ/19/002\"\n        ]\n      }\n    ]\n  },\n  {\n    \"id\": \"LAZ/19/0001\",\n    \"currencyCode\": \"PLN\",\n    \"billTo\": \"8.0\",\n    \"shipTo\": \"8.0\",\n    \"issueFrom\": \"KOM\",\n    \"paymentMethod\": \"CASH\",\n    \"issueDate\": \"1985-02-23T17:26:41.257Z\",\n    \"salesDate\": \"1973-03-24T02:27:23.618Z\",\n    \"dueDate\": \"1966-09-02T09:08:10.567Z\",\n    \"invoiceClassification\": \"CREDIT_NOTE\",\n    \"invoiceType\": \"INVOICE\",\n    \"totalNet\": 500,\n    \"totalGross\": 615,\n    \"paymentStatus\": \"UNPAID\",\n    \"toBePaid\": 615,\n    \"relatedInvoice\": {\n      \"value\": \"<Circular reference to #/components/schemas/Invoice detected>\"\n    },\n    \"lines\": [\n      {\n        \"sku\": \"ADDFFF\",\n        \"quantity\": 5,\n        \"unitPriceNet\": 100,\n        \"unitPriceGross\": 123,\n        \"vatPercentage\": 23,\n        \"totalNet\": 500,\n        \"totalGross\": 615,\n        \"orderId\": \"LAZ/19/0001\",\n        \"deliveryId\": [\n          \"LAZ/19/001, LAZ/19/002\",\n          \"LAZ/19/001, LAZ/19/002\"\n        ]\n      },\n      {\n        \"sku\": \"ADDFFF\",\n        \"quantity\": 5,\n        \"unitPriceNet\": 100,\n        \"unitPriceGross\": 123,\n        \"vatPercentage\": 23,\n        \"totalNet\": 500,\n        \"totalGross\": 615,\n        \"orderId\": \"LAZ/19/0001\",\n        \"deliveryId\": [\n          \"LAZ/19/001, LAZ/19/002\",\n          \"LAZ/19/001, LAZ/19/002\"\n        ]\n      }\n    ]\n  }\n]"
						},
						{
							"name": "Syntactically incorrect request",
							"originalRequest": {
								"method": "GET",
								"header": [
									{
										"description": "Added as a part of security scheme: oauth2",
										"key": "Authorization",
										"value": "<token>"
									}
								],
								"url": {
									"raw": "{{baseUrl}}/invoice?issueDateFrom=<date>&issueDateTo=<date>&offset=<integer>&limit=<integer>",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"invoice"
									],
									"query": [
										{
											"key": "issueDateFrom",
											"value": "<date>"
										},
										{
											"key": "issueDateTo",
											"value": "<date>"
										},
										{
											"key": "offset",
											"value": "<integer>"
										},
										{
											"key": "limit",
											"value": "<integer>"
										}
									]
								}
							},
							"status": "Bad Request",
							"code": 400,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Content-Type",
									"value": "application/json"
								}
							],
							"cookie": [],
							"body": "[\n  {\n    \"code\": \"faultInvalidContract\",\n    \"details\": \"Invalid Currency Code !\"\n  },\n  {\n    \"code\": \"faultInvalidContract\",\n    \"details\": \"Invalid Currency Code !\"\n  }\n]"
						},
						{
							"name": "Unauthorized",
							"originalRequest": {
								"method": "GET",
								"header": [
									{
										"description": "Added as a part of security scheme: oauth2",
										"key": "Authorization",
										"value": "<token>"
									}
								],
								"url": {
									"raw": "{{baseUrl}}/invoice?issueDateFrom=<date>&issueDateTo=<date>&offset=<integer>&limit=<integer>",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"invoice"
									],
									"query": [
										{
											"key": "issueDateFrom",
											"value": "<date>"
										},
										{
											"key": "issueDateTo",
											"value": "<date>"
										},
										{
											"key": "offset",
											"value": "<integer>"
										},
										{
											"key": "limit",
											"value": "<integer>"
										}
									]
								}
							},
							"status": "Unauthorized",
							"code": 401,
							"_postman_previewlanguage": "text",
							"header": [
								{
									"key": "Content-Type",
									"value": "text/plain"
								}
							],
							"cookie": [],
							"body": ""
						},
						{
							"name": "Forbidden",
							"originalRequest": {
								"method": "GET",
								"header": [
									{
										"description": "Added as a part of security scheme: oauth2",
										"key": "Authorization",
										"value": "<token>"
									}
								],
								"url": {
									"raw": "{{baseUrl}}/invoice?issueDateFrom=<date>&issueDateTo=<date>&offset=<integer>&limit=<integer>",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"invoice"
									],
									"query": [
										{
											"key": "issueDateFrom",
											"value": "<date>"
										},
										{
											"key": "issueDateTo",
											"value": "<date>"
										},
										{
											"key": "offset",
											"value": "<integer>"
										},
										{
											"key": "limit",
											"value": "<integer>"
										}
									]
								}
							},
							"status": "Forbidden",
							"code": 403,
							"_postman_previewlanguage": "text",
							"header": [
								{
									"key": "Content-Type",
									"value": "text/plain"
								}
							],
							"cookie": [],
							"body": ""
						}
					]
				},
				{
					"name": "get Invoice",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{authToken}}",
									"type": "string"
								}
							]
						},
						"method": "GET",
						"header": [
							{
								"key": "Accept",
								"value": "application/json"
							}
						],
						"url": {
							"raw": "{{baseUrl}}/invoice/:id",
							"host": [
								"{{baseUrl}}"
							],
							"path": [
								"invoice",
								":id"
							],
							"variable": [
								{
									"key": "id",
									"value": "LAZ%2F19%2F0001",
									"description": "(Required) Internal invoice id"
								}
							]
						},
						"description": "This call retrieves single invoice detailed data. The unique identifier (invoice.id) is passed in \nat the end of the call URI. For example, if you want to get detailed information about your PL00000001 \ninvoice, you need to invoke request as /invoice/PL00000001. As a response, you will get invoice details \ncontaining order and delivery references allowing to match the document with orders / requisitions.\n\n```\n[\n  {\n    \"id\": \"LAZ/19/0001\",\n    \"currencyCode\": \"PLN\",\n    \"billTo\": \"000008\",\n    \"shipTo\": \"000008\",\n    \"issueFrom\": \"KOM\",\n    \"paymentMethod\": \"CASH\",\n    \"issueDate\": \"2018-10-12T10:12:32.321\",\n    \"salesDate\": \"2018-10-12T10:12:32.321\",\n    \"dueDate\": \"2018-10-12T10:12:32.321\",\n    \"invoiceClassification\": \"INVOICE\",\n    \"invoiceType\": \"INVOICE\",\n    \"totalNet\": 500,\n    \"totalGross\": 615,\n    \"paymentStatus\": \"PAID\",\n    \"toBePaid\": 615,\n    \"lines\": [\n      {\n        \"sku\": \"ADDFFF\",\n        \"quantity\": 5,\n        \"unitPriceNet\": 100,\n        \"unitPriceGross\": 123,\n        \"vatPercentage\": 23,\n        \"totalNet\": 500,\n        \"totalGross\": 615,\n        \"orderId\": \"LAZ/19/0001\",\n        \"deliveryId\": [\n          \"LAZ/19/001, LAZ/19/002\"\n        ]\n      }\n    ]\n  }\n]\n```\n"
					},
					"response": [
						{
							"name": "successful operation",
							"originalRequest": {
								"method": "GET",
								"header": [
									{
										"description": "Added as a part of security scheme: oauth2",
										"key": "Authorization",
										"value": "<token>"
									}
								],
								"url": {
									"raw": "{{baseUrl}}/invoice/:id",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"invoice",
										":id"
									],
									"variable": [
										{
											"key": "id",
											"value": "LAZ%2F19%2F0001",
											"description": "(Required) Internal invoice id"
										}
									]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Content-Type",
									"value": "application/json"
								}
							],
							"cookie": [],
							"body": "[\n  {\n    \"id\": \"LAZ/19/0001\",\n    \"currencyCode\": \"PLN\",\n    \"billTo\": \"8.0\",\n    \"shipTo\": \"8.0\",\n    \"issueFrom\": \"KOM\",\n    \"paymentMethod\": \"CASH\",\n    \"issueDate\": \"1977-03-04T21:44:28.599Z\",\n    \"salesDate\": \"1967-09-21T21:43:08.205Z\",\n    \"dueDate\": \"1948-06-29T17:07:02.193Z\",\n    \"invoiceClassification\": \"CREDIT_NOTE\",\n    \"invoiceType\": \"INVOICE\",\n    \"totalNet\": 500,\n    \"totalGross\": 615,\n    \"paymentStatus\": \"PARTIALLY_PAID\",\n    \"toBePaid\": 615,\n    \"relatedInvoice\": {\n      \"value\": \"<Circular reference to #/components/schemas/Invoice detected>\"\n    },\n    \"lines\": [\n      {\n        \"sku\": \"ADDFFF\",\n        \"quantity\": 5,\n        \"unitPriceNet\": 100,\n        \"unitPriceGross\": 123,\n        \"vatPercentage\": 23,\n        \"totalNet\": 500,\n        \"totalGross\": 615,\n        \"orderId\": \"LAZ/19/0001\",\n        \"deliveryId\": [\n          \"LAZ/19/001, LAZ/19/002\",\n          \"LAZ/19/001, LAZ/19/002\"\n        ]\n      },\n      {\n        \"sku\": \"ADDFFF\",\n        \"quantity\": 5,\n        \"unitPriceNet\": 100,\n        \"unitPriceGross\": 123,\n        \"vatPercentage\": 23,\n        \"totalNet\": 500,\n        \"totalGross\": 615,\n        \"orderId\": \"LAZ/19/0001\",\n        \"deliveryId\": [\n          \"LAZ/19/001, LAZ/19/002\",\n          \"LAZ/19/001, LAZ/19/002\"\n        ]\n      }\n    ]\n  },\n  {\n    \"id\": \"LAZ/19/0001\",\n    \"currencyCode\": \"PLN\",\n    \"billTo\": \"8.0\",\n    \"shipTo\": \"8.0\",\n    \"issueFrom\": \"KOM\",\n    \"paymentMethod\": \"CASH\",\n    \"issueDate\": \"1985-02-23T17:26:41.257Z\",\n    \"salesDate\": \"1973-03-24T02:27:23.618Z\",\n    \"dueDate\": \"1966-09-02T09:08:10.567Z\",\n    \"invoiceClassification\": \"CREDIT_NOTE\",\n    \"invoiceType\": \"INVOICE\",\n    \"totalNet\": 500,\n    \"totalGross\": 615,\n    \"paymentStatus\": \"UNPAID\",\n    \"toBePaid\": 615,\n    \"relatedInvoice\": {\n      \"value\": \"<Circular reference to #/components/schemas/Invoice detected>\"\n    },\n    \"lines\": [\n      {\n        \"sku\": \"ADDFFF\",\n        \"quantity\": 5,\n        \"unitPriceNet\": 100,\n        \"unitPriceGross\": 123,\n        \"vatPercentage\": 23,\n        \"totalNet\": 500,\n        \"totalGross\": 615,\n        \"orderId\": \"LAZ/19/0001\",\n        \"deliveryId\": [\n          \"LAZ/19/001, LAZ/19/002\",\n          \"LAZ/19/001, LAZ/19/002\"\n        ]\n      },\n      {\n        \"sku\": \"ADDFFF\",\n        \"quantity\": 5,\n        \"unitPriceNet\": 100,\n        \"unitPriceGross\": 123,\n        \"vatPercentage\": 23,\n        \"totalNet\": 500,\n        \"totalGross\": 615,\n        \"orderId\": \"LAZ/19/0001\",\n        \"deliveryId\": [\n          \"LAZ/19/001, LAZ/19/002\",\n          \"LAZ/19/001, LAZ/19/002\"\n        ]\n      }\n    ]\n  }\n]"
						},
						{
							"name": "Syntactically incorrect request",
							"originalRequest": {
								"method": "GET",
								"header": [
									{
										"description": "Added as a part of security scheme: oauth2",
										"key": "Authorization",
										"value": "<token>"
									}
								],
								"url": {
									"raw": "{{baseUrl}}/invoice/:id",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"invoice",
										":id"
									],
									"variable": [
										{
											"key": "id",
											"value": "<string>",
											"description": "(Required) Internal invoice id"
										}
									]
								}
							},
							"status": "Bad Request",
							"code": 400,
							"_postman_previewlanguage": "text",
							"header": [
								{
									"key": "Content-Type",
									"value": "text/plain"
								}
							],
							"cookie": [],
							"body": ""
						},
						{
							"name": "Unauthorized",
							"originalRequest": {
								"method": "GET",
								"header": [
									{
										"description": "Added as a part of security scheme: oauth2",
										"key": "Authorization",
										"value": "<token>"
									}
								],
								"url": {
									"raw": "{{baseUrl}}/invoice/:id",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"invoice",
										":id"
									],
									"variable": [
										{
											"key": "id",
											"value": "<string>",
											"description": "(Required) Internal invoice id"
										}
									]
								}
							},
							"status": "Unauthorized",
							"code": 401,
							"_postman_previewlanguage": "text",
							"header": [
								{
									"key": "Content-Type",
									"value": "text/plain"
								}
							],
							"cookie": [],
							"body": ""
						},
						{
							"name": "Forbidden",
							"originalRequest": {
								"method": "GET",
								"header": [
									{
										"description": "Added as a part of security scheme: oauth2",
										"key": "Authorization",
										"value": "<token>"
									}
								],
								"url": {
									"raw": "{{baseUrl}}/invoice/:id",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"invoice",
										":id"
									],
									"variable": [
										{
											"key": "id",
											"value": "<string>",
											"description": "(Required) Internal invoice id"
										}
									]
								}
							},
							"status": "Forbidden",
							"code": 403,
							"_postman_previewlanguage": "text",
							"header": [
								{
									"key": "Content-Type",
									"value": "text/plain"
								}
							],
							"cookie": [],
							"body": ""
						},
						{
							"name": "Invoice not found",
							"originalRequest": {
								"method": "GET",
								"header": [
									{
										"description": "Added as a part of security scheme: oauth2",
										"key": "Authorization",
										"value": "<token>"
									}
								],
								"url": {
									"raw": "{{baseUrl}}/invoice/:id",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"invoice",
										":id"
									],
									"variable": [
										{
											"key": "id",
											"value": "<string>",
											"description": "(Required) Internal invoice id"
										}
									]
								}
							},
							"status": "Not Found",
							"code": 404,
							"_postman_previewlanguage": "text",
							"header": [
								{
									"key": "Content-Type",
									"value": "text/plain"
								}
							],
							"cookie": [],
							"body": ""
						}
					]
				}
			]
		},
		{
			"name": "sales",
			"item": [
				{
					"name": "submit Requisition",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{authToken}}",
									"type": "string"
								}
							]
						},
						"method": "POST",
						"header": [
							{
								"key": "Content-Type",
								"value": "application/json"
							},
							{
								"key": "Accept",
								"value": "application/json"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n  \"lines\": [\n    {\n      \"sku\": \"ADDFFF\",\n      \"unitPriceGross\": 10,\n      \"unitPriceNet\": 12.30,\n      \"requiredQuantity\": \"1\"\n    }\n  ]\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{baseUrl}}/sales/requisition",
							"host": [
								"{{baseUrl}}"
							],
							"path": [
								"sales",
								"requisition"
							]
						},
						"description": "Requisition: \n\n  Use this method to create requisition for a specific inventory item. It is up to you whether \n  you want to create a complete order right from the start, or you can provide information with \n  the initial submit requisition call, and then make one of subsequent - confirm or cancel requisition.\n  Information, that will be required before an order can be published - item sku, requisition price,\n  and required quantity. Optionally, you can specify information to refine your requisition like - \n  delivery method. Note that, if you don`t fill this information, requisition will\n  be saved with your own preferences from IC customer card. Additionally, you can save your own custom \n  number. If the call is successful, orders set with requisition unique ID is returned in the response. \n  This ID will be required for other requisition-related calls. \"\n  All of detailed information about individual field has been described inside Requisition and Order\n  object.\n\n  <h4>Request with optional settings</h4>\n  ```\n  /sales/requisition\n  {\n    \"customNumber\": \"A0045\",\n    \"deliveryMethod\": \"DHL\",\n    \"shipTo\": \"000008\",\n    \"deferredPayment\": true,\n    \"comments\": \"Please handle with care\",\n    \"lines\": [\n      {\n        \"sku\": \"ADDFFA\",\n        \"requiredQuantity\": 10,\n        \"unitPriceNet\": 100,\n        \"unitPriceGross\": 123,\n        \"custom\":\"true\"\n      },\n      {\n        \"sku\": \"ADDFFF\",\n        \"requiredQuantity\": 5,\n        \"unitPriceNet\": 100,\n        \"unitPriceGross\": 123,\n        \"custom\":\"false\"\n      }\n    ]\n  }\n  ```\n  <h4>Request without optional settings</h4>\n  ```\n  /sales/requisition\n  {\n    \"lines\": [\n      {\n        \"sku\": \"ADDFFF\",\n        \"requiredQuantity\": 10,\n        \"unitPriceNet\": 100,\n        \"unitPriceGross\": 123,\n        \"custom\":\"true\"\n      }\n      {\n        \"sku\": \"ADDFFA\",\n        \"requiredQuantity\": 5,\n        \"unitPriceNet\": 100,\n        \"unitPriceGross\": 123,\n        \"custom\":\"false\"\n      }\n    ]\n  }\n  ```\n  <h4>Response JSON</h4>\n  ```[\n      {\n        \"id\": \"LAZ/19/1254\",\n        \"requisitionId\": \"IC/19/1254\",\n        \"fiscalDocumentNumber\": \"LAZ/19/001\",\n        \"customNumber\": \"A0045\",\n        \"currencyCode\": \"PLN\",\n        \"billTo\": \"000008\",\n        \"shipTo\": \"000008\",\n        \"shipFrom\": \"LAZ\",\n        \"deliveryMethod\": \"DHL\",\n        \"paymentMethod\": \"CASH\",\n        \"creationDate\": \"2019-04-18T15:28:47.767+02:00\",\n        \"acceptedDate\": \"2019-04-18T18:28:47.767+02:00\",\n        \"statusCode\": \"G\",\n        \"phaseCode\": \"ACCEPTED\",\n        \"deferredPayment\": true,\n        \"totalNet\": 500,\n        \"totalGross\": 615,\n        \"comments\": \"Please handle with care\",\n        \"lines\": [\n          {\n            \"sku\": \"ADDFFF\",\n            \"requiredQuantity\": 10,\n            \"missingQuantity\": 0,\n            \"acceptedQuantity\": 0,\n            \"collectedQuantity\": 0,\n            \"packagedQuantity\": 0,\n            \"unitPriceNet\": 100,\n            \"unitPriceGross\": 123,\n            \"vatPercentage\": 23,\n            \"totalNet\": 1000,\n            \"totalGross\": 1230,\n            \"deliveryId\": [\n              \"LAZ/19/001, LAZ/19/002\"\n            ]\n          }\n          {\n            \"sku\": \"ADDFFA\",\n            \"requiredQuantity\": 5,\n            \"missingQuantity\": 0,\n            \"acceptedQuantity\": 0,\n            \"collectedQuantity\": 0,\n            \"packagedQuantity\": 0,\n            \"unitPriceNet\": 100,\n            \"unitPriceGross\": 123,\n            \"vatPercentage\": 23,\n            \"totalNet\": 500,\n            \"totalGross\": 615,\n            \"deliveryId\": [\n              \"LAZ/19/001, LAZ/19/002\"\n            ]\n          }\n        ]\n      }\n    ]   \n  ```\n"
					},
					"response": [
						{
							"name": "Requisition created successfully",
							"originalRequest": {
								"method": "POST",
								"header": [
									{
										"description": "Added as a part of security scheme: oauth2",
										"key": "Authorization",
										"value": "<token>"
									}
								],
								"url": {
									"raw": "{{baseUrl}}/sales/requisition",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"sales",
										"requisition"
									]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Content-Type",
									"value": "application/json"
								}
							],
							"cookie": [],
							"body": "[\n  {\n    \"id\": \"LAZ/19/1254\",\n    \"requisitionId\": \"IC/19/1254\",\n    \"fiscalDocumentNumber\": \"LAZ/19/001\",\n    \"customNumber\": \"A0045\",\n    \"currencyCode\": \"PLN\",\n    \"billTo\": \"8.0\",\n    \"shipTo\": \"8.0\",\n    \"shipFrom\": \"KOM\",\n    \"deliveryMethod\": \"DHL\",\n    \"paymentMethod\": \"CASH\",\n    \"creationDate\": \"2019-04-18T15:28:47.767+02:00\",\n    \"acceptedDate\": \"2019-04-18T18:28:47.767+02:00\",\n    \"statusCode\": \"G\",\n    \"phaseCode\": \"ACCEPTED\",\n    \"deferredPayment\": true,\n    \"totalNet\": 500,\n    \"totalGross\": 615,\n    \"comments\": \"velit aliqua mollit\",\n    \"lines\": [\n      {\n        \"sku\": \"ADDFFF\",\n        \"requiredQuantity\": 5,\n        \"missingQuantity\": 0,\n        \"acceptedQuantity\": 0,\n        \"collectedQuantity\": 0,\n        \"packagedQuantity\": 0,\n        \"unitPriceNet\": 100,\n        \"unitPriceGross\": 123,\n        \"vatPercentage\": 23,\n        \"totalNet\": 500,\n        \"totalGross\": 615,\n        \"deliveryId\": [\n          \"LAZ/19/001, LAZ/19/002\",\n          \"LAZ/19/001, LAZ/19/002\"\n        ]\n      },\n      {\n        \"sku\": \"ADDFFF\",\n        \"requiredQuantity\": 5,\n        \"missingQuantity\": 0,\n        \"acceptedQuantity\": 0,\n        \"collectedQuantity\": 0,\n        \"packagedQuantity\": 0,\n        \"unitPriceNet\": 100,\n        \"unitPriceGross\": 123,\n        \"vatPercentage\": 23,\n        \"totalNet\": 500,\n        \"totalGross\": 615,\n        \"deliveryId\": [\n          \"LAZ/19/001, LAZ/19/002\",\n          \"LAZ/19/001, LAZ/19/002\"\n        ]\n      }\n    ]\n  },\n  {\n    \"id\": \"LAZ/19/1254\",\n    \"requisitionId\": \"IC/19/1254\",\n    \"fiscalDocumentNumber\": \"LAZ/19/001\",\n    \"customNumber\": \"A0045\",\n    \"currencyCode\": \"PLN\",\n    \"billTo\": \"8.0\",\n    \"shipTo\": \"8.0\",\n    \"shipFrom\": \"KOM\",\n    \"deliveryMethod\": \"DHL\",\n    \"paymentMethod\": \"CASH\",\n    \"creationDate\": \"2019-04-18T15:28:47.767+02:00\",\n    \"acceptedDate\": \"2019-04-18T18:28:47.767+02:00\",\n    \"statusCode\": \"G\",\n    \"phaseCode\": \"CANCELLED\",\n    \"deferredPayment\": true,\n    \"totalNet\": 500,\n    \"totalGross\": 615,\n    \"comments\": \"nulla aliquip dolore\",\n    \"lines\": [\n      {\n        \"sku\": \"ADDFFF\",\n        \"requiredQuantity\": 5,\n        \"missingQuantity\": 0,\n        \"acceptedQuantity\": 0,\n        \"collectedQuantity\": 0,\n        \"packagedQuantity\": 0,\n        \"unitPriceNet\": 100,\n        \"unitPriceGross\": 123,\n        \"vatPercentage\": 23,\n        \"totalNet\": 500,\n        \"totalGross\": 615,\n        \"deliveryId\": [\n          \"LAZ/19/001, LAZ/19/002\",\n          \"LAZ/19/001, LAZ/19/002\"\n        ]\n      },\n      {\n        \"sku\": \"ADDFFF\",\n        \"requiredQuantity\": 5,\n        \"missingQuantity\": 0,\n        \"acceptedQuantity\": 0,\n        \"collectedQuantity\": 0,\n        \"packagedQuantity\": 0,\n        \"unitPriceNet\": 100,\n        \"unitPriceGross\": 123,\n        \"vatPercentage\": 23,\n        \"totalNet\": 500,\n        \"totalGross\": 615,\n        \"deliveryId\": [\n          \"LAZ/19/001, LAZ/19/002\",\n          \"LAZ/19/001, LAZ/19/002\"\n        ]\n      }\n    ]\n  }\n]"
						},
						{
							"name": "Syntactically incorrect request",
							"originalRequest": {
								"method": "POST",
								"header": [
									{
										"description": "Added as a part of security scheme: oauth2",
										"key": "Authorization",
										"value": "<token>"
									}
								],
								"url": {
									"raw": "{{baseUrl}}/sales/requisition",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"sales",
										"requisition"
									]
								}
							},
							"status": "Bad Request",
							"code": 400,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Content-Type",
									"value": "application/json"
								}
							],
							"cookie": [],
							"body": "[\n  {\n    \"code\": \"faultInvalidContract\",\n    \"details\": \"Invalid Currency Code !\"\n  },\n  {\n    \"code\": \"faultInvalidContract\",\n    \"details\": \"Invalid Currency Code !\"\n  }\n]"
						},
						{
							"name": "Unauthorized",
							"originalRequest": {
								"method": "POST",
								"header": [
									{
										"description": "Added as a part of security scheme: oauth2",
										"key": "Authorization",
										"value": "<token>"
									}
								],
								"url": {
									"raw": "{{baseUrl}}/sales/requisition",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"sales",
										"requisition"
									]
								}
							},
							"status": "Unauthorized",
							"code": 401,
							"_postman_previewlanguage": "text",
							"header": [
								{
									"key": "Content-Type",
									"value": "text/plain"
								}
							],
							"cookie": [],
							"body": ""
						},
						{
							"name": "Forbidden",
							"originalRequest": {
								"method": "POST",
								"header": [
									{
										"description": "Added as a part of security scheme: oauth2",
										"key": "Authorization",
										"value": "<token>"
									}
								],
								"url": {
									"raw": "{{baseUrl}}/sales/requisition",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"sales",
										"requisition"
									]
								}
							},
							"status": "Forbidden",
							"code": 403,
							"_postman_previewlanguage": "text",
							"header": [
								{
									"key": "Content-Type",
									"value": "text/plain"
								}
							],
							"cookie": [],
							"body": ""
						}
					]
				},
				{
					"name": "get Requisition",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{authToken}}",
									"type": "string"
								}
							]
						},
						"method": "GET",
						"header": [
							{
								"key": "Accept",
								"value": "application/json"
							}
						],
						"url": {
							"raw": "{{baseUrl}}/sales/requisition/:id",
							"host": [
								"{{baseUrl}}"
							],
							"path": [
								"sales",
								"requisition",
								":id"
							],
							"variable": [
								{
									"key": "id",
									"value": "LAZ%2F19%2F1254",
									"description": "(Required) The unique identifier (requisition.id) which allow you to retrieve detailed information about single requisition. Note that, requisition.id parameter would be returned by response message for submit Requisition call and also, if it is necessary, could be taken by search Requisition method."
								}
							]
						},
						"description": "This call retrieves a confirmed and unconfirmed orders related with specified requisition. \nThe unique identifier (requisition.id) is passed in at the end of the call URI. For example, \nif you want to get detailed information about your IC10000001 requisition, you need to invoke\nrequest as [URL]/sales/requisition/IC10000001. As a response, you will get orders collection\nwhich will present current state of your fulfillment.\n<h4>Request URL</h4>\n```\n/sales/requisition/IC10000001\n```\n<h4>Response JSON</h4>\n```\n[\n  {Same as submitRequisition response}\n]\n```\n"
					},
					"response": [
						{
							"name": "successful operation",
							"originalRequest": {
								"method": "GET",
								"header": [
									{
										"description": "Added as a part of security scheme: oauth2",
										"key": "Authorization",
										"value": "<token>"
									}
								],
								"url": {
									"raw": "{{baseUrl}}/sales/requisition/:id",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"sales",
										"requisition",
										":id"
									],
									"variable": [
										{
											"key": "id",
											"value": "LAZ%2F19%2F1254",
											"description": "(Required) The unique identifier (requisition.id) which allow you to retrieve detailed information about single requisition. Note that, requisition.id parameter would be returned by response message for submit Requisition call and also, if it is necessary, could be taken by search Requisition method."
										}
									]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Content-Type",
									"value": "application/json"
								}
							],
							"cookie": [],
							"body": "[\n  {\n    \"id\": \"LAZ/19/1254\",\n    \"requisitionId\": \"IC/19/1254\",\n    \"fiscalDocumentNumber\": \"LAZ/19/001\",\n    \"customNumber\": \"A0045\",\n    \"currencyCode\": \"PLN\",\n    \"billTo\": \"8.0\",\n    \"shipTo\": \"8.0\",\n    \"shipFrom\": \"KOM\",\n    \"deliveryMethod\": \"DHL\",\n    \"paymentMethod\": \"CASH\",\n    \"creationDate\": \"2019-04-18T15:28:47.767+02:00\",\n    \"acceptedDate\": \"2019-04-18T18:28:47.767+02:00\",\n    \"statusCode\": \"G\",\n    \"phaseCode\": \"ACCEPTED\",\n    \"deferredPayment\": true,\n    \"totalNet\": 500,\n    \"totalGross\": 615,\n    \"comments\": \"velit aliqua mollit\",\n    \"lines\": [\n      {\n        \"sku\": \"ADDFFF\",\n        \"requiredQuantity\": 5,\n        \"missingQuantity\": 0,\n        \"acceptedQuantity\": 0,\n        \"collectedQuantity\": 0,\n        \"packagedQuantity\": 0,\n        \"unitPriceNet\": 100,\n        \"unitPriceGross\": 123,\n        \"vatPercentage\": 23,\n        \"totalNet\": 500,\n        \"totalGross\": 615,\n        \"deliveryId\": [\n          \"LAZ/19/001, LAZ/19/002\",\n          \"LAZ/19/001, LAZ/19/002\"\n        ]\n      },\n      {\n        \"sku\": \"ADDFFF\",\n        \"requiredQuantity\": 5,\n        \"missingQuantity\": 0,\n        \"acceptedQuantity\": 0,\n        \"collectedQuantity\": 0,\n        \"packagedQuantity\": 0,\n        \"unitPriceNet\": 100,\n        \"unitPriceGross\": 123,\n        \"vatPercentage\": 23,\n        \"totalNet\": 500,\n        \"totalGross\": 615,\n        \"deliveryId\": [\n          \"LAZ/19/001, LAZ/19/002\",\n          \"LAZ/19/001, LAZ/19/002\"\n        ]\n      }\n    ]\n  },\n  {\n    \"id\": \"LAZ/19/1254\",\n    \"requisitionId\": \"IC/19/1254\",\n    \"fiscalDocumentNumber\": \"LAZ/19/001\",\n    \"customNumber\": \"A0045\",\n    \"currencyCode\": \"PLN\",\n    \"billTo\": \"8.0\",\n    \"shipTo\": \"8.0\",\n    \"shipFrom\": \"KOM\",\n    \"deliveryMethod\": \"DHL\",\n    \"paymentMethod\": \"CASH\",\n    \"creationDate\": \"2019-04-18T15:28:47.767+02:00\",\n    \"acceptedDate\": \"2019-04-18T18:28:47.767+02:00\",\n    \"statusCode\": \"G\",\n    \"phaseCode\": \"CANCELLED\",\n    \"deferredPayment\": true,\n    \"totalNet\": 500,\n    \"totalGross\": 615,\n    \"comments\": \"nulla aliquip dolore\",\n    \"lines\": [\n      {\n        \"sku\": \"ADDFFF\",\n        \"requiredQuantity\": 5,\n        \"missingQuantity\": 0,\n        \"acceptedQuantity\": 0,\n        \"collectedQuantity\": 0,\n        \"packagedQuantity\": 0,\n        \"unitPriceNet\": 100,\n        \"unitPriceGross\": 123,\n        \"vatPercentage\": 23,\n        \"totalNet\": 500,\n        \"totalGross\": 615,\n        \"deliveryId\": [\n          \"LAZ/19/001, LAZ/19/002\",\n          \"LAZ/19/001, LAZ/19/002\"\n        ]\n      },\n      {\n        \"sku\": \"ADDFFF\",\n        \"requiredQuantity\": 5,\n        \"missingQuantity\": 0,\n        \"acceptedQuantity\": 0,\n        \"collectedQuantity\": 0,\n        \"packagedQuantity\": 0,\n        \"unitPriceNet\": 100,\n        \"unitPriceGross\": 123,\n        \"vatPercentage\": 23,\n        \"totalNet\": 500,\n        \"totalGross\": 615,\n        \"deliveryId\": [\n          \"LAZ/19/001, LAZ/19/002\",\n          \"LAZ/19/001, LAZ/19/002\"\n        ]\n      }\n    ]\n  }\n]"
						},
						{
							"name": "Syntactically incorrect request",
							"originalRequest": {
								"method": "GET",
								"header": [
									{
										"description": "Added as a part of security scheme: oauth2",
										"key": "Authorization",
										"value": "<token>"
									}
								],
								"url": {
									"raw": "{{baseUrl}}/sales/requisition/:id",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"sales",
										"requisition",
										":id"
									],
									"variable": [
										{
											"key": "id",
											"value": "<string>",
											"description": "(Required) The unique identifier (requisition.id) which allow you to retrieve detailed information about single requisition. Note that, requisition.id parameter would be returned by response message for submit Requisition call and also, if it is necessary, could be taken by search Requisition method."
										}
									]
								}
							},
							"status": "Bad Request",
							"code": 400,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Content-Type",
									"value": "application/json"
								}
							],
							"cookie": [],
							"body": "[\n  {\n    \"code\": \"faultInvalidContract\",\n    \"details\": \"Invalid Currency Code !\"\n  },\n  {\n    \"code\": \"faultInvalidContract\",\n    \"details\": \"Invalid Currency Code !\"\n  }\n]"
						},
						{
							"name": "Unauthorized",
							"originalRequest": {
								"method": "GET",
								"header": [
									{
										"description": "Added as a part of security scheme: oauth2",
										"key": "Authorization",
										"value": "<token>"
									}
								],
								"url": {
									"raw": "{{baseUrl}}/sales/requisition/:id",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"sales",
										"requisition",
										":id"
									],
									"variable": [
										{
											"key": "id",
											"value": "<string>",
											"description": "(Required) The unique identifier (requisition.id) which allow you to retrieve detailed information about single requisition. Note that, requisition.id parameter would be returned by response message for submit Requisition call and also, if it is necessary, could be taken by search Requisition method."
										}
									]
								}
							},
							"status": "Unauthorized",
							"code": 401,
							"_postman_previewlanguage": "text",
							"header": [
								{
									"key": "Content-Type",
									"value": "text/plain"
								}
							],
							"cookie": [],
							"body": ""
						},
						{
							"name": "Forbidden",
							"originalRequest": {
								"method": "GET",
								"header": [
									{
										"description": "Added as a part of security scheme: oauth2",
										"key": "Authorization",
										"value": "<token>"
									}
								],
								"url": {
									"raw": "{{baseUrl}}/sales/requisition/:id",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"sales",
										"requisition",
										":id"
									],
									"variable": [
										{
											"key": "id",
											"value": "<string>",
											"description": "(Required) The unique identifier (requisition.id) which allow you to retrieve detailed information about single requisition. Note that, requisition.id parameter would be returned by response message for submit Requisition call and also, if it is necessary, could be taken by search Requisition method."
										}
									]
								}
							},
							"status": "Forbidden",
							"code": 403,
							"_postman_previewlanguage": "text",
							"header": [
								{
									"key": "Content-Type",
									"value": "text/plain"
								}
							],
							"cookie": [],
							"body": ""
						},
						{
							"name": "Requisition not found",
							"originalRequest": {
								"method": "GET",
								"header": [
									{
										"description": "Added as a part of security scheme: oauth2",
										"key": "Authorization",
										"value": "<token>"
									}
								],
								"url": {
									"raw": "{{baseUrl}}/sales/requisition/:id",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"sales",
										"requisition",
										":id"
									],
									"variable": [
										{
											"key": "id",
											"value": "<string>",
											"description": "(Required) The unique identifier (requisition.id) which allow you to retrieve detailed information about single requisition. Note that, requisition.id parameter would be returned by response message for submit Requisition call and also, if it is necessary, could be taken by search Requisition method."
										}
									]
								}
							},
							"status": "Not Found",
							"code": 404,
							"_postman_previewlanguage": "text",
							"header": [
								{
									"key": "Content-Type",
									"value": "text/plain"
								}
							],
							"cookie": [],
							"body": ""
						}
					]
				},
				{
					"name": "confirm Requisition",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{authToken}}",
									"type": "string"
								}
							]
						},
						"method": "POST",
						"header": [
							{
								"key": "Accept",
								"value": "application/json"
							}
						],
						"url": {
							"raw": "{{baseUrl}}/sales/requisition/:id/confirm",
							"host": [
								"{{baseUrl}}"
							],
							"path": [
								"sales",
								"requisition",
								":id",
								"confirm"
							],
							"query": [
								{
									"key": "shipTo",
									"value": "<string>",
									"description": "This field allows to set receiver party customer identifier according to main customer database. \nIf not provided, receiver and payer are considered the same and are taken from authorization token.\n",
									"disabled": true
								}
							],
							"variable": [
								{
									"key": "id",
									"value": "LAZ%2F19%2F1254",
									"description": "(Required) The unique identifier (requisition.id) which allow you to confirm a single requisition which was previously submitted. If you use unknow ID, method will return 404 error."
								}
							]
						},
						"description": "This method allow you to confirm single requisition, which was previously submitted do Inter\nCars system. Only requisitions with ACCEPTED status can be confirmed. To check requisition status,\nsearch for particular requisition, or use search by status.\nOptional shipTo parameter is used when requisition was made by master account in favor of another client.\n\n<h4>Request URL</h4>\n```\n/sales/requisition/IC10000001/confirm\n```\n<h4>Request URL with shipTo parameter</h4>\n```\n/sales/requisition/IC10000001/confirm?shipTo=000008\n```\n<h4>Response JSON</h4>\n```\n[\n  {Same as submitRequisition response}\n]\n```\n"
					},
					"response": [
						{
							"name": "Order created successfully",
							"originalRequest": {
								"method": "POST",
								"header": [
									{
										"description": "Added as a part of security scheme: oauth2",
										"key": "Authorization",
										"value": "<token>"
									}
								],
								"url": {
									"raw": "{{baseUrl}}/sales/requisition/:id/confirm",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"sales",
										"requisition",
										":id",
										"confirm"
									],
									"query": [
										{
											"key": "shipTo",
											"value": "<string>",
											"disabled": true
										}
									],
									"variable": [
										{
											"key": "id",
											"value": "LAZ%2F19%2F1254",
											"description": "(Required) The unique identifier (requisition.id) which allow you to confirm a single requisition which was previously submitted. If you use unknow ID, method will return 404 error."
										}
									]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Content-Type",
									"value": "application/json"
								}
							],
							"cookie": [],
							"body": "[\n  {\n    \"id\": \"LAZ/19/1254\",\n    \"requisitionId\": \"IC/19/1254\",\n    \"fiscalDocumentNumber\": \"LAZ/19/001\",\n    \"customNumber\": \"A0045\",\n    \"currencyCode\": \"PLN\",\n    \"billTo\": \"8.0\",\n    \"shipTo\": \"8.0\",\n    \"shipFrom\": \"KOM\",\n    \"deliveryMethod\": \"DHL\",\n    \"paymentMethod\": \"CASH\",\n    \"creationDate\": \"2019-04-18T15:28:47.767+02:00\",\n    \"acceptedDate\": \"2019-04-18T18:28:47.767+02:00\",\n    \"statusCode\": \"G\",\n    \"phaseCode\": \"ACCEPTED\",\n    \"deferredPayment\": true,\n    \"totalNet\": 500,\n    \"totalGross\": 615,\n    \"comments\": \"velit aliqua mollit\",\n    \"lines\": [\n      {\n        \"sku\": \"ADDFFF\",\n        \"requiredQuantity\": 5,\n        \"missingQuantity\": 0,\n        \"acceptedQuantity\": 0,\n        \"collectedQuantity\": 0,\n        \"packagedQuantity\": 0,\n        \"unitPriceNet\": 100,\n        \"unitPriceGross\": 123,\n        \"vatPercentage\": 23,\n        \"totalNet\": 500,\n        \"totalGross\": 615,\n        \"deliveryId\": [\n          \"LAZ/19/001, LAZ/19/002\",\n          \"LAZ/19/001, LAZ/19/002\"\n        ]\n      },\n      {\n        \"sku\": \"ADDFFF\",\n        \"requiredQuantity\": 5,\n        \"missingQuantity\": 0,\n        \"acceptedQuantity\": 0,\n        \"collectedQuantity\": 0,\n        \"packagedQuantity\": 0,\n        \"unitPriceNet\": 100,\n        \"unitPriceGross\": 123,\n        \"vatPercentage\": 23,\n        \"totalNet\": 500,\n        \"totalGross\": 615,\n        \"deliveryId\": [\n          \"LAZ/19/001, LAZ/19/002\",\n          \"LAZ/19/001, LAZ/19/002\"\n        ]\n      }\n    ]\n  },\n  {\n    \"id\": \"LAZ/19/1254\",\n    \"requisitionId\": \"IC/19/1254\",\n    \"fiscalDocumentNumber\": \"LAZ/19/001\",\n    \"customNumber\": \"A0045\",\n    \"currencyCode\": \"PLN\",\n    \"billTo\": \"8.0\",\n    \"shipTo\": \"8.0\",\n    \"shipFrom\": \"KOM\",\n    \"deliveryMethod\": \"DHL\",\n    \"paymentMethod\": \"CASH\",\n    \"creationDate\": \"2019-04-18T15:28:47.767+02:00\",\n    \"acceptedDate\": \"2019-04-18T18:28:47.767+02:00\",\n    \"statusCode\": \"G\",\n    \"phaseCode\": \"CANCELLED\",\n    \"deferredPayment\": true,\n    \"totalNet\": 500,\n    \"totalGross\": 615,\n    \"comments\": \"nulla aliquip dolore\",\n    \"lines\": [\n      {\n        \"sku\": \"ADDFFF\",\n        \"requiredQuantity\": 5,\n        \"missingQuantity\": 0,\n        \"acceptedQuantity\": 0,\n        \"collectedQuantity\": 0,\n        \"packagedQuantity\": 0,\n        \"unitPriceNet\": 100,\n        \"unitPriceGross\": 123,\n        \"vatPercentage\": 23,\n        \"totalNet\": 500,\n        \"totalGross\": 615,\n        \"deliveryId\": [\n          \"LAZ/19/001, LAZ/19/002\",\n          \"LAZ/19/001, LAZ/19/002\"\n        ]\n      },\n      {\n        \"sku\": \"ADDFFF\",\n        \"requiredQuantity\": 5,\n        \"missingQuantity\": 0,\n        \"acceptedQuantity\": 0,\n        \"collectedQuantity\": 0,\n        \"packagedQuantity\": 0,\n        \"unitPriceNet\": 100,\n        \"unitPriceGross\": 123,\n        \"vatPercentage\": 23,\n        \"totalNet\": 500,\n        \"totalGross\": 615,\n        \"deliveryId\": [\n          \"LAZ/19/001, LAZ/19/002\",\n          \"LAZ/19/001, LAZ/19/002\"\n        ]\n      }\n    ]\n  }\n]"
						},
						{
							"name": "Syntactically incorrect request",
							"originalRequest": {
								"method": "POST",
								"header": [
									{
										"description": "Added as a part of security scheme: oauth2",
										"key": "Authorization",
										"value": "<token>"
									}
								],
								"url": {
									"raw": "{{baseUrl}}/sales/requisition/:id/confirm?shipTo=<string>",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"sales",
										"requisition",
										":id",
										"confirm"
									],
									"query": [
										{
											"key": "shipTo",
											"value": "<string>"
										}
									],
									"variable": [
										{
											"key": "id",
											"value": "<string>",
											"description": "(Required) The unique identifier (requisition.id) which allow you to confirm a single requisition which was previously submitted. If you use unknow ID, method will return 404 error."
										}
									]
								}
							},
							"status": "Bad Request",
							"code": 400,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Content-Type",
									"value": "application/json"
								}
							],
							"cookie": [],
							"body": "[\n  [\n    {\n      \"code\": \"faultInvalidContract\",\n      \"details\": \"Invalid Currency Code !\"\n    },\n    {\n      \"code\": \"faultInvalidContract\",\n      \"details\": \"Invalid Currency Code !\"\n    }\n  ],\n  [\n    {\n      \"code\": \"faultInvalidContract\",\n      \"details\": \"Invalid Currency Code !\"\n    },\n    {\n      \"code\": \"faultInvalidContract\",\n      \"details\": \"Invalid Currency Code !\"\n    }\n  ]\n]"
						},
						{
							"name": "Unauthorized",
							"originalRequest": {
								"method": "POST",
								"header": [
									{
										"description": "Added as a part of security scheme: oauth2",
										"key": "Authorization",
										"value": "<token>"
									}
								],
								"url": {
									"raw": "{{baseUrl}}/sales/requisition/:id/confirm?shipTo=<string>",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"sales",
										"requisition",
										":id",
										"confirm"
									],
									"query": [
										{
											"key": "shipTo",
											"value": "<string>"
										}
									],
									"variable": [
										{
											"key": "id",
											"value": "<string>",
											"description": "(Required) The unique identifier (requisition.id) which allow you to confirm a single requisition which was previously submitted. If you use unknow ID, method will return 404 error."
										}
									]
								}
							},
							"status": "Unauthorized",
							"code": 401,
							"_postman_previewlanguage": "text",
							"header": [
								{
									"key": "Content-Type",
									"value": "text/plain"
								}
							],
							"cookie": [],
							"body": ""
						},
						{
							"name": "Forbidden",
							"originalRequest": {
								"method": "POST",
								"header": [
									{
										"description": "Added as a part of security scheme: oauth2",
										"key": "Authorization",
										"value": "<token>"
									}
								],
								"url": {
									"raw": "{{baseUrl}}/sales/requisition/:id/confirm?shipTo=<string>",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"sales",
										"requisition",
										":id",
										"confirm"
									],
									"query": [
										{
											"key": "shipTo",
											"value": "<string>"
										}
									],
									"variable": [
										{
											"key": "id",
											"value": "<string>",
											"description": "(Required) The unique identifier (requisition.id) which allow you to confirm a single requisition which was previously submitted. If you use unknow ID, method will return 404 error."
										}
									]
								}
							},
							"status": "Forbidden",
							"code": 403,
							"_postman_previewlanguage": "text",
							"header": [
								{
									"key": "Content-Type",
									"value": "text/plain"
								}
							],
							"cookie": [],
							"body": ""
						},
						{
							"name": "Requisition not found",
							"originalRequest": {
								"method": "POST",
								"header": [
									{
										"description": "Added as a part of security scheme: oauth2",
										"key": "Authorization",
										"value": "<token>"
									}
								],
								"url": {
									"raw": "{{baseUrl}}/sales/requisition/:id/confirm?shipTo=<string>",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"sales",
										"requisition",
										":id",
										"confirm"
									],
									"query": [
										{
											"key": "shipTo",
											"value": "<string>"
										}
									],
									"variable": [
										{
											"key": "id",
											"value": "<string>",
											"description": "(Required) The unique identifier (requisition.id) which allow you to confirm a single requisition which was previously submitted. If you use unknow ID, method will return 404 error."
										}
									]
								}
							},
							"status": "Not Found",
							"code": 404,
							"_postman_previewlanguage": "text",
							"header": [
								{
									"key": "Content-Type",
									"value": "text/plain"
								}
							],
							"cookie": [],
							"body": ""
						},
						{
							"name": "Requisition is already accepted",
							"originalRequest": {
								"method": "POST",
								"header": [
									{
										"description": "Added as a part of security scheme: oauth2",
										"key": "Authorization",
										"value": "<token>"
									}
								],
								"url": {
									"raw": "{{baseUrl}}/sales/requisition/:id/confirm?shipTo=<string>",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"sales",
										"requisition",
										":id",
										"confirm"
									],
									"query": [
										{
											"key": "shipTo",
											"value": "<string>"
										}
									],
									"variable": [
										{
											"key": "id",
											"value": "<string>",
											"description": "(Required) The unique identifier (requisition.id) which allow you to confirm a single requisition which was previously submitted. If you use unknow ID, method will return 404 error."
										}
									]
								}
							},
							"status": "Conflict",
							"code": 409,
							"_postman_previewlanguage": "text",
							"header": [
								{
									"key": "Content-Type",
									"value": "text/plain"
								}
							],
							"cookie": [],
							"body": ""
						}
					]
				},
				{
					"name": "cancel Requisition",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{authToken}}",
									"type": "string"
								}
							]
						},
						"method": "POST",
						"header": [
							{
								"key": "Accept",
								"value": "application/json"
							}
						],
						"url": {
							"raw": "{{baseUrl}}/sales/requisition/:id/cancel",
							"host": [
								"{{baseUrl}}"
							],
							"path": [
								"sales",
								"requisition",
								":id",
								"cancel"
							],
							"query": [
								{
									"key": "shipTo",
									"value": "<string>",
									"description": "This field allows to set receiver party customer identifier according to main customer database. \nIf not provided, receiver and payer are considered the same and are taken from authorization token.\n",
									"disabled": true
								}
							],
							"variable": [
								{
									"key": "id",
									"value": "LAZ%2F19%2F1254",
									"description": "(Required) The unique identifier (requisition.id) which allow you to confirm a single requisition which was previously submitted to Inter Cars system. If you use unknow ID, method will return 404 error."
								}
							]
						},
						"description": "This method allow you to cancel single requisition, which was previously submitted do Inter\nCars system. Only requisitions with ACCEPTED status can be cancelled. To check requisition status,\nsearch for particular requisition, or use search by status.\nOptional shipTo parameter is used when requisition was made by master account in favor of another client.\n\n<h4>Request URL</h4>\n```\n/sales/requisition/IC10000001/cancel\n```\n<h4>Request URL with shipTo parameter</h4>\n```\n/sales/requisition/IC10000001/cancel?shipTo=000008\n```\n<h4>Response JSON</h4>\n```\n[\n  {Same as submitRequisition response}\n]\n```\n"
					},
					"response": [
						{
							"name": "successful operation",
							"originalRequest": {
								"method": "POST",
								"header": [
									{
										"description": "Added as a part of security scheme: oauth2",
										"key": "Authorization",
										"value": "<token>"
									}
								],
								"url": {
									"raw": "{{baseUrl}}/sales/requisition/:id/cancel",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"sales",
										"requisition",
										":id",
										"cancel"
									],
									"query": [
										{
											"key": "shipTo",
											"value": "<string>",
											"disabled": true
										}
									],
									"variable": [
										{
											"key": "id",
											"value": "LAZ%2F19%2F1254",
											"description": "(Required) The unique identifier (requisition.id) which allow you to confirm a single requisition which was previously submitted to Inter Cars system. If you use unknow ID, method will return 404 error."
										}
									]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Content-Type",
									"value": "application/json"
								}
							],
							"cookie": [],
							"body": "[\n  {\n    \"id\": \"LAZ/19/1254\",\n    \"requisitionId\": \"IC/19/1254\",\n    \"fiscalDocumentNumber\": \"LAZ/19/001\",\n    \"customNumber\": \"A0045\",\n    \"currencyCode\": \"PLN\",\n    \"billTo\": \"8.0\",\n    \"shipTo\": \"8.0\",\n    \"shipFrom\": \"KOM\",\n    \"deliveryMethod\": \"DHL\",\n    \"paymentMethod\": \"CASH\",\n    \"creationDate\": \"2019-04-18T15:28:47.767+02:00\",\n    \"acceptedDate\": \"2019-04-18T18:28:47.767+02:00\",\n    \"statusCode\": \"G\",\n    \"phaseCode\": \"ACCEPTED\",\n    \"deferredPayment\": true,\n    \"totalNet\": 500,\n    \"totalGross\": 615,\n    \"comments\": \"velit aliqua mollit\",\n    \"lines\": [\n      {\n        \"sku\": \"ADDFFF\",\n        \"requiredQuantity\": 5,\n        \"missingQuantity\": 0,\n        \"acceptedQuantity\": 0,\n        \"collectedQuantity\": 0,\n        \"packagedQuantity\": 0,\n        \"unitPriceNet\": 100,\n        \"unitPriceGross\": 123,\n        \"vatPercentage\": 23,\n        \"totalNet\": 500,\n        \"totalGross\": 615,\n        \"deliveryId\": [\n          \"LAZ/19/001, LAZ/19/002\",\n          \"LAZ/19/001, LAZ/19/002\"\n        ]\n      },\n      {\n        \"sku\": \"ADDFFF\",\n        \"requiredQuantity\": 5,\n        \"missingQuantity\": 0,\n        \"acceptedQuantity\": 0,\n        \"collectedQuantity\": 0,\n        \"packagedQuantity\": 0,\n        \"unitPriceNet\": 100,\n        \"unitPriceGross\": 123,\n        \"vatPercentage\": 23,\n        \"totalNet\": 500,\n        \"totalGross\": 615,\n        \"deliveryId\": [\n          \"LAZ/19/001, LAZ/19/002\",\n          \"LAZ/19/001, LAZ/19/002\"\n        ]\n      }\n    ]\n  },\n  {\n    \"id\": \"LAZ/19/1254\",\n    \"requisitionId\": \"IC/19/1254\",\n    \"fiscalDocumentNumber\": \"LAZ/19/001\",\n    \"customNumber\": \"A0045\",\n    \"currencyCode\": \"PLN\",\n    \"billTo\": \"8.0\",\n    \"shipTo\": \"8.0\",\n    \"shipFrom\": \"KOM\",\n    \"deliveryMethod\": \"DHL\",\n    \"paymentMethod\": \"CASH\",\n    \"creationDate\": \"2019-04-18T15:28:47.767+02:00\",\n    \"acceptedDate\": \"2019-04-18T18:28:47.767+02:00\",\n    \"statusCode\": \"G\",\n    \"phaseCode\": \"CANCELLED\",\n    \"deferredPayment\": true,\n    \"totalNet\": 500,\n    \"totalGross\": 615,\n    \"comments\": \"nulla aliquip dolore\",\n    \"lines\": [\n      {\n        \"sku\": \"ADDFFF\",\n        \"requiredQuantity\": 5,\n        \"missingQuantity\": 0,\n        \"acceptedQuantity\": 0,\n        \"collectedQuantity\": 0,\n        \"packagedQuantity\": 0,\n        \"unitPriceNet\": 100,\n        \"unitPriceGross\": 123,\n        \"vatPercentage\": 23,\n        \"totalNet\": 500,\n        \"totalGross\": 615,\n        \"deliveryId\": [\n          \"LAZ/19/001, LAZ/19/002\",\n          \"LAZ/19/001, LAZ/19/002\"\n        ]\n      },\n      {\n        \"sku\": \"ADDFFF\",\n        \"requiredQuantity\": 5,\n        \"missingQuantity\": 0,\n        \"acceptedQuantity\": 0,\n        \"collectedQuantity\": 0,\n        \"packagedQuantity\": 0,\n        \"unitPriceNet\": 100,\n        \"unitPriceGross\": 123,\n        \"vatPercentage\": 23,\n        \"totalNet\": 500,\n        \"totalGross\": 615,\n        \"deliveryId\": [\n          \"LAZ/19/001, LAZ/19/002\",\n          \"LAZ/19/001, LAZ/19/002\"\n        ]\n      }\n    ]\n  }\n]"
						},
						{
							"name": "Syntactically incorrect request",
							"originalRequest": {
								"method": "POST",
								"header": [
									{
										"description": "Added as a part of security scheme: oauth2",
										"key": "Authorization",
										"value": "<token>"
									}
								],
								"url": {
									"raw": "{{baseUrl}}/sales/requisition/:id/cancel?shipTo=<string>",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"sales",
										"requisition",
										":id",
										"cancel"
									],
									"query": [
										{
											"key": "shipTo",
											"value": "<string>"
										}
									],
									"variable": [
										{
											"key": "id",
											"value": "<string>",
											"description": "(Required) The unique identifier (requisition.id) which allow you to confirm a single requisition which was previously submitted to Inter Cars system. If you use unknow ID, method will return 404 error."
										}
									]
								}
							},
							"status": "Bad Request",
							"code": 400,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Content-Type",
									"value": "application/json"
								}
							],
							"cookie": [],
							"body": "[\n  {\n    \"code\": \"faultInvalidContract\",\n    \"details\": \"Invalid Currency Code !\"\n  },\n  {\n    \"code\": \"faultInvalidContract\",\n    \"details\": \"Invalid Currency Code !\"\n  }\n]"
						},
						{
							"name": "Unauthorized",
							"originalRequest": {
								"method": "POST",
								"header": [
									{
										"description": "Added as a part of security scheme: oauth2",
										"key": "Authorization",
										"value": "<token>"
									}
								],
								"url": {
									"raw": "{{baseUrl}}/sales/requisition/:id/cancel?shipTo=<string>",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"sales",
										"requisition",
										":id",
										"cancel"
									],
									"query": [
										{
											"key": "shipTo",
											"value": "<string>"
										}
									],
									"variable": [
										{
											"key": "id",
											"value": "<string>",
											"description": "(Required) The unique identifier (requisition.id) which allow you to confirm a single requisition which was previously submitted to Inter Cars system. If you use unknow ID, method will return 404 error."
										}
									]
								}
							},
							"status": "Unauthorized",
							"code": 401,
							"_postman_previewlanguage": "text",
							"header": [
								{
									"key": "Content-Type",
									"value": "text/plain"
								}
							],
							"cookie": [],
							"body": ""
						},
						{
							"name": "Forbidden",
							"originalRequest": {
								"method": "POST",
								"header": [
									{
										"description": "Added as a part of security scheme: oauth2",
										"key": "Authorization",
										"value": "<token>"
									}
								],
								"url": {
									"raw": "{{baseUrl}}/sales/requisition/:id/cancel?shipTo=<string>",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"sales",
										"requisition",
										":id",
										"cancel"
									],
									"query": [
										{
											"key": "shipTo",
											"value": "<string>"
										}
									],
									"variable": [
										{
											"key": "id",
											"value": "<string>",
											"description": "(Required) The unique identifier (requisition.id) which allow you to confirm a single requisition which was previously submitted to Inter Cars system. If you use unknow ID, method will return 404 error."
										}
									]
								}
							},
							"status": "Forbidden",
							"code": 403,
							"_postman_previewlanguage": "text",
							"header": [
								{
									"key": "Content-Type",
									"value": "text/plain"
								}
							],
							"cookie": [],
							"body": ""
						},
						{
							"name": "Requisition not found",
							"originalRequest": {
								"method": "POST",
								"header": [
									{
										"description": "Added as a part of security scheme: oauth2",
										"key": "Authorization",
										"value": "<token>"
									}
								],
								"url": {
									"raw": "{{baseUrl}}/sales/requisition/:id/cancel?shipTo=<string>",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"sales",
										"requisition",
										":id",
										"cancel"
									],
									"query": [
										{
											"key": "shipTo",
											"value": "<string>"
										}
									],
									"variable": [
										{
											"key": "id",
											"value": "<string>",
											"description": "(Required) The unique identifier (requisition.id) which allow you to confirm a single requisition which was previously submitted to Inter Cars system. If you use unknow ID, method will return 404 error."
										}
									]
								}
							},
							"status": "Not Found",
							"code": 404,
							"_postman_previewlanguage": "text",
							"header": [
								{
									"key": "Content-Type",
									"value": "text/plain"
								}
							],
							"cookie": [],
							"body": ""
						},
						{
							"name": "Requisition could not be cancelled",
							"originalRequest": {
								"method": "POST",
								"header": [
									{
										"description": "Added as a part of security scheme: oauth2",
										"key": "Authorization",
										"value": "<token>"
									}
								],
								"url": {
									"raw": "{{baseUrl}}/sales/requisition/:id/cancel?shipTo=<string>",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"sales",
										"requisition",
										":id",
										"cancel"
									],
									"query": [
										{
											"key": "shipTo",
											"value": "<string>"
										}
									],
									"variable": [
										{
											"key": "id",
											"value": "<string>",
											"description": "(Required) The unique identifier (requisition.id) which allow you to confirm a single requisition which was previously submitted to Inter Cars system. If you use unknow ID, method will return 404 error."
										}
									]
								}
							},
							"status": "Conflict",
							"code": 409,
							"_postman_previewlanguage": "text",
							"header": [
								{
									"key": "Content-Type",
									"value": "text/plain"
								}
							],
							"cookie": [],
							"body": ""
						}
					]
				},
				{
					"name": "search Order",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{authToken}}",
									"type": "string"
								}
							]
						},
						"method": "GET",
						"header": [
							{
								"key": "Accept",
								"value": "application/json"
							}
						],
						"url": {
							"raw": "{{baseUrl}}/sales/requisition?creationDateFrom=2023-01-18&creationDateTo=2023-01-24&offset=1&limit=20",
							"host": [
								"{{baseUrl}}"
							],
							"path": [
								"sales",
								"requisition"
							],
							"query": [
								{
									"key": "creationDateFrom",
									"value": "2023-01-18",
									"description": "(Required) Description:\nThe start date of the orders window (earliest projected order date). This value is taken \nin UTC format (yyyy-MM-dd).\nNote that creationDateFrom and creationDateTo are obligatory, so you need to define both of\nparameter. \nRestriction: Two days maximum windows is supported, so the period time between end date and \nstart date could not be bigger than 2. \n"
								},
								{
									"key": "creationDateTo",
									"value": "2023-01-24",
									"description": "(Required) Description: \nThe end date of the orders window (latest projected order date). This value is taken \nin UTC format (yyyy-MM-dd).\nNote that creationDateFrom and creationDateTo are obligatory, so you need to define both of\nparameter. \nRestriction: Two days maximum windows is supported, so the period time between end date and \nstart date could not be bigger than 2. \n"
								},
								{
									"key": "offset",
									"value": "1",
									"description": "Specifies the number of items to skip in the result set. This is used with the limit field \nto control the pagination of the output. If offset is 1 and limit is 10, the method will \nretrieve items 1-10 from the list of items returned, if offset is 11 and limit is 10, the \nmethod will retrieve items 11 thru 20 from the list of items returned. \nValid Values: 0-10,000 (inclusive) \nDefault: 1\n"
								},
								{
									"key": "limit",
									"value": "20",
									"description": "The number of items from the result set returned in a single page. \nDefault: 20 \nMaximum number of items per page (limit): 50\n"
								},
								{
									"key": "shipTo",
									"value": "<string>",
									"description": "This field allows to find requisitions by receiver party customer identifier. \nIf not provided, receiver and payer are considered the same and are taken from authorization token.\n",
									"disabled": true
								}
							]
						},
						"description": "\nSearch for your orders:\n\nThis method searches for orders related with your requisitions by various query parameters \nand retrieves summaries of the orders. Current version is support only requisition creation date\nso you can limit your set of orders to given period time. For example, you can limit response to \nlast two day (/sales/requisition?creationDateFrom=2018-01-09&creationDateTo=2018-01-11). \nAdditionaly, this method is supporting pagination controls (limit and offset fields) which allow \nyou to control size of returned orders page. Note, that if you does not define pagination controls,\nthe default value will be taken.\n<h4>Request URL</h4>\n```\n/sales/requisition?creationDateFrom=2018-01-11&creationDateTo=2018-01-13&offset=1&limit=20\n```\n<h4>Response JSON</h4>\n```\n[\n  {Look up: submitRequisition:Response JSON}\n]\n```\n"
					},
					"response": [
						{
							"name": "successful operation",
							"originalRequest": {
								"method": "GET",
								"header": [
									{
										"description": "Added as a part of security scheme: oauth2",
										"key": "Authorization",
										"value": "<token>"
									}
								],
								"url": {
									"raw": "{{baseUrl}}/sales/requisition?creationDateFrom=2019-04-18&creationDateTo=2019-04-19&offset=20&limit=1",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"sales",
										"requisition"
									],
									"query": [
										{
											"key": "creationDateFrom",
											"value": "2019-04-18"
										},
										{
											"key": "creationDateTo",
											"value": "2019-04-19"
										},
										{
											"key": "offset",
											"value": "20"
										},
										{
											"key": "limit",
											"value": "1"
										},
										{
											"key": "shipTo",
											"value": "<string>",
											"disabled": true
										}
									]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Content-Type",
									"value": "application/json"
								}
							],
							"cookie": [],
							"body": "[\n  {\n    \"id\": \"LAZ/19/1254\",\n    \"requisitionId\": \"IC/19/1254\",\n    \"fiscalDocumentNumber\": \"LAZ/19/001\",\n    \"customNumber\": \"A0045\",\n    \"currencyCode\": \"PLN\",\n    \"billTo\": \"8.0\",\n    \"shipTo\": \"8.0\",\n    \"shipFrom\": \"KOM\",\n    \"deliveryMethod\": \"DHL\",\n    \"paymentMethod\": \"CASH\",\n    \"creationDate\": \"2019-04-18T15:28:47.767+02:00\",\n    \"acceptedDate\": \"2019-04-18T18:28:47.767+02:00\",\n    \"statusCode\": \"G\",\n    \"phaseCode\": \"ACCEPTED\",\n    \"deferredPayment\": true,\n    \"totalNet\": 500,\n    \"totalGross\": 615,\n    \"comments\": \"velit aliqua mollit\",\n    \"lines\": [\n      {\n        \"sku\": \"ADDFFF\",\n        \"requiredQuantity\": 5,\n        \"missingQuantity\": 0,\n        \"acceptedQuantity\": 0,\n        \"collectedQuantity\": 0,\n        \"packagedQuantity\": 0,\n        \"unitPriceNet\": 100,\n        \"unitPriceGross\": 123,\n        \"vatPercentage\": 23,\n        \"totalNet\": 500,\n        \"totalGross\": 615,\n        \"deliveryId\": [\n          \"LAZ/19/001, LAZ/19/002\",\n          \"LAZ/19/001, LAZ/19/002\"\n        ]\n      },\n      {\n        \"sku\": \"ADDFFF\",\n        \"requiredQuantity\": 5,\n        \"missingQuantity\": 0,\n        \"acceptedQuantity\": 0,\n        \"collectedQuantity\": 0,\n        \"packagedQuantity\": 0,\n        \"unitPriceNet\": 100,\n        \"unitPriceGross\": 123,\n        \"vatPercentage\": 23,\n        \"totalNet\": 500,\n        \"totalGross\": 615,\n        \"deliveryId\": [\n          \"LAZ/19/001, LAZ/19/002\",\n          \"LAZ/19/001, LAZ/19/002\"\n        ]\n      }\n    ]\n  },\n  {\n    \"id\": \"LAZ/19/1254\",\n    \"requisitionId\": \"IC/19/1254\",\n    \"fiscalDocumentNumber\": \"LAZ/19/001\",\n    \"customNumber\": \"A0045\",\n    \"currencyCode\": \"PLN\",\n    \"billTo\": \"8.0\",\n    \"shipTo\": \"8.0\",\n    \"shipFrom\": \"KOM\",\n    \"deliveryMethod\": \"DHL\",\n    \"paymentMethod\": \"CASH\",\n    \"creationDate\": \"2019-04-18T15:28:47.767+02:00\",\n    \"acceptedDate\": \"2019-04-18T18:28:47.767+02:00\",\n    \"statusCode\": \"G\",\n    \"phaseCode\": \"CANCELLED\",\n    \"deferredPayment\": true,\n    \"totalNet\": 500,\n    \"totalGross\": 615,\n    \"comments\": \"nulla aliquip dolore\",\n    \"lines\": [\n      {\n        \"sku\": \"ADDFFF\",\n        \"requiredQuantity\": 5,\n        \"missingQuantity\": 0,\n        \"acceptedQuantity\": 0,\n        \"collectedQuantity\": 0,\n        \"packagedQuantity\": 0,\n        \"unitPriceNet\": 100,\n        \"unitPriceGross\": 123,\n        \"vatPercentage\": 23,\n        \"totalNet\": 500,\n        \"totalGross\": 615,\n        \"deliveryId\": [\n          \"LAZ/19/001, LAZ/19/002\",\n          \"LAZ/19/001, LAZ/19/002\"\n        ]\n      },\n      {\n        \"sku\": \"ADDFFF\",\n        \"requiredQuantity\": 5,\n        \"missingQuantity\": 0,\n        \"acceptedQuantity\": 0,\n        \"collectedQuantity\": 0,\n        \"packagedQuantity\": 0,\n        \"unitPriceNet\": 100,\n        \"unitPriceGross\": 123,\n        \"vatPercentage\": 23,\n        \"totalNet\": 500,\n        \"totalGross\": 615,\n        \"deliveryId\": [\n          \"LAZ/19/001, LAZ/19/002\",\n          \"LAZ/19/001, LAZ/19/002\"\n        ]\n      }\n    ]\n  }\n]"
						},
						{
							"name": "Syntactically incorrect request",
							"originalRequest": {
								"method": "GET",
								"header": [
									{
										"description": "Added as a part of security scheme: oauth2",
										"key": "Authorization",
										"value": "<token>"
									}
								],
								"url": {
									"raw": "{{baseUrl}}/sales/requisition?creationDateFrom=<date>&creationDateTo=<date>&offset=<integer>&limit=<integer>&shipTo=<string>",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"sales",
										"requisition"
									],
									"query": [
										{
											"key": "creationDateFrom",
											"value": "<date>"
										},
										{
											"key": "creationDateTo",
											"value": "<date>"
										},
										{
											"key": "offset",
											"value": "<integer>"
										},
										{
											"key": "limit",
											"value": "<integer>"
										},
										{
											"key": "shipTo",
											"value": "<string>"
										}
									]
								}
							},
							"status": "Bad Request",
							"code": 400,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Content-Type",
									"value": "application/json"
								}
							],
							"cookie": [],
							"body": "[\n  {\n    \"code\": \"faultInvalidContract\",\n    \"details\": \"Invalid Currency Code !\"\n  },\n  {\n    \"code\": \"faultInvalidContract\",\n    \"details\": \"Invalid Currency Code !\"\n  }\n]"
						},
						{
							"name": "Unauthorized",
							"originalRequest": {
								"method": "GET",
								"header": [
									{
										"description": "Added as a part of security scheme: oauth2",
										"key": "Authorization",
										"value": "<token>"
									}
								],
								"url": {
									"raw": "{{baseUrl}}/sales/requisition?creationDateFrom=<date>&creationDateTo=<date>&offset=<integer>&limit=<integer>&shipTo=<string>",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"sales",
										"requisition"
									],
									"query": [
										{
											"key": "creationDateFrom",
											"value": "<date>"
										},
										{
											"key": "creationDateTo",
											"value": "<date>"
										},
										{
											"key": "offset",
											"value": "<integer>"
										},
										{
											"key": "limit",
											"value": "<integer>"
										},
										{
											"key": "shipTo",
											"value": "<string>"
										}
									]
								}
							},
							"status": "Unauthorized",
							"code": 401,
							"_postman_previewlanguage": "text",
							"header": [
								{
									"key": "Content-Type",
									"value": "text/plain"
								}
							],
							"cookie": [],
							"body": ""
						},
						{
							"name": "Forbidden",
							"originalRequest": {
								"method": "GET",
								"header": [
									{
										"description": "Added as a part of security scheme: oauth2",
										"key": "Authorization",
										"value": "<token>"
									}
								],
								"url": {
									"raw": "{{baseUrl}}/sales/requisition?creationDateFrom=<date>&creationDateTo=<date>&offset=<integer>&limit=<integer>&shipTo=<string>",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"sales",
										"requisition"
									],
									"query": [
										{
											"key": "creationDateFrom",
											"value": "<date>"
										},
										{
											"key": "creationDateTo",
											"value": "<date>"
										},
										{
											"key": "offset",
											"value": "<integer>"
										},
										{
											"key": "limit",
											"value": "<integer>"
										},
										{
											"key": "shipTo",
											"value": "<string>"
										}
									]
								}
							},
							"status": "Forbidden",
							"code": 403,
							"_postman_previewlanguage": "text",
							"header": [
								{
									"key": "Content-Type",
									"value": "text/plain"
								}
							],
							"cookie": [],
							"body": ""
						}
					]
				},
				{
					"name": "get Order",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{authToken}}",
									"type": "string"
								}
							]
						},
						"method": "GET",
						"header": [
							{
								"key": "Accept",
								"value": "application/json"
							}
						],
						"url": {
							"raw": "{{baseUrl}}/sales/order/:id",
							"host": [
								"{{baseUrl}}"
							],
							"path": [
								"sales",
								"order",
								":id"
							],
							"variable": [
								{
									"key": "id",
									"value": "33892%2FBBA%2F2023",
									"description": "(Required) The unique identifier (order.id) which allow you to retrive detailed information about single order. Note that, order.id has been provided by response message for submit Requisition call and, for the future porpose, could be taken by search Requisition or get Requisition method."
								}
							]
						},
						"description": "This call retrieves a detailed data about single order from your requsition. The unique identifier \n(order.id) is passed in at the end of the call URI. For example, if you want to get detailed \ninformation about 1100130601 order, you have to invoke request as [URL]/sales/order/1100130601. \nAs a response, you will get detailed information about single order from your requisiton. This \nmethod is usefull in invoicing and shipping process and allow you to check, for which order this\ndocuments has been prepared.'\n<h4>Request URL</h4>\n```\n/sales/order/IC10000001\n```\n<h4>Response JSON</h4>\n```\n[\n  {Same as submitRequisition response}\n]\n```\n"
					},
					"response": [
						{
							"name": "successful operation",
							"originalRequest": {
								"method": "GET",
								"header": [
									{
										"description": "Added as a part of security scheme: oauth2",
										"key": "Authorization",
										"value": "<token>"
									}
								],
								"url": {
									"raw": "{{baseUrl}}/sales/order/:id",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"sales",
										"order",
										":id"
									],
									"variable": [
										{
											"key": "id",
											"value": "LAZ%2F19%2F1254",
											"description": "(Required) The unique identifier (order.id) which allow you to retrive detailed information about single order. Note that, order.id has been provided by response message for submit Requisition call and, for the future porpose, could be taken by search Requisition or get Requisition method."
										}
									]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Content-Type",
									"value": "application/json"
								}
							],
							"cookie": [],
							"body": "{\n  \"id\": \"LAZ/19/1254\",\n  \"requisitionId\": \"IC/19/1254\",\n  \"fiscalDocumentNumber\": \"LAZ/19/001\",\n  \"customNumber\": \"A0045\",\n  \"currencyCode\": \"PLN\",\n  \"billTo\": \"8.0\",\n  \"shipTo\": \"8.0\",\n  \"shipFrom\": \"KOM\",\n  \"deliveryMethod\": \"DHL\",\n  \"paymentMethod\": \"CASH\",\n  \"creationDate\": \"2019-04-18T15:28:47.767+02:00\",\n  \"acceptedDate\": \"2019-04-18T18:28:47.767+02:00\",\n  \"statusCode\": \"G\",\n  \"phaseCode\": \"COMPLETED\",\n  \"deferredPayment\": true,\n  \"totalNet\": 500,\n  \"totalGross\": 615,\n  \"comments\": \"laboris velit\",\n  \"lines\": [\n    {\n      \"sku\": \"ADDFFF\",\n      \"requiredQuantity\": 5,\n      \"missingQuantity\": 0,\n      \"acceptedQuantity\": 0,\n      \"collectedQuantity\": 0,\n      \"packagedQuantity\": 0,\n      \"unitPriceNet\": 100,\n      \"unitPriceGross\": 123,\n      \"vatPercentage\": 23,\n      \"totalNet\": 500,\n      \"totalGross\": 615,\n      \"deliveryId\": [\n        \"LAZ/19/001, LAZ/19/002\",\n        \"LAZ/19/001, LAZ/19/002\"\n      ]\n    },\n    {\n      \"sku\": \"ADDFFF\",\n      \"requiredQuantity\": 5,\n      \"missingQuantity\": 0,\n      \"acceptedQuantity\": 0,\n      \"collectedQuantity\": 0,\n      \"packagedQuantity\": 0,\n      \"unitPriceNet\": 100,\n      \"unitPriceGross\": 123,\n      \"vatPercentage\": 23,\n      \"totalNet\": 500,\n      \"totalGross\": 615,\n      \"deliveryId\": [\n        \"LAZ/19/001, LAZ/19/002\",\n        \"LAZ/19/001, LAZ/19/002\"\n      ]\n    }\n  ]\n}"
						},
						{
							"name": "Syntactically incorrect request",
							"originalRequest": {
								"method": "GET",
								"header": [
									{
										"description": "Added as a part of security scheme: oauth2",
										"key": "Authorization",
										"value": "<token>"
									}
								],
								"url": {
									"raw": "{{baseUrl}}/sales/order/:id",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"sales",
										"order",
										":id"
									],
									"variable": [
										{
											"key": "id",
											"value": "<string>",
											"description": "(Required) The unique identifier (order.id) which allow you to retrive detailed information about single order. Note that, order.id has been provided by response message for submit Requisition call and, for the future porpose, could be taken by search Requisition or get Requisition method."
										}
									]
								}
							},
							"status": "Bad Request",
							"code": 400,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Content-Type",
									"value": "application/json"
								}
							],
							"cookie": [],
							"body": "[\n  {\n    \"code\": \"faultInvalidContract\",\n    \"details\": \"Invalid Currency Code !\"\n  },\n  {\n    \"code\": \"faultInvalidContract\",\n    \"details\": \"Invalid Currency Code !\"\n  }\n]"
						},
						{
							"name": "Unauthorized",
							"originalRequest": {
								"method": "GET",
								"header": [
									{
										"description": "Added as a part of security scheme: oauth2",
										"key": "Authorization",
										"value": "<token>"
									}
								],
								"url": {
									"raw": "{{baseUrl}}/sales/order/:id",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"sales",
										"order",
										":id"
									],
									"variable": [
										{
											"key": "id",
											"value": "<string>",
											"description": "(Required) The unique identifier (order.id) which allow you to retrive detailed information about single order. Note that, order.id has been provided by response message for submit Requisition call and, for the future porpose, could be taken by search Requisition or get Requisition method."
										}
									]
								}
							},
							"status": "Unauthorized",
							"code": 401,
							"_postman_previewlanguage": "text",
							"header": [
								{
									"key": "Content-Type",
									"value": "text/plain"
								}
							],
							"cookie": [],
							"body": ""
						},
						{
							"name": "Forbidden",
							"originalRequest": {
								"method": "GET",
								"header": [
									{
										"description": "Added as a part of security scheme: oauth2",
										"key": "Authorization",
										"value": "<token>"
									}
								],
								"url": {
									"raw": "{{baseUrl}}/sales/order/:id",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"sales",
										"order",
										":id"
									],
									"variable": [
										{
											"key": "id",
											"value": "<string>",
											"description": "(Required) The unique identifier (order.id) which allow you to retrive detailed information about single order. Note that, order.id has been provided by response message for submit Requisition call and, for the future porpose, could be taken by search Requisition or get Requisition method."
										}
									]
								}
							},
							"status": "Forbidden",
							"code": 403,
							"_postman_previewlanguage": "text",
							"header": [
								{
									"key": "Content-Type",
									"value": "text/plain"
								}
							],
							"cookie": [],
							"body": ""
						},
						{
							"name": "Requisition not found",
							"originalRequest": {
								"method": "GET",
								"header": [
									{
										"description": "Added as a part of security scheme: oauth2",
										"key": "Authorization",
										"value": "<token>"
									}
								],
								"url": {
									"raw": "{{baseUrl}}/sales/order/:id",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"sales",
										"order",
										":id"
									],
									"variable": [
										{
											"key": "id",
											"value": "<string>",
											"description": "(Required) The unique identifier (order.id) which allow you to retrive detailed information about single order. Note that, order.id has been provided by response message for submit Requisition call and, for the future porpose, could be taken by search Requisition or get Requisition method."
										}
									]
								}
							},
							"status": "Not Found",
							"code": 404,
							"_postman_previewlanguage": "text",
							"header": [
								{
									"key": "Content-Type",
									"value": "text/plain"
								}
							],
							"cookie": [],
							"body": ""
						}
					]
				}
			]
		},
		{
			"name": "customer",
			"item": [
				{
					"name": "/customer",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{authToken}}",
									"type": "string"
								}
							]
						},
						"method": "GET",
						"header": [
							{
								"key": "Accept",
								"value": "application/json"
							}
						],
						"url": {
							"raw": "{{baseUrl}}/customer",
							"host": [
								"{{baseUrl}}"
							],
							"path": [
								"customer"
							]
						},
						"description": "Customer detailed data"
					},
					"response": [
						{
							"name": "successful operation",
							"originalRequest": {
								"method": "GET",
								"header": [
									{
										"description": "Added as a part of security scheme: oauth2",
										"key": "Authorization",
										"value": "<token>"
									}
								],
								"url": {
									"raw": "{{baseUrl}}/customer",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"customer"
									]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Content-Type",
									"value": "application/json"
								}
							],
							"cookie": [],
							"body": "{\n  \"name\": \"INTER CARS S.A.\",\n  \"countryCode\": \"PL\",\n  \"address\": [\n    {\n      \"countryCode\": \"PL\",\n      \"locality\": \"Kielce\",\n      \"streetAddressFull\": \"Wiejska, 3/5\",\n      \"street\": \"Wiejska\",\n      \"building\": \"1\",\n      \"flat\": \"5\",\n      \"postalCode\": \"25319\",\n      \"postOffice\": \"Warszawa\"\n    },\n    {\n      \"countryCode\": \"PL\",\n      \"locality\": \"Kielce\",\n      \"streetAddressFull\": \"Wiejska, 3/5\",\n      \"street\": \"Wiejska\",\n      \"building\": \"1\",\n      \"flat\": \"5\",\n      \"postalCode\": \"25319\",\n      \"postOffice\": \"Warszawa\"\n    }\n  ],\n  \"defaultLocation\": \"KOM\",\n  \"fiscalDocument\": \"RECEPIT\",\n  \"paymentMethods\": [\n    \"CASH\",\n    \"CASH\"\n  ],\n  \"defaultPaymentMethod\": \"CASH\",\n  \"paymentTerm\": 14,\n  \"defaultDeliveryMethod\": \"DHL\"\n}"
						},
						{
							"name": "Syntactically incorrect request",
							"originalRequest": {
								"method": "GET",
								"header": [
									{
										"description": "Added as a part of security scheme: oauth2",
										"key": "Authorization",
										"value": "<token>"
									}
								],
								"url": {
									"raw": "{{baseUrl}}/customer",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"customer"
									]
								}
							},
							"status": "Bad Request",
							"code": 400,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Content-Type",
									"value": "application/json"
								}
							],
							"cookie": [],
							"body": "[\n  {\n    \"code\": \"faultInvalidContract\",\n    \"details\": \"Invalid Currency Code !\"\n  },\n  {\n    \"code\": \"faultInvalidContract\",\n    \"details\": \"Invalid Currency Code !\"\n  }\n]"
						},
						{
							"name": "Unauthorized",
							"originalRequest": {
								"method": "GET",
								"header": [
									{
										"description": "Added as a part of security scheme: oauth2",
										"key": "Authorization",
										"value": "<token>"
									}
								],
								"url": {
									"raw": "{{baseUrl}}/customer",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"customer"
									]
								}
							},
							"status": "Unauthorized",
							"code": 401,
							"_postman_previewlanguage": "text",
							"header": [
								{
									"key": "Content-Type",
									"value": "text/plain"
								}
							],
							"cookie": [],
							"body": ""
						},
						{
							"name": "Forbidden",
							"originalRequest": {
								"method": "GET",
								"header": [
									{
										"description": "Added as a part of security scheme: oauth2",
										"key": "Authorization",
										"value": "<token>"
									}
								],
								"url": {
									"raw": "{{baseUrl}}/customer",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"customer"
									]
								}
							},
							"status": "Forbidden",
							"code": 403,
							"_postman_previewlanguage": "text",
							"header": [
								{
									"key": "Content-Type",
									"value": "text/plain"
								}
							],
							"cookie": [],
							"body": ""
						}
					]
				},
				{
					"name": "/customer/finances",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{authToken}}",
									"type": "string"
								}
							]
						},
						"method": "GET",
						"header": [
							{
								"key": "Accept",
								"value": "application/json"
							}
						],
						"url": {
							"raw": "{{baseUrl}}/customer/finances",
							"host": [
								"{{baseUrl}}"
							],
							"path": [
								"customer",
								"finances"
							]
						},
						"description": "Customer detailed financial data"
					},
					"response": [
						{
							"name": "successful operation",
							"originalRequest": {
								"method": "GET",
								"header": [
									{
										"description": "Added as a part of security scheme: oauth2",
										"key": "Authorization",
										"value": "<token>"
									}
								],
								"url": {
									"raw": "{{baseUrl}}/customer/finances",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"customer",
										"finances"
									]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Content-Type",
									"value": "application/json"
								}
							],
							"cookie": [],
							"body": "{\n  \"orderingAllowed\": true,\n  \"deferredPaymentAllowed\": true,\n  \"balance\": 5050.32,\n  \"overdueBalance\": 5421.37,\n  \"debit\": 341549.87,\n  \"credit\": 367048.55,\n  \"vipPoints\": 3123,\n  \"creditLimit\": 6300,\n  \"utilizedCreditLimit\": 5050.32\n}"
						},
						{
							"name": "Syntactically incorrect request",
							"originalRequest": {
								"method": "GET",
								"header": [
									{
										"description": "Added as a part of security scheme: oauth2",
										"key": "Authorization",
										"value": "<token>"
									}
								],
								"url": {
									"raw": "{{baseUrl}}/customer/finances",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"customer",
										"finances"
									]
								}
							},
							"status": "Bad Request",
							"code": 400,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Content-Type",
									"value": "application/json"
								}
							],
							"cookie": [],
							"body": "[\n  {\n    \"code\": \"faultInvalidContract\",\n    \"details\": \"Invalid Currency Code !\"\n  },\n  {\n    \"code\": \"faultInvalidContract\",\n    \"details\": \"Invalid Currency Code !\"\n  }\n]"
						},
						{
							"name": "Unauthorized",
							"originalRequest": {
								"method": "GET",
								"header": [
									{
										"description": "Added as a part of security scheme: oauth2",
										"key": "Authorization",
										"value": "<token>"
									}
								],
								"url": {
									"raw": "{{baseUrl}}/customer/finances",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"customer",
										"finances"
									]
								}
							},
							"status": "Unauthorized",
							"code": 401,
							"_postman_previewlanguage": "text",
							"header": [
								{
									"key": "Content-Type",
									"value": "text/plain"
								}
							],
							"cookie": [],
							"body": ""
						},
						{
							"name": "Forbidden",
							"originalRequest": {
								"method": "GET",
								"header": [
									{
										"description": "Added as a part of security scheme: oauth2",
										"key": "Authorization",
										"value": "<token>"
									}
								],
								"url": {
									"raw": "{{baseUrl}}/customer/finances",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"customer",
										"finances"
									]
								}
							},
							"status": "Forbidden",
							"code": 403,
							"_postman_previewlanguage": "text",
							"header": [
								{
									"key": "Content-Type",
									"value": "text/plain"
								}
							],
							"cookie": [],
							"body": ""
						}
					]
				}
			]
		},
		{
			"name": "pricing",
			"item": [
				{
					"name": "calculate Item Price",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{authToken}}",
									"type": "string"
								}
							]
						},
						"method": "POST",
						"header": [
							{
								"key": "Content-Type",
								"value": "application/json"
							},
							{
								"key": "Accept",
								"value": "application/json"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n  \"lines\": [\n    {\n      \"sku\": \"ADDFFF\",\n      \"quantity\": 10\n    }\n  ]\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{baseUrl}}/pricing/quote",
							"host": [
								"{{baseUrl}}"
							],
							"path": [
								"pricing",
								"quote"
							]
						},
						"description": "Pricing calculation:  This method retrieves the details of a specific item price, such as list price excluding tax,  list price including tax, refundable amount which you need to pay for refundable products, tax  rate and customer price, which is calculated as price after all of possible discounts. Note that  the method return items price where both list price and customer price are available. However,  as a buying option is supported only customer price.  <h4>Request</h4> ``` curl -X POST \"https://dev.gw.intercars.eu/inventory/1.0.0/pricing/quote\" {\n  \"lines\": [\n    {\n      \"sku\": \"ADDFFA\",\n      \"quantity\": 10\n    }\n    {\n      \"sku\": \"ADDFFF\",\n      \"quantity\": 10\n    }\n  ]\n} ``` <h4>Response JSON</h4> ``` {\n  \"lines\": [\n    {\n      \"sku\": \"ADDFFA\",\n      \"quantity\": 10,\n      \"price\": {\n        \"currencyCode\": \"PLN\",\n        \"listPriceNet\": 100,\n        \"listPriceGross\": 123,\n        \"vatPercentage\": 23,\n        \"vatAmount\": 23,\n        \"refundableAmount\": 0,\n        \"customerPriceNet\": 80,\n        \"customerPriceGross\": 98.4\n      }\n    }\n    {\n      \"sku\": \"ADDFFF\",\n      \"quantity\": 10,\n      \"price\": {\n        \"currencyCode\": \"PLN\",\n        \"listPriceNet\": 100,\n        \"listPriceGross\": 123,\n        \"vatPercentage\": 23,\n        \"vatAmount\": 23,\n        \"refundableAmount\": 0,\n        \"customerPriceNet\": 80,\n        \"customerPriceGross\": 98.4\n      }\n    }\n  ]\n} ```\n"
					},
					"response": [
						{
							"name": "Success",
							"originalRequest": {
								"method": "POST",
								"header": [
									{
										"description": "Added as a part of security scheme: oauth2",
										"key": "Authorization",
										"value": "<token>"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n  \"lines\": [\n    {\n      \"sku\": \"ADDFFF\",\n      \"quantity\": 10\n    },\n    {\n      \"sku\": \"ADDFFF\",\n      \"quantity\": 10\n    }\n  ],\n  \"location\": [\n    \"KOM\"\n  ]\n}",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "{{baseUrl}}/pricing/quote",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"pricing",
										"quote"
									]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Content-Type",
									"value": "application/json"
								}
							],
							"cookie": [],
							"body": "{\n  \"lines\": [\n    {\n      \"sku\": \"ADDFFF\",\n      \"quantity\": 10,\n      \"price\": {\n        \"currencyCode\": \"PLN\",\n        \"listPriceNet\": 100,\n        \"listPriceGross\": 123,\n        \"vatPercentage\": 23,\n        \"vatAmount\": 23,\n        \"refundableAmount\": 0,\n        \"customerPriceNet\": 80,\n        \"customerPriceGross\": 98.4\n      }\n    },\n    {\n      \"sku\": \"ADDFFF\",\n      \"quantity\": 10,\n      \"price\": {\n        \"currencyCode\": \"PLN\",\n        \"listPriceNet\": 100,\n        \"listPriceGross\": 123,\n        \"vatPercentage\": 23,\n        \"vatAmount\": 23,\n        \"refundableAmount\": 0,\n        \"customerPriceNet\": 80,\n        \"customerPriceGross\": 98.4\n      }\n    }\n  ]\n}"
						},
						{
							"name": "Syntactically incorrect request",
							"originalRequest": {
								"method": "POST",
								"header": [
									{
										"description": "Added as a part of security scheme: oauth2",
										"key": "Authorization",
										"value": "<token>"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n  \"lines\": [\n    {\n      \"sku\": \"ADDFFF\",\n      \"quantity\": 10\n    },\n    {\n      \"sku\": \"ADDFFF\",\n      \"quantity\": 10\n    }\n  ],\n  \"shipTo\": \"80\",\n  \"location\": [\n    \"KOM\",\n    \"KOM\"\n  ]\n}",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "{{baseUrl}}/pricing/quote",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"pricing",
										"quote"
									]
								}
							},
							"status": "Bad Request",
							"code": 400,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Content-Type",
									"value": "application/json"
								}
							],
							"cookie": [],
							"body": "[\n  {\n    \"code\": \"faultInvalidContract\",\n    \"details\": \"Invalid Currency Code !\"\n  },\n  {\n    \"code\": \"faultInvalidContract\",\n    \"details\": \"Invalid Currency Code !\"\n  }\n]"
						},
						{
							"name": "Unauthorized",
							"originalRequest": {
								"method": "POST",
								"header": [
									{
										"description": "Added as a part of security scheme: oauth2",
										"key": "Authorization",
										"value": "<token>"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n  \"lines\": [\n    {\n      \"sku\": \"ADDFFF\",\n      \"quantity\": 10\n    },\n    {\n      \"sku\": \"ADDFFF\",\n      \"quantity\": 10\n    }\n  ],\n  \"shipTo\": \"80\",\n  \"location\": [\n    \"KOM\",\n    \"KOM\"\n  ]\n}",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "{{baseUrl}}/pricing/quote",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"pricing",
										"quote"
									]
								}
							},
							"status": "Unauthorized",
							"code": 401,
							"_postman_previewlanguage": "text",
							"header": [
								{
									"key": "Content-Type",
									"value": "text/plain"
								}
							],
							"cookie": [],
							"body": ""
						},
						{
							"name": "Forbidden",
							"originalRequest": {
								"method": "POST",
								"header": [
									{
										"description": "Added as a part of security scheme: oauth2",
										"key": "Authorization",
										"value": "<token>"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n  \"lines\": [\n    {\n      \"sku\": \"ADDFFF\",\n      \"quantity\": 10\n    },\n    {\n      \"sku\": \"ADDFFF\",\n      \"quantity\": 10\n    }\n  ],\n  \"shipTo\": \"80\",\n  \"location\": [\n    \"KOM\",\n    \"KOM\"\n  ]\n}",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "{{baseUrl}}/pricing/quote",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"pricing",
										"quote"
									]
								}
							},
							"status": "Forbidden",
							"code": 403,
							"_postman_previewlanguage": "text",
							"header": [
								{
									"key": "Content-Type",
									"value": "text/plain"
								}
							],
							"cookie": [],
							"body": ""
						},
						{
							"name": "SKU not Found",
							"originalRequest": {
								"method": "POST",
								"header": [
									{
										"description": "Added as a part of security scheme: oauth2",
										"key": "Authorization",
										"value": "<token>"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n  \"lines\": [\n    {\n      \"sku\": \"ADDFFF\",\n      \"quantity\": 10\n    },\n    {\n      \"sku\": \"ADDFFF\",\n      \"quantity\": 10\n    }\n  ],\n  \"shipTo\": \"80\",\n  \"location\": [\n    \"KOM\",\n    \"KOM\"\n  ]\n}",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "{{baseUrl}}/pricing/quote",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"pricing",
										"quote"
									]
								}
							},
							"status": "Not Found",
							"code": 404,
							"_postman_previewlanguage": "text",
							"header": [
								{
									"key": "Content-Type",
									"value": "text/plain"
								}
							],
							"cookie": [],
							"body": ""
						}
					]
				}
			]
		},
		{
			"name": "catalog",
			"item": [
				{
					"name": "Search categories",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{authToken}}",
									"type": "string"
								}
							]
						},
						"method": "GET",
						"header": [
							{
								"key": "Accept-Language",
								"value": "pl",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{baseUrl}}/catalog/category?categoryId=SalesClassificationNode_6100000",
							"host": [
								"{{baseUrl}}"
							],
							"path": [
								"catalog",
								"category"
							],
							"query": [
								{
									"key": "categoryId",
									"value": "SalesClassificationNode_6100000"
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "Search products",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{authToken}}",
									"type": "string"
								}
							]
						},
						"method": "GET",
						"header": [
							{
								"key": "Accept-Language",
								"value": "pl",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{baseUrl}}/catalog/products?categoryId=SalesClassificationNode_6100000&pageNumber=0&pageSize=10&brands=OE MERCEDES",
							"host": [
								"{{baseUrl}}"
							],
							"path": [
								"catalog",
								"products"
							],
							"query": [
								{
									"key": "categoryId",
									"value": "SalesClassificationNode_6100000"
								},
								{
									"key": "pageNumber",
									"value": "0"
								},
								{
									"key": "pageSize",
									"value": "10"
								},
								{
									"key": "brands",
									"value": "OE MERCEDES"
								}
							]
						}
					},
					"response": []
				}
			]
		},
		{
			"name": "Authorize",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"var jsonData = JSON.parse(responseBody);\r",
							"pm.collectionVariables.set(\"authToken\", jsonData.access_token);"
						],
						"type": "text/javascript"
					}
				}
			],
			"protocolProfileBehavior": {
				"disabledSystemHeaders": {
					"content-length": true
				}
			},
			"request": {
				"auth": {
					"type": "basic",
					"basic": [
						{
							"key": "password",
							"value": "{{clientSecret}}",
							"type": "string"
						},
						{
							"key": "username",
							"value": "{{clientID}}",
							"type": "string"
						}
					]
				},
				"method": "POST",
				"header": [
					{
						"key": "Content-Type",
						"value": "application/x-www-form-urlencoded",
						"type": "text"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "{{tokenUrl}}?grant_type=client_credentials&scope=allinone",
					"host": [
						"{{tokenUrl}}"
					],
					"query": [
						{
							"key": "grant_type",
							"value": "client_credentials"
						},
						{
							"key": "scope",
							"value": "allinone"
						}
					]
				}
			},
			"response": []
		}
	],
	"event": [
		{
			"listen": "prerequest",
			"script": {
				"type": "text/javascript",
				"exec": [
					""
				]
			}
		},
		{
			"listen": "test",
			"script": {
				"type": "text/javascript",
				"exec": [
					""
				]
			}
		}
	],
	"variable": [
		{
			"key": "authToken",
			"value": "null"
		},
		{
			"value": "https://api.webapi.intercars.eu/ic",
			"disabled": true
		},
		{
			"value": "https://is.webapi.intercars.eu/oauth2/token",
			"disabled": true
		},
		{
			"value": "https://api.eu-de.apiconnect.appdomain.cloud/cloudibmintercarseu-prod/ic-api/confidential/oauth2/authorize",
			"disabled": true
		},
		{
			"value": "https://rest.webapi.intercars.eu/",
			"disabled": true
		}
	]
}