{"info":{"_postman_id":"6ae60374-a326-45a2-afd2-ab9981f5dc11","name":"API Externas","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"21469881","collectionId":"6ae60374-a326-45a2-afd2-ab9981f5dc11","publishedId":"2sA3rwLZWm","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2025-09-08T13:38:04.000Z"},"item":[{"name":"External Preparation V5","item":[{"name":"External Preparation V5 DEV","id":"8fab7d28-dfb5-4182-b16e-5ac95603fc21","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"OrderSourceNumber\": \"1111\",\r\n    \"RemoteOrderId\": \"111\",\r\n    \"codTienda\": \"46\",\r\n    \"OrderDate\": \"2020-07-02T00:00:00\",\r\n    \"StateChangeDate\": \"2020-07-02T17:00:00\",\r\n    \"State\": \"PickingCompleto\",\r\n    \"operator\": \"25608039-7\",\r\n    \"Packages\": [\r\n        {\r\n            \"packageType\": \"40*53\", \r\n            \"labelCode\": \"644722743F1\", \r\n            \"height\": \"45\",\r\n            \"width\": \"53\",\r\n            \"length\": \"53\",\r\n            \"weight\": \"2\",\r\n            \"Items\": [\r\n                {\r\n                    \"SKU\": \"7801423730016\",\r\n                    \"OriginalQuantity\": 3,\r\n                    \"PickingQuantity\": 3,\r\n                    \"Price\": 17500\r\n                }\r\n            ]\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api-dev.be-flow.com/ordersv2/status-change/v5","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"f5ab1056-1f68-4c3e-9aff-1670a6c5732b","id":"f5ab1056-1f68-4c3e-9aff-1670a6c5732b","name":"External Preparation V5","type":"folder"}},"urlObject":{"protocol":"https","path":["ordersv2","status-change","v5"],"host":["api-dev","be-flow","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"8fab7d28-dfb5-4182-b16e-5ac95603fc21"},{"name":"External Preparation V5 DEMO","id":"608941bb-a802-4b0f-adb7-7068d903139d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"OrderSourceNumber\": \"1111\",\r\n    \"RemoteOrderId\": \"111\",\r\n    \"codTienda\": \"46\",\r\n    \"OrderDate\": \"2020-07-02T00:00:00\",\r\n    \"StateChangeDate\": \"2020-07-02T17:00:00\",\r\n    \"State\": \"PickingCompleto\",\r\n    \"operator\": \"25608039-7\",\r\n    \"Packages\": [\r\n        {\r\n            \"packageType\": \"40*53\", \r\n            \"labelCode\": \"644722743F1\", \r\n            \"height\": \"45\",\r\n            \"width\": \"53\",\r\n            \"length\": \"53\",\r\n            \"weight\": \"2\",\r\n            \"Items\": [\r\n                {\r\n                    \"SKU\": \"7801423730016\",\r\n                    \"OriginalQuantity\": 3,\r\n                    \"PickingQuantity\": 3,\r\n                    \"Price\": 17500\r\n                }\r\n            ]\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api-demo.be-flow.com/ordersv2/status-change/v5","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"f5ab1056-1f68-4c3e-9aff-1670a6c5732b","id":"f5ab1056-1f68-4c3e-9aff-1670a6c5732b","name":"External Preparation V5","type":"folder"}},"urlObject":{"protocol":"https","path":["ordersv2","status-change","v5"],"host":["api-demo","be-flow","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"608941bb-a802-4b0f-adb7-7068d903139d"},{"name":"External Preparation V5 PROD","id":"28a6c5b1-5e46-4d73-b4c8-ee674bcca8cc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"OrderSourceNumber\": \"1111\",\r\n    \"RemoteOrderId\": \"111\",\r\n    \"codTienda\": \"46\",\r\n    \"OrderDate\": \"2020-07-02T00:00:00\",\r\n    \"StateChangeDate\": \"2020-07-02T17:00:00\",\r\n    \"State\": \"PickingCompleto\",\r\n    \"operator\": \"25608039-7\",\r\n    \"Packages\": [\r\n        {\r\n            \"packageType\": \"40*53\", \r\n            \"labelCode\": \"644722743F1\", \r\n            \"height\": \"45\",\r\n            \"width\": \"53\",\r\n            \"length\": \"53\",\r\n            \"weight\": \"2\",\r\n            \"Items\": [\r\n                {\r\n                    \"SKU\": \"7801423730016\",\r\n                    \"OriginalQuantity\": 3,\r\n                    \"PickingQuantity\": 3,\r\n                    \"Price\": 17500\r\n                }\r\n            ]\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.be-flow.com/ordersv2/status-change/v5","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"f5ab1056-1f68-4c3e-9aff-1670a6c5732b","id":"f5ab1056-1f68-4c3e-9aff-1670a6c5732b","name":"External Preparation V5","type":"folder"}},"urlObject":{"protocol":"https","path":["ordersv2","status-change","v5"],"host":["api","be-flow","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"28a6c5b1-5e46-4d73-b4c8-ee674bcca8cc"}],"id":"f5ab1056-1f68-4c3e-9aff-1670a6c5732b","description":"<h4 id=\"description\">Description:</h4>\n<p>Service for order status change, fulfillment creation and automatic preparation.</p>\n<hr />\n<h4 id=\"to-consider\">To consider:</h4>\n<hr />\n<p>The automatic preparation of a fulfillment will be carried out automatically when a status change is received: \"PickingCompleto\".</p>\n<h4 id=\"details\">Details:</h4>\n<hr />\n<p><strong>packageType</strong>: Refers to the type of package to use. This field is optional, so if it is not sent, the type 40*53 will be used by default. In case of being sent, it is required that it exists within the packages created in the client.</p>\n<p><strong>labelCode</strong>: Refers to the code of the package, used for internal control of these. This field is optional, so if it is not sent, an automatically generated code will be used by default (eg: 52FB-4gye). In case of being sent, it is required that there is no other pending package to be prepared with the same code.</p>\n<hr />\n<h4 id=\"new-features-in-v5\"><strong>New features in V5</strong></h4>\n<ul>\n<li><p>Multiple fulfillments preparation</p>\n</li>\n<li><p>Store identifier for fulfillment</p>\n</li>\n<li><p>Price identifier for item</p>\n</li>\n<li><p>Fix and Improvements</p>\n</li>\n</ul>\n<hr />\n<h4 id=\"body\">Body</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>description</strong></th>\n<th><strong>required</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>-OrderSourceNumber  <br />  <br />  <br />  <br />  <br />  <br />-RemoteOrderId</td>\n<td>Invoice number generated through the DTE  <br />  <br />  <br />  <br />  <br />Id Ecommerce</td>\n<td>True/False. I'ts only required if the <strong>RemoteOrderId</strong> was not sent in the body request  <br />  <br />True/False. I'ts only required if the <strong>OrderSourceNumber</strong> was not sent in the body request</td>\n</tr>\n<tr>\n<td>codTienda</td>\n<td>Store code from fulfillment</td>\n<td>False. I'ts only requried when the orde have multiple fulfillments</td>\n</tr>\n<tr>\n<td>OrderDate</td>\n<td>Date of order</td>\n<td>False</td>\n</tr>\n<tr>\n<td>StateChangeDate</td>\n<td>Date of change status</td>\n<td>False</td>\n</tr>\n<tr>\n<td>State</td>\n<td>Enum:<code>PickingCompleto:</code>the fulfillment was completely completed  <br /><code>PickingParcialCompletado:</code> fulfillment was partially completed  <br />  <br /><code>PickingParcialAnulado:</code> the fulfillment was canceled</td>\n<td>True, only this states are posibles :  <br /><code>PickingCompleto</code>  <br /><code>PickingParcialCompletado</code>  <br /><code>PickingParcialAnulado</code></td>\n</tr>\n<tr>\n<td>operator</td>\n<td>Assigned operator identification</td>\n<td>False</td>\n</tr>\n<tr>\n<td></td>\n<td>Array from packages</td>\n<td>True</td>\n</tr>\n<tr>\n<td>Packages.packageType</td>\n<td>Package type</td>\n<td>True</td>\n</tr>\n<tr>\n<td>Packages.labelCode</td>\n<td>Label to package identifier</td>\n<td>False. It's required if configuration option for automatic generation of package codes is not enabled</td>\n</tr>\n<tr>\n<td>Packages.height</td>\n<td>Package height</td>\n<td>False</td>\n</tr>\n<tr>\n<td>Packages.width</td>\n<td>Package width</td>\n<td>False</td>\n</tr>\n<tr>\n<td>Packages.length</td>\n<td>Package length</td>\n<td>False</td>\n</tr>\n<tr>\n<td>Packages.weight</td>\n<td>Package weight</td>\n<td>False</td>\n</tr>\n<tr>\n<td>Packages.Items</td>\n<td>Items for packages</td>\n<td>True</td>\n</tr>\n<tr>\n<td>Packages.Items.SKU</td>\n<td>SKU of the items to fulfill</td>\n<td>True</td>\n</tr>\n<tr>\n<td>Packages.Items.OriginalQuantity</td>\n<td>Total quantity of items requested for this line.</td>\n<td>True</td>\n</tr>\n<tr>\n<td>Packages.Items.PickingQuantity</td>\n<td>number of items picked</td>\n<td>True</td>\n</tr>\n<tr>\n<td>Packages.Items.Price</td>\n<td>Item price</td>\n<td>False. It is required when the same sku is repeated on several lines for the same fulfillment</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<p><strong>Authorization:</strong> Bearer Token</p>\n<p><strong>Body Example 1</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n   \"RemoteOrderId\": \"644722442742-01\",\n   \"OrderDate\": \"2020-08-24T00:00:00\",\n   \"codTienda\": \"16\",\n   \"StateChangeDate\": \"2020-08-24T17:00:00\",\n   \"State\": \"PickingParcialCompletado\",\n   \"operator\":\"2608033-7\",\n   \"Packages\": [\n       {\n           \"packageType\": \"40*53\",\n           \"labelCode\": \"47\",\n           \"height\":\"45\",\n           \"width\":\"53\",\n           \"length\":\"53\",\n           \"weight\":\"2\",\n           \"Items\": [\n               {\n                   \"SKU\": \"193239485417\",\n                   \"OriginalQuantity\": 1,\n                   \"PickingQuantity\": 1,\n                   \"Price\":19117\n               }\n           ]\n       }\n   ]\n}\n\n</code></pre>\n<p><strong>Body Example 2:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"OrderSourceNumber\": \"1111\",\n    \"RemoteOrderId\": \"111\",\n    \"codTienda\": \"46\",\n    \"OrderDate\": \"2020-07-02T00:00:00\",\n    \"StateChangeDate\": \"2020-07-02T17:00:00\",\n    \"State\": \"PickingCompleto\",\n    \"operator\": \"2608033-7\",\n    \"Packages\": [\n        {\n            \"packageType\": \"40*53\",\n            \"labelCode\": \"644722743F1\",\n            \"height\": \"45\",\n            \"width\": \"53\",\n            \"length\": \"53\",\n            \"weight\": \"2\",\n            \"Items\": [\n                {\n                    \"SKU\": \"7801423730016\",\n                    \"OriginalQuantity\": 3,\n                    \"PickingQuantity\": 3,\n                    \"Price\": 17500\n                }\n            ]\n        }\n    ]\n}\n\n</code></pre>\n<hr />\n<p><strong>Schema (<strong>RemoteOrderId</strong>):</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"RemoteOrderId\" : String, // Required\n    \"OrderDate\": String,         // Required \n    \"StateChangeDate\": String    // Required\n    \"State\": String,             // Required \n    \"codTienda\": String,         // Optional\n    \"operator\": String,\n    \"Packages\": [\n        {\n            \"packageType\": String, //Optional              --&gt; Default value:40*53\n            \"labelCode\": String,  //Optional              --&gt; Auto-Generated\n            \"height\": String, //Optional\n            \"width\": String,  //Optional\n            \"length\": String, //Optional\n            \"weight\": String, //Optional\n            \"Items\": [\n                {\n                    \"SKU\": String,           //Required\n                    \"OriginalQuantity\": Int, //Required\n                    \"PickingQuantity\": Int,  //Required\n                    \"EstadoSKU\": String      //Optional\n                }\n            ],\n        }\n    ]\n}\n\n</code></pre>\n<p><strong>Schema (<strong>OrderSourceNumber</strong>):</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"OrderSourceNumber\" : String, // Required\n    \"OrderDate\": String,         // Required \n    \"StateChangeDate\": String    // Required\n    \"State\": String,             // Required \n    \"codTienda\": String,         // Optional\n    \"operator\": String,\n    \"Packages\": [\n        {\n            \"packageType\": String, //Optional              --&gt; Default value:40*53\n            \"labelCode\": String,  //Optional              --&gt; Auto-Generated\n            \"height\": String, //Optional\n            \"width\": String,  //Optional\n            \"length\": String, //Optional\n            \"weight\": String, //Optional\n            \"Items\": [\n                {\n                    \"SKU\": String,           //Required\n                    \"OriginalQuantity\": Int, //Required\n                    \"PickingQuantity\": Int,  //Required\n                    \"EstadoSKU\": String      //Optional\n                }\n            ],\n        }\n    ]\n}\n\n</code></pre>\n<h4 id=\"possible-reponses\">Possible reponses:</h4>\n<h4 id=\"200--ok-\">200 ( OK )</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"response_code\": \"00\",\n    \"response_message\": \"Order status successfully changed\"\n}\n\n</code></pre>\n<h4 id=\"400-bad-request\">400 (Bad Request)</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"response_code\": \"03\",\n    \"response_message\": \"Package label already exists in merchant packages\"\n}\n\n</code></pre>\n<h4 id=\"404-not-found\">404 (Not Found)</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"response_code\": \"01\",\n    \"response_message\": \"Order not found\"\n}\n\n</code></pre>\n<h4 id=\"500-internal-server-error\">500 (Internal server Error)</h4>\n<hr />\n<h4 id=\"response-codes\">Response codes</h4>\n<ul>\n<li><p>00 = Success</p>\n</li>\n<li><p>01 = Not Found</p>\n</li>\n<li><p>03 = Validation error</p>\n</li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Code</strong></th>\n<th><strong>Message</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>00</td>\n<td>Order status successfully changed</td>\n</tr>\n<tr>\n<td>01</td>\n<td>Package types not found</td>\n</tr>\n<tr>\n<td>01</td>\n<td>Operator not found</td>\n</tr>\n<tr>\n<td>01</td>\n<td>Order/fulfillment cannot be prepared due to pending electronic invoicing DTE</td>\n</tr>\n<tr>\n<td>01</td>\n<td>Order not found</td>\n</tr>\n<tr>\n<td>01</td>\n<td>without items to fulfill</td>\n</tr>\n<tr>\n<td>01</td>\n<td>No preparation preferences found</td>\n</tr>\n<tr>\n<td>03</td>\n<td>Order flow require PickingCompleto state.</td>\n</tr>\n<tr>\n<td>03</td>\n<td>Package label already exists in merchant packages</td>\n</tr>\n<tr>\n<td>03</td>\n<td>Items with error quantity</td>\n</tr>\n<tr>\n<td>03</td>\n<td>Error: Algunos objetos no tienen SKU.</td>\n</tr>\n<tr>\n<td>03</td>\n<td>Validación fallida: Los productos no cumplen con las condiciones.</td>\n</tr>\n<tr>\n<td>03</td>\n<td>Items in multiples logistics.</td>\n</tr>\n<tr>\n<td>03</td>\n<td>The order couldn't be fulfilled by restriction of cancelation (order.fulfillment_status {fulfillment_status}) (order.order_status {order_status})</td>\n</tr>\n<tr>\n<td>03</td>\n<td>If the reported changed status is PickingCompleto, the picking quantity {items_length} should be equal to the original quantity {order_line_items_length}.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"event":[{"listen":"prerequest","script":{"id":"daa379b5-13a4-42d7-803f-7375c7eaabca","type":"text/javascript","packages":{},"exec":[""]}},{"listen":"test","script":{"id":"270a2717-b46f-46a8-8d28-4eaa6fb7ee69","type":"text/javascript","packages":{},"exec":[""]}}],"_postman_id":"f5ab1056-1f68-4c3e-9aff-1670a6c5732b"},{"name":"Orders","item":[{"name":"Get Orders DEV","id":"b55d1613-6873-47b3-942c-4ceeb64a6aac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api-dev.be-flow.com/api/orders?limit=100&date_range[0]=2025-01-01&date_range[1]=2024-01-04","description":"<h3 id=\"date-range-con-time\">Date Range con time</h3>\n<ul>\n<li>Ahora podrán enviar <strong>opcionalmente</strong> los parámetros date_range[0] y date_range[1] con formato <strong>YYYY-MM-DDTHHss.SSS</strong>, esto para asegurar que en el informe no se agreguen pedidos nuevos luego de iniciada la primera paginación.</li>\n</ul>\n<p>Ejemplo:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n        \"date_range[0]\": \"2025-01-01T00:00:00.000\",  \n        \"date_range[1]\": \"2025-02-03T11:52:59.999\", \n        \"limit\": 100,\n        \"page\": page\n}\nCopy Wrap  \n\n</code></pre><h3 id=\"search_after-y-search_before\">search_after y search_before</h3>\n<ul>\n<li>Opcionalmente se podrá enviar el parámetro search_after. Este servirá para optimizar la request a nivel de base de datos, mejorando la velocidad de esta.</li>\n</ul>\n<p>Para utilizar el campo se tendrá que enviar la primera request sin el campo search_after ni search_before, esta en su respuesta devolverá los campos <strong>prevPageToken</strong> y <strong>nextPageToken</strong>. Desde la segunda request ya podrán enviar el parámetro con su respectivo token.</p>\n<p>Ejemplo de campos prevPageToken y nextPageToken en la respuesta</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"prevPageToken\": \"CIaKARoGEICAgIAIGho6GDIwMjUtMDEtMDlUMTQ6MDM6NTguMDAwWhoOWgxngAKYXCEDmqRgv+0iDloMZ4ACmFwhA5qkYL/t\",\n\"nextPageToken\": \"CIuKARoGEICAgIAIGho6GDIwMjUtMDEtMTBUMDE6Mzc6NDAuMDAwWhoOWgxngKRQWAr+T/uXlZQiDloMZ4CkUFgK/k/7l5WU\",\nCopy Wrap  \n\n</code></pre><p>Ejemplo de uso de nextPageToken</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n        \"date_range[0]\": initDate,  \n        \"date_range[1]\": endDate, \n        \"limit\": 100,\n        \"page\": page,\n        \"search_after\": \"CIuKARoGEICAgIAIGho6GDIwMjUtMDEtMTBUMDE6Mzc6NDAuMDAwWhoOWgxngKRQWAr+T/uXlZQiDloMZ4CkUFgK/k/7l5WU\"\n    }\n\n</code></pre>","urlObject":{"protocol":"https","path":["api","orders"],"host":["api-dev","be-flow","com"],"query":[{"key":"limit","value":"100"},{"key":"date_range[0]","value":"2025-01-01"},{"key":"date_range[1]","value":"2024-01-04"},{"disabled":true,"key":"locations[0]","value":"46"},{"disabled":true,"key":"location_name","value":"Almacen"}],"variable":[]}},"response":[],"_postman_id":"b55d1613-6873-47b3-942c-4ceeb64a6aac"},{"name":"Get Orders DEMO","id":"823e9855-d829-4c14-8056-a2ad509cd64c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api-demo.be-flow.com/api/orders?limit=50&date_range[0]=2025-07-19&date_range[1]=2025-08-19","description":"<h1 id=\"📖-parámetros-de-paginación-y-filtros\">📖 Parámetros de Paginación y Filtros</h1>\n<h2 id=\"date-range-con-time\">Date Range con Time</h2>\n<ul>\n<li><p>Se pueden enviar <strong>opcionalmente</strong> los parámetros:</p>\n<ul>\n<li><p><code>date_range[0]</code>: fecha/hora inicial del rango.</p>\n</li>\n<li><p><code>date_range[1]</code>: fecha/hora final del rango.</p>\n</li>\n</ul>\n</li>\n<li><p>El formato aceptado es <strong><code>YYYY-MM-DDTHH:mm:ss.SSS</code></strong> (ISO 8601).</p>\n</li>\n<li><p>Este filtro asegura que en el informe no se agreguen pedidos nuevos después de iniciada la primera paginación.</p>\n</li>\n</ul>\n<h3 id=\"ejemplo-de-request\">Ejemplo de request</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"date_range[0]\": \"2025-01-01T00:00:00.000\",\n  \"date_range[1]\": \"2025-02-03T11:52:59.999\",\n  \"limit\": 100,\n  \"page\": 1\n}\n\n</code></pre>\n<hr />\n<h2 id=\"paginación-con-search_after-y-search_before\">Paginación con <code>search_after</code> y <code>search_before</code></h2>\n<ul>\n<li><p>Estos parámetros son <strong>opcionales</strong> y sirven para optimizar la consulta a nivel de base de datos, mejorando la velocidad.</p>\n</li>\n<li><p>La primera request debe enviarse <strong>sin</strong> <code>search_after</code> ni <code>search_before</code>.</p>\n</li>\n<li><p>La respuesta devolverá los campos:</p>\n<ul>\n<li><p><code>prevPageToken</code> → para retroceder.</p>\n</li>\n<li><p><code>nextPageToken</code> → para avanzar.</p>\n</li>\n</ul>\n</li>\n<li><p>Desde la segunda request puedes utilizar estos tokens para continuar la paginación.</p>\n</li>\n</ul>\n<h3 id=\"ejemplo-de-respuesta-con-tokens\">Ejemplo de respuesta con tokens</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"prevPageToken\": \"CIaKARoGEICAgIAIGho6GDIwMjUtMDEtMDlUMTQ6MDM6NTguMDAwWhoOWgxngAKYXCEDmqRgv+0iDloMZ4ACmFwhA5qkYL/t\",\n  \"nextPageToken\": \"CIuKARoGEICAgIAIGho6GDIwMjUtMDEtMTBUMDE6Mzc6NDAuMDAwWhoOWgxngKRQWAr+T/uXlZQiDloMZ4CkUFgK/k/7l5WU\"\n\n</code></pre>\n<h3 id=\"ejemplo-de-request-con-nextpagetoken\">Ejemplo de request con <code>nextPageToken</code></h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"date_range[0]\": \"2025-01-01T00:00:00.000\",\n  \"date_range[1]\": \"2025-02-03T11:52:59.999\",\n  \"limit\": 100,\n  \"p\": 2,\n  \"search_after\": \"CIuKARoGEICAgIAIGho6GDIwMjUtMDEtMTBUMDE6Mzc6NDAuMDAwWhoOWgxngKRQWAr+T/uXlZQiDloMZ4CkUFgK/k/7l5WU\"\n}\n\n</code></pre>\n<hr />\n<h2 id=\"recomendaciones-de-uso\">Recomendaciones de uso</h2>\n<ol>\n<li><p><strong>Primera consulta:</strong> usa solo <code>date_range</code>, <code>limit</code> y <code>page</code>.</p>\n</li>\n<li><p><strong>Siguientes consultas:</strong> reutiliza <code>search_after</code> o <code>search_before</code> desde la respuesta anterior.</p>\n</li>\n<li><p><strong>Consistencia de datos:</strong> mantén siempre el mismo <code>date_range</code> en todas las páginas para evitar cambios en los resultados durante la paginación.</p>\n</li>\n</ol>\n<h1 id=\"📖-diccionario-de-datos---orden\">📖 Diccionario de Datos - Orden</h1>\n<h2 id=\"estructura-del-json-de-respuesta-de-órdenes\">Estructura del JSON de respuesta de órdenes.</h2>\n<h2 id=\"nivel-raíz\">Nivel Raíz</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Campo</th>\n<th>Tipo</th>\n<th>Descripción</th>\n<th>Ejemplo</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>_id</code></td>\n<td>string</td>\n<td>Identificador único de la orden en la base de datos.</td>\n<td><code>\"6776a397220046e622f27881\"</code></td>\n</tr>\n<tr>\n<td><code>document_count</code></td>\n<td>number</td>\n<td>Cantidad de documentos asociados a la orden.</td>\n<td><code>0</code></td>\n</tr>\n<tr>\n<td><code>merchant_id</code></td>\n<td>string</td>\n<td>Identificador del comercio que emitió la orden.</td>\n<td><code>\"640a5207ebca80a2b69553a2\"</code></td>\n</tr>\n<tr>\n<td><code>remote_order_id</code></td>\n<td>string</td>\n<td>ID de la orden en el sistema externo (ej: Salesforce).</td>\n<td><code>\"HT739421\"</code></td>\n</tr>\n<tr>\n<td><code>location_id</code></td>\n<td>string</td>\n<td>Tienda principal asignada a la orden.</td>\n<td><code>\"66abac85e96488f54c1a64d3\"</code></td>\n</tr>\n<tr>\n<td><code>fulfillment_locations</code></td>\n<td>array</td>\n<td>Lista de ubicaciones de despacho/fulfillment.</td>\n<td><code>[\"66abac85...\", \"64f8caa8...\"]</code></td>\n</tr>\n<tr>\n<td><code>name</code></td>\n<td>string</td>\n<td>Nombre de la orden.</td>\n<td><code>\"HT739421\"</code></td>\n</tr>\n<tr>\n<td><code>sales_channel</code></td>\n<td>object</td>\n<td>Información del canal de ventas. Incluye alias, plataforma, configuración de integración.</td>\n<td><code>{ alias: \"Salesforce - superzoo.cl\", ... }</code></td>\n</tr>\n<tr>\n<td><code>line_items</code></td>\n<td>array</td>\n<td>Productos en la orden (detalle de ítems).</td>\n<td>Ver tabla Line Items</td>\n</tr>\n<tr>\n<td><code>fulfillments</code></td>\n<td>array</td>\n<td>Fulfillments generados para esta orden.</td>\n<td>Ver tabla Fulfillments</td>\n</tr>\n<tr>\n<td><code>currency</code></td>\n<td>string</td>\n<td>Moneda de la orden.</td>\n<td><code>\"CLP\"</code></td>\n</tr>\n<tr>\n<td><code>total_price</code></td>\n<td>number</td>\n<td>Precio total de la orden.</td>\n<td><code>157576</code></td>\n</tr>\n<tr>\n<td><code>total_tax</code></td>\n<td>number</td>\n<td>Monto de impuestos aplicados.</td>\n<td><code>25160</code></td>\n</tr>\n<tr>\n<td><code>payment_status</code></td>\n<td>string</td>\n<td>Estado del pago.</td>\n<td><code>\"paid\"</code></td>\n</tr>\n<tr>\n<td><code>fulfillment_status</code></td>\n<td>string</td>\n<td>Estado del despacho.</td>\n<td><code>\"in_progress\"</code></td>\n</tr>\n<tr>\n<td><code>order_status</code></td>\n<td>string</td>\n<td>Estado de la orden.</td>\n<td><code>\"open\"</code></td>\n</tr>\n<tr>\n<td><code>shipping_address</code></td>\n<td>object</td>\n<td>Dirección de despacho del cliente.</td>\n<td>Ver tabla Shipping Address</td>\n</tr>\n<tr>\n<td><code>billing_address</code></td>\n<td>object</td>\n<td>Dirección de facturación del cliente.</td>\n<td>Ver tabla Billing Address</td>\n</tr>\n<tr>\n<td><code>customer</code></td>\n<td>object</td>\n<td>Datos del cliente.</td>\n<td><code>{ first_name: \"Rosa\", email: \"rosy-16@hotmail.cl\" }</code></td>\n</tr>\n<tr>\n<td><code>payments</code></td>\n<td>array</td>\n<td>Métodos de pago utilizados.</td>\n<td><code>[ { tender_type: \"CHECKOUT_PRO\", taken: 157576 } ]</code></td>\n</tr>\n<tr>\n<td><code>status_history</code></td>\n<td>array</td>\n<td>Historial de estados de la orden.</td>\n<td><code>[ { status: \"in_progress\", updatedAt: \"2025-01-02T14:33:07.000Z\" } ]</code></td>\n</tr>\n<tr>\n<td><code>documents</code></td>\n<td>array</td>\n<td>Documentos asociados (ej: boletas/facturas).</td>\n<td><code>[ { type: \"DTICKET\", url: \"...\" } ]</code></td>\n</tr>\n<tr>\n<td><code>createdAt</code></td>\n<td>date</td>\n<td>Fecha de creación de la orden en el sistema.</td>\n<td><code>\"2025-01-02T14:32:56.009Z\"</code></td>\n</tr>\n<tr>\n<td><code>updatedAt</code></td>\n<td>date</td>\n<td>Última fecha de actualización.</td>\n<td><code>\"2025-01-08T18:03:48.242Z\"</code></td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h2 id=\"line-items\">Line Items</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Campo</th>\n<th>Tipo</th>\n<th>Descripción</th>\n<th>Ejemplo</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>_id</code></td>\n<td>string</td>\n<td>Identificador del ítem.</td>\n<td><code>\"6776a397220046e622f2788d\"</code></td>\n</tr>\n<tr>\n<td><code>name</code></td>\n<td>string</td>\n<td>Nombre del producto.</td>\n<td><code>\"Bravery Light Iberian Pork Adult Large Medium\"</code></td>\n</tr>\n<tr>\n<td><code>sku</code></td>\n<td>string</td>\n<td>SKU del producto.</td>\n<td><code>\"5806\"</code></td>\n</tr>\n<tr>\n<td><code>quantity</code></td>\n<td>number</td>\n<td>Cantidad comprada.</td>\n<td><code>1</code></td>\n</tr>\n<tr>\n<td><code>unit_price</code></td>\n<td>number</td>\n<td>Precio unitario.</td>\n<td><code>53592</code></td>\n</tr>\n<tr>\n<td><code>total_price</code></td>\n<td>number</td>\n<td>Precio total.</td>\n<td><code>53592</code></td>\n</tr>\n<tr>\n<td><code>unit_discount</code></td>\n<td>number</td>\n<td>Descuento aplicado por unidad.</td>\n<td><code>13398</code></td>\n</tr>\n<tr>\n<td><code>status</code></td>\n<td>string</td>\n<td>Estado del ítem.</td>\n<td><code>\"success\"</code></td>\n</tr>\n<tr>\n<td><code>user_fields</code></td>\n<td>array</td>\n<td>Campos adicionales definidos por el usuario.</td>\n<td><code>[ { key: \"c_cd_ubicacion\", value: \"1-34-1\" } ]</code></td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h2 id=\"fulfillments\">Fulfillments</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Campo</th>\n<th>Tipo</th>\n<th>Descripción</th>\n<th>Ejemplo</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>_id</code></td>\n<td>string</td>\n<td>Identificador del fulfillment.</td>\n<td><code>\"6776a3a277cbcd14fe7fdd8b\"</code></td>\n</tr>\n<tr>\n<td><code>name</code></td>\n<td>string</td>\n<td>Nombre del fulfillment.</td>\n<td><code>\"HT739421-F0\"</code></td>\n</tr>\n<tr>\n<td><code>status</code></td>\n<td>string</td>\n<td>Estado actual del fulfillment.</td>\n<td><code>\"in_progress\"</code></td>\n</tr>\n<tr>\n<td><code>courier</code></td>\n<td>string</td>\n<td>ID del courier asignado.</td>\n<td><code>\"64f8de523c61220e0b7b357e\"</code></td>\n</tr>\n<tr>\n<td><code>shipping_address</code></td>\n<td>object</td>\n<td>Dirección de entrega.</td>\n<td>Ver tabla Shipping Address</td>\n</tr>\n<tr>\n<td><code>customer</code></td>\n<td>object</td>\n<td>Datos del cliente para este despacho.</td>\n<td><code>{ first_name: \"Rosa\", phone: \"984792216\" }</code></td>\n</tr>\n<tr>\n<td><code>total_price</code></td>\n<td>number</td>\n<td>Total del fulfillment.</td>\n<td><code>103184</code></td>\n</tr>\n<tr>\n<td><code>delivery_pin</code></td>\n<td>string</td>\n<td>PIN de entrega.</td>\n<td><code>\"22399\"</code></td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h2 id=\"shippingbilling-address\">Shipping/Billing Address</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Campo</th>\n<th>Tipo</th>\n<th>Descripción</th>\n<th>Ejemplo</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>address1</code></td>\n<td>string</td>\n<td>Dirección principal.</td>\n<td><code>\"maria elena 1267 block 9 dpto c-11\"</code></td>\n</tr>\n<tr>\n<td><code>address2</code></td>\n<td>string</td>\n<td>Dirección secundaria.</td>\n<td><code>\"\"</code></td>\n</tr>\n<tr>\n<td><code>city</code></td>\n<td>string</td>\n<td>Ciudad.</td>\n<td><code>\"La Florida\"</code></td>\n</tr>\n<tr>\n<td><code>province</code></td>\n<td>string</td>\n<td>Provincia o región.</td>\n<td><code>\"Metropolitana\"</code></td>\n</tr>\n<tr>\n<td><code>province_code</code></td>\n<td>string</td>\n<td>Código de provincia.</td>\n<td><code>\"11\"</code></td>\n</tr>\n<tr>\n<td><code>country_code</code></td>\n<td>string</td>\n<td>Código de país.</td>\n<td><code>\"CL\"</code></td>\n</tr>\n<tr>\n<td><code>first_name</code></td>\n<td>string</td>\n<td>Nombre del cliente.</td>\n<td><code>\"Rosa\"</code></td>\n</tr>\n<tr>\n<td><code>last_name</code></td>\n<td>string</td>\n<td>Apellido del cliente.</td>\n<td><code>\"Sanchez\"</code></td>\n</tr>\n<tr>\n<td><code>phone</code></td>\n<td>string</td>\n<td>Teléfono de contacto.</td>\n<td><code>\"984792216\"</code></td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h2 id=\"customer\">Customer</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Campo</th>\n<th>Tipo</th>\n<th>Descripción</th>\n<th>Ejemplo</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>customer_remote_id</code></td>\n<td>string</td>\n<td>Identificador externo del cliente.</td>\n<td><code>\"00010874\"</code></td>\n</tr>\n<tr>\n<td><code>document_type</code></td>\n<td>string</td>\n<td>Tipo de documento.</td>\n<td><code>\"rutCHL\"</code></td>\n</tr>\n<tr>\n<td><code>document</code></td>\n<td>string</td>\n<td>Número de documento.</td>\n<td><code>\"666666666\"</code></td>\n</tr>\n<tr>\n<td><code>email</code></td>\n<td>string</td>\n<td>Correo del cliente.</td>\n<td><code>\"rosy-16@hotmail.cl\"</code></td>\n</tr>\n<tr>\n<td><code>first_name</code></td>\n<td>string</td>\n<td>Nombre.</td>\n<td><code>\"Rosa\"</code></td>\n</tr>\n<tr>\n<td><code>last_name</code></td>\n<td>string</td>\n<td>Apellido.</td>\n<td><code>\"Sanchez\"</code></td>\n</tr>\n<tr>\n<td><code>phone</code></td>\n<td>string</td>\n<td>Teléfono.</td>\n<td><code>\"984792216\"</code></td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h2 id=\"payments\">Payments</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Campo</th>\n<th>Tipo</th>\n<th>Descripción</th>\n<th>Ejemplo</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>tender_type</code></td>\n<td>string</td>\n<td>Tipo de pago.</td>\n<td><code>\"CHECKOUT_PRO\"</code></td>\n</tr>\n<tr>\n<td><code>taken</code></td>\n<td>number</td>\n<td>Monto pagado.</td>\n<td><code>157576</code></td>\n</tr>\n<tr>\n<td><code>tender_name</code></td>\n<td>string</td>\n<td>Nombre del método de pago.</td>\n<td><code>\"CHECKOUT_PRO\"</code></td>\n</tr>\n<tr>\n<td><code>card_no</code></td>\n<td>number</td>\n<td>Últimos dígitos de tarjeta.</td>\n<td><code>1111</code></td>\n</tr>\n<tr>\n<td><code>cardtypename</code></td>\n<td>string</td>\n<td>Tipo de tarjeta.</td>\n<td><code>\"CHECKOUT_PRO\"</code></td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h2 id=\"status-history\">Status History</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Campo</th>\n<th>Tipo</th>\n<th>Descripción</th>\n<th>Ejemplo</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>status_type</code></td>\n<td>string</td>\n<td>Tipo de estado registrado.</td>\n<td><code>\"fulfillment_status\"</code></td>\n</tr>\n<tr>\n<td><code>status</code></td>\n<td>string</td>\n<td>Valor del estado.</td>\n<td><code>\"in_progress\"</code></td>\n</tr>\n<tr>\n<td><code>updatedAt</code></td>\n<td>date</td>\n<td>Fecha del cambio de estado.</td>\n<td><code>\"2025-01-02T14:33:07.000Z\"</code></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","orders"],"host":["api-demo","be-flow","com"],"query":[{"key":"limit","value":"50"},{"key":"date_range[0]","value":"2025-07-19"},{"key":"date_range[1]","value":"2025-08-19"}],"variable":[]}},"response":[],"_postman_id":"823e9855-d829-4c14-8056-a2ad509cd64c"},{"name":"Get OrdersV2 DEMO","id":"32f2ce33-52fc-44d6-ba0d-6dc0b55fe727","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api-demo.be-flow.com/api/orders/v2?limit=1&date_range[0]=2025-07-19&date_range[1]=2025-08-19","description":"<h1 id=\"📖-parámetros-de-paginación-y-filtros\">📖 Parámetros de Paginación y Filtros</h1>\n<h2 id=\"date-range-con-time\">Date Range con Time</h2>\n<ul>\n<li><p>Se pueden enviar <strong>opcionalmente</strong> los parámetros:</p>\n<ul>\n<li><p><code>date_range[0]</code>: fecha/hora inicial del rango.</p>\n</li>\n<li><p><code>date_range[1]</code>: fecha/hora final del rango.</p>\n</li>\n</ul>\n</li>\n<li><p>El formato aceptado es <strong><code>YYYY-MM-DDTHH:mm:ss.SSS</code></strong> (ISO 8601).</p>\n</li>\n<li><p>Este filtro asegura que en el informe no se agreguen pedidos nuevos después de iniciada la primera paginación.</p>\n</li>\n</ul>\n<h3 id=\"ejemplo-de-request\">Ejemplo de request</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"date_range[0]\": \"2025-01-01T00:00:00.000\",\n  \"date_range[1]\": \"2025-02-03T11:52:59.999\",\n  \"limit\": 100,\n  \"page\": 1\n}\n\n</code></pre>\n<hr />\n<h2 id=\"paginación-con-search_after-y-search_before\">Paginación con <code>search_after</code> y <code>search_before</code></h2>\n<ul>\n<li><p>Estos parámetros son <strong>opcionales</strong> y sirven para optimizar la consulta a nivel de base de datos, mejorando la velocidad.</p>\n</li>\n<li><p>La primera request debe enviarse <strong>sin</strong> <code>search_after</code> ni <code>search_before</code>.</p>\n</li>\n<li><p>La respuesta devolverá los campos:</p>\n<ul>\n<li><p><code>prevPageToken</code> → para retroceder.</p>\n</li>\n<li><p><code>nextPageToken</code> → para avanzar.</p>\n</li>\n</ul>\n</li>\n<li><p>Desde la segunda request puedes utilizar estos tokens para continuar la paginación.</p>\n</li>\n</ul>\n<h3 id=\"ejemplo-de-respuesta-con-tokens\">Ejemplo de respuesta con tokens</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"prevPageToken\": \"CIaKARoGEICAgIAIGho6GDIwMjUtMDEtMDlUMTQ6MDM6NTguMDAwWhoOWgxngAKYXCEDmqRgv+0iDloMZ4ACmFwhA5qkYL/t\",\n  \"nextPageToken\": \"CIuKARoGEICAgIAIGho6GDIwMjUtMDEtMTBUMDE6Mzc6NDAuMDAwWhoOWgxngKRQWAr+T/uXlZQiDloMZ4CkUFgK/k/7l5WU\"\n\n</code></pre>\n<h3 id=\"ejemplo-de-request-con-nextpagetoken\">Ejemplo de request con <code>nextPageToken</code></h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"date_range[0]\": \"2025-01-01T00:00:00.000\",\n  \"date_range[1]\": \"2025-02-03T11:52:59.999\",\n  \"limit\": 100,\n  \"p\": 2,\n  \"search_after\": \"CIuKARoGEICAgIAIGho6GDIwMjUtMDEtMTBUMDE6Mzc6NDAuMDAwWhoOWgxngKRQWAr+T/uXlZQiDloMZ4CkUFgK/k/7l5WU\"\n}\n\n</code></pre>\n<hr />\n<h2 id=\"recomendaciones-de-uso\">Recomendaciones de uso</h2>\n<ol>\n<li><p><strong>Primera consulta:</strong> usa solo <code>date_range</code>, <code>limit</code> y <code>page</code>.</p>\n</li>\n<li><p><strong>Siguientes consultas:</strong> reutiliza <code>search_after</code> o <code>search_before</code> desde la respuesta anterior.</p>\n</li>\n<li><p><strong>Consistencia de datos:</strong> mantén siempre el mismo <code>date_range</code> en todas las páginas para evitar cambios en los resultados durante la paginación.</p>\n</li>\n</ol>\n<h1 id=\"📌-get-order-response---diccionario-de-datos\">📌 Get Order Response - Diccionario de Datos</h1>\n<p>Este documento describe la estructura de respuesta del endpoint <strong>GetOrderResponseV2</strong>, con sus campos, descripciones y tipos de datos.</p>\n<h2 id=\"📂-estructura-general\">📂 Estructura General</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"_id\": \"string\",\n  \"merchant_id\": \"string\",\n  \"remote_order_id\": \"string\",\n  \"location_id\": \"string\",\n  \"name\": \"string\",\n  \"sales_channel\": { ... },\n  \"line_items\":,\n  \"shipping_items\": [ ... ],\n  \"fulfillments\": [ ... ],\n  \"currency\": \"string\",\n  \"total_price\": \"number\",\n  \"total_discount\": \"number\",\n  \"total_shipping\": \"number\",\n  \"total_tax\": \"number\",\n  \"order_status\": \"string\",\n  \"sac_status\": \"string\",\n  \"fulfillment_method\": \"string\",\n  \"billing_address\": { ... },\n  \"customer\": { ... },\n  \"payments\": [ ... ],\n  \"createdAt\": \"date\",\n  \"updatedAt\": \"date\",\n  \"documents\": [ ... ]\n}\n\n</code></pre>\n<hr />\n<h2 id=\"📖-diccionario-de-datos\">📖 Diccionario de Datos</h2>\n<h3 id=\"🔹-nivel-raíz\">🔹 Nivel Raíz</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Campo</th>\n<th>Tipo</th>\n<th>Descripción</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>_id</code></td>\n<td>string</td>\n<td>ID único de la orden</td>\n</tr>\n<tr>\n<td><code>merchant_id</code></td>\n<td>string</td>\n<td>Identificador del comercio</td>\n</tr>\n<tr>\n<td><code>remote_order_id</code></td>\n<td>string</td>\n<td>ID de la orden en el sistema remoto</td>\n</tr>\n<tr>\n<td><code>location_id</code></td>\n<td>string</td>\n<td>Identificador de la ubicación</td>\n</tr>\n<tr>\n<td><code>name</code></td>\n<td>string</td>\n<td>Nombre o alias de la orden</td>\n</tr>\n<tr>\n<td><code>sales_channel</code></td>\n<td>object</td>\n<td>Canal de ventas asociado</td>\n</tr>\n<tr>\n<td><code>line_items</code></td>\n<td>array</td>\n<td>Lista de productos de la orden</td>\n</tr>\n<tr>\n<td><code>shipping_items</code></td>\n<td>array</td>\n<td>Lista de ítems de envío</td>\n</tr>\n<tr>\n<td><code>fulfillments</code></td>\n<td>array</td>\n<td>Lista de cumplimientos (entregas)</td>\n</tr>\n<tr>\n<td><code>currency</code></td>\n<td>string</td>\n<td>Moneda usada (ej: CLP)</td>\n</tr>\n<tr>\n<td><code>total_price</code></td>\n<td>number</td>\n<td>Precio total de la orden</td>\n</tr>\n<tr>\n<td><code>total_discount</code></td>\n<td>number</td>\n<td>Descuento aplicado</td>\n</tr>\n<tr>\n<td><code>total_shipping</code></td>\n<td>number</td>\n<td>Costo de envío</td>\n</tr>\n<tr>\n<td><code>total_tax</code></td>\n<td>number</td>\n<td>Impuestos aplicados</td>\n</tr>\n<tr>\n<td><code>order_status</code></td>\n<td>string</td>\n<td>Estado de la orden</td>\n</tr>\n<tr>\n<td><code>sac_status</code></td>\n<td>string</td>\n<td>Estado en SAC</td>\n</tr>\n<tr>\n<td><code>fulfillment_method</code></td>\n<td>string</td>\n<td>Método de cumplimiento</td>\n</tr>\n<tr>\n<td><code>billing_address</code></td>\n<td>object</td>\n<td>Dirección de facturación</td>\n</tr>\n<tr>\n<td><code>customer</code></td>\n<td>object</td>\n<td>Datos del cliente</td>\n</tr>\n<tr>\n<td><code>payments</code></td>\n<td>array</td>\n<td>Métodos de pago asociados</td>\n</tr>\n<tr>\n<td><code>createdAt</code></td>\n<td>date</td>\n<td>Fecha de creación</td>\n</tr>\n<tr>\n<td><code>updatedAt</code></td>\n<td>date</td>\n<td>Última actualización</td>\n</tr>\n<tr>\n<td><code>documents</code></td>\n<td>array</td>\n<td>Documentos asociados (ej: facturas)</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h4 id=\"🔹-estados-de-la-orden-order_status\">🔹 Estados de la Orden (order_status)</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Estado</strong></th>\n<th><strong>Descripción</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>open</td>\n<td>Al crearse la orden</td>\n</tr>\n<tr>\n<td>archived</td>\n<td>Al entregar al courier</td>\n</tr>\n<tr>\n<td>closed</td>\n<td>Orden cerrada</td>\n</tr>\n<tr>\n<td>cancelled</td>\n<td>Al cancelarse la orden</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"🔹-estados-sac-de-la-orden-sac_status\">🔹 Estados SAC de la Orden (sac_status)</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Estado</strong></th>\n<th><strong>Descripción</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>finished_with_incidence</td>\n<td>Finalizado con incidencia</td>\n</tr>\n<tr>\n<td>client_contacted</td>\n<td>Cliente contactado</td>\n</tr>\n<tr>\n<td>in_normal_process</td>\n<td>Pedido en curso sin problemas</td>\n</tr>\n<tr>\n<td>finished_normal</td>\n<td>Pedido finalizado correctamente</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"🔹-sales_channel-object\">🔹 sales_channel (object)</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Campo</th>\n<th>Tipo</th>\n<th>Descripción</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>_id</code></td>\n<td>string</td>\n<td>ID del canal</td>\n</tr>\n<tr>\n<td><code>alias</code></td>\n<td>string</td>\n<td>Nombre o alias del canal</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"🔹-line_items-array\">🔹 line_items (array)</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Campo</th>\n<th>Tipo</th>\n<th>Descripción</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>_id</code></td>\n<td>string</td>\n<td>ID del ítem</td>\n</tr>\n<tr>\n<td><code>name</code></td>\n<td>string</td>\n<td>Nombre del producto</td>\n</tr>\n<tr>\n<td><code>total_price</code></td>\n<td>number</td>\n<td>Precio total</td>\n</tr>\n<tr>\n<td><code>sku</code></td>\n<td>string</td>\n<td>SKU del producto</td>\n</tr>\n<tr>\n<td><code>quantity</code></td>\n<td>number</td>\n<td>Cantidad pedida</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"🔹-fulfillments-array\">🔹 fulfillments (array)</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Campo</th>\n<th>Tipo</th>\n<th>Descripción</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>_id</code></td>\n<td>string</td>\n<td>ID del fulfillment</td>\n</tr>\n<tr>\n<td><code>name</code></td>\n<td>string</td>\n<td>Nombre de la entrega</td>\n</tr>\n<tr>\n<td><code>remote_order_id</code></td>\n<td>string</td>\n<td>ID de la orden</td>\n</tr>\n<tr>\n<td><code>status</code></td>\n<td>string</td>\n<td>Estado de la entrega</td>\n</tr>\n<tr>\n<td><code>courier</code></td>\n<td>string</td>\n<td>ID del courier asignado</td>\n</tr>\n<tr>\n<td><code>origin</code></td>\n<td>object</td>\n<td>Origen del fulfillment</td>\n</tr>\n<tr>\n<td><code>destination</code></td>\n<td>object</td>\n<td>Dirección destino</td>\n</tr>\n<tr>\n<td><code>shipping_address</code></td>\n<td>object</td>\n<td>Dirección de envío</td>\n</tr>\n<tr>\n<td><code>shipping_service</code></td>\n<td>string</td>\n<td>Servicio de envío</td>\n</tr>\n<tr>\n<td><code>delivery_method</code></td>\n<td>string</td>\n<td>Método de entrega</td>\n</tr>\n<tr>\n<td><code>promised_date</code></td>\n<td>date</td>\n<td>Fecha prometida de entrega</td>\n</tr>\n<tr>\n<td><code>packages</code></td>\n<td>array</td>\n<td>IDs de los paquetes</td>\n</tr>\n<tr>\n<td><code>createdAt</code></td>\n<td>date</td>\n<td>Fecha de creación</td>\n</tr>\n<tr>\n<td><code>updatedAt</code></td>\n<td>date</td>\n<td>Última actualización</td>\n</tr>\n<tr>\n<td><code>delivery_pin</code></td>\n<td>string</td>\n<td>Código de validación de entrega</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h4 id=\"🔹estados-del-fulfillments--status-\">🔹Estados del Fulfillments ( status )</h4>\n<h5 id=\"fulfillment-con-retiro\">Fulfillment con retiro</h5>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Estado ( status )</strong></th>\n<th><strong>Descripción</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>pending</td>\n<td>Al ingestar el pedido y generar los fulfillments automaticamente</td>\n</tr>\n<tr>\n<td>success</td>\n<td>Al preparar el fulfillment con retiro</td>\n</tr>\n<tr>\n<td>delivered</td>\n<td>Al entregar el fulfillment</td>\n</tr>\n</tbody>\n</table>\n</div><h5 id=\"fulfillment-con-despacho\">Fulfillment con despacho</h5>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Estado ( status</strong></th>\n<th><strong>Descripción</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>pending</td>\n<td>Al ingestar el pedido y generar los fulfillments automaticamente</td>\n</tr>\n<tr>\n<td>ready_for_deliver</td>\n<td>Al completar la preparacion del fulfillment</td>\n</tr>\n<tr>\n<td>success</td>\n<td>Al enviar el fulfillment a entregas</td>\n</tr>\n<tr>\n<td>delivered_to_courier</td>\n<td>Al procesar la entrega al courier</td>\n</tr>\n<tr>\n<td>delivered</td>\n<td>Al cambiar el estado del fulfillment a entregado ( manualmente o automaticamente )</td>\n</tr>\n</tbody>\n</table>\n</div><h5 id=\"despacho-con-stock-de-otra-tienda--consolidación-\">Despacho con stock de otra tienda ( consolidación )</h5>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Estado (status)</strong></th>\n<th><strong>Estado consolidación (consolidation.status)</strong></th>\n<th><strong>Descripción</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>in_progress</td>\n<td>created</td>\n<td>Al ingestarse el pedido y generar los fulfillments automáticamente</td>\n</tr>\n<tr>\n<td>ready_for_deliver</td>\n<td>ready_for_deliver_to_cd_location</td>\n<td>Al completar la preparación del fulfillment</td>\n</tr>\n<tr>\n<td>success</td>\n<td>ready_for_deliver_to_cd_location</td>\n<td>Al enviar el fulfillment a entrega</td>\n</tr>\n<tr>\n<td>delivered_to_courier</td>\n<td>delivered_to_cd_location</td>\n<td>Al procesar entrega del fulfillment por primera vez</td>\n</tr>\n<tr>\n<td>success</td>\n<td>received_in_cd_location</td>\n<td>Al recibir fulfillment en módulo de pendientes de recepción</td>\n</tr>\n<tr>\n<td>success</td>\n<td>success</td>\n<td>Al procesar los fulfillment en módulo de crossdocking</td>\n</tr>\n<tr>\n<td>delivered_to_courier</td>\n<td>delivered_to_courier</td>\n<td>Al procesar entrega de los fulfillments después de crossdocking</td>\n</tr>\n<tr>\n<td>delivered</td>\n<td>delivered</td>\n<td>Al cambiar estado del fulfillment a entregado (manual o automáticamente)</td>\n</tr>\n</tbody>\n</table>\n</div><h5 id=\"preparación-en-cd-con-transferencia-a-tienda-de-retiro\">Preparación en CD con transferencia a tienda de retiro</h5>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Estado (status)</strong></th>\n<th><strong>Estado de preparacion en cd con transferencia a tienda de retiro (</strong> preparationcd_transfer_pickupstore.status )</th>\n<th><strong>Descripción</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>pending</td>\n<td>created</td>\n<td>Al ingestarse el pedido y generar los fulfillments automáticamente</td>\n</tr>\n<tr>\n<td>ready_for_deliver</td>\n<td>ready_for_deliver_to_pickup_location</td>\n<td>Al completar la preparación del fulfillment</td>\n</tr>\n<tr>\n<td>success</td>\n<td>ready_for_deliver_to_pickup_location</td>\n<td>Al enviar el fulfillment a entregas</td>\n</tr>\n<tr>\n<td>delivered_to_courier</td>\n<td>delivered_to_pickup_location</td>\n<td>Al procesar entrega del fulfillment por primera vez</td>\n</tr>\n<tr>\n<td>success</td>\n<td>received_in_pickup_location</td>\n<td>Al recibir fulfillment en módulo de pendientes de recepción</td>\n</tr>\n<tr>\n<td>delivered</td>\n<td>delivered</td>\n<td>Al cambiar estado del fulfillment a entregado (manual o automáticamente)</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"🔹-billing_address--shipping_address--destination-object\">🔹 billing_address / shipping_address / destination (object)</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Campo</th>\n<th>Tipo</th>\n<th>Descripción</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>address1</code></td>\n<td>string</td>\n<td>Dirección principal</td>\n</tr>\n<tr>\n<td><code>address2</code></td>\n<td>string</td>\n<td>Dirección secundaria</td>\n</tr>\n<tr>\n<td><code>city</code></td>\n<td>string</td>\n<td>Ciudad</td>\n</tr>\n<tr>\n<td><code>province</code></td>\n<td>string</td>\n<td>Provincia</td>\n</tr>\n<tr>\n<td><code>province_code</code></td>\n<td>string</td>\n<td>Código de provincia</td>\n</tr>\n<tr>\n<td><code>zip</code></td>\n<td>string</td>\n<td>Código postal</td>\n</tr>\n<tr>\n<td><code>country_code</code></td>\n<td>string</td>\n<td>Código de país</td>\n</tr>\n<tr>\n<td><code>first_name</code></td>\n<td>string</td>\n<td>Nombre del cliente</td>\n</tr>\n<tr>\n<td><code>last_name</code></td>\n<td>string</td>\n<td>Apellido del cliente</td>\n</tr>\n<tr>\n<td><code>phone</code></td>\n<td>string</td>\n<td>Teléfono de contacto</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"🔹-customer-object\">🔹 customer (object)</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Campo</th>\n<th>Tipo</th>\n<th>Descripción</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>customer_remote_id</code></td>\n<td>string</td>\n<td>ID remoto del cliente</td>\n</tr>\n<tr>\n<td><code>document_type</code></td>\n<td>string</td>\n<td>Tipo de documento (ej: rutCHL)</td>\n</tr>\n<tr>\n<td><code>document</code></td>\n<td>string</td>\n<td>Número de documento</td>\n</tr>\n<tr>\n<td><code>email</code></td>\n<td>string</td>\n<td>Correo del cliente</td>\n</tr>\n<tr>\n<td><code>first_name</code></td>\n<td>string</td>\n<td>Nombre</td>\n</tr>\n<tr>\n<td><code>last_name</code></td>\n<td>string</td>\n<td>Apellido</td>\n</tr>\n<tr>\n<td><code>phone</code></td>\n<td>string</td>\n<td>Teléfono</td>\n</tr>\n<tr>\n<td><code>custom_attributes</code></td>\n<td>array</td>\n<td>Atributos personalizados</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"🔹-payments-array\">🔹 payments (array)</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Campo</th>\n<th>Tipo</th>\n<th>Descripción</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>tender_type</code></td>\n<td>string</td>\n<td>Tipo de pago</td>\n</tr>\n<tr>\n<td><code>taken</code></td>\n<td>number</td>\n<td>Monto pagado</td>\n</tr>\n<tr>\n<td><code>tender_name</code></td>\n<td>string</td>\n<td>Nombre del medio de pago</td>\n</tr>\n<tr>\n<td><code>tender_payment_type</code></td>\n<td>string</td>\n<td>Tipo de transacción</td>\n</tr>\n<tr>\n<td><code>authorization_code</code></td>\n<td>string</td>\n<td>Código de autorización</td>\n</tr>\n<tr>\n<td><code>installments</code></td>\n<td>number</td>\n<td>Número de cuotas</td>\n</tr>\n<tr>\n<td><code>card_no</code></td>\n<td>string</td>\n<td>Últimos dígitos de la tarjeta</td>\n</tr>\n<tr>\n<td><code>cardtypename</code></td>\n<td>string</td>\n<td>Tipo de tarjeta</td>\n</tr>\n<tr>\n<td><code>cardholdername</code></td>\n<td>string</td>\n<td>Nombre del titular</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"🔹-documents-array\">🔹 documents (array)</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Campo</th>\n<th>Tipo</th>\n<th>Descripción</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>_id</code></td>\n<td>string</td>\n<td>ID del documento</td>\n</tr>\n<tr>\n<td><code>type</code></td>\n<td>string</td>\n<td>Tipo de documento (ej: DTE_TICKET)</td>\n</tr>\n<tr>\n<td><code>url</code></td>\n<td>string</td>\n<td>Enlace al documento PDF</td>\n</tr>\n<tr>\n<td><code>folio</code></td>\n<td>string</td>\n<td>Número de folio</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"🔹tipo-de-documentos--type-\">🔹Tipo de documentos ( type )</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Tipo de documento</strong></th>\n<th><strong>Descripción</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>DTE_CREDIT_NOTE</td>\n<td>Nota de credito</td>\n</tr>\n<tr>\n<td>DTE_INVOICE</td>\n<td>Factura</td>\n</tr>\n<tr>\n<td>DTE_SHIPPING_NOTE</td>\n<td>Guia de despacho</td>\n</tr>\n<tr>\n<td>DTE_TICKET</td>\n<td>Boleta</td>\n</tr>\n<tr>\n<td>RESERVATION_INVOICE</td>\n<td>Factura de reserva</td>\n</tr>\n<tr>\n<td>SALE_ORDER</td>\n<td>Orden de venta</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","orders","v2"],"host":["api-demo","be-flow","com"],"query":[{"key":"limit","value":"1"},{"key":"date_range[0]","value":"2025-07-19"},{"key":"date_range[1]","value":"2025-08-19"}],"variable":[]}},"response":[],"_postman_id":"32f2ce33-52fc-44d6-ba0d-6dc0b55fe727"},{"name":"Get OrdersV2 PROD","id":"540780e0-0900-403d-a89c-922aa840a270","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api.be-flow.com/api/orders/v2?limit=1&date_range[0]=2025-07-19&date_range[1]=2025-08-19","description":"<h1 id=\"📖-parámetros-de-paginación-y-filtros\">📖 Parámetros de Paginación y Filtros</h1>\n<h2 id=\"date-range-con-time\">Date Range con Time</h2>\n<ul>\n<li><p>Se pueden enviar <strong>opcionalmente</strong> los parámetros:</p>\n<ul>\n<li><p><code>date_range[0]</code>: fecha/hora inicial del rango.</p>\n</li>\n<li><p><code>date_range[1]</code>: fecha/hora final del rango.</p>\n</li>\n</ul>\n</li>\n<li><p>El formato aceptado es <strong><code>YYYY-MM-DDTHH:mm:ss.SSS</code></strong> (ISO 8601).</p>\n</li>\n<li><p>Este filtro asegura que en el informe no se agreguen pedidos nuevos después de iniciada la primera paginación.</p>\n</li>\n</ul>\n<h3 id=\"ejemplo-de-request\">Ejemplo de request</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"date_range[0]\": \"2025-01-01T00:00:00.000\",\n  \"date_range[1]\": \"2025-02-03T11:52:59.999\",\n  \"limit\": 100,\n  \"page\": 1\n}\n\n</code></pre>\n<hr />\n<h2 id=\"paginación-con-search_after-y-search_before\">Paginación con <code>search_after</code> y <code>search_before</code></h2>\n<ul>\n<li><p>Estos parámetros son <strong>opcionales</strong> y sirven para optimizar la consulta a nivel de base de datos, mejorando la velocidad.</p>\n</li>\n<li><p>La primera request debe enviarse <strong>sin</strong> <code>search_after</code> ni <code>search_before</code>.</p>\n</li>\n<li><p>La respuesta devolverá los campos:</p>\n<ul>\n<li><p><code>prevPageToken</code> → para retroceder.</p>\n</li>\n<li><p><code>nextPageToken</code> → para avanzar.</p>\n</li>\n</ul>\n</li>\n<li><p>Desde la segunda request puedes utilizar estos tokens para continuar la paginación.</p>\n</li>\n</ul>\n<h3 id=\"ejemplo-de-respuesta-con-tokens\">Ejemplo de respuesta con tokens</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"prevPageToken\": \"CIaKARoGEICAgIAIGho6GDIwMjUtMDEtMDlUMTQ6MDM6NTguMDAwWhoOWgxngAKYXCEDmqRgv+0iDloMZ4ACmFwhA5qkYL/t\",\n  \"nextPageToken\": \"CIuKARoGEICAgIAIGho6GDIwMjUtMDEtMTBUMDE6Mzc6NDAuMDAwWhoOWgxngKRQWAr+T/uXlZQiDloMZ4CkUFgK/k/7l5WU\"\n\n</code></pre>\n<h3 id=\"ejemplo-de-request-con-nextpagetoken\">Ejemplo de request con <code>nextPageToken</code></h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"date_range[0]\": \"2025-01-01T00:00:00.000\",\n  \"date_range[1]\": \"2025-02-03T11:52:59.999\",\n  \"limit\": 100,\n  \"p\": 2,\n  \"search_after\": \"CIuKARoGEICAgIAIGho6GDIwMjUtMDEtMTBUMDE6Mzc6NDAuMDAwWhoOWgxngKRQWAr+T/uXlZQiDloMZ4CkUFgK/k/7l5WU\"\n}\n\n</code></pre>\n<hr />\n<h2 id=\"recomendaciones-de-uso\">Recomendaciones de uso</h2>\n<ol>\n<li><p><strong>Primera consulta:</strong> usa solo <code>date_range</code>, <code>limit</code> y <code>page</code>.</p>\n</li>\n<li><p><strong>Siguientes consultas:</strong> reutiliza <code>search_after</code> o <code>search_before</code> desde la respuesta anterior.</p>\n</li>\n<li><p><strong>Consistencia de datos:</strong> mantén siempre el mismo <code>date_range</code> en todas las páginas para evitar cambios en los resultados durante la paginación.</p>\n</li>\n</ol>\n<h1 id=\"📌-get-order-response---diccionario-de-datos\">📌 Get Order Response - Diccionario de Datos</h1>\n<p>Este documento describe la estructura de respuesta del endpoint <strong>GetOrderResponseV2</strong>, con sus campos, descripciones y tipos de datos.</p>\n<h2 id=\"📂-estructura-general\">📂 Estructura General</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"_id\": \"string\",\n  \"merchant_id\": \"string\",\n  \"remote_order_id\": \"string\",\n  \"location_id\": \"string\",\n  \"name\": \"string\",\n  \"sales_channel\": { ... },\n  \"line_items\":,\n  \"shipping_items\": [ ... ],\n  \"fulfillments\": [ ... ],\n  \"currency\": \"string\",\n  \"total_price\": \"number\",\n  \"total_discount\": \"number\",\n  \"total_shipping\": \"number\",\n  \"total_tax\": \"number\",\n  \"order_status\": \"string\",\n  \"sac_status\": \"string\",\n  \"fulfillment_method\": \"string\",\n  \"billing_address\": { ... },\n  \"customer\": { ... },\n  \"payments\": [ ... ],\n  \"createdAt\": \"date\",\n  \"updatedAt\": \"date\",\n  \"documents\": [ ... ]\n}\n\n</code></pre>\n<hr />\n<h2 id=\"📖-diccionario-de-datos\">📖 Diccionario de Datos</h2>\n<h3 id=\"🔹-nivel-raíz\">🔹 Nivel Raíz</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Campo</th>\n<th>Tipo</th>\n<th>Descripción</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>_id</code></td>\n<td>string</td>\n<td>ID único de la orden</td>\n</tr>\n<tr>\n<td><code>merchant_id</code></td>\n<td>string</td>\n<td>Identificador del comercio</td>\n</tr>\n<tr>\n<td><code>remote_order_id</code></td>\n<td>string</td>\n<td>ID de la orden en el sistema remoto</td>\n</tr>\n<tr>\n<td><code>location_id</code></td>\n<td>string</td>\n<td>Identificador de la ubicación</td>\n</tr>\n<tr>\n<td><code>name</code></td>\n<td>string</td>\n<td>Nombre o alias de la orden</td>\n</tr>\n<tr>\n<td><code>sales_channel</code></td>\n<td>object</td>\n<td>Canal de ventas asociado</td>\n</tr>\n<tr>\n<td><code>line_items</code></td>\n<td>array</td>\n<td>Lista de productos de la orden</td>\n</tr>\n<tr>\n<td><code>shipping_items</code></td>\n<td>array</td>\n<td>Lista de ítems de envío</td>\n</tr>\n<tr>\n<td><code>fulfillments</code></td>\n<td>array</td>\n<td>Lista de cumplimientos (entregas)</td>\n</tr>\n<tr>\n<td><code>currency</code></td>\n<td>string</td>\n<td>Moneda usada (ej: CLP)</td>\n</tr>\n<tr>\n<td><code>total_price</code></td>\n<td>number</td>\n<td>Precio total de la orden</td>\n</tr>\n<tr>\n<td><code>total_discount</code></td>\n<td>number</td>\n<td>Descuento aplicado</td>\n</tr>\n<tr>\n<td><code>total_shipping</code></td>\n<td>number</td>\n<td>Costo de envío</td>\n</tr>\n<tr>\n<td><code>total_tax</code></td>\n<td>number</td>\n<td>Impuestos aplicados</td>\n</tr>\n<tr>\n<td><code>order_status</code></td>\n<td>string</td>\n<td>Estado de la orden</td>\n</tr>\n<tr>\n<td><code>sac_status</code></td>\n<td>string</td>\n<td>Estado en SAC</td>\n</tr>\n<tr>\n<td><code>fulfillment_method</code></td>\n<td>string</td>\n<td>Método de cumplimiento</td>\n</tr>\n<tr>\n<td><code>billing_address</code></td>\n<td>object</td>\n<td>Dirección de facturación</td>\n</tr>\n<tr>\n<td><code>customer</code></td>\n<td>object</td>\n<td>Datos del cliente</td>\n</tr>\n<tr>\n<td><code>payments</code></td>\n<td>array</td>\n<td>Métodos de pago asociados</td>\n</tr>\n<tr>\n<td><code>createdAt</code></td>\n<td>date</td>\n<td>Fecha de creación</td>\n</tr>\n<tr>\n<td><code>updatedAt</code></td>\n<td>date</td>\n<td>Última actualización</td>\n</tr>\n<tr>\n<td><code>documents</code></td>\n<td>array</td>\n<td>Documentos asociados (ej: facturas)</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h4 id=\"🔹-estados-de-la-orden-order_status\">🔹 Estados de la Orden (order_status)</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Estado</strong></th>\n<th><strong>Descripción</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>open</td>\n<td>Al crearse la orden</td>\n</tr>\n<tr>\n<td>archived</td>\n<td>Al entregar al courier</td>\n</tr>\n<tr>\n<td>closed</td>\n<td>Orden cerrada</td>\n</tr>\n<tr>\n<td>cancelled</td>\n<td>Al cancelarse la orden</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"🔹-estados-sac-de-la-orden-sac_status\">🔹 Estados SAC de la Orden (sac_status)</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Estado</strong></th>\n<th><strong>Descripción</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>finished_with_incidence</td>\n<td>Finalizado con incidencia</td>\n</tr>\n<tr>\n<td>client_contacted</td>\n<td>Cliente contactado</td>\n</tr>\n<tr>\n<td>in_normal_process</td>\n<td>Pedido en curso sin problemas</td>\n</tr>\n<tr>\n<td>finished_normal</td>\n<td>Pedido finalizado correctamente</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"🔹-sales_channel-object\">🔹 sales_channel (object)</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Campo</th>\n<th>Tipo</th>\n<th>Descripción</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>_id</code></td>\n<td>string</td>\n<td>ID del canal</td>\n</tr>\n<tr>\n<td><code>alias</code></td>\n<td>string</td>\n<td>Nombre o alias del canal</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"🔹-line_items-array\">🔹 line_items (array)</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Campo</th>\n<th>Tipo</th>\n<th>Descripción</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>_id</code></td>\n<td>string</td>\n<td>ID del ítem</td>\n</tr>\n<tr>\n<td><code>name</code></td>\n<td>string</td>\n<td>Nombre del producto</td>\n</tr>\n<tr>\n<td><code>total_price</code></td>\n<td>number</td>\n<td>Precio total</td>\n</tr>\n<tr>\n<td><code>sku</code></td>\n<td>string</td>\n<td>SKU del producto</td>\n</tr>\n<tr>\n<td><code>quantity</code></td>\n<td>number</td>\n<td>Cantidad pedida</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"🔹-fulfillments-array\">🔹 fulfillments (array)</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Campo</th>\n<th>Tipo</th>\n<th>Descripción</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>_id</code></td>\n<td>string</td>\n<td>ID del fulfillment</td>\n</tr>\n<tr>\n<td><code>name</code></td>\n<td>string</td>\n<td>Nombre de la entrega</td>\n</tr>\n<tr>\n<td><code>remote_order_id</code></td>\n<td>string</td>\n<td>ID de la orden</td>\n</tr>\n<tr>\n<td><code>status</code></td>\n<td>string</td>\n<td>Estado de la entrega</td>\n</tr>\n<tr>\n<td><code>courier</code></td>\n<td>string</td>\n<td>ID del courier asignado</td>\n</tr>\n<tr>\n<td><code>origin</code></td>\n<td>object</td>\n<td>Origen del fulfillment</td>\n</tr>\n<tr>\n<td><code>destination</code></td>\n<td>object</td>\n<td>Dirección destino</td>\n</tr>\n<tr>\n<td><code>shipping_address</code></td>\n<td>object</td>\n<td>Dirección de envío</td>\n</tr>\n<tr>\n<td><code>shipping_service</code></td>\n<td>string</td>\n<td>Servicio de envío</td>\n</tr>\n<tr>\n<td><code>delivery_method</code></td>\n<td>string</td>\n<td>Método de entrega</td>\n</tr>\n<tr>\n<td><code>promised_date</code></td>\n<td>date</td>\n<td>Fecha prometida de entrega</td>\n</tr>\n<tr>\n<td><code>packages</code></td>\n<td>array</td>\n<td>IDs de los paquetes</td>\n</tr>\n<tr>\n<td><code>createdAt</code></td>\n<td>date</td>\n<td>Fecha de creación</td>\n</tr>\n<tr>\n<td><code>updatedAt</code></td>\n<td>date</td>\n<td>Última actualización</td>\n</tr>\n<tr>\n<td><code>delivery_pin</code></td>\n<td>string</td>\n<td>Código de validación de entrega</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h4 id=\"🔹estados-del-fulfillments--status-\">🔹Estados del Fulfillments ( status )</h4>\n<h5 id=\"fulfillment-con-retiro\">Fulfillment con retiro</h5>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Estado ( status )</strong></th>\n<th><strong>Descripción</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>pending</td>\n<td>Al ingestar el pedido y generar los fulfillments automaticamente</td>\n</tr>\n<tr>\n<td>success</td>\n<td>Al preparar el fulfillment con retiro</td>\n</tr>\n<tr>\n<td>delivered</td>\n<td>Al entregar el fulfillment</td>\n</tr>\n</tbody>\n</table>\n</div><h5 id=\"fulfillment-con-despacho\">Fulfillment con despacho</h5>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Estado ( status</strong></th>\n<th><strong>Descripción</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>pending</td>\n<td>Al ingestar el pedido y generar los fulfillments automaticamente</td>\n</tr>\n<tr>\n<td>ready_for_deliver</td>\n<td>Al completar la preparacion del fulfillment</td>\n</tr>\n<tr>\n<td>success</td>\n<td>Al enviar el fulfillment a entregas</td>\n</tr>\n<tr>\n<td>delivered_to_courier</td>\n<td>Al procesar la entrega al courier</td>\n</tr>\n<tr>\n<td>delivered</td>\n<td>Al cambiar el estado del fulfillment a entregado ( manualmente o automaticamente )</td>\n</tr>\n</tbody>\n</table>\n</div><h5 id=\"despacho-con-stock-de-otra-tienda--consolidación-\">Despacho con stock de otra tienda ( consolidación )</h5>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Estado (status)</strong></th>\n<th><strong>Estado consolidación (consolidation.status)</strong></th>\n<th><strong>Descripción</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>in_progress</td>\n<td>created</td>\n<td>Al ingestarse el pedido y generar los fulfillments automáticamente</td>\n</tr>\n<tr>\n<td>ready_for_deliver</td>\n<td>ready_for_deliver_to_cd_location</td>\n<td>Al completar la preparación del fulfillment</td>\n</tr>\n<tr>\n<td>success</td>\n<td>ready_for_deliver_to_cd_location</td>\n<td>Al enviar el fulfillment a entrega</td>\n</tr>\n<tr>\n<td>delivered_to_courier</td>\n<td>delivered_to_cd_location</td>\n<td>Al procesar entrega del fulfillment por primera vez</td>\n</tr>\n<tr>\n<td>success</td>\n<td>received_in_cd_location</td>\n<td>Al recibir fulfillment en módulo de pendientes de recepción</td>\n</tr>\n<tr>\n<td>success</td>\n<td>success</td>\n<td>Al procesar los fulfillment en módulo de crossdocking</td>\n</tr>\n<tr>\n<td>delivered_to_courier</td>\n<td>delivered_to_courier</td>\n<td>Al procesar entrega de los fulfillments después de crossdocking</td>\n</tr>\n<tr>\n<td>delivered</td>\n<td>delivered</td>\n<td>Al cambiar estado del fulfillment a entregado (manual o automáticamente)</td>\n</tr>\n</tbody>\n</table>\n</div><h5 id=\"preparación-en-cd-con-transferencia-a-tienda-de-retiro\">Preparación en CD con transferencia a tienda de retiro</h5>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Estado (status)</strong></th>\n<th><strong>Estado de preparacion en cd con transferencia a tienda de retiro (</strong> preparationcd_transfer_pickupstore.status )</th>\n<th><strong>Descripción</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>pending</td>\n<td>created</td>\n<td>Al ingestarse el pedido y generar los fulfillments automáticamente</td>\n</tr>\n<tr>\n<td>ready_for_deliver</td>\n<td>ready_for_deliver_to_pickup_location</td>\n<td>Al completar la preparación del fulfillment</td>\n</tr>\n<tr>\n<td>success</td>\n<td>ready_for_deliver_to_pickup_location</td>\n<td>Al enviar el fulfillment a entregas</td>\n</tr>\n<tr>\n<td>delivered_to_courier</td>\n<td>delivered_to_pickup_location</td>\n<td>Al procesar entrega del fulfillment por primera vez</td>\n</tr>\n<tr>\n<td>success</td>\n<td>received_in_pickup_location</td>\n<td>Al recibir fulfillment en módulo de pendientes de recepción</td>\n</tr>\n<tr>\n<td>delivered</td>\n<td>delivered</td>\n<td>Al cambiar estado del fulfillment a entregado (manual o automáticamente)</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"🔹-billing_address--shipping_address--destination-object\">🔹 billing_address / shipping_address / destination (object)</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Campo</th>\n<th>Tipo</th>\n<th>Descripción</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>address1</code></td>\n<td>string</td>\n<td>Dirección principal</td>\n</tr>\n<tr>\n<td><code>address2</code></td>\n<td>string</td>\n<td>Dirección secundaria</td>\n</tr>\n<tr>\n<td><code>city</code></td>\n<td>string</td>\n<td>Ciudad</td>\n</tr>\n<tr>\n<td><code>province</code></td>\n<td>string</td>\n<td>Provincia</td>\n</tr>\n<tr>\n<td><code>province_code</code></td>\n<td>string</td>\n<td>Código de provincia</td>\n</tr>\n<tr>\n<td><code>zip</code></td>\n<td>string</td>\n<td>Código postal</td>\n</tr>\n<tr>\n<td><code>country_code</code></td>\n<td>string</td>\n<td>Código de país</td>\n</tr>\n<tr>\n<td><code>first_name</code></td>\n<td>string</td>\n<td>Nombre del cliente</td>\n</tr>\n<tr>\n<td><code>last_name</code></td>\n<td>string</td>\n<td>Apellido del cliente</td>\n</tr>\n<tr>\n<td><code>phone</code></td>\n<td>string</td>\n<td>Teléfono de contacto</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"🔹-customer-object\">🔹 customer (object)</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Campo</th>\n<th>Tipo</th>\n<th>Descripción</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>customer_remote_id</code></td>\n<td>string</td>\n<td>ID remoto del cliente</td>\n</tr>\n<tr>\n<td><code>document_type</code></td>\n<td>string</td>\n<td>Tipo de documento (ej: rutCHL)</td>\n</tr>\n<tr>\n<td><code>document</code></td>\n<td>string</td>\n<td>Número de documento</td>\n</tr>\n<tr>\n<td><code>email</code></td>\n<td>string</td>\n<td>Correo del cliente</td>\n</tr>\n<tr>\n<td><code>first_name</code></td>\n<td>string</td>\n<td>Nombre</td>\n</tr>\n<tr>\n<td><code>last_name</code></td>\n<td>string</td>\n<td>Apellido</td>\n</tr>\n<tr>\n<td><code>phone</code></td>\n<td>string</td>\n<td>Teléfono</td>\n</tr>\n<tr>\n<td><code>custom_attributes</code></td>\n<td>array</td>\n<td>Atributos personalizados</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"🔹-payments-array\">🔹 payments (array)</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Campo</th>\n<th>Tipo</th>\n<th>Descripción</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>tender_type</code></td>\n<td>string</td>\n<td>Tipo de pago</td>\n</tr>\n<tr>\n<td><code>taken</code></td>\n<td>number</td>\n<td>Monto pagado</td>\n</tr>\n<tr>\n<td><code>tender_name</code></td>\n<td>string</td>\n<td>Nombre del medio de pago</td>\n</tr>\n<tr>\n<td><code>tender_payment_type</code></td>\n<td>string</td>\n<td>Tipo de transacción</td>\n</tr>\n<tr>\n<td><code>authorization_code</code></td>\n<td>string</td>\n<td>Código de autorización</td>\n</tr>\n<tr>\n<td><code>installments</code></td>\n<td>number</td>\n<td>Número de cuotas</td>\n</tr>\n<tr>\n<td><code>card_no</code></td>\n<td>string</td>\n<td>Últimos dígitos de la tarjeta</td>\n</tr>\n<tr>\n<td><code>cardtypename</code></td>\n<td>string</td>\n<td>Tipo de tarjeta</td>\n</tr>\n<tr>\n<td><code>cardholdername</code></td>\n<td>string</td>\n<td>Nombre del titular</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"🔹-documents-array\">🔹 documents (array)</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Campo</th>\n<th>Tipo</th>\n<th>Descripción</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>_id</code></td>\n<td>string</td>\n<td>ID del documento</td>\n</tr>\n<tr>\n<td><code>type</code></td>\n<td>string</td>\n<td>Tipo de documento (ej: DTE_TICKET)</td>\n</tr>\n<tr>\n<td><code>url</code></td>\n<td>string</td>\n<td>Enlace al documento PDF</td>\n</tr>\n<tr>\n<td><code>folio</code></td>\n<td>string</td>\n<td>Número de folio</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"🔹tipo-de-documentos--type-\">🔹Tipo de documentos ( type )</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Tipo de documento</strong></th>\n<th><strong>Descripción</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>DTE_CREDIT_NOTE</td>\n<td>Nota de credito</td>\n</tr>\n<tr>\n<td>DTE_INVOICE</td>\n<td>Factura</td>\n</tr>\n<tr>\n<td>DTE_SHIPPING_NOTE</td>\n<td>Guia de despacho</td>\n</tr>\n<tr>\n<td>DTE_TICKET</td>\n<td>Boleta</td>\n</tr>\n<tr>\n<td>RESERVATION_INVOICE</td>\n<td>Factura de reserva</td>\n</tr>\n<tr>\n<td>SALE_ORDER</td>\n<td>Orden de venta</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","orders","v2"],"host":["api","be-flow","com"],"query":[{"key":"limit","value":"1"},{"key":"date_range[0]","value":"2025-07-19"},{"key":"date_range[1]","value":"2025-08-19"}],"variable":[]}},"response":[],"_postman_id":"540780e0-0900-403d-a89c-922aa840a270"},{"name":"Get Orders PROD","id":"3dac6df7-4b52-4ca8-b23c-a7728d28cb85","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api.be-flow.com/api/orders?limit=5&date_range[0]=2024-07-19&date_range[1]=2024-07-19&remote_order_id=DSZ00180724TP32_62","description":"<h3 id=\"date-range-con-time\">Date Range con time</h3>\n<ul>\n<li>Ahora podrán enviar <strong>opcionalmente</strong> los parámetros date_range[0] y date_range[1] con formato <strong>YYYY-MM-DDTHHss.SSS</strong>, esto para asegurar que en el informe no se agreguen pedidos nuevos luego de iniciada la primera paginación.</li>\n</ul>\n<p>Ejemplo:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n        \"date_range[0]\": \"2025-01-01T00:00:00.000\",  \n        \"date_range[1]\": \"2025-02-03T11:52:59.999\", \n        \"limit\": 100,\n        \"page\": page\n}\nCopy Wrap  \n\n</code></pre><h3 id=\"search_after-y-search_before\">search_after y search_before</h3>\n<ul>\n<li>Opcionalmente se podrá enviar el parámetro search_after. Este servirá para optimizar la request a nivel de base de datos, mejorando la velocidad de esta.</li>\n</ul>\n<p>Para utilizar el campo se tendrá que enviar la primera request sin el campo search_after ni search_before, esta en su respuesta devolverá los campos <strong>prevPageToken</strong> y <strong>nextPageToken</strong>. Desde la segunda request ya podrán enviar el parámetro con su respectivo token.</p>\n<p>Ejemplo de campos prevPageToken y nextPageToken en la respuesta</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"prevPageToken\": \"CIaKARoGEICAgIAIGho6GDIwMjUtMDEtMDlUMTQ6MDM6NTguMDAwWhoOWgxngAKYXCEDmqRgv+0iDloMZ4ACmFwhA5qkYL/t\",\n\"nextPageToken\": \"CIuKARoGEICAgIAIGho6GDIwMjUtMDEtMTBUMDE6Mzc6NDAuMDAwWhoOWgxngKRQWAr+T/uXlZQiDloMZ4CkUFgK/k/7l5WU\",\nCopy Wrap  \n\n</code></pre><p>Ejemplo de uso de nextPageToken</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n        \"date_range[0]\": initDate,  \n        \"date_range[1]\": endDate, \n        \"limit\": 100,\n        \"page\": page,\n        \"search_after\": \"CIuKARoGEICAgIAIGho6GDIwMjUtMDEtMTBUMDE6Mzc6NDAuMDAwWhoOWgxngKRQWAr+T/uXlZQiDloMZ4CkUFgK/k/7l5WU\"\n    }\n\n</code></pre>","urlObject":{"protocol":"https","path":["api","orders"],"host":["api","be-flow","com"],"query":[{"key":"limit","value":"5"},{"key":"date_range[0]","value":"2024-07-19"},{"key":"date_range[1]","value":"2024-07-19"},{"key":"remote_order_id","value":"DSZ00180724TP32_62"}],"variable":[]}},"response":[],"_postman_id":"3dac6df7-4b52-4ca8-b23c-a7728d28cb85"}],"id":"76754784-e853-4628-b072-fc799a8ba79d","description":"<h3 id=\"obtencion-de-ordenes-en-oms\">Obtencion de ordenes en OMS</h3>\n<p>Consulta de ordenes generados en OMS</p>\n<h1 id=\"filtros\"><strong>Filtros</strong></h1>\n<p><code>date_range[0]</code> : Fecha inicial</p>\n<p><code>date_range[1]</code> : Fecha final</p>\n<p><code>locations[0] (opcional)</code>: Id de las tiendas <code>prism_store_no</code> o <code>sap_store_no</code></p>\n<p><code>location_name (opcional):</code> Nombre de la tienda</p>\n<p><code>fulfillment_status (opcional):</code> Estado global de los fulfillments asociados al pedido</p>\n<p><code>remote_order_id (opcional):</code> remote id del pedido (devuelve unicamente el pedido solicitado)</p>\n<h1 id=\"paginación\"><strong>Paginación</strong></h1>\n<p><code>page:</code> Pagina actual</p>\n<p><code>limit:</code>imite de documentos</p>\n<p>por defecto: <code>50</code></p>\n<p><code>máximo: 100</code></p>\n<h1 id=\"posibles-respuestas\"><strong>Posibles respuestas</strong></h1>\n<h3 id=\"response--200--ok\">RESPONSE ( 200 ) OK</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"docs\": [\n        {\n            \"_id\": \"66286c22a851c92d823e1ffb\",\n            \"document_count\": 2,\n            \"merchant_id\": \"6205ae966cb3762a816d5a1f\",\n            \"remote_order_id\": \"791567897\",\n            \"virtual_location_id\": \"62f130bfed14481b1f57ae17\",\n            \"location_id\": \"6205c4bc6cb3762a816d5a30\",\n            \"source_location_id\": {\n                \"_id\": \"62e40b61444b82677ad8118a\",\n                \"merchant_id\": \"6205ae966cb3762a816d5a1f\",\n                \"name\": \"Almacen Dockers\",\n                \"channels\": [\n                    \"6261a62d228095484f4d819c\"\n                ],\n                \"location_type\": \"warehouse\",\n                \"user_manager\": \"6205b6c28c4b848db5da887b\",\n                \"address1\": \"santa victoria 538\",\n                \"address2\": \"\",\n                \"country\": \"chile\",\n                \"city\": \"Las Condes\",\n                \"province\": \"Región Metropolitana de Santiago\",\n                \"province_code\": \"Región Metropolitana de Santiago\",\n                \"province_name\": \"Región Metropolitana de Santiago\",\n                \"is_enabled\": true,\n                \"functions\": [\n                    \"shipping\",\n                    \"pickup\"\n                ],\n                \"has_devolution\": false,\n                \"has_fulfillment\": true,\n                \"createdAt\": \"2022-07-29T16:31:29.845Z\",\n                \"updatedAt\": \"2024-04-24T16:05:26.239Z\",\n                \"__v\": 0,\n                \"fulfillment_locations\": [\n                    \"6205c4bc6cb3762a816d5a30\",\n                    \"626aae101f9fffd68c5461c8\"\n                ],\n                \"preparation_capacity\": 22,\n                \"working_times\": {\n                    \"monday_to_friday\": {\n                        \"monday_to_friday_hours\": [\n                            \"2023-09-06T08:00:00.000Z\",\n                            \"2023-09-07T18:00:00.000Z\"\n                        ]\n                    }\n                },\n                \"classification_product_type\": {\n                    \"storage_capacity\": {\n                        \"xs\": {\n                            \"limit\": 0\n                        },\n                        \"xxxxl\": {\n                            \"limit\": 0\n                        },\n                        \"xxxl\": {\n                            \"limit\": 0\n                        },\n                        \"xxl\": {\n                            \"limit\": 0\n                        },\n                        \"xl\": {\n                            \"limit\": 4\n                        },\n                        \"l\": {\n                            \"limit\": 3\n                        },\n                        \"m\": {\n                            \"limit\": 2\n                        },\n                        \"s\": {\n                            \"limit\": 1,\n                            \"used\": 478\n                        }\n                    },\n                    \"preparation_capacity_in_use\": 25\n                },\n                \"stock_setting\": {\n                    \"type_security\": \"not_security\",\n                    \"enabled\": true\n                },\n                \"timezone\": \"America/Santiago\",\n                \"brands\": [\n                    \"SPARTA\",\n                    \"NEW BALANCE\"\n                ],\n                \"reposition_period\": {\n                    \"period\": \"custom\"\n                },\n                \"email\": \"fabian.mesias@be-flow.com\",\n                \"latitude\": -36.609702126110236,\n                \"longitude\": -72.10089109607932,\n                \"phone\": \"+56966900259\"\n            },\n            \"fulfillment_locations\": [\n                \"62e40b61444b82677ad8118a\"\n            ],\n            \"remote_location_id\": \"J034\",\n            \"name\": \"260603770\",\n            \"sales_channel\": {\n                \"_id\": \"6205bdfe2ca95c4a3c3ee181\",\n                \"merchant_id\": \"6205ae966cb3762a816d5a1f\",\n                \"integration\": \"6205b96ec9bb8437eb56b5d5\",\n                \"platform\": \"ESB\",\n                \"is_enabled\": true,\n                \"integration_pos_erp\": \"648b3a6522c8c1aae2c97212\",\n                \"createdAt\": \"2022-02-11T01:38:06.047Z\",\n                \"updatedAt\": \"2024-04-19T16:23:01.032Z\",\n                \"__v\": 0,\n                \"have_virtual_location\": true,\n                \"primary_physical_location\": \"6205c4bc6cb3762a816d5a30\",\n                \"secondary_physical_location\": \"6205c4bc6cb3762a816d5a30\",\n                \"virtual_location\": \"6205c4db6cb3762a816d5a31\",\n                \"shipping_item\": {\n                    \"is_required\": true,\n                    \"sku\": \"Z2211\"\n                },\n                \"amount_treatment\": true,\n                \"integration_dte\": \"6205bcec6cb3762a816d5a29\",\n                \"timezone\": \"America/Santiago\",\n                \"default_courier\": \"662191754d3662bc07218529\",\n                \"default_delivery_method\": \"shipping\",\n                \"pickup_cd_location\": \"6205c4bc6cb3762a816d5a30\",\n                \"pickup_fulfillment_in_cd\": false,\n                \"allow_cancel_in_status\": [\n                    \"unfulfilled\",\n                    \"in_progress\",\n                    \"fulfilled\",\n                    \"delivered_to_courier\",\n                    \"sac\"\n                ],\n                \"order_report_status\": false,\n                \"billing_data\": {\n                    \"business_name\": \"RAZON SOCIAL\",\n                    \"document\": \"76462805-5\",\n                    \"activities\": \"COMERCIALIZACION DE PRENDAS DE VESTIR\",\n                    \"address\": \"CALLE 1\",\n                    \"province\": \"Tarapacá\",\n                    \"city\": \"Iquique\",\n                    \"branch_office_sii\": \"81653902\",\n                    \"ticket_footer\": \"112\",\n                    \"taxable_shipping\": true,\n                    \"tax\": 19\n                },\n                \"use_channel_billing_data\": true,\n                \"use_general_billing_data\": true,\n                \"has_transit_warehouse\": false,\n                \"mappings\": [\n                    {\n                        \"namespace\": \"line_item\",\n                        \"oms_key\": \"ean\",\n                        \"sales_channel_key\": \"ean\",\n                        \"_id\": \"62fe6ebee5f2a8cd8376d437\"\n                    },\n                    {\n                        \"namespace\": \"line_item\",\n                        \"oms_key\": \"sku\",\n                        \"sales_channel_key\": \"ean\",\n                        \"_id\": \"62fe6ebee5f2a8cd8376d438\"\n                    }\n                ],\n                \"allow_upstream_state_notification\": true,\n                \"alias\": \"ESB Vtex (SAPB1 y PRISM)\",\n                \"integration_reversso\": \"63482585f5392c6124b6980e\",\n                \"init_date\": \"2023-02-10T17:00:00.000Z\",\n                \"billing_address_is_shipping_address\": false,\n                \"skip_transfer_movement\": true,\n                \"transit_warehouse\": \"62f13165ed14481b1f57ae25\",\n                \"stock_unified_settings\": {\n                    \"enabled\": true,\n                    \"shipping_method\": \"specific_locations\",\n                    \"enabled_specific_location\": true,\n                    \"locations\": [\n                        \"6205c4bc6cb3762a816d5a30\",\n                        \"62e40b61444b82677ad8118a\"\n                    ],\n                    \"specific_location\": \"6205c4bc6cb3762a816d5a30\"\n                },\n                \"has_bank_data_for_return_money\": true,\n                \"settings\": {\n                    \"enabled_filter_location\": true,\n                    \"filter_locations\": [\n                        \"635831e479c67968520862ad\",\n                        \"6205c4bc6cb3762a816d5a30\",\n                        \"62e40b61444b82677ad8118a\"\n                    ]\n                },\n                \"order_without_dte_cannot_prepared\": false,\n                \"classification_product_type\": {\n                    \"enabled\": false\n                },\n                \"alias_courier_name\": {\n                    \"is_enabled\": true,\n                    \"alias\": \"asb\"\n                }\n            },\n            \"line_items\": [\n                {\n                    \"_id\": \"66286c22a851c92d823e2010\",\n                    \"order_id\": \"66286c22a851c92d823e1ffb\",\n                    \"location_id\": \"6205c4bc6cb3762a816d5a30\",\n                    \"merchant_id\": \"6205ae966cb3762a816d5a1f\",\n                    \"remote_line_item_id\": \"5D148939AC8448118093979A9EFA7BE3\",\n                    \"fulfillment_id\": \"662900acbc82c0fbb6e4e127\",\n                    \"packages\": [],\n                    \"manual_incidences\": [\n                        \"66290160e7d3da7ebbec1d08\",\n                        \"6629051975afc992369f025a\",\n                        \"6629052f75afc992369f02b0\"\n                    ],\n                    \"name\": \"Short Ultimate Solid Straight Fit Negro 32\",\n                    \"total_price\": 95580,\n                    \"sku\": \"193239485417\",\n                    \"remote_variant_id\": \"193239485417\",\n                    \"ean\": \"193239485417\",\n                    \"reference_id\": \"85868-0051-32\",\n                    \"total_discount\": 129368.34999999999,\n                    \"unit_discount\": 25873.67,\n                    \"unit_price\": 19116,\n                    \"variant_title\": \"Short Ultimate Solid Straight Fit Negro 32\",\n                    \"vendor\": \"Dockers\",\n                    \"grams\": 1000,\n                    \"dimensions\": {\n                        \"width\": 1,\n                        \"height\": 1,\n                        \"length\": 1,\n                        \"grams\": 1000,\n                        \"size\": \"s\"\n                    },\n                    \"fulfilled_quantity\": 3,\n                    \"quantity\": 5,\n                    \"picking_quantity\": 0,\n                    \"removed_quantity\": 2,\n                    \"quantity_out_of_stock\": 0,\n                    \"original_quantity\": 5,\n                    \"refunded_quantity\": 0,\n                    \"pre_devolution_quantity\": 0,\n                    \"notify_stock_quantity\": 0,\n                    \"notify_stock_removed_quantity\": 0,\n                    \"status\": \"sac\",\n                    \"is_marketing_product\": false,\n                    \"custom\": {\n                        \"is_vtex\": true,\n                        \"calculated_unit_price\": 19116.33\n                    },\n                    \"user_fields\": [],\n                    \"createdAt\": \"2024-04-24T02:19:17.455Z\",\n                    \"updatedAt\": \"2024-04-24T13:12:15.567Z\",\n                    \"__v\": 0,\n                    \"fulfillment_location_id\": \"62e40b61444b82677ad8118a\"\n                }\n            ],\n            \"shipping_items\": [\n                {\n                    \"_id\": \"66286c22a851c92d823e2012\",\n                    \"merchant_id\": \"6205ae966cb3762a816d5a1f\",\n                    \"order_id\": \"66286c22a851c92d823e1ffb\",\n                    \"fulfillment_id\": \"662900acbc82c0fbb6e4e127\",\n                    \"logistic_id\": \"66286c22a851c92d823e2011\",\n                    \"sku\": \"Z2211\",\n                    \"price\": 2376,\n                    \"name\": \"Despacho\",\n                    \"quantity\": 1,\n                    \"custom\": {\n                        \"is_vtex\": true,\n                        \"calculated_unit_price\": 2376\n                    },\n                    \"createdAt\": \"2024-04-24T02:19:14.980Z\",\n                    \"updatedAt\": \"2024-04-24T12:53:00.821Z\",\n                    \"__v\": 0\n                }\n            ],\n            \"responsables\": [],\n            \"fulfillments\": [\n                {\n                    \"_id\": \"662900acbc82c0fbb6e4e127\",\n                    \"name\": \"791567897-F1\",\n                    \"remote_order_id\": \"791567897\",\n                    \"has_delivery_pin_validation\": false,\n                    \"block_fulfillment_for_so\": false,\n                    \"merchant_id\": \"6205ae966cb3762a816d5a1f\",\n                    \"order_id\": \"66286c22a851c92d823e1ffb\",\n                    \"line_items_manual_incidences\": [\n                        \"66290160e7d3da7ebbec1d08\",\n                        \"6629051975afc992369f025a\",\n                        \"6629052f75afc992369f02b0\"\n                    ],\n                    \"line_items\": {\n                        \"line_item\": [\n                            {\n                                \"_id\": \"66286c22a851c92d823e2010\",\n                                \"order_id\": \"66286c22a851c92d823e1ffb\",\n                                \"location_id\": \"6205c4bc6cb3762a816d5a30\",\n                                \"merchant_id\": \"6205ae966cb3762a816d5a1f\",\n                                \"remote_line_item_id\": \"5D148939AC8448118093979A9EFA7BE3\",\n                                \"fulfillment_id\": \"662900acbc82c0fbb6e4e127\",\n                                \"packages\": [],\n                                \"manual_incidences\": [\n                                    \"66290160e7d3da7ebbec1d08\",\n                                    \"6629051975afc992369f025a\",\n                                    \"6629052f75afc992369f02b0\"\n                                ],\n                                \"name\": \"Short Ultimate Solid Straight Fit Negro 32\",\n                                \"total_price\": 95580,\n                                \"sku\": \"193239485417\",\n                                \"remote_variant_id\": \"193239485417\",\n                                \"ean\": \"193239485417\",\n                                \"reference_id\": \"85868-0051-32\",\n                                \"total_discount\": 129368.34999999999,\n                                \"unit_discount\": 25873.67,\n                                \"unit_price\": 19116,\n                                \"variant_title\": \"Short Ultimate Solid Straight Fit Negro 32\",\n                                \"vendor\": \"Dockers\",\n                                \"grams\": 1000,\n                                \"dimensions\": {\n                                    \"width\": 1,\n                                    \"height\": 1,\n                                    \"length\": 1,\n                                    \"grams\": 1000,\n                                    \"size\": \"s\"\n                                },\n                                \"fulfilled_quantity\": 3,\n                                \"quantity\": 5,\n                                \"picking_quantity\": 0,\n                                \"removed_quantity\": 2,\n                                \"quantity_out_of_stock\": 0,\n                                \"original_quantity\": 5,\n                                \"refunded_quantity\": 0,\n                                \"pre_devolution_quantity\": 0,\n                                \"notify_stock_quantity\": 0,\n                                \"notify_stock_removed_quantity\": 0,\n                                \"status\": \"sac\",\n                                \"is_marketing_product\": false,\n                                \"custom\": {\n                                    \"is_vtex\": true,\n                                    \"calculated_unit_price\": 19116.33\n                                },\n                                \"user_fields\": [],\n                                \"createdAt\": \"2024-04-24T02:19:17.455Z\",\n                                \"updatedAt\": \"2024-04-24T13:12:15.567Z\",\n                                \"__v\": 0,\n                                \"fulfillment_location_id\": \"62e40b61444b82677ad8118a\"\n                            }\n                        ]\n                    },\n                    \"packages\": [],\n                    \"status\": \"sac\",\n                    \"status_before_sac\": \"\",\n                    \"status_after_sac\": \"\",\n                    \"courier\": \"656fe78169c74d6837af7019\",\n                    \"origin\": {\n                        \"_id\": \"62e40b61444b82677ad8118a\",\n                        \"merchant_id\": \"6205ae966cb3762a816d5a1f\",\n                        \"name\": \"Almacen Dockers\",\n                        \"channels\": [\n                            \"6261a62d228095484f4d819c\"\n                        ],\n                        \"location_type\": \"warehouse\",\n                        \"user_manager\": \"6205b6c28c4b848db5da887b\",\n                        \"address1\": \"santa victoria 538\",\n                        \"address2\": \"\",\n                        \"country\": \"chile\",\n                        \"city\": \"Las Condes\",\n                        \"province\": \"Región Metropolitana de Santiago\",\n                        \"province_code\": \"Región Metropolitana de Santiago\",\n                        \"province_name\": \"Región Metropolitana de Santiago\",\n                        \"is_enabled\": true,\n                        \"functions\": [\n                            \"shipping\",\n                            \"pickup\"\n                        ],\n                        \"has_devolution\": false,\n                        \"has_fulfillment\": true,\n                        \"createdAt\": \"2022-07-29T16:31:29.845Z\",\n                        \"updatedAt\": \"2024-04-24T16:05:26.239Z\",\n                        \"__v\": 0,\n                        \"fulfillment_locations\": [\n                            \"6205c4bc6cb3762a816d5a30\",\n                            \"626aae101f9fffd68c5461c8\"\n                        ],\n                        \"preparation_capacity\": 22,\n                        \"working_times\": {\n                            \"monday_to_friday\": {\n                                \"monday_to_friday_hours\": [\n                                    \"2023-09-06T08:00:00.000Z\",\n                                    \"2023-09-07T18:00:00.000Z\"\n                                ]\n                            }\n                        },\n                        \"classification_product_type\": {\n                            \"storage_capacity\": {\n                                \"xs\": {\n                                    \"limit\": 0\n                                },\n                                \"xxxxl\": {\n                                    \"limit\": 0\n                                },\n                                \"xxxl\": {\n                                    \"limit\": 0\n                                },\n                                \"xxl\": {\n                                    \"limit\": 0\n                                },\n                                \"xl\": {\n                                    \"limit\": 4\n                                },\n                                \"l\": {\n                                    \"limit\": 3\n                                },\n                                \"m\": {\n                                    \"limit\": 2\n                                },\n                                \"s\": {\n                                    \"limit\": 1,\n                                    \"used\": 478\n                                }\n                            },\n                            \"preparation_capacity_in_use\": 25\n                        },\n                        \"stock_setting\": {\n                            \"type_security\": \"not_security\",\n                            \"enabled\": true\n                        },\n                        \"timezone\": \"America/Santiago\",\n                        \"brands\": [\n                            \"SPARTA\",\n                            \"NEW BALANCE\"\n                        ],\n                        \"reposition_period\": {\n                            \"period\": \"custom\"\n                        },\n                        \"email\": \"fabian.mesias@be-flow.com\",\n                        \"latitude\": -36.609702126110236,\n                        \"longitude\": -72.10089109607932,\n                        \"phone\": \"+56966900259\"\n                    },\n                    \"consolidation\": {\n                        \"is_consolidation_fulfillment\": false,\n                        \"enabled\": false\n                    },\n                    \"customer\": {\n                        \"phone\": \"\"\n                    },\n                    \"shipping_address\": {\n                        \"address1\": \"Avenida Manquehue Sur 1144\",\n                        \"address2\": \"dpt/ofi 201\",\n                        \"number\": \"1144\",\n                        \"complement\": \"201\",\n                        \"city\": \"SANTIAGO\",\n                        \"country_code\": \"CL\",\n                        \"first_name\": \"Isac Grant\",\n                        \"last_name\": \"\",\n                        \"name\": \"Isac Grant\",\n                        \"phone\": \"+56967794937\",\n                        \"province\": \"REGIÓN METROPOLITANA DE SANTIAGO\",\n                        \"province_code\": \"\",\n                        \"zip\": \"7550000\",\n                        \"neighborhood\": \"LAS CONDES\"\n                    },\n                    \"destination\": {\n                        \"address1\": \"Avenida Manquehue Sur 1144\",\n                        \"address2\": \"dpt/ofi 201\",\n                        \"city\": \"SANTIAGO\",\n                        \"province\": \"REGIÓN METROPOLITANA DE SANTIAGO\",\n                        \"province_code\": \"\",\n                        \"province_name\": \"REGIÓN METROPOLITANA DE SANTIAGO\",\n                        \"zip\": \"7550000\",\n                        \"country\": \"\",\n                        \"phone\": \"+56967794937\"\n                    },\n                    \"shipping_service\": \"24 - PAQUETE EXPRESS DOMICILIO\",\n                    \"delivery_method\": \"shipping\",\n                    \"sales_channel\": \"6205bdfe2ca95c4a3c3ee181\",\n                    \"promised_date\": \"2023-06-29T06:29:59\",\n                    \"promised_date_range\": null,\n                    \"assigned_operators\": [],\n                    \"logistic_id\": \"66286c22a851c92d823e2011\",\n                    \"search_references\": [],\n                    \"flags\": {\n                        \"has_shipping\": false,\n                        \"fulfilled_reported\": false,\n                        \"delivered_reported\": false\n                    },\n                    \"shipping_items\": [],\n                    \"is_visible\": true,\n                    \"delivery_pin\": \"31725\",\n                    \"status_history\": [\n                        {\n                            \"status_type\": \"status\",\n                            \"status\": \"sac\",\n                            \"updatedAt\": \"2024-04-24T12:56:01.000Z\",\n                            \"_id\": \"66290161e7d3da7ebbec1d29\"\n                        },\n                        {\n                            \"status_type\": \"status\",\n                            \"status\": \"in_progress\",\n                            \"updatedAt\": \"2024-04-24T12:56:01.000Z\",\n                            \"_id\": \"66290161e7d3da7ebbec1d47\"\n                        },\n                        {\n                            \"status_type\": \"remove_items\",\n                            \"status\": \"removed\",\n                            \"updatedAt\": \"2024-04-24T12:56:03.911Z\",\n                            \"_id\": \"662901637ce060645b3c7609\"\n                        },\n                        {\n                            \"status_type\": \"status\",\n                            \"status\": \"sac\",\n                            \"updatedAt\": \"2024-04-24T13:11:54.000Z\",\n                            \"_id\": \"6629051a75afc992369f0285\"\n                        },\n                        {\n                            \"status_type\": \"status\",\n                            \"status\": \"in_progress\",\n                            \"updatedAt\": \"2024-04-24T13:11:54.000Z\",\n                            \"_id\": \"6629051a75afc992369f02aa\"\n                        },\n                        {\n                            \"status_type\": \"remove_items\",\n                            \"status\": \"removed\",\n                            \"updatedAt\": \"2024-04-24T13:11:57.050Z\",\n                            \"_id\": \"6629051df8726815e43bc9bb\"\n                        },\n                        {\n                            \"status_type\": \"status\",\n                            \"status\": \"sac\",\n                            \"updatedAt\": \"2024-04-24T13:12:15.000Z\",\n                            \"_id\": \"6629052f75afc992369f02da\"\n                        }\n                    ],\n                    \"createdAt\": \"2024-04-24T12:53:00.780Z\",\n                    \"updatedAt\": \"2024-04-24T13:19:40.515Z\",\n                    \"__v\": 0,\n                    \"manual_incidence_to_resolve\": \"product_in_bad_condition\",\n                    \"origin_sold_at\": \"2024-04-24T12:53:00.780Z\"\n                }\n            ],\n            \"packages\": [],\n            \"line_items_manual_incidences\": [\n                \"66290160e7d3da7ebbec1d08\",\n                \"6629051975afc992369f025a\",\n                \"6629052f75afc992369f02b0\"\n            ],\n            \"manual_incidences\": [],\n            \"currency\": \"CLP\",\n            \"total_price\": 59725,\n            \"total_discount\": -77621,\n            \"total_shipping\": 2376,\n            \"total_tax\": 0,\n            \"shipping_service\": {\n                \"name\": \"24 - PAQUETE EXPRESS DOMICILIO\"\n            },\n            \"receipt_type\": \"ticket\",\n            \"assigned_operators\": [],\n            \"payment_status\": \"paid\",\n            \"was_states_changed_externally\": true,\n            \"fulfillment_status\": \"sac\",\n            \"order_status\": \"open\",\n            \"sac_status\": \"in_normal_process\",\n            \"fulfillment_method\": \"Same Day\",\n            \"billing_address\": {\n                \"address1\": \"Avenida Manquehue Sur 1144\",\n                \"address2\": \"dptofi 201\",\n                \"number\": \"1144\",\n                \"complement\": \"201\",\n                \"city\": \"SANTIAGO\",\n                \"country_code\": \"CL\",\n                \"first_name\": \"Maegan Heaney\",\n                \"last_name\": \"\",\n                \"name\": \"Maegan Heaney\",\n                \"phone\": \"+56967794937\",\n                \"province\": \"REGIÓN METROPOLITANA DE SANTIAGO\",\n                \"province_code\": \"\",\n                \"zip\": \"7550000\",\n                \"neighborhood\": \"LAS CONDES\"\n            },\n            \"shipping_address\": {\n                \"address1\": \"Avenida Manquehue Sur 1144\",\n                \"address2\": \"dptofi 201\",\n                \"number\": \"1144\",\n                \"complement\": \"201\",\n                \"city\": \"SANTIAGO\",\n                \"country_code\": \"CL\",\n                \"first_name\": \"Maegan Heaney\",\n                \"last_name\": \"\",\n                \"name\": \"Maegan Heaney\",\n                \"phone\": \"+56967794937\",\n                \"province\": \"REGIÓN METROPOLITANA DE SANTIAGO\",\n                \"province_code\": \"\",\n                \"zip\": \"7550000\",\n                \"neighborhood\": \"LAS CONDES\"\n            },\n            \"customer\": {\n                \"customer_remote_id\": \"f5349f74-eb01-4d63-832c-2858f124a3f0\",\n                \"document_type\": \"rutCHL\",\n                \"document\": \"130681689\",\n                \"email\": \"Arden_Beier84@hotmail.com\",\n                \"first_name\": \"Wayne\",\n                \"last_name\": \"Doyle\",\n                \"phone\": \"+56967794937\",\n                \"is_business\": false,\n                \"fullname\": null\n            },\n            \"promised_date\": \"2023-06-29T06:29:59.000\",\n            \"tags\": [\n                \"DTE_TICKET_CREATED_FAILED\",\n                \"DTE_CREDIT_NOTE_CREATED_FAILED\"\n            ],\n            \"assigned_courier\": \"656fe78169c74d6837af7019\",\n            \"delivery_method\": \"shipping\",\n            \"transaction\": {\n                \"system_name\": \"Webpay\",\n                \"custom\": {\n                    \"tender_type\": \"30\",\n                    \"tender_payment_type\": \"Débito\",\n                    \"taken\": 59725,\n                    \"tender_name\": \"Webpay\",\n                    \"authorization_code\": \"005678\",\n                    \"checknumber\": \"005678\",\n                    \"installments\": 1,\n                    \"card_no\": \"0849\",\n                    \"cardtypename\": \"Webpay\",\n                    \"last_digits\": null\n                }\n            },\n            \"logistics_info\": [\n                {\n                    \"location_id\": \"62e40b61444b82677ad8118a\",\n                    \"consolidation_logistic_id\": null,\n                    \"delivery_method\": \"shipping\",\n                    \"courier_id\": \"656fe78169c74d6837af7019\",\n                    \"courier_service\": \"24 - PAQUETE EXPRESS DOMICILIO\",\n                    \"line_item_ids\": [\n                        \"66286c22a851c92d823e2010\"\n                    ],\n                    \"shipping_item_ids\": [],\n                    \"shipping_address\": {\n                        \"address1\": \"Avenida Manquehue Sur 1144\",\n                        \"address2\": \"dpt/ofi 201\",\n                        \"number\": \"1144\",\n                        \"complement\": \"201\",\n                        \"city\": \"SANTIAGO\",\n                        \"country_code\": \"CL\",\n                        \"first_name\": \"Isac Grant\",\n                        \"last_name\": \"\",\n                        \"name\": \"Isac Grant\",\n                        \"phone\": \"+56967794937\",\n                        \"province\": \"REGIÓN METROPOLITANA DE SANTIAGO\",\n                        \"province_code\": \"\",\n                        \"zip\": \"7550000\",\n                        \"neighborhood\": \"LAS CONDES\"\n                    },\n                    \"promised_date\": \"2023-06-29T06:29:59\",\n                    \"_id\": \"66286c22a851c92d823e2011\"\n                }\n            ],\n            \"disable_movements\": false,\n            \"disable_dte_movements\": false,\n            \"disable_prism_movements\": false,\n            \"disable_wms_movements\": false,\n            \"disable_auto_fulfillments_creation\": true,\n            \"archive_after_wms_movement\": false,\n            \"archive_after_sale_order_created\": false,\n            \"auto_archive\": false,\n            \"search_references\": [],\n            \"flags\": {\n                \"document_reported\": false,\n                \"handling_reported\": false,\n                \"fulfilled_reported\": false,\n                \"delivered_reported\": false\n            },\n            \"custom_tenders\": [],\n            \"has_been_prepared\": false,\n            \"origin_sold_at\": \"2023-02-14T16:00:01.0000000+00:00\",\n            \"origin_created_at\": \"2023-02-14T16:00:01.0000000+00:00\",\n            \"authorization_code\": \"\",\n            \"last_digits\": \"\",\n            \"payments\": [\n                {\n                    \"tender_type\": \"30\",\n                    \"tender_payment_type\": \"Débito\",\n                    \"taken\": 59725,\n                    \"tender_name\": \"Webpay\",\n                    \"authorization_code\": \"005678\",\n                    \"checknumber\": \"005678\",\n                    \"installments\": 1,\n                    \"card_no\": \"0849\",\n                    \"cardtypename\": \"Webpay\",\n                    \"last_digits\": null\n                },\n                {\n                    \"tender_type\": \"30\",\n                    \"tender_payment_type\": \"Débito\",\n                    \"taken\": 59725,\n                    \"tender_name\": \"Webpay\",\n                    \"authorization_code\": \"005678\",\n                    \"checknumber\": \"005678\",\n                    \"installments\": 1,\n                    \"card_no\": \"0849\",\n                    \"cardtypename\": \"Webpay\",\n                    \"last_digits\": null\n                }\n            ],\n            \"status_history\": [\n                {\n                    \"status_type\": \"fulfillment_status\",\n                    \"status\": \"unfulfilled\",\n                    \"updatedAt\": \"2024-04-24T02:19:17.541Z\",\n                    \"_id\": \"66286c252403df25bac92476\"\n                },\n                {\n                    \"status_type\": \"fulfillment_status\",\n                    \"status\": \"in_progress\",\n                    \"updatedAt\": \"2024-04-24T12:53:00.000Z\",\n                    \"_id\": \"662900acbc82c0fbb6e4e12c\"\n                },\n                {\n                    \"status_type\": \"fulfillment_status\",\n                    \"status\": \"sac\",\n                    \"updatedAt\": \"2024-04-24T12:56:01.000Z\",\n                    \"_id\": \"66290161e7d3da7ebbec1d1e\"\n                },\n                {\n                    \"status_type\": \"order_status\",\n                    \"status\": \"open\",\n                    \"updatedAt\": \"2024-04-24T12:56:01.000Z\",\n                    \"_id\": \"66290161e7d3da7ebbec1d40\"\n                },\n                {\n                    \"status_type\": \"fulfillment_status\",\n                    \"status\": \"sac\",\n                    \"updatedAt\": \"2024-04-24T13:11:54.000Z\",\n                    \"_id\": \"6629051a75afc992369f0275\"\n                },\n                {\n                    \"status_type\": \"order_status\",\n                    \"status\": \"open\",\n                    \"updatedAt\": \"2024-04-24T13:11:54.000Z\",\n                    \"_id\": \"6629051a75afc992369f02a1\"\n                },\n                {\n                    \"status_type\": \"fulfillment_status\",\n                    \"status\": \"sac\",\n                    \"updatedAt\": \"2024-04-24T13:12:15.000Z\",\n                    \"_id\": \"6629052f75afc992369f02c5\"\n                }\n            ],\n            \"original_line_items_raw\": [\n                {\n                    \"_id\": \"66286c22a851c92d823e2010\",\n                    \"logistic_id\": \"66286c22a851c92d823e2011\",\n                    \"location_name\": \"Almacen Dockers\",\n                    \"shipping_method\": \"shipping\",\n                    \"courier_name\": \"Correos de Chile\",\n                    \"courier_service\": \"24 - PAQUETE EXPRESS DOMICILIO\",\n                    \"type\": \"line_item\",\n                    \"name\": \"Short Ultimate Solid Straight Fit Negro 32\",\n                    \"remote_variant_id\": \"193239485417\",\n                    \"sku\": \"193239485417\",\n                    \"ean\": \"193239485417\",\n                    \"quantity\": 5,\n                    \"unit_price\": 19116,\n                    \"total_price\": 95580,\n                    \"unit_discount\": 25873.67,\n                    \"total_discount\": 129368.34999999999\n                },\n                {\n                    \"_id\": \"66286c22a851c92d823e2012\",\n                    \"logistic_id\": null,\n                    \"type\": \"shipping_item\",\n                    \"name\": \"Despacho\",\n                    \"sku\": \"Z2211\",\n                    \"quantity\": 1,\n                    \"price\": 2376\n                }\n            ],\n            \"createdAt\": \"2024-04-24T02:19:17.541Z\",\n            \"numeric_order_id\": 1714075978572,\n            \"note_attributes\": [],\n            \"flows\": [],\n            \"special_line_items\": [\n                {\n                    \"name\": \"Prueba ajuste de decimales\",\n                    \"quantity\": 1,\n                    \"unit_price\": 2,\n                    \"total_price\": 2,\n                    \"sku\": \"ADJ-DEC\",\n                    \"_id\": \"66286c252403df25bac92484\"\n                }\n            ],\n            \"updatedAt\": \"2024-04-24T13:45:20.998Z\",\n            \"__v\": 0,\n            \"original_order\": \"66286c22a851c92d823e1ffb\",\n            \"custom\": {},\n            \"location\": {\n                \"_id\": \"6205c4bc6cb3762a816d5a30\",\n                \"name\": \"Almacén Commerce\"\n            },\n            \"documents\": []\n        }\n    ],\n    \"hasNextPage\": true,\n    \"hasPrevPage\": false,\n    \"ids\": [\n        \"6622a1cf496818d50fbf8907\",\n        \"6622a4b51760c68df0866c1b\",\n        \"6622c5a65f4e5c6f458830d5\",\n        \"6622c7365f4e5c6f458830f0\",\n        \"6622c8335f4e5c6f45883105\",\n        \"6622c9855f4e5c6f4588311b\",\n        \"6622ca875f4e5c6f45883128\",\n        \"6622caf45f4e5c6f45883135\",\n        \"6622cbca5f4e5c6f45883148\",\n        \"6622cc415f4e5c6f45883155\",\n        \"6622cd7783af164db41e80ee\",\n        \"6622cea383af164db41e8106\"\n    ],\n    \"limit\": 1,\n    \"prevPage\": null,\n    \"nextPage\": 2,\n    \"page\": 1,\n    \"pagingCounter\": 1,\n    \"totalDocs\": 32,\n    \"totalPages\": 32\n}\n\n</code></pre>\n<h3 id=\"response--500--internal-server-error\">RESPONSE ( 500 ) Internal Server Error</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"statusCode\": 500,\n    \"error\": \"Internal Server Error\",\n    \"message\": \"Method not implemented.\"\n}\n\n</code></pre>\n","_postman_id":"76754784-e853-4628-b072-fc799a8ba79d"},{"name":"Service for delivery order to courier","item":[{"name":"make delivered to courier PROD","id":"874f3266-27c1-4e59-a4cf-4dcbcb677118","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"orders\": [ \n        \"bf_1000249808-F1\"\n    ],\n    \"manifest_id\": 2, \n    \"manifest_url\": \"https://www.test.com/test.pdf\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.be-flow.com/api/orders/make-delivered/courier","urlObject":{"protocol":"https","path":["api","orders","make-delivered","courier"],"host":["api","be-flow","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"874f3266-27c1-4e59-a4cf-4dcbcb677118"},{"name":"make delivered to courier DEV","id":"032714b7-0cf0-4299-adf5-ed34ff167d79","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"orders\": [ \n        \"bf_1000249808-F1\"\n    ],\n    \"manifest_id\": 2, \n    \"manifest_url\": \"https://www.test.com/test.pdf\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api-dev.be-flow.com/api/orders/make-delivered/courier","urlObject":{"protocol":"https","path":["api","orders","make-delivered","courier"],"host":["api-dev","be-flow","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"032714b7-0cf0-4299-adf5-ed34ff167d79"},{"name":"make delivered to courier DEMO","id":"e6f0215b-b4f1-4450-bd5e-d2f49a98d405","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"orders\": [ \n        \"bf_1000249808-F1\"\n    ],\n    \"manifest_id\": 2, \n    \"manifest_url\": \"https://www.test.com/test.pdf\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api-demo.be-flow.com/api/orders/make-delivered/courier","urlObject":{"protocol":"https","path":["api","orders","make-delivered","courier"],"host":["api-demo","be-flow","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"e6f0215b-b4f1-4450-bd5e-d2f49a98d405"}],"id":"66bcda18-5556-4b6a-81a2-a16bff3c591f","description":"<h4 id=\"description\">Description:</h4>\n<p>Service to inform the delivery of the orders to the courier.</p>\n<hr />\n<h4 id=\"to-consider\">To consider:</h4>\n<p>The service will be able to execute the state change upon receiving the remote order ID or fulfillment ID.</p>\n<hr />\n<h4 id=\"body\">Body</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>description</strong></th>\n<th><strong>required</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>orders</td>\n<td>Array of fulfillments or remote order id</td>\n<td>True</td>\n</tr>\n<tr>\n<td>manifest_id</td>\n<td>Delivery manifest id</td>\n<td>False</td>\n</tr>\n<tr>\n<td>manifest_url</td>\n<td>Delivery manifest url</td>\n<td>False</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<p><strong>Authorization:</strong> Bearer Token</p>\n<p><strong>Body Example 1</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"orders\": [ \n        \"331337\",\n        \"331338-F1\",\n    ],\n    \"manifest_id\": \"112\",\n    \"manifest_url\": \"https://www.usableyaccesible.com/manifiesto_de_entrega.pdf\"\n}\n\n</code></pre>\n<hr />\n<p><strong>Schema:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"orders\" : [String] Array, // Required\n    \"manifest_id\": String,         // Optional \n    \"manifest_url\": String    // Optional\n}\n\n</code></pre>\n<h4 id=\"possible-reponses\">Possible reponses:</h4>\n<h4 id=\"200--ok-\">200 ( OK )</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"orders_delivered\": [\n        {\n            \"remote_order_id\": \"bf_1000249808-F1\",\n            \"order_id\": \"6662228ee0affb0333fbe064\",\n            \"fulfillment_id\": \"66622377d4da6ab4636897dd\",\n            \"message\": \"The order state was successfully changed to partially_delivered \",\n            \"fulfillment_name\": \"bf_1000249808-F1\"\n        }\n    ],\n    \"orders_not_delivered\": []\n}\n\n</code></pre>\n<h4 id=\"200--ok--1\">200 ( OK )</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"orders_delivered\": [],\n    \"orders_not_delivered\": [\n        {\n            \"remote_order_id\": \"331337\",\n            \"order_id\": \"\",\n            \"message\": \"The status of the order could not be changed to delivered because it has not found, please verify.\",\n            \"fulfillment_id\": \"\",\n            \"fulfillment_name\": \"\"\n        }\n    ]\n}\n\n</code></pre>\n<h4 id=\"400-bad-request\">400 (Bad Request)</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"statusCode\": 400,\n    \"error\": \"Bad Request\",\n    \"message\": \"message\"\n}\n\n</code></pre>\n","_postman_id":"66bcda18-5556-4b6a-81a2-a16bff3c591f"},{"name":"Report Document","item":[{"name":"REPORT DOCUMENT DEV","id":"6f41dec7-d7cc-4157-a726-5d2239280f1f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"remoteOrderID\": \"1218412591283-01\",  // ID de pedido\n    \"documentUrl\": \"https://andes-commerce-cloud-prod-documents.s3.amazonaws.com/documents/gosocket/22012-RRtx5LsXYwBdmS25DTH_n.pdf\", //url del documento pdf\n    \"documentNumber\": \"22012\", // folio\n    \"documentType\": 3 // tipo de documento \n}","options":{"raw":{"language":"json"}}},"url":"https://api-dev.be-flow.com/api/documents/report","urlObject":{"protocol":"https","path":["api","documents","report"],"host":["api-dev","be-flow","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"6f41dec7-d7cc-4157-a726-5d2239280f1f"},{"name":"REPORT DOCUMENT DEMO","id":"49d1f3b7-af8e-4382-b6fd-1ed4f82c28f1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"remoteOrderID\": \"1218412591283-01\",  // ID de pedido\n    \"documentUrl\": \"https://andes-commerce-cloud-prod-documents.s3.amazonaws.com/documents/gosocket/22012-RRtx5LsXYwBdmS25DTH_n.pdf\", //url del documento pdf\n    \"documentNumber\": \"22012\", // folio\n    \"documentType\": 3 // tipo de documento \n}","options":{"raw":{"language":"json"}}},"url":"https://api-demo.be-flow.com/api/documents/report","urlObject":{"protocol":"https","path":["api","documents","report"],"host":["api-demo","be-flow","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"49d1f3b7-af8e-4382-b6fd-1ed4f82c28f1"},{"name":"REPORT DOCUMENT PROD","id":"5c52f8d8-8c79-429e-91ea-1b4a173f9cc7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"remoteOrderID\": \"1218412591283-01\",  // ID de pedido\n    \"documentUrl\": \"https://andes-commerce-cloud-prod-documents.s3.amazonaws.com/documents/gosocket/22012-RRtx5LsXYwBdmS25DTH_n.pdf\", //url del documento pdf\n    \"documentNumber\": \"22012\", // folio\n    \"documentType\": 3 // tipo de documento \n}","options":{"raw":{"language":"json"}}},"url":"https://api.be-flow.com/api/documents/report","urlObject":{"protocol":"https","path":["api","documents","report"],"host":["api","be-flow","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"5c52f8d8-8c79-429e-91ea-1b4a173f9cc7"}],"id":"9736f99c-f60d-4bb6-8641-ca46c5a9dfc7","description":"<p><strong>Descripción del Endpoint:</strong></p>\n<ul>\n<li><p><strong>Método:</strong> POST</p>\n</li>\n<li><p><strong>Descripción:</strong> Este endpoint se utiliza para reportar documentos al OMS</p>\n</li>\n</ul>\n<p><strong>Headers:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Authorization</td>\n<td>Bearer <code>{tu_token_aqui}</code></td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Cuerpo de la Solicitud (Body):</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"remoteOrderID\": \"1218412591283-01\",  // ID de pedido\n    \"documentUrl\": \"https://andes-commerce-cloud-prod-documents.s3.amazonaws.com/documents/gosocket/22012-RRtx5LsXYwBdmS25DTH_n.pdf\", // URL del documento PDF\n    \"documentNumber\": \"22012\", // Folio\n    \"documentType\": 3 // Tipo de documento\n}\n\n</code></pre>\n<p><strong>Ejemplos de Respuesta:</strong></p>\n<p><strong>Codigo 200: Success</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{ \"success\": true, \"message\": \"Documento enviado con éxito.\"}\n\n</code></pre>\n<p><strong>Notas Adicionales:</strong></p>\n<ul>\n<li><p>Asegúrate de que el token de autenticación sea válido antes de enviar la solicitud.</p>\n</li>\n<li><p>Verifica que la URL del documento sea accesible y esté en el formato correcto.</p>\n</li>\n<li><p>Verifica que el id del pedido sea el correcto</p>\n</li>\n</ul>\n","_postman_id":"9736f99c-f60d-4bb6-8641-ca46c5a9dfc7"},{"name":"Service for delivery orders to client","item":[{"name":"change order status to delivered  DEV","id":"a82279f4-3c3a-4200-9ed2-d103b3bf314d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"orders\": [ // remote_order_ids\n        {\n            \"remote_order_id\": \"00009506\", // remote_order_ids\n            \"comments\": \"test\"\n        },\n        {\n            \"fulfillment_id\": \"6826150b3a0536a568bb9a57\", // fulfillment_id\n            \"comments\": \"test\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api-dev.be-flow.com/api/orders/make-delivered-v2/client","urlObject":{"protocol":"https","path":["api","orders","make-delivered-v2","client"],"host":["api-dev","be-flow","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"a82279f4-3c3a-4200-9ed2-d103b3bf314d"},{"name":"change order status to delivered DEMO","id":"7c312525-aa09-4958-991b-1674c5c9b418","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"orders\": [ // remote_order_ids\n        {\n            \"remote_order_id\": \"00009506\", // remote_order_ids\n            \"comments\": \"test\"\n        },\n        {\n            \"fulfillment_id\": \"6826150b3a0536a568bb9a57\", // fulfillment_id\n            \"comments\": \"test\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api-demo.be-flow.com/api/orders/make-delivered-v2/client","urlObject":{"protocol":"https","path":["api","orders","make-delivered-v2","client"],"host":["api-demo","be-flow","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"7c312525-aa09-4958-991b-1674c5c9b418"},{"name":"change order status to delivered PROD","id":"8d81128e-6cc1-4f13-818a-78165f0c3dad","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"orders\": [ // remote_order_ids\n        {\n            \"remote_order_id\": \"00009506\", // remote_order_ids\n            \"comments\": \"test\"\n        },\n        {\n            \"fulfillment_id\": \"6826150b3a0536a568bb9a57\", // fulfillment_id\n            \"comments\": \"test\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.be-flow.com/api/orders/make-delivered-v2/client","urlObject":{"protocol":"https","path":["api","orders","make-delivered-v2","client"],"host":["api","be-flow","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"8d81128e-6cc1-4f13-818a-78165f0c3dad"}],"id":"71e15361-8c1d-4596-b826-69927135a86d","description":"<h4 id=\"description\">Description:</h4>\n<p>This endpoint is used to mark orders as delivered for a client.</p>\n<hr />\n<h4 id=\"to-consider\">To consider:</h4>\n<p>The service will be able to execute the state change upon receiving the remote order ID or fulfillment ID.</p>\n<hr />\n<h4 id=\"body\">Body</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>description</strong></th>\n<th><strong>required</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>orders (array)</td>\n<td><strong>Array attributes:</strong>  <br /><em><strong>remote_order_id</strong></em> (string):  <br />Order ID in the e-commerce or marketplace  <br /><strong>or</strong>  <br /><em><strong>fulfillment_id</strong></em> (string):  <br />OMS ID of fulfillment  <br />  <br />  <br />  <br /><strong>comments</strong> (string): comment associated with the delivery</td>\n<td>**  <br />True**  <br />  <br />  <br />  <br />  <br />  <br />**  <br />False**</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<p><strong>Authorization:</strong> Bearer Token</p>\n<p><strong>Body Example 1</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"orders\": [ \n       {\n        \"remote_order_id\": \"331337\",\n        \"comments\": \"Entrega parcial\"\n        },\n        {\n         \"remote_order_id\": \"4532455\",\n         \"comments\": \"Entrega total\"\n        }\n    ]\n}\n\n</code></pre>\n<hr />\n<p><strong>Schema:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">components:\n  schemas:\n    UserArray:\n      type: array\n      items:\n      description: Array of orders delivered to the client\n      example:\n        - remote_order_id: 1, comments: \"Entregado a: Liz taylor\"\n\n</code></pre>\n<h4 id=\"possible-reponses\">Possible reponses:</h4>\n<ul>\n<li><p>The API may return additional error messages depending on the specific error encountered, which may include:</p>\n<p>  - The status of the order could not be changed to delivered because it has not found, please verify.<br />  - The order state could not be changed to delivered, because there are multiples fulfillments with the same Order ID. Please provide de fulfillment ID.<br />  - The order state could not be changed to delivered because it was already delivered to client.<br />  - The order state could not be changed to shipped because it was already shipped.<br />  - The order state could not be changed to delivered because it was cancelled.<br />  - The order state could not be changed to delivered because it has not yet been reported as delivered to courier.</p>\n</li>\n</ul>\n<h4 id=\"200--ok-\">200 ( OK )</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"orders_delivered\": [\n        {\n            \"remote_order_id\": \"JG-CASH-ON-DELIVERY-007\",\n            \"order_id\": \"682702431e29f60f81f0e601\",\n            \"fulfillment_id\": \"6827025324bfa1b1ac5b2b9b\",\n            \"message\": \"The order state was successfully changed to delivered \",\n            \"fulfillment_name\": \"JG-CASH-ON-DELIVERY-007-F1\"\n        }\n    ],\n    \"orders_not_delivered\": []\n}\n\n</code></pre>\n<h4 id=\"200--ok--1\">200 ( OK )</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"orders_delivered\": [],\n    \"orders_not_delivered\": [\n        {\n            \"remote_order_id\": \"838701973\",\n            \"order_id\": \"\",\n            \"message\": \"The order state could not be changed to delivered because it was already delivered to client.\",\n            \"fulfillment_id\": \"\",\n            \"fulfillment_name\": \"\"\n        },\n        {\n            \"order_id\": \"832404223\",\n            \"message\": \"The order state could not be changed to shipped because it was not delivered to courier.\",\n            \"fulfillment_id\": \"\",\n            \"fulfillment_name\": \"\"\n        }\n    ]\n}\n\n</code></pre>\n<h4 id=\"400-bad-request\">400 (Bad Request)</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"statusCode\": 400,\n    \"error\": \"Bad Request\",\n    \"message\": \"message\"\n}\n\n</code></pre>\n","_postman_id":"71e15361-8c1d-4596-b826-69927135a86d"},{"name":"Service for reporting a POS Return","item":[{"name":"ReturnReport DEV","id":"b7301244-dcfd-4019-9880-2416810ed5cd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"connection-token","value":"{{token DEV}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"remote_order_id\": \"1529200655677-01\",\n    \"folio\": \"222\",\n    \"document_url\": \"https://andes-commerce-cloud-prod-documents.s3.amazonaws.com/documents/bes_dte_native/2747-MRKnYP4K3DBIONGwIU-Qi.pdf\",\n    \"document_type\": \"credit_note\",\n    \"items\": [\n        {\n            \"sku\": \"197021117722\",\n            \"quantity\": 2\n        }\n    ],\n    \"report_cancelation\": false\n}","options":{"raw":{"language":"json"}}},"url":"https://api-dev.be-flow.com/orders/returnReport","urlObject":{"protocol":"https","path":["orders","returnReport"],"host":["api-dev","be-flow","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"b7301244-dcfd-4019-9880-2416810ed5cd"},{"name":"ReturnReport DEMO","id":"c4364e9b-932b-45b0-bdd1-1e3f69707a8b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"connection-token","value":"{{token QA}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"remote_order_id\": \"1529200655677-01\",\n    \"folio\": \"222\",\n    \"document_url\": \"https://andes-commerce-cloud-prod-documents.s3.amazonaws.com/documents/bes_dte_native/2747-MRKnYP4K3DBIONGwIU-Qi.pdf\",\n    \"document_type\": \"credit_note\",\n    \"items\": [\n        {\n            \"sku\": \"197021117722\",\n            \"quantity\": 2\n        }\n    ],\n    \"report_cancelation\": false\n}","options":{"raw":{"language":"json"}}},"url":"https://api-demo.be-flow.com/orders/returnReport","urlObject":{"protocol":"https","path":["orders","returnReport"],"host":["api-demo","be-flow","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"c4364e9b-932b-45b0-bdd1-1e3f69707a8b"},{"name":"ReturnReport PROD","id":"748bd2e9-de82-4722-b33f-0cc1d8dc982e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"connection-token","value":"{{token PROD}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"remote_order_id\": \"1529200655677-01\",\n    \"folio\": \"222\",\n    \"document_url\": \"https://andes-commerce-cloud-prod-documents.s3.amazonaws.com/documents/bes_dte_native/2747-MRKnYP4K3DBIONGwIU-Qi.pdf\",\n    \"document_type\": \"credit_note\",\n    \"items\": [\n        {\n            \"sku\": \"197021117722\",\n            \"quantity\": 2\n        }\n    ],\n    \"report_cancelation\": false\n}","options":{"raw":{"language":"json"}}},"url":"https://api.be-flow.com/orders/returnReport","urlObject":{"protocol":"https","path":["orders","returnReport"],"host":["api","be-flow","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"748bd2e9-de82-4722-b33f-0cc1d8dc982e"}],"id":"91977de3-d73e-4ce3-8c93-fe8d9ca0bc4d","description":"<h4 id=\"description\">Description:</h4>\n<p>Service for reporting store returns<br />The service can receive returned items and credit notes, and also offers the option to inform the order originator that the credit note was generated.<br />Upon receiving the report, OMS records the report and associates it with the items in the order.</p>\n<hr />\n<h4 id=\"body\">Body</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>description</strong></th>\n<th><strong>required</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>orders (array)</td>\n<td><strong>Array attributes:</strong>  <br /><em><strong>remote_order_id</strong></em> (string):  <br />Order ID in the e-commerce or marketplace  <br /><strong>or</strong>  <br /><em><strong>fulfillment_id</strong></em> (string):  <br />OMS ID of fulfillment  <br />  <br />  <br />  <br /><strong>comments</strong> (string): comment associated with the delivery</td>\n<td>**  <br />True**  <br />  <br />  <br />  <br />  <br />  <br />**  <br />False**</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<p><strong>Authorization:</strong><br />Headers: connection-token</p>\n<p><strong>Body Example 1</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"remote_order_id\": \"20000542507\",\n    \"folio\": \"17194891421861\",\n    \"document_url\": \"https://andes-commerce-cloud-prod-documents.s3.amazonaws.com/documents/bes_dte_native/2747-MRKnYP4K3DBIONGwIU-Qi.pdf\",\n    \"document_type\": \"credit_note\",\n    \"items\": [\n        {\n            \"sku\": \"191816835051\",\n            \"quantity\": 1\n        },\n        {\n            \"sku\": \"039307480666\",\n            \"quantity\": 1\n        }\n    ],\n    \"report_cancelation\": false\n}\n\n</code></pre>\n<hr />\n<p><strong>Schema:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"$schema\": \"http://json-schema.org\",\n  \"title\": \"Document Request\",\n  \"description\": \"Schema for documenting a transaction with items\",\n  \"type\": \"object\",\n  \"required\": [\"remote_order_id\", \"folio\", \"document_url\", \"document_type\", \"items\"],\n  \"properties\": {\n    \"remote_order_id\": {\n      \"type\": \"string\",\n      \"description\": \"Unique identifier of the order in the remote system\"\n    },\n    \"folio\": {\n      \"type\": \"string\",\n      \"description\": \"Invoice document number\"\n    },\n    \"document_url\": {\n      \"type\": \"string\",\n      \"description\": \"URL invoice\",\n      \"format\": \"uri\"\n    },\n    \"document_type\": {\n      \"type\": \"string\",\n      \"description\": \"Type of the document being processed\",\n      \"enum\": [\"credit_note\"],\n      \"default\": \"credit_note\"\n    },\n    \"items\": {\n      \"type\": \"array\",\n      \"description\": \"List of items associated with the document\",\n      \"minItems\": 1,\n      \"items\": {\n        \"type\": \"object\",\n        \"required\": [\"sku\", \"quantity\"],\n        \"properties\": {\n          \"sku\": {\n            \"type\": \"string\",\n            \"description\": \"Stock Keeping Unit identifier for the product\"\n          },\n          \"quantity\": {\n            \"type\": \"integer\",\n            \"description\": \"Quantity of the item\",\n            \"minimum\": 1\n          }\n        }\n      }\n    },\n    \"report_cancelation\": {\n      \"type\": \"boolean\",\n      \"description\": \"Flag to indicate if this document reports a cancellation\",\n      \"default\": false\n    }\n  }\n}\n\n</code></pre>\n<h4 id=\"possible-reponses\">Possible reponses:</h4>\n<ul>\n<li><p>200</p>\n</li>\n<li><p>400</p>\n</li>\n</ul>\n<h4 id=\"200--ok-\">200 ( OK )</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"response_code\": \"00\",\n    \"response_message\": \"Processed in queue correctly\"\n}\n\n</code></pre>\n<h4 id=\"400-bad-request\">400 (Bad Request)</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"response_code\": \"01\",\n    \"response_message\": \"Order LDCR-CD-RT-001 not found\"\n}\n\n</code></pre>\n<h4 id=\"400-bad-request-1\">400 (Bad Request)</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"statusCode\": 400,\n    \"error\": \"Bad Request\",\n    \"message\": \"message\"\n}\n\n</code></pre>\n","_postman_id":"91977de3-d73e-4ce3-8c93-fe8d9ca0bc4d"},{"name":"Service for reporting sales in a store","item":[{"name":"Order report POS V2 DEV","id":"5cf5a2e9-d4c7-4ffe-ad54-451963799d81","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"pos_version\": \"v2\",\n    \"order_id\": \"pos-39-8369\",\n    \"name\": \"pos-39-8369\",\n    \"origin\": \"POS\",\n    \"sell_date_origin\": \"2024-09-23T16:53:48.000-03:00\",\n    \"store_id\": \"7\",\n    \"fulfillment_method\": \"pickup\",\n    \"currency\": \"CLP\",\n    \"customer\": {\n        \"document_type\": \"RUT\",\n        \"document\": \"14050569-2\",\n        \"email\": \"lpl@ldddpl.cl\",\n        \"first_name\": \"LUIS\",\n        \"last_name\": \"PARRAGUEZ\",\n        \"phone\": \"966066631\"\n    },\n    \"document\": {\n        \"folio\": \"8369\",\n        \"url\": \"https://linktodocument.com/ticket.pdf\",\n        \"type\": \"ticket\"\n    },\n    \"payments\": [\n        {\n            \"payment_type\": \"Efectivo\",\n            \"card_type_name\": \"Efectivo\",\n            \"payment_amount\": 101980,\n            \"installments\": 1\n        }\n    ],\n    \"shipping_address\": {\n        \"first_name\": \"LUIS\",\n        \"last_name\": \"PARRAGUEZ\",\n        \"number\": \"1052\",\n        \"complement\": \"\",\n        \"neighborhood\": \"La Florida\",\n        \"address1\": \"1207 \",\n        \"address2\": \"\",\n        \"phone\": \"966066631\",\n        \"city\": \"La Florida\",\n        \"zip\": \"\",\n        \"province\": \"Metropolitana de Santiago\",\n        \"province_code\": \"\",\n        \"country_code\": \"CL\"\n    },\n    \"billing_address\": {\n        \"first_name\": \"LUIS\",\n        \"last_name\": \"PARRAGUEZ\",\n        \"number\": \"1052\",\n        \"complement\": \"\",\n        \"neighborhood\": \"La Florida\",\n        \"address1\": \"1207\",\n        \"address2\": \"\",\n        \"phone\": \"\",\n        \"city\": \"La Florida\",\n        \"zip\": \"\",\n        \"province\": \"Metropolitana de Santiago\",\n        \"province_code\": \"\",\n        \"country_code\": \"CL\"\n    },\n    \"total_shipping_amount\": 0,\n    \"items\": [\n        {\n            \"remote_variant_id\": \"889319349129\",\n            \"variant_title\": \"item 1\",\n            \"vendor\": \"vendor 1\",\n            \"dimensions\": {\n                \"width\": 30,\n                \"height\": 30,\n                \"length\": 30,\n                \"grams\": 1000\n            },\n            \"sku\": \"889319349129\",\n            \"quantity\": 1,\n            \"unit_price\": 46990,\n            \"unit_discount\": 0,\n            \"store_source_id\": \"46\",\n            \"store_id\": \"6\",\n            \"fulfillment_method\": \"pickup\",\n            \"shipping_deadline\": \"2024-09-25T17:52:00-03:00\",\n            \"shipping_amount\": 0\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://tfxc6g0dvg.execute-api.us-east-1.amazonaws.com/dev/webhook/627b1acc9c6e2355d67bfe3f","urlObject":{"protocol":"https","path":["dev","webhook","627b1acc9c6e2355d67bfe3f"],"host":["tfxc6g0dvg","execute-api","us-east-1","amazonaws","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"5cf5a2e9-d4c7-4ffe-ad54-451963799d81"},{"name":"Order report POS V2 DEMO","id":"93e2bbd4-04a7-42bd-80f0-f9ff7ce7e99d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"pos_version\": \"v2\",\n    \"order_id\": \"pos-39-8369\",\n    \"name\": \"pos-39-8369\",\n    \"origin\": \"POS\",\n    \"sell_date_origin\": \"2024-09-23T16:53:48.000-03:00\",\n    \"store_id\": \"7\",\n    \"fulfillment_method\": \"pickup\",\n    \"currency\": \"CLP\",\n    \"customer\": {\n        \"document_type\": \"RUT\",\n        \"document\": \"14050569-2\",\n        \"email\": \"lpl@ldddpl.cl\",\n        \"first_name\": \"LUIS\",\n        \"last_name\": \"PARRAGUEZ\",\n        \"phone\": \"966066631\"\n    },\n    \"document\": {\n        \"folio\": \"8369\",\n        \"url\": \"https://linktodocument.com/ticket.pdf\",\n        \"type\": \"ticket\"\n    },\n    \"payments\": [\n        {\n            \"payment_type\": \"Efectivo\",\n            \"card_type_name\": \"Efectivo\",\n            \"payment_amount\": 101980,\n            \"installments\": 1\n        }\n    ],\n    \"shipping_address\": {\n        \"first_name\": \"LUIS\",\n        \"last_name\": \"PARRAGUEZ\",\n        \"number\": \"1052\",\n        \"complement\": \"\",\n        \"neighborhood\": \"La Florida\",\n        \"address1\": \"1207 \",\n        \"address2\": \"\",\n        \"phone\": \"966066631\",\n        \"city\": \"La Florida\",\n        \"zip\": \"\",\n        \"province\": \"Metropolitana de Santiago\",\n        \"province_code\": \"\",\n        \"country_code\": \"CL\"\n    },\n    \"billing_address\": {\n        \"first_name\": \"LUIS\",\n        \"last_name\": \"PARRAGUEZ\",\n        \"number\": \"1052\",\n        \"complement\": \"\",\n        \"neighborhood\": \"La Florida\",\n        \"address1\": \"1207\",\n        \"address2\": \"\",\n        \"phone\": \"\",\n        \"city\": \"La Florida\",\n        \"zip\": \"\",\n        \"province\": \"Metropolitana de Santiago\",\n        \"province_code\": \"\",\n        \"country_code\": \"CL\"\n    },\n    \"total_shipping_amount\": 0,\n    \"items\": [\n        {\n            \"remote_variant_id\": \"889319349129\",\n            \"variant_title\": \"item 1\",\n            \"vendor\": \"vendor 1\",\n            \"dimensions\": {\n                \"width\": 30,\n                \"height\": 30,\n                \"length\": 30,\n                \"grams\": 1000\n            },\n            \"sku\": \"889319349129\",\n            \"quantity\": 1,\n            \"unit_price\": 46990,\n            \"unit_discount\": 0,\n            \"store_source_id\": \"46\",\n            \"store_id\": \"6\",\n            \"fulfillment_method\": \"pickup\",\n            \"shipping_deadline\": \"2024-09-25T17:52:00-03:00\",\n            \"shipping_amount\": 0\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://3xewdm3uef.execute-api.us-east-1.amazonaws.com/demo/webhook/627b1acc9c6e2355d67bfe3f","urlObject":{"protocol":"https","path":["demo","webhook","627b1acc9c6e2355d67bfe3f"],"host":["3xewdm3uef","execute-api","us-east-1","amazonaws","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"93e2bbd4-04a7-42bd-80f0-f9ff7ce7e99d"},{"name":"Order report POS V2 PROD","id":"1180effb-4262-4314-89ba-48418b4df923","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"pos_version\": \"v2\",\n    \"order_id\": \"pos-39-8369\",\n    \"name\": \"pos-39-8369\",\n    \"origin\": \"POS\",\n    \"sell_date_origin\": \"2024-09-23T16:53:48.000-03:00\",\n    \"store_id\": \"7\",\n    \"fulfillment_method\": \"pickup\",\n    \"currency\": \"CLP\",\n    \"customer\": {\n        \"document_type\": \"RUT\",\n        \"document\": \"14050569-2\",\n        \"email\": \"lpl@ldddpl.cl\",\n        \"first_name\": \"LUIS\",\n        \"last_name\": \"PARRAGUEZ\",\n        \"phone\": \"966066631\"\n    },\n    \"document\": {\n        \"folio\": \"8369\",\n        \"url\": \"https://linktodocument.com/ticket.pdf\",\n        \"type\": \"ticket\"\n    },\n    \"payments\": [\n        {\n            \"payment_type\": \"Efectivo\",\n            \"card_type_name\": \"Efectivo\",\n            \"payment_amount\": 101980,\n            \"installments\": 1\n        }\n    ],\n    \"shipping_address\": {\n        \"first_name\": \"LUIS\",\n        \"last_name\": \"PARRAGUEZ\",\n        \"number\": \"1052\",\n        \"complement\": \"\",\n        \"neighborhood\": \"La Florida\",\n        \"address1\": \"1207 \",\n        \"address2\": \"\",\n        \"phone\": \"966066631\",\n        \"city\": \"La Florida\",\n        \"zip\": \"\",\n        \"province\": \"Metropolitana de Santiago\",\n        \"province_code\": \"\",\n        \"country_code\": \"CL\"\n    },\n    \"billing_address\": {\n        \"first_name\": \"LUIS\",\n        \"last_name\": \"PARRAGUEZ\",\n        \"number\": \"1052\",\n        \"complement\": \"\",\n        \"neighborhood\": \"La Florida\",\n        \"address1\": \"1207\",\n        \"address2\": \"\",\n        \"phone\": \"\",\n        \"city\": \"La Florida\",\n        \"zip\": \"\",\n        \"province\": \"Metropolitana de Santiago\",\n        \"province_code\": \"\",\n        \"country_code\": \"CL\"\n    },\n    \"total_shipping_amount\": 0,\n    \"items\": [\n        {\n            \"remote_variant_id\": \"889319349129\",\n            \"variant_title\": \"item 1\",\n            \"vendor\": \"vendor 1\",\n            \"dimensions\": {\n                \"width\": 30,\n                \"height\": 30,\n                \"length\": 30,\n                \"grams\": 1000\n            },\n            \"sku\": \"889319349129\",\n            \"quantity\": 1,\n            \"unit_price\": 46990,\n            \"unit_discount\": 0,\n            \"store_source_id\": \"46\",\n            \"store_id\": \"6\",\n            \"fulfillment_method\": \"pickup\",\n            \"shipping_deadline\": \"2024-09-25T17:52:00-03:00\",\n            \"shipping_amount\": 0\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://8z9btwiu9d.execute-api.us-east-1.amazonaws.com/prod/webhook/6345e7a8ccbf42465f3aee14","urlObject":{"protocol":"https","path":["prod","webhook","6345e7a8ccbf42465f3aee14"],"host":["8z9btwiu9d","execute-api","us-east-1","amazonaws","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"1180effb-4262-4314-89ba-48418b4df923"}],"id":"58614dfd-06f5-46d3-933e-886a931bdfe9","description":"<h4 id=\"description\">Description:</h4>\n<p>Service that offers the possibility of informing OMS about a sale that was made in the store.</p>\n<hr />\n<p><strong>Body Example 1</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"pos_version\": \"v2\",\n    \"order_id\": \"pos-39-18315\", // Order number - Required\n    \"name\": \"pos-39-18315\", // Order name - Required\n    \"origin\": \"POS\", // Post Origin Order - Required\n    \"sell_date_origin\": \"2024-07-02T12:37:01\", // Post Origin Order - Optional\n    \"store_id\": \"0\", // Tienda Web    --&gt; Store key for sell report - Required\n    \"fulfillment_method\": \"shipping\", // Main fulfillment method associated to the order  - Required\n    \"currency\": \"CLP\", // Currency - Required\n    \"customer\": { // Customer data Object- Required\n        \"document_type\": \"RUT\", // Document type (RUT, PASSPORT, DNI, ID)- Required\n        \"document\": \"12217347-K\", // Document number - Required\n        \"email\": \"test@test.com\", // E-mail - Optional\n        \"first_name\": \"JAIME\", // Name - Required\n        \"last_name\": \"RAMOS\", // Last Name - Required\n        \"phone\": \"966066697\" // Phone number  - Optional\n    },\n    \"document\": { // Invoice-ticket info Object - Required\n        \"folio\": \"18314\", // ticket number - Required\n        \"url\": \"https://linktodocument.com/ticket.pdf\", // Ticket URL - Required\n        \"type\": \"ticket\" // Document type - Required\n    },\n    \"payments\": [ // Invoice-ticket info Object - Required\n        {\n            \"payment_type\": \"Efectivo\", //Required\n            \"card_type_name\": \"-\", //Required\n            \"payment_amount\": 54990, //Required\n            \"installments\": 0 //Optional si no viene es 1\n        }\n    ],\n    \"shipping_address\": { // Main Object Shipping address - Required\n        \"first_name\": \"JAIME\", // FirtsName - Required\n        \"last_name\": \"revRAMOSeco\", // LastName  - Required\n        \"number\": \"1020\", // Address number  - Required\n        \"complement\": \"casa\", // Address complement - Optional\n        \"neighborhood\": \"molina\", // Comuna - Required\n        \"address1\": \"dir 1\", // Address1  - Required\n        \"address2\": \"dis 2\", // Address2  - Optional\n        \"phone\": \"98765432\", // Phone number - Required\n        \"city\": \"molina\", // City  - Required\n        \"zip\": \"3380000\", // Zip code - Optional\n        \"province\": \"maule\", // Province - Required\n        \"province_code\": \"111\", // Province code- Optional\n        \"country_code\": \"CL\" // Country code - Required\n    },\n    \"billing_address\": {\n        \"first_name\": \"JAIME\", // FirtsName - Required\n        \"last_name\": \"RAMOS\", // LastName  - Required\n        \"number\": \"1020\", // Address number  - Required\n        \"complement\": \"casa\", // Address complement - Optional\n        \"neighborhood\": \"molina\", // Comuna - Required\n        \"address1\": \"dir 1\", // Address1  - Required\n        \"address2\": \"dis 2\", // Address2  - Optional\n        \"phone\": \"98765432\", // Phone number - Required\n        \"city\": \"molina\", // City  - Required\n        \"zip\": \"3380000\", // Zip code - Optional\n        \"province\": \"maule\", // Province - Required\n        \"province_code\": \"111\", // Province code- Optional\n        \"country_code\": \"CL\" // Country code - Required\n    },\n    \"items\": [\n        {\n            \"remote_variant_id\": \"00501-0193-32-32\", // code with which the item is identified in the source platform - Required\n            \"variant_title\": \"LEVI 00501\", // Variant title - Required\n            \"vendor\": \"vendor 1\", // Brand product - Required\n            \"dimensions\": { // Dimensions - Required\n                \"width\": 30, // Width - Required\n                \"height\": 30, // Height - Required\n                \"length\": 30, // Length - Required \n                \"grams\": 1000 // grams - Required \n            },\n            \"sku\": \"039307480666\", // Sku code - Required \n            \"quantity\": 1, // Quantity - Required \n            \"unit_price\": 54990, // Unit price - Required \n            \"unit_discount\": 0, // Unit discount - Required \n            \"store_source_id\": \"001\", // Store or Warehouse of source stock - Optional \n            \"store_id\": \"001\", // Store Id fulfillment associated  - Required \n            \"fulfillment_method\": \"shipping\", // Fulfillment method associated  - Optional \n            \"shipping_amount\": 5,\n            \"carrier_code\": \"ENVIAME-BLX\", // Carrier code (\"ENVIAME-BLX\", \"OMNI\", \"CHILEXPRESS\",etc)  - Optional \n            \"carrier_service\": \"1\", // Carrier service   - Optional \n            //    \"commitment\": \"YYYY-MM-DDTHH:mm:ss\", // Commitment date associated  - Optional \n            \"shipping_deadline\": \"2024-08-17T00:00:01\", // deadline date associated  - Optional\n            \"shipping_address\": { // Object Fulfillment Shipping address, is not present main shipping addess is used - Optional\n                \"first_name\": \"JAIME\", // FirtsName - Required\n                \"last_name\": \"RAMOS\", // LastName  - Required\n                \"number\": \"1020\", // Address number  - Required\n                \"complement\": \"casa\", // Address complement - Optional\n                \"neighborhood\": \"molina\", // Comuna - Required\n                \"address1\": \"dir 1\", // Address1  - Required\n                \"address2\": \"dis 2\", // Address2  - Optional\n                \"phone\": \"98765432\", // Phone number - Required\n                \"city\": \"molina\", // City  - Required\n                \"zip\": \"3380000\", // Zip code - Optional\n                \"province\": \"maule\", // Province - Required\n                \"province_code\": \"111\", // Province code- Optional\n                \"country_code\": \"CL\" // Country code - Required\n            }\n        }\n    ],\n    \"total_shipping_amount\": 3990, // Shipping amount - Required\n    \"total_tax\": 0 // Total tax - Optional\n}\n\n</code></pre>\n<hr />\n<p><strong>Schema:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"$schema\": \"http://json-schema.org\",\n  \"title\": \"POS Order Schema\",\n  \"description\": \"Schema for POS order integration\",\n  \"type\": \"object\",\n  \"required\": [\n    \"pos_version\",\n    \"order_id\",\n    \"name\",\n    \"origin\",\n    \"store_id\",\n    \"fulfillment_method\",\n    \"currency\",\n    \"customer\",\n    \"document\",\n    \"payments\",\n    \"shipping_address\",\n    \"items\",\n    \"total_shipping_amount\"\n  ],\n  \"properties\": {\n    \"pos_version\": {\n      \"type\": \"string\",\n      \"description\": \"Version of the POS system\",\n      \"example\": \"v2\"\n    },\n    \"order_id\": {\n      \"type\": \"string\",\n      \"description\": \"Unique identifier for the order\",\n      \"example\": \"pos-39-18315\"\n    },\n    \"name\": {\n      \"type\": \"string\",\n      \"description\": \"Name of the order\",\n      \"example\": \"pos-39-18315\"\n    },\n    \"origin\": {\n      \"type\": \"string\",\n      \"description\": \"Origin of the order\",\n      \"example\": \"POS\"\n    },\n    \"sell_date_origin\": {\n      \"type\": \"string\",\n      \"description\": \"Original sale date and time\",\n      \"format\": \"date-time\",\n      \"example\": \"2024-07-02T12:37:01\"\n    },\n    \"store_id\": {\n      \"type\": \"string\",\n      \"description\": \"Store identifier for sales reporting\",\n      \"example\": \"0\"\n    },\n    \"fulfillment_method\": {\n      \"type\": \"string\",\n      \"description\": \"Primary fulfillment method for the order\",\n      \"example\": \"shipping\"\n    },\n    \"currency\": {\n      \"type\": \"string\",\n      \"description\": \"Currency code for the transaction\",\n      \"example\": \"CLP\"\n    },\n    \"customer\": {\n      \"type\": \"object\",\n      \"required\": [\"document_type\", \"document\", \"first_name\", \"last_name\", \"phone\"],\n      \"properties\": {\n        \"document_type\": {\n          \"type\": \"string\",\n          \"description\": \"Type of identification document\",\n          \"enum\": [\"RUT\", \"PASSPORT\", \"DNI\", \"ID\"],\n          \"example\": \"RUT\"\n        },\n        \"document\": {\n          \"type\": \"string\",\n          \"description\": \"Document number\",\n          \"example\": \"12217347-K\"\n        },\n        \"email\": {\n          \"type\": \"string\",\n          \"description\": \"Customer email address\",\n          \"format\": \"email\",\n          \"example\": \"test@test.com\"\n        },\n        \"first_name\": {\n          \"type\": \"string\",\n          \"description\": \"Customer first name\",\n          \"example\": \"JAIME\"\n        },\n        \"last_name\": {\n          \"type\": \"string\",\n          \"description\": \"Customer last name\",\n          \"example\": \"RAMOS\"\n        },\n        \"phone\": {\n          \"type\": \"string\",\n          \"description\": \"Customer phone number\",\n          \"example\": \"966066697\"\n        }\n      }\n    },\n    \"document\": {\n      \"type\": \"object\",\n      \"required\": [\"folio\", \"url\", \"type\"],\n      \"properties\": {\n        \"folio\": {\n          \"type\": \"string\",\n          \"description\": \"Document number\",\n          \"example\": \"18314\"\n        },\n        \"url\": {\n          \"type\": \"string\",\n          \"description\": \"URL to access the document\",\n          \"format\": \"uri\",\n          \"example\": \"https://linktodocument.com/ticket.pdf\"\n        },\n        \"type\": {\n          \"type\": \"string\",\n          \"description\": \"Type of document\",\n          \"example\": \"ticket\"\n        }\n      }\n    },\n    \"payments\": {\n      \"type\": \"array\",\n      \"minItems\": 1,\n      \"items\": {\n        \"type\": \"object\",\n        \"required\": [\"payment_type\", \"card_type_name\", \"payment_amount\"],\n        \"properties\": {\n          \"payment_type\": {\n            \"type\": \"string\",\n            \"description\": \"Type of payment\",\n            \"example\": \"Efectivo\"\n          },\n          \"card_type_name\": {\n            \"type\": \"string\",\n            \"description\": \"Name of card type if applicable\",\n            \"example\": \"-\"\n          },\n          \"payment_amount\": {\n            \"type\": \"number\",\n            \"description\": \"Amount paid\",\n            \"example\": 54990\n          },\n          \"installments\": {\n            \"type\": \"integer\",\n            \"description\": \"Number of installments\",\n            \"default\": 1,\n            \"example\": 0\n          }\n        }\n      }\n    },\n    \"shipping_address\": {\n      \"type\": \"object\",\n      \"required\": [\n        \"first_name\",\n        \"last_name\",\n        \"number\",\n        \"neighborhood\",\n        \"address1\",\n        \"phone\",\n        \"city\",\n        \"province\",\n        \"country_code\"\n      ],\n      \"properties\": {\n        \"first_name\": {\n          \"type\": \"string\",\n          \"description\": \"Recipient first name\",\n          \"example\": \"JAIME\"\n        },\n        \"last_name\": {\n          \"type\": \"string\",\n          \"description\": \"Recipient last name\",\n          \"example\": \"RAMOS\"\n        },\n        \"number\": {\n          \"type\": \"string\",\n          \"description\": \"Address number\",\n          \"example\": \"1020\"\n        },\n        \"complement\": {\n          \"type\": \"string\",\n          \"description\": \"Address complement\",\n          \"example\": \"casa\"\n        },\n        \"neighborhood\": {\n          \"type\": \"string\",\n          \"description\": \"Neighborhood or commune\",\n          \"example\": \"molina\"\n        },\n        \"address1\": {\n          \"type\": \"string\",\n          \"description\": \"Primary address line\",\n          \"example\": \"dir 1\"\n        },\n        \"address2\": {\n          \"type\": \"string\",\n          \"description\": \"Secondary address line\",\n          \"example\": \"dis 2\"\n        },\n        \"phone\": {\n          \"type\": \"string\",\n          \"description\": \"Contact phone number\",\n          \"example\": \"98765432\"\n        },\n        \"city\": {\n          \"type\": \"string\",\n          \"description\": \"City name\",\n          \"example\": \"molina\"\n        },\n        \"zip\": {\n          \"type\": \"string\",\n          \"description\": \"Postal code\",\n          \"example\": \"3380000\"\n        },\n        \"province\": {\n          \"type\": \"string\",\n          \"description\": \"Province or region\",\n          \"example\": \"maule\"\n        },\n        \"province_code\": {\n          \"type\": \"string\",\n          \"description\": \"Province code\",\n          \"example\": \"111\"\n        },\n        \"country_code\": {\n          \"type\": \"string\",\n          \"description\": \"ISO country code\",\n          \"example\": \"CL\"\n        }\n      }\n    },\n    \"billing_address\": {\n      \"type\": \"object\",\n      \"required\": [\n        \"first_name\",\n        \"last_name\",\n        \"number\",\n        \"neighborhood\",\n        \"address1\",\n        \"phone\",\n        \"city\",\n        \"province\",\n        \"country_code\"\n      ],\n      \"properties\": {\n        \"first_name\": {\n          \"type\": \"string\",\n          \"description\": \"Billing contact first name\",\n          \"example\": \"JAIME\"\n        },\n        \"last_name\": {\n          \"type\": \"string\",\n          \"description\": \"Billing contact last name\",\n          \"example\": \"RAMOS\"\n        },\n        \"number\": {\n          \"type\": \"string\",\n          \"description\": \"Address number\",\n          \"example\": \"1020\"\n        },\n        \"complement\": {\n          \"type\": \"string\",\n          \"description\": \"Address complement\",\n          \"example\": \"casa\"\n        },\n        \"neighborhood\": {\n          \"type\": \"string\",\n          \"description\": \"Neighborhood or commune\",\n          \"example\": \"molina\"\n        },\n        \"address1\": {\n          \"type\": \"string\",\n          \"description\": \"Primary address line\",\n          \"example\": \"dir 1\"\n        },\n        \"address2\": {\n          \"type\": \"string\",\n          \"description\": \"Secondary address line\",\n          \"example\": \"dis 2\"\n        },\n        \"phone\": {\n          \"type\": \"string\",\n          \"description\": \"Contact phone number\",\n          \"example\": \"98765432\"\n        },\n        \"city\": {\n          \"type\": \"string\",\n          \"description\": \"City name\",\n          \"example\": \"molina\"\n        },\n        \"zip\": {\n          \"type\": \"string\",\n          \"description\": \"Postal code\",\n          \"example\": \"3380000\"\n        },\n        \"province\": {\n          \"type\": \"string\",\n          \"description\": \"Province or region\",\n          \"example\": \"maule\"\n        },\n        \"province_code\": {\n          \"type\": \"string\",\n          \"description\": \"Province code\",\n          \"example\": \"111\"\n        },\n        \"country_code\": {\n          \"type\": \"string\",\n          \"description\": \"ISO country code\",\n          \"example\": \"CL\"\n        }\n      }\n    },\n    \"items\": {\n      \"type\": \"array\",\n      \"minItems\": 1,\n      \"items\": {\n        \"type\": \"object\",\n        \"required\": [\n          \"remote_variant_id\",\n          \"variant_title\",\n          \"vendor\",\n          \"dimensions\",\n          \"sku\",\n          \"quantity\",\n          \"unit_price\",\n          \"unit_discount\",\n          \"store_id\"\n        ],\n        \"properties\": {\n          \"remote_variant_id\": {\n            \"type\": \"string\",\n            \"description\": \"Variant identifier in source platform\",\n            \"example\": \"00501-0193-32-32\"\n          },\n          \"variant_title\": {\n            \"type\": \"string\",\n            \"description\": \"Title of the product variant\",\n            \"example\": \"LEVI 00501\"\n          },\n          \"vendor\": {\n            \"type\": \"string\",\n            \"description\": \"Product brand or vendor\",\n            \"example\": \"vendor 1\"\n          },\n          \"dimensions\": {\n            \"type\": \"object\",\n            \"required\": [\"width\", \"height\", \"length\", \"grams\"],\n            \"properties\": {\n              \"width\": {\n                \"type\": \"number\",\n                \"description\": \"Product width in cm\",\n                \"example\": 30\n              },\n              \"height\": {\n                \"type\": \"number\",\n                \"description\": \"Product height in cm\",\n                \"example\": 30\n              },\n              \"length\": {\n                \"type\": \"number\",\n                \"description\": \"Product length in cm\",\n                \"example\": 30\n              },\n              \"grams\": {\n                \"type\": \"number\",\n                \"description\": \"Product weight in grams\",\n                \"example\": 1000\n              }\n            }\n          },\n          \"sku\": {\n            \"type\": \"string\",\n            \"description\": \"Stock keeping unit code\",\n            \"example\": \"039307480666\"\n          },\n          \"quantity\": {\n            \"type\": \"integer\",\n            \"description\": \"Quantity ordered\",\n            \"minimum\": 1,\n            \"example\": 1\n          },\n          \"unit_price\": {\n            \"type\": \"number\",\n            \"description\": \"Price per unit\",\n            \"example\": 54990\n          },\n          \"unit_discount\": {\n            \"type\": \"number\",\n            \"description\": \"Discount per unit\",\n            \"example\": 0\n          },\n          \"store_source_id\": {\n            \"type\": \"string\",\n            \"description\": \"Source warehouse or store\",\n            \"example\": \"001\"\n          },\n          \"store_id\": {\n            \"type\": \"string\",\n            \"description\": \"Store ID for fulfillment\",\n            \"example\": \"001\"\n          },\n          \"fulfillment_method\": {\n            \"type\": \"string\",\n            \"description\": \"Fulfillment method for this item\",\n            \"example\": \"shipping\"\n          },\n          \"shipping_amount\": {\n            \"type\": \"number\",\n            \"description\": \"Shipping cost for this item\",\n            \"example\": 5\n          },\n          \"carrier_code\": {\n            \"type\": \"string\",\n            \"description\": \"Code for shipping carrier\",\n            \"example\": \"ENVIAME-BLX\"\n          },\n          \"carrier_service\": {\n            \"type\": \"string\",\n            \"description\": \"Shipping service level\",\n            \"example\": \"1\"\n          },\n          \"shipping_deadline\": {\n            \"type\": \"string\",\n            \"description\": \"Deadline for shipping\",\n            \"format\": \"date-time\",\n            \"example\": \"2024-08-17T00:00:01\"\n          },\n          \"shipping_address\": {\n            \"type\": \"object\",\n            \"required\": [\n              \"first_name\",\n              \"last_name\",\n              \"number\",\n              \"neighborhood\",\n              \"address1\",\n              \"phone\",\n              \"city\",\n              \"province\",\n              \"country_code\"\n            ],\n            \"properties\": {\n              \"first_name\": {\n                \"type\": \"string\",\n                \"description\": \"Recipient first name\",\n                \"example\": \"JAIME\"\n              },\n              \"last_name\": {\n                \"type\": \"string\",\n                \"description\": \"Recipient last name\",\n                \"example\": \"RAMOS\"\n              },\n              \"number\": {\n                \"type\": \"string\",\n                \"description\": \"Address number\",\n                \"example\": \"1020\"\n              },\n              \"complement\": {\n                \"type\": \"string\",\n                \"description\": \"Address complement\",\n                \"example\": \"casa\"\n              },\n              \"neighborhood\": {\n                \"type\": \"string\",\n                \"description\": \"Neighborhood or commune\",\n                \"example\": \"molina\"\n              },\n              \"address1\": {\n                \"type\": \"string\",\n                \"description\": \"Primary address line\",\n                \"example\": \"dir 1\"\n              },\n              \"address2\": {\n                \"type\": \"string\",\n                \"description\": \"Secondary address line\",\n                \"example\": \"dis 2\"\n              },\n              \"phone\": {\n                \"type\": \"string\",\n                \"description\": \"Contact phone number\",\n                \"example\": \"98765432\"\n              },\n              \"city\": {\n                \"type\": \"string\",\n                \"description\": \"City name\",\n                \"example\": \"molina\"\n              },\n              \"zip\": {\n                \"type\": \"string\",\n                \"description\": \"Postal code\",\n                \"example\": \"3380000\"\n              },\n              \"province\": {\n                \"type\": \"string\",\n                \"description\": \"Province or region\",\n                \"example\": \"maule\"\n              },\n              \"province_code\": {\n                \"type\": \"string\",\n                \"description\": \"Province code\",\n                \"example\": \"111\"\n              },\n              \"country_code\": {\n                \"type\": \"string\",\n                \"description\": \"ISO country code\",\n                \"example\": \"CL\"\n              }\n            }\n          }\n        }\n      }\n    },\n    \"total_shipping_amount\": {\n      \"type\": \"number\",\n      \"description\": \"Total shipping cost for the order\",\n      \"example\": 3990\n    },\n    \"total_tax\": {\n      \"type\": \"number\",\n      \"description\": \"Total tax amount for the order\",\n      \"default\": 0,\n      \"example\": 0\n    }\n  }\n}\n\n</code></pre>\n<h4 id=\"possible-reponses\">Possible reponses:</h4>\n<ul>\n<li>200</li>\n</ul>\n<h4 id=\"200--ok-\">200 ( OK )</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"response_code\": \"00\",\n    \"response_message\": \"Order Queued\"\n}\n\n</code></pre>\n<h4 id=\"200--ok--1\">200 ( Ok )</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"response_code\": \"00\",\n    \"response_message\": \"order already created\"\n}\n\n</code></pre>\n<h4 id=\"200--ok--2\">200 ( Ok )</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"error\": true,\n    \"message\": \"Canal de venta no está habilitado\"\n}\n\n</code></pre>\n","_postman_id":"58614dfd-06f5-46d3-933e-886a931bdfe9"},{"name":"Promise Engine","item":[{"name":"Calc Promise engine - DEMO","id":"5c5d2fa3-cae2-4d53-aa97-6dcf884de0cb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}},"url":"https://api-demo.be-flow.com/promise-engine/calc","urlObject":{"protocol":"https","path":["promise-engine","calc"],"host":["api-demo","be-flow","com"],"query":[],"variable":[]}},"response":[{"id":"25ea444e-41d0-47e2-a5d2-196f21833732","name":"Filter by shipping cost","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJwcm9maWxlX2lkIjoiNjVmYzk0YjgyODcxNjRmODUwYzgzOTgyIiwidXNhZ2VQbGFuIjpudWxsLCJjdXN0b20iOnsic3RhZ2UiOiJkZW1vIiwib3JpZ2luIjoibWFnZW50byIsInNhbGVzX2NoYW5uZWwiOiI2NWQ4YmJlNzcyY2ViZWNhMDdkOTQ3N2YiLCJtZXJjaGFudF9pZCI6IjY1OTU4YTNjMTViYjU1ZDE5NzQxOTkzMCJ9LCJpYXQiOjE3MTEwNTk0NTN9.jm29ej1Aya6rSkJCm2WKuXSqMZQPg2zNxclu5k21NBA","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"filter\": \"shippingCost\",\r\n    \"locality\": \"rm\",\r\n    \"destination\": \"CERRILLOS\",\r\n    \"items\": [\r\n        {\r\n            \"productType\": \"xs\",\r\n            \"sku\": \"test-promise-simple\",\r\n            \"quantity\": 10,\r\n            \"weight\": 3\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api-demo.be-flow.com/promise-engine/calc"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"b61c08e8-cb78-4343-b41b-f239f08760ac","name":"Filter by availability","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJwcm9maWxlX2lkIjoiNjVmYzk0YjgyODcxNjRmODUwYzgzOTgyIiwidXNhZ2VQbGFuIjpudWxsLCJjdXN0b20iOnsic3RhZ2UiOiJkZW1vIiwib3JpZ2luIjoibWFnZW50byIsInNhbGVzX2NoYW5uZWwiOiI2NWQ4YmJlNzcyY2ViZWNhMDdkOTQ3N2YiLCJtZXJjaGFudF9pZCI6IjY1OTU4YTNjMTViYjU1ZDE5NzQxOTkzMCJ9LCJpYXQiOjE3MTEwNTk0NTN9.jm29ej1Aya6rSkJCm2WKuXSqMZQPg2zNxclu5k21NBA","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"filter\": \"availability\",\r\n    \"items\": [\r\n        {\r\n            \"productType\": \"xs\",\r\n            \"sku\": \"test-promise-simple\",\r\n            \"quantity\": 10,\r\n            \"weight\": 3\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api-demo.be-flow.com/promise-engine/calc"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"0a00af62-504d-4aaf-b0ca-1b22e9851389","name":"By Shopify in rate","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJwcm9maWxlX2lkIjoiNjVmYzk0YjgyODcxNjRmODUwYzgzOTgyIiwidXNhZ2VQbGFuIjpudWxsLCJjdXN0b20iOnsic3RhZ2UiOiJkZW1vIiwib3JpZ2luIjoibWFnZW50byIsInNhbGVzX2NoYW5uZWwiOiI2NWQ4YmJlNzcyY2ViZWNhMDdkOTQ3N2YiLCJtZXJjaGFudF9pZCI6IjY1OTU4YTNjMTViYjU1ZDE5NzQxOTkzMCJ9LCJpYXQiOjE3MTEwNTk0NTN9.jm29ej1Aya6rSkJCm2WKuXSqMZQPg2zNxclu5k21NBA","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"rate\": {\r\n        \"origin\": {\r\n            \"country\": \"CA\",\r\n            \"postal_code\": \"K2P1L4\",\r\n            \"province\": \"RM\",\r\n            \"city\": \"ñuñoa\",\r\n            \"name\": null,\r\n            \"address1\": \"150 Elgin St.\",\r\n            \"address2\": \"\",\r\n            \"address3\": null,\r\n            \"phone\": \"16135551212\",\r\n            \"fax\": null,\r\n            \"email\": null,\r\n            \"address_type\": null,\r\n            \"company_name\": \"Jamie D's Emporium\"\r\n        },\r\n        \"destination\": {\r\n            \"country\": \"CA\",\r\n            \"postal_code\": \"K1M1M4\",\r\n            \"province\": \"RM\",\r\n            \"city\": \"ñuñoa\",\r\n            \"name\": \"Bob Norman\",\r\n            \"address1\": \"24 Sussex Dr.\",\r\n            \"address2\": \"\",\r\n            \"address3\": null,\r\n            \"phone\": null,\r\n            \"fax\": null,\r\n            \"email\": null,\r\n            \"address_type\": null,\r\n            \"company_name\": null\r\n        },\r\n        \"items\": [\r\n            {\r\n                \"name\": \"Short Sleeve T-Shirt\",\r\n                \"sku\": \"SKU-TEST-003\",\r\n                \"quantity\": 1,\r\n                \"grams\": 1000,\r\n                \"price\": 1999,\r\n                \"vendor\": \"Jamie D's Emporium\",\r\n                \"requires_shipping\": true,\r\n                \"taxable\": true,\r\n                \"fulfillment_service\": \"manual\",\r\n                \"properties\": null,\r\n                \"product_id\": 48447225880,\r\n                \"variant_id\": 258644705304\r\n            }\r\n        ],\r\n        \"currency\": \"USD\",\r\n        \"locale\": \"en\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api-demo.be-flow.com/promise-engine/calc"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"ba9989d8-4328-4e68-99f4-bd21da90464d","name":"By Pickup point","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJwcm9maWxlX2lkIjoiNjVmYzk0YjgyODcxNjRmODUwYzgzOTgyIiwidXNhZ2VQbGFuIjpudWxsLCJjdXN0b20iOnsic3RhZ2UiOiJkZW1vIiwib3JpZ2luIjoibWFnZW50byIsInNhbGVzX2NoYW5uZWwiOiI2NWQ4YmJlNzcyY2ViZWNhMDdkOTQ3N2YiLCJtZXJjaGFudF9pZCI6IjY1OTU4YTNjMTViYjU1ZDE5NzQxOTkzMCJ9LCJpYXQiOjE3MTEwNTk0NTN9.jm29ej1Aya6rSkJCm2WKuXSqMZQPg2zNxclu5k21NBA","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"rate\": {\r\n        \"origin\": {\r\n            \"country\": \"CA\",\r\n            \"postal_code\": \"K2P1L4\",\r\n            \"province\": \"RM\",\r\n            \"city\": \"ñuñoa\",\r\n            \"name\": null,\r\n            \"address1\": \"150 Elgin St.\",\r\n            \"address2\": \"\",\r\n            \"address3\": null,\r\n            \"phone\": \"16135551212\",\r\n            \"fax\": null,\r\n            \"email\": null,\r\n            \"address_type\": null,\r\n            \"company_name\": \"Jamie D's Emporium\"\r\n        },\r\n        \"destination\": {\r\n            \"country\": \"CA\",\r\n            \"postal_code\": \"K1M1M4\",\r\n            \"province\": \"RM\",\r\n            \"city\": \"ñuñoa\",\r\n            \"name\": \"Bob Norman\",\r\n            \"address1\": \"24 Sussex Dr.\",\r\n            \"address2\": \"\",\r\n            \"address3\": null,\r\n            \"phone\": null,\r\n            \"fax\": null,\r\n            \"email\": null,\r\n            \"address_type\": null,\r\n            \"company_name\": null\r\n        },\r\n        \"items\": [\r\n            {\r\n                \"name\": \"Short Sleeve T-Shirt\",\r\n                \"sku\": \"SKU-TEST-003\",\r\n                \"quantity\": 1,\r\n                \"grams\": 1000,\r\n                \"price\": 1999,\r\n                \"vendor\": \"Jamie D's Emporium\",\r\n                \"requires_shipping\": true,\r\n                \"taxable\": true,\r\n                \"fulfillment_service\": \"manual\",\r\n                \"properties\": null,\r\n                \"product_id\": 48447225880,\r\n                \"variant_id\": 258644705304\r\n            }\r\n        ],\r\n        \"currency\": \"USD\",\r\n        \"locale\": \"en\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api-demo.be-flow.com/promise-engine/calc"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"a91115a5-c3fb-4a34-ac79-da07eb4a1b15","name":"Filter by delivery cost","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer 111","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"filter\": \"deliveryTimes\",\r\n    \"locality\": \"rm\",\r\n    \"destination\": \"CERRILLOS\",\r\n    \"items\": [\r\n        {\r\n            \"productType\": \"xs\",\r\n            \"sku\": \"test-promise-simple\",\r\n            \"quantity\": 10,\r\n            \"weight\": 3\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api-demo.be-flow.com/promise-engine/calc"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"12c08e04-bbf5-4ce9-8af9-f7cc14a4f285","name":"Filter by best shipping cost","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer 111","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"filter\": \"bestShippingCost\",\r\n    \"locality\": \"rm\",\r\n    \"destination\": \"CERRILLOS\",\r\n    \"items\": [\r\n        {\r\n            \"productType\": \"xs\",\r\n            \"sku\": \"test-promise-simple\",\r\n            \"quantity\": 10,\r\n            \"weight\": 3\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api-demo.be-flow.com/promise-engine/calc"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"54f4761d-dd38-41f3-8a24-33bc49c10433","name":"Filter by best delivery cost","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer 111","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"filter\": \"bestDeliveryTimes\",\r\n    \"locality\": \"rm\",\r\n    \"destination\": \"CERRILLOS\",\r\n    \"items\": [\r\n        {\r\n            \"productType\": \"xs\",\r\n            \"sku\": \"test-promise-simple\",\r\n            \"quantity\": 10,\r\n            \"weight\": 3\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api-demo.be-flow.com/promise-engine/calc"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"e031ab55-1124-4a16-a5e2-23f49ffc4e8f","name":"Pickup in store or shipping in store","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer 111","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"store\": \"31\",\r\n    \"locality\": \"rm\",\r\n    \"destination\": \"CERRILLOS\",\r\n    \"items\": [\r\n        {\r\n            \"productType\": \"xs\",\r\n            \"sku\": \"test-promise-simple\",\r\n            \"quantity\": 10,\r\n            \"weight\": 3\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api-demo.be-flow.com/promise-engine/calc"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"a25d4b0e-a346-4ddc-ba19-1be02e78d8ed","name":"Pickup in all store or shipping in all store","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer 111","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"locality\": \"rm\",\r\n    \"destination\": \"CERRILLOS\",\r\n    \"items\": [\r\n        {\r\n            \"productType\": \"xs\",\r\n            \"sku\": \"test-promise-simple\",\r\n            \"quantity\": 10,\r\n            \"weight\": 3\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api-demo.be-flow.com/promise-engine/calc"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"3a0ed37a-fd96-4234-90a8-f90f10d6534c","name":"Pickup in store","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer 111","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"store\": \"31\",\r\n    \"delivery\": \"pickup\",\r\n    \"items\": [\r\n        {\r\n            \"productType\": \"xs\",\r\n            \"sku\": \"test-promise-simple\",\r\n            \"quantity\": 10,\r\n            \"weight\": 3\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api-demo.be-flow.com/promise-engine/calc"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"b596913e-ab81-4951-b94b-1b161cd7515d","name":"Pickup in all store","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer 111","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"delivery\": \"pickup\",\r\n    \"items\": [\r\n        {\r\n            \"productType\": \"xs\",\r\n            \"sku\": \"test-promise-simple\",\r\n            \"quantity\": 10,\r\n            \"weight\": 3\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api-demo.be-flow.com/promise-engine/calc"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"f01b4e16-626a-440e-b710-420e1331f32e","name":"Shipping in store","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer 111","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"store\": \"31\",\r\n    \"locality\": \"rm\",\r\n    \"destination\": \"CERRILLOS\",\r\n    \"delivery\": \"shipping\",\r\n    \"items\": [\r\n        {\r\n            \"productType\": \"xs\",\r\n            \"sku\": \"test-promise-simple\",\r\n            \"quantity\": 10,\r\n            \"weight\": 3\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api-demo.be-flow.com/promise-engine/calc"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"d02972e0-88dd-4917-9263-cbaa3c5098c1","name":"Shipping in all store","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer 111","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"locality\": \"rm\",\r\n    \"destination\": \"CERRILLOS\",\r\n    \"delivery\": \"shipping\",\r\n    \"items\": [\r\n        {\r\n            \"productType\": \"xs\",\r\n            \"sku\": \"test-promise-simple\",\r\n            \"quantity\": 10,\r\n            \"weight\": 3\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api-demo.be-flow.com/promise-engine/calc"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"1a27a8ac-ca46-40ae-9b7f-e349845181bf","name":"Shipping in store with courier and all service type","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer 111","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"store\": \"31\",\r\n    \"locality\": \"rm\",\r\n    \"destination\": \"CERRILLOS\",\r\n    \"delivery\": \"shipping\",\r\n    \"courier\": \"64f8df253c61220e0b7b359c\",\r\n    \"serviceType\": \"allServiceTypes\",\r\n    \"items\": [\r\n        {\r\n            \"productType\": \"xs\",\r\n            \"sku\": \"test-promise-simple\",\r\n            \"quantity\": 10,\r\n            \"weight\": 3\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api-demo.be-flow.com/promise-engine/calc"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"d478a0e1-edbb-4d54-9c71-11dd4348d0bf","name":"Shipping in store with courier and service type","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer 111","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"store\": \"31\",\r\n    \"locality\": \"rm\",\r\n    \"destination\": \"CERRILLOS\",\r\n    \"delivery\": \"shipping\",\r\n    \"courier\": \"64f8df253c61220e0b7b359c\",\r\n    \"serviceType\": \"normal\",\r\n    \"items\": [\r\n        {\r\n            \"productType\": \"xs\",\r\n            \"sku\": \"test-promise-simple\",\r\n            \"quantity\": 10,\r\n            \"weight\": 3\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api-demo.be-flow.com/promise-engine/calc"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"5c2f8932-055f-47d7-892e-66fb5c32c865","name":"Pickup in CD or shipping in CD","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer 111","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"store\": \"31\",\r\n    \"locality\": \"rm\",\r\n    \"destination\": \"CERRILLOS\",\r\n    \"items\": [\r\n        {\r\n            \"productType\": \"xs\",\r\n            \"sku\": \"test-promise-cd\",\r\n            \"quantity\": 10,\r\n            \"weight\": 3\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api-demo.be-flow.com/promise-engine/calc"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"13b90d55-8842-42d6-bb05-fc95576810a8","name":"Pickup in all CD or shipping in all CD","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer 111","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"locality\": \"rm\",\r\n    \"destination\": \"CERRILLOS\",\r\n    \"items\": [\r\n        {\r\n            \"productType\": \"xs\",\r\n            \"sku\": \"test-promise-cd\",\r\n            \"quantity\": 10,\r\n            \"weight\": 3\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api-demo.be-flow.com/promise-engine/calc"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"b8a4de79-ad63-4a68-bee1-db292d069297","name":"Pickup in CD","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer 111","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"store\": \"31\",\r\n    \"delivery\": \"pickup\",\r\n    \"items\": [\r\n        {\r\n            \"productType\": \"xs\",\r\n            \"sku\": \"test-promise-cd\",\r\n            \"quantity\": 10,\r\n            \"weight\": 3\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api-demo.be-flow.com/promise-engine/calc"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"946a2284-2a47-4da4-a524-85c1fb6a2ebb","name":"Pickup in all CD","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer 111","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"delivery\": \"pickup\",\r\n    \"items\": [\r\n        {\r\n            \"productType\": \"xs\",\r\n            \"sku\": \"test-promise-cd\",\r\n            \"quantity\": 10,\r\n            \"weight\": 3\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api-demo.be-flow.com/promise-engine/calc"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"58d24bbe-f934-46fc-bd8c-0837cd5f4552","name":"Shipping in CD","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer 111","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"store\": \"31\",\r\n    \"locality\": \"rm\",\r\n    \"destination\": \"CERRILLOS\",\r\n    \"delivery\": \"shipping\",\r\n    \"items\": [\r\n        {\r\n            \"productType\": \"xs\",\r\n            \"sku\": \"test-promise-cd\",\r\n            \"quantity\": 10,\r\n            \"weight\": 3\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api-demo.be-flow.com/promise-engine/calc"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"ee6a2b4b-d431-41f2-b1b8-bd89ca71a619","name":"Shipping in all CD","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer 111","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"locality\": \"rm\",\r\n    \"destination\": \"CERRILLOS\",\r\n    \"delivery\": \"shipping\",\r\n    \"items\": [\r\n        {\r\n            \"productType\": \"xs\",\r\n            \"sku\": \"test-promise-cd\",\r\n            \"quantity\": 10,\r\n            \"weight\": 3\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api-demo.be-flow.com/promise-engine/calc"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"d6e69c2c-e904-45bb-9370-c5dbac1c8bd6","name":"Shipping in CD with courier and all service type","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer 111","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"store\": \"31\",\r\n    \"locality\": \"rm\",\r\n    \"destination\": \"CERRILLOS\",\r\n    \"delivery\": \"shipping\",\r\n    \"courier\": \"64f8df253c61220e0b7b359c\",\r\n    \"serviceType\": \"allServiceTypes\",\r\n    \"items\": [\r\n        {\r\n            \"productType\": \"xs\",\r\n            \"sku\": \"test-promise-cd\",\r\n            \"quantity\": 10,\r\n            \"weight\": 3\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api-demo.be-flow.com/promise-engine/calc"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"fca972ac-6b54-4abf-88af-af5016e0dda9","name":"Shipping in CD with courier and service type","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer 111","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"store\": \"31\",\r\n    \"locality\": \"rm\",\r\n    \"destination\": \"CERRILLOS\",\r\n    \"delivery\": \"shipping\",\r\n    \"courier\": \"64f8df253c61220e0b7b359c\",\r\n    \"serviceType\": \"normal\",\r\n    \"items\": [\r\n        {\r\n            \"productType\": \"xs\",\r\n            \"sku\": \"test-promise-cd\",\r\n            \"quantity\": 10,\r\n            \"weight\": 3\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api-demo.be-flow.com/promise-engine/calc"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"f1fe016f-ef0c-4554-9061-30cde0441098","name":"Pickup in other store or shipping in other store","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer 111","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"store\": \"31\",\r\n    \"locality\": \"rm\",\r\n    \"destination\": \"CERRILLOS\",\r\n    \"items\": [\r\n        {\r\n            \"productType\": \"xs\",\r\n            \"sku\": \"test-promise-another-store\",\r\n            \"quantity\": 10,\r\n            \"weight\": 3\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api-demo.be-flow.com/promise-engine/calc"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"96662847-4d28-4bc5-9107-061e885ba9cf","name":"Pickup in other all store or shipping in other all store","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer 111","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"locality\": \"rm\",\r\n    \"destination\": \"CERRILLOS\",\r\n    \"items\": [\r\n        {\r\n            \"productType\": \"xs\",\r\n            \"sku\": \"test-promise-another-store\",\r\n            \"quantity\": 10,\r\n            \"weight\": 3\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api-demo.be-flow.com/promise-engine/calc"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"82c06960-7d2b-47ce-89f1-da5bcc583d87","name":"Pickup in other store","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer 111","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"store\": \"31\",\r\n    \"delivery\": \"pickup\",\r\n    \"items\": [\r\n        {\r\n            \"productType\": \"xs\",\r\n            \"sku\": \"test-promise-another-store\",\r\n            \"quantity\": 10,\r\n            \"weight\": 3\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api-demo.be-flow.com/promise-engine/calc"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"e3dfc2c8-b18d-4404-b906-59b402d23c70","name":"Pickup in other all store","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer 111","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"delivery\": \"pickup\",\r\n    \"items\": [\r\n        {\r\n            \"productType\": \"xs\",\r\n            \"sku\": \"test-promise-another-store\",\r\n            \"quantity\": 10,\r\n            \"weight\": 3\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api-demo.be-flow.com/promise-engine/calc"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"6a28a118-6eb9-47e3-ab38-69a0d70b7d4b","name":"Shipping in other store","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer 111","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"store\": \"31\",\r\n    \"locality\": \"rm\",\r\n    \"destination\": \"CERRILLOS\",\r\n    \"delivery\": \"shipping\",\r\n    \"items\": [\r\n        {\r\n            \"productType\": \"xs\",\r\n            \"sku\": \"test-promise-another-store\",\r\n            \"quantity\": 10,\r\n            \"weight\": 3\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api-demo.be-flow.com/promise-engine/calc"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"9fef81de-2888-4450-83a7-60674cea90b7","name":"Shipping in other all store","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer 111","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"locality\": \"rm\",\r\n    \"destination\": \"CERRILLOS\",\r\n    \"delivery\": \"shipping\",\r\n    \"items\": [\r\n        {\r\n            \"productType\": \"xs\",\r\n            \"sku\": \"test-promise-another-store\",\r\n            \"quantity\": 10,\r\n            \"weight\": 3\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api-demo.be-flow.com/promise-engine/calc"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"f2cf1bf8-853b-4e4c-b7e1-eb0bb33c1d77","name":"Shipping in other store with courier and all service type","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer 111","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"store\": \"31\",\r\n    \"locality\": \"rm\",\r\n    \"destination\": \"CERRILLOS\",\r\n    \"delivery\": \"shipping\",\r\n    \"courier\": \"64f8df253c61220e0b7b359c\",\r\n    \"serviceType\": \"allServiceTypes\",\r\n    \"items\": [\r\n        {\r\n            \"productType\": \"xs\",\r\n            \"sku\": \"test-promise-another-store\",\r\n            \"quantity\": 10,\r\n            \"weight\": 3\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api-demo.be-flow.com/promise-engine/calc"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"0e6f6668-f863-456f-b451-1b72aaa87862","name":"Shipping in other store with courier and service type","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer 111","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"store\": \"31\",\r\n    \"locality\": \"rm\",\r\n    \"destination\": \"CERRILLOS\",\r\n    \"delivery\": \"shipping\",\r\n    \"courier\": \"64f8df253c61220e0b7b359c\",\r\n    \"serviceType\": \"normal\",\r\n    \"items\": [\r\n        {\r\n            \"productType\": \"xs\",\r\n            \"sku\": \"test-promise-another-store\",\r\n            \"quantity\": 10,\r\n            \"weight\": 3\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api-demo.be-flow.com/promise-engine/calc"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"caa23901-5eb7-45e2-a5b7-a7576d394339","name":"Pickup in multiple store or shipping in multiple store","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer 111","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"store\": \"31\",\r\n    \"locality\": \"rm\",\r\n    \"destination\": \"CERRILLOS\",\r\n    \"items\": [\r\n        {\r\n            \"productType\": \"xs\",\r\n            \"sku\": \"test-promise-multiple-store-001\",\r\n            \"quantity\": 10,\r\n            \"weight\": 3\r\n        },\r\n        {\r\n            \"productType\": \"xs\",\r\n            \"sku\": \"test-promise-multiple-store-002\",\r\n            \"quantity\": 8,\r\n            \"weight\": 2\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api-demo.be-flow.com/promise-engine/calc"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"209b5092-090b-4621-9a64-bde9f2cc06cd","name":"Pickup in multiple all store or shipping in multiple all store","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer 111","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"locality\": \"rm\",\r\n    \"destination\": \"CERRILLOS\",\r\n    \"items\": [\r\n        {\r\n            \"productType\": \"xs\",\r\n            \"sku\": \"test-promise-multiple-store-001\",\r\n            \"quantity\": 10,\r\n            \"weight\": 3\r\n        },\r\n        {\r\n            \"productType\": \"xs\",\r\n            \"sku\": \"test-promise-multiple-store-002\",\r\n            \"quantity\": 8,\r\n            \"weight\": 2\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api-demo.be-flow.com/promise-engine/calc"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"2df1b778-167f-44be-8d00-9f95b8ec7cbe","name":"Pickup in multiple store","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer 111","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"store\": \"31\",\r\n    \"delivery\": \"pickup\",\r\n    \"items\": [\r\n        {\r\n            \"productType\": \"xs\",\r\n            \"sku\": \"test-promise-multiple-store-001\",\r\n            \"quantity\": 10,\r\n            \"weight\": 3\r\n        },\r\n        {\r\n            \"productType\": \"xs\",\r\n            \"sku\": \"test-promise-multiple-store-002\",\r\n            \"quantity\": 8,\r\n            \"weight\": 2\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api-demo.be-flow.com/promise-engine/calc"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"1607fcc4-7b61-40e4-8ae1-4d7e380923d3","name":"Pickup in multiple all store","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer 111","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"delivery\": \"pickup\",\r\n    \"items\": [\r\n        {\r\n            \"productType\": \"xs\",\r\n            \"sku\": \"test-promise-multiple-store-001\",\r\n            \"quantity\": 10,\r\n            \"weight\": 3\r\n        },\r\n        {\r\n            \"productType\": \"xs\",\r\n            \"sku\": \"test-promise-multiple-store-002\",\r\n            \"quantity\": 8,\r\n            \"weight\": 2\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api-demo.be-flow.com/promise-engine/calc"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"56465492-d725-4513-a68c-a89a00dc0f32","name":"Shipping in multiple store","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer 111","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"store\": \"31\",\r\n    \"locality\": \"rm\",\r\n    \"destination\": \"CERRILLOS\",\r\n    \"delivery\": \"shipping\",\r\n    \"items\": [\r\n        {\r\n            \"productType\": \"xs\",\r\n            \"sku\": \"test-promise-multiple-store-001\",\r\n            \"quantity\": 10,\r\n            \"weight\": 3\r\n        },\r\n        {\r\n            \"productType\": \"xs\",\r\n            \"sku\": \"test-promise-multiple-store-002\",\r\n            \"quantity\": 8,\r\n            \"weight\": 2\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api-demo.be-flow.com/promise-engine/calc"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"1f269b7c-fd5b-4126-b263-fc04aafc3b5f","name":"Shipping in multiple all store","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer 111","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"locality\": \"rm\",\r\n    \"destination\": \"CERRILLOS\",\r\n    \"delivery\": \"shipping\",\r\n    \"items\": [\r\n        {\r\n            \"productType\": \"xs\",\r\n            \"sku\": \"test-promise-multiple-store-001\",\r\n            \"quantity\": 10,\r\n            \"weight\": 3\r\n        },\r\n        {\r\n            \"productType\": \"xs\",\r\n            \"sku\": \"test-promise-multiple-store-002\",\r\n            \"quantity\": 8,\r\n            \"weight\": 2\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api-demo.be-flow.com/promise-engine/calc"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"63127c4a-6ba0-4cbf-911a-aa3226ccb8e8","name":"Shipping in multiple store with courier and all service type","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer 111","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"store\": \"31\",\r\n    \"locality\": \"rm\",\r\n    \"destination\": \"CERRILLOS\",\r\n    \"delivery\": \"shipping\",\r\n    \"courier\": \"64f8df253c61220e0b7b359c\",\r\n    \"serviceType\": \"allServiceTypes\",\r\n    \"items\": [\r\n        {\r\n            \"productType\": \"xs\",\r\n            \"sku\": \"test-promise-multiple-store-001\",\r\n            \"quantity\": 10,\r\n            \"weight\": 3\r\n        },\r\n        {\r\n            \"productType\": \"xs\",\r\n            \"sku\": \"test-promise-multiple-store-002\",\r\n            \"quantity\": 8,\r\n            \"weight\": 2\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api-demo.be-flow.com/promise-engine/calc"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"cf0a1a82-b83a-45f6-b246-e3a333b083a0","name":"Shipping in multiple store with courier and service type","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer 111","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"store\": \"31\",\r\n    \"locality\": \"rm\",\r\n    \"destination\": \"CERRILLOS\",\r\n    \"delivery\": \"shipping\",\r\n    \"courier\": \"64f8df253c61220e0b7b359c\",\r\n    \"serviceType\": \"normal\",\r\n    \"items\": [\r\n        {\r\n            \"productType\": \"xs\",\r\n            \"sku\": \"test-promise-multiple-store-001\",\r\n            \"quantity\": 10,\r\n            \"weight\": 3\r\n        },\r\n        {\r\n            \"productType\": \"xs\",\r\n            \"sku\": \"test-promise-multiple-store-002\",\r\n            \"quantity\": 8,\r\n            \"weight\": 2\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api-demo.be-flow.com/promise-engine/calc"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"5c5d2fa3-cae2-4d53-aa97-6dcf884de0cb"},{"name":"Calc Promise engine - PROD","id":"43a6489f-714f-4248-9a0a-e3a9842597f9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}},"url":"https://api-demo.be-flow.com/promise-engine/calc","urlObject":{"protocol":"https","path":["promise-engine","calc"],"host":["api-demo","be-flow","com"],"query":[],"variable":[]}},"response":[{"id":"983ad3b9-b159-4ee1-9b96-b0a11780b105","name":"Filter by shipping cost","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJwcm9maWxlX2lkIjoiNjVmYzk0YjgyODcxNjRmODUwYzgzOTgyIiwidXNhZ2VQbGFuIjpudWxsLCJjdXN0b20iOnsic3RhZ2UiOiJkZW1vIiwib3JpZ2luIjoibWFnZW50byIsInNhbGVzX2NoYW5uZWwiOiI2NWQ4YmJlNzcyY2ViZWNhMDdkOTQ3N2YiLCJtZXJjaGFudF9pZCI6IjY1OTU4YTNjMTViYjU1ZDE5NzQxOTkzMCJ9LCJpYXQiOjE3MTEwNTk0NTN9.jm29ej1Aya6rSkJCm2WKuXSqMZQPg2zNxclu5k21NBA","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"filter\": \"shippingCost\",\r\n    \"locality\": \"rm\",\r\n    \"destination\": \"CERRILLOS\",\r\n    \"items\": [\r\n        {\r\n            \"productType\": \"xs\",\r\n            \"sku\": \"test-promise-simple\",\r\n            \"quantity\": 10,\r\n            \"weight\": 3\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.be-flow.com/promise-engine/calc"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"66a213f5-40fa-4a83-88e1-0ae6367bc813","name":"Filter by availability","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJwcm9maWxlX2lkIjoiNjVmYzk0YjgyODcxNjRmODUwYzgzOTgyIiwidXNhZ2VQbGFuIjpudWxsLCJjdXN0b20iOnsic3RhZ2UiOiJkZW1vIiwib3JpZ2luIjoibWFnZW50byIsInNhbGVzX2NoYW5uZWwiOiI2NWQ4YmJlNzcyY2ViZWNhMDdkOTQ3N2YiLCJtZXJjaGFudF9pZCI6IjY1OTU4YTNjMTViYjU1ZDE5NzQxOTkzMCJ9LCJpYXQiOjE3MTEwNTk0NTN9.jm29ej1Aya6rSkJCm2WKuXSqMZQPg2zNxclu5k21NBA","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"filter\": \"availability\",\r\n    \"items\": [\r\n        {\r\n            \"productType\": \"xs\",\r\n            \"sku\": \"test-promise-simple\",\r\n            \"quantity\": 10,\r\n            \"weight\": 3\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.be-flow.com/promise-engine/calc"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"056b8863-5306-43a5-87c0-ef31040266d2","name":"By Shopify in rate","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJwcm9maWxlX2lkIjoiNjVmYzk0YjgyODcxNjRmODUwYzgzOTgyIiwidXNhZ2VQbGFuIjpudWxsLCJjdXN0b20iOnsic3RhZ2UiOiJkZW1vIiwib3JpZ2luIjoibWFnZW50byIsInNhbGVzX2NoYW5uZWwiOiI2NWQ4YmJlNzcyY2ViZWNhMDdkOTQ3N2YiLCJtZXJjaGFudF9pZCI6IjY1OTU4YTNjMTViYjU1ZDE5NzQxOTkzMCJ9LCJpYXQiOjE3MTEwNTk0NTN9.jm29ej1Aya6rSkJCm2WKuXSqMZQPg2zNxclu5k21NBA","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"rate\": {\r\n        \"origin\": {\r\n            \"country\": \"CA\",\r\n            \"postal_code\": \"K2P1L4\",\r\n            \"province\": \"RM\",\r\n            \"city\": \"ñuñoa\",\r\n            \"name\": null,\r\n            \"address1\": \"150 Elgin St.\",\r\n            \"address2\": \"\",\r\n            \"address3\": null,\r\n            \"phone\": \"16135551212\",\r\n            \"fax\": null,\r\n            \"email\": null,\r\n            \"address_type\": null,\r\n            \"company_name\": \"Jamie D's Emporium\"\r\n        },\r\n        \"destination\": {\r\n            \"country\": \"CA\",\r\n            \"postal_code\": \"K1M1M4\",\r\n            \"province\": \"RM\",\r\n            \"city\": \"ñuñoa\",\r\n            \"name\": \"Bob Norman\",\r\n            \"address1\": \"24 Sussex Dr.\",\r\n            \"address2\": \"\",\r\n            \"address3\": null,\r\n            \"phone\": null,\r\n            \"fax\": null,\r\n            \"email\": null,\r\n            \"address_type\": null,\r\n            \"company_name\": null\r\n        },\r\n        \"items\": [\r\n            {\r\n                \"name\": \"Short Sleeve T-Shirt\",\r\n                \"sku\": \"SKU-TEST-003\",\r\n                \"quantity\": 1,\r\n                \"grams\": 1000,\r\n                \"price\": 1999,\r\n                \"vendor\": \"Jamie D's Emporium\",\r\n                \"requires_shipping\": true,\r\n                \"taxable\": true,\r\n                \"fulfillment_service\": \"manual\",\r\n                \"properties\": null,\r\n                \"product_id\": 48447225880,\r\n                \"variant_id\": 258644705304\r\n            }\r\n        ],\r\n        \"currency\": \"USD\",\r\n        \"locale\": \"en\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.be-flow.com/promise-engine/calc"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"ccf5006d-25eb-45e2-868c-93722e2869da","name":"By Pickup point","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJwcm9maWxlX2lkIjoiNjVmYzk0YjgyODcxNjRmODUwYzgzOTgyIiwidXNhZ2VQbGFuIjpudWxsLCJjdXN0b20iOnsic3RhZ2UiOiJkZW1vIiwib3JpZ2luIjoibWFnZW50byIsInNhbGVzX2NoYW5uZWwiOiI2NWQ4YmJlNzcyY2ViZWNhMDdkOTQ3N2YiLCJtZXJjaGFudF9pZCI6IjY1OTU4YTNjMTViYjU1ZDE5NzQxOTkzMCJ9LCJpYXQiOjE3MTEwNTk0NTN9.jm29ej1Aya6rSkJCm2WKuXSqMZQPg2zNxclu5k21NBA","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"rate\": {\r\n        \"origin\": {\r\n            \"country\": \"CA\",\r\n            \"postal_code\": \"K2P1L4\",\r\n            \"province\": \"RM\",\r\n            \"city\": \"ñuñoa\",\r\n            \"name\": null,\r\n            \"address1\": \"150 Elgin St.\",\r\n            \"address2\": \"\",\r\n            \"address3\": null,\r\n            \"phone\": \"16135551212\",\r\n            \"fax\": null,\r\n            \"email\": null,\r\n            \"address_type\": null,\r\n            \"company_name\": \"Jamie D's Emporium\"\r\n        },\r\n        \"destination\": {\r\n            \"country\": \"CA\",\r\n            \"postal_code\": \"K1M1M4\",\r\n            \"province\": \"RM\",\r\n            \"city\": \"ñuñoa\",\r\n            \"name\": \"Bob Norman\",\r\n            \"address1\": \"24 Sussex Dr.\",\r\n            \"address2\": \"\",\r\n            \"address3\": null,\r\n            \"phone\": null,\r\n            \"fax\": null,\r\n            \"email\": null,\r\n            \"address_type\": null,\r\n            \"company_name\": null\r\n        },\r\n        \"items\": [\r\n            {\r\n                \"name\": \"Short Sleeve T-Shirt\",\r\n                \"sku\": \"SKU-TEST-003\",\r\n                \"quantity\": 1,\r\n                \"grams\": 1000,\r\n                \"price\": 1999,\r\n                \"vendor\": \"Jamie D's Emporium\",\r\n                \"requires_shipping\": true,\r\n                \"taxable\": true,\r\n                \"fulfillment_service\": \"manual\",\r\n                \"properties\": null,\r\n                \"product_id\": 48447225880,\r\n                \"variant_id\": 258644705304\r\n            }\r\n        ],\r\n        \"currency\": \"USD\",\r\n        \"locale\": \"en\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.be-flow.com/promise-engine/calc"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"c0b20e14-40b9-48ff-b74b-1b690378f6df","name":"Filter by delivery cost","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer 111","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"filter\": \"deliveryTimes\",\r\n    \"locality\": \"rm\",\r\n    \"destination\": \"CERRILLOS\",\r\n    \"items\": [\r\n        {\r\n            \"productType\": \"xs\",\r\n            \"sku\": \"test-promise-simple\",\r\n            \"quantity\": 10,\r\n            \"weight\": 3\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.be-flow.com/promise-engine/calc"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"592f1817-d827-44b8-a329-a933b6f6ed04","name":"Filter by best shipping cost","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer 111","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"filter\": \"bestShippingCost\",\r\n    \"locality\": \"rm\",\r\n    \"destination\": \"CERRILLOS\",\r\n    \"items\": [\r\n        {\r\n            \"productType\": \"xs\",\r\n            \"sku\": \"test-promise-simple\",\r\n            \"quantity\": 10,\r\n            \"weight\": 3\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.be-flow.com/promise-engine/calc"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"ac81d206-d070-4876-9e17-a678652d7eb0","name":"Filter by best delivery cost","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer 111","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"filter\": \"bestDeliveryTimes\",\r\n    \"locality\": \"rm\",\r\n    \"destination\": \"CERRILLOS\",\r\n    \"items\": [\r\n        {\r\n            \"productType\": \"xs\",\r\n            \"sku\": \"test-promise-simple\",\r\n            \"quantity\": 10,\r\n            \"weight\": 3\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.be-flow.com/promise-engine/calc"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"864a1c01-30b4-4c63-961c-195a0d69ec88","name":"Pickup in store or shipping in store","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer 111","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"store\": \"31\",\r\n    \"locality\": \"rm\",\r\n    \"destination\": \"CERRILLOS\",\r\n    \"items\": [\r\n        {\r\n            \"productType\": \"xs\",\r\n            \"sku\": \"test-promise-simple\",\r\n            \"quantity\": 10,\r\n            \"weight\": 3\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.be-flow.com/promise-engine/calc"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"79c13438-7580-40fc-803c-edf1f7c256f9","name":"Pickup in all store or shipping in all store","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer 111","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"locality\": \"rm\",\r\n    \"destination\": \"CERRILLOS\",\r\n    \"items\": [\r\n        {\r\n            \"productType\": \"xs\",\r\n            \"sku\": \"test-promise-simple\",\r\n            \"quantity\": 10,\r\n            \"weight\": 3\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.be-flow.com/promise-engine/calc"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"9dd10d74-0aef-44cb-8056-5f76790fe17c","name":"Pickup in store","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer 111","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"store\": \"31\",\r\n    \"delivery\": \"pickup\",\r\n    \"items\": [\r\n        {\r\n            \"productType\": \"xs\",\r\n            \"sku\": \"test-promise-simple\",\r\n            \"quantity\": 10,\r\n            \"weight\": 3\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.be-flow.com/promise-engine/calc"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"590a8b72-9c1a-4109-9798-2316d3b3b2de","name":"Pickup in all store","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer 111","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"delivery\": \"pickup\",\r\n    \"items\": [\r\n        {\r\n            \"productType\": \"xs\",\r\n            \"sku\": \"test-promise-simple\",\r\n            \"quantity\": 10,\r\n            \"weight\": 3\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.be-flow.com/promise-engine/calc"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"8767fcd7-6956-477f-b4bc-354e90ce53c9","name":"Shipping in store","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer 111","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"store\": \"31\",\r\n    \"locality\": \"rm\",\r\n    \"destination\": \"CERRILLOS\",\r\n    \"delivery\": \"shipping\",\r\n    \"items\": [\r\n        {\r\n            \"productType\": \"xs\",\r\n            \"sku\": \"test-promise-simple\",\r\n            \"quantity\": 10,\r\n            \"weight\": 3\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.be-flow.com/promise-engine/calc"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"13dbb595-a278-4787-8c9c-8eb6a122961b","name":"Shipping in all store","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer 111","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"locality\": \"rm\",\r\n    \"destination\": \"CERRILLOS\",\r\n    \"delivery\": \"shipping\",\r\n    \"items\": [\r\n        {\r\n            \"productType\": \"xs\",\r\n            \"sku\": \"test-promise-simple\",\r\n            \"quantity\": 10,\r\n            \"weight\": 3\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.be-flow.com/promise-engine/calc"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"137b0969-d12d-485b-a03a-775d6f47d941","name":"Shipping in store with courier and all service type","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer 111","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"store\": \"31\",\r\n    \"locality\": \"rm\",\r\n    \"destination\": \"CERRILLOS\",\r\n    \"delivery\": \"shipping\",\r\n    \"courier\": \"64f8df253c61220e0b7b359c\",\r\n    \"serviceType\": \"allServiceTypes\",\r\n    \"items\": [\r\n        {\r\n            \"productType\": \"xs\",\r\n            \"sku\": \"test-promise-simple\",\r\n            \"quantity\": 10,\r\n            \"weight\": 3\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.be-flow.com/promise-engine/calc"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"7d55d94f-5161-48b9-b594-57afc669be60","name":"Shipping in store with courier and service type","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer 111","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"store\": \"31\",\r\n    \"locality\": \"rm\",\r\n    \"destination\": \"CERRILLOS\",\r\n    \"delivery\": \"shipping\",\r\n    \"courier\": \"64f8df253c61220e0b7b359c\",\r\n    \"serviceType\": \"normal\",\r\n    \"items\": [\r\n        {\r\n            \"productType\": \"xs\",\r\n            \"sku\": \"test-promise-simple\",\r\n            \"quantity\": 10,\r\n            \"weight\": 3\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.be-flow.com/promise-engine/calc"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"b26b5d3b-bc11-40fe-adb7-5dc1295be9d8","name":"Pickup in CD or shipping in CD","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer 111","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"store\": \"31\",\r\n    \"locality\": \"rm\",\r\n    \"destination\": \"CERRILLOS\",\r\n    \"items\": [\r\n        {\r\n            \"productType\": \"xs\",\r\n            \"sku\": \"test-promise-cd\",\r\n            \"quantity\": 10,\r\n            \"weight\": 3\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.be-flow.com/promise-engine/calc"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"c32504fc-c601-4394-a907-fbbff7f05970","name":"Pickup in all CD or shipping in all CD","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer 111","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"locality\": \"rm\",\r\n    \"destination\": \"CERRILLOS\",\r\n    \"items\": [\r\n        {\r\n            \"productType\": \"xs\",\r\n            \"sku\": \"test-promise-cd\",\r\n            \"quantity\": 10,\r\n            \"weight\": 3\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.be-flow.com/promise-engine/calc"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"fd5dff33-d6b0-45bd-a19a-94f6557a5618","name":"Pickup in CD","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer 111","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"store\": \"31\",\r\n    \"delivery\": \"pickup\",\r\n    \"items\": [\r\n        {\r\n            \"productType\": \"xs\",\r\n            \"sku\": \"test-promise-cd\",\r\n            \"quantity\": 10,\r\n            \"weight\": 3\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.be-flow.com/promise-engine/calc"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"0f724925-8283-43ae-aa7e-c8a5a66e2453","name":"Pickup in all CD","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer 111","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"delivery\": \"pickup\",\r\n    \"items\": [\r\n        {\r\n            \"productType\": \"xs\",\r\n            \"sku\": \"test-promise-cd\",\r\n            \"quantity\": 10,\r\n            \"weight\": 3\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.be-flow.com/promise-engine/calc"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"8f5f0724-f626-4dc4-bfc2-05548f80b5fa","name":"Shipping in CD","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer 111","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"store\": \"31\",\r\n    \"locality\": \"rm\",\r\n    \"destination\": \"CERRILLOS\",\r\n    \"delivery\": \"shipping\",\r\n    \"items\": [\r\n        {\r\n            \"productType\": \"xs\",\r\n            \"sku\": \"test-promise-cd\",\r\n            \"quantity\": 10,\r\n            \"weight\": 3\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.be-flow.com/promise-engine/calc"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"208aa571-e7c2-4b9a-9fd2-ae9017feb2ba","name":"Shipping in all CD","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer 111","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"locality\": \"rm\",\r\n    \"destination\": \"CERRILLOS\",\r\n    \"delivery\": \"shipping\",\r\n    \"items\": [\r\n        {\r\n            \"productType\": \"xs\",\r\n            \"sku\": \"test-promise-cd\",\r\n            \"quantity\": 10,\r\n            \"weight\": 3\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.be-flow.com/promise-engine/calc"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"3086682d-3f6e-4e08-ad61-6b503717ba3f","name":"Shipping in CD with courier and all service type","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer 111","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"store\": \"31\",\r\n    \"locality\": \"rm\",\r\n    \"destination\": \"CERRILLOS\",\r\n    \"delivery\": \"shipping\",\r\n    \"courier\": \"64f8df253c61220e0b7b359c\",\r\n    \"serviceType\": \"allServiceTypes\",\r\n    \"items\": [\r\n        {\r\n            \"productType\": \"xs\",\r\n            \"sku\": \"test-promise-cd\",\r\n            \"quantity\": 10,\r\n            \"weight\": 3\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.be-flow.com/promise-engine/calc"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"9d189f4b-3c4a-4df6-9cd1-64fe6803679a","name":"Shipping in CD with courier and service type","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer 111","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"store\": \"31\",\r\n    \"locality\": \"rm\",\r\n    \"destination\": \"CERRILLOS\",\r\n    \"delivery\": \"shipping\",\r\n    \"courier\": \"64f8df253c61220e0b7b359c\",\r\n    \"serviceType\": \"normal\",\r\n    \"items\": [\r\n        {\r\n            \"productType\": \"xs\",\r\n            \"sku\": \"test-promise-cd\",\r\n            \"quantity\": 10,\r\n            \"weight\": 3\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.be-flow.com/promise-engine/calc"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"f252f52e-1d78-47bc-b093-61d1aee545ff","name":"Pickup in other store or shipping in other store","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer 111","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"store\": \"31\",\r\n    \"locality\": \"rm\",\r\n    \"destination\": \"CERRILLOS\",\r\n    \"items\": [\r\n        {\r\n            \"productType\": \"xs\",\r\n            \"sku\": \"test-promise-another-store\",\r\n            \"quantity\": 10,\r\n            \"weight\": 3\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.be-flow.com/promise-engine/calc"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"eeeac0a1-d81a-4f64-b07d-16459952197d","name":"Pickup in other all store or shipping in other all store","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer 111","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"locality\": \"rm\",\r\n    \"destination\": \"CERRILLOS\",\r\n    \"items\": [\r\n        {\r\n            \"productType\": \"xs\",\r\n            \"sku\": \"test-promise-another-store\",\r\n            \"quantity\": 10,\r\n            \"weight\": 3\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.be-flow.com/promise-engine/calc"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"03128b40-6bce-49e9-8cc3-b103ccf297da","name":"Pickup in other store","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer 111","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"store\": \"31\",\r\n    \"delivery\": \"pickup\",\r\n    \"items\": [\r\n        {\r\n            \"productType\": \"xs\",\r\n            \"sku\": \"test-promise-another-store\",\r\n            \"quantity\": 10,\r\n            \"weight\": 3\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.be-flow.com/promise-engine/calc"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"75962fd2-19d5-45d6-96e3-e00b8110d872","name":"Pickup in other all store","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer 111","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"delivery\": \"pickup\",\r\n    \"items\": [\r\n        {\r\n            \"productType\": \"xs\",\r\n            \"sku\": \"test-promise-another-store\",\r\n            \"quantity\": 10,\r\n            \"weight\": 3\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.be-flow.com/promise-engine/calc"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"3d066695-1af8-4913-a4bf-2a9a756af533","name":"Shipping in other store","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer 111","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"store\": \"31\",\r\n    \"locality\": \"rm\",\r\n    \"destination\": \"CERRILLOS\",\r\n    \"delivery\": \"shipping\",\r\n    \"items\": [\r\n        {\r\n            \"productType\": \"xs\",\r\n            \"sku\": \"test-promise-another-store\",\r\n            \"quantity\": 10,\r\n            \"weight\": 3\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.be-flow.com/promise-engine/calc"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"32621f5e-8882-4911-8f1d-17c563ea10a6","name":"Shipping in other all store","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer 111","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"locality\": \"rm\",\r\n    \"destination\": \"CERRILLOS\",\r\n    \"delivery\": \"shipping\",\r\n    \"items\": [\r\n        {\r\n            \"productType\": \"xs\",\r\n            \"sku\": \"test-promise-another-store\",\r\n            \"quantity\": 10,\r\n            \"weight\": 3\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.be-flow.com/promise-engine/calc"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"2670b170-bc43-45ca-abde-4fdf7aabd50c","name":"Shipping in other store with courier and all service type","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer 111","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"store\": \"31\",\r\n    \"locality\": \"rm\",\r\n    \"destination\": \"CERRILLOS\",\r\n    \"delivery\": \"shipping\",\r\n    \"courier\": \"64f8df253c61220e0b7b359c\",\r\n    \"serviceType\": \"allServiceTypes\",\r\n    \"items\": [\r\n        {\r\n            \"productType\": \"xs\",\r\n            \"sku\": \"test-promise-another-store\",\r\n            \"quantity\": 10,\r\n            \"weight\": 3\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.be-flow.com/promise-engine/calc"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"e4ee816a-f1d1-4da6-98bb-ad04df3e0916","name":"Shipping in other store with courier and service type","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer 111","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"store\": \"31\",\r\n    \"locality\": \"rm\",\r\n    \"destination\": \"CERRILLOS\",\r\n    \"delivery\": \"shipping\",\r\n    \"courier\": \"64f8df253c61220e0b7b359c\",\r\n    \"serviceType\": \"normal\",\r\n    \"items\": [\r\n        {\r\n            \"productType\": \"xs\",\r\n            \"sku\": \"test-promise-another-store\",\r\n            \"quantity\": 10,\r\n            \"weight\": 3\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.be-flow.com/promise-engine/calc"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"5e468185-c3a0-4df9-9d2e-b3459578fc61","name":"Pickup in multiple store or shipping in multiple store","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer 111","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"store\": \"31\",\r\n    \"locality\": \"rm\",\r\n    \"destination\": \"CERRILLOS\",\r\n    \"items\": [\r\n        {\r\n            \"productType\": \"xs\",\r\n            \"sku\": \"test-promise-multiple-store-001\",\r\n            \"quantity\": 10,\r\n            \"weight\": 3\r\n        },\r\n        {\r\n            \"productType\": \"xs\",\r\n            \"sku\": \"test-promise-multiple-store-002\",\r\n            \"quantity\": 8,\r\n            \"weight\": 2\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.be-flow.com/promise-engine/calc"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"e0bd2df4-c782-488d-afb3-461cdee7692f","name":"Pickup in multiple all store or shipping in multiple all store","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer 111","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"locality\": \"rm\",\r\n    \"destination\": \"CERRILLOS\",\r\n    \"items\": [\r\n        {\r\n            \"productType\": \"xs\",\r\n            \"sku\": \"test-promise-multiple-store-001\",\r\n            \"quantity\": 10,\r\n            \"weight\": 3\r\n        },\r\n        {\r\n            \"productType\": \"xs\",\r\n            \"sku\": \"test-promise-multiple-store-002\",\r\n            \"quantity\": 8,\r\n            \"weight\": 2\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.be-flow.com/promise-engine/calc"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"f71de346-586d-4223-847f-5250ad292b2a","name":"Pickup in multiple store","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer 111","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"store\": \"31\",\r\n    \"delivery\": \"pickup\",\r\n    \"items\": [\r\n        {\r\n            \"productType\": \"xs\",\r\n            \"sku\": \"test-promise-multiple-store-001\",\r\n            \"quantity\": 10,\r\n            \"weight\": 3\r\n        },\r\n        {\r\n            \"productType\": \"xs\",\r\n            \"sku\": \"test-promise-multiple-store-002\",\r\n            \"quantity\": 8,\r\n            \"weight\": 2\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.be-flow.com/promise-engine/calc"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"fdea4c14-a842-46dd-a7ce-cc438b6fcc33","name":"Pickup in multiple all store","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer 111","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"delivery\": \"pickup\",\r\n    \"items\": [\r\n        {\r\n            \"productType\": \"xs\",\r\n            \"sku\": \"test-promise-multiple-store-001\",\r\n            \"quantity\": 10,\r\n            \"weight\": 3\r\n        },\r\n        {\r\n            \"productType\": \"xs\",\r\n            \"sku\": \"test-promise-multiple-store-002\",\r\n            \"quantity\": 8,\r\n            \"weight\": 2\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.be-flow.com/promise-engine/calc"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"3d4396fa-21d1-456c-b099-d4c1918c4a4f","name":"Shipping in multiple store","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer 111","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"store\": \"31\",\r\n    \"locality\": \"rm\",\r\n    \"destination\": \"CERRILLOS\",\r\n    \"delivery\": \"shipping\",\r\n    \"items\": [\r\n        {\r\n            \"productType\": \"xs\",\r\n            \"sku\": \"test-promise-multiple-store-001\",\r\n            \"quantity\": 10,\r\n            \"weight\": 3\r\n        },\r\n        {\r\n            \"productType\": \"xs\",\r\n            \"sku\": \"test-promise-multiple-store-002\",\r\n            \"quantity\": 8,\r\n            \"weight\": 2\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.be-flow.com/promise-engine/calc"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"6943013d-9785-40fa-af0b-b1e99cb2dd63","name":"Shipping in multiple all store","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer 111","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"locality\": \"rm\",\r\n    \"destination\": \"CERRILLOS\",\r\n    \"delivery\": \"shipping\",\r\n    \"items\": [\r\n        {\r\n            \"productType\": \"xs\",\r\n            \"sku\": \"test-promise-multiple-store-001\",\r\n            \"quantity\": 10,\r\n            \"weight\": 3\r\n        },\r\n        {\r\n            \"productType\": \"xs\",\r\n            \"sku\": \"test-promise-multiple-store-002\",\r\n            \"quantity\": 8,\r\n            \"weight\": 2\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.be-flow.com/promise-engine/calc"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"0c239184-fce9-4bbb-acba-21b42450f1ab","name":"Shipping in multiple store with courier and all service type","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer 111","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"store\": \"31\",\r\n    \"locality\": \"rm\",\r\n    \"destination\": \"CERRILLOS\",\r\n    \"delivery\": \"shipping\",\r\n    \"courier\": \"64f8df253c61220e0b7b359c\",\r\n    \"serviceType\": \"allServiceTypes\",\r\n    \"items\": [\r\n        {\r\n            \"productType\": \"xs\",\r\n            \"sku\": \"test-promise-multiple-store-001\",\r\n            \"quantity\": 10,\r\n            \"weight\": 3\r\n        },\r\n        {\r\n            \"productType\": \"xs\",\r\n            \"sku\": \"test-promise-multiple-store-002\",\r\n            \"quantity\": 8,\r\n            \"weight\": 2\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.be-flow.com/promise-engine/calc"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"9ebaf194-7b3f-4855-9067-cbcc4ce5abf6","name":"Shipping in multiple store with courier and service type","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer 111","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"store\": \"31\",\r\n    \"locality\": \"rm\",\r\n    \"destination\": \"CERRILLOS\",\r\n    \"delivery\": \"shipping\",\r\n    \"courier\": \"64f8df253c61220e0b7b359c\",\r\n    \"serviceType\": \"normal\",\r\n    \"items\": [\r\n        {\r\n            \"productType\": \"xs\",\r\n            \"sku\": \"test-promise-multiple-store-001\",\r\n            \"quantity\": 10,\r\n            \"weight\": 3\r\n        },\r\n        {\r\n            \"productType\": \"xs\",\r\n            \"sku\": \"test-promise-multiple-store-002\",\r\n            \"quantity\": 8,\r\n            \"weight\": 2\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.be-flow.com/promise-engine/calc"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"43a6489f-714f-4248-9a0a-e3a9842597f9"}],"id":"68e695aa-6721-4652-98e5-4a051c92f8e3","description":"<p>El promise tiene varios tipos de respuesta:<br />- Normal<br />- Shopify<br />- Disponible</p>\n<p>NORMAL:<br />StartFragment</p>\n<p><strong>Para las pruebas del promise engine son los siguientes pasos:</strong></p>\n<ol>\n<li><p>La petición requiere de un token de Authorization que es proporcionado por soporte, en los headers se debe de enviar <strong>Authorization: Bearer ${TOKEN}</strong></p>\n</li>\n<li><p><strong>BODY:</strong></p>\n</li>\n</ol>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"items\": [\n        {\n            \"sku\": \"S000000-5-0\", // String Required\n            \"quantity\": 10, // Int Required\n            \"weight\": 0.2, // Decimal Required\n            \"productType\": \"XL\" // String Required\n        }\n    ],\n    \"delivery\": \"shipping\", // String Optional\n    \"destination\": \"Alhue\", // String Optional\n    \"locality\": \"RM\", // String Optional\n    \"store\": \"21443141343\", // String Optional\n    \"serviceType\": \"allServiceTypes\", // String Optional\n    \"courier\": \"alas\", // String Optional\n    \"filter\": \"shippingCost\" // String Optional\n}\n\n</code></pre>\n<p><strong>Significado de valores:</strong></p>\n<ul>\n<li><p><strong>items</strong></p>\n<ul>\n<li><p><strong>sku:</strong> Sku del producto solicitado.</p>\n</li>\n<li><p><strong>quantity:</strong> Unidades solicitadas.</p>\n</li>\n<li><p><strong>weight:</strong> Peso en kilogramos por unidad.</p>\n</li>\n<li><p><strong>productType:</strong> tipo de producto que puede ser uno de los estándares es decir (xs,s,m,l,xl….) o un nombre que se haya mapeado en la configuración.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>delivery:</strong> Tipo de entrega solicitada (pickup / shipping).</p>\n</li>\n<li><p><strong>locality:</strong> Región de destino del envío (Ej: Región Metropolitana).</p>\n</li>\n<li><p><strong>destination:</strong> Comuna de destino (Ej: Las condes).</p>\n</li>\n<li><p><strong>store:</strong> Tienda requerida para cumplir con el pedido.</p>\n</li>\n<li><p><strong>serviceType:</strong> Tipo de servicio requerido para la entrega (Ej: sameday, nextday, normal), allServiceTypes (todos los tipos de servicio disponibles).</p>\n</li>\n<li><p><strong>courier:</strong> Courier solicitado para la entrega (Ej: Alas).</p>\n</li>\n<li><p><strong>filter:</strong> Filtro solicitado para la consulta. Por default ordena por shippingCost, valores posibles:</p>\n<ul>\n<li><p><strong>shippingCost:</strong> Entrega lista ordenada de menor a mayor de costo de envío.</p>\n</li>\n<li><p><strong>deliveryTimes:</strong> Entrega lista ordenada de menor a mayor tiempo de envío.</p>\n</li>\n<li><p><strong>bestShippingCost:</strong> Entrega el menor costo de envío.</p>\n</li>\n<li><p><strong>bestDeliveryTimes:</strong> Entrega el mejor tiempo de entrega.</p>\n</li>\n<li><p><strong>availability:</strong> Entrega las direcciones disponibles.</p>\n</li>\n</ul>\n</li>\n</ul>\n<ol>\n<li><strong>Response</strong></li>\n</ol>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"pickup\": [\n    {\n      \"store\": \"59857698984\",\n      \"storeName\": \"plaza egaña\",\n      \"storeAddress\": {\n        \"address1\": \"Pío XI 1615\",\n        \"address2\": \"Local 13\",\n        \"locality\": \"RM\",\n        \"destination\": \"Santiago\"\n      },\n      \"deliveryCost\": 0,\n      \"description\": \"Retiro en tienda plaza egaña\",\n      \"multipleFulfillments\": false,\n      \"consolidation\": false,\n      \"solutionDetailPromiseEngine\": [\n        {\n          \"locationSourceStock\": \"59857698984\",\n          \"deliveryMethod\": \"pickup\",\n          \"locationId\": \"59857698984\",\n          \"consolidation\": false,\n          \"courierId\": null,\n          \"courierServiceType\": null,\n          \"deliveryCost\": 0,\n          \"readyForPickupEstimate\": \"2024-03-06T16:20:00 +0000\",\n          \"operationalPromises\": [\n            {\n              \"name\": \"picking\",\n              \"value\": \"2024-03-01T00:15:00.148Z\"\n            },\n            {\n              \"name\": \"vas\",\n              \"value\": \"2024-03-01T07:00:00.148Z\"\n            }\n          ],\n          \"items\": [\n            {\n              \"sku\": \"S000000-5-0\",\n              \"quantity\": \"10\",\n              \"weight\": \"2\",\n              \"product_type\": \"XL\"\n            }\n          ]\n        }\n      ]\n    }\n  ]\n}\n\n</code></pre>\n<p>Significado de valores:</p>\n<ul>\n<li><p><strong>pickup:</strong> Identifica que la tarifa corresponde a tipo de entrega retiro</p>\n<ul>\n<li><p><strong>store:</strong> ID de la tienda que efectúa la entrega del pedido</p>\n</li>\n<li><p><strong>storeName:</strong> Nombre de la tienda que efectúa la entrega del pedido</p>\n</li>\n<li><p><strong>storeAddress:</strong> Dirección de la tienda que efectúa la entrega del pedido</p>\n<ul>\n<li><p><strong>address1:</strong> Dirección 1</p>\n</li>\n<li><p><strong>address2:</strong> Dirección 2</p>\n</li>\n<li><p><strong>locality:</strong> Región</p>\n</li>\n<li><p><strong>destination:</strong> Comuna</p>\n</li>\n</ul>\n</li>\n<li><p><strong>deliveryCost:</strong> Costo total del envío</p>\n</li>\n<li><p><strong>description:</strong> Descripción de la tarifa entregada</p>\n</li>\n<li><p><strong>multipleFulfillments:</strong> Indicador de si la respuesta de cumplimiento del pedido contempla varios orígenes</p>\n</li>\n<li><p><strong>consolidation:</strong> Indicador correspondiente a consolidación de fulfillments en<br />  un origen</p>\n</li>\n<li><p><strong>solutionDetailPromiseEngine:</strong> [ Objeto que deberá ser almacenado en el<br />  pedido para ser enviado a Be flow OMS</p>\n<ul>\n<li><p><strong>id:</strong> identificador único</p>\n</li>\n<li><p><strong>locationSourceStock:</strong> ID de la tienda Proveedora del stock para cumpliendo de la totalidad o parcialidad del pedido</p>\n</li>\n<li><p><strong>deliveryMethod:</strong> Tipo de entrega</p>\n</li>\n<li><p><strong>locationId:</strong> ID de la tienda destino de retiro</p>\n</li>\n<li><p><strong>consolidation:</strong> identifica si el locationId efectúa consolidación</p>\n</li>\n<li><p><strong>courierId:</strong> ID del courier que efectuará la entrega (en caso de que<br />  aplique)</p>\n</li>\n<li><p><strong>courierServiceType:</strong> Tipo de servicio asociado a la entrega (en<br />  caso de que aplique)</p>\n</li>\n<li><p><strong>deliveryCost:</strong> Costo de envío específico (en caso de que<br />  aplique)</p>\n</li>\n<li><p><strong>readyForPickupEstimate:</strong> Fecha estimada de listo para retirar</p>\n</li>\n<li><p><strong>operationalPromises:</strong> Promesa operacional</p>\n<ul>\n<li><p><strong>name:</strong> Etapa de la promesa operacional</p>\n</li>\n<li><p><strong>value:</strong> Fecha de cumplimiento de la promesa operacional</p>\n</li>\n</ul>\n</li>\n<li><p><strong>items:</strong> Artículos que se abastecen con la logística y tienda(s) especificadas anteriormente</p>\n<ul>\n<li><p><strong>sku:</strong> Código del producto solicitado</p>\n</li>\n<li><p><strong>quantity:</strong> Cantidad solicitada</p>\n</li>\n<li><p><strong>weight:</strong> Peso total artículo solicitado</p>\n</li>\n<li><p><strong>productType:</strong> Tipo de producto</p>\n</li>\n</ul>\n</li>\n<li><p>consolidationId: identificador del IDque es consolidación</p>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n<li><p><strong>shipping:</strong> Identificador correspondiente a tipo de entrega Despacho</p>\n<ul>\n<li><p><strong>store:</strong> ID de la tienda que efectúa la entrega del pedido</p>\n</li>\n<li><p><strong>storeName:</strong> Nombre de la tienda que efectúa la entrega del pedido</p>\n</li>\n<li><p><strong>storeAddress:</strong> Dirección de la tienda que efectúa la entrega del pedido</p>\n<ul>\n<li><p><strong>address1:</strong> Address 1</p>\n</li>\n<li><p><strong>address2:</strong> Address 2</p>\n</li>\n<li><p><strong>locality:</strong> Región</p>\n</li>\n<li><p><strong>destination:</strong> Comuna</p>\n</li>\n</ul>\n</li>\n<li><p><strong>deliveryCost:</strong> Costo total del envío</p>\n</li>\n<li><p><strong>description:</strong> Descripción de la tarifa entregada</p>\n</li>\n<li><p><strong>multipleFulfillments:</strong> Indicador de si la respuesta de cumplimiento del pedido contempla varios orígenes</p>\n</li>\n<li><p><strong>consolidation:</strong> Indicador correspondiente a consolidación de fulfillments en un origen</p>\n</li>\n<li><p><strong>solutionDetailPromiseEngine:</strong> Objeto que deberá ser almacenado en el pedido para ser enviado a Be flow OMS</p>\n<ul>\n<li><p><strong>id:</strong> identificador único</p>\n</li>\n<li><p><strong>locationSourceStock:</strong> ID de la tienda Proveedora del stock para cumpliendo de la totalidad o parcialidad del pedido</p>\n</li>\n<li><p><strong>deliveryMethod:</strong> Tipo de entrega</p>\n</li>\n<li><p><strong>locationId:</strong> ID de la tienda destino de retiro o despacho</p>\n</li>\n<li><p><strong>consolidation:</strong> identifica si el locationId efectúa consolidación</p>\n</li>\n<li><p><strong>courierId:</strong> ID del courier que efectuará la entrega (en caso de que aplique);</p>\n</li>\n<li><p><strong>courierServiceType:</strong> Tipo de servicio asociado a la entrega (en caso de que aplique)</p>\n</li>\n<li><p><strong>deliveryCost:</strong> Costo de envío específico (en caso de que aplique)</p>\n</li>\n<li><p><strong>deliveryTimeEstimate:</strong> Fecha estimada de listo para retirar</p>\n</li>\n<li><p><strong>operationalPromises:</strong> Promesa operacional</p>\n<ul>\n<li><p><strong>name:</strong> Etapa de la promesa operacional</p>\n</li>\n<li><p><strong>value:</strong> Fecha de cumplimiento de la promesa operacional</p>\n</li>\n</ul>\n</li>\n<li><p><strong>items:</strong> Artículos que se abastecen con la logística actual</p>\n<ul>\n<li><p><strong>sku:</strong> Código del producto solicitado</p>\n</li>\n<li><p><strong>quantity:</strong> Cantidad solicitada</p>\n</li>\n<li><p><strong>weight:</strong> Peso total artículo solicitado</p>\n</li>\n<li><p><strong>productType:</strong> Tipo de producto</p>\n</li>\n</ul>\n</li>\n<li><p><strong>consolidationId:</strong> identificador del id que es consolidación</p>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n<h3 id=\"las-posibles-respuestas-del-promise-engine-son\"><strong>Las posibles respuestas del promise engine son:</strong></h3>\n<ol>\n<li><strong>Habilitar retiro en tienda</strong></li>\n</ol>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"pickup\": [\n        {\n            \"store\": \"general_pos\",\n            \"storeName\": \"general pos\",\n            \"storeAddress\": {\n                \"address1\": \"Laguna Sur 9660 A\",\n                \"address2\": \"\",\n                \"destination\": \"PUDAHUEL\",\n                \"locality\": \"Metropolitana de Santiago\"\n            },\n            \"deliveryCost\": 4990,\n            \"deliveryLocation\": {\n                \"locality\": \"RM\",\n                \"destination\": \"C_NUNOA\"\n            },\n            \"description\": \"\",\n            \"consolidation\": false,\n            \"multipleFulfillments\": false,\n            \"solutionDetailPromiseEngine\": [\n              {\n                \"id\": \"1955ba88-ab19-45e5-ad45-ed65c1635dff\",\n                \"locationSourceStock\": \"general_pos\",\n                \"deliveryMethod\": \"pickup\",\n                \"locationId\": \"general_pos\",\n                \"deliveryCost\": 0,\n                \"consolidation\": false,\n                \"readyForPickupEstimate\": \"2024-04-05T08:25:00-03:00\",\n                \"operationalPromises\": [\n                  {\n                    \"name\": \"picking\",\n                    \"value\": \"2024-04-05T08:10:00-03:00\"\n                  },\n                  {\n                    \"name\": \"vas\",\n                    \"value\": \"2024-04-05T08:25:00-03:00\"\n                  },\n                  {\n                    \"name\": \"carga\",\n                    \"value\": \"2024-04-05T08:25:00-03:00\"\n                  }\n                ],\n                \"items\": [\n                  {\n                    \"productType\": \"xs\",\n                    \"sku\": \"test-promise-simple\",\n                    \"quantity\": 1,\n                    \"weight\": 3\n                  }\n                ]\n              }\n            ]\n        }\n    ]\n}\n\n</code></pre>\n<ol>\n<li><strong>Habilitar retiro en tienda con stock de otra tienda/bodega</strong></li>\n</ol>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"pickup\": [\n        {\n            \"store\": \"general_pos\",\n            \"storeName\": \"general pos store\",\n            \"storeAddress\": {\n                \"address1\": \"Laguna Sur 9660 A\",\n                \"address2\": \"\",\n                \"destination\": \"PUDAHUEL\",\n                \"locality\": \"Metropolitana de Santiago\"\n            },\n            \"deliveryCost\": 4990,\n            \"deliveryLocation\": {\n                \"locality\": \"RM\",\n                \"destination\": \"C_NUNOA\"\n            },\n            \"description\": \"\",\n            \"consolidation\": false,\n            \"multipleFulfillments\": false,\n            \"solutionDetailPromiseEngine\": [\n              {\n                \"id\": \"1955ba88-ab19-45e5-ad45-ed65c1635dff\",\n                \"locationSourceStock\": \"source_general\",\n                \"deliveryMethod\": \"pickup\",\n                \"locationId\": \"general_pos\",\n                \"deliveryCost\": 0,\n                \"consolidation\": false,\n                \"readyForPickupEstimate\": \"2024-04-12T19:00:00-04:00\",\n                \"operationalPromises\": [\n                  {\n                    \"name\": \"picking\",\n                    \"value\": \"2024-04-05T11:40:00-03:00\"\n                  },\n                  {\n                    \"name\": \"vas\",\n                    \"value\": \"2024-04-05T14:10:00-03:00\"\n                  },\n                  {\n                    \"name\": \"carga\",\n                    \"value\": \"2024-04-12T23:00:00.000Z\"\n                  }\n                ],\n                \"items\": [\n                  {\n                    \"productType\": \"xs\",\n                    \"sku\": \"test-promise-another-store\",\n                    \"quantity\": 10,\n                    \"weight\": 3\n                  }\n                ]\n              }\n            ]\n        }\n    ]\n}\n\n</code></pre>\n<ol>\n<li><strong>Habilitar retiro en tienda con stock de múltiples tiendas/bodegas</strong></li>\n</ol>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"pickup\": [\n        {\n            \"store\": \"general_pos\",\n            \"storeName\": \"general pos store\",\n            \"storeAddress\": {\n                \"address1\": \"Laguna Sur 9660 A\",\n                \"address2\": \"\",\n                \"destination\": \"PUDAHUEL\",\n                \"locality\": \"Metropolitana de Santiago\"\n            },\n            \"deliveryCost\": 4990,\n            \"deliveryLocation\": {\n                \"locality\": \"RM\",\n                \"destination\": \"C_NUNOA\"\n            },\n            \"description\": \"\",\n            \"consolidation\": false,\n            \"multipleFulfillments\": false,\n            \"solutionDetailPromiseEngine\": [\n              {\n                \"id\": \"1955ba88-ab19-45e5-ad45-ed65c1635dff\",\n                \"locationSourceStock\": \"source_general\",\n                \"deliveryMethod\": \"pickup\",\n                \"locationId\": \"general_pos\",\n                \"deliveryCost\": 0,\n                \"consolidation\": false,\n                \"readyForPickupEstimate\": \"2024-04-12T19:00:00-04:00\",\n                \"operationalPromises\": [\n                  {\n                    \"name\": \"picking\",\n                    \"value\": \"2024-04-05T11:40:00-03:00\"\n                  },\n                  {\n                    \"name\": \"vas\",\n                    \"value\": \"2024-04-05T14:10:00-03:00\"\n                  },\n                  {\n                    \"name\": \"carga\",\n                    \"value\": \"2024-04-12T23:00:00.000Z\"\n                  }\n                ],\n                \"items\": [\n                  {\n                    \"productType\": \"xs\",\n                    \"sku\": \"test-promise-another-store\",\n                    \"quantity\": 10,\n                    \"weight\": 3\n                  }\n                ]\n              },\n              {\n                \"id\": \"129a5afe-8122-4f58-91ec-d56119b6e65c\",\n                \"locationSourceStock\": \"source_general_2\",\n                \"deliveryMethod\": \"pickup\",\n                \"locationId\": \"general_pos\",\n                \"deliveryCost\": 0,\n                \"consolidation\": false,\n                \"readyForPickupEstimate\": \"2024-04-12T19:00:00-04:00\",\n                \"operationalPromises\": [\n                  {\n                    \"name\": \"picking\",\n                    \"value\": \"2024-04-05T11:40:00-03:00\"\n                  },\n                  {\n                    \"name\": \"vas\",\n                    \"value\": \"2024-04-05T14:10:00-03:00\"\n                  },\n                  {\n                    \"name\": \"carga\",\n                    \"value\": \"2024-04-12T23:00:00.000Z\"\n                  }\n                ],\n                \"items\": [\n                  {\n                    \"productType\": \"xs\",\n                    \"sku\": \"test-promise-another-store\",\n                    \"quantity\": 10,\n                    \"weight\": 3\n                  }\n                ]\n              }\n            ]\n        }\n    ]\n}\n\n</code></pre>\n<ol>\n<li><strong>Habilitar despacho desde CD/Bodega</strong></li>\n</ol>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"shipping\": [\n        {\n            \"store\": \"source_general\",\n            \"storeName\": \"general cd\",\n            \"storeAddress\": {\n                \"address1\": \"Laguna Sur 9660 A\",\n                \"address2\": \"\",\n                \"destination\": \"PUDAHUEL\",\n                \"locality\": \"Metropolitana de Santiago\"\n            },\n            \"deliveryCost\": 4990,\n            \"deliveryLocation\": {\n                \"locality\": \"RM\",\n                \"destination\": \"C_NUNOA\"\n            },\n            \"description\": \"\",\n            \"consolidation\": false,\n            \"multipleFulfillments\": false,\n            \"solutionDetailPromiseEngine\": [\n              {\n                \"id\": \"46d3d8c9-e567-44ff-9ccc-9efa3669e74c\",\n                \"locationSourceStock\": \"source_general\",\n                \"deliveryMethod\": \"shipping\",\n                \"locationId\": \"source_general\",\n                \"courierId\": \"64f8df253c61220e0b7b359c\",\n                \"courierName\": \"TRANSPORTISTAS PROPIOS CONCEPCIÓN\",\n                \"courierServiceType\": \"express\",\n                \"deliveryCost\": 7990,\n                \"consolidation\": false,\n                \"deliveryTimeEstimate\": \"2024-04-16T21:00:00-04:00\",\n                \"operationalPromises\": [\n                  {\n                    \"name\": \"picking\",\n                    \"value\": \"2024-04-05T09:06:00-04:00\"\n                  },\n                  {\n                    \"name\": \"vas\",\n                    \"value\": \"2024-04-05T09:06:00-04:00\"\n                  },\n                  {\n                    \"name\": \"carga\",\n                    \"value\": \"2024-04-05T09:06:00-04:00\"\n                  }\n                ],\n                \"items\": [\n                  {\n                    \"productType\": \"xs\",\n                    \"sku\": \"test-promise-simple\",\n                    \"quantity\": 1,\n                    \"weight\": 3\n                  }\n                ]\n              }\n            ]\n        }\n    ]\n}\n\n</code></pre>\n<ol>\n<li><strong>Habilitar despacho desde Tienda POS</strong></li>\n</ol>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"shipping\": [\n        {\n            \"store\": \"general_pos\",\n            \"storeName\": \"general pos store\",\n            \"storeAddress\": {\n                \"address1\": \"Laguna Sur 9660 A\",\n                \"address2\": \"\",\n                \"destination\": \"PUDAHUEL\",\n                \"locality\": \"Metropolitana de Santiago\"\n            },\n            \"deliveryCost\": 4990,\n            \"deliveryLocation\": {\n                \"locality\": \"RM\",\n                \"destination\": \"C_NUNOA\"\n            },\n            \"description\": \"\",\n            \"consolidation\": false,\n            \"multipleFulfillments\": false,\n            \"solutionDetailPromiseEngine\": [\n              {\n                \"id\": \"46d3d8c9-e567-44ff-9ccc-9efa3669e74c\",\n                \"locationSourceStock\": \"general_pos\",\n                \"deliveryMethod\": \"shipping\",\n                \"locationId\": \"general_pos\",\n                \"courierId\": \"64f8df253c61220e0b7b359c\",\n                \"courierName\": \"TRANSPORTISTAS PROPIOS CONCEPCIÓN\",\n                \"courierServiceType\": \"express\",\n                \"deliveryCost\": 7990,\n                \"consolidation\": false,\n                \"deliveryTimeEstimate\": \"2024-04-16T21:00:00-04:00\",\n                \"operationalPromises\": [\n                  {\n                    \"name\": \"picking\",\n                    \"value\": \"2024-04-05T09:06:00-04:00\"\n                  },\n                  {\n                    \"name\": \"vas\",\n                    \"value\": \"2024-04-05T09:06:00-04:00\"\n                  },\n                  {\n                    \"name\": \"carga\",\n                    \"value\": \"2024-04-05T09:06:00-04:00\"\n                  }\n                ],\n                \"items\": [\n                  {\n                    \"productType\": \"xs\",\n                    \"sku\": \"test-promise-simple\",\n                    \"quantity\": 1,\n                    \"weight\": 3\n                  }\n                ]\n              }\n            ]\n        }\n    ]\n}\n\n</code></pre>\n<ol>\n<li><strong>Habilitar despacho con stock de otra tienda/bodega</strong></li>\n</ol>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"shipping\": [\n        {\n            \"store\": \"general_pos\",\n            \"storeName\": \"general pos store\",\n            \"storeAddress\": {\n                \"address1\": \"Laguna Sur 9660 A\",\n                \"address2\": \"\",\n                \"destination\": \"PUDAHUEL\",\n                \"locality\": \"Metropolitana de Santiago\"\n            },\n            \"deliveryCost\": 4990,\n            \"deliveryLocation\": {\n                \"locality\": \"RM\",\n                \"destination\": \"C_NUNOA\"\n            },\n            \"description\": \"\",\n            \"consolidation\": false,\n            \"multipleFulfillments\": false,\n            \"solutionDetailPromiseEngine\": [\n              {\n                \"id\": \"1955ba88-ab19-45e5-ad45-ed65c1635dff\",\n                \"locationSourceStock\": \"source_general\",\n                \"deliveryMethod\": \"shipping\",\n                \"locationId\": \"general_pos\",\n                \"consolidation\": false,\n                \"courierId\": \"64f8df253c61220e0b7b359c\",\n                \"courierName\": \"TRANSPORTISTAS PROPIOS CONCEPCIÓN\",\n                \"courierServiceType\": \"normal\",\n                \"deliveryCost\": 7990,\n                \"deliveryTimeEstimate\": \"2024-04-08T21:00:00-04:00\",\n                \"operationalPromises\": [\n                  {\n                    \"name\": \"picking\",\n                    \"value\": \"2024-04-05T11:40:00-03:00\"\n                  },\n                  {\n                    \"name\": \"vas\",\n                    \"value\": \"2024-04-05T14:10:00-03:00\"\n                  },\n                  {\n                    \"name\": \"carga\",\n                    \"value\": \"2024-04-12T23:00:00.000Z\"\n                  }\n                ],\n                \"items\": [\n                  {\n                    \"productType\": \"xs\",\n                    \"sku\": \"test-promise-another-store\",\n                    \"quantity\": 10,\n                    \"weight\": 3\n                  }\n                ],\n                \"consolidationId\": \"46d3d8c9-e567-44ff-9ccc-9efa3669e74c\"\n              },\n              {\n                \"id\": \"46d3d8c9-e567-44ff-9ccc-9efa3669e74c\",\n                \"deliveryMethod\": \"shipping\",\n                \"locationId\": \"general_pos\",\n                \"courierId\": \"64f8df253c61220e0b7b359c\",\n                \"courierName\": \"TRANSPORTISTAS PROPIOS CONCEPCIÓN\",\n                \"courierServiceType\": \"normal\",\n                \"deliveryCost\": 7990,\n                \"deliveryTimeEstimate\": \"2024-04-23T21:00:00-04:00\",\n                \"consolidation\": true\n              }\n            ]\n        }\n    ]\n}\n\n</code></pre>\n<ol>\n<li><strong>Habilitar despacho con stock de múltiples tiendas/bodegas</strong></li>\n</ol>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"shipping\": [\n        {\n            \"store\": \"general_pos\",\n            \"storeName\": \"general pos store\",\n            \"storeAddress\": {\n                \"address1\": \"Laguna Sur 9660 A\",\n                \"address2\": \"\",\n                \"destination\": \"PUDAHUEL\",\n                \"locality\": \"Metropolitana de Santiago\"\n            },\n            \"deliveryCost\": 4990,\n            \"deliveryLocation\": {\n                \"locality\": \"RM\",\n                \"destination\": \"C_NUNOA\"\n            },\n            \"description\": \"\",\n            \"consolidation\": false,\n            \"multipleFulfillments\": false,\n            \"solutionDetailPromiseEngine\": [\n              {\n                \"id\": \"1955ba88-ab19-45e5-ad45-ed65c1635dff\",\n                \"locationSourceStock\": \"source_general\",\n                \"deliveryMethod\": \"shipping\",\n                \"locationId\": \"general_pos\",\n                \"consolidation\": false,\n                \"courierId\": \"64f8df253c61220e0b7b359c\",\n                \"courierName\": \"TRANSPORTISTAS PROPIOS CONCEPCIÓN\",\n                \"courierServiceType\": \"normal\",\n                \"deliveryCost\": 7990,\n                \"deliveryTimeEstimate\": \"2024-04-11T21:00:00-04:00\",\n                \"operationalPromises\": [\n                  {\n                    \"name\": \"picking\",\n                    \"value\": \"2024-04-09T13:42:00-04:00\"\n                  },\n                  {\n                    \"name\": \"vas\",\n                    \"value\": \"2024-04-09T18:12:00-04:00\"\n                  },\n                  {\n                    \"name\": \"carga\",\n                    \"value\": \"2024-04-12T12:00:00.000Z\"\n                  }\n                ],\n                \"items\": [\n                  {\n                    \"productType\": \"xs\",\n                    \"sku\": \"test-promise-multiple-store-001\",\n                    \"quantity\": 10,\n                    \"weight\": 3\n                  }\n                ],\n                \"consolidationId\": \"46d3d8c9-e567-44ff-9ccc-9efa3669e74c\"\n              },\n              {\n                \"id\": \"129a5afe-8122-4f58-91ec-d56119b6e65c\",\n                \"locationSourceStock\": \"source_general_2\",\n                \"deliveryMethod\": \"shipping\",\n                \"locationId\": \"general_pos\",\n                \"consolidation\": false,\n                \"courierId\": \"64f8df253c61220e0b7b359c\",\n                \"courierName\": \"TRANSPORTISTAS PROPIOS CONCEPCIÓN\",\n                \"courierServiceType\": \"normal\",\n                \"deliveryCost\": 7990,\n                \"deliveryTimeEstimate\": \"2024-04-11T21:00:00-04:00\",\n                \"operationalPromises\": [\n                  {\n                    \"name\": \"picking\",\n                    \"value\": \"2024-04-09T13:42:00-04:00\"\n                  },\n                  {\n                    \"name\": \"vas\",\n                    \"value\": \"2024-04-09T18:12:00-04:00\"\n                  },\n                  {\n                    \"name\": \"carga\",\n                    \"value\": \"2024-04-12T12:00:00.000Z\"\n                  }\n                ],\n                \"items\": [\n                  {\n                    \"productType\": \"xs\",\n                    \"sku\": \"test-promise-multiple-store-002\",\n                    \"quantity\": 8,\n                    \"weight\": 2\n                  }\n                ],\n                \"consolidationId\": \"46d3d8c9-e567-44ff-9ccc-9efa3669e74c\"\n              },\n              {\n                \"id\": \"46d3d8c9-e567-44ff-9ccc-9efa3669e74c\",\n                \"deliveryMethod\": \"shipping\",\n                \"locationId\": \"general_pos\",\n                \"courierId\": \"64f8df253c61220e0b7b359c\",\n                \"courierName\": \"TRANSPORTISTAS PROPIOS CONCEPCIÓN\",\n                \"courierServiceType\": \"normal\",\n                \"deliveryCost\": 7990,\n                \"deliveryTimeEstimate\": \"2024-04-23T21:00:00-04:00\",\n                \"consolidation\": true\n              }\n            ]\n        }\n    ]\n}\n\n</code></pre>\n<p>SHOPIFY:</p>\n<p><strong>Para las pruebas del promise engine son los siguientes pasos:</strong></p>\n<ol>\n<li><p>La petición requiere de un token de Authorization que es proporcionado por soporte, en los headers se debe de enviar <strong>Authorization: Bearer ${TOKEN}</strong></p>\n</li>\n<li><p><strong>BODY:</strong></p>\n</li>\n</ol>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"rate\": {\n        \"origin\": {\n            \"country\": \"CA\",\n            \"postal_code\": \"K2P1L4\",\n            \"province\": \"RM\",\n            \"city\": \"ñuñoa\",\n            \"name\": null,\n            \"address1\": \"150 Elgin St.\",\n            \"address2\": \"\",\n            \"address3\": null,\n            \"phone\": \"16135551212\",\n            \"fax\": null,\n            \"email\": null,\n            \"address_type\": null,\n            \"company_name\": \"Jamie D's Emporium\"\n        },\n        \"destination\": {\n            \"country\": \"CA\",\n            \"postal_code\": \"K1M1M4\",\n            \"province\": \"RM\",\n            \"city\": \"ñuñoa\",\n            \"name\": \"Bob Norman\",\n            \"address1\": \"24 Sussex Dr.\",\n            \"address2\": \"\",\n            \"address3\": null,\n            \"phone\": null,\n            \"fax\": null,\n            \"email\": null,\n            \"address_type\": null,\n            \"company_name\": null\n        },\n        \"items\": [\n            {\n                \"name\": \"Short Sleeve T-Shirt\",\n                \"sku\": \"SKU-TEST-003\",\n                \"quantity\": 1,\n                \"grams\": 1000,\n                \"price\": 1999,\n                \"vendor\": \"Jamie D's Emporium\",\n                \"requires_shipping\": true,\n                \"taxable\": true,\n                \"fulfillment_service\": \"manual\",\n                \"properties\": null,\n                \"product_id\": 48447225880,\n                \"variant_id\": 258644705304\n            }\n        ],\n        \"currency\": \"USD\",\n        \"locale\": \"en\"\n    }\n}\n\n</code></pre>\n<p><strong>Significado de valores: y son los que se toman en cuenta</strong></p>\n<ul>\n<li><p><strong>rate.items</strong></p>\n<ul>\n<li><p><strong>sku:</strong> Sku del producto solicitado.</p>\n</li>\n<li><p><strong>quantity:</strong> Unidades solicitadas.</p>\n</li>\n<li><p><strong>grams:</strong> Peso en gramos por unidad.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>rate.destination.province:</strong> Región de destino del envío (Ej: Región Metropolitana).</p>\n</li>\n<li><p><strong>rate.destination.city:</strong> Comuna de destino (Ej: Las condes).</p>\n</li>\n</ul>\n<ol>\n<li><strong>Response</strong></li>\n</ol>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"rates\": [\n        {\n            \"service_name\": \"Bluexpress - EX\",\n            \"service_code\": \"EX\",\n            \"total_price\": \"1990\",\n            \"description\": \"\",\n            \"currency\": \"clp\",\n            \"min_delivery_date\": \"2024-09-27T21:00:00-03:00\",\n            \"max_delivery_date\": \"2024-10-01T21:00:00-03:00\",\n            \"working_times\": {\n                \"nextday\": {\n                    \"max_hour\": \"23:00\"\n                },\n                \"sundays\": {\n                    \"sundays_hours\": [\n                        \"09:00\",\n                        \"22:00\"\n                    ],\n                    \"sundays_control\": true\n                },\n                \"holidays\": {},\n                \"sameday\": {\n                    \"max_hour\": \"23:40\"\n                },\n                \"saturdays\": {\n                    \"saturdays_control\": true,\n                    \"saturdays_hours\": [\n                        \"09:00\",\n                        \"22:00\"\n                    ]\n                },\n                \"monday_to_friday\": {\n                    \"monday_to_friday_hours\": [\n                        \"09:00\",\n                        \"22:00\"\n                    ]\n                },\n                \"non_working_days\": [],\n                \"executionTime\": \"2024-09-26T14:16:46-03:00\"\n            }\n        }\n    ]\n}\n\n</code></pre>\n<p>Significado de valores:</p>\n<ul>\n<li><p><strong>rates:</strong> Identifica ese campo shopify con los nombres que se plantea.</p>\n<ul>\n<li><p><strong>service_name:</strong> Nombre del Courier y el servicio del Courier.</p>\n</li>\n<li><p><strong>service_code</strong>: Código del servicio del Courier.</p>\n</li>\n<li><p><strong>total_price:</strong> Costo del precio total.</p>\n</li>\n<li><p><strong>currency:</strong> Tipo de moneda usada.</p>\n</li>\n</ul>\n</li>\n</ul>\n<p>DISPONIBLE<br />Body:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"filter\": \"availability\",\n    \"items\": [\n        {\n            \"productType\": \"chico\",\n            \"sku\": \"039307480666\",\n            \"quantity\": 1,\n            \"weight\": 3\n        }\n    ]\n}\n\n</code></pre>\n<p>Respuesta:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[\n    {\n        \"region\": \"Metropolitana de Santiago\",\n        \"cod_region\": \"Metropolitana de Santiago\",\n        \"comunas\": [\n            {\n                \"comuna\": \"PROVIDENCIA\",\n                \"cod_comuna\": \"PROVIDENCIA\"\n            },\n            {\n                \"comuna\": \"LAS CONDES\",\n                \"cod_comuna\": \"LAS CONDES\"\n            },\n            {\n                \"comuna\": \"BUIN\",\n                \"cod_comuna\": \"BUIN\"\n            },\n            {\n                \"comuna\": \"CALERA DE TANGO\",\n                \"cod_comuna\": \"CALERA DE TANGO\"\n            },\n            {\n                \"comuna\": \"CERRILLOS\",\n                \"cod_comuna\": \"CERRILLOS\"\n            },\n            {\n                \"comuna\": \"CERRO NAVIA\",\n                \"cod_comuna\": \"CERRO NAVIA\"\n            },\n            {\n                \"comuna\": \"COLINA\",\n                \"cod_comuna\": \"COLINA\"\n            },\n            {\n                \"comuna\": \"CONCHALI\",\n                \"cod_comuna\": \"CONCHALI\"\n            },\n            {\n                \"comuna\": \"CURACAVI\",\n                \"cod_comuna\": \"CURACAVI\"\n            },\n            {\n                \"comuna\": \"EL BOSQUE\",\n                \"cod_comuna\": \"EL BOSQUE\"\n            },\n            {\n                \"comuna\": \"EL MONTE\",\n                \"cod_comuna\": \"EL MONTE\"\n            },\n            {\n                \"comuna\": \"ESTACION CENTRAL\",\n                \"cod_comuna\": \"ESTACION CENTRAL\"\n            },\n            {\n                \"comuna\": \"HUECHURABA\",\n                \"cod_comuna\": \"HUECHURABA\"\n            },\n            {\n                \"comuna\": \"INDEPENDENCIA\",\n                \"cod_comuna\": \"INDEPENDENCIA\"\n            },\n            {\n                \"comuna\": \"MACUL\",\n                \"cod_comuna\": \"MACUL\"\n            },\n            {\n                \"comuna\": \"MAIPU\",\n                \"cod_comuna\": \"MAIPU\"\n            },\n            {\n                \"comuna\": \"MELIPILLA\",\n                \"cod_comuna\": \"MELIPILLA\"\n            },\n            {\n                \"comuna\": \"PADRE HURTADO\",\n                \"cod_comuna\": \"PADRE HURTADO\"\n            },\n            {\n                \"comuna\": \"PAINE\",\n                \"cod_comuna\": \"PAINE\"\n            },\n            {\n                \"comuna\": \"PEDRO AGUIRRE CERDA\",\n                \"cod_comuna\": \"PEDRO AGUIRRE CERDA\"\n            },\n            {\n                \"comuna\": \"PENAFLOR\",\n                \"cod_comuna\": \"PENAFLOR\"\n            },\n            {\n                \"comuna\": \"ISLA DE MAIPO\",\n                \"cod_comuna\": \"ISLA DE MAIPO\"\n            },\n            {\n                \"comuna\": \"LA CISTERNA\",\n                \"cod_comuna\": \"LA CISTERNA\"\n            },\n            {\n                \"comuna\": \"LA FLORIDA\",\n                \"cod_comuna\": \"LA FLORIDA\"\n            },\n            {\n                \"comuna\": \"LA GRANJA\",\n                \"cod_comuna\": \"LA GRANJA\"\n            },\n            {\n                \"comuna\": \"LA PINTANA\",\n                \"cod_comuna\": \"LA PINTANA\"\n            },\n            {\n                \"comuna\": \"LA REINA\",\n                \"cod_comuna\": \"LA REINA\"\n            },\n            {\n                \"comuna\": \"LAMPA\",\n                \"cod_comuna\": \"LAMPA\"\n            },\n            {\n                \"comuna\": \"LO BARNECHEA\",\n                \"cod_comuna\": \"LO BARNECHEA\"\n            },\n            {\n                \"comuna\": \"LO ESPEJO\",\n                \"cod_comuna\": \"LO ESPEJO\"\n            },\n            {\n                \"comuna\": \"PIRQUE\",\n                \"cod_comuna\": \"PIRQUE\"\n            },\n            {\n                \"comuna\": \"PUDAHUEL\",\n                \"cod_comuna\": \"PUDAHUEL\"\n            },\n            {\n                \"comuna\": \"PUENTE ALTO\",\n                \"cod_comuna\": \"PUENTE ALTO\"\n            },\n            {\n                \"comuna\": \"QUILICURA\",\n                \"cod_comuna\": \"QUILICURA\"\n            },\n            {\n                \"comuna\": \"QUINTA NORMAL\",\n                \"cod_comuna\": \"QUINTA NORMAL\"\n            },\n            {\n                \"comuna\": \"RECOLETA\",\n                \"cod_comuna\": \"RECOLETA\"\n            },\n            {\n                \"comuna\": \"RENCA\",\n                \"cod_comuna\": \"RENCA\"\n            },\n            {\n                \"comuna\": \"SAN BERNARDO\",\n                \"cod_comuna\": \"SAN BERNARDO\"\n            },\n            {\n                \"comuna\": \"SAN JOAQUIN\",\n                \"cod_comuna\": \"SAN JOAQUIN\"\n            },\n            {\n                \"comuna\": \"SAN JOSE DE MAIPO\",\n                \"cod_comuna\": \"SAN JOSE DE MAIPO\"\n            },\n            {\n                \"comuna\": \"SAN MIGUEL\",\n                \"cod_comuna\": \"SAN MIGUEL\"\n            },\n            {\n                \"comuna\": \"SAN PEDRO\",\n                \"cod_comuna\": \"SAN PEDRO\"\n            },\n            {\n                \"comuna\": \"SAN RAMON\",\n                \"cod_comuna\": \"SAN RAMON\"\n            },\n            {\n                \"comuna\": \"SANTIAGO\",\n                \"cod_comuna\": \"SANTIAGO\"\n            },\n            {\n                \"comuna\": \"TALAGANTE\",\n                \"cod_comuna\": \"TALAGANTE\"\n            },\n            {\n                \"comuna\": \"TILTIL\",\n                \"cod_comuna\": \"TILTIL\"\n            },\n            {\n                \"comuna\": \"VITACURA\",\n                \"cod_comuna\": \"VITACURA\"\n            },\n            {\n                \"comuna\": \"NUNOA\",\n                \"cod_comuna\": \"NUNOA\"\n            },\n            {\n                \"comuna\": \"LO PRADO\",\n                \"cod_comuna\": \"LO PRADO\"\n            },\n            {\n                \"comuna\": \"PENALOLEN\",\n                \"cod_comuna\": \"PENALOLEN\"\n            }\n        ]\n    }\n]\n\n</code></pre>\n","_postman_id":"68e695aa-6721-4652-98e5-4a051c92f8e3"}]}