diff --git a/PostmanCollections/VTEX - Pick and Pack Changes API.json b/PostmanCollections/VTEX - Pick and Pack Changes API.json new file mode 100644 index 000000000..e3ba91453 --- /dev/null +++ b/PostmanCollections/VTEX - Pick and Pack Changes API.json @@ -0,0 +1,693 @@ +{ + "_": { + "postman_id": "da69261c-80bc-453b-9b3f-87e92ce731b3" + }, + "item": [ + { + "id": "ba4ac91e-f176-494c-821b-301089658676", + "name": "Update order deadline", + "request": { + "name": "Update order deadline", + "description": { + "content": "Updates the deadline for an order. The `min` and `max` fields specify the deadline window, while the description provides additional information.\r\n\r\n>ℹ️ This endpoint is currently in beta and subject to changes. Use with caution in production environments.\r\n\r\n## Permissions\r\n\r\nAny user or [application key](https://developers.vtex.com/docs/guides/api-authentication-using-application-keys) must have at least one of the appropriate [License Manager resources](https://help.vtex.com/en/tutorial/license-manager-resources--3q6ztrC8YynQf6rdc6euk3) to be able to successfully run this request. Otherwise they will receive a status code `403` error. These are the applicable resources for this endpoint:\r\n\r\n| **Product** | **Category** | **Resource** |\r\n| --------------- | ----------------- | ----------------- |\r\n| OMS | OMS access | **View order** |\r\n| OMS | OMS access | **Only show orders created by the user (via call center)** |\r\n| Catalog | Telesales | **Assisted Sales** |\r\n\r\nThere are no applicable [predefined roles](https://help.vtex.com/en/tutorial/predefined-roles--jGDurZKJHvHJS13LnO7Dy) for this resource list. You must [create a custom role](https://help.vtex.com/en/tutorial/roles--7HKK5Uau2H6wxE1rH5oRbc#creating-a-role) and add at least one of the resources above in order to use this endpoint. To learn more about machine authentication at VTEX, see [Authentication overview](https://developers.vtex.com/docs/guides/authentication).\r\n\r\n>❗ To prevent integrations from having excessive permissions, consider the [best practices for managing app keys](https://help.vtex.com/en/tutorial/best-practices-application-keys--7b6nD1VMHa49aI5brlOvJm) when assigning License Manager roles to integrations.", + "type": "text/plain" + }, + "url": { + "path": [ + "orders", + ":orderId", + "deadline" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "description": { + "content": "(Required) Unique identifier of the order.", + "type": "text/plain" + }, + "type": "any", + "value": "1481050515517-01", + "key": "orderId" + } + ] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation _Accept_ Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "PUT", + "body": { + "mode": "raw", + "raw": "{\n \"UpdateDeadline\": {\n \"description\": \"Extend deadline due to delayed shipment\",\n \"max\": \"2024-12-24T23:03:02Z\",\n \"min\": \"2024-12-23T23:03:02Z\"\n }\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "31a94da0-0cde-48f1-9f5d-6077e880dcc1", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "orders", + ":orderId", + "deadline" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation _Accept_ Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "X-VTEX-API-AppKey", + "value": "" + } + ], + "method": "PUT", + "body": { + "mode": "raw", + "raw": "{\n \"UpdateDeadline\": {\n \"description\": \"Extend deadline due to delayed shipment\",\n \"max\": \"2024-12-24T23:03:02Z\",\n \"min\": \"2024-12-23T23:03:02Z\"\n }\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"order\": {\n \"currentDeadline\": {\n \"max\": \"2024-12-24T23:03:02Z\",\n \"min\": \"2024-12-23T23:03:02Z\"\n },\n \"deadlineChanges\": [\n {\n \"current\": true,\n \"description\": \"Extend deadline due to delayed shipment\",\n \"handled\": true,\n \"max\": \"2024-12-24T23:03:02.000Z\",\n \"min\": \"2024-12-23T23:03:02.000Z\",\n \"oldDates\": {\n \"max\": \"2024-12-04T17:20:48.088Z\",\n \"min\": \"2024-12-04T17:20:48.088Z\"\n },\n \"updatedAt\": \"2024-12-03T17:35:59.786Z\"\n }\n ],\n \"orderId\": \"1481050515517-01\"\n },\n \"success\": true\n}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "6337cbe1-4fc5-48cb-a313-e596269db815", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "orders", + ":orderId", + "deadline" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation _Accept_ Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "X-VTEX-API-AppKey", + "value": "" + } + ], + "method": "PUT", + "body": { + "mode": "raw", + "raw": "{\n \"UpdateDeadline\": {\n \"description\": \"Extend deadline due to delayed shipment\",\n \"max\": \"2024-12-24T23:03:02Z\",\n \"min\": \"2024-12-23T23:03:02Z\"\n }\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Bad Request", + "code": 400, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"error\": {\n \"code\": \"400\",\n \"message\": \"New dates must be greater than the current dates\"\n },\n \"success\": false\n}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "8008d74c-72c1-482d-8811-7a4af2770b77", + "name": "Unauthorized", + "originalRequest": { + "url": { + "path": [ + "orders", + ":orderId", + "deadline" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation _Accept_ Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "X-VTEX-API-AppKey", + "value": "" + } + ], + "method": "PUT", + "body": { + "mode": "raw", + "raw": "{\n \"UpdateDeadline\": {\n \"description\": \"Extend deadline due to delayed shipment\",\n \"max\": \"2024-12-24T23:03:02Z\",\n \"min\": \"2024-12-23T23:03:02Z\"\n }\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Unauthorized", + "code": 401, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"message\": \"Unauthorized\"\n}", + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "ba1a60a8-85d2-46fb-a6b6-7ed314cb46a5", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[PUT]::/orders/:orderId/deadline - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[PUT]::/orders/:orderId/deadline - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[PUT]::/orders/:orderId/deadline - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"type\":\"object\",\"properties\":{\"order\":{\"description\":\"Object with current deadline information.\",\"type\":\"object\",\"properties\":{\"currentDeadline\":{\"description\":\"Current deadline information.\",\"type\":\"object\",\"properties\":{\"max\":{\"description\":\"Latest deadline date in ISO 8601 format.\",\"type\":\"string\"},\"min\":{\"description\":\"Earliest deadline date in ISO 8601 format.\",\"type\":\"string\"}}},\"deadlineChanges\":{\"description\":\"Object containg information of the deadline changes.\",\"type\":\"array\",\"items\":{\"description\":\"Deadline change.\",\"type\":\"object\",\"properties\":{\"current\":{\"description\":\"If the deadline changes were update.\",\"type\":\"boolean\"},\"description\":{\"description\":\"Reason or purpose for the update.\",\"type\":\"string\"},\"handled\":{\"description\":\"If the deadline changes were handled by the picker.\",\"type\":\"boolean\"},\"max\":{\"description\":\"Latest deadline date in ISO 8601 format.\",\"type\":\"string\"},\"min\":{\"description\":\"Earliest deadline date in ISO 8601 format.\",\"type\":\"string\"},\"oldDates\":{\"description\":\"Object containg previous deadline information.\",\"type\":\"object\",\"properties\":{\"max\":{\"description\":\"Latest deadline date in ISO 8601 format.\",\"type\":\"string\"},\"min\":{\"description\":\"Earliest deadline date in ISO 8601 format.\",\"type\":\"string\"}}},\"updatedAt\":{\"description\":\"An explanation about the purpose of this instance.\",\"type\":\"string\"}}}},\"orderId\":{\"description\":\"Unique identifier of the order.\",\"type\":\"string\"}}},\"success\":{\"description\":\"Condition if the request was successful.\",\"type\":\"boolean\"}}}\n\n// Validate if response matches JSON schema \npm.test(\"[PUT]::/orders/:orderId/deadline - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "dacd5b95-ab9a-44b5-b4fd-e3f9df092c08", + "name": "Update items of the order", + "request": { + "name": "Update items of the order", + "description": { + "content": "Modifies an order by adding, updating, or removing items. The endpoint supports actions like adding items, modifying quantities, rejecting or replacing items, and updating item details, adding notes and suggest product replacements.\r\n\r\n>ℹ️ This endpoint is currently in beta and subject to changes. Use with caution in production environments.\r\n\r\n>⚠️ Before using this endpoint, you must make a request with the [Cart simulation](https://developers.vtex.com/docs/api-reference/checkout-api#post-/api/checkout/pub/orderForms/simulation) endpoint to check inventory availability. For more information of how to simulate a cart, check the [Simulate a shopping cart](https://developers.vtex.com/docs/guides/simulate-a-shopping-cart) guide.\r\n\r\n## Permissions\r\n\r\nAny user or [application key](https://developers.vtex.com/docs/guides/api-authentication-using-application-keys) must have at least one of the appropriate [License Manager resources](https://help.vtex.com/en/tutorial/license-manager-resources--3q6ztrC8YynQf6rdc6euk3) to be able to successfully run this request. Otherwise they will receive a status code `403` error. These are the applicable resources for this endpoint:\r\n\r\n| **Product** | **Category** | **Resource** |\r\n| --------------- | ----------------- | ----------------- |\r\n| OMS | OMS access | **View order** |\r\n| OMS | OMS access | **Only show orders created by the user (via call center)** |\r\n| Catalog | Telesales | **Assisted Sales** |\r\n\r\nThere are no applicable [predefined roles](https://help.vtex.com/en/tutorial/predefined-roles--jGDurZKJHvHJS13LnO7Dy) for this resource list. You must [create a custom role](https://help.vtex.com/en/tutorial/roles--7HKK5Uau2H6wxE1rH5oRbc#creating-a-role) and add at least one of the resources above in order to use this endpoint. To learn more about machine authentication at VTEX, see [Authentication overview](https://developers.vtex.com/docs/guides/authentication).\r\n\r\n>❗ To prevent integrations from having excessive permissions, consider the [best practices for managing app keys](https://help.vtex.com/en/tutorial/best-practices-application-keys--7b6nD1VMHa49aI5brlOvJm) when assigning License Manager roles to integrations.", + "type": "text/plain" + }, + "url": { + "path": [ + "order", + "changes" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation _Accept_ Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{\n \"type\": \"ADD_ITEM\",\n \"orderId\": \"1481110515526-01\",\n \"itemId\": \"49\",\n \"quantity\": 2,\n \"warehouseId\": \"9029\",\n \"price\": 500000,\n \"sellingPrice\": 200000,\n \"note\": \"TEST from VTEX PROXY 3\",\n \"pickingOptions\": {\n \"onNotFound\": \"REPLACE\",\n \"alternateOptions\": [\n \"74\"\n ]\n }\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "4745b655-8551-4e70-8388-dbc0df97b831", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "order", + "changes" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation _Accept_ Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "X-VTEX-API-AppKey", + "value": "" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{\n \"type\": \"ADD_ITEM\",\n \"orderId\": \"1481110515526-01\",\n \"itemId\": \"49\",\n \"quantity\": 2,\n \"warehouseId\": \"9029\",\n \"price\": 500000,\n \"sellingPrice\": 200000,\n \"note\": \"TEST from VTEX PROXY 3\",\n \"pickingOptions\": {\n \"onNotFound\": \"REPLACE\",\n \"alternateOptions\": [\n \"74\"\n ]\n }\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"message\": \"Error requesting picking action\"\n}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "0beef5e9-54e7-47db-8b0c-1e8b38e33314", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "order", + "changes" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation _Accept_ Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "X-VTEX-API-AppKey", + "value": "" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{\n \"type\": \"ADD_ITEM\",\n \"orderId\": \"1481110515526-01\",\n \"itemId\": \"49\",\n \"quantity\": 2,\n \"warehouseId\": \"9029\",\n \"price\": 500000,\n \"sellingPrice\": 200000,\n \"note\": \"TEST from VTEX PROXY 3\",\n \"pickingOptions\": {\n \"onNotFound\": \"REPLACE\",\n \"alternateOptions\": [\n \"74\"\n ]\n }\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Bad Request", + "code": 400, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"message\": \"Error requesting picking action\"\n}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "be9c1a09-1ac7-4b62-8b33-44d9b4e0d1d9", + "name": "Unauthorized", + "originalRequest": { + "url": { + "path": [ + "order", + "changes" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation _Accept_ Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "X-VTEX-API-AppKey", + "value": "" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{\n \"type\": \"ADD_ITEM\",\n \"orderId\": \"1481110515526-01\",\n \"itemId\": \"49\",\n \"quantity\": 2,\n \"warehouseId\": \"9029\",\n \"price\": 500000,\n \"sellingPrice\": 200000,\n \"note\": \"TEST from VTEX PROXY 3\",\n \"pickingOptions\": {\n \"onNotFound\": \"REPLACE\",\n \"alternateOptions\": [\n \"74\"\n ]\n }\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Unauthorized", + "code": 401, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"message\": \"Unauthorized\"\n}", + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "2e8bb1dd-d11a-4d64-b5bb-ef4708ed2abc", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[POST]::/order/changes - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[POST]::/order/changes - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[POST]::/order/changes - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"required\":[\"type\",\"orderId\",\"itemId\",\"quantity\",\"warehouseId\",\"price\",\"sellingPrice\",\"note\",\"pickingOptions\"],\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\",\"description\":\"Action type (`ADD_ITEM`).\"},\"orderId\":{\"type\":\"string\",\"description\":\"Unique identifier of the order.\"},\"itemId\":{\"type\":\"string\",\"description\":\"Unique identifier of the item.\"},\"quantity\":{\"type\":\"integer\",\"description\":\"Quantity of items to add.\"},\"warehouseId\":{\"type\":\"string\",\"description\":\"Unique identifier of the warehouse.\"},\"price\":{\"type\":\"integer\",\"description\":\"Price of the item.\"},\"sellingPrice\":{\"type\":\"integer\",\"description\":\"Selling price of the item.\"},\"note\":{\"type\":\"string\",\"description\":\"Note to add to the item.\"},\"pickingOptions\":{\"required\":[\"onNotFound\",\"alternateOptions\"],\"type\":\"object\",\"description\":\"Items picking options.\",\"properties\":{\"onNotFound\":{\"type\":\"string\",\"description\":\"List of alternate options.\"},\"alternateOptions\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"ID of alternative items.\"},\"description\":\"List of IDs of alternative items.\"}}}},\"example\":{\"type\":\"ADD_ITEM\",\"orderId\":\"1481110515526-01\",\"itemId\":\"49\",\"quantity\":2,\"warehouseId\":\"9029\",\"price\":500000,\"sellingPrice\":200000,\"note\":\"TEST from VTEX PROXY 3\",\"pickingOptions\":{\"onNotFound\":\"REPLACE\",\"alternateOptions\":[\"74\"]}}}\n\n// Validate if response matches JSON schema \npm.test(\"[POST]::/order/changes - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + } + ], + "auth": { + "type": "apikey", + "apikey": [ + { + "type": "any", + "value": "X-VTEX-API-AppKey", + "key": "key" + }, + { + "type": "any", + "value": "{{apiKey}}", + "key": "value" + }, + { + "type": "any", + "value": "header", + "key": "in" + } + ] + }, + "event": [], + "variable": [ + { + "type": "any", + "value": "apiexamples", + "key": "accountName" + }, + { + "type": "any", + "value": "vtexcommercestable", + "key": "environment" + }, + { + "type": "any", + "value": "https://{{accountName}}.{{environment}}.com.br/vtex_pickandpack", + "key": "baseUrl" + } + ], + "info": { + "_postman_id": "da69261c-80bc-453b-9b3f-87e92ce731b3", + "name": "Pick and Pack Order Changes API", + "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", + "description": { + "content": "The Pick and Pack Order Changes API manages order modifications in a Pick an Pack order. This API supports actions like updating deadlines, adding items, modifying quantities, rejecting or replacing items, and updating item details.\r\n\r\n>ℹ️ This API is currently in beta and subject to changes. Use with caution in production environments.\r\n\r\n## Index\r\n\r\n- `PUT` [Update order deadline](https://developers.vtex.com/docs/api-reference/pick-and-pack-order-changes-api#put-/orders/-orderId-/deadline?endpoint=put-/orders/-orderId-/deadline)\r\n- `POST`[Update items of the order](https://developers.vtex.com/docs/api-reference/pick-and-pack-order-changes-api#post-/order/changes?endpoint=post/order/changes)", + "type": "text/plain" + } + } +} \ No newline at end of file