diff --git a/PostmanCollections/VTEX - Orders API.json b/PostmanCollections/VTEX - Orders API.json index 96b5d0fcc..bc3213fed 100644 --- a/PostmanCollections/VTEX - Orders API.json +++ b/PostmanCollections/VTEX - Orders API.json @@ -1,10 +1,10 @@ { "_": { - "postman_id": "6159c6f0-7906-4f58-a4d2-d27acf941fb7" + "postman_id": "8a9baeb7-3d36-4262-abb5-4ca1f7341891" }, "item": [ { - "id": "0b27ad43-2438-49d8-a487-9d2c08ef3114", + "id": "24fc7655-7edb-42c3-b1c4-f1031928674d", "name": "Orders", "description": { "content": "", @@ -12,7 +12,7 @@ }, "item": [ { - "id": "c618dad1-410f-4a28-9950-cfd754cd929e", + "id": "f920c1ed-bc5f-40b9-bdf2-1a63e48da5e1", "name": "Get order", "request": { "name": "Get order", @@ -77,7 +77,7 @@ "_": { "postman_previewlanguage": "json" }, - "id": "bf463e4a-3392-4e3e-9152-e5d1ef6f92ea", + "id": "143bedc1-aa75-42a0-88a9-ab1cbf224f5f", "name": "OK", "originalRequest": { "url": { @@ -145,7 +145,7 @@ { "listen": "test", "script": { - "id": "21f891f8-96d1-4772-9444-c044ff76bb4c", + "id": "43100d7e-eed1-4f98-bde4-a609f8db3213", "type": "text/javascript", "exec": [ "// Validate status 2xx \npm.test(\"[GET]::/api/oms/pvt/orders/:orderId - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", @@ -161,7 +161,7 @@ } }, { - "id": "fa9d857a-07a9-4b75-a1df-5d32e77c816c", + "id": "6fd21150-8809-46fc-a447-7d34f64f05a4", "name": "Get orders by order group ID", "request": { "name": "Get orders by order group ID", @@ -227,7 +227,7 @@ "_": { "postman_previewlanguage": "json" }, - "id": "2783676e-0192-4399-8121-f9fc61d36cf5", + "id": "b41b2ffc-d82d-4a0d-9c1d-cfd28aa37ce9", "name": "OK", "originalRequest": { "url": { @@ -296,7 +296,7 @@ { "listen": "test", "script": { - "id": "7350c06c-0304-48d9-acd7-afd485aecc6a", + "id": "c52cd026-f5a6-4ea8-b2f3-c5c1eb7e5a7e", "type": "text/javascript", "exec": [ "// Validate status 2xx \npm.test(\"[GET]::/api/oms/pvt/orders/order-group/:orderGroup - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", @@ -312,7 +312,7 @@ } }, { - "id": "1049ecbf-6533-4097-b887-52933cbdce9f", + "id": "efd46f7f-d590-4256-9ee5-89c39bcf4fdf", "name": "List orders", "request": { "name": "List orders", @@ -555,7 +555,7 @@ "_": { "postman_previewlanguage": "json" }, - "id": "5eaebfde-d7cc-43ce-b257-d4cfaea99468", + "id": "055ab669-a91b-40ee-a3ec-cbe32ce788d0", "name": "OK", "originalRequest": { "url": { @@ -812,7 +812,7 @@ { "listen": "test", "script": { - "id": "bc10dbb9-e1ee-4578-8721-fc6a6aa18019", + "id": "cb467409-d136-4175-944c-2827be16bb92", "type": "text/javascript", "exec": [ "// Validate status 2xx \npm.test(\"[GET]::/api/oms/pvt/orders - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", @@ -828,7 +828,7 @@ } }, { - "id": "ae007089-4dcb-41a1-9fbc-852572d1bcec", + "id": "d972f285-19bf-4ad6-8b03-1e5872de2f10", "name": "Start handling order", "request": { "name": "Start handling order", @@ -894,7 +894,7 @@ "_": { "postman_previewlanguage": "text" }, - "id": "e0d7c88d-c0a2-4c8e-ac2b-beb3d52393ef", + "id": "8b01ccf4-af1d-4fbc-bcfa-bef96fc8e37c", "name": "[No content](https://httpstatuses.com/204)", "originalRequest": { "url": { @@ -952,7 +952,7 @@ "_": { "postman_previewlanguage": "json" }, - "id": "457d74ad-1a3a-402f-97f5-bbc5b7c8cf9a", + "id": "df34ca67-faff-4161-ad0d-4ddbd40fce0d", "name": "[Unauthorized](https://httpstatuses.com/401)", "originalRequest": { "url": { @@ -1020,7 +1020,7 @@ "_": { "postman_previewlanguage": "text" }, - "id": "2dd1abd9-f794-427e-8f11-893d89a40e72", + "id": "896100a5-ed0a-4f91-bc16-9b56384d00a3", "name": "[Forbidden](https://httpstatuses.com/403)", "originalRequest": { "url": { @@ -1078,7 +1078,7 @@ "_": { "postman_previewlanguage": "text" }, - "id": "fed83843-d285-4a36-bc58-a92794d2ce75", + "id": "aa3a9608-ea35-4207-ae88-9ad594c3e81c", "name": "[Not found](https://httpstatuses.com/404)", "originalRequest": { "url": { @@ -1136,7 +1136,7 @@ "_": { "postman_previewlanguage": "json" }, - "id": "d1febfbe-b7b4-4f5e-8005-955f99bb253c", + "id": "4b2cab4b-563b-449f-822a-ff8ea458ffac", "name": "[Conflict](https://httpstatuses.com/409)", "originalRequest": { "url": { @@ -1204,7 +1204,7 @@ "_": { "postman_previewlanguage": "text" }, - "id": "6849351d-93e4-46e0-b657-55c080d4f774", + "id": "8ad9409c-4e10-4f9e-8d56-30992cdd8809", "name": "[Too many requests](https://httpstatuses.com/429)", "originalRequest": { "url": { @@ -1263,7 +1263,7 @@ { "listen": "test", "script": { - "id": "ae224df9-1a99-4072-a16b-1a781a91985a", + "id": "7fc0d3c6-205f-4515-98b5-644627d99edc", "type": "text/javascript", "exec": [ "// Validate status 2xx \npm.test(\"[POST]::/api/oms/pvt/orders/:orderId/start-handling - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", @@ -1277,7 +1277,7 @@ } }, { - "id": "5138c00f-ed26-4325-958a-19f141294875", + "id": "297f8a37-6a63-4f39-87c3-368c2f97af50", "name": "Cancel order", "request": { "name": "Cancel order", @@ -1356,7 +1356,7 @@ "_": { "postman_previewlanguage": "json" }, - "id": "f020a31d-9a59-4432-8a93-4b73cbf6cc9f", + "id": "67a6b6fc-1178-4e2f-b5f7-e06f1d1cfb36", "name": "OK", "originalRequest": { "url": { @@ -1437,7 +1437,7 @@ "_": { "postman_previewlanguage": "text" }, - "id": "bc329621-5a6f-48d5-9ab7-ef5205c8d79c", + "id": "b5455bf3-3b8d-4aec-98a3-005abf756453", "name": "[The credentials are not enabled to access the service](https://httpstatuses.com/403)", "originalRequest": { "url": { @@ -1508,7 +1508,7 @@ "_": { "postman_previewlanguage": "text" }, - "id": "8df7bac1-530e-4207-ae0c-24b22f3cccc8", + "id": "b3c80223-61ae-4a8f-ab6a-646f6bd05852", "name": "[Value not found](https://httpstatuses.com/404)", "originalRequest": { "url": { @@ -1579,7 +1579,7 @@ "_": { "postman_previewlanguage": "text" }, - "id": "12466e9c-7f50-464b-9c21-bf5b92186e29", + "id": "1f43ddd9-1604-4370-bd92-5071ff5b92a2", "name": "[Too many requests](https://httpstatuses.com/429)", "originalRequest": { "url": { @@ -1651,7 +1651,7 @@ { "listen": "test", "script": { - "id": "8f04e0a2-52df-412b-8468-a5097fa8718a", + "id": "26736632-8b36-4b60-92e1-ac0dfa9d3d33", "type": "text/javascript", "exec": [ "// Validate status 2xx \npm.test(\"[POST]::/api/oms/pvt/orders/:orderId/cancel - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", @@ -1667,7 +1667,7 @@ } }, { - "id": "3312fae2-e6aa-48f1-baa6-23b93f7e1d66", + "id": "ba197b28-8e28-467f-b4f9-fe46d78618db", "name": "Register modifications on order", "request": { "name": "Register modifications on order", @@ -1746,7 +1746,7 @@ "_": { "postman_previewlanguage": "json" }, - "id": "da66095b-9699-4548-a16b-5104c9afd9e1", + "id": "bb5e1582-05f0-4b91-901e-c4c05c4edf68", "name": "OK", "originalRequest": { "url": { @@ -1828,7 +1828,7 @@ { "listen": "test", "script": { - "id": "8bed56b0-fd9e-4330-a764-4c36dd9ca913", + "id": "f971b335-287d-493e-a3ae-fcc3b955fb09", "type": "text/javascript", "exec": [ "// Validate status 2xx \npm.test(\"[POST]::/api/oms/pvt/orders/:orderId/changes - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", @@ -1844,7 +1844,7 @@ } }, { - "id": "92fdcae8-b90c-480e-bb5a-22d1834c80b9", + "id": "941033ca-7dde-4edd-8aff-74678bc041a0", "name": "Add log in orders", "request": { "name": "Add log in orders", @@ -1919,7 +1919,7 @@ "_": { "postman_previewlanguage": "text" }, - "id": "e9893f10-b9de-40ba-a265-c6d07b922fb0", + "id": "ed29ac14-28a0-4198-86cc-be3748f964cb", "name": "OK", "originalRequest": { "url": { @@ -1991,7 +1991,7 @@ { "listen": "test", "script": { - "id": "180968d5-dc23-4ca0-a721-f772d675ca4d", + "id": "fe72af4f-450e-4cd9-b3d3-4340bc0cbdb4", "type": "text/javascript", "exec": [ "// Validate status 2xx \npm.test(\"[POST]::/api/oms/pvt/orders/:orderId/interactions - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n" @@ -2007,7 +2007,7 @@ "event": [] }, { - "id": "7462b125-fa87-4b9d-bd4e-5e254ffe8815", + "id": "bee72f33-4c2f-437b-9240-180a79651eb0", "name": "Order modifications", "description": { "content": "", @@ -2015,7 +2015,7 @@ }, "item": [ { - "id": "23897c82-0bcf-4c88-947e-2ff9b8633158", + "id": "80d778ed-da13-4f33-a940-bd6a2114e721", "name": "Get order modifications summary", "request": { "name": "Get order modifications summary", @@ -2081,7 +2081,7 @@ "_": { "postman_previewlanguage": "json" }, - "id": "c14439d9-0c93-4019-9d96-0d5cca62573d", + "id": "ca1a667b-1833-4da9-a3d8-e12e8e6e06a0", "name": "OK", "originalRequest": { "url": { @@ -2149,7 +2149,7 @@ "_": { "postman_previewlanguage": "json" }, - "id": "7741e89c-3636-4702-aa49-292f19a07bc5", + "id": "6f52079e-1fea-496e-aa67-8828145b7a10", "name": "[Unauthorized - Invalid or missing authentication](https://httpstatuses.com/401)", "originalRequest": { "url": { @@ -2217,7 +2217,7 @@ "_": { "postman_previewlanguage": "text" }, - "id": "b059e42b-ad77-4674-9b54-80f3c881041e", + "id": "6264c926-369e-4f1d-a9c9-f9627025fa47", "name": "[Forbidden - Insufficient permissions](https://httpstatuses.com/403)", "originalRequest": { "url": { @@ -2275,7 +2275,7 @@ "_": { "postman_previewlanguage": "text" }, - "id": "32fc18b7-6e8e-4b4a-bbc3-a7ce0c721c1c", + "id": "24ea92c2-625c-4f65-b943-71859b4def5a", "name": "[Order not found](https://httpstatuses.com/404)", "originalRequest": { "url": { @@ -2334,7 +2334,7 @@ { "listen": "test", "script": { - "id": "bbfc3b5e-2426-4e55-b400-6d2a9217915d", + "id": "acca1b11-69ea-4a0b-b5f6-3ab195e9279b", "type": "text/javascript", "exec": [ "// Validate status 2xx \npm.test(\"[GET]::/api/orders/pvt/document/:orderId/change-summary - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", @@ -2350,12 +2350,12 @@ } }, { - "id": "4bddc8c1-29e7-4461-8f8b-a0efe2719261", + "id": "069d2f79-ca49-4ec5-8b9d-f339568c4537", "name": "Create order modifications", "request": { "name": "Create order modifications", "description": { - "content": "[Order modifications](https://help.vtex.com/en/tutorial/how-change-order-works-beta--56TO0bOFXsfmpc7YZ3wIUZ) feature allows you to modify an order, whether the modification is motivated by customer mistakes, product unavailability, or others. Both sellers and marketplaces can use this endpoint and modify orders in multiple scenarios, and it is possible to make a single modification or combine multiple ones in the same request. \r\nThe possible order modifications operations you can perform are the following:\r\n- **Add:** Adding items, quantity, or product weight.\r\n- **Remove:** Removing a part of items or the total quantity.\r\n- **Replace:** Changing items' quantity, weight, or price. You can also replace one or more items with different ones, including weighable products. In addition, you can change your clients's data. \r\n\r\n>❗ When removing or adding items to an order, your [inventory](https://help.vtex.com/en/tutorial/inventory-management--tutorials_139) is not automatically updated. You can use the [Update inventory by SKU and warehouse](https://developers.vtex.com/docs/api-reference/logistics-api#put-/api/logistics/pvt/inventory/skus/-skuId-/warehouses/-warehouseId-) endpoint.\r\n\r\n >⚠️ The Order modifications feature isn't applicable to the Catalog API - Seller Portal. \r\n\r\n>❗ If the order you are modifying has more than one shipping address, you cannot add products that were not in the original order. You can only increase or decrease the quantity of the existing items, or remove items. \r\n\r\nThe next sections are listed below:\r\n- Number of modifications per order \r\n- Acceptable order status for modifications \r\n- Order modifications and price \r\n- Combining multiple operations \r\n\r\n## Number of modifications per order\r\nBesides being able to combine multiple modification operations - add, remove, and replace - in a single request, you can make different modification requests, and there is no limit to how many times an order can be modified.\r\n\r\nEach order has its modifications history, you can retrieve it using the [Get order modifications history](https://developers.vtex.com/docs/api-reference/orders-api#get-/api/order-system/orders/-changeOrderId-/changes) endpoint.\r\n\r\n## Acceptable order status for modifications\r\nYou can only modify an order when it is one of the following [order flow](https://help.vtex.com/en/tutorial/order-flow-and-status--tutorials_196) status:\r\n- `handling`\r\n- `waiting-for-fulfillment` \r\n- `ready for invoicing` \r\n\r\nIt is not possible to modify an order when the payment transaction is complete.\r\n\r\n## Order modifications and price\r\nWhen you add, remove or replace items using this endpoint, the order and payment transaction values are automatically updated. Order modifications calculates the update of the following values:\r\n- Item value\r\n- Total value \r\n\r\n**Example:** If you send the request body for replacing items without the unit multiplier (`unitMultiplier`) or measurement (`measurementUnit`), Order modifications will get this information on your store's Catalog, Pricing and Payment systems. \r\n>⚠️ Increasing the price of an order is allowed only when the order was paid by credit card, [payable notes](https:/help.vtex.com/en/tutorial/setting-up-payments-with-promissory--5pW7avTwtyQcMu4uiW8quQ), cash, or [credit control](https:/help.vtex.com/en/tutorial/customer-credit-overview--1uIqTjWxIIIEW0COMg4uE0). In addition, the [acquirer](https:/help.vtex.com/en/tutorial/what-is-an-acquirer--7N1oRTG8dGmOiIugC0cs4E) must allow transactions without the CVV code and two charging transactions in the same order. \r\n\r\nFor order modifications with discounts, Order Management System (OMS) considers that you still can modify the order's transactional value, as long as its status in Transaction Details is not `Finished`. \r\n\r\n## Order modifications and payment transaction flow \r\n\r\nAn order's [transaction flow](https://help.vtex.com/tracks/payments--6GAS7ZzGAm7AGoEAwDbwJG/1xjzgJZvqwaI1rfxLMCC3Y) goes through various payment statuses before its conclusion. Within certain conditions, it is possible to modify settled orders. The requirements are the following:\r\n\r\n- The order's [payment method](https://help.vtex.com/en/tutorial/difference-between-payment-methods-and-payment-conditions--3azJenhGFyUy2gsocms42Q) is a credit card.\r\n- The settlement occurs before the order is invoiced.\r\n- The payment connector is configured to allow partial refunds.\r\n\r\n> Currently, [Adyen](https://help.vtex.com/en/tutorial/configuring-payment-with-adyenv3--7xAz67E2Eg63LWCQNjVdwv) is the only payment connector that supports that operation.\r\n\r\nIf the order modification increases or decreases the cost for the customer, the platform has the following behavior:\r\n\r\n- **Smaller price after order modification:**\r\n - If the payment is marked as `settled` in the [transaction flow](https://help.vtex.com/tracks/payments--6GAS7ZzGAm7AGoEAwDbwJG/1xjzgJZvqwaI1rfxLMCC3Y), an automatic notification is sent to the payment [gateway](https://help.vtex.com/tracks/payments--6GAS7ZzGAm7AGoEAwDbwJG/kdPbEIWf8Xq8tESQvViMB#gateway) to reimburse the customer for the difference.\r\n - If the payment hasn't been settled, an automatic notification is sent to the payment gateway to change the order's total amount.\r\n- **Higher price after order modification:** An automatic notification is sent to the payment gateway to require the customer to pay for the additional cost.\r\n\r\n## Combining multiple operations\r\nYou can use this endpoint to make a single change operation or combine them in the same request. See some examples below.\r\n\r\n### Adding request body example:\r\n\r\n```json\r\n{\r\n \"add\": {\r\n \"items\": [\r\n {\r\n \"id\": \"8\",\r\n \"quantity\": 1,\r\n \"measurementUnit\": \"un\",\r\n \"unitMultiplier\": 1\r\n }\r\n ]\r\n }\r\n}\r\n```\r\n\r\n### Removing request body example:\r\n\r\n```json\r\n{\r\n \"reason\": \"The client wants to remove a product.\",\r\n \"remove\": {\r\n \"items\": [\r\n {\r\n \"id\": \"8\",\r\n \"quantity\": 2,\r\n \"measurementUnit\": \"un\",\r\n \"unitMultiplier\": 1\r\n }\r\n ]\r\n }\r\n}\r\n```\r\n\r\n### Replacing request body example:\r\n```json\r\n{\r\n \"reason\": \"The client wants to increase the product weight.\",\r\n \"replace\": [\r\n {\r\n \"from\": {\r\n \"items\": [\r\n {\r\n \"id\": \"1\",\r\n \"quantity\": 1\r\n }\r\n ]\r\n },\r\n \"to\": {\r\n \"items\": [\r\n {\r\n \"id\": \"2\",\r\n \"quantity\": 1,\r\n \"measurementUnit\": \"kg\",\r\n \"unitMultiplier\": 1.0\r\n }\r\n ],\r\n \"shippingData\": {\r\n \"logisticsInfo\": [\r\n {\r\n \"itemIndex\": 0,\r\n \"selectedSla\": \"Normal\",\r\n \"selectedDeliveryChannel\": \"delivery\",\r\n \"addressId\": \"12334048475146857\",\r\n \"price\": 1000\r\n }\r\n ]\r\n }\r\n }\r\n }\r\n ]\r\n}\r\n```\r\n\r\n\r\n### Adding, removing and replacing request body example:\r\n\r\n\r\n```json\r\n{\r\n \"reason\": \"The client wants to add, remove and replace a weighable product.\",\r\n \"manualDiscountValue\": 0,\r\n \"add\": {\r\n \"items\": [\r\n {\r\n \"id\": \"8\",\r\n \"quantity\": 1,\r\n \"measurementUnit\": \"un\",\r\n \"unitMultiplier\": 1\r\n }\r\n ]\r\n },\r\n \"remove\": {\r\n \"items\": [\r\n {\r\n \"id\": \"31\",\r\n \"quantity\": 1,\r\n \"measurementUnit\": \"un\",\r\n \"unitMultiplier\": 1\r\n }\r\n ]\r\n },\r\n \"replace\": [\r\n {\r\n \"from\": {\r\n \"items\": [\r\n {\r\n \"id\": \"1\",\r\n \"quantity\": 1\r\n }\r\n ]\r\n },\r\n \"to\": {\r\n \"items\": [\r\n {\r\n \"id\": \"2\",\r\n \"quantity\": 1,\r\n \"measurementUnit\": \"kg\",\r\n \"unitMultiplier\": 1.0\r\n }\r\n ],\r\n \"shippingData\": {\r\n \"logisticsInfo\": [\r\n {\r\n \"itemIndex\": 0,\r\n \"selectedSla\": \"Normal\",\r\n \"selectedDeliveryChannel\": \"delivery\",\r\n \"addressId\": \"12334048475146857\",\r\n \"price\": 1000\r\n }\r\n ]\r\n }\r\n }\r\n }\r\n ]\r\n}\r\n```\r\n\r\n## Permissions\r\n\r\nAny user or [API key](https://developers.vtex.com/docs/guides/authentication-overview#api-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| Checkout | CheckoutResources | **Orders Full Access** |\r\n| OMS | OMS access | **Cancel order** |\r\n| OMS | OMS access | **Change order** |\r\n\r\nYou can [create a custom role](https://help.vtex.com/en/tutorial/roles--7HKK5Uau2H6wxE1rH5oRbc#creating-a-role) with that resource or use one of the following [predefined roles](https://help.vtex.com/en/tutorial/predefined-roles--jGDurZKJHvHJS13LnO7Dy):\r\n\r\n| **Role** | **Resource** | \r\n| --------------- | ----------------- | \r\n| Checkout Admin | Orders Full Access |\r\n| OMS - Full access |
Cancel order
Change order
|\r\n| IntegrationProfile - Fulfillment Oms |Cancel order
Change order
|\r\n| IntegrationProfile - Fulfillment Gateway | Cancel order |\r\n| IntegrationProfile - Fulfillment Gateway Oms |Cancel order
Change order
|\r\n| inStore Sales Person |Cancel order
Change order
|\r\n\r\n>❗ Assigning a [predefined role](https://help.vtex.com/en/tutorial/predefined-roles--jGDurZKJHvHJS13LnO7Dy) to users or application keys usually grants permission to multiple [License Manager resources](https://help.vtex.com/en/tutorial/license-manager-resources--3q6ztrC8YynQf6rdc6euk3). If some of these permissions are not necessary, consider creating a custom role instead. For more information regarding security, see [Best practices for using application keys](https://help.vtex.com/en/tutorial/best-practices-api-keys--7b6nD1VMHa49aI5brlOvJm).\r\n\r\nTo learn more about machine authentication at VTEX, see [Authentication overview](https://developers.vtex.com/docs/guides/authentication-overview#machine-authentication).", + "content": "[Order modifications](https://help.vtex.com/en/tutorial/how-change-order-works-beta--56TO0bOFXsfmpc7YZ3wIUZ) feature allows you to modify an order, whether the modification is motivated by customer mistakes, product unavailability, or others. Both sellers and marketplaces can use this endpoint and modify orders in multiple scenarios, and it is possible to make a single modification or combine multiple ones in the same request. \r\nThe possible order modifications operations you can perform are the following:\r\n- **Add:** Adding items, quantity, or product weight.\r\n- **Remove:** Removing a part of items or the total quantity.\r\n- **Replace:** Changing items' quantity, weight, or price. You can also replace one or more items with different ones, including weighable products. In addition, you can change your clients's data. \r\n\r\n>❗ When removing or adding items to an order, your [inventory](https://help.vtex.com/en/tutorial/inventory-management--tutorials_139) is not automatically updated. You can use the [Update inventory by SKU and warehouse](https://developers.vtex.com/docs/api-reference/logistics-api#put-/api/logistics/pvt/inventory/skus/-skuId-/warehouses/-warehouseId-) endpoint.\r\n\r\n >⚠️ The Order modifications feature isn't applicable to the Catalog API - Seller Portal. \r\n\r\n>❗ If the order you are modifying has more than one shipping address, you cannot add products that were not in the original order. You can only increase or decrease the quantity of the existing items, or remove items. \r\n\r\nThe next sections are listed below:\r\n- Number of modifications per order \r\n- Acceptable order status for modifications \r\n- Order modifications and price \r\n- Combining multiple operations \r\n\r\n## Number of modifications per order\r\nBesides being able to combine multiple modification operations - add, remove, and replace - in a single request, you can make different modification requests, and there is no limit to how many times an order can be modified.\r\n\r\nEach order has its modifications history, you can retrieve it using the [Get order modifications history](https://developers.vtex.com/docs/api-reference/orders-api#get-/api/order-system/orders/-changeOrderId-/changes) endpoint.\r\n\r\n## Acceptable order status for modifications\r\nYou can only modify an order when it is one of the following [order flow](https://help.vtex.com/en/tutorial/order-flow-and-status--tutorials_196) status:\r\n- `handling`\r\n- `waiting-for-fulfillment` \r\n- `ready for invoicing` \r\n\r\nIt is not possible to modify an order when the payment transaction is complete.\r\n\r\n## Order modifications and price\r\nWhen you add, remove or replace items using this endpoint, the order and payment transaction values are automatically updated. Order modifications calculates the update of the following values:\r\n- Item value\r\n- Total value \r\n\r\n**Example:** If you send the request body for replacing items without the unit multiplier (`unitMultiplier`) or measurement (`measurementUnit`), Order modifications will get this information on your store's Catalog, Pricing and Payment systems. \r\n>⚠️ Increasing the price of an order is allowed only when the order was paid by credit card, [payable notes](https:/help.vtex.com/en/tutorial/setting-up-payments-with-promissory--5pW7avTwtyQcMu4uiW8quQ), cash, or [credit control](https:/help.vtex.com/en/tutorial/customer-credit-overview--1uIqTjWxIIIEW0COMg4uE0). In addition, the [acquirer](https:/help.vtex.com/en/tutorial/what-is-an-acquirer--7N1oRTG8dGmOiIugC0cs4E) must allow transactions without the CVV code and two charging transactions in the same order. \r\n\r\nFor order modifications with discounts, Order Management System (OMS) considers that you still can modify the order's transactional value, as long as its status in Transaction Details is not `Finished`. \r\n\r\n## Order modifications and payment transaction flow \r\n\r\nAn order's [transaction flow](https://help.vtex.com/tracks/payments--6GAS7ZzGAm7AGoEAwDbwJG/1xjzgJZvqwaI1rfxLMCC3Y) goes through various payment statuses before its conclusion. Within certain conditions, it is possible to modify settled orders. The requirements are the following:\r\n\r\n- The order's [payment method](https://help.vtex.com/en/tutorial/difference-between-payment-methods-and-payment-conditions--3azJenhGFyUy2gsocms42Q) is a credit card.\r\n- The settlement occurs before the order is invoiced.\r\n- The payment connector is configured to allow partial refunds.\r\n\r\n> Currently, [Adyen](https://help.vtex.com/en/tutorial/configuring-payment-with-adyenv3--7xAz67E2Eg63LWCQNjVdwv) is the only payment connector that supports that operation.\r\n\r\nIf the order modification increases or decreases the cost for the customer, the platform has the following behavior:\r\n\r\n- **Smaller price after order modification:**\r\n - If the payment is marked as `settled` in the [transaction flow](https://help.vtex.com/tracks/payments--6GAS7ZzGAm7AGoEAwDbwJG/1xjzgJZvqwaI1rfxLMCC3Y), an automatic notification is sent to the payment [gateway](https://help.vtex.com/tracks/payments--6GAS7ZzGAm7AGoEAwDbwJG/kdPbEIWf8Xq8tESQvViMB#gateway) to reimburse the customer for the difference.\r\n - If the payment hasn't been settled, an automatic notification is sent to the payment gateway to change the order's total amount.\r\n- **Higher price after order modification:** An automatic notification is sent to the payment gateway to require the customer to pay for the additional cost.\r\n\r\n ## Order modifications settings\r\n The Order modifications settings allow you to customize your account's behavior when receiving a modification request, such as configuring the order payments, defining tax recalculation, and compensating shipping costs. Before or during the API integration, you can consult and, if necessary, adjust the settings of the modifications.\r\n - If you wish to consult the current settings, run the [Get Order modifications settings](https://developers.vtex.com/docs/api-reference/orders-api#get-/api/order-system/orders/changes/settings) endpoint. \r\n - If you wish to alter the current settings, run the [Update Order modifications settings](https://developers.vtex.com/docs/api-reference/orders-api#put-/api/order-system/orders/changes/settings) endpoint. \r\n\r\n ## Combining multiple operations\r\nYou can use this endpoint to make a single change operation or combine them in the same request. See some examples below.\r\n\r\n### Adding request body example:\r\n\r\n```json\r\n{\r\n \"add\": {\r\n \"items\": [\r\n {\r\n \"id\": \"8\",\r\n \"quantity\": 1,\r\n \"measurementUnit\": \"un\",\r\n \"unitMultiplier\": 1\r\n }\r\n ]\r\n }\r\n}\r\n```\r\n\r\n### Removing request body example:\r\n\r\n```json\r\n{\r\n \"reason\": \"The client wants to remove a product.\",\r\n \"remove\": {\r\n \"items\": [\r\n {\r\n \"id\": \"8\",\r\n \"quantity\": 2,\r\n \"measurementUnit\": \"un\",\r\n \"unitMultiplier\": 1\r\n }\r\n ]\r\n }\r\n}\r\n```\r\n\r\n### Replacing request body example:\r\n```json\r\n{\r\n \"reason\": \"The client wants to increase the product weight.\",\r\n \"replace\": [\r\n {\r\n \"from\": {\r\n \"items\": [\r\n {\r\n \"id\": \"1\",\r\n \"quantity\": 1\r\n }\r\n ]\r\n },\r\n \"to\": {\r\n \"items\": [\r\n {\r\n \"id\": \"2\",\r\n \"quantity\": 1,\r\n \"measurementUnit\": \"kg\",\r\n \"unitMultiplier\": 1.0\r\n }\r\n ],\r\n \"shippingData\": {\r\n \"logisticsInfo\": [\r\n {\r\n \"itemIndex\": 0,\r\n \"selectedSla\": \"Normal\",\r\n \"selectedDeliveryChannel\": \"delivery\",\r\n \"addressId\": \"12334048475146857\",\r\n \"price\": 1000\r\n }\r\n ]\r\n }\r\n }\r\n }\r\n ]\r\n}\r\n```\r\n\r\n\r\n### Adding, removing and replacing request body example:\r\n\r\n\r\n```json\r\n{\r\n \"reason\": \"The client wants to add, remove and replace a weighable product.\",\r\n \"manualDiscountValue\": 0,\r\n \"add\": {\r\n \"items\": [\r\n {\r\n \"id\": \"8\",\r\n \"quantity\": 1,\r\n \"measurementUnit\": \"un\",\r\n \"unitMultiplier\": 1\r\n }\r\n ]\r\n },\r\n \"remove\": {\r\n \"items\": [\r\n {\r\n \"id\": \"31\",\r\n \"quantity\": 1,\r\n \"measurementUnit\": \"un\",\r\n \"unitMultiplier\": 1\r\n }\r\n ]\r\n },\r\n \"replace\": [\r\n {\r\n \"from\": {\r\n \"items\": [\r\n {\r\n \"id\": \"1\",\r\n \"quantity\": 1\r\n }\r\n ]\r\n },\r\n \"to\": {\r\n \"items\": [\r\n {\r\n \"id\": \"2\",\r\n \"quantity\": 1,\r\n \"measurementUnit\": \"kg\",\r\n \"unitMultiplier\": 1.0\r\n }\r\n ],\r\n \"shippingData\": {\r\n \"logisticsInfo\": [\r\n {\r\n \"itemIndex\": 0,\r\n \"selectedSla\": \"Normal\",\r\n \"selectedDeliveryChannel\": \"delivery\",\r\n \"addressId\": \"12334048475146857\",\r\n \"price\": 1000\r\n }\r\n ]\r\n }\r\n }\r\n }\r\n ]\r\n}\r\n```\r\n\r\n## Permissions\r\n\r\nAny user or [API key](https://developers.vtex.com/docs/guides/authentication-overview#api-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| Checkout | CheckoutResources | **Orders Full Access** |\r\n| OMS | OMS access | **Cancel order** |\r\n| OMS | OMS access | **Change order** |\r\n\r\nYou can [create a custom role](https://help.vtex.com/en/tutorial/roles--7HKK5Uau2H6wxE1rH5oRbc#creating-a-role) with that resource or use one of the following [predefined roles](https://help.vtex.com/en/tutorial/predefined-roles--jGDurZKJHvHJS13LnO7Dy):\r\n\r\n| **Role** | **Resource** | \r\n| --------------- | ----------------- | \r\n| Checkout Admin | Orders Full Access |\r\n| OMS - Full access |Cancel order
Change order
|\r\n| IntegrationProfile - Fulfillment Oms |Cancel order
Change order
|\r\n| IntegrationProfile - Fulfillment Gateway | Cancel order |\r\n| IntegrationProfile - Fulfillment Gateway Oms |Cancel order
Change order
|\r\n| inStore Sales Person |Cancel order
Change order
|\r\n\r\n>❗ Assigning a [predefined role](https://help.vtex.com/en/tutorial/predefined-roles--jGDurZKJHvHJS13LnO7Dy) to users or application keys usually grants permission to multiple [License Manager resources](https://help.vtex.com/en/tutorial/license-manager-resources--3q6ztrC8YynQf6rdc6euk3). If some of these permissions are not necessary, consider creating a custom role instead. For more information regarding security, see [Best practices for using application keys](https://help.vtex.com/en/tutorial/best-practices-api-keys--7b6nD1VMHa49aI5brlOvJm).\r\n\r\nTo learn more about machine authentication at VTEX, see [Authentication overview](https://developers.vtex.com/docs/guides/authentication-overview#machine-authentication).", "type": "text/plain" }, "url": { @@ -2424,7 +2424,7 @@ "method": "PATCH", "body": { "mode": "raw", - "raw": "{\n \"reason\": \"The client wants to change a weighable product.\",\n \"replace\": [\n {\n \"from\": {\n \"items\": [\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"price\": 2499\n },\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"price\": 2499\n }\n ],\n \"customData\": {\n \"customFields\": [\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n }\n ]\n },\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n }\n ]\n }\n ]\n }\n },\n \"to\": {\n \"items\": [\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"measurementUnit\": \"kg\",\n \"unitMultiplier\": 3,\n \"manualDiscountValue\": 0,\n \"manualIncrementValue\": 0,\n \"clientProfileData\": [\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"ea sed esse elit aliquip\",\n \"tradeName\": \"commodo Duis in\",\n \"corporateDocument\": \"incididunt aliqua ullamco laboris\",\n \"stateInscription\": \"sunt ut\",\n \"corporatePhone\": \"nisi occaecat \",\n \"isCorporate\": false\n },\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"amet est commodo esse ipsum\",\n \"tradeName\": \"sit in ut\",\n \"corporateDocument\": \"proident velit est sed\",\n \"stateInscription\": \"ullamco fugiat qui velit\",\n \"corporatePhone\": \"aliquip in\",\n \"isCorporate\": false\n }\n ]\n },\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"measurementUnit\": \"kg\",\n \"unitMultiplier\": 3,\n \"manualDiscountValue\": 0,\n \"manualIncrementValue\": 0,\n \"clientProfileData\": [\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"qu\",\n \"tradeName\": \"irure Lorem dolor\",\n \"corporateDocument\": \"eiusmod nulla\",\n \"stateInscription\": \"voluptate ullamco sint an\",\n \"corporatePhone\": \"sit adipisicing irure\",\n \"isCorporate\": false\n },\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"\",\n \"tradeName\": \"enim\",\n \"corporateDocument\": \"incididunt mollit\",\n \"stateInscription\": \"Ut\",\n \"corporatePhone\": \"sed in minim\",\n \"isCorporate\": false\n }\n ]\n }\n ],\n \"customData\": {\n \"customFields\": [\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n }\n ]\n },\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n }\n ]\n }\n ]\n },\n \"shippingData\": {\n \"logisticsInfo\": [\n {\n \"itemIndex\": 0,\n \"selectedSla\": \"Normal\",\n \"selectedDeliveryChannel\": \"delivery\",\n \"addressId\": \"9ec276fd3a604eb1aa151b5333ca5db7\",\n \"price\": 1000\n },\n {\n \"itemIndex\": 0,\n \"selectedSla\": \"Normal\",\n \"selectedDeliveryChannel\": \"delivery\",\n \"addressId\": \"9ec276fd3a604eb1aa151b5333ca5db7\",\n \"price\": 1000\n }\n ]\n }\n }\n },\n {\n \"from\": {\n \"items\": [\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"price\": 2499\n },\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"price\": 2499\n }\n ],\n \"customData\": {\n \"customFields\": [\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n }\n ]\n },\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n }\n ]\n }\n ]\n }\n },\n \"to\": {\n \"items\": [\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"measurementUnit\": \"kg\",\n \"unitMultiplier\": 3,\n \"manualDiscountValue\": 0,\n \"manualIncrementValue\": 0,\n \"clientProfileData\": [\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"id voluptate qui in\",\n \"tradeName\": \"sint Duis non ullamco\",\n \"corporateDocument\": \"fugiat\",\n \"stateInscription\": \"irure reprehenderit ea\",\n \"corporatePhone\": \"culpa consectetur fugiat nostrud\",\n \"isCorporate\": false\n },\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"minim est\",\n \"tradeName\": \"pariatur v\",\n \"corporateDocument\": \"in ut proident reprehenderit\",\n \"stateInscription\": \"non exercitation dolore culpa officia\",\n \"corporatePhone\": \"ex mollit Duis occaec\",\n \"isCorporate\": false\n }\n ]\n },\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"measurementUnit\": \"kg\",\n \"unitMultiplier\": 3,\n \"manualDiscountValue\": 0,\n \"manualIncrementValue\": 0,\n \"clientProfileData\": [\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"magna\",\n \"tradeName\": \"non officia\",\n \"corporateDocument\": \"veniam velit exercita\",\n \"stateInscription\": \"culpa ea cupidatat\",\n \"corporatePhone\": \"adipisicing non Ut minim\",\n \"isCorporate\": false\n },\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"adipisicing pariatur Lorem non\",\n \"tradeName\": \"dolore\",\n \"corporateDocument\": \"reprehenderit non Duis id\",\n \"stateInscription\": \"commodo\",\n \"corporatePhone\": \"consequ\",\n \"isCorporate\": false\n }\n ]\n }\n ],\n \"customData\": {\n \"customFields\": [\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n }\n ]\n },\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n }\n ]\n }\n ]\n },\n \"shippingData\": {\n \"logisticsInfo\": [\n {\n \"itemIndex\": 0,\n \"selectedSla\": \"Normal\",\n \"selectedDeliveryChannel\": \"delivery\",\n \"addressId\": \"9ec276fd3a604eb1aa151b5333ca5db7\",\n \"price\": 1000\n },\n {\n \"itemIndex\": 0,\n \"selectedSla\": \"Normal\",\n \"selectedDeliveryChannel\": \"delivery\",\n \"addressId\": \"9ec276fd3a604eb1aa151b5333ca5db7\",\n \"price\": 1000\n }\n ]\n }\n }\n }\n ]\n}", + "raw": "{\n \"reason\": \"The client wants to change a weighable product.\",\n \"replace\": [\n {\n \"from\": {\n \"items\": [\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"price\": 2499\n },\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"price\": 2499\n }\n ],\n \"customData\": {\n \"customFields\": [\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n }\n ]\n },\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n }\n ]\n }\n ]\n }\n },\n \"to\": {\n \"items\": [\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"measurementUnit\": \"kg\",\n \"unitMultiplier\": 3,\n \"manualDiscountValue\": 0,\n \"manualIncrementValue\": 0,\n \"clientProfileData\": [\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"dolor dolor irure minim\",\n \"tradeName\": \"aliqua\",\n \"corporateDocument\": \"ea exercitation Excepteur\",\n \"stateInscription\": \"non\",\n \"corporatePhone\": \"in deserunt elit\",\n \"isCorporate\": false\n },\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"elit sint consectetur nulla\",\n \"tradeName\": \"occaecat id Lorem\",\n \"corporateDocument\": \"ut aliqua dolore\",\n \"stateInscription\": \"culp\",\n \"corporatePhone\": \"dolor magna deserunt aliquip ut\",\n \"isCorporate\": false\n }\n ]\n },\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"measurementUnit\": \"kg\",\n \"unitMultiplier\": 3,\n \"manualDiscountValue\": 0,\n \"manualIncrementValue\": 0,\n \"clientProfileData\": [\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"non consequa\",\n \"tradeName\": \"pariatur anim\",\n \"corporateDocument\": \"reprehenderit sunt\",\n \"stateInscription\": \"ut quis non dolore\",\n \"corporatePhone\": \"dolore e\",\n \"isCorporate\": false\n },\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"Lorem voluptate\",\n \"tradeName\": \"aliqua pariatur cupidatat aute\",\n \"corporateDocument\": \"tempor Excepteur magna sunt consequat\",\n \"stateInscription\": \"esse\",\n \"corporatePhone\": \"ea et\",\n \"isCorporate\": false\n }\n ]\n }\n ],\n \"customData\": {\n \"customFields\": [\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n }\n ]\n },\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n }\n ]\n }\n ]\n },\n \"shippingData\": {\n \"logisticsInfo\": [\n {\n \"itemIndex\": 0,\n \"selectedSla\": \"Normal\",\n \"selectedDeliveryChannel\": \"delivery\",\n \"addressId\": \"9ec276fd3a604eb1aa151b5333ca5db7\",\n \"price\": 1000\n },\n {\n \"itemIndex\": 0,\n \"selectedSla\": \"Normal\",\n \"selectedDeliveryChannel\": \"delivery\",\n \"addressId\": \"9ec276fd3a604eb1aa151b5333ca5db7\",\n \"price\": 1000\n }\n ]\n }\n }\n },\n {\n \"from\": {\n \"items\": [\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"price\": 2499\n },\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"price\": 2499\n }\n ],\n \"customData\": {\n \"customFields\": [\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n }\n ]\n },\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n }\n ]\n }\n ]\n }\n },\n \"to\": {\n \"items\": [\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"measurementUnit\": \"kg\",\n \"unitMultiplier\": 3,\n \"manualDiscountValue\": 0,\n \"manualIncrementValue\": 0,\n \"clientProfileData\": [\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"sit \",\n \"tradeName\": \"aliquip eiusmod reprehenderit dolor\",\n \"corporateDocument\": \"magna nostrud amet nulla\",\n \"stateInscription\": \"enim quis ad\",\n \"corporatePhone\": \"in consequat\",\n \"isCorporate\": false\n },\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"dolor\",\n \"tradeName\": \"dolor exercitation\",\n \"corporateDocument\": \"veniam Ut\",\n \"stateInscription\": \"in\",\n \"corporatePhone\": \"reprehenderit ea ut ex laboris\",\n \"isCorporate\": false\n }\n ]\n },\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"measurementUnit\": \"kg\",\n \"unitMultiplier\": 3,\n \"manualDiscountValue\": 0,\n \"manualIncrementValue\": 0,\n \"clientProfileData\": [\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"in quis magna enim pariatur\",\n \"tradeName\": \"ullamco minim\",\n \"corporateDocument\": \"nulla adipisicing est in\",\n \"stateInscription\": \"magna proident\",\n \"corporatePhone\": \"minim voluptate\",\n \"isCorporate\": false\n },\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"reprehenderit id\",\n \"tradeName\": \"tempor\",\n \"corporateDocument\": \"commodo nulla Lorem sit\",\n \"stateInscription\": \"aliquip do anim deserunt\",\n \"corporatePhone\": \"in officia\",\n \"isCorporate\": false\n }\n ]\n }\n ],\n \"customData\": {\n \"customFields\": [\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n }\n ]\n },\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n }\n ]\n }\n ]\n },\n \"shippingData\": {\n \"logisticsInfo\": [\n {\n \"itemIndex\": 0,\n \"selectedSla\": \"Normal\",\n \"selectedDeliveryChannel\": \"delivery\",\n \"addressId\": \"9ec276fd3a604eb1aa151b5333ca5db7\",\n \"price\": 1000\n },\n {\n \"itemIndex\": 0,\n \"selectedSla\": \"Normal\",\n \"selectedDeliveryChannel\": \"delivery\",\n \"addressId\": \"9ec276fd3a604eb1aa151b5333ca5db7\",\n \"price\": 1000\n }\n ]\n }\n }\n }\n ]\n}", "options": { "raw": { "headerFamily": "json", @@ -2438,7 +2438,7 @@ "_": { "postman_previewlanguage": "json" }, - "id": "74aa114e-a710-49d8-9f8a-4375a5db10d0", + "id": "e8d67353-9f86-4137-940e-de8346c33261", "name": "Accepted", "originalRequest": { "url": { @@ -2504,7 +2504,7 @@ "method": "PATCH", "body": { "mode": "raw", - "raw": "{\n \"reason\": \"The client wants to change a weighable product.\",\n \"replace\": [\n {\n \"from\": {\n \"items\": [\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"price\": 2499\n },\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"price\": 2499\n }\n ],\n \"customData\": {\n \"customFields\": [\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n }\n ]\n },\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n }\n ]\n }\n ]\n }\n },\n \"to\": {\n \"items\": [\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"measurementUnit\": \"kg\",\n \"unitMultiplier\": 3,\n \"manualDiscountValue\": 0,\n \"manualIncrementValue\": 0,\n \"clientProfileData\": [\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"ea sed esse elit aliquip\",\n \"tradeName\": \"commodo Duis in\",\n \"corporateDocument\": \"incididunt aliqua ullamco laboris\",\n \"stateInscription\": \"sunt ut\",\n \"corporatePhone\": \"nisi occaecat \",\n \"isCorporate\": false\n },\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"amet est commodo esse ipsum\",\n \"tradeName\": \"sit in ut\",\n \"corporateDocument\": \"proident velit est sed\",\n \"stateInscription\": \"ullamco fugiat qui velit\",\n \"corporatePhone\": \"aliquip in\",\n \"isCorporate\": false\n }\n ]\n },\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"measurementUnit\": \"kg\",\n \"unitMultiplier\": 3,\n \"manualDiscountValue\": 0,\n \"manualIncrementValue\": 0,\n \"clientProfileData\": [\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"qu\",\n \"tradeName\": \"irure Lorem dolor\",\n \"corporateDocument\": \"eiusmod nulla\",\n \"stateInscription\": \"voluptate ullamco sint an\",\n \"corporatePhone\": \"sit adipisicing irure\",\n \"isCorporate\": false\n },\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"\",\n \"tradeName\": \"enim\",\n \"corporateDocument\": \"incididunt mollit\",\n \"stateInscription\": \"Ut\",\n \"corporatePhone\": \"sed in minim\",\n \"isCorporate\": false\n }\n ]\n }\n ],\n \"customData\": {\n \"customFields\": [\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n }\n ]\n },\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n }\n ]\n }\n ]\n },\n \"shippingData\": {\n \"logisticsInfo\": [\n {\n \"itemIndex\": 0,\n \"selectedSla\": \"Normal\",\n \"selectedDeliveryChannel\": \"delivery\",\n \"addressId\": \"9ec276fd3a604eb1aa151b5333ca5db7\",\n \"price\": 1000\n },\n {\n \"itemIndex\": 0,\n \"selectedSla\": \"Normal\",\n \"selectedDeliveryChannel\": \"delivery\",\n \"addressId\": \"9ec276fd3a604eb1aa151b5333ca5db7\",\n \"price\": 1000\n }\n ]\n }\n }\n },\n {\n \"from\": {\n \"items\": [\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"price\": 2499\n },\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"price\": 2499\n }\n ],\n \"customData\": {\n \"customFields\": [\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n }\n ]\n },\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n }\n ]\n }\n ]\n }\n },\n \"to\": {\n \"items\": [\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"measurementUnit\": \"kg\",\n \"unitMultiplier\": 3,\n \"manualDiscountValue\": 0,\n \"manualIncrementValue\": 0,\n \"clientProfileData\": [\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"id voluptate qui in\",\n \"tradeName\": \"sint Duis non ullamco\",\n \"corporateDocument\": \"fugiat\",\n \"stateInscription\": \"irure reprehenderit ea\",\n \"corporatePhone\": \"culpa consectetur fugiat nostrud\",\n \"isCorporate\": false\n },\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"minim est\",\n \"tradeName\": \"pariatur v\",\n \"corporateDocument\": \"in ut proident reprehenderit\",\n \"stateInscription\": \"non exercitation dolore culpa officia\",\n \"corporatePhone\": \"ex mollit Duis occaec\",\n \"isCorporate\": false\n }\n ]\n },\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"measurementUnit\": \"kg\",\n \"unitMultiplier\": 3,\n \"manualDiscountValue\": 0,\n \"manualIncrementValue\": 0,\n \"clientProfileData\": [\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"magna\",\n \"tradeName\": \"non officia\",\n \"corporateDocument\": \"veniam velit exercita\",\n \"stateInscription\": \"culpa ea cupidatat\",\n \"corporatePhone\": \"adipisicing non Ut minim\",\n \"isCorporate\": false\n },\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"adipisicing pariatur Lorem non\",\n \"tradeName\": \"dolore\",\n \"corporateDocument\": \"reprehenderit non Duis id\",\n \"stateInscription\": \"commodo\",\n \"corporatePhone\": \"consequ\",\n \"isCorporate\": false\n }\n ]\n }\n ],\n \"customData\": {\n \"customFields\": [\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n }\n ]\n },\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n }\n ]\n }\n ]\n },\n \"shippingData\": {\n \"logisticsInfo\": [\n {\n \"itemIndex\": 0,\n \"selectedSla\": \"Normal\",\n \"selectedDeliveryChannel\": \"delivery\",\n \"addressId\": \"9ec276fd3a604eb1aa151b5333ca5db7\",\n \"price\": 1000\n },\n {\n \"itemIndex\": 0,\n \"selectedSla\": \"Normal\",\n \"selectedDeliveryChannel\": \"delivery\",\n \"addressId\": \"9ec276fd3a604eb1aa151b5333ca5db7\",\n \"price\": 1000\n }\n ]\n }\n }\n }\n ]\n}", + "raw": "{\n \"reason\": \"The client wants to change a weighable product.\",\n \"replace\": [\n {\n \"from\": {\n \"items\": [\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"price\": 2499\n },\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"price\": 2499\n }\n ],\n \"customData\": {\n \"customFields\": [\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n }\n ]\n },\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n }\n ]\n }\n ]\n }\n },\n \"to\": {\n \"items\": [\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"measurementUnit\": \"kg\",\n \"unitMultiplier\": 3,\n \"manualDiscountValue\": 0,\n \"manualIncrementValue\": 0,\n \"clientProfileData\": [\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"dolor dolor irure minim\",\n \"tradeName\": \"aliqua\",\n \"corporateDocument\": \"ea exercitation Excepteur\",\n \"stateInscription\": \"non\",\n \"corporatePhone\": \"in deserunt elit\",\n \"isCorporate\": false\n },\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"elit sint consectetur nulla\",\n \"tradeName\": \"occaecat id Lorem\",\n \"corporateDocument\": \"ut aliqua dolore\",\n \"stateInscription\": \"culp\",\n \"corporatePhone\": \"dolor magna deserunt aliquip ut\",\n \"isCorporate\": false\n }\n ]\n },\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"measurementUnit\": \"kg\",\n \"unitMultiplier\": 3,\n \"manualDiscountValue\": 0,\n \"manualIncrementValue\": 0,\n \"clientProfileData\": [\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"non consequa\",\n \"tradeName\": \"pariatur anim\",\n \"corporateDocument\": \"reprehenderit sunt\",\n \"stateInscription\": \"ut quis non dolore\",\n \"corporatePhone\": \"dolore e\",\n \"isCorporate\": false\n },\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"Lorem voluptate\",\n \"tradeName\": \"aliqua pariatur cupidatat aute\",\n \"corporateDocument\": \"tempor Excepteur magna sunt consequat\",\n \"stateInscription\": \"esse\",\n \"corporatePhone\": \"ea et\",\n \"isCorporate\": false\n }\n ]\n }\n ],\n \"customData\": {\n \"customFields\": [\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n }\n ]\n },\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n }\n ]\n }\n ]\n },\n \"shippingData\": {\n \"logisticsInfo\": [\n {\n \"itemIndex\": 0,\n \"selectedSla\": \"Normal\",\n \"selectedDeliveryChannel\": \"delivery\",\n \"addressId\": \"9ec276fd3a604eb1aa151b5333ca5db7\",\n \"price\": 1000\n },\n {\n \"itemIndex\": 0,\n \"selectedSla\": \"Normal\",\n \"selectedDeliveryChannel\": \"delivery\",\n \"addressId\": \"9ec276fd3a604eb1aa151b5333ca5db7\",\n \"price\": 1000\n }\n ]\n }\n }\n },\n {\n \"from\": {\n \"items\": [\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"price\": 2499\n },\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"price\": 2499\n }\n ],\n \"customData\": {\n \"customFields\": [\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n }\n ]\n },\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n }\n ]\n }\n ]\n }\n },\n \"to\": {\n \"items\": [\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"measurementUnit\": \"kg\",\n \"unitMultiplier\": 3,\n \"manualDiscountValue\": 0,\n \"manualIncrementValue\": 0,\n \"clientProfileData\": [\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"sit \",\n \"tradeName\": \"aliquip eiusmod reprehenderit dolor\",\n \"corporateDocument\": \"magna nostrud amet nulla\",\n \"stateInscription\": \"enim quis ad\",\n \"corporatePhone\": \"in consequat\",\n \"isCorporate\": false\n },\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"dolor\",\n \"tradeName\": \"dolor exercitation\",\n \"corporateDocument\": \"veniam Ut\",\n \"stateInscription\": \"in\",\n \"corporatePhone\": \"reprehenderit ea ut ex laboris\",\n \"isCorporate\": false\n }\n ]\n },\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"measurementUnit\": \"kg\",\n \"unitMultiplier\": 3,\n \"manualDiscountValue\": 0,\n \"manualIncrementValue\": 0,\n \"clientProfileData\": [\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"in quis magna enim pariatur\",\n \"tradeName\": \"ullamco minim\",\n \"corporateDocument\": \"nulla adipisicing est in\",\n \"stateInscription\": \"magna proident\",\n \"corporatePhone\": \"minim voluptate\",\n \"isCorporate\": false\n },\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"reprehenderit id\",\n \"tradeName\": \"tempor\",\n \"corporateDocument\": \"commodo nulla Lorem sit\",\n \"stateInscription\": \"aliquip do anim deserunt\",\n \"corporatePhone\": \"in officia\",\n \"isCorporate\": false\n }\n ]\n }\n ],\n \"customData\": {\n \"customFields\": [\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n }\n ]\n },\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n }\n ]\n }\n ]\n },\n \"shippingData\": {\n \"logisticsInfo\": [\n {\n \"itemIndex\": 0,\n \"selectedSla\": \"Normal\",\n \"selectedDeliveryChannel\": \"delivery\",\n \"addressId\": \"9ec276fd3a604eb1aa151b5333ca5db7\",\n \"price\": 1000\n },\n {\n \"itemIndex\": 0,\n \"selectedSla\": \"Normal\",\n \"selectedDeliveryChannel\": \"delivery\",\n \"addressId\": \"9ec276fd3a604eb1aa151b5333ca5db7\",\n \"price\": 1000\n }\n ]\n }\n }\n }\n ]\n}", "options": { "raw": { "headerFamily": "json", @@ -2529,7 +2529,7 @@ { "listen": "test", "script": { - "id": "aa7f90b6-bb5c-4f03-bc1a-e75e852adb68", + "id": "f3a0427b-f98e-4393-9646-5d9911936e11", "type": "text/javascript", "exec": [ "// Validate status 2xx \npm.test(\"[PATCH]::/api/order-system/orders/:changeOrderId/changes - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", @@ -2545,7 +2545,7 @@ } }, { - "id": "e65614a7-8fb7-45d6-a95e-be682588abb3", + "id": "b247d915-fdb4-42a4-8a5b-05c06e0d4766", "name": "Get order modifications history", "request": { "name": "Get order modifications history", @@ -2620,7 +2620,7 @@ "_": { "postman_previewlanguage": "json" }, - "id": "262f8ead-1f2a-4208-94fa-784add56f3c1", + "id": "f1b7c421-e064-4357-8ff7-66d09d73008c", "name": "OK", "originalRequest": { "url": { @@ -2698,7 +2698,7 @@ { "listen": "test", "script": { - "id": "763a6f6a-9a3a-4e39-98bb-454ab46e9e7d", + "id": "46d0b486-df0a-481d-8bb4-d60d1ede4fe4", "type": "text/javascript", "exec": [ "// Validate status 2xx \npm.test(\"[GET]::/api/order-system/orders/:changeOrderId/changes - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", @@ -2714,7 +2714,7 @@ } }, { - "id": "72a988e1-bf4d-4600-ad9d-9e768f06fa58", + "id": "d1214d82-972f-4421-ae36-bb4d0c74c537", "name": "Get order modifications details", "request": { "name": "Get order modifications details", @@ -2800,7 +2800,7 @@ "_": { "postman_previewlanguage": "json" }, - "id": "9851de0e-a091-40c3-8ee0-bb47fac32ed2", + "id": "14000eeb-df3e-45b6-960d-119f1adf2d33", "name": "OK", "originalRequest": { "url": { @@ -2879,7 +2879,7 @@ { "listen": "test", "script": { - "id": "a90a78b2-e8bf-4366-a9b6-3ff0dff06f94", + "id": "5dfa8081-d081-4a52-9b9a-83dce53e2512", "type": "text/javascript", "exec": [ "// Validate status 2xx \npm.test(\"[GET]::/api/order-system/orders/:changeOrderId/changes/:changeRequestId - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", @@ -2895,7 +2895,7 @@ } }, { - "id": "b2033683-36d7-4201-bd9d-3e90139fc376", + "id": "c17ec9e2-db3c-4868-ad5d-eab2b1933a3e", "name": "Preview order modifications", "request": { "name": "Preview order modifications", @@ -2970,7 +2970,7 @@ "method": "POST", "body": { "mode": "raw", - "raw": "{\n \"reason\": \"The client wants to change a weighable product.\",\n \"replace\": [\n {\n \"from\": {\n \"items\": [\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"price\": 2499\n },\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"price\": 2499\n }\n ],\n \"customData\": {\n \"customFields\": [\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n }\n ]\n },\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n }\n ]\n }\n ]\n }\n },\n \"to\": {\n \"items\": [\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"measurementUnit\": \"kg\",\n \"unitMultiplier\": 3,\n \"manualDiscountValue\": 0,\n \"manualIncrementValue\": 0,\n \"clientProfileData\": [\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"et deserunt\",\n \"tradeName\": \"voluptate ullamco adipisicing\",\n \"corporateDocument\": \"consectetur est nulla dolore fugiat\",\n \"stateInscription\": \"dolor esse eiusmod nulla\",\n \"corporatePhone\": \"irure\",\n \"isCorporate\": false\n },\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"nostrud proident\",\n \"tradeName\": \"ex\",\n \"corporateDocument\": \"Duis deserunt cupidatat enim Ut\",\n \"stateInscription\": \"aliqua elit dolor irure Excepteur\",\n \"corporatePhone\": \"enim quis incididunt Lorem amet\",\n \"isCorporate\": false\n }\n ]\n },\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"measurementUnit\": \"kg\",\n \"unitMultiplier\": 3,\n \"manualDiscountValue\": 0,\n \"manualIncrementValue\": 0,\n \"clientProfileData\": [\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"\",\n \"tradeName\": \"irure\",\n \"corporateDocument\": \"eiusmod Duis ea\",\n \"stateInscription\": \"minim ullamco cupidatat laborum\",\n \"corporatePhone\": \"Excepteur aliquip dolore\",\n \"isCorporate\": false\n },\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"non velit\",\n \"tradeName\": \"in dolore mollit ex aute\",\n \"corporateDocument\": \"in dolor ex\",\n \"stateInscription\": \"sed\",\n \"corporatePhone\": \"reprehenderit officia\",\n \"isCorporate\": false\n }\n ]\n }\n ],\n \"customData\": {\n \"customFields\": [\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n }\n ]\n },\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n }\n ]\n }\n ]\n },\n \"shippingData\": {\n \"logisticsInfo\": [\n {\n \"itemIndex\": 0,\n \"selectedSla\": \"Normal\",\n \"selectedDeliveryChannel\": \"delivery\",\n \"addressId\": \"9ec276fd3a604eb1aa151b5333ca5db7\",\n \"price\": 1000\n },\n {\n \"itemIndex\": 0,\n \"selectedSla\": \"Normal\",\n \"selectedDeliveryChannel\": \"delivery\",\n \"addressId\": \"9ec276fd3a604eb1aa151b5333ca5db7\",\n \"price\": 1000\n }\n ]\n }\n }\n },\n {\n \"from\": {\n \"items\": [\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"price\": 2499\n },\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"price\": 2499\n }\n ],\n \"customData\": {\n \"customFields\": [\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n }\n ]\n },\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n }\n ]\n }\n ]\n }\n },\n \"to\": {\n \"items\": [\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"measurementUnit\": \"kg\",\n \"unitMultiplier\": 3,\n \"manualDiscountValue\": 0,\n \"manualIncrementValue\": 0,\n \"clientProfileData\": [\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"id anim in eiusmod\",\n \"tradeName\": \"fugiat Ut\",\n \"corporateDocument\": \"proident consequat est\",\n \"stateInscription\": \"aliqua mollit culpa nostrud\",\n \"corporatePhone\": \"reprehenderit ut\",\n \"isCorporate\": false\n },\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"id\",\n \"tradeName\": \"cillum ad sunt ut\",\n \"corporateDocument\": \"id dolore\",\n \"stateInscription\": \"dolor off\",\n \"corporatePhone\": \"officia\",\n \"isCorporate\": false\n }\n ]\n },\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"measurementUnit\": \"kg\",\n \"unitMultiplier\": 3,\n \"manualDiscountValue\": 0,\n \"manualIncrementValue\": 0,\n \"clientProfileData\": [\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"commodo reprehenderit\",\n \"tradeName\": \"in dolor \",\n \"corporateDocument\": \"sit ut proi\",\n \"stateInscription\": \"Ut\",\n \"corporatePhone\": \"Lor\",\n \"isCorporate\": false\n },\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"velit non lab\",\n \"tradeName\": \"eiusmod Excepteur amet tempor adipisicing\",\n \"corporateDocument\": \"Lorem pariatur ut et\",\n \"stateInscription\": \"do proident Excepteur non\",\n \"corporatePhone\": \"ad in\",\n \"isCorporate\": false\n }\n ]\n }\n ],\n \"customData\": {\n \"customFields\": [\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n }\n ]\n },\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n }\n ]\n }\n ]\n },\n \"shippingData\": {\n \"logisticsInfo\": [\n {\n \"itemIndex\": 0,\n \"selectedSla\": \"Normal\",\n \"selectedDeliveryChannel\": \"delivery\",\n \"addressId\": \"9ec276fd3a604eb1aa151b5333ca5db7\",\n \"price\": 1000\n },\n {\n \"itemIndex\": 0,\n \"selectedSla\": \"Normal\",\n \"selectedDeliveryChannel\": \"delivery\",\n \"addressId\": \"9ec276fd3a604eb1aa151b5333ca5db7\",\n \"price\": 1000\n }\n ]\n }\n }\n }\n ]\n}", + "raw": "{\n \"reason\": \"The client wants to change a weighable product.\",\n \"replace\": [\n {\n \"from\": {\n \"items\": [\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"price\": 2499\n },\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"price\": 2499\n }\n ],\n \"customData\": {\n \"customFields\": [\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n }\n ]\n },\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n }\n ]\n }\n ]\n }\n },\n \"to\": {\n \"items\": [\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"measurementUnit\": \"kg\",\n \"unitMultiplier\": 3,\n \"manualDiscountValue\": 0,\n \"manualIncrementValue\": 0,\n \"clientProfileData\": [\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"Excepteur m\",\n \"tradeName\": \"consequat Duis\",\n \"corporateDocument\": \"cupidatat elit tempor aliqua\",\n \"stateInscription\": \"enim consectetur\",\n \"corporatePhone\": \"anim Lorem sed eiusmod\",\n \"isCorporate\": false\n },\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"culpa ullamco i\",\n \"tradeName\": \"id in occaecat incididunt\",\n \"corporateDocument\": \"amet dolore ut cupidatat\",\n \"stateInscription\": \"nisi volup\",\n \"corporatePhone\": \"dolore\",\n \"isCorporate\": false\n }\n ]\n },\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"measurementUnit\": \"kg\",\n \"unitMultiplier\": 3,\n \"manualDiscountValue\": 0,\n \"manualIncrementValue\": 0,\n \"clientProfileData\": [\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"ut est i\",\n \"tradeName\": \"labore ut occaecat\",\n \"corporateDocument\": \"consectetur tempor\",\n \"stateInscription\": \"sed ex amet magna elit\",\n \"corporatePhone\": \"in id anim fugiat\",\n \"isCorporate\": false\n },\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"anim a\",\n \"tradeName\": \"quis\",\n \"corporateDocument\": \"esse quis exercitation\",\n \"stateInscription\": \"aliqua consectetur\",\n \"corporatePhone\": \"dolor cillum mollit Excepteur\",\n \"isCorporate\": false\n }\n ]\n }\n ],\n \"customData\": {\n \"customFields\": [\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n }\n ]\n },\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n }\n ]\n }\n ]\n },\n \"shippingData\": {\n \"logisticsInfo\": [\n {\n \"itemIndex\": 0,\n \"selectedSla\": \"Normal\",\n \"selectedDeliveryChannel\": \"delivery\",\n \"addressId\": \"9ec276fd3a604eb1aa151b5333ca5db7\",\n \"price\": 1000\n },\n {\n \"itemIndex\": 0,\n \"selectedSla\": \"Normal\",\n \"selectedDeliveryChannel\": \"delivery\",\n \"addressId\": \"9ec276fd3a604eb1aa151b5333ca5db7\",\n \"price\": 1000\n }\n ]\n }\n }\n },\n {\n \"from\": {\n \"items\": [\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"price\": 2499\n },\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"price\": 2499\n }\n ],\n \"customData\": {\n \"customFields\": [\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n }\n ]\n },\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n }\n ]\n }\n ]\n }\n },\n \"to\": {\n \"items\": [\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"measurementUnit\": \"kg\",\n \"unitMultiplier\": 3,\n \"manualDiscountValue\": 0,\n \"manualIncrementValue\": 0,\n \"clientProfileData\": [\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"nisi enim veniam\",\n \"tradeName\": \"ea dolore\",\n \"corporateDocument\": \"cillum dolor dolor\",\n \"stateInscription\": \"esse sunt Ut magna\",\n \"corporatePhone\": \"veniam in deserun\",\n \"isCorporate\": false\n },\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"ullamco consectetur aliquip dolore\",\n \"tradeName\": \"est dolore eu\",\n \"corporateDocument\": \"veniam qui\",\n \"stateInscription\": \"ut\",\n \"corporatePhone\": \"deserunt ipsum dolore occaecat ullamco\",\n \"isCorporate\": false\n }\n ]\n },\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"measurementUnit\": \"kg\",\n \"unitMultiplier\": 3,\n \"manualDiscountValue\": 0,\n \"manualIncrementValue\": 0,\n \"clientProfileData\": [\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"in\",\n \"tradeName\": \"ea ipsum voluptate Lorem\",\n \"corporateDocument\": \"dolor pariatur\",\n \"stateInscription\": \"Duis dolore voluptate\",\n \"corporatePhone\": \"in quis Ut\",\n \"isCorporate\": false\n },\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"esse elit est\",\n \"tradeName\": \"qui consequat\",\n \"corporateDocument\": \"ut Excepteur in sint\",\n \"stateInscription\": \"ut officia exercitation\",\n \"corporatePhone\": \"sit enim sunt pariatur\",\n \"isCorporate\": false\n }\n ]\n }\n ],\n \"customData\": {\n \"customFields\": [\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n }\n ]\n },\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n }\n ]\n }\n ]\n },\n \"shippingData\": {\n \"logisticsInfo\": [\n {\n \"itemIndex\": 0,\n \"selectedSla\": \"Normal\",\n \"selectedDeliveryChannel\": \"delivery\",\n \"addressId\": \"9ec276fd3a604eb1aa151b5333ca5db7\",\n \"price\": 1000\n },\n {\n \"itemIndex\": 0,\n \"selectedSla\": \"Normal\",\n \"selectedDeliveryChannel\": \"delivery\",\n \"addressId\": \"9ec276fd3a604eb1aa151b5333ca5db7\",\n \"price\": 1000\n }\n ]\n }\n }\n }\n ]\n}", "options": { "raw": { "headerFamily": "json", @@ -2984,7 +2984,7 @@ "_": { "postman_previewlanguage": "json" }, - "id": "a58989c1-bd20-4fbc-b0cf-1a50c0434aed", + "id": "872b8191-5279-4d58-b6ab-eec780102f90", "name": "OK", "originalRequest": { "url": { @@ -3051,7 +3051,7 @@ "method": "POST", "body": { "mode": "raw", - "raw": "{\n \"reason\": \"The client wants to change a weighable product.\",\n \"replace\": [\n {\n \"from\": {\n \"items\": [\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"price\": 2499\n },\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"price\": 2499\n }\n ],\n \"customData\": {\n \"customFields\": [\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n }\n ]\n },\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n }\n ]\n }\n ]\n }\n },\n \"to\": {\n \"items\": [\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"measurementUnit\": \"kg\",\n \"unitMultiplier\": 3,\n \"manualDiscountValue\": 0,\n \"manualIncrementValue\": 0,\n \"clientProfileData\": [\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"et deserunt\",\n \"tradeName\": \"voluptate ullamco adipisicing\",\n \"corporateDocument\": \"consectetur est nulla dolore fugiat\",\n \"stateInscription\": \"dolor esse eiusmod nulla\",\n \"corporatePhone\": \"irure\",\n \"isCorporate\": false\n },\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"nostrud proident\",\n \"tradeName\": \"ex\",\n \"corporateDocument\": \"Duis deserunt cupidatat enim Ut\",\n \"stateInscription\": \"aliqua elit dolor irure Excepteur\",\n \"corporatePhone\": \"enim quis incididunt Lorem amet\",\n \"isCorporate\": false\n }\n ]\n },\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"measurementUnit\": \"kg\",\n \"unitMultiplier\": 3,\n \"manualDiscountValue\": 0,\n \"manualIncrementValue\": 0,\n \"clientProfileData\": [\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"\",\n \"tradeName\": \"irure\",\n \"corporateDocument\": \"eiusmod Duis ea\",\n \"stateInscription\": \"minim ullamco cupidatat laborum\",\n \"corporatePhone\": \"Excepteur aliquip dolore\",\n \"isCorporate\": false\n },\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"non velit\",\n \"tradeName\": \"in dolore mollit ex aute\",\n \"corporateDocument\": \"in dolor ex\",\n \"stateInscription\": \"sed\",\n \"corporatePhone\": \"reprehenderit officia\",\n \"isCorporate\": false\n }\n ]\n }\n ],\n \"customData\": {\n \"customFields\": [\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n }\n ]\n },\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n }\n ]\n }\n ]\n },\n \"shippingData\": {\n \"logisticsInfo\": [\n {\n \"itemIndex\": 0,\n \"selectedSla\": \"Normal\",\n \"selectedDeliveryChannel\": \"delivery\",\n \"addressId\": \"9ec276fd3a604eb1aa151b5333ca5db7\",\n \"price\": 1000\n },\n {\n \"itemIndex\": 0,\n \"selectedSla\": \"Normal\",\n \"selectedDeliveryChannel\": \"delivery\",\n \"addressId\": \"9ec276fd3a604eb1aa151b5333ca5db7\",\n \"price\": 1000\n }\n ]\n }\n }\n },\n {\n \"from\": {\n \"items\": [\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"price\": 2499\n },\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"price\": 2499\n }\n ],\n \"customData\": {\n \"customFields\": [\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n }\n ]\n },\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n }\n ]\n }\n ]\n }\n },\n \"to\": {\n \"items\": [\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"measurementUnit\": \"kg\",\n \"unitMultiplier\": 3,\n \"manualDiscountValue\": 0,\n \"manualIncrementValue\": 0,\n \"clientProfileData\": [\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"id anim in eiusmod\",\n \"tradeName\": \"fugiat Ut\",\n \"corporateDocument\": \"proident consequat est\",\n \"stateInscription\": \"aliqua mollit culpa nostrud\",\n \"corporatePhone\": \"reprehenderit ut\",\n \"isCorporate\": false\n },\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"id\",\n \"tradeName\": \"cillum ad sunt ut\",\n \"corporateDocument\": \"id dolore\",\n \"stateInscription\": \"dolor off\",\n \"corporatePhone\": \"officia\",\n \"isCorporate\": false\n }\n ]\n },\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"measurementUnit\": \"kg\",\n \"unitMultiplier\": 3,\n \"manualDiscountValue\": 0,\n \"manualIncrementValue\": 0,\n \"clientProfileData\": [\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"commodo reprehenderit\",\n \"tradeName\": \"in dolor \",\n \"corporateDocument\": \"sit ut proi\",\n \"stateInscription\": \"Ut\",\n \"corporatePhone\": \"Lor\",\n \"isCorporate\": false\n },\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"velit non lab\",\n \"tradeName\": \"eiusmod Excepteur amet tempor adipisicing\",\n \"corporateDocument\": \"Lorem pariatur ut et\",\n \"stateInscription\": \"do proident Excepteur non\",\n \"corporatePhone\": \"ad in\",\n \"isCorporate\": false\n }\n ]\n }\n ],\n \"customData\": {\n \"customFields\": [\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n }\n ]\n },\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n }\n ]\n }\n ]\n },\n \"shippingData\": {\n \"logisticsInfo\": [\n {\n \"itemIndex\": 0,\n \"selectedSla\": \"Normal\",\n \"selectedDeliveryChannel\": \"delivery\",\n \"addressId\": \"9ec276fd3a604eb1aa151b5333ca5db7\",\n \"price\": 1000\n },\n {\n \"itemIndex\": 0,\n \"selectedSla\": \"Normal\",\n \"selectedDeliveryChannel\": \"delivery\",\n \"addressId\": \"9ec276fd3a604eb1aa151b5333ca5db7\",\n \"price\": 1000\n }\n ]\n }\n }\n }\n ]\n}", + "raw": "{\n \"reason\": \"The client wants to change a weighable product.\",\n \"replace\": [\n {\n \"from\": {\n \"items\": [\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"price\": 2499\n },\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"price\": 2499\n }\n ],\n \"customData\": {\n \"customFields\": [\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n }\n ]\n },\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n }\n ]\n }\n ]\n }\n },\n \"to\": {\n \"items\": [\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"measurementUnit\": \"kg\",\n \"unitMultiplier\": 3,\n \"manualDiscountValue\": 0,\n \"manualIncrementValue\": 0,\n \"clientProfileData\": [\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"Excepteur m\",\n \"tradeName\": \"consequat Duis\",\n \"corporateDocument\": \"cupidatat elit tempor aliqua\",\n \"stateInscription\": \"enim consectetur\",\n \"corporatePhone\": \"anim Lorem sed eiusmod\",\n \"isCorporate\": false\n },\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"culpa ullamco i\",\n \"tradeName\": \"id in occaecat incididunt\",\n \"corporateDocument\": \"amet dolore ut cupidatat\",\n \"stateInscription\": \"nisi volup\",\n \"corporatePhone\": \"dolore\",\n \"isCorporate\": false\n }\n ]\n },\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"measurementUnit\": \"kg\",\n \"unitMultiplier\": 3,\n \"manualDiscountValue\": 0,\n \"manualIncrementValue\": 0,\n \"clientProfileData\": [\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"ut est i\",\n \"tradeName\": \"labore ut occaecat\",\n \"corporateDocument\": \"consectetur tempor\",\n \"stateInscription\": \"sed ex amet magna elit\",\n \"corporatePhone\": \"in id anim fugiat\",\n \"isCorporate\": false\n },\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"anim a\",\n \"tradeName\": \"quis\",\n \"corporateDocument\": \"esse quis exercitation\",\n \"stateInscription\": \"aliqua consectetur\",\n \"corporatePhone\": \"dolor cillum mollit Excepteur\",\n \"isCorporate\": false\n }\n ]\n }\n ],\n \"customData\": {\n \"customFields\": [\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n }\n ]\n },\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n }\n ]\n }\n ]\n },\n \"shippingData\": {\n \"logisticsInfo\": [\n {\n \"itemIndex\": 0,\n \"selectedSla\": \"Normal\",\n \"selectedDeliveryChannel\": \"delivery\",\n \"addressId\": \"9ec276fd3a604eb1aa151b5333ca5db7\",\n \"price\": 1000\n },\n {\n \"itemIndex\": 0,\n \"selectedSla\": \"Normal\",\n \"selectedDeliveryChannel\": \"delivery\",\n \"addressId\": \"9ec276fd3a604eb1aa151b5333ca5db7\",\n \"price\": 1000\n }\n ]\n }\n }\n },\n {\n \"from\": {\n \"items\": [\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"price\": 2499\n },\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"price\": 2499\n }\n ],\n \"customData\": {\n \"customFields\": [\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n }\n ]\n },\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n }\n ]\n }\n ]\n }\n },\n \"to\": {\n \"items\": [\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"measurementUnit\": \"kg\",\n \"unitMultiplier\": 3,\n \"manualDiscountValue\": 0,\n \"manualIncrementValue\": 0,\n \"clientProfileData\": [\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"nisi enim veniam\",\n \"tradeName\": \"ea dolore\",\n \"corporateDocument\": \"cillum dolor dolor\",\n \"stateInscription\": \"esse sunt Ut magna\",\n \"corporatePhone\": \"veniam in deserun\",\n \"isCorporate\": false\n },\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"ullamco consectetur aliquip dolore\",\n \"tradeName\": \"est dolore eu\",\n \"corporateDocument\": \"veniam qui\",\n \"stateInscription\": \"ut\",\n \"corporatePhone\": \"deserunt ipsum dolore occaecat ullamco\",\n \"isCorporate\": false\n }\n ]\n },\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"measurementUnit\": \"kg\",\n \"unitMultiplier\": 3,\n \"manualDiscountValue\": 0,\n \"manualIncrementValue\": 0,\n \"clientProfileData\": [\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"in\",\n \"tradeName\": \"ea ipsum voluptate Lorem\",\n \"corporateDocument\": \"dolor pariatur\",\n \"stateInscription\": \"Duis dolore voluptate\",\n \"corporatePhone\": \"in quis Ut\",\n \"isCorporate\": false\n },\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"esse elit est\",\n \"tradeName\": \"qui consequat\",\n \"corporateDocument\": \"ut Excepteur in sint\",\n \"stateInscription\": \"ut officia exercitation\",\n \"corporatePhone\": \"sit enim sunt pariatur\",\n \"isCorporate\": false\n }\n ]\n }\n ],\n \"customData\": {\n \"customFields\": [\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n }\n ]\n },\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n }\n ]\n }\n ]\n },\n \"shippingData\": {\n \"logisticsInfo\": [\n {\n \"itemIndex\": 0,\n \"selectedSla\": \"Normal\",\n \"selectedDeliveryChannel\": \"delivery\",\n \"addressId\": \"9ec276fd3a604eb1aa151b5333ca5db7\",\n \"price\": 1000\n },\n {\n \"itemIndex\": 0,\n \"selectedSla\": \"Normal\",\n \"selectedDeliveryChannel\": \"delivery\",\n \"addressId\": \"9ec276fd3a604eb1aa151b5333ca5db7\",\n \"price\": 1000\n }\n ]\n }\n }\n }\n ]\n}", "options": { "raw": { "headerFamily": "json", @@ -3076,7 +3076,7 @@ { "listen": "test", "script": { - "id": "c91788f1-4ae2-41cb-9e6f-215bf4b24dcc", + "id": "7971176c-a521-4a51-9c62-5a476681ea0b", "type": "text/javascript", "exec": [ "// Validate status 2xx \npm.test(\"[POST]::/api/order-system/orders/:changeOrderId/changes/preview - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", @@ -3092,7 +3092,7 @@ } }, { - "id": "418aa994-21c2-495d-af6c-22d218a86a8e", + "id": "4299bbe4-aac6-458a-b994-e7281bdf4eb4", "name": "Retry order modifications", "request": { "name": "Retry order modifications", @@ -3174,7 +3174,7 @@ "method": "POST", "body": { "mode": "raw", - "raw": "{\n \"reason\": \"The client wants to change a weighable product.\",\n \"replace\": [\n {\n \"from\": {\n \"items\": [\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"price\": 2499\n },\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"price\": 2499\n }\n ],\n \"customData\": {\n \"customFields\": [\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n }\n ]\n },\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n }\n ]\n }\n ]\n }\n },\n \"to\": {\n \"items\": [\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"measurementUnit\": \"kg\",\n \"unitMultiplier\": 3,\n \"manualDiscountValue\": 0,\n \"manualIncrementValue\": 0,\n \"clientProfileData\": [\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"ea sed esse elit aliquip\",\n \"tradeName\": \"commodo Duis in\",\n \"corporateDocument\": \"incididunt aliqua ullamco laboris\",\n \"stateInscription\": \"sunt ut\",\n \"corporatePhone\": \"nisi occaecat \",\n \"isCorporate\": false\n },\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"amet est commodo esse ipsum\",\n \"tradeName\": \"sit in ut\",\n \"corporateDocument\": \"proident velit est sed\",\n \"stateInscription\": \"ullamco fugiat qui velit\",\n \"corporatePhone\": \"aliquip in\",\n \"isCorporate\": false\n }\n ]\n },\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"measurementUnit\": \"kg\",\n \"unitMultiplier\": 3,\n \"manualDiscountValue\": 0,\n \"manualIncrementValue\": 0,\n \"clientProfileData\": [\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"qu\",\n \"tradeName\": \"irure Lorem dolor\",\n \"corporateDocument\": \"eiusmod nulla\",\n \"stateInscription\": \"voluptate ullamco sint an\",\n \"corporatePhone\": \"sit adipisicing irure\",\n \"isCorporate\": false\n },\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"\",\n \"tradeName\": \"enim\",\n \"corporateDocument\": \"incididunt mollit\",\n \"stateInscription\": \"Ut\",\n \"corporatePhone\": \"sed in minim\",\n \"isCorporate\": false\n }\n ]\n }\n ],\n \"customData\": {\n \"customFields\": [\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n }\n ]\n },\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n }\n ]\n }\n ]\n },\n \"shippingData\": {\n \"logisticsInfo\": [\n {\n \"itemIndex\": 0,\n \"selectedSla\": \"Normal\",\n \"selectedDeliveryChannel\": \"delivery\",\n \"addressId\": \"9ec276fd3a604eb1aa151b5333ca5db7\",\n \"price\": 1000\n },\n {\n \"itemIndex\": 0,\n \"selectedSla\": \"Normal\",\n \"selectedDeliveryChannel\": \"delivery\",\n \"addressId\": \"9ec276fd3a604eb1aa151b5333ca5db7\",\n \"price\": 1000\n }\n ]\n }\n }\n },\n {\n \"from\": {\n \"items\": [\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"price\": 2499\n },\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"price\": 2499\n }\n ],\n \"customData\": {\n \"customFields\": [\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n }\n ]\n },\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n }\n ]\n }\n ]\n }\n },\n \"to\": {\n \"items\": [\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"measurementUnit\": \"kg\",\n \"unitMultiplier\": 3,\n \"manualDiscountValue\": 0,\n \"manualIncrementValue\": 0,\n \"clientProfileData\": [\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"id voluptate qui in\",\n \"tradeName\": \"sint Duis non ullamco\",\n \"corporateDocument\": \"fugiat\",\n \"stateInscription\": \"irure reprehenderit ea\",\n \"corporatePhone\": \"culpa consectetur fugiat nostrud\",\n \"isCorporate\": false\n },\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"minim est\",\n \"tradeName\": \"pariatur v\",\n \"corporateDocument\": \"in ut proident reprehenderit\",\n \"stateInscription\": \"non exercitation dolore culpa officia\",\n \"corporatePhone\": \"ex mollit Duis occaec\",\n \"isCorporate\": false\n }\n ]\n },\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"measurementUnit\": \"kg\",\n \"unitMultiplier\": 3,\n \"manualDiscountValue\": 0,\n \"manualIncrementValue\": 0,\n \"clientProfileData\": [\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"magna\",\n \"tradeName\": \"non officia\",\n \"corporateDocument\": \"veniam velit exercita\",\n \"stateInscription\": \"culpa ea cupidatat\",\n \"corporatePhone\": \"adipisicing non Ut minim\",\n \"isCorporate\": false\n },\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"adipisicing pariatur Lorem non\",\n \"tradeName\": \"dolore\",\n \"corporateDocument\": \"reprehenderit non Duis id\",\n \"stateInscription\": \"commodo\",\n \"corporatePhone\": \"consequ\",\n \"isCorporate\": false\n }\n ]\n }\n ],\n \"customData\": {\n \"customFields\": [\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n }\n ]\n },\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n }\n ]\n }\n ]\n },\n \"shippingData\": {\n \"logisticsInfo\": [\n {\n \"itemIndex\": 0,\n \"selectedSla\": \"Normal\",\n \"selectedDeliveryChannel\": \"delivery\",\n \"addressId\": \"9ec276fd3a604eb1aa151b5333ca5db7\",\n \"price\": 1000\n },\n {\n \"itemIndex\": 0,\n \"selectedSla\": \"Normal\",\n \"selectedDeliveryChannel\": \"delivery\",\n \"addressId\": \"9ec276fd3a604eb1aa151b5333ca5db7\",\n \"price\": 1000\n }\n ]\n }\n }\n }\n ]\n}", + "raw": "{\n \"reason\": \"The client wants to change a weighable product.\",\n \"replace\": [\n {\n \"from\": {\n \"items\": [\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"price\": 2499\n },\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"price\": 2499\n }\n ],\n \"customData\": {\n \"customFields\": [\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n }\n ]\n },\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n }\n ]\n }\n ]\n }\n },\n \"to\": {\n \"items\": [\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"measurementUnit\": \"kg\",\n \"unitMultiplier\": 3,\n \"manualDiscountValue\": 0,\n \"manualIncrementValue\": 0,\n \"clientProfileData\": [\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"dolor dolor irure minim\",\n \"tradeName\": \"aliqua\",\n \"corporateDocument\": \"ea exercitation Excepteur\",\n \"stateInscription\": \"non\",\n \"corporatePhone\": \"in deserunt elit\",\n \"isCorporate\": false\n },\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"elit sint consectetur nulla\",\n \"tradeName\": \"occaecat id Lorem\",\n \"corporateDocument\": \"ut aliqua dolore\",\n \"stateInscription\": \"culp\",\n \"corporatePhone\": \"dolor magna deserunt aliquip ut\",\n \"isCorporate\": false\n }\n ]\n },\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"measurementUnit\": \"kg\",\n \"unitMultiplier\": 3,\n \"manualDiscountValue\": 0,\n \"manualIncrementValue\": 0,\n \"clientProfileData\": [\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"non consequa\",\n \"tradeName\": \"pariatur anim\",\n \"corporateDocument\": \"reprehenderit sunt\",\n \"stateInscription\": \"ut quis non dolore\",\n \"corporatePhone\": \"dolore e\",\n \"isCorporate\": false\n },\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"Lorem voluptate\",\n \"tradeName\": \"aliqua pariatur cupidatat aute\",\n \"corporateDocument\": \"tempor Excepteur magna sunt consequat\",\n \"stateInscription\": \"esse\",\n \"corporatePhone\": \"ea et\",\n \"isCorporate\": false\n }\n ]\n }\n ],\n \"customData\": {\n \"customFields\": [\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n }\n ]\n },\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n }\n ]\n }\n ]\n },\n \"shippingData\": {\n \"logisticsInfo\": [\n {\n \"itemIndex\": 0,\n \"selectedSla\": \"Normal\",\n \"selectedDeliveryChannel\": \"delivery\",\n \"addressId\": \"9ec276fd3a604eb1aa151b5333ca5db7\",\n \"price\": 1000\n },\n {\n \"itemIndex\": 0,\n \"selectedSla\": \"Normal\",\n \"selectedDeliveryChannel\": \"delivery\",\n \"addressId\": \"9ec276fd3a604eb1aa151b5333ca5db7\",\n \"price\": 1000\n }\n ]\n }\n }\n },\n {\n \"from\": {\n \"items\": [\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"price\": 2499\n },\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"price\": 2499\n }\n ],\n \"customData\": {\n \"customFields\": [\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n }\n ]\n },\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n }\n ]\n }\n ]\n }\n },\n \"to\": {\n \"items\": [\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"measurementUnit\": \"kg\",\n \"unitMultiplier\": 3,\n \"manualDiscountValue\": 0,\n \"manualIncrementValue\": 0,\n \"clientProfileData\": [\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"sit \",\n \"tradeName\": \"aliquip eiusmod reprehenderit dolor\",\n \"corporateDocument\": \"magna nostrud amet nulla\",\n \"stateInscription\": \"enim quis ad\",\n \"corporatePhone\": \"in consequat\",\n \"isCorporate\": false\n },\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"dolor\",\n \"tradeName\": \"dolor exercitation\",\n \"corporateDocument\": \"veniam Ut\",\n \"stateInscription\": \"in\",\n \"corporatePhone\": \"reprehenderit ea ut ex laboris\",\n \"isCorporate\": false\n }\n ]\n },\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"measurementUnit\": \"kg\",\n \"unitMultiplier\": 3,\n \"manualDiscountValue\": 0,\n \"manualIncrementValue\": 0,\n \"clientProfileData\": [\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"in quis magna enim pariatur\",\n \"tradeName\": \"ullamco minim\",\n \"corporateDocument\": \"nulla adipisicing est in\",\n \"stateInscription\": \"magna proident\",\n \"corporatePhone\": \"minim voluptate\",\n \"isCorporate\": false\n },\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"reprehenderit id\",\n \"tradeName\": \"tempor\",\n \"corporateDocument\": \"commodo nulla Lorem sit\",\n \"stateInscription\": \"aliquip do anim deserunt\",\n \"corporatePhone\": \"in officia\",\n \"isCorporate\": false\n }\n ]\n }\n ],\n \"customData\": {\n \"customFields\": [\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n }\n ]\n },\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n }\n ]\n }\n ]\n },\n \"shippingData\": {\n \"logisticsInfo\": [\n {\n \"itemIndex\": 0,\n \"selectedSla\": \"Normal\",\n \"selectedDeliveryChannel\": \"delivery\",\n \"addressId\": \"9ec276fd3a604eb1aa151b5333ca5db7\",\n \"price\": 1000\n },\n {\n \"itemIndex\": 0,\n \"selectedSla\": \"Normal\",\n \"selectedDeliveryChannel\": \"delivery\",\n \"addressId\": \"9ec276fd3a604eb1aa151b5333ca5db7\",\n \"price\": 1000\n }\n ]\n }\n }\n }\n ]\n}", "options": { "raw": { "headerFamily": "json", @@ -3188,7 +3188,7 @@ "_": { "postman_previewlanguage": "text" }, - "id": "9372ac91-8b80-4bd9-a6c8-eff79720aaa1", + "id": "87b4ac03-3af7-4587-9b4c-55aa9825de92", "name": "No Content", "originalRequest": { "url": { @@ -3252,7 +3252,7 @@ "method": "POST", "body": { "mode": "raw", - "raw": "{\n \"reason\": \"The client wants to change a weighable product.\",\n \"replace\": [\n {\n \"from\": {\n \"items\": [\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"price\": 2499\n },\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"price\": 2499\n }\n ],\n \"customData\": {\n \"customFields\": [\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n }\n ]\n },\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n }\n ]\n }\n ]\n }\n },\n \"to\": {\n \"items\": [\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"measurementUnit\": \"kg\",\n \"unitMultiplier\": 3,\n \"manualDiscountValue\": 0,\n \"manualIncrementValue\": 0,\n \"clientProfileData\": [\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"ea sed esse elit aliquip\",\n \"tradeName\": \"commodo Duis in\",\n \"corporateDocument\": \"incididunt aliqua ullamco laboris\",\n \"stateInscription\": \"sunt ut\",\n \"corporatePhone\": \"nisi occaecat \",\n \"isCorporate\": false\n },\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"amet est commodo esse ipsum\",\n \"tradeName\": \"sit in ut\",\n \"corporateDocument\": \"proident velit est sed\",\n \"stateInscription\": \"ullamco fugiat qui velit\",\n \"corporatePhone\": \"aliquip in\",\n \"isCorporate\": false\n }\n ]\n },\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"measurementUnit\": \"kg\",\n \"unitMultiplier\": 3,\n \"manualDiscountValue\": 0,\n \"manualIncrementValue\": 0,\n \"clientProfileData\": [\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"qu\",\n \"tradeName\": \"irure Lorem dolor\",\n \"corporateDocument\": \"eiusmod nulla\",\n \"stateInscription\": \"voluptate ullamco sint an\",\n \"corporatePhone\": \"sit adipisicing irure\",\n \"isCorporate\": false\n },\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"\",\n \"tradeName\": \"enim\",\n \"corporateDocument\": \"incididunt mollit\",\n \"stateInscription\": \"Ut\",\n \"corporatePhone\": \"sed in minim\",\n \"isCorporate\": false\n }\n ]\n }\n ],\n \"customData\": {\n \"customFields\": [\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n }\n ]\n },\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n }\n ]\n }\n ]\n },\n \"shippingData\": {\n \"logisticsInfo\": [\n {\n \"itemIndex\": 0,\n \"selectedSla\": \"Normal\",\n \"selectedDeliveryChannel\": \"delivery\",\n \"addressId\": \"9ec276fd3a604eb1aa151b5333ca5db7\",\n \"price\": 1000\n },\n {\n \"itemIndex\": 0,\n \"selectedSla\": \"Normal\",\n \"selectedDeliveryChannel\": \"delivery\",\n \"addressId\": \"9ec276fd3a604eb1aa151b5333ca5db7\",\n \"price\": 1000\n }\n ]\n }\n }\n },\n {\n \"from\": {\n \"items\": [\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"price\": 2499\n },\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"price\": 2499\n }\n ],\n \"customData\": {\n \"customFields\": [\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n }\n ]\n },\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n }\n ]\n }\n ]\n }\n },\n \"to\": {\n \"items\": [\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"measurementUnit\": \"kg\",\n \"unitMultiplier\": 3,\n \"manualDiscountValue\": 0,\n \"manualIncrementValue\": 0,\n \"clientProfileData\": [\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"id voluptate qui in\",\n \"tradeName\": \"sint Duis non ullamco\",\n \"corporateDocument\": \"fugiat\",\n \"stateInscription\": \"irure reprehenderit ea\",\n \"corporatePhone\": \"culpa consectetur fugiat nostrud\",\n \"isCorporate\": false\n },\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"minim est\",\n \"tradeName\": \"pariatur v\",\n \"corporateDocument\": \"in ut proident reprehenderit\",\n \"stateInscription\": \"non exercitation dolore culpa officia\",\n \"corporatePhone\": \"ex mollit Duis occaec\",\n \"isCorporate\": false\n }\n ]\n },\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"measurementUnit\": \"kg\",\n \"unitMultiplier\": 3,\n \"manualDiscountValue\": 0,\n \"manualIncrementValue\": 0,\n \"clientProfileData\": [\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"magna\",\n \"tradeName\": \"non officia\",\n \"corporateDocument\": \"veniam velit exercita\",\n \"stateInscription\": \"culpa ea cupidatat\",\n \"corporatePhone\": \"adipisicing non Ut minim\",\n \"isCorporate\": false\n },\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"adipisicing pariatur Lorem non\",\n \"tradeName\": \"dolore\",\n \"corporateDocument\": \"reprehenderit non Duis id\",\n \"stateInscription\": \"commodo\",\n \"corporatePhone\": \"consequ\",\n \"isCorporate\": false\n }\n ]\n }\n ],\n \"customData\": {\n \"customFields\": [\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n }\n ]\n },\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n }\n ]\n }\n ]\n },\n \"shippingData\": {\n \"logisticsInfo\": [\n {\n \"itemIndex\": 0,\n \"selectedSla\": \"Normal\",\n \"selectedDeliveryChannel\": \"delivery\",\n \"addressId\": \"9ec276fd3a604eb1aa151b5333ca5db7\",\n \"price\": 1000\n },\n {\n \"itemIndex\": 0,\n \"selectedSla\": \"Normal\",\n \"selectedDeliveryChannel\": \"delivery\",\n \"addressId\": \"9ec276fd3a604eb1aa151b5333ca5db7\",\n \"price\": 1000\n }\n ]\n }\n }\n }\n ]\n}", + "raw": "{\n \"reason\": \"The client wants to change a weighable product.\",\n \"replace\": [\n {\n \"from\": {\n \"items\": [\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"price\": 2499\n },\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"price\": 2499\n }\n ],\n \"customData\": {\n \"customFields\": [\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n }\n ]\n },\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n }\n ]\n }\n ]\n }\n },\n \"to\": {\n \"items\": [\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"measurementUnit\": \"kg\",\n \"unitMultiplier\": 3,\n \"manualDiscountValue\": 0,\n \"manualIncrementValue\": 0,\n \"clientProfileData\": [\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"dolor dolor irure minim\",\n \"tradeName\": \"aliqua\",\n \"corporateDocument\": \"ea exercitation Excepteur\",\n \"stateInscription\": \"non\",\n \"corporatePhone\": \"in deserunt elit\",\n \"isCorporate\": false\n },\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"elit sint consectetur nulla\",\n \"tradeName\": \"occaecat id Lorem\",\n \"corporateDocument\": \"ut aliqua dolore\",\n \"stateInscription\": \"culp\",\n \"corporatePhone\": \"dolor magna deserunt aliquip ut\",\n \"isCorporate\": false\n }\n ]\n },\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"measurementUnit\": \"kg\",\n \"unitMultiplier\": 3,\n \"manualDiscountValue\": 0,\n \"manualIncrementValue\": 0,\n \"clientProfileData\": [\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"non consequa\",\n \"tradeName\": \"pariatur anim\",\n \"corporateDocument\": \"reprehenderit sunt\",\n \"stateInscription\": \"ut quis non dolore\",\n \"corporatePhone\": \"dolore e\",\n \"isCorporate\": false\n },\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"Lorem voluptate\",\n \"tradeName\": \"aliqua pariatur cupidatat aute\",\n \"corporateDocument\": \"tempor Excepteur magna sunt consequat\",\n \"stateInscription\": \"esse\",\n \"corporatePhone\": \"ea et\",\n \"isCorporate\": false\n }\n ]\n }\n ],\n \"customData\": {\n \"customFields\": [\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n }\n ]\n },\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n }\n ]\n }\n ]\n },\n \"shippingData\": {\n \"logisticsInfo\": [\n {\n \"itemIndex\": 0,\n \"selectedSla\": \"Normal\",\n \"selectedDeliveryChannel\": \"delivery\",\n \"addressId\": \"9ec276fd3a604eb1aa151b5333ca5db7\",\n \"price\": 1000\n },\n {\n \"itemIndex\": 0,\n \"selectedSla\": \"Normal\",\n \"selectedDeliveryChannel\": \"delivery\",\n \"addressId\": \"9ec276fd3a604eb1aa151b5333ca5db7\",\n \"price\": 1000\n }\n ]\n }\n }\n },\n {\n \"from\": {\n \"items\": [\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"price\": 2499\n },\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"price\": 2499\n }\n ],\n \"customData\": {\n \"customFields\": [\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n }\n ]\n },\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-OLD\"\n }\n ]\n }\n ]\n }\n },\n \"to\": {\n \"items\": [\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"measurementUnit\": \"kg\",\n \"unitMultiplier\": 3,\n \"manualDiscountValue\": 0,\n \"manualIncrementValue\": 0,\n \"clientProfileData\": [\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"sit \",\n \"tradeName\": \"aliquip eiusmod reprehenderit dolor\",\n \"corporateDocument\": \"magna nostrud amet nulla\",\n \"stateInscription\": \"enim quis ad\",\n \"corporatePhone\": \"in consequat\",\n \"isCorporate\": false\n },\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"dolor\",\n \"tradeName\": \"dolor exercitation\",\n \"corporateDocument\": \"veniam Ut\",\n \"stateInscription\": \"in\",\n \"corporatePhone\": \"reprehenderit ea ut ex laboris\",\n \"isCorporate\": false\n }\n ]\n },\n {\n \"id\": \"1\",\n \"quantity\": 1,\n \"uniqueId\": \"1D6A12BD177140B2BAF0C042D2FAEE54\",\n \"measurementUnit\": \"kg\",\n \"unitMultiplier\": 3,\n \"manualDiscountValue\": 0,\n \"manualIncrementValue\": 0,\n \"clientProfileData\": [\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"in quis magna enim pariatur\",\n \"tradeName\": \"ullamco minim\",\n \"corporateDocument\": \"nulla adipisicing est in\",\n \"stateInscription\": \"magna proident\",\n \"corporatePhone\": \"minim voluptate\",\n \"isCorporate\": false\n },\n {\n \"firstName\": \"first-name\",\n \"lastName\": \"last-name\",\n \"documentType\": \"cpf\",\n \"document\": \"123456789\",\n \"phone\": \"55110988887777\",\n \"corporateName\": \"reprehenderit id\",\n \"tradeName\": \"tempor\",\n \"corporateDocument\": \"commodo nulla Lorem sit\",\n \"stateInscription\": \"aliquip do anim deserunt\",\n \"corporatePhone\": \"in officia\",\n \"isCorporate\": false\n }\n ]\n }\n ],\n \"customData\": {\n \"customFields\": [\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n }\n ]\n },\n {\n \"linkedEntity\": {\n \"type\": \"item\",\n \"id\": \"B2949D0A45244825B177D2F9F96DC711\"\n },\n \"fields\": [\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n },\n {\n \"name\": \"desktop\",\n \"value\": \"DSK-NEW\"\n }\n ]\n }\n ]\n },\n \"shippingData\": {\n \"logisticsInfo\": [\n {\n \"itemIndex\": 0,\n \"selectedSla\": \"Normal\",\n \"selectedDeliveryChannel\": \"delivery\",\n \"addressId\": \"9ec276fd3a604eb1aa151b5333ca5db7\",\n \"price\": 1000\n },\n {\n \"itemIndex\": 0,\n \"selectedSla\": \"Normal\",\n \"selectedDeliveryChannel\": \"delivery\",\n \"addressId\": \"9ec276fd3a604eb1aa151b5333ca5db7\",\n \"price\": 1000\n }\n ]\n }\n }\n }\n ]\n}", "options": { "raw": { "headerFamily": "json", @@ -3271,7 +3271,7 @@ { "listen": "test", "script": { - "id": "edc46d15-2c06-4a1a-b043-56297b879ea6", + "id": "fc84222c-9a76-4c08-a6bd-d588564268e3", "type": "text/javascript", "exec": [ "// Validate status 2xx \npm.test(\"[POST]::/api/order-system/orders/:changeOrderId/changes/:changeRequestId/retry - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", @@ -3285,7 +3285,7 @@ } }, { - "id": "44e84901-9a37-4c94-9ec1-71250ff09c54", + "id": "ff422992-3e0b-436e-99ca-e423b6c91c56", "name": "Cancel order modifications", "request": { "name": "Cancel order modifications", @@ -3381,7 +3381,7 @@ "_": { "postman_previewlanguage": "text" }, - "id": "77370497-3928-4cf0-a794-761f9b1697c0", + "id": "43ae88d2-a7db-4e85-86d2-5e450272c581", "name": "OK", "originalRequest": { "url": { @@ -3464,7 +3464,7 @@ { "listen": "test", "script": { - "id": "97e0872f-4aa8-4a7a-8c02-7cd784ae753b", + "id": "af14ce48-1d57-498b-9631-212157b23e65", "type": "text/javascript", "exec": [ "// Validate status 2xx \npm.test(\"[POST]::/api/order-system/orders/:changeOrderId/changes/:changeRequestId/cancel - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n" @@ -3477,7 +3477,7 @@ } }, { - "id": "ea3e8655-d78d-46b5-b4cd-56429d3a1343", + "id": "baccf3e3-2dc5-4439-9c1e-d0c9464d45a6", "name": "Update Order modifications settings", "request": { "name": "Update Order modifications settings", @@ -3554,7 +3554,7 @@ "_": { "postman_previewlanguage": "json" }, - "id": "7476120e-6776-4fe6-9086-c18dc58dfa7d", + "id": "bafe43f9-d322-423e-97cf-e14b0a6d0fd2", "name": "OK", "originalRequest": { "url": { @@ -3645,7 +3645,7 @@ { "listen": "test", "script": { - "id": "58c383ea-a830-47a3-b442-f498fdfddd38", + "id": "45c6c03d-13a0-48cd-bb60-1796acd01c13", "type": "text/javascript", "exec": [ "// Validate status 2xx \npm.test(\"[PUT]::/api/order-system/orders/changes/settings - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", @@ -3661,7 +3661,7 @@ } }, { - "id": "f9507f81-5e6b-4639-bc0a-3c3fa14f7a8c", + "id": "f843dc02-0e7e-4b82-9028-0b291ff70c53", "name": "Get Order modifications settings", "request": { "name": "Get Order modifications settings", @@ -3725,7 +3725,7 @@ "_": { "postman_previewlanguage": "json" }, - "id": "965310ef-f08e-43a9-87ea-c52d7c2b9da7", + "id": "d27d4213-6860-4816-b272-8d5c71c23527", "name": "OK", "originalRequest": { "url": { @@ -3803,7 +3803,7 @@ { "listen": "test", "script": { - "id": "5b04f9d1-a242-4fa5-ab6a-fefc4e57bb7c", + "id": "a33237d9-d4b9-4479-9392-cdd3d7df8795", "type": "text/javascript", "exec": [ "// Validate status 2xx \npm.test(\"[GET]::/api/order-system/orders/changes/settings - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", @@ -3822,7 +3822,7 @@ "event": [] }, { - "id": "c7176803-0e16-4a4c-b1a4-b2abdae4cdd9", + "id": "c9067d06-d783-4bdf-911b-ea3026a1122d", "name": "Invoice", "description": { "content": "", @@ -3830,7 +3830,7 @@ }, "item": [ { - "id": "cda06dfc-00ca-4db9-9b9f-3ec551dea4f7", + "id": "1af149f7-39a1-4790-80fe-0259e0f58cfe", "name": "Order invoice notification", "request": { "name": "Order invoice notification", @@ -3909,7 +3909,7 @@ "_": { "postman_previewlanguage": "json" }, - "id": "4802ba00-cd60-49df-bbc8-5044909c379f", + "id": "7983b1f5-33f0-4aff-814e-e0cdddbc8f26", "name": "OK", "originalRequest": { "url": { @@ -3991,7 +3991,7 @@ { "listen": "test", "script": { - "id": "a7a9bfd4-5e2b-4253-bc13-815ab169a4ad", + "id": "7df1e346-d807-481b-bebe-2d5f6ec0092f", "type": "text/javascript", "exec": [ "// Validate status 2xx \npm.test(\"[POST]::/api/oms/pvt/orders/:orderId/invoice - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", @@ -4007,7 +4007,7 @@ } }, { - "id": "9ae1ca1f-8273-46e6-9813-d2e6836609ff", + "id": "7142407a-4bc7-410d-bed4-5f623ec00aed", "name": "Update order's partial invoice (send tracking number)", "request": { "name": "Update order's partial invoice (send tracking number)", @@ -4097,7 +4097,7 @@ "_": { "postman_previewlanguage": "json" }, - "id": "a1d2efbc-dbec-40c6-87ec-4dbbe8f15872", + "id": "468c386d-c841-4125-8e80-fa3dbfc6d1db", "name": "OK", "originalRequest": { "url": { @@ -4180,7 +4180,7 @@ { "listen": "test", "script": { - "id": "a27702a9-6e0d-4695-905f-b65f9b4186dd", + "id": "1e54e604-2440-42d7-a8be-ff79e774416d", "type": "text/javascript", "exec": [ "// Validate status 2xx \npm.test(\"[PATCH]::/api/oms/pvt/orders/:orderId/invoice/:invoiceNumber - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", @@ -4199,7 +4199,7 @@ "event": [] }, { - "id": "9c2e88f2-9fef-42fc-b1cb-fdba45a4c4dc", + "id": "eac420dd-9301-4fab-8323-0f9d27828eb9", "name": "Tracking", "description": { "content": "", @@ -4207,7 +4207,7 @@ }, "item": [ { - "id": "dbe66205-ece2-4080-bd7d-ce578024a223", + "id": "f1660ae7-0187-4a19-9f94-d7cd426b18e8", "name": "Update order tracking status", "request": { "name": "Update order tracking status", @@ -4298,7 +4298,7 @@ "_": { "postman_previewlanguage": "json" }, - "id": "38a04622-9e08-48ee-8198-205bd65998ea", + "id": "ca3a40ca-535a-4423-9d28-42b24fcc6631", "name": "OK", "originalRequest": { "url": { @@ -4382,7 +4382,7 @@ { "listen": "test", "script": { - "id": "6871759a-cfe0-43a4-91e1-4c8e379f855c", + "id": "87cc52ba-18d5-497c-9f3a-d7fc012dd7e8", "type": "text/javascript", "exec": [ "// Validate status 2xx \npm.test(\"[PUT]::/api/oms/pvt/orders/:orderId/invoice/:invoiceNumber/tracking - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", @@ -4401,7 +4401,7 @@ "event": [] }, { - "id": "9f074d78-0c9b-45be-8536-ad2d7e2bd75c", + "id": "8378585d-27df-4350-8043-a5e101bacd51", "name": "Conversation", "description": { "content": "", @@ -4409,7 +4409,7 @@ }, "item": [ { - "id": "30fe0811-4c68-4af3-b176-666b4a49e5f7", + "id": "2859a80f-0926-4afc-bd15-11252a1ef69f", "name": "Retrieve order conversation", "request": { "name": "Retrieve order conversation", @@ -4475,7 +4475,7 @@ "_": { "postman_previewlanguage": "json" }, - "id": "ab05adbc-83a7-40d4-91eb-60f2d565ab2f", + "id": "e3840fea-6d56-4e28-91fa-f466b8bfd7e2", "name": "OK", "originalRequest": { "url": { @@ -4544,7 +4544,7 @@ { "listen": "test", "script": { - "id": "baed3074-97aa-406b-a242-7b9420303b1d", + "id": "d348387c-6691-428d-aab9-4761fe13028e", "type": "text/javascript", "exec": [ "// Validate status 2xx \npm.test(\"[GET]::/api/oms/pvt/orders/:orderId/conversation-message - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", @@ -4563,7 +4563,7 @@ "event": [] }, { - "id": "835b34c1-a8a8-4ca5-a4c5-d234a2696c11", + "id": "4c11a655-2b8b-418c-9291-34a0a8a7cf23", "name": "Payment", "description": { "content": "", @@ -4571,7 +4571,7 @@ }, "item": [ { - "id": "c0aa96eb-149d-408d-86ad-0f13bb72c62c", + "id": "3fae32c9-690e-402c-8d58-ac8ee436c879", "name": "Retrieve payment transaction", "request": { "name": "Retrieve payment transaction", @@ -4637,7 +4637,7 @@ "_": { "postman_previewlanguage": "json" }, - "id": "57241d51-8bf1-4fec-91a4-c49d7376360a", + "id": "4aff734d-9e69-4b67-b133-b41982281157", "name": "OK", "originalRequest": { "url": { @@ -4706,7 +4706,7 @@ { "listen": "test", "script": { - "id": "048469a7-6666-4554-892e-fa6e58c7a206", + "id": "4e166698-c7f2-480a-be02-bcf96ab6c4b5", "type": "text/javascript", "exec": [ "// Validate status 2xx \npm.test(\"[GET]::/api/oms/pvt/orders/:orderId/payment-transaction - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", @@ -4722,7 +4722,7 @@ } }, { - "id": "42cbd4d6-5d7b-4cc1-841b-bc3cbef7c6cf", + "id": "ab4daacf-5309-4cf5-9178-03ac58d6bdd9", "name": "Send payment notification", "request": { "name": "Send payment notification", @@ -4796,7 +4796,7 @@ "_": { "postman_previewlanguage": "text" }, - "id": "3d8b2ea5-9d56-47fa-9a26-d1c625a08c5b", + "id": "4d1e7911-8837-42d2-b428-e00e9919c3e7", "name": "OK", "originalRequest": { "url": { @@ -4856,7 +4856,7 @@ "_": { "postman_previewlanguage": "text" }, - "id": "305841b2-9f9b-454a-a732-a44cec04db96", + "id": "02fb87eb-7be7-4253-809e-08734488a014", "name": "[Bad request](https://httpstatuses.com/400)", "originalRequest": { "url": { @@ -4916,7 +4916,7 @@ "_": { "postman_previewlanguage": "text" }, - "id": "e0566ddb-ef1b-40fa-8dcc-098faef22dd9", + "id": "5f2282ac-fbd3-408e-850f-0d63aec47897", "name": "[The credentials are not enabled to access the service](https://httpstatuses.com/403)", "originalRequest": { "url": { @@ -4976,7 +4976,7 @@ "_": { "postman_previewlanguage": "text" }, - "id": "23acaf06-2835-4664-a8d5-b3fef22eaf34", + "id": "2c793212-f714-4fe3-9020-fd4e1f29a375", "name": "[Value not found](https://httpstatuses.com/404)", "originalRequest": { "url": { @@ -5036,7 +5036,7 @@ "_": { "postman_previewlanguage": "text" }, - "id": "beb34136-8ad1-439a-9d58-d343f3ac32a0", + "id": "59069846-fef9-40b2-9bd6-226f9351b7fa", "name": "[Too many requests](https://httpstatuses.com/429)", "originalRequest": { "url": { @@ -5097,7 +5097,7 @@ { "listen": "test", "script": { - "id": "25589adb-d93c-4724-bef2-c008906dbb15", + "id": "2c3da487-94c9-4db1-a828-2a2c24ace40f", "type": "text/javascript", "exec": [ "// Validate status 2xx \npm.test(\"[POST]::/api/oms/pvt/orders/:orderId/payments/:paymentId/payment-notification - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n" @@ -5113,7 +5113,7 @@ "event": [] }, { - "id": "535a7714-4a77-4b97-a62c-5fecfacf7dd1", + "id": "4be9f4ac-8c5b-4802-ab27-3f9f5c256f7f", "name": "Feed v2 (deprecated)", "description": { "content": "", @@ -5121,7 +5121,7 @@ }, "item": [ { - "id": "44d80c4f-333b-4b0f-80b7-e6122e787b35", + "id": "b448a27e-ba0c-46da-99ae-e2713fda256a", "name": "Get feed order status", "request": { "name": "Get feed order status", @@ -5182,7 +5182,7 @@ "_": { "postman_previewlanguage": "text" }, - "id": "b08831ef-5fac-4788-82bf-52273dde4029", + "id": "9be996e8-0820-4fb7-a5bb-4c159d9f752a", "name": "OK", "originalRequest": { "url": { @@ -5251,7 +5251,7 @@ { "listen": "test", "script": { - "id": "f13c7443-3322-41a0-9e8c-7c4ef841002c", + "id": "13bce354-47c3-4ecf-8292-f969ca96d6a4", "type": "text/javascript", "exec": [ "// Validate status 2xx \npm.test(\"[GET]::/api/oms/pvt/feed/orders/status - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n" @@ -5267,7 +5267,7 @@ "event": [] }, { - "id": "12ac002c-a952-472c-b4d6-f8a325b22400", + "id": "4ed76596-b9e0-4b86-8792-0848374a9eed", "name": "Feed v3", "description": { "content": "", @@ -5275,7 +5275,7 @@ }, "item": [ { - "id": "1943600f-7c6d-4d3b-a4ab-5ecb6de8f3f3", + "id": "0ab5a325-8469-47ca-9bab-159e21b9501c", "name": "Get feed configuration", "request": { "name": "Get feed configuration", @@ -5328,7 +5328,7 @@ "_": { "postman_previewlanguage": "json" }, - "id": "51f1b970-235d-4fc8-ba03-1a4645391b44", + "id": "c28e8c1e-6d39-44ff-aeef-31e3e28547d6", "name": "OK", "originalRequest": { "url": { @@ -5395,7 +5395,7 @@ { "listen": "test", "script": { - "id": "57ff82d5-69ef-4b86-8a4d-4f7bb279c3f2", + "id": "37b75985-b97d-4d8a-ab33-42c01f4644ca", "type": "text/javascript", "exec": [ "// Validate status 2xx \npm.test(\"[GET]::/api/orders/feed/config - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", @@ -5411,7 +5411,7 @@ } }, { - "id": "0386ab6f-e6fa-4f09-996e-9a3ce5177851", + "id": "3143e573-4ef9-4738-81f2-bd2a549b2edf", "name": "Create or update feed configuration", "request": { "name": "Create or update feed configuration", @@ -5473,7 +5473,7 @@ "_": { "postman_previewlanguage": "text" }, - "id": "9297c423-e8e3-4ab1-b8a7-2321b1a4ebe4", + "id": "b90d2732-9dda-4146-bbf7-e2baa3cd4d2d", "name": "Success", "originalRequest": { "url": { @@ -5542,7 +5542,7 @@ "_": { "postman_previewlanguage": "text" }, - "id": "ef461c0a-5b02-4c73-a056-f1468f2b34c5", + "id": "0fb73a3b-1e04-41b9-bbaa-26406b0fbe44", "name": "The credentials are not enabled to access the service", "originalRequest": { "url": { @@ -5611,7 +5611,7 @@ "_": { "postman_previewlanguage": "text" }, - "id": "7fdce44b-6294-4200-b032-34dedd910b3c", + "id": "dc9a34cf-515d-4012-9d69-8b57719f157b", "name": "Value not found", "originalRequest": { "url": { @@ -5680,7 +5680,7 @@ "_": { "postman_previewlanguage": "text" }, - "id": "2070b838-9efa-49c7-8a71-dae93833ac1f", + "id": "45e4c1b8-c03b-4ef3-9a3b-485502645dca", "name": "Too many requests", "originalRequest": { "url": { @@ -5750,7 +5750,7 @@ { "listen": "test", "script": { - "id": "4892b7d4-23a4-4b6e-bbf5-148209e4d12e", + "id": "8728038e-a726-4dca-aee5-8a494e952715", "type": "text/javascript", "exec": [ "// Validate status 2xx \npm.test(\"[POST]::/api/orders/feed/config - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n" @@ -5763,7 +5763,7 @@ } }, { - "id": "3aebfe84-94b8-4f23-959f-72e6983c7e7b", + "id": "7edbb997-daad-48b0-b674-06a04164af85", "name": "Delete feed configuration", "request": { "name": "Delete feed configuration", @@ -5812,7 +5812,7 @@ "_": { "postman_previewlanguage": "text" }, - "id": "44969398-3319-4f85-b450-fba4bdc10430", + "id": "4e19aee9-51d3-4170-a175-a2bc3b020315", "name": "OK", "originalRequest": { "url": { @@ -5868,7 +5868,7 @@ "_": { "postman_previewlanguage": "text" }, - "id": "19dec086-bbdd-4cfe-9c0e-ce22e6213275", + "id": "e67cc81a-2bf1-439f-878d-19189583ff1a", "name": "Bad request - Unable to check address / Only https scheme is accepted", "originalRequest": { "url": { @@ -5924,7 +5924,7 @@ "_": { "postman_previewlanguage": "text" }, - "id": "571ff8d4-038c-4d62-a1fd-b3fdef2c162f", + "id": "186c2bcd-65b6-40b4-9f6f-e3cbd3a4ad92", "name": "The credentials are not enabled to access the service", "originalRequest": { "url": { @@ -5980,7 +5980,7 @@ "_": { "postman_previewlanguage": "text" }, - "id": "356a3620-f756-4617-97f5-008bb9fec839", + "id": "56399f51-6c0b-4c63-8da6-ca1a566f7576", "name": "Value not found", "originalRequest": { "url": { @@ -6036,7 +6036,7 @@ "_": { "postman_previewlanguage": "text" }, - "id": "efaef86b-c353-47da-b7e1-ffbad57c138e", + "id": "c9999121-3df5-4793-8187-4ddb86e14708", "name": "Too many requests", "originalRequest": { "url": { @@ -6093,7 +6093,7 @@ { "listen": "test", "script": { - "id": "8d554fde-c865-4521-90b4-74b7576764fa", + "id": "b76db616-6b60-4cb5-b31c-42cdc6a77045", "type": "text/javascript", "exec": [ "// Validate status 2xx \npm.test(\"[DELETE]::/api/orders/feed/config - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n" @@ -6106,7 +6106,7 @@ } }, { - "id": "c3ca23e2-b7fe-4674-9b65-792a3a6259d3", + "id": "5dd5232c-b081-4274-8296-e7ad1369c1ff", "name": "Retrieve feed items", "request": { "name": "Retrieve feed items", @@ -6168,7 +6168,7 @@ "_": { "postman_previewlanguage": "json" }, - "id": "94af206c-2a3b-4b35-a448-83b619d18a1c", + "id": "2c7ebcbf-ca08-456f-9c06-3a7a190cee26", "name": "OK", "originalRequest": { "url": { @@ -6244,7 +6244,7 @@ { "listen": "test", "script": { - "id": "fe3d141b-16f8-4c85-9bdc-e5f2aa54556b", + "id": "eaa08363-06dc-4c11-939b-fae7c27cedf4", "type": "text/javascript", "exec": [ "// Validate status 2xx \npm.test(\"[GET]::/api/orders/feed - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", @@ -6260,7 +6260,7 @@ } }, { - "id": "a7b4a6c3-5ff1-4810-82ef-d23eafb68bd8", + "id": "8781c29d-db8b-446e-a257-43effb267d75", "name": "Commit feed items", "request": { "name": "Commit feed items", @@ -6321,7 +6321,7 @@ "_": { "postman_previewlanguage": "text" }, - "id": "244912ce-f820-4e1d-a20c-0c1f8ec35ddf", + "id": "effb4ec9-d1eb-4d6a-a30a-468f32ebf009", "name": "OK", "originalRequest": { "url": { @@ -6390,7 +6390,7 @@ { "listen": "test", "script": { - "id": "7fa01e5e-19ae-40f2-b884-204d969046c8", + "id": "66f555cd-778f-4828-af4a-83754b0896e3", "type": "text/javascript", "exec": [ "// Validate status 2xx \npm.test(\"[POST]::/api/orders/feed - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n" @@ -6403,7 +6403,7 @@ } }, { - "id": "3443ce6d-4178-4248-975e-0590e3d05af2", + "id": "55a041bc-25fa-46c2-bc02-24e4b5ab1483", "name": "Test JSONata expression", "request": { "name": "Test JSONata expression", @@ -6469,7 +6469,7 @@ "_": { "postman_previewlanguage": "json" }, - "id": "41e51d5c-3433-4f0c-a2c6-5cf6b650fdd1", + "id": "9def6335-99ee-42db-a31a-715f0d4e2acc", "name": "OK", "originalRequest": { "url": { @@ -6549,7 +6549,7 @@ { "listen": "test", "script": { - "id": "1634dd61-7866-401f-bcc4-08721467c22f", + "id": "ac9c6abc-7f10-49ae-9aeb-89da85fa8c64", "type": "text/javascript", "exec": [ "// Validate status 2xx \npm.test(\"[POST]::/api/orders/expressions/jsonata - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", @@ -6568,7 +6568,7 @@ "event": [] }, { - "id": "734d1e6d-6e88-449c-90a6-ca532559dea2", + "id": "7eb90231-cfe8-45ba-a1c5-7b73467a7a94", "name": "Order hook", "description": { "content": "", @@ -6576,7 +6576,7 @@ }, "item": [ { - "id": "222d5b6b-a152-4f9c-8e6d-7c2311d56890", + "id": "c1fa96cd-a12a-4c81-b735-df8d98b4d01c", "name": "Get hook configuration", "request": { "name": "Get hook configuration", @@ -6653,7 +6653,7 @@ "_": { "postman_previewlanguage": "text" }, - "id": "4c4c1207-fa91-406f-a060-b325b4bebe47", + "id": "8c73aeff-f650-4320-b1c2-3aa7e5e519ca", "name": "OK", "originalRequest": { "url": { @@ -6738,7 +6738,7 @@ { "listen": "test", "script": { - "id": "503fe2e1-17c0-4028-9ec3-124039e48842", + "id": "834e474d-0b6e-4987-979c-73d49e976d70", "type": "text/javascript", "exec": [ "// Validate status 2xx \npm.test(\"[GET]::/api/orders/hook/config - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n" @@ -6751,7 +6751,7 @@ } }, { - "id": "8280b870-3d30-41c9-b4ab-468c04f1bb8f", + "id": "43e6ba5d-9f29-41e7-88c9-92c70a34dd15", "name": "Create or update hook configuration", "request": { "name": "Create or update hook configuration", @@ -6817,7 +6817,7 @@ "_": { "postman_previewlanguage": "json" }, - "id": "b80a0ab9-9951-49cd-a9e1-717291935b81", + "id": "f95b45ce-4556-43b2-898c-2560769b46b9", "name": "OK", "originalRequest": { "url": { @@ -6897,7 +6897,7 @@ { "listen": "test", "script": { - "id": "7c08de5c-8b1c-4f0f-b621-eda338bced97", + "id": "532b249f-4d9e-4d38-9b7e-a91497c04c1f", "type": "text/javascript", "exec": [ "// Validate status 2xx \npm.test(\"[POST]::/api/orders/hook/config - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", @@ -6913,7 +6913,7 @@ } }, { - "id": "86cf18d2-45d9-4523-b41f-6d21f0c4b378", + "id": "a3b13789-d395-4ce1-93b4-8a848fcff0f0", "name": "Delete hook configuration", "request": { "name": "Delete hook configuration", @@ -6962,7 +6962,7 @@ "_": { "postman_previewlanguage": "text" }, - "id": "0a0407b6-85ee-4dc1-8b33-61266c159796", + "id": "c4403bf5-6508-4c4e-bd5f-cb27f535ce5f", "name": "Success", "originalRequest": { "url": { @@ -7018,7 +7018,7 @@ "_": { "postman_previewlanguage": "text" }, - "id": "27b87fc6-bfa2-45aa-8ad3-aa94afab5b97", + "id": "6728d4a0-1883-492c-9d50-e9a98412d9c7", "name": "[The credentials are not enabled to access the service](https://httpstatuses.com/403)", "originalRequest": { "url": { @@ -7074,7 +7074,7 @@ "_": { "postman_previewlanguage": "text" }, - "id": "c7fc62ad-55d1-4b86-bc4d-a5f161fbeef2", + "id": "a34f3906-0804-4b51-acf1-9a60515c33e0", "name": "[Value not found](https://httpstatuses.com/404)", "originalRequest": { "url": { @@ -7130,7 +7130,7 @@ "_": { "postman_previewlanguage": "text" }, - "id": "8b3e1f29-7ba1-473b-80af-b01c34c5d176", + "id": "9db0c281-fd5f-4fa0-9ab3-8e22f2718faf", "name": "[Too many requests](https://httpstatuses.com/429)", "originalRequest": { "url": { @@ -7187,7 +7187,7 @@ { "listen": "test", "script": { - "id": "382289d6-b276-4561-a2d0-55c7ce6cdbed", + "id": "e03b4233-9808-4940-89b9-9efeea58219b", "type": "text/javascript", "exec": [ "// Validate status 2xx \npm.test(\"[DELETE]::/api/orders/hook/config - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n" @@ -7203,7 +7203,7 @@ "event": [] }, { - "id": "4c535c40-6a6a-430b-8241-afd47128345e", + "id": "fe822598-4283-4002-a499-ded4283a23a6", "name": "User orders", "description": { "content": "", @@ -7211,7 +7211,7 @@ }, "item": [ { - "id": "77b8224c-cfe3-4aac-a09e-b8f276f98697", + "id": "b680b53b-d69a-42c3-b429-6a988397fde8", "name": "Retrieve user's orders", "request": { "name": "Retrieve user's orders", @@ -7337,7 +7337,7 @@ "_": { "postman_previewlanguage": "json" }, - "id": "f5b90e15-af6c-49ea-b6ad-32c8711ecc58", + "id": "2a8939f0-81e9-4de5-8f30-802fd8102cf3", "name": "OK", "originalRequest": { "url": { @@ -7477,7 +7477,7 @@ { "listen": "test", "script": { - "id": "4cf5056e-3b7b-4e59-809e-ecb16d10e70e", + "id": "1371d6ec-d6f0-4a6a-be2d-b20233d720bb", "type": "text/javascript", "exec": [ "// Validate status 2xx \npm.test(\"[GET]::/api/oms/user/orders - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", @@ -7493,7 +7493,7 @@ } }, { - "id": "97ad4c5f-ca7f-4128-a076-afe94615672d", + "id": "2d8631a7-861f-479b-95ac-62770c6a6ab7", "name": "Retrieve user order details", "request": { "name": "Retrieve user order details", @@ -7613,7 +7613,7 @@ "_": { "postman_previewlanguage": "json" }, - "id": "9e3cde78-17f7-4bb6-a2e0-1401a0153499", + "id": "d08fcae8-75a9-4225-a62c-0fd5051ab38b", "name": "OK", "originalRequest": { "url": { @@ -7736,7 +7736,7 @@ { "listen": "test", "script": { - "id": "e798a417-b5c4-491c-b92b-3897c119c7ab", + "id": "b78012a2-9966-49a3-93a6-95bd93dd6ddc", "type": "text/javascript", "exec": [ "// Validate status 2xx \npm.test(\"[GET]::/api/oms/user/orders/:orderId - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", @@ -7755,7 +7755,7 @@ "event": [] }, { - "id": "e61e90a9-ef5d-4764-b265-63da4bd6d53b", + "id": "de2616a5-9c3e-4e07-9c85-c43657a7106c", "name": "Change seller", "description": { "content": "", @@ -7763,7 +7763,7 @@ }, "item": [ { - "id": "d22a8fbd-aaca-4816-986e-c94166068892", + "id": "21cb17bc-9089-4855-8056-447715acf125", "name": "Get window to change seller", "request": { "name": "Get window to change seller", @@ -7817,7 +7817,7 @@ "_": { "postman_previewlanguage": "json" }, - "id": "5823f04a-6495-4e90-82a4-c4612039f502", + "id": "47dfd6a7-e8fd-4c53-925c-178431cf10d9", "name": "OK", "originalRequest": { "url": { @@ -7885,7 +7885,7 @@ { "listen": "test", "script": { - "id": "fe42e83e-e60c-430e-8daa-430e8caea4b6", + "id": "1821eb56-6ab7-465f-89b4-4bac84ffb77a", "type": "text/javascript", "exec": [ "// Validate status 2xx \npm.test(\"[GET]::/api/checkout/pvt/configuration/window-to-change-seller - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", @@ -7901,7 +7901,7 @@ } }, { - "id": "b100bdad-414b-4054-b563-8c34fc172d80", + "id": "a0d77cdd-4a2c-462f-b4d5-24d149604573", "name": "Update window to change seller", "request": { "name": "Update window to change seller", @@ -7964,7 +7964,7 @@ "_": { "postman_previewlanguage": "text" }, - "id": "426af201-3d4b-479f-9fe5-883809adb699", + "id": "0636d3e4-f9c7-4c3f-a741-e6335d4eba97", "name": "Created", "originalRequest": { "url": { @@ -8035,7 +8035,7 @@ { "listen": "test", "script": { - "id": "5f4f7eb3-de64-4c97-ac44-1492e2a53152", + "id": "3d0508e2-8155-4335-bb56-61367cf3b50b", "type": "text/javascript", "exec": [ "// Validate status 2xx \npm.test(\"[POST]::/api/checkout/pvt/configuration/window-to-change-seller - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n" @@ -8090,7 +8090,7 @@ } ], "info": { - "_postman_id": "6159c6f0-7906-4f58-a4d2-d27acf941fb7", + "_postman_id": "8a9baeb7-3d36-4262-abb5-4ca1f7341891", "name": "Orders API", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", "description": { diff --git a/VTEX - Orders API.json b/VTEX - Orders API.json index c5cbb4206..d140c8894 100644 --- a/VTEX - Orders API.json +++ b/VTEX - Orders API.json @@ -8293,7 +8293,7 @@ ], "summary": "Create order modifications", "operationId": "Createchange", - "description": "[Order modifications](https:\/\/help.vtex.com\/en\/tutorial\/how-change-order-works-beta--56TO0bOFXsfmpc7YZ3wIUZ) feature allows you to modify an order, whether the modification is motivated by customer mistakes, product unavailability, or others. Both sellers and marketplaces can use this endpoint and modify orders in multiple scenarios, and it is possible to make a single modification or combine multiple ones in the same request. \r\nThe possible order modifications operations you can perform are the following:\r\n- **Add:** Adding items, quantity, or product weight.\r\n- **Remove:** Removing a part of items or the total quantity.\r\n- **Replace:** Changing items' quantity, weight, or price. You can also replace one or more items with different ones, including weighable products. In addition, you can change your clients's data. \r\n\r\n>❗ When removing or adding items to an order, your [inventory](https://help.vtex.com/en/tutorial/inventory-management--tutorials_139) is not automatically updated. You can use the [Update inventory by SKU and warehouse](https://developers.vtex.com/docs/api-reference/logistics-api#put-/api/logistics/pvt/inventory/skus/-skuId-/warehouses/-warehouseId-) endpoint.\r\n\r\n >⚠️ The Order modifications feature isn't applicable to the Catalog API - Seller Portal. \r\n\r\n>❗ If the order you are modifying has more than one shipping address, you cannot add products that were not in the original order. You can only increase or decrease the quantity of the existing items, or remove items. \r\n\r\nThe next sections are listed below:\r\n- Number of modifications per order \r\n- Acceptable order status for modifications \r\n- Order modifications and price \r\n- Combining multiple operations \r\n\r\n## Number of modifications per order\r\nBesides being able to combine multiple modification operations - add, remove, and replace - in a single request, you can make different modification requests, and there is no limit to how many times an order can be modified.\r\n\r\nEach order has its modifications history, you can retrieve it using the [Get order modifications history](https:\/\/developers.vtex.com\/docs\/api-reference\/orders-api#get-\/api\/order-system\/orders\/-changeOrderId-\/changes) endpoint.\r\n\r\n## Acceptable order status for modifications\r\nYou can only modify an order when it is one of the following [order flow](https://help.vtex.com/en/tutorial/order-flow-and-status--tutorials_196) status:\r\n- `handling`\r\n- `waiting-for-fulfillment` \r\n- `ready for invoicing` \r\n\r\nIt is not possible to modify an order when the payment transaction is complete.\r\n\r\n## Order modifications and price\r\nWhen you add, remove or replace items using this endpoint, the order and payment transaction values are automatically updated. Order modifications calculates the update of the following values:\r\n- Item value\r\n- Total value \r\n\r\n**Example:** If you send the request body for replacing items without the unit multiplier (`unitMultiplier`) or measurement (`measurementUnit`), Order modifications will get this information on your store's Catalog, Pricing and Payment systems. \r\n>⚠️ Increasing the price of an order is allowed only when the order was paid by credit card, [payable notes](https:/help.vtex.com/en/tutorial/setting-up-payments-with-promissory--5pW7avTwtyQcMu4uiW8quQ), cash, or [credit control](https:/help.vtex.com/en/tutorial/customer-credit-overview--1uIqTjWxIIIEW0COMg4uE0). In addition, the [acquirer](https:/help.vtex.com/en/tutorial/what-is-an-acquirer--7N1oRTG8dGmOiIugC0cs4E) must allow transactions without the CVV code and two charging transactions in the same order. \r\n\r\nFor order modifications with discounts, Order Management System (OMS) considers that you still can modify the order's transactional value, as long as its status in Transaction Details is not `Finished`. \r\n\r\n## Order modifications and payment transaction flow \r\n\r\nAn order's [transaction flow](https://help.vtex.com/tracks/payments--6GAS7ZzGAm7AGoEAwDbwJG/1xjzgJZvqwaI1rfxLMCC3Y) goes through various payment statuses before its conclusion. Within certain conditions, it is possible to modify settled orders. The requirements are the following:\r\n\r\n- The order's [payment method](https://help.vtex.com/en/tutorial/difference-between-payment-methods-and-payment-conditions--3azJenhGFyUy2gsocms42Q) is a credit card.\r\n- The settlement occurs before the order is invoiced.\r\n- The payment connector is configured to allow partial refunds.\r\n\r\n> Currently, [Adyen](https://help.vtex.com/en/tutorial/configuring-payment-with-adyenv3--7xAz67E2Eg63LWCQNjVdwv) is the only payment connector that supports that operation.\r\n\r\nIf the order modification increases or decreases the cost for the customer, the platform has the following behavior:\r\n\r\n- **Smaller price after order modification:**\r\n - If the payment is marked as `settled` in the [transaction flow](https://help.vtex.com/tracks/payments--6GAS7ZzGAm7AGoEAwDbwJG/1xjzgJZvqwaI1rfxLMCC3Y), an automatic notification is sent to the payment [gateway](https://help.vtex.com/tracks/payments--6GAS7ZzGAm7AGoEAwDbwJG/kdPbEIWf8Xq8tESQvViMB#gateway) to reimburse the customer for the difference.\r\n - If the payment hasn't been settled, an automatic notification is sent to the payment gateway to change the order's total amount.\r\n- **Higher price after order modification:** An automatic notification is sent to the payment gateway to require the customer to pay for the additional cost.\r\n\r\n## Combining multiple operations\r\nYou can use this endpoint to make a single change operation or combine them in the same request. See some examples below.\r\n\r\n### Adding request body example:\r\n\r\n```json\r\n{\r\n \"add\": {\r\n \"items\": [\r\n {\r\n \"id\": \"8\",\r\n \"quantity\": 1,\r\n \"measurementUnit\": \"un\",\r\n \"unitMultiplier\": 1\r\n }\r\n ]\r\n }\r\n}\r\n```\r\n\r\n### Removing request body example:\r\n\r\n```json\r\n{\r\n \"reason\": \"The client wants to remove a product.\",\r\n \"remove\": {\r\n \"items\": [\r\n {\r\n \"id\": \"8\",\r\n \"quantity\": 2,\r\n \"measurementUnit\": \"un\",\r\n \"unitMultiplier\": 1\r\n }\r\n ]\r\n }\r\n}\r\n```\r\n\r\n### Replacing request body example:\r\n```json\r\n{\r\n \"reason\": \"The client wants to increase the product weight.\",\r\n \"replace\": [\r\n {\r\n \"from\": {\r\n \"items\": [\r\n {\r\n \"id\": \"1\",\r\n \"quantity\": 1\r\n }\r\n ]\r\n },\r\n \"to\": {\r\n \"items\": [\r\n {\r\n \"id\": \"2\",\r\n \"quantity\": 1,\r\n \"measurementUnit\": \"kg\",\r\n \"unitMultiplier\": 1.0\r\n }\r\n ],\r\n \"shippingData\": {\r\n \"logisticsInfo\": [\r\n {\r\n \"itemIndex\": 0,\r\n \"selectedSla\": \"Normal\",\r\n \"selectedDeliveryChannel\": \"delivery\",\r\n \"addressId\": \"12334048475146857\",\r\n \"price\": 1000\r\n }\r\n ]\r\n }\r\n }\r\n }\r\n ]\r\n}\r\n```\r\n\r\n\r\n### Adding, removing and replacing request body example:\r\n\r\n\r\n```json\r\n{\r\n \"reason\": \"The client wants to add, remove and replace a weighable product.\",\r\n \"manualDiscountValue\": 0,\r\n \"add\": {\r\n \"items\": [\r\n {\r\n \"id\": \"8\",\r\n \"quantity\": 1,\r\n \"measurementUnit\": \"un\",\r\n \"unitMultiplier\": 1\r\n }\r\n ]\r\n },\r\n \"remove\": {\r\n \"items\": [\r\n {\r\n \"id\": \"31\",\r\n \"quantity\": 1,\r\n \"measurementUnit\": \"un\",\r\n \"unitMultiplier\": 1\r\n }\r\n ]\r\n },\r\n \"replace\": [\r\n {\r\n \"from\": {\r\n \"items\": [\r\n {\r\n \"id\": \"1\",\r\n \"quantity\": 1\r\n }\r\n ]\r\n },\r\n \"to\": {\r\n \"items\": [\r\n {\r\n \"id\": \"2\",\r\n \"quantity\": 1,\r\n \"measurementUnit\": \"kg\",\r\n \"unitMultiplier\": 1.0\r\n }\r\n ],\r\n \"shippingData\": {\r\n \"logisticsInfo\": [\r\n {\r\n \"itemIndex\": 0,\r\n \"selectedSla\": \"Normal\",\r\n \"selectedDeliveryChannel\": \"delivery\",\r\n \"addressId\": \"12334048475146857\",\r\n \"price\": 1000\r\n }\r\n ]\r\n }\r\n }\r\n }\r\n ]\r\n}\r\n```\r\n\r\n## Permissions\r\n\r\nAny user or [API key](https:\/\/developers.vtex.com\/docs\/guides\/authentication-overview#api-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| Checkout | CheckoutResources | **Orders Full Access** |\r\n| OMS | OMS access | **Cancel order** |\r\n| OMS | OMS access | **Change order** |\r\n\r\nYou can [create a custom role](https:\/\/help.vtex.com\/en\/tutorial\/roles--7HKK5Uau2H6wxE1rH5oRbc#creating-a-role) with that resource or use one of the following [predefined roles](https:\/\/help.vtex.com\/en\/tutorial\/predefined-roles--jGDurZKJHvHJS13LnO7Dy):\r\n\r\n| **Role** | **Resource** | \r\n| --------------- | ----------------- | \r\n| Checkout Admin | Orders Full Access |\r\n| OMS - Full access |Cancel order<\/p>
Change order<\/p> |\r\n| IntegrationProfile - Fulfillment Oms |
Cancel order<\/p>
Change order<\/p> |\r\n| IntegrationProfile - Fulfillment Gateway | Cancel order |\r\n| IntegrationProfile - Fulfillment Gateway Oms |
Cancel order<\/p>
Change order<\/p> |\r\n| inStore Sales Person |
Cancel order<\/p>
Change order<\/p> |\r\n\r\n>\u2757 Assigning a [predefined role](https:\/\/help.vtex.com\/en\/tutorial\/predefined-roles--jGDurZKJHvHJS13LnO7Dy) to users or application keys usually grants permission to multiple [License Manager resources](https:\/\/help.vtex.com\/en\/tutorial\/license-manager-resources--3q6ztrC8YynQf6rdc6euk3). If some of these permissions are not necessary, consider creating a custom role instead. For more information regarding security, see [Best practices for using application keys](https:\/\/help.vtex.com\/en\/tutorial\/best-practices-api-keys--7b6nD1VMHa49aI5brlOvJm).\r\n\r\nTo learn more about machine authentication at VTEX, see [Authentication overview](https:\/\/developers.vtex.com\/docs\/guides\/authentication-overview#machine-authentication).", + "description": "[Order modifications](https:\/\/help.vtex.com\/en\/tutorial\/how-change-order-works-beta--56TO0bOFXsfmpc7YZ3wIUZ) feature allows you to modify an order, whether the modification is motivated by customer mistakes, product unavailability, or others. Both sellers and marketplaces can use this endpoint and modify orders in multiple scenarios, and it is possible to make a single modification or combine multiple ones in the same request. \r\nThe possible order modifications operations you can perform are the following:\r\n- **Add:** Adding items, quantity, or product weight.\r\n- **Remove:** Removing a part of items or the total quantity.\r\n- **Replace:** Changing items' quantity, weight, or price. You can also replace one or more items with different ones, including weighable products. In addition, you can change your clients's data. \r\n\r\n>❗ When removing or adding items to an order, your [inventory](https://help.vtex.com/en/tutorial/inventory-management--tutorials_139) is not automatically updated. You can use the [Update inventory by SKU and warehouse](https://developers.vtex.com/docs/api-reference/logistics-api#put-/api/logistics/pvt/inventory/skus/-skuId-/warehouses/-warehouseId-) endpoint.\r\n\r\n >⚠️ The Order modifications feature isn't applicable to the Catalog API - Seller Portal. \r\n\r\n>❗ If the order you are modifying has more than one shipping address, you cannot add products that were not in the original order. You can only increase or decrease the quantity of the existing items, or remove items. \r\n\r\nThe next sections are listed below:\r\n- Number of modifications per order \r\n- Acceptable order status for modifications \r\n- Order modifications and price \r\n- Combining multiple operations \r\n\r\n## Number of modifications per order\r\nBesides being able to combine multiple modification operations - add, remove, and replace - in a single request, you can make different modification requests, and there is no limit to how many times an order can be modified.\r\n\r\nEach order has its modifications history, you can retrieve it using the [Get order modifications history](https:\/\/developers.vtex.com\/docs\/api-reference\/orders-api#get-\/api\/order-system\/orders\/-changeOrderId-\/changes) endpoint.\r\n\r\n## Acceptable order status for modifications\r\nYou can only modify an order when it is one of the following [order flow](https://help.vtex.com/en/tutorial/order-flow-and-status--tutorials_196) status:\r\n- `handling`\r\n- `waiting-for-fulfillment` \r\n- `ready for invoicing` \r\n\r\nIt is not possible to modify an order when the payment transaction is complete.\r\n\r\n## Order modifications and price\r\nWhen you add, remove or replace items using this endpoint, the order and payment transaction values are automatically updated. Order modifications calculates the update of the following values:\r\n- Item value\r\n- Total value \r\n\r\n**Example:** If you send the request body for replacing items without the unit multiplier (`unitMultiplier`) or measurement (`measurementUnit`), Order modifications will get this information on your store's Catalog, Pricing and Payment systems. \r\n>⚠️ Increasing the price of an order is allowed only when the order was paid by credit card, [payable notes](https:/help.vtex.com/en/tutorial/setting-up-payments-with-promissory--5pW7avTwtyQcMu4uiW8quQ), cash, or [credit control](https:/help.vtex.com/en/tutorial/customer-credit-overview--1uIqTjWxIIIEW0COMg4uE0). In addition, the [acquirer](https:/help.vtex.com/en/tutorial/what-is-an-acquirer--7N1oRTG8dGmOiIugC0cs4E) must allow transactions without the CVV code and two charging transactions in the same order. \r\n\r\nFor order modifications with discounts, Order Management System (OMS) considers that you still can modify the order's transactional value, as long as its status in Transaction Details is not `Finished`. \r\n\r\n## Order modifications and payment transaction flow \r\n\r\nAn order's [transaction flow](https://help.vtex.com/tracks/payments--6GAS7ZzGAm7AGoEAwDbwJG/1xjzgJZvqwaI1rfxLMCC3Y) goes through various payment statuses before its conclusion. Within certain conditions, it is possible to modify settled orders. The requirements are the following:\r\n\r\n- The order's [payment method](https://help.vtex.com/en/tutorial/difference-between-payment-methods-and-payment-conditions--3azJenhGFyUy2gsocms42Q) is a credit card.\r\n- The settlement occurs before the order is invoiced.\r\n- The payment connector is configured to allow partial refunds.\r\n\r\n> Currently, [Adyen](https://help.vtex.com/en/tutorial/configuring-payment-with-adyenv3--7xAz67E2Eg63LWCQNjVdwv) is the only payment connector that supports that operation.\r\n\r\nIf the order modification increases or decreases the cost for the customer, the platform has the following behavior:\r\n\r\n- **Smaller price after order modification:**\r\n - If the payment is marked as `settled` in the [transaction flow](https://help.vtex.com/tracks/payments--6GAS7ZzGAm7AGoEAwDbwJG/1xjzgJZvqwaI1rfxLMCC3Y), an automatic notification is sent to the payment [gateway](https://help.vtex.com/tracks/payments--6GAS7ZzGAm7AGoEAwDbwJG/kdPbEIWf8Xq8tESQvViMB#gateway) to reimburse the customer for the difference.\r\n - If the payment hasn't been settled, an automatic notification is sent to the payment gateway to change the order's total amount.\r\n- **Higher price after order modification:** An automatic notification is sent to the payment gateway to require the customer to pay for the additional cost.\r\n\r\n ## Order modifications settings\r\n The Order modifications settings allow you to customize your account's behavior when receiving a modification request, such as configuring the order payments, defining tax recalculation, and compensating shipping costs. Before or during the API integration, you can consult and, if necessary, adjust the settings of the modifications.\r\n - If you wish to consult the current settings, run the [Get Order modifications settings](https://developers.vtex.com/docs/api-reference/orders-api#get-/api/order-system/orders/changes/settings) endpoint. \r\n - If you wish to alter the current settings, run the [Update Order modifications settings](https://developers.vtex.com/docs/api-reference/orders-api#put-/api/order-system/orders/changes/settings) endpoint. \r\n\r\n ## Combining multiple operations\r\nYou can use this endpoint to make a single change operation or combine them in the same request. See some examples below.\r\n\r\n### Adding request body example:\r\n\r\n```json\r\n{\r\n \"add\": {\r\n \"items\": [\r\n {\r\n \"id\": \"8\",\r\n \"quantity\": 1,\r\n \"measurementUnit\": \"un\",\r\n \"unitMultiplier\": 1\r\n }\r\n ]\r\n }\r\n}\r\n```\r\n\r\n### Removing request body example:\r\n\r\n```json\r\n{\r\n \"reason\": \"The client wants to remove a product.\",\r\n \"remove\": {\r\n \"items\": [\r\n {\r\n \"id\": \"8\",\r\n \"quantity\": 2,\r\n \"measurementUnit\": \"un\",\r\n \"unitMultiplier\": 1\r\n }\r\n ]\r\n }\r\n}\r\n```\r\n\r\n### Replacing request body example:\r\n```json\r\n{\r\n \"reason\": \"The client wants to increase the product weight.\",\r\n \"replace\": [\r\n {\r\n \"from\": {\r\n \"items\": [\r\n {\r\n \"id\": \"1\",\r\n \"quantity\": 1\r\n }\r\n ]\r\n },\r\n \"to\": {\r\n \"items\": [\r\n {\r\n \"id\": \"2\",\r\n \"quantity\": 1,\r\n \"measurementUnit\": \"kg\",\r\n \"unitMultiplier\": 1.0\r\n }\r\n ],\r\n \"shippingData\": {\r\n \"logisticsInfo\": [\r\n {\r\n \"itemIndex\": 0,\r\n \"selectedSla\": \"Normal\",\r\n \"selectedDeliveryChannel\": \"delivery\",\r\n \"addressId\": \"12334048475146857\",\r\n \"price\": 1000\r\n }\r\n ]\r\n }\r\n }\r\n }\r\n ]\r\n}\r\n```\r\n\r\n\r\n### Adding, removing and replacing request body example:\r\n\r\n\r\n```json\r\n{\r\n \"reason\": \"The client wants to add, remove and replace a weighable product.\",\r\n \"manualDiscountValue\": 0,\r\n \"add\": {\r\n \"items\": [\r\n {\r\n \"id\": \"8\",\r\n \"quantity\": 1,\r\n \"measurementUnit\": \"un\",\r\n \"unitMultiplier\": 1\r\n }\r\n ]\r\n },\r\n \"remove\": {\r\n \"items\": [\r\n {\r\n \"id\": \"31\",\r\n \"quantity\": 1,\r\n \"measurementUnit\": \"un\",\r\n \"unitMultiplier\": 1\r\n }\r\n ]\r\n },\r\n \"replace\": [\r\n {\r\n \"from\": {\r\n \"items\": [\r\n {\r\n \"id\": \"1\",\r\n \"quantity\": 1\r\n }\r\n ]\r\n },\r\n \"to\": {\r\n \"items\": [\r\n {\r\n \"id\": \"2\",\r\n \"quantity\": 1,\r\n \"measurementUnit\": \"kg\",\r\n \"unitMultiplier\": 1.0\r\n }\r\n ],\r\n \"shippingData\": {\r\n \"logisticsInfo\": [\r\n {\r\n \"itemIndex\": 0,\r\n \"selectedSla\": \"Normal\",\r\n \"selectedDeliveryChannel\": \"delivery\",\r\n \"addressId\": \"12334048475146857\",\r\n \"price\": 1000\r\n }\r\n ]\r\n }\r\n }\r\n }\r\n ]\r\n}\r\n```\r\n\r\n## Permissions\r\n\r\nAny user or [API key](https:\/\/developers.vtex.com\/docs\/guides\/authentication-overview#api-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| Checkout | CheckoutResources | **Orders Full Access** |\r\n| OMS | OMS access | **Cancel order** |\r\n| OMS | OMS access | **Change order** |\r\n\r\nYou can [create a custom role](https:\/\/help.vtex.com\/en\/tutorial\/roles--7HKK5Uau2H6wxE1rH5oRbc#creating-a-role) with that resource or use one of the following [predefined roles](https:\/\/help.vtex.com\/en\/tutorial\/predefined-roles--jGDurZKJHvHJS13LnO7Dy):\r\n\r\n| **Role** | **Resource** | \r\n| --------------- | ----------------- | \r\n| Checkout Admin | Orders Full Access |\r\n| OMS - Full access |
Cancel order<\/p>
Change order<\/p> |\r\n| IntegrationProfile - Fulfillment Oms |
Cancel order<\/p>
Change order<\/p> |\r\n| IntegrationProfile - Fulfillment Gateway | Cancel order |\r\n| IntegrationProfile - Fulfillment Gateway Oms |
Cancel order<\/p>
Change order<\/p> |\r\n| inStore Sales Person |
Cancel order<\/p>
Change order<\/p> |\r\n\r\n>\u2757 Assigning a [predefined role](https:\/\/help.vtex.com\/en\/tutorial\/predefined-roles--jGDurZKJHvHJS13LnO7Dy) to users or application keys usually grants permission to multiple [License Manager resources](https:\/\/help.vtex.com\/en\/tutorial\/license-manager-resources--3q6ztrC8YynQf6rdc6euk3). If some of these permissions are not necessary, consider creating a custom role instead. For more information regarding security, see [Best practices for using application keys](https:\/\/help.vtex.com\/en\/tutorial\/best-practices-api-keys--7b6nD1VMHa49aI5brlOvJm).\r\n\r\nTo learn more about machine authentication at VTEX, see [Authentication overview](https:\/\/developers.vtex.com\/docs\/guides\/authentication-overview#machine-authentication).", "parameters": [ { "name": "accountName",