{"info":{"_postman_id":"d906e64a-798d-403a-aad8-adc10b0887b9","name":"Zubale API","description":"<html><head></head><body><h1 id=\"overview\">Overview.</h1>\n<p>This document is a developer’s guide and provides the necessary information to integrate your websites and mobile apps with our Zubale API endpoints. In this document some of our API endpoints are discussed, giving their business context and some examples on how to use specific features provided by the endpoints.</p>\n<p>Basic prior knowledge on JSON, HTTPS and an understanding of software programming is assumed.</p>\n<h3 id=\"integration\">Integration</h3>\n<p>It's the process to unite with your service automatically in order to provide a connection between your services and Zubale's system to create tasks and update its statuses.</p>\n<p>It is important to note that this API is serving different customers, thus modifications to it are not feasible. If you have special requirements or needs, please talk to your Sales Account Manager to explore a custom integration.</p>\n<h3 id=\"how-to-start-with-zubale\">How to start with Zubale?</h3>\n<p><a href=\"https://en.zubale.com/\">https://en.zubale.com/</a></p>\n<h3 id=\"terminology\">Terminology</h3>\n<p><strong>Customer:</strong> This is the company that integrates with us</p>\n<p><strong>Client:</strong> This is the person who make an order</p>\n<p><strong>Zubalero:</strong> The person who runs Picking and deliveries</p>\n<h3 id=\"response\">Response</h3>\n<p>The Zubale API uses HTTP status codes to indicate the status of the requests. This includes successful and error responses.</p>\n<h3 id=\"success-response-codes\">Success Response Codes</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>HTTP Status Code</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200</td>\n<td>Request successful.</td>\n</tr>\n<tr>\n<td>200</td>\n<td>User created.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"error-response-codes\">Error Response Codes</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>HTTP Status Code</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>500</td>\n<td>Internal server error.</td>\n</tr>\n<tr>\n<td>409</td>\n<td>Format not recognized.</td>\n</tr>\n<tr>\n<td>409</td>\n<td>Encoding format not recognized.</td>\n</tr>\n<tr>\n<td>404</td>\n<td>Content not found</td>\n</tr>\n<tr>\n<td>401</td>\n<td>Unauthorized/Invalid token</td>\n</tr>\n<tr>\n<td>400</td>\n<td>Bad request.</td>\n</tr>\n</tbody>\n</table>\n</div></body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Overview.","slug":"overview"}],"owner":"15403364","collectionId":"d906e64a-798d-403a-aad8-adc10b0887b9","publishedId":"2s83mdJ3sr","public":true,"customColor":{"top-bar":"0044FF","right-sidebar":"303030","highlight":"0044FF"},"publishDate":"2022-09-28T20:32:54.000Z"},"item":[{"name":"Zubale API v2 (Actual)","item":[{"name":"Authentication","item":[{"name":"Authentication","id":"3ee0256c-7285-486d-a0d5-fd7f9d0ed98c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/oauth2/token","description":"<h2 id=\"access-token\"><strong>ACCESS TOKEN</strong></h2>\n<p>METHOD: <strong>POST</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Security scheme type</strong></th>\n<th><strong>BASIC AUTH</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Staging URL</td>\n<td>{{BASE_URL}}/oauth2/token</td>\n</tr>\n<tr>\n<td>Production URL</td>\n<td>{{BASE_URL}}/oauth2/token</td>\n</tr>\n</tbody>\n</table>\n</div><p>The Zubale API endpoints make use of ACCESS_TOKEN for secure authentication and authorization.</p>\n<p>The ACCESS_TOKEN is necessary to test and work in the Zubale production environment when dealing with secured endpoints allowing the secure exchange of JSON information pertaining to your account.</p>\n<h3 id=\"request\"><strong>Request</strong></h3>\n<p>Payload request structure</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Attribute</th>\n<th>Description</th>\n<th>Datatype</th>\n<th>Required</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>client_id</td>\n<td>This attribute is generated by zubale for each client</td>\n<td>string</td>\n<td>True</td>\n<td></td>\n</tr>\n<tr>\n<td>client_secret</td>\n<td>This attribute is generated by zubale for each client</td>\n<td>string</td>\n<td>True</td>\n<td></td>\n</tr>\n<tr>\n<td>grant_type</td>\n<td>Default value “client_credentials”</td>\n<td>string</td>\n<td>True</td>\n<td>“client_credentials”</td>\n</tr>\n</tbody>\n</table>\n</div><p>Note: The ACCESS TOKEN must be provided in the Authorization header of the HTTP request using the ‘Bearer’ scheme.</p>\n<h3 id=\"response\"><strong>Response</strong></h3>\n<p>Response status code: 200 OK</p>\n<p>Success response</p>\n<p>Payload Structure</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Attribute</th>\n<th>Description</th>\n<th>Datatype</th>\n<th>Required</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>token_type</td>\n<td></td>\n<td>string</td>\n<td>True</td>\n<td>\"bearer\"</td>\n</tr>\n<tr>\n<td>access_token</td>\n<td>This is a JSON web token that gives the customer the credential to utilize the Delivery API or Picking and delivery API</td>\n<td>string</td>\n<td>True</td>\n<td>\"ia3XRImbm8Y4yLz5FiQOfYdygG0b6LKu\"</td>\n</tr>\n<tr>\n<td>expires_in</td>\n<td>This is the time value that the token is alive. It is expressed in seconds. Lifetime : 7200 seconds, 2 hours</td>\n<td>number</td>\n<td>True</td>\n<td>7200</td>\n</tr>\n</tbody>\n</table>\n</div><p>Response status code: 400 Bad request</p>\n<p>Payload Structure</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Attribute</th>\n<th>Description</th>\n<th>Datatype</th>\n<th>Required</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>error_description</td>\n<td>Invalid client authentication</td>\n<td>String</td>\n<td></td>\n<td>\"Invalid client authentication\"</td>\n</tr>\n<tr>\n<td>error</td>\n<td>invalid_client</td>\n<td>String</td>\n<td></td>\n<td>\"invalid_client\"</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"jwt\">JWT</h2>\n<p>The Zubale API endpoints make use of JWT (JSON Web Tokens) for secure authentication and authorization.</p>\n<p>The JWT token is necessary to test and work in the Zubale production environment when dealing with secured endpoints allowing the secure exchange of JSON information pertaining to your account. The token must be provided in the Authorization header of the HTTP request using the ‘Bearer’ scheme.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Security scheme type</strong></th>\n<th><strong>BEARER</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>JWT</td>\n<td>For consume the API you should get with zubale the authorization token to be able to get response of location for tracking the orders.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"gps-tracker-jwt\">GPS TRACKER JWT</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Security scheme type</strong></th>\n<th><strong>BEARER</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>JWT</td>\n<td>For consume the API you should get with zubale the authorization token to be able to get response of location for tracking the orders.</td>\n</tr>\n</tbody>\n</table>\n</div><p>Note: If you have a JWT for Picking and delivery or delivery it isn´t de same as the one for GPS TRACKER.</p>\n","auth":{"type":"basic","basic":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"34ff21a8-2134-4f07-9f1c-4a64bc87350d","id":"34ff21a8-2134-4f07-9f1c-4a64bc87350d","name":"Authentication","type":"folder"}},"urlObject":{"path":["oauth2","token"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"7b5e9a41-e1e3-4c26-8401-f1ebff6249b7","name":"Authentication OK","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"name":"Content-Type","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"curl --location -g --request POST '{{BASE_URL}}/oauth2/token' \\\r\n--header 'Content-Type: application/json' \\\r\n--data-raw '{\r\n    \"client_id\": \"{{CLIENT_ID}}\",\r\n    \"client_secret\": \"{{CLIENT_SECRET}}\",\r\n    \"grant_type\": \"client_credentials\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/oauth2/token"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"token_type\": \"bearer\",\n  \"access_token\": \"ia1XaSImbm8h4yLz5FiQOfYdygG0b6LKu\",\n  \"expires_in\": 7200\n}"},{"id":"121e29cf-5da6-497a-9dae-306b285bd8db","name":"Authentication Error","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"name":"Content-Type","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"curl --location -g --request POST '{{BASE_URL}}/oauth2/token' \\\r\n--header 'Content-Type: application/json' \\\r\n--data-raw '{\r\n    \"client_id\": \"{{CLIENT_ID}}\", \r\n    \"client_secret\": \"{{CLIENT_SECRET}}\",\r\n    \"grant_type\": \"client_credentials\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/oauth2/token"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error_description\": \"Invalid client authentication\",\n  \"error\": \"invalid_client\"\n}"}],"_postman_id":"3ee0256c-7285-486d-a0d5-fd7f9d0ed98c"}],"id":"34ff21a8-2134-4f07-9f1c-4a64bc87350d","auth":{"type":"basic","basic":{"basicConfig":[]},"isInherited":false},"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"904eb133-28bd-476d-af81-3879c857f080"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"c695ec3c-ab6a-43a7-8ffc-8699a5d273a6"}}],"_postman_id":"34ff21a8-2134-4f07-9f1c-4a64bc87350d","description":""},{"name":"Delivery API","item":[{"name":"Create Delivery Order","id":"f2eb19f5-1904-4d03-8261-717bca03d2b1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"brandId\": \"{{CLIENT_PLATFORM}}\",\n  \"comment\": \"C/5 #20, apartment 140. In front of the market A\",\n  \"contactInfo\": {\n    \"address\": \"Estr. Nuporanga a Batatais, Batatais - SP, 14300-000, Brazil\",\n    \"comments\": \"No comments for now\",\n    \"name\": \"Zubale Staging\",\n    \"phone_number\": \"+50250192439\",\n    \"zip_code\": \"00110\"\n  },\n  \"dropOffLocation\": {\n    \"latitude\": -20.8199846,\n    \"longitude\": -47.7547004\n  },\n  \"orderId\": \"{{customer_order_id}}\",\n  \"requestId\": \"{{customer_order_id}}\",\n  \"storeId\": \"{{CLIENT_STORE_ID}}\",\n  \"orderInfo\": {\n    \"totalLineItems\": 3,\n    \"totalQuantity\": 2,\n    \"totalVolume\": 1,\n    \"totalWeight\": 8,\n    \"total_amount\": 20\n  },\n  \"orderItems\": [\n    {\n      \"amount\": 10.1,\n      \"imageUrl\": \"https://jugetesImage/image/upload/7441001700064.jpg\",\n      \"longName\": \"Jugetes para perros\",\n      \"pesable\": false,\n      \"quantity\": 1,\n      \"shortName\": \"Jugetes para perros\",\n      \"sku\": \"17501017043214\",\n      \"thumbnailUrl\": \"https://jugetesImage/image/upload/7441001700064.jpg\",\n      \"unit\": \"PCE\",\n      \"comments\": \"\",\n      \"productId\": \"\"\n    },\n    {\n      \"amount\": 10.1,\n      \"imageUrl\": \"https://jugetesImage/image/upload/7441001700064.jpg\",\n      \"longName\": \"Jugetes para perros\",\n      \"pesable\": false,\n      \"quantity\": 1,\n      \"shortName\": \"Jugetes para perros\",\n      \"sku\": \"10694021118003\",\n      \"thumbnailUrl\": \"https://jugetesImage/image/upload/7441001700064.jpg\",\n      \"unit\": \"PCE\",\n      \"comments\": \"\",\n      \"productId\": \"\"\n    }\n  ],\n  \"paymentInfo\": {\n    \"amount\": 20.2,\n    \"mode\": \"PAY_ON_DELIVERY\",\n    \"payOnDeliveryType\": \"type\",\n    \"status\": \"pending\",\n    \"type\": \"CARD\"\n  },\n  \"windowConfiguration\": {\n    \"storeArrivalTime\": \"2023-04-26 00:30:00.000Z\",\n    \"pickup\": {\n      \"endTime\": \"2023-04-27 00:30:00.000Z\",\n      \"startTime\": \"2023-04-26 00:30:00.000Z\"\n    },\n    \"delivery\": {\n      \"endTime\": \"2023-04-27 00:30:00.000Z\",\n      \"startTime\": \"2023-04-26 00:30:00.000Z\"\n    }\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"{{BASE_URL}}/orders/api/pnp_delivery/jobs/sync","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Security scheme type</th>\n<th>BEARER TOKEN</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Staging</td>\n<td>{{BASE_URL}}/api/pnp_delivery/jobs</td>\n</tr>\n<tr>\n<td>Production</td>\n<td>{{BASE_URL}}/api/pnp_delivery/jobs</td>\n</tr>\n</tbody>\n</table>\n</div><p>At this endpoint the client will post the order with all the required information. Here you could find the attributes necessary, the structure and values to perform the process optimally. The format is JSON.</p>\n<h1 id=\"description\">Description</h1>\n<h3 id=\"payload-request-structure\">Payload request structure:</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Feed</th>\n<th>Description</th>\n<th>Datatype</th>\n<th>Required</th>\n<th>Examples</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>brand_ID</td>\n<td>Given identifier for each company integrated with Zubale</td>\n<td>String</td>\n<td>True</td>\n<td>“florida-store”, ”1021”</td>\n<td>Maximum 256 characters</td>\n</tr>\n<tr>\n<td>comment</td>\n<td>General Comments</td>\n<td>String</td>\n<td>False</td>\n<td>“generic”</td>\n<td>Maximum 256 characters</td>\n</tr>\n<tr>\n<td>contact_info.address</td>\n<td>Full address of customer's drop off location.See format address.</td>\n<td>String</td>\n<td>True</td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>contactInfo.comments</td>\n<td>General Comments</td>\n<td>String</td>\n<td>False</td>\n<td>“generic”</td>\n<td>Maximum 256 characters</td>\n</tr>\n<tr>\n<td>contactInfo.name</td>\n<td>Full name of client</td>\n<td>String</td>\n<td>True</td>\n<td>“Pedro Perez”</td>\n<td>Maximum 256 characters</td>\n</tr>\n<tr>\n<td>contactInfo.phone_number</td>\n<td>Phone number of client.</td>\n<td>String</td>\n<td>True</td>\n<td>“+50245549959”</td>\n<td>Struct: + CC NDC SN Max 15 digits CC: Country code (1-3 Digits) NDC: National destination code (Area code) if exists SN: Suscriber number</td>\n</tr>\n<tr>\n<td>contactInfo.zip_code</td>\n<td>Zip Code of client.</td>\n<td>String</td>\n<td>True</td>\n<td>“Brazil: 01232-010”</td>\n<td>“Brazil: 01232-010”</td>\n</tr>\n<tr>\n<td>dropOffLocation.latitude</td>\n<td>Latitude for the delivery final location.</td>\n<td>Number</td>\n<td>True</td>\n<td>19.755164</td>\n<td>Decimal degrees (DD): 41.40338 (-90,90) If you don´t have the data to complete this feed, complete it with 0 OR 0.0 LL.dddddd (d Cantidad minima 6 cantidad maxima 15)</td>\n</tr>\n<tr>\n<td>dropOffLocation.longitude</td>\n<td>Longitude for the delivery final location</td>\n<td>Number</td>\n<td>True</td>\n<td>19.755164</td>\n<td>Decimal degrees (DD): 41.40338 (-180,180) If you don´t have the data to complete this feed, complete it with 0 OR 0.0 (d Cantidad minima 6 cantidad maxima 15)</td>\n</tr>\n<tr>\n<td>orderId</td>\n<td></td>\n<td>Object</td>\n<td></td>\n<td>Table order info</td>\n<td></td>\n</tr>\n<tr>\n<td>orderInfo.totalLineItems</td>\n<td>Number of different items</td>\n<td>Number</td>\n<td>True</td>\n<td>4</td>\n<td>Integer number</td>\n</tr>\n<tr>\n<td>orderInfo.totalQuantity</td>\n<td>Total quantity of items to be delivered.</td>\n<td>Number</td>\n<td>True</td>\n<td>4</td>\n<td>Integer number</td>\n</tr>\n<tr>\n<td>orderInfo.totalVolume</td>\n<td>Total volume of products to be delivered. Unit: m3</td>\n<td>Number</td>\n<td>True</td>\n<td>1.2</td>\n<td>Float number, The customer has to calculate the total volume</td>\n</tr>\n<tr>\n<td>orderInfo.totalWeight</td>\n<td>Total weight of products to be delivered. Unit Kg</td>\n<td>Number</td>\n<td>True</td>\n<td>6.34</td>\n<td>Float number The customer has to calculate the total weight</td>\n</tr>\n<tr>\n<td>orderInfo.size</td>\n<td>Size of the package, S/M/XL</td>\n<td>String</td>\n<td>False</td>\n<td>\"XL”</td>\n<td>Maximum 256 characters</td>\n</tr>\n<tr>\n<td>orderInfo.total_amount</td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>orderItems</td>\n<td>Object with product information</td>\n<td>Object</td>\n<td>True</td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>orderItems.amount</td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>orderItems.imageUrl</td>\n<td>Public Product image URL. In case of don’t have it, send empty attribute</td>\n<td>String</td>\n<td>True</td>\n<td><a href=\"https://galletasImage.com/7441001700065.jpg\">https://galletasImage.com/7441001700065.jpg\"</a></td>\n<td>Maximum 256 characters</td>\n</tr>\n<tr>\n<td>orderItems.longName</td>\n<td>Product long name. It can be the same than item.shortName</td>\n<td>String</td>\n<td>True</td>\n<td>\"Galletas para perros\"</td>\n<td>Maximum 256 characters</td>\n</tr>\n<tr>\n<td>orderItems.pesable</td>\n<td>Where the item is weightable or not</td>\n<td>Boolean</td>\n<td>False</td>\n<td>\"true” / \"false”</td>\n<td>Boolean</td>\n</tr>\n<tr>\n<td>orderItems.quantity</td>\n<td>Number of items of the same product</td>\n<td>Integer</td>\n<td>True</td>\n<td>1, 5, 20, 50</td>\n<td></td>\n</tr>\n<tr>\n<td>orderItems.shortName</td>\n<td>Product short name. It can be the same than item.longName</td>\n<td>String</td>\n<td>True</td>\n<td>\"Galletas para perros\"</td>\n<td>Maximum 256 characters</td>\n</tr>\n<tr>\n<td>orderItems.sku</td>\n<td>Customer defined product id. SKU EAN or other</td>\n<td>String</td>\n<td>True</td>\n<td>“7893457812121” ”ATU-CHI-CAR”</td>\n<td>Maximum 256 characters</td>\n</tr>\n<tr>\n<td>orderItems.thumbnailUrl</td>\n<td>Public Product image URL in thumbnail format. In case of dont have it, send empty attribute</td>\n<td>String</td>\n<td>True</td>\n<td><a href=\"https://galletasImage.com/7441001700065.jpg\">https://galletasImage.com/7441001700065.jpg\"</a></td>\n<td>Maximum 256 characters</td>\n</tr>\n<tr>\n<td>orderItems.unit</td>\n<td>Product unit (PCE for piece, KGM for kilograms). Default PCE</td>\n<td>String</td>\n<td>True</td>\n<td>“PCE” ”KGM”</td>\n<td>The set: {”PCE”,”KGM”}</td>\n</tr>\n<tr>\n<td>orderItems.comments</td>\n<td>General comments for the product</td>\n<td>String</td>\n<td>False</td>\n<td></td>\n<td>Maximum 256 characters</td>\n</tr>\n<tr>\n<td>orderItems.productId</td>\n<td>Second identificator for the product</td>\n<td>String</td>\n<td>False</td>\n<td></td>\n<td>Maximum 256 characters</td>\n</tr>\n<tr>\n<td>paymentInfo.amount</td>\n<td>It is the amount of the delivery. Total amount to be paid by the client.</td>\n<td>String</td>\n<td>False</td>\n<td>“143.25”</td>\n<td>Maximum 256 characters, the amount is in the currency of the operation country</td>\n</tr>\n<tr>\n<td>paymentInfo.comments</td>\n<td>Comments about the payment</td>\n<td>String</td>\n<td>False</td>\n<td>\"comment”</td>\n<td>Maximum 256 characters</td>\n</tr>\n<tr>\n<td>paymentInfo.mode</td>\n<td>It is the method of payment that will be shown to the \"zubalero\" indicating if it is Payment on delivery or was paid online. Supported \"PAY_ON_DELIVERY or \"PAY_ONLINE\"”</td>\n<td>String</td>\n<td>True</td>\n<td>“PAY_ON_DELIVERY”</td>\n<td>SET:{”PAY_ON_DELIVERY”,”PAY_ONLINE”}</td>\n</tr>\n<tr>\n<td>paymentInfo.payOnDeliveryType</td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>paymentInfo.status</td>\n<td>The status of the order's payment</td>\n<td>String</td>\n<td>True</td>\n<td>\"pending\"</td>\n<td>The set:{\"pending\", “approved”}</td>\n</tr>\n<tr>\n<td>paymentInfo.type</td>\n<td>It is the type of payment that will be shown to the \"zubalero\" indicating whether it was paid or will be paid with Card or Cash. Supported options \"CARD or\" CASH “ In case of payment.mode=”PAY_ONLINE” the only value payment.type accepted is “CARD”</td>\n<td>String</td>\n<td>True</td>\n<td>“CARD”</td>\n<td>SET:{”CARD”,”CASH”}</td>\n</tr>\n<tr>\n<td>requestId</td>\n<td>This is a second order identifier . If the customer doesn´t have two identifiers for the order this can be the same as externalOrderID</td>\n<td>String</td>\n<td>True</td>\n<td>“store_palencia”</td>\n<td>Maximum 256 characters</td>\n</tr>\n<tr>\n<td>storeId</td>\n<td>ID of the store where the task is being performed.</td>\n<td>String</td>\n<td>True</td>\n<td>“mystore_001”</td>\n<td>Maximum 256 characters.  <br />obs: This ID needs to be shared with Zubale in order for internal configuration for each store.</td>\n</tr>\n<tr>\n<td>windowConfiguration.delivery.endTime</td>\n<td>Máximum date and time when the delivery task must be finalized. format <a href=\"https://www.iso.org/iso-8601-date-and-time-format.html\">iso 8601</a></td>\n<td>String</td>\n<td>False</td>\n<td>“2021-09-14 03:00:00.000Z”</td>\n<td><a href=\"https://www.iso.org/iso-8601-date-and-time-format.html\">iso 8601</a></td>\n</tr>\n<tr>\n<td>windowConfiguration.delivery.startTime</td>\n<td>Date and time when the delivery task must begin. format <a href=\"https://www.iso.org/iso-8601-date-and-time-format.html\">iso 8601</a>.</td>\n<td>String</td>\n<td>False</td>\n<td>2021-09-14 03:30:00.000Z</td>\n<td><a href=\"https://www.iso.org/iso-8601-date-and-time-format.html\">iso 8601</a></td>\n</tr>\n<tr>\n<td>windowConfiguration.pickup.endTime</td>\n<td>Máximum date and time when the pickup task must be finalized. format <a href=\"https://www.iso.org/iso-8601-date-and-time-format.html\">iso 8601</a></td>\n<td>String</td>\n<td>False</td>\n<td>“2021-09-14 03:00:00.000Z”</td>\n<td><a href=\"https://www.iso.org/iso-8601-date-and-time-format.html\">iso 8601</a></td>\n</tr>\n<tr>\n<td>windowConfiguration.pickup.startTime</td>\n<td>Date and time when the pickup task must begin. format <a href=\"https://www.iso.org/iso-8601-date-and-time-format.html\">iso 8601</a>.</td>\n<td>String</td>\n<td>False</td>\n<td>2021-09-14 03:30:00.000Z</td>\n<td><a href=\"https://www.iso.org/iso-8601-date-and-time-format.html\">iso 8601</a></td>\n</tr>\n<tr>\n<td>windowConfiguration.storeArrivalTime</td>\n<td>Maximum date and time of when the shopper must arrive the store. (Shopper needs to arrive before this hour or receive a penalty for being late). format <a href=\"https://www.iso.org/iso-8601-date-and-time-format.html\">iso 8601</a></td>\n<td>String</td>\n<td>True</td>\n<td>2021-09-14 02:50:00.000Z</td>\n<td><a href=\"https://www.iso.org/iso-8601-date-and-time-format.html\">iso 8601</a></td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"address-format\">Address Format</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Country</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>CHILE</td>\n<td>Av. Almte. Blanco Encalada, Santiago, Región Metropolitana, Chile</td>\n</tr>\n<tr>\n<td>COLOMBIA</td>\n<td>Ak. 50 #44c-43 a 44c-1, Bogotá, Colombia</td>\n</tr>\n<tr>\n<td>PERÚ</td>\n<td>Av. Alfonso Ugarte 97, Cercado de Lima 15001, Peru</td>\n</tr>\n<tr>\n<td>COSTA RICA</td>\n<td>Av. 12, Dolorosa, San José, 1503, Costa Rica</td>\n</tr>\n<tr>\n<td>MEXICO</td>\n<td>Calle Arquímedes, Polanco, Polanco V Secc, Miguel Hidalgo, 11550 Ciudad de México, CDMX, Mexico</td>\n</tr>\n<tr>\n<td>BRASIL</td>\n<td>Complexo Viário Ayrton Senna - Vila Nova Conceição, São Paulo - SP, 04507-000, Brazil</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"time-format\">Time format</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Country</th>\n<th>Local Time</th>\n<th>UTC</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Chile (UTC -4)</td>\n<td>deliveryWindowStartTime: 2021-09-14T03:00:00.000 deliveryWindowEndTime: 2021-09-14T03:30:00.000</td>\n<td>deliveryWindowStartTime: 2021-09-14T07:00:00.000Z deliveryWindowEndTime: 2021-09-14T07:30:00.000Z</td>\n</tr>\n<tr>\n<td>COLOMBIA (UTC-5)</td>\n<td>deliveryWindowStartTime: 2021-09-14T03:00:00.000 deliveryWindowEndTime: 2021-09-14T03:30:00.000</td>\n<td>deliveryWindowStartTime: 2021-09-14T08:00:00.000Z deliveryWindowEndTime: 2021-09-14T08:30:00.000Z</td>\n</tr>\n<tr>\n<td>PERÚ (UTC-5)</td>\n<td>deliveryWindowStartTime: 2021-09-14T03:00:00.000 deliveryWindowEndTime: 2021-09-14T03:30:00.000</td>\n<td>deliveryWindowStartTime: 2021-09-14T08:00:00.000Z deliveryWindowEndTime: 2021-09-14T08:30:00.000Z</td>\n</tr>\n<tr>\n<td>COSTA RICA (UTC -6)</td>\n<td>deliveryWindowStartTime: 2021-09-14T03:00:00.000 deliveryWindowEndTime: 2021-09-14T03:30:00.000</td>\n<td>deliveryWindowStartTime: 2021-09-14T09:00:00.000Z deliveryWindowEndTime: 2021-09-14T09:30:00.000Z</td>\n</tr>\n<tr>\n<td>MEXICO (UTC -6)</td>\n<td>deliveryWindowStartTime: 2021-09-14T03:00:00.000 deliveryWindowEndTime: 2021-09-14T03:30:00.000</td>\n<td>deliveryWindowStartTime: 2021-09-14T09:00:00.000Z deliveryWindowEndTime: 2021-09-14T09:30:00.000Z</td>\n</tr>\n<tr>\n<td>BRASIL (UTC -3)</td>\n<td>deliveryWindowStartTime: 2021-09-14T03:00:00.000  <br />deliveryWindowEndTime: 2021-09-14T03:30:00.000</td>\n<td>deliveryWindowStartTime: 2021-09-14T06:00:00.000Z  <br />deliveryWindowEndTime: 2021-09-14T06:30:00.000Z</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"orderdetail-examples\">Orderdetail examples.</h3>\n<p><strong>Case 1: Orderdetail has 3 item.</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Item 1</th>\n<th>Item 2</th>\n<th>Item 3</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>item.unit: “PCE”</td>\n<td>item.unit:”PCE”</td>\n<td>tem.unit:”PCE”</td>\n</tr>\n<tr>\n<td>item.quantity: ”2”</td>\n<td>item.quantity: ”3”</td>\n<td>item.quantity: ”4”</td>\n</tr>\n</tbody>\n</table>\n</div><div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Feed</th>\n<th></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>orderInfo.totalLineItems</td>\n<td>3</td>\n</tr>\n<tr>\n<td>orderInfo.totalQuantity</td>\n<td>2+3+4=9</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Case 2: Orderdetail has 4 item</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Item 1</th>\n<th>Item 2</th>\n<th>Item 3</th>\n<th>Item 4</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>item.unit: “PCE”</td>\n<td>item.unit:”KGM”</td>\n<td>tem.unit:”KGM”</td>\n<td>Item.unit: “PCE”</td>\n</tr>\n<tr>\n<td>item.quantity: ”2”</td>\n<td>item.quantity: ”3.3”</td>\n<td>item.quantity: ”0.4”</td>\n<td>item.quantity: ”3”</td>\n</tr>\n</tbody>\n</table>\n</div><div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Feed</th>\n<th></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>orderInfo.totalLineItems</td>\n<td>4</td>\n</tr>\n<tr>\n<td>orderInfo.totalQuantity</td>\n<td>2+1+1+3=7</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Case 3: Orderdetail has 2 item.</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Item 1</th>\n<th>Item 2</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>item.unit:”KGM”</td>\n<td>tem.unit:”KGM”</td>\n</tr>\n<tr>\n<td>item.quantity: ”3”</td>\n<td>item.quantity: ”4.1”</td>\n</tr>\n</tbody>\n</table>\n</div><div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Feed</th>\n<th></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>orderInfo.totalLineItems</td>\n<td>2</td>\n</tr>\n<tr>\n<td>orderInfo.totalQuantity</td>\n<td>1+1=2</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["orders","api","pnp_delivery","jobs","sync"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"2181fd22-3e6f-4f3a-9bf4-4d6234f66620","name":"201 Created (PAY_ONLINE)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"brandId\": \"{{CLIENT_PLATFORM}}\",\n  \"comment\": \"C/5 #20, apartment 140. In front of the market A\",\n  \"contactInfo\": {\n    \"address\": \"Estr. Nuporanga a Batatais, Batatais - SP, 14300-000, Brazil\",\n    \"comments\": \"No comments for now\",\n    \"name\": \"Zubale Staging\",\n    \"phone_number\": \"+50250192439\",\n    \"zip_code\": \"00110\"\n  },\n  \"dropOffLocation\": {\n    \"latitude\": -20.8199846,\n    \"longitude\": -47.7547004\n  },\n  \"orderId\": \"{{customer_order_id}}\",\n  \"orderInfo\": {\n    \"totalLineItems\": 3,\n    \"totalQuantity\": 2,\n    \"totalVolume\": 1,\n    \"totalWeight\": 8,\n    \"total_amount\": 20\n  },\n  \"orderItems\": [\n    {\n      \"amount\": 10.1,\n      \"imageUrl\": \"https://jugetesImage/image/upload/7441001700064.jpg\",\n      \"longName\": \"Jugetes para perros\",\n      \"pesable\": false,\n      \"quantity\": 1,\n      \"shortName\": \"Jugetes para perros\",\n      \"sku\": \"17501017043214\",\n      \"thumbnailUrl\": \"https://jugetesImage/image/upload/7441001700064.jpg\",\n      \"unit\": \"PCE\",\n\t\t\t\"comments\": \"\",\n\t\t\t\"productId\": \"\"\n    },\n    {\n      \"amount\": 10.1,\n      \"imageUrl\": \"https://jugetesImage/image/upload/7441001700064.jpg\",\n      \"longName\": \"Jugetes para perros\",\n      \"pesable\": false,\n      \"quantity\": 1,\n      \"shortName\": \"Jugetes para perros\",\n      \"sku\": \"10694021118003\",\n      \"thumbnailUrl\": \"https://jugetesImage/image/upload/7441001700064.jpg\",\n      \"unit\": \"PCE\",\n\t  \"comments\": \"\",\n\t  \"productId\": \"\"\n    }\n  ],\n  \"paymentInfo\": {\n    \"amount\": 20.2,\n    \"comments\": \"Payment comments\",\n    \"mode\": \"PAY_ONLINE\",\n    \"payOnDeliveryType\": \"type\",\n    \"status\": \"pending\",\n    \"type\": \"CARD\"\n  },\n  \"requestId\": \"{{customer_order_id}}\",\n  \"storeId\": \"{{customer_store_id}}\",\n  \"windowConfiguration\": {\n    \"delivery\": {\n      \"endTime\": \"2023-04-27 00:30:00.000Z\",\n      \"startTime\": \"2023-04-26 00:30:00.000Z\"\n    },\n    \"pickup\": {\n      \"endTime\": \"2023-04-27 00:30:00.000Z\",\n      \"startTime\": \"2023-04-26 00:30:00.000Z\"\n    },\n    \"storeArrivalTime\": \"2023-04-26 00:30:00.000Z\"\n  }\n}","options":{"raw":{"language":"json"}}},"url":"{{ENDPOINT}}/orders/api/pnp_delivery/jobs/sync"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"result\": \"OK\"\n}"},{"id":"e77254fb-5996-4be4-8ea4-ae699375c55a","name":"201 Created (PAY_ON_DELIVERY CARD)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"brandId\": \"{{CLIENT_PLATFORM}}\",\n  \"comment\": \"C/5 #20, apartment 140. In front of the market A\",\n  \"contactInfo\": {\n    \"address\": \"Estr. Nuporanga a Batatais, Batatais - SP, 14300-000, Brazil\",\n    \"comments\": \"No comments for now\",\n    \"name\": \"Zubale Staging\",\n    \"phone_number\": \"+50250192439\",\n    \"zip_code\": \"00110\"\n  },\n  \"dropOffLocation\": {\n    \"latitude\": -20.8199846,\n    \"longitude\": -47.7547004\n  },\n  \"orderId\": \"{{customer_order_id}}\",\n  \"orderInfo\": {\n    \"totalLineItems\": 3,\n    \"totalQuantity\": 2,\n    \"totalVolume\": 1,\n    \"totalWeight\": 8,\n    \"total_amount\": 20\n  },\n  \"orderItems\": [\n    {\n      \"amount\": 10.1,\n      \"imageUrl\": \"https://jugetesImage/image/upload/7441001700064.jpg\",\n      \"longName\": \"Jugetes para perros\",\n      \"pesable\": false,\n      \"quantity\": 1,\n      \"shortName\": \"Jugetes para perros\",\n      \"sku\": \"17501017043214\",\n      \"thumbnailUrl\": \"https://jugetesImage/image/upload/7441001700064.jpg\",\n      \"unit\": \"PCE\",\n\t\t\t\"comments\": \"\",\n\t\t\t\"productId\": \"\"\n    },\n    {\n      \"amount\": 10.1,\n      \"imageUrl\": \"https://jugetesImage/image/upload/7441001700064.jpg\",\n      \"longName\": \"Jugetes para perros\",\n      \"pesable\": false,\n      \"quantity\": 1,\n      \"shortName\": \"Jugetes para perros\",\n      \"sku\": \"10694021118003\",\n      \"thumbnailUrl\": \"https://jugetesImage/image/upload/7441001700064.jpg\",\n      \"unit\": \"PCE\",\n\t  \"comments\": \"\",\n\t  \"productId\": \"\"\n    }\n  ],\n  \"paymentInfo\": {\n    \"amount\": 20.2,\n    \"comments\": \"Payment comments\",\n    \"mode\": \"PAY_ON_DELIVERY\",\n    \"payOnDeliveryType\": \"type\",\n    \"status\": \"pending\",\n    \"type\": \"CARD\"\n  },\n  \"requestId\": \"{{customer_order_id}}\",\n  \"storeId\": \"{{customer_store_id}}\",\n  \"windowConfiguration\": {\n    \"delivery\": {\n      \"endTime\": \"2023-04-27 00:30:00.000Z\",\n      \"startTime\": \"2023-04-26 00:30:00.000Z\"\n    },\n    \"pickup\": {\n      \"endTime\": \"2023-04-27 00:30:00.000Z\",\n      \"startTime\": \"2023-04-26 00:30:00.000Z\"\n    },\n    \"storeArrivalTime\": \"2023-04-26 00:30:00.000Z\"\n  }\n}","options":{"raw":{"language":"json"}}},"url":"{{ENDPOINT}}/orders/api/pnp_delivery/jobs/sync"},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"result\": \"OK\"\n}"},{"id":"93c92708-74bb-427d-9ce6-021c2a109cae","name":"201 Created (PAY_ON_DELIVERY CARD)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n  \"brandId\": \"{{CLIENT_PLATFORM}}\",\n  \"comment\": \"C/5 #20, apartment 140. In front of the market A\",\n  \"contactInfo\": {\n    \"address\": \"Estr. Nuporanga a Batatais, Batatais - SP, 14300-000, Brazil\",\n    \"comments\": \"No comments for now\",\n    \"name\": \"Zubale Staging\",\n    \"phone_number\": \"+50250192439\",\n    \"zip_code\": \"00110\"\n  },\n  \"dropOffLocation\": {\n    \"latitude\": -20.8199846,\n    \"longitude\": -47.7547004\n  },\n  \"orderId\": \"{{customer_order_id}}\",\n  \"requestId\": \"{{customer_order_id}}\",\n  \"storeId\": \"{{customer_store_id}}\",\n  \"orderInfo\": {\n    \"totalLineItems\": 3,\n    \"totalQuantity\": 2,\n    \"totalVolume\": 1,\n    \"totalWeight\": 8,\n    \"total_amount\": 20\n  },\n  \"orderItems\": [\n    {\n      \"amount\": 10.1,\n      \"imageUrl\": \"https://jugetesImage/image/upload/7441001700064.jpg\",\n      \"longName\": \"Jugetes para perros\",\n      \"pesable\": false,\n      \"quantity\": 1,\n      \"shortName\": \"Jugetes para perros\",\n      \"sku\": \"17501017043214\",\n      \"thumbnailUrl\": \"https://jugetesImage/image/upload/7441001700064.jpg\",\n      \"unit\": \"PCE\",\n      \"comments\": \"\",\n      \"productId\": \"\"\n    },\n    {\n      \"amount\": 10.1,\n      \"imageUrl\": \"https://jugetesImage/image/upload/7441001700064.jpg\",\n      \"longName\": \"Jugetes para perros\",\n      \"pesable\": false,\n      \"quantity\": 1,\n      \"shortName\": \"Jugetes para perros\",\n      \"sku\": \"10694021118003\",\n      \"thumbnailUrl\": \"https://jugetesImage/image/upload/7441001700064.jpg\",\n      \"unit\": \"PCE\",\n      \"comments\": \"\",\n      \"productId\": \"\"\n    }\n  ],\n  \"paymentInfo\": {\n    \"amount\": 20.2,\n    \"mode\": \"PAY_ON_DELIVERY\",\n    \"payOnDeliveryType\": \"type\",\n    \"status\": \"pending\",\n    \"type\": \"CASH\"\n  },\n  \"windowConfiguration\": {\n    \"storeArrivalTime\": \"2023-04-26 00:30:00.000Z\",\n    \"pickup\": {\n      \"endTime\": \"2023-04-27 00:30:00.000Z\",\n      \"startTime\": \"2023-04-26 00:30:00.000Z\"\n    },\n    \"delivery\": {\n      \"endTime\": \"2023-04-27 00:30:00.000Z\",\n      \"startTime\": \"2023-04-26 00:30:00.000Z\"\n    }\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"{{BASE_URL}}/orders/api/pnp_delivery/jobs/sync"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"result\": \"OK\"\n}"},{"id":"86d871d7-320d-4b95-94f5-ce47cc019a3b","name":"201 Created (WITHOUT GEOLOCATION)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"brandId\": \"{{CLIENT_PLATFORM}}\",\n  \"comment\": \"C/5 #20, apartment 140. In front of the market A\",\n  \"contactInfo\": {\n    \"address\": \"Estr. Nuporanga a Batatais, Batatais - SP, 14300-000, Brazil\",\n    \"comments\": \"No comments for now\",\n    \"name\": \"Zubale Staging\",\n    \"phone_number\": \"+50250192439\",\n    \"zip_code\": \"00110\"\n  },\n  \"dropOffLocation\": {\n    \"latitude\": 0,\n    \"longitude\": 0\n  },\n  \"orderId\": \"{{customer_order_id}}\",\n  \"orderInfo\": {\n    \"totalLineItems\": 3,\n    \"totalQuantity\": 2,\n    \"totalVolume\": 1,\n    \"totalWeight\": 8,\n    \"total_amount\": 20\n  },\n  \"orderItems\": [\n    {\n      \"amount\": 10.1,\n      \"imageUrl\": \"https://jugetesImage/image/upload/7441001700064.jpg\",\n      \"longName\": \"Jugetes para perros\",\n      \"pesable\": false,\n      \"quantity\": 1,\n      \"shortName\": \"Jugetes para perros\",\n      \"sku\": \"17501017043214\",\n      \"thumbnailUrl\": \"https://jugetesImage/image/upload/7441001700064.jpg\",\n      \"unit\": \"PCE\",\n\t\t\t\"comments\": \"\",\n\t\t\t\"productId\": \"\"\n    },\n    {\n      \"amount\": 10.1,\n      \"imageUrl\": \"https://jugetesImage/image/upload/7441001700064.jpg\",\n      \"longName\": \"Jugetes para perros\",\n      \"pesable\": false,\n      \"quantity\": 1,\n      \"shortName\": \"Jugetes para perros\",\n      \"sku\": \"10694021118003\",\n      \"thumbnailUrl\": \"https://jugetesImage/image/upload/7441001700064.jpg\",\n      \"unit\": \"PCE\",\n\t  \"comments\": \"\",\n\t  \"productId\": \"\"\n    }\n  ],\n  \"paymentInfo\": {\n    \"amount\": 20.2,\n    \"comments\": \"Payment comments\",\n    \"mode\": \"PAY_ON_DELIVERY\",\n    \"payOnDeliveryType\": \"type\",\n    \"status\": \"pending\",\n    \"type\": \"CARD\"\n  },\n  \"requestId\": \"{{customer_order_id}}\",\n  \"storeId\": \"{{customer_store_id}}\",\n  \"windowConfiguration\": {\n    \"delivery\": {\n      \"endTime\": \"2023-04-27 00:30:00.000Z\",\n      \"startTime\": \"2023-04-26 00:30:00.000Z\"\n    },\n    \"pickup\": {\n      \"endTime\": \"2023-04-27 00:30:00.000Z\",\n      \"startTime\": \"2023-04-26 00:30:00.000Z\"\n    },\n    \"storeArrivalTime\": \"2023-04-26 00:30:00.000Z\"\n  }\n}","options":{"raw":{"language":"json"}}},"url":"{{ENDPOINT}}/orders/api/pnp_delivery/jobs/sync"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"result\": \"OK\"\n}"},{"id":"89fd7e8a-6e10-4d56-8638-ebfc2b3cb536","name":"201 Created (PAY_ONLINE)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n  \"brandId\": \"{{CLIENT_PLATFORM}}\",\n  \"comment\": \"C/5 #20, apartment 140. In front of the market A\",\n  \"contactInfo\": {\n    \"address\": \"Estr. Nuporanga a Batatais, Batatais - SP, 14300-000, Brazil\",\n    \"comments\": \"No comments for now\",\n    \"name\": \"Zubale Staging\",\n    \"phone_number\": \"+50250192439\",\n    \"zip_code\": \"00110\"\n  },\n  \"dropOffLocation\": {\n    \"latitude\": -20.8199846,\n    \"longitude\": -47.7547004\n  },\n  \"orderId\": \"{{customer_order_id}}\",\n  \"requestId\": \"{{customer_order_id}}\",\n  \"storeId\": \"{{CLIENT_STORE_ID}}\",\n  \"orderInfo\": {\n    \"totalLineItems\": 3,\n    \"totalQuantity\": 2,\n    \"totalVolume\": 1,\n    \"totalWeight\": 8,\n    \"total_amount\": 20\n  },\n  \"orderItems\": [\n    {\n      \"amount\": 10.1,\n      \"imageUrl\": \"https://jugetesImage/image/upload/7441001700064.jpg\",\n      \"longName\": \"Jugetes para perros\",\n      \"pesable\": false,\n      \"quantity\": 1,\n      \"shortName\": \"Jugetes para perros\",\n      \"sku\": \"17501017043214\",\n      \"thumbnailUrl\": \"https://jugetesImage/image/upload/7441001700064.jpg\",\n      \"unit\": \"PCE\",\n      \"comments\": \"\",\n      \"productId\": \"\"\n    },\n    {\n      \"amount\": 10.1,\n      \"imageUrl\": \"https://jugetesImage/image/upload/7441001700064.jpg\",\n      \"longName\": \"Jugetes para perros\",\n      \"pesable\": false,\n      \"quantity\": 1,\n      \"shortName\": \"Jugetes para perros\",\n      \"sku\": \"10694021118003\",\n      \"thumbnailUrl\": \"https://jugetesImage/image/upload/7441001700064.jpg\",\n      \"unit\": \"PCE\",\n      \"comments\": \"\",\n      \"productId\": \"\"\n    }\n  ],\n  \"paymentInfo\": {\n    \"amount\": 20.2,\n    \"mode\": \"PAY_ON_DELIVERY\",\n    \"payOnDeliveryType\": \"type\",\n    \"status\": \"pending\",\n    \"type\": \"CARD\"\n  },\n  \"windowConfiguration\": {\n    \"storeArrivalTime\": \"2023-04-26 00:30:00.000Z\",\n    \"pickup\": {\n      \"endTime\": \"2023-04-27 00:30:00.000Z\",\n      \"startTime\": \"2023-04-26 00:30:00.000Z\"\n    },\n    \"delivery\": {\n      \"endTime\": \"2023-04-27 00:30:00.000Z\",\n      \"startTime\": \"2023-04-26 00:30:00.000Z\"\n    }\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"{{BASE_URL}}/orders/api/pnp_delivery/jobs/sync"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"result\": \"OK\"\n}"}],"_postman_id":"f2eb19f5-1904-4d03-8261-717bca03d2b1"},{"name":"Notify Status Change (Customer side)","id":"8c1a3801-3bb8-403e-b4d0-b29b33571db0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"newStatus\": \"TASK_CANCELLED\",\n    \"oldStatus\": \"TASK_SCHEDULED\",\n    \"lastLocation\": { \"latitude\": 19.3535238, \"longitude\": -99.1763607 },\n    \"date\": \"2024-04-04T16:43:41.993349Z\",\n    \"orderID\": \"{{externalOrderId}}\",\n    \"last_location\": \"\",\n    \"trackingUrl\": \"https://tracking.zubale.com/?token=\"{{zubale_tracking_token}}\"\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"{{BASE_URL}}/integration/notify-status","description":"<h1 id=\"notify-status-change-customer-side\">Notify Status Change (Customer side)</h1>\n<ul>\n<li>We can inform you about changes in the order status.  </li>\n<li>You need to provide an endpoint to which we can send the below notifications.  </li>\n<li>The optional status will depend on the sales process that you cary out.</li>\n</ul>\n<p>The following is a list of the statuses that we can notify:</p>\n<h3 id=\"delivery-statuses\">Delivery Statuses</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Status</th>\n<th>Description</th>\n<th>Default / Optional</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>TASK_SCHEDULED</td>\n<td>Indicates the first state when the task was scheduled Indicates when a return occurs and the task is re-queued and it is ready to be taken or cancelled.</td>\n<td>DEFAULT</td>\n</tr>\n<tr>\n<td>TASK_ASSIGNED</td>\n<td>Indicates the moment when the zubalero takes the order.</td>\n<td>DEFAULT</td>\n</tr>\n<tr>\n<td>PICKED_OUT</td>\n<td>Indicates the moment when the zubalero starts the delivery process and He already has the order</td>\n<td>DEFAULT</td>\n</tr>\n<tr>\n<td>ENROUTE_TO_DROPOFF</td>\n<td>Indicates the moment when the zubalero navigates the map for the customer's location</td>\n<td>DEFAULT</td>\n</tr>\n<tr>\n<td>AT_DROPOFF</td>\n<td>Indicates the moment when the zubalero arrives at the address and proceeds to call then fill in the data and the client's signature.</td>\n<td>DEFAULT</td>\n</tr>\n<tr>\n<td>DELIVERED</td>\n<td>Indicates when the delivery is complete.</td>\n<td>DEFAULT</td>\n</tr>\n<tr>\n<td>PENDING_RETURN</td>\n<td>Indicates the moment when the zubalero finish delivery and must come back to the store</td>\n<td>OPTIONAL</td>\n</tr>\n<tr>\n<td>ENROUTE_TO_RETURN</td>\n<td>Indicates the moment when the zubalero navigates the map to the store after make delivery</td>\n<td>OPTIONAL</td>\n</tr>\n<tr>\n<td>AT_STORE_TO_RETURN</td>\n<td>Indicates the moment when the zubalero arrives at the store after make delivery.</td>\n<td>OPTIONAL</td>\n</tr>\n<tr>\n<td>RETURNED</td>\n<td>Indicates when the delivery is complete and zubalero returned to store</td>\n<td>OPTIONAL</td>\n</tr>\n<tr>\n<td>BACK_FOR_PROBLEM</td>\n<td>Indicates when the zubalero has a problem and return to store.</td>\n<td>OPTIONAL</td>\n</tr>\n<tr>\n<td>CANCELLED</td>\n<td>Indicates if the order is cancelled because an error occurs, for example the product is not in the store, or the customer is not in the place.</td>\n<td>DEFAULT</td>\n</tr>\n</tbody>\n</table>\n</div><p>The statuses sent will depend on the type of operation agreed with the client. In the following diagrams you can see different ways of operating.</p>\n<p><a href=\"https://zubale.notion.site/State-diagram-0f742c40e3f74253a7fe2fba290cfcf5\">State diagrams</a></p>\n<h3 id=\"response\">Response</h3>\n<p><strong>Payload request new status \"TASK_ASSIGNED\"</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Feed</th>\n<th>Description</th>\n<th>Datatype</th>\n<th>Example</th>\n<th>Note</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>newStatus</td>\n<td>New status to update state machine</td>\n<td>String</td>\n<td>“TASK_ASSIGNED”</td>\n<td>{TASK_ASSIGNED}</td>\n</tr>\n<tr>\n<td>oldStatus</td>\n<td>Old status</td>\n<td>String</td>\n<td>“TASK_SCHEDULE”</td>\n<td>{TASK_SCHEDULE}</td>\n</tr>\n<tr>\n<td>orderId</td>\n<td>This is the same than externalOrderId</td>\n<td>String</td>\n<td>“41792\"</td>\n<td>externalOrderId</td>\n</tr>\n<tr>\n<td>shopperDetail</td>\n<td>This object has the information of the shopper</td>\n<td>Object</td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>shopperDetail.firstName</td>\n<td>Shopper first name</td>\n<td>String</td>\n<td>“Pedro” ”Maria Jose”</td>\n<td></td>\n</tr>\n<tr>\n<td>sopperDetail.id</td>\n<td>Shopper identification number, zubale intern</td>\n<td>String</td>\n<td>\"fdf97ceb-cebf-4bfd-8edb-e282d3d868c6\"</td>\n<td></td>\n</tr>\n<tr>\n<td>shopperDetail.phoneNumber</td>\n<td>Shopper phone number</td>\n<td>String</td>\n<td>\"+573142911027\"</td>\n<td>Struct: + CC NDC SN Max 15 digits CC: Country code (1-3 Digits) NDC: National destination code (Area code) if exists SN: Suscriber number</td>\n</tr>\n<tr>\n<td>shopperDetail.vehicle</td>\n<td>Shopper vehicle information</td>\n<td>Object</td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>shopperDetail.vehicle.licensePlateNumber</td>\n<td>Vehicle plate number</td>\n<td>String</td>\n<td>“VSH872”</td>\n<td>The format depends of each country</td>\n</tr>\n<tr>\n<td>shopperDetail.vehicle.model</td>\n<td>Vehicle model</td>\n<td>String</td>\n<td>“hyundai eon”</td>\n<td></td>\n</tr>\n<tr>\n<td>shopperDetail.vehicle.type</td>\n<td>Vehicle type</td>\n<td>String</td>\n<td>“auto”</td>\n<td>{car,minivan,moto}</td>\n</tr>\n<tr>\n<td>shopperDetail.vehicle.year</td>\n<td>Vehicle year</td>\n<td>String</td>\n<td>“2015”</td>\n<td></td>\n</tr>\n<tr>\n<td>trackingUrl</td>\n<td>Url</td>\n<td>String</td>\n<td>\"<a href=\"https://tracking-stag.zubale.com/?token=%7B%7Bzubale_tacking_token%7D%7D\">https://tracking-stag.zubale.com/?token={{zubale_tacking_token}}\"</a></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Description</th>\n<th>Datatype</th>\n<th>Example</th>\n<th>Note</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>orderId</td>\n<td>Customer internal order id</td>\n<td>String</td>\n<td>\"ABCD-14\"</td>\n<td></td>\n</tr>\n<tr>\n<td>oldStatus</td>\n<td>Old status</td>\n<td>String</td>\n<td>\"ENROUTE_TO_DROPOFF\"</td>\n<td></td>\n</tr>\n<tr>\n<td>newStatus</td>\n<td>New status</td>\n<td>String</td>\n<td>\"PICKED_OUT\"</td>\n<td></td>\n</tr>\n<tr>\n<td>trackingUrl</td>\n<td>Tracking URL</td>\n<td>String</td>\n<td>\"<a href=\"https://tracking-stag.zubale.com/?token=%7B%7Bzubale_tacking_token%7D%7D\">https://tracking-stag.zubale.com/?token={{zubale_tacking_token}}\"</a></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["integration","notify-status"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"3150b26b-3ca4-4dab-a53d-e464130f5302","name":"200 OK TASK_SCHEDULED","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"newStatus\": \"TASK_SCHEDULED\",\n    \"oldStatus\": \"\",\n    \"date\": \"2024-04-04T16:43:41.993349Z\",\n    \"orderID\": \"{{externalOrderId}}\",\n    \"trackingUrl\": \"https://tracking.zubale.com/?token={{zubale_tracking_token}}\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{customer_url}}/integration/notifyStatusChange"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"3e479163-9fbf-4951-9c1e-4cccbac00e16","name":"200 OK TASK_ASSIGNED","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"newStatus\":\"TASK_ASSIGNED\",\n    \"oldStatus\":\"TASK_SCHEDULED\",\n    \"lastLocation\": { \"latitude\": 19.3535238, \"longitude\": -99.1763607 },\n    \"date\": \"2024-04-04T16:43:41.993349Z\",\n    \"orderID\":\"{{customer_order_id}}\",\n    \"shopperDetail\":\n    {\n        \"firstName\":\"Pedro Adrian\",\n        \"id\":\"fdf97ceb-cebf-4bfd-8edb-e282d3d868c6\",\n        \"lastName\":\"Perez Garcia\",\n        \"phoneNumber\":\"+573142911027\",\n        \"vehicle\":\n        {\n        \"licensePlateNumber\":\"STQ192\",\n        \"model\":\"hyundai eon\",\n        \"type\":\"car\",\n        \"year\":\"2015\"}\n        },\n        \"trackingUrl\":\"https://tracking-stag.zubale.com/{{zubale_tracking_token}}\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{customer_url}}/integration/notifyStatusChange"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"3a1e516d-76d5-4c72-99e8-0aaf097ba532","name":"200 OK DRIVE_TO_STORE","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"newStatus\": \"DRIVE_TO_STORE\",\n    \"oldStatus\": \"TASK_ASSIGNED\",\n    \"lastLocation\": { \"latitude\": 19.3535238, \"longitude\": -99.1763607 },\n    \"date\": \"2024-04-04T16:43:41.993349Z\",\n    \"orderID\": \"{{customer_order_id}}\",\n    \"trackingUrl\": \"https://tracking.zubale.com/{{zubale_tracking_token}}\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{customer_url}}/integration/notifyStatusChange"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"d19e3ee1-dbeb-4f20-859f-35b8e2490e63","name":"200 OK AT_STORE","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"newStatus\": \"AT_STORE\",\n    \"oldStatus\": \"DRIVE_TO_STORE\",\n    \"lastLocation\": { \"latitude\": 19.3535238, \"longitude\": -99.1763607 },\n    \"date\": \"2024-04-04T16:43:41.993349Z\",\n    \"orderID\": \"{{customer_order_id}}\",\n    \"trackingUrl\": \"https://tracking.zubale.com/{{zubale_tracking_token}}\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{customer_url}}/integration/notifyStatusChange"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"baf1829b-1174-4d3b-a3cb-92d486539ab2","name":"200 OK PICKED_OUT","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"newStatus\": \"PICKED_OUT\",\n    \"oldStatus\": \"TASK_ASSIGNED\",\n    \"lastLocation\": { \"latitude\": 19.3535238, \"longitude\": -99.1763607 },\n    \"date\": \"2024-04-04T16:43:41.993349Z\",\n    \"orderID\": \"{{customer_order_id}}\",\n    \"trackingUrl\": \"https://tracking.zubale.com/?token={{zubale_tacking_token}}\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{customer_url}}/integration/notify-status"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"9ffb8482-bd70-43be-b610-2c831686ae21","name":"200 OK  ENROUTE_TO_DROPOOF","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"newStatus\":\"ENROUTE_TO_DROPOFF\",\n    \"oldStatus\":\"PICKED_OUT\",\n    \"lastLocation\": { \"latitude\": 19.3535238, \"longitude\": -99.1763607 },\n    \"date\": \"2024-04-04T16:43:41.993349Z\",\n    \"orderID\": \"{{customer_order_id}}\",\n    \"trackingUrl\":\"https://tracking.zubale.com/?token={{zubale_tacking_token}}\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{customer_url}}/integration/notify-status"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"87c7f447-cab3-4838-8f51-8f1a3978fdfa","name":"200 OK AT_DROPOFF","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"newStatus\": \"AT_DROPOFF\",\n    \"oldStatus\": \"ENROUTE_TO_DROPOFF\",\n    \"lastLocation\": { \"latitude\": 19.3535238, \"longitude\": -99.1763607 },\n    \"date\": \"2024-04-04T16:43:41.993349Z\",\n    \"orderID\": \"{{customer_order_id}}\",\n    \"trackingUrl\": \"https://tracking.zubale.com/?token={{zubale_tacking_token}}\"\n},","options":{"raw":{"language":"json"}}},"url":"https://{{customer_url}}/integration/notify-status"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"30565dcc-c53b-4f6c-bf9f-66b62a892e9d","name":"200 OK DELIVERED","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"newStatus\": \"DELIVERED\",\n    \"oldStatus\": \"AT_DROPOFF\",\n    \"lastLocation\": { \"latitude\": 19.3535238, \"longitude\": -99.1763607 },\n    \"date\": \"2024-04-04T16:43:41.993349Z\",\n    \"orderID\": \"{{customer_order_id}}\",\n    \"trackingUrl\": \"https://tracking.zubale.com/?token={{zubale_tacking_token}}\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{customer_url}}/integration/notify-status"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"b571a8c5-9118-497a-9ae1-2c17e16fcbb8","name":"200 OK TASK_SCHEDULED","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"newStatus\": \"TASK_CANCELLED\",\n    \"oldStatus\": \"TASK_SCHEDULED\",\n    \"lastLocation\": { \"latitude\": 19.3535238, \"longitude\": -99.1763607 },\n    \"date\": \"2024-04-04T16:43:41.993349Z\",\n    \"orderID\": \"{{externalOrderId}}\",\n    \"last_location\": \"\",\n    \"trackingUrl\": \"https://tracking.zubale.com/?token=\"{{zubale_tracking_token}}\"\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"{{BASE_URL}}/integration/notify-status"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"8c1a3801-3bb8-403e-b4d0-b29b33571db0"}],"id":"ba42c6df-b7d0-42df-a3a0-59e84579eb27","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"72b2d5bd-ffed-43c3-9cad-72ac0dcff207"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"d661e286-f3fd-4667-bb1d-16c2a25adb54"}}],"_postman_id":"ba42c6df-b7d0-42df-a3a0-59e84579eb27","description":""},{"name":"Picking & Delivery API","item":[{"name":"Create Picking & Delivery Order","event":[{"listen":"test","script":{"id":"e5d71c42-5064-4841-98de-f282dc189387","exec":["var jsonData = JSON.parse(responseBody);","","if (jsonData.success) {","    postman.setEnvironmentVariable(\"id\", jsonData.id);","    postman.setEnvironmentVariable(\"uploadFileURL\", jsonData.url)","} else {","    postman.clearEnvironmentVariable(\"id\");","    postman.clearEnvironmentVariable(\"uploadFileURL\");","}"],"type":"text/javascript","packages":{}}}],"id":"4ab0e51a-93a4-430b-9c3d-e6da50be1830","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"brandId\": \"749\",\n  \"comment\": \"C/5 #20, apartment 140. In front of the market A\",\n  \"contactInfo\": {\n    \"address\": \"Estr. Nuporanga a Batatais, Batatais - SP, 14300-000, Brazil\",\n    \"comments\": \"No comments for now\",\n    \"name\": \"Zubale Staging\",\n    \"phone_number\": \"+50250192439\",\n    \"zip_code\": \"00110\"\n  },\n  \"dropOffLocation\": {\n    \"latitude\": -20.8199846,\n    \"longitude\": -47.7547004\n  },\n  \"orderId\": \"SW_QA_1682535942\",\n  \"orderInfo\": {\n    \"totalLineItems\": 3,\n    \"totalQuantity\": 2,\n    \"totalVolume\": 1,\n    \"totalWeight\": 8,\n    \"total_amount\": 20\n  },\n  \"orderItems\": [\n    {\n      \"amount\": 10.1,\n      \"imageUrl\": \"https://jugetesImage/image/upload/7441001700064.jpg\",\n      \"longName\": \"Jugetes para perros\",\n      \"pesable\": false,\n      \"quantity\": 1,\n      \"shortName\": \"Jugetes para perros\",\n      \"sku\": \"17501017043214\",\n      \"thumbnailUrl\": \"https://jugetesImage/image/upload/7441001700064.jpg\",\n      \"unit\": \"PCE\",\n      \"stock\": \"10\",\n      \"comments\": \"\",\n      \"productId\": \"\"\n    },\n    {\n      \"amount\": 10.1,\n      \"imageUrl\": \"https://jugetesImage/image/upload/7441001700064.jpg\",\n      \"longName\": \"Jugetes para perros\",\n      \"pesable\": false,\n      \"quantity\": 1,\n      \"shortName\": \"Jugetes para perros\",\n      \"sku\": \"10694021118003\",\n      \"thumbnailUrl\": \"https://jugetesImage/image/upload/7441001700064.jpg\",\n      \"unit\": \"PCE\",\n      \"stock\": \"1\",\n      \"comments\": \"\",\n      \"productId\": \"\"\n    }\n  ],\n  \"paymentInfo\": {\n    \"amount\": 20.2,\n    \"mode\": \"PAY_ON_DELIVERY\",\n    \"payOnDeliveryType\": \"type\",\n    \"status\": \"pending\",\n    \"type\": \"CARD\"\n  },\n  \"requestId\": \"SW_QA_1682535942\",\n  \"storeId\": \"1\",\n  \"windowConfiguration\": {\n    \"delivery\": {\n      \"endTime\": \"2023-04-27 00:30:00.000Z\",\n      \"startTime\": \"2023-04-26 00:30:00.000Z\"\n    },\n    \"pickup\": {\n      \"endTime\": \"2023-04-27 00:30:00.000Z\",\n      \"startTime\": \"2023-04-26 00:30:00.000Z\"\n    },\n    \"storeArrivalTime\": \"2023-04-26 00:30:00.000Z\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"{{BASE_URL}}/orders/api/pnp_e2e/jobs","description":"<h1 id=\"create-picking--delivery-quest\">Create Picking &amp; Delivery Quest</h1>\n<p>At this endpoint the client will post the order with all the required information. Here you could find the attributes necessary, the structure and values to perform the process optimally. The format is JSON.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Security scheme type</th>\n<th>BEARER TOKEN</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Staging</td>\n<td>{{BASE_URL}}/api/pnp_e2e/jobs</td>\n</tr>\n<tr>\n<td>Production</td>\n<td>{{BASE_URL}}/api/pnp_e2e/jobs</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"description\">Description</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Feed</th>\n<th>Description</th>\n<th>Datatype</th>\n<th>Required</th>\n<th>Examples</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>brand_ID</td>\n<td>Given identifier for each company integrated with Zubale</td>\n<td>String</td>\n<td>True</td>\n<td>“florida-store”, ”1021”</td>\n<td>Maximum 256 characters</td>\n</tr>\n<tr>\n<td>comment</td>\n<td>General Comments</td>\n<td>String</td>\n<td>False</td>\n<td>“generic”</td>\n<td>Maximum 256 characters</td>\n</tr>\n<tr>\n<td>contact_info.address</td>\n<td>Full address of customer's drop off location.See format address.</td>\n<td>String</td>\n<td>True</td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>contactInfo.comments</td>\n<td>General Comments</td>\n<td>String</td>\n<td>False</td>\n<td>“generic”</td>\n<td>Maximum 256 characters</td>\n</tr>\n<tr>\n<td>contactInfo.name</td>\n<td>Full name of client</td>\n<td>String</td>\n<td>True</td>\n<td>“Pedro Perez”</td>\n<td>Maximum 256 characters</td>\n</tr>\n<tr>\n<td>contactInfo.phone_number</td>\n<td>Phone number of client.</td>\n<td>String</td>\n<td>True</td>\n<td>“+50245549959”</td>\n<td>Struct: + CC NDC SN Max 15 digits CC: Country code (1-3 Digits) NDC: National destination code (Area code) if exists SN: Suscriber number</td>\n</tr>\n<tr>\n<td>contactInfo.zip_code</td>\n<td>Zip Code of client.</td>\n<td>String</td>\n<td>True</td>\n<td>“Brazil: 01232-010”</td>\n<td>“Brazil: 01232-010”</td>\n</tr>\n<tr>\n<td>dropOffLocation.latitude</td>\n<td>Latitude for the delivery final location.</td>\n<td>Number</td>\n<td>True</td>\n<td>19.755164</td>\n<td>Decimal degrees (DD): 41.40338 (-90,90) If you don´t have the data to complete this feed, complete it with 0 OR 0.0 LL.dddddd (d Cantidad minima 6 cantidad maxima 15)</td>\n</tr>\n<tr>\n<td>dropOffLocation.longitude</td>\n<td>Longitude for the delivery final location</td>\n<td>Number</td>\n<td>True</td>\n<td>19.755164</td>\n<td>Decimal degrees (DD): 41.40338 (-180,180) If you don´t have the data to complete this feed, complete it with 0 OR 0.0 (d Cantidad minima 6 cantidad maxima 15)</td>\n</tr>\n<tr>\n<td>orderId</td>\n<td></td>\n<td>Object</td>\n<td></td>\n<td>Table order info</td>\n<td></td>\n</tr>\n<tr>\n<td>orderInfo.totalLineItems</td>\n<td>Number of different items</td>\n<td>Number</td>\n<td>True</td>\n<td>4</td>\n<td>Integer number</td>\n</tr>\n<tr>\n<td>orderInfo.totalQuantity</td>\n<td>Total quantity of items to be delivered.</td>\n<td>Number</td>\n<td>True</td>\n<td>4</td>\n<td>Integer number</td>\n</tr>\n<tr>\n<td>orderInfo.totalVolume</td>\n<td>Total volume of products to be delivered. Unit: m3</td>\n<td>Number</td>\n<td>True</td>\n<td>1.2</td>\n<td>Float number, The customer has to calculate the total volume</td>\n</tr>\n<tr>\n<td>orderInfo.totalWeight</td>\n<td>Total weight of products to be delivered. Unit Kg</td>\n<td>Number</td>\n<td>True</td>\n<td>6.34</td>\n<td>Float number The customer has to calculate the total weight</td>\n</tr>\n<tr>\n<td>orderInfo.size</td>\n<td>Size of the package, S/M/XL</td>\n<td>String</td>\n<td>False</td>\n<td>\"XL”</td>\n<td>Maximum 256 characters</td>\n</tr>\n<tr>\n<td>orderInfo.total_amount</td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>orderItems</td>\n<td>Object with product information</td>\n<td>Object</td>\n<td>True</td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>orderItems.amount</td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>orderItems.imageUrl</td>\n<td>Public Product image URL. In case of don’t have it, send empty attribute</td>\n<td>String</td>\n<td>True</td>\n<td><a href=\"https://galletasImage.com/7441001700065.jpg\">https://galletasImage.com/7441001700065.jpg\"</a></td>\n<td>Maximum 256 characters</td>\n</tr>\n<tr>\n<td>orderItems.longName</td>\n<td>Product long name. It can be the same than item.shortName</td>\n<td>String</td>\n<td>True</td>\n<td>\"Galletas para perros\"</td>\n<td>Maximum 256 characters</td>\n</tr>\n<tr>\n<td>orderItems.pesable</td>\n<td>Where the item is weightable or not</td>\n<td>Boolean</td>\n<td>False</td>\n<td>\"true” / \"false”</td>\n<td>Boolean</td>\n</tr>\n<tr>\n<td>orderItems.quantity</td>\n<td>Number of items of the same product</td>\n<td>String</td>\n<td>True</td>\n<td>“1.2” ”1\"</td>\n<td></td>\n</tr>\n<tr>\n<td>orderItems.shortName</td>\n<td>Product short name. It can be the same than item.longName</td>\n<td>String</td>\n<td>True</td>\n<td>\"Galletas para perros\"</td>\n<td>Maximum 256 characters</td>\n</tr>\n<tr>\n<td>orderItems.sku</td>\n<td>Customer defined product id. SKU EAN or other</td>\n<td>String</td>\n<td>True</td>\n<td>“7893457812121” ”ATU-CHI-CAR”</td>\n<td>Maximum 256 characters</td>\n</tr>\n<tr>\n<td>orderItems.thumbnailUrl</td>\n<td>Public Product image URL in thumbnail format. In case of dont have it, send empty attribute</td>\n<td>String</td>\n<td>True</td>\n<td><a href=\"https://galletasImage.com/7441001700065.jpg\">https://galletasImage.com/7441001700065.jpg\"</a></td>\n<td>Maximum 256 characters</td>\n</tr>\n<tr>\n<td>orderItems.unit</td>\n<td>Product unit (PCE for piece, KGM for kilograms). Default PCE</td>\n<td>String</td>\n<td>True</td>\n<td>“PCE” ”KGM”</td>\n<td>The set: {”PCE”,”KGM”}</td>\n</tr>\n<tr>\n<td>orderItems.stock</td>\n<td>How many products are left in the store stock</td>\n<td>String</td>\n<td>False</td>\n<td>\"100” “5.5”</td>\n<td>Maximum 256 characters</td>\n</tr>\n<tr>\n<td>orderItems.comments</td>\n<td>General comments for the product</td>\n<td>String</td>\n<td>False</td>\n<td></td>\n<td>Maximum 256 characters</td>\n</tr>\n<tr>\n<td>orderItems.productId</td>\n<td>Second identificator for the product</td>\n<td>String</td>\n<td>False</td>\n<td></td>\n<td>Maximum 256 characters</td>\n</tr>\n<tr>\n<td>paymentInfo.amount</td>\n<td>It is the amount of the delivery. Total amount to be paid by the client.</td>\n<td>String</td>\n<td>False</td>\n<td>“143.25”</td>\n<td>Maximum 256 characters, the amount is in the currency of the operation country</td>\n</tr>\n<tr>\n<td>paymentInfo.comments</td>\n<td>Comments about the payment</td>\n<td>String</td>\n<td>False</td>\n<td>\"comment”</td>\n<td>Maximum 256 characters</td>\n</tr>\n<tr>\n<td>paymentInfo.mode</td>\n<td>It is the method of payment that will be shown to the \"zubalero\" indicating if it is Payment on delivery or was paid online. Supported \"PAY_ON_DELIVERY or \"PAY_ONLINE\"”</td>\n<td>String</td>\n<td>True</td>\n<td>“PAY_ON_DELIVERY”</td>\n<td>SET:{”PAY_ON_DELIVERY”,”PAY_ONLINE”}</td>\n</tr>\n<tr>\n<td>paymentInfo.payOnDeliveryType</td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>paymentInfo.status</td>\n<td>The status of the order's payment</td>\n<td>String</td>\n<td>True</td>\n<td>\"pending\"</td>\n<td>The set:{\"pending\", “approved”}</td>\n</tr>\n<tr>\n<td>paymentInfo.type</td>\n<td>It is the type of payment that will be shown to the \"zubalero\" indicating whether it was paid or will be paid with Card or Cash. Supported options \"CARD or\" CASH “ In case of payment.mode=”PAY_ONLINE” the only value payment.type accepted is “CARD”</td>\n<td>String</td>\n<td>True</td>\n<td>“CARD”</td>\n<td>SET:{”CARD”,”CASH”}</td>\n</tr>\n<tr>\n<td>requestId</td>\n<td>This is a second order identifier . If the customer doesn´t have two identifiers for the order this can be the same as externalOrderID</td>\n<td>String</td>\n<td>True</td>\n<td>“store_palencia”</td>\n<td>Maximum 256 characters</td>\n</tr>\n<tr>\n<td>storeId</td>\n<td>ID of the store where the task is being performed.</td>\n<td>String</td>\n<td>True</td>\n<td>“mystore_001”</td>\n<td>Maximum 256 characters.  <br />obs: This ID needs to be shared with Zubale in order for internal configuration for each store.</td>\n</tr>\n<tr>\n<td>windowConfiguration.delivery.endTime</td>\n<td>Máximum date and time when the delivery task must be finalized. format UTC</td>\n<td>String</td>\n<td>False</td>\n<td>“2021-09-14T03:00:00.000Z”</td>\n<td>YYYY-MM-DDThh:mm:ss.sTZDYYYY: Four digit yearMM: Two digit month DD: Two digit day (01-31)hh: Two digit hour (00-23)mm:(00-59)ss:(00-59)s: Two digits representing a decimal fraction of secondTZD: Time zone designator ( Z or +hh:mm -hh:mm)</td>\n</tr>\n<tr>\n<td>windowConfiguration.delivery.startTime</td>\n<td>Date and time when the delivery task must begin. format UTC.</td>\n<td>String</td>\n<td>False</td>\n<td>2021-09-14T03:30:00.000Z</td>\n<td>YYYY-MM-DDThh:mm:ss.sTZDYYYY: Four digit yearMM: Two digit month DD: Two digit day (01-31)hh: Two digit hour (00-23)mm:(00-59)ss:(00-59)s: Two digits representing a decimal fraction of secondTZD: Time zone designator ( Z or +hh:mm -hh:mm)</td>\n</tr>\n<tr>\n<td>windowConfiguration.pickup.endTime</td>\n<td>Máximum date and time when the pickup task must be finalized. format UTC</td>\n<td>String</td>\n<td>False</td>\n<td>“2021-09-14T03:00:00.000Z”</td>\n<td>YYYY-MM-DDThh:mm:ss.sTZDYYYY: Four digit yearMM: Two digit month DD: Two digit day (01-31)hh: Two digit hour (00-23)mm:(00-59)ss:(00-59)s: Two digits representing a decimal fraction of secondTZD: Time zone designator ( Z or +hh:mm -hh:mm)</td>\n</tr>\n<tr>\n<td>windowConfiguration.pickup.startTime</td>\n<td>Date and time when the pickup task must begin. format UTC.</td>\n<td>String</td>\n<td>False</td>\n<td>2021-09-14T03:30:00.000Z</td>\n<td>YYYY-MM-DDThh:mm:ss.sTZDYYYY: Four digit yearMM: Two digit month DD: Two digit day (01-31)hh: Two digit hour (00-23)mm:(00-59)ss:(00-59)s: Two digits representing a decimal fraction of secondTZD: Time zone designator ( Z or +hh:mm -hh:mm)</td>\n</tr>\n<tr>\n<td>windowConfiguration.storeArrivalTime</td>\n<td>Maximum date and time of when the shopper must arrive the store. (Shopper needs to arrive before this hour or receive a penalty for being late). format UTC</td>\n<td>String</td>\n<td>True</td>\n<td>2021-09-14T02:50:00.000Z</td>\n<td>YYYY-MM-DDThh:mm:ss.sTZDYYYY: Four digit yearMM: Two digit month DD: Two digit day (01-31)hh: Two digit hour (00-23)mm:(00-59)ss:(00-59)s: Two digits representing a decimal fraction of secondTZD: Time zone designator ( Z or +hh:mm -hh:mm)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["orders","api","pnp_e2e","jobs"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"a3d574ff-f088-4086-abde-6c0f3f73838b","name":"200 Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n  \"brandId\": \"{{customer_platform}}\",\n  \"comment\": \"C/5 #20, apartment 140. In front of the market A\",\n  \"contactInfo\": {\n    \"address\": \"Estr. Nuporanga a Batatais, Batatais - SP, 14300-000, Brazil\",\n    \"comments\": \"No comments for now\",\n    \"name\": \"Zubale Staging\",\n    \"phone_number\": \"+50250192439\",\n    \"zip_code\": \"00110\"\n  },\n  \"dropOffLocation\": {\n    \"latitude\": -20.8199846,\n    \"longitude\": -47.7547004\n  },\n  \"orderId\": \"{{customer_order_id}}\",\n  \"orderInfo\": {\n    \"totalLineItems\": 3,\n    \"totalQuantity\": 2,\n    \"totalVolume\": 1,\n    \"totalWeight\": 8,\n    \"total_amount\": 20\n  },\n  \"orderItems\": [\n    {\n      \"amount\": 10.1,\n      \"imageUrl\": \"https://jugetesImage/image/upload/7441001700064.jpg\",\n      \"longName\": \"Jugetes para perros\",\n      \"pesable\": false,\n      \"quantity\": 1,\n      \"shortName\": \"Jugetes para perros\",\n      \"sku\": \"17501017043214\",\n      \"thumbnailUrl\": \"https://jugetesImage/image/upload/7441001700064.jpg\",\n      \"unit\": \"PCE\",\n      \"stock\": \"10\",\n      \"comments\": \"\",\n      \"productId\": \"\"\n    },\n    {\n      \"amount\": 10.1,\n      \"imageUrl\": \"https://jugetesImage/image/upload/7441001700064.jpg\",\n      \"longName\": \"Jugetes para perros\",\n      \"pesable\": false,\n      \"quantity\": 1,\n      \"shortName\": \"Jugetes para perros\",\n      \"sku\": \"10694021118003\",\n      \"thumbnailUrl\": \"https://jugetesImage/image/upload/7441001700064.jpg\",\n      \"unit\": \"PCE\",\n      \"stock\": \"1\",\n      \"comments\": \"\",\n      \"productId\": \"\"\n    }\n  ],\n  \"paymentInfo\": {\n    \"amount\": 20.2,\n    \"mode\": \"PAY_ON_DELIVERY\",\n    \"payOnDeliveryType\": \"type\",\n    \"status\": \"pending\",\n    \"type\": \"CARD\"\n  },\n  \"requestId\": \"{{customer_order_id}}\",\n  \"storeId\": \"{{customer_store_id}}\",\n  \"windowConfiguration\": {\n    \"delivery\": {\n      \"endTime\": \"2023-04-27 00:30:00.000Z\",\n      \"startTime\": \"2023-04-26 00:30:00.000Z\"\n    },\n    \"pickup\": {\n      \"endTime\": \"2023-04-27 00:30:00.000Z\",\n      \"startTime\": \"2023-04-26 00:30:00.000Z\"\n    },\n    \"storeArrivalTime\": \"2023-04-26 00:30:00.000Z\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"{{BASE_URL}}/orders/api/pnp_e2e/jobs"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"result\": \"OK\"\n}"},{"id":"0803d0bc-d3a1-4a73-8409-35574cdf8827","name":"401 Unauthorized","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n  \"brandId\": \"{{customer_platform}}\",\n  \"comment\": \"C/5 #20, apartment 140. In front of the market A\",\n  \"contactInfo\": {\n    \"address\": \"Estr. Nuporanga a Batatais, Batatais - SP, 14300-000, Brazil\",\n    \"comments\": \"No comments for now\",\n    \"name\": \"Zubale Staging\",\n    \"phone_number\": \"+50250192439\",\n    \"zip_code\": \"00110\"\n  },\n  \"dropOffLocation\": {\n    \"latitude\": -20.8199846,\n    \"longitude\": -47.7547004\n  },\n  \"orderId\": \"{{customer_order_id}}\",\n  \"orderInfo\": {\n    \"totalLineItems\": 3,\n    \"totalQuantity\": 2,\n    \"totalVolume\": 1,\n    \"totalWeight\": 8,\n    \"total_amount\": 20\n  },\n  \"orderItems\": [\n    {\n      \"amount\": 10.1,\n      \"imageUrl\": \"https://jugetesImage/image/upload/7441001700064.jpg\",\n      \"longName\": \"Jugetes para perros\",\n      \"pesable\": false,\n      \"quantity\": 1,\n      \"shortName\": \"Jugetes para perros\",\n      \"sku\": \"17501017043214\",\n      \"thumbnailUrl\": \"https://jugetesImage/image/upload/7441001700064.jpg\",\n      \"unit\": \"PCE\",\n      \"stock\": \"10\",\n      \"comments\": \"\",\n      \"productId\": \"\"\n    },\n    {\n      \"amount\": 10.1,\n      \"imageUrl\": \"https://jugetesImage/image/upload/7441001700064.jpg\",\n      \"longName\": \"Jugetes para perros\",\n      \"pesable\": false,\n      \"quantity\": 1,\n      \"shortName\": \"Jugetes para perros\",\n      \"sku\": \"10694021118003\",\n      \"thumbnailUrl\": \"https://jugetesImage/image/upload/7441001700064.jpg\",\n      \"unit\": \"PCE\",\n      \"stock\": \"1\",\n      \"comments\": \"\",\n      \"productId\": \"\"\n    }\n  ],\n  \"paymentInfo\": {\n    \"amount\": 20.2,\n    \"mode\": \"PAY_ON_DELIVERY\",\n    \"payOnDeliveryType\": \"type\",\n    \"status\": \"pending\",\n    \"type\": \"CARD\"\n  },\n  \"requestId\": \"{{customer_order_id}}\",\n  \"storeId\": \"{{customer_store_id}}\",\n  \"windowConfiguration\": {\n    \"delivery\": {\n      \"endTime\": \"2023-04-27 00:30:00.000Z\",\n      \"startTime\": \"2023-04-26 00:30:00.000Z\"\n    },\n    \"pickup\": {\n      \"endTime\": \"2023-04-27 00:30:00.000Z\",\n      \"startTime\": \"2023-04-26 00:30:00.000Z\"\n    },\n    \"storeArrivalTime\": \"2023-04-26 00:30:00.000Z\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"{{BASE_URL}}/orders/api/pnp_e2e/jobs"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error_description\": \"The access token is missing\",\n  \"error\": \"invalid_request\"\n}"},{"id":"681dcd62-706a-49c5-b9f8-64f975929073","name":"400 Bad Request Missing Field","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n  \"brandId\": \"749\",\n  \"comment\": \"C/5 #20, apartment 140. In front of the market A\",\n  \"contactInfo\": {\n    \"address\": \"Estr. Nuporanga a Batatais, Batatais - SP, 14300-000, Brazil\",\n    \"comments\": \"No comments for now\",\n    \"name\": \"Zubale Staging\",\n    \"phone_number\": \"+50250192439\",\n    \"zip_code\": \"00110\"\n  },\n  \"dropOffLocation\": {\n    \"latitude\": -20.8199846,\n    \"longitude\": -47.7547004\n  },\n  \"orderId\": \"SW_QA_1682535942\",\n  \"orderInfo\": {\n    \"totalLineItems\": 3,\n    \"totalQuantity\": 2,\n    \"totalVolume\": 1,\n    \"totalWeight\": 8,\n    \"total_amount\": 20\n  },\n  \"orderItems\": [\n    {\n      \"amount\": 10.1,\n      \"imageUrl\": \"https://jugetesImage/image/upload/7441001700064.jpg\",\n      \"longName\": \"Jugetes para perros\",\n      \"pesable\": false,\n      \"quantity\": 1,\n      \"shortName\": \"Jugetes para perros\",\n      \"sku\": \"17501017043214\",\n      \"thumbnailUrl\": \"https://jugetesImage/image/upload/7441001700064.jpg\",\n      \"unit\": \"PCE\",\n      \"stock\": \"10\",\n      \"comments\": \"\",\n      \"productId\": \"\"\n    },\n    {\n      \"amount\": 10.1,\n      \"imageUrl\": \"https://jugetesImage/image/upload/7441001700064.jpg\",\n      \"longName\": \"Jugetes para perros\",\n      \"pesable\": false,\n      \"quantity\": 1,\n      \"shortName\": \"Jugetes para perros\",\n      \"sku\": \"10694021118003\",\n      \"thumbnailUrl\": \"https://jugetesImage/image/upload/7441001700064.jpg\",\n      \"unit\": \"PCE\",\n      \"stock\": \"1\",\n      \"comments\": \"\",\n      \"productId\": \"\"\n    }\n  ],\n  \"paymentInfo\": {\n    \"amount\": 20.2,\n    \"mode\": \"PAY_ON_DELIVERY\",\n    \"payOnDeliveryType\": \"type\",\n    \"status\": \"pending\",\n    \"type\": \"CARD\"\n  },\n  \"requestId\": \"SW_QA_1682535942\",\n  \"storeId\": \"1\",\n  \"windowConfiguration\": {\n    \"delivery\": {\n      \"endTime\": \"2023-04-27 00:30:00.000Z\",\n      \"startTime\": \"2023-04-26 00:30:00.000Z\"\n    },\n    \"pickup\": {\n      \"endTime\": \"2023-04-27 00:30:00.000Z\",\n      \"startTime\": \"2023-04-26 00:30:00.000Z\"\n    },\n    \"storeArrivalTime\": \"2023-04-26 00:30:00.000Z\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"{{BASE_URL}}/orders/api/pnp_e2e/jobs"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"errors\": [\n    {\n      \"detail\": \"null value where string expected\",\n      \"source\": {\n        \"pointer\": \"/data/attributes\"\n      },\n      \"title\": \"Invalid value\"\n    }\n  ]\n}"}],"_postman_id":"4ab0e51a-93a4-430b-9c3d-e6da50be1830"},{"name":"Notify Status Change","id":"f43ab406-1fba-45d4-82bf-090f22ce8637","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"newStatus\": \"TASK_CANCELLED\",\n    \"oldStatus\": \"TASK_SCHEDULED\",\n    \"orderID\": \"{{customer_order_id}}\",\n    \"trackingUrl\": \"https://tracking.zubale.com/?token=\"{{zubale_tacking_token}}\"\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"{{BASE_URL}}/integration/notify_status","description":"<h1 id=\"notify-status-change-customer-side\">Notify Status Change (Customer side)</h1>\n<ul>\n<li>We can inform you about changes in the order status. Through a JSON format</li>\n<li>You need to provide an endpoint to which we can send notifications detailed on following table.</li>\n<li>The optional status will depend on the operational process that you carry out.</li>\n</ul>\n<h3 id=\"picking-statuses\">PICKING STATUSES</h3>\n<p>The following is a list of the statuses that we could notify:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Status</th>\n<th>Description</th>\n<th>Default / Optional</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>TASK_SCHEDULED</td>\n<td>Indicates the first state when the task was scheduled Indicates when a return occurs and the task is re-queued and it is ready to be taken or cancelled.</td>\n<td>DEFAULT</td>\n</tr>\n<tr>\n<td>TASK_ASSIGNED</td>\n<td>Indicates the moment when the Zubalero takes the order.</td>\n<td>DEFAULT</td>\n</tr>\n<tr>\n<td>PICKING_STARTED</td>\n<td>This state occurs when the zubalero takes the task and reads the instructions to start collecting the products.</td>\n<td>DEFAULT</td>\n</tr>\n<tr>\n<td>PRODUCT_ADDED</td>\n<td>Indicates the moment when Zubalero added to cart the first product. (and only for the first product)</td>\n<td>DEFAULT</td>\n</tr>\n<tr>\n<td>PRODUCT_SCANNED</td>\n<td>Indicates the moment when Zubalero scanned the first product</td>\n<td>OPTIONAL</td>\n</tr>\n<tr>\n<td>CALLED_CUSTOMER</td>\n<td>Indicates the moment when zubalero calls the client to make a replace, add or remove a product. Also this status is sent when zubalero arrives at the client´s address.</td>\n<td>OPTIONAL</td>\n</tr>\n<tr>\n<td>AT_CASHIER</td>\n<td>When Zubalero goes to cashier.</td>\n<td>OPTIONAL</td>\n</tr>\n<tr>\n<td>PICKED_OUT</td>\n<td>Indicates the moment when the zubalero starts the delivery process and He already has the order</td>\n<td>DEFAULT</td>\n</tr>\n<tr>\n<td>ENROUTE_TO_DROPOFF</td>\n<td>Indicates the moment when the zubalero navigates the map for the customer's location</td>\n<td>DEFAULT</td>\n</tr>\n<tr>\n<td>AT_DROPOFF</td>\n<td>Indicates the moment when the zubalero arrives at the address and proceeds to call then fill in the data and the client's signature.</td>\n<td>DEFAULT</td>\n</tr>\n<tr>\n<td>DELIVERD</td>\n<td>Indicates when the delivery is complete.</td>\n<td>DEFAULT</td>\n</tr>\n<tr>\n<td>PENDING_RETURN</td>\n<td>Indicates the moment when the zubalero finish delivery and must come back to the store</td>\n<td>OPTIONAL</td>\n</tr>\n<tr>\n<td>ENROUTE_TO_RETURN</td>\n<td>Indicates the moment when the zubalero navigates the map to the store after make delivery</td>\n<td>OPTIONAL</td>\n</tr>\n<tr>\n<td>AT_STORE_TO_RETURN</td>\n<td>Indicates the moment when the zubalero arrives at the store after make delivery.</td>\n<td>OPTIONAL</td>\n</tr>\n<tr>\n<td>RETURNED</td>\n<td>Indicates when the delivery is complete and zubalero returned to store</td>\n<td>OPTIONAL</td>\n</tr>\n<tr>\n<td>BACK_FOR_PROBLEM</td>\n<td>Indicates when the zubalero has a problem and return to store.</td>\n<td>OPTIONAL</td>\n</tr>\n<tr>\n<td>TASK_CANCELLED</td>\n<td>Indicates if the order is cancelled because an error occurs, for example the product is not in the store, or the customer is not in the place.</td>\n<td>OPTIONAL</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"states-flow\">States Flow</h3>\n<p><a href=\"https://zubale.notion.site/Flow-9b60274f0f774b779dd2bff77e4849c0\">Diagram status flow</a></p>\n<h3 id=\"request\">Request</h3>\n<p>In the status TASK_ASSIGNED we send the zubalero data</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Feed</th>\n<th>Description</th>\n<th>Datatype</th>\n<th>Example</th>\n<th>Note</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>newStatus</td>\n<td>New status to update state machine</td>\n<td>String</td>\n<td>“TASK_ASSIGNED”</td>\n<td>{TASK_ASSIGNED}</td>\n</tr>\n<tr>\n<td>oldStatus</td>\n<td>Old status</td>\n<td>String</td>\n<td>“TASK_SCHEDULE”</td>\n<td>{TASK_SCHEDULE}</td>\n</tr>\n<tr>\n<td>orderId</td>\n<td>This is the same than externalOrderId</td>\n<td>String</td>\n<td>“41792\"</td>\n<td>externalOrderId</td>\n</tr>\n<tr>\n<td>shopperDetail</td>\n<td>This object has the information of the shopper</td>\n<td>Object</td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>shopperDetail.firstName</td>\n<td>Shopper first name</td>\n<td>String</td>\n<td>“Pedro” ”Maria Jose”</td>\n<td></td>\n</tr>\n<tr>\n<td>sopperDetail.id</td>\n<td>Shopper identification number, zubale intern</td>\n<td>String</td>\n<td>fdf97ceb-cebf-4bfd-8edb-e282d3d868c6</td>\n<td></td>\n</tr>\n<tr>\n<td>shopperDetail.phoneNumber</td>\n<td>Shopper phone number</td>\n<td>String</td>\n<td>+573142911027</td>\n<td>Struct: + CC NDC SN Max 15 digits CC: Country code (1-3 Digits) NDC:National destination code (Area code) if exists SN: Suscriber number</td>\n</tr>\n<tr>\n<td>shopperDetail.vehicle</td>\n<td>Shopper vehicle information</td>\n<td>Object</td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>shopperDetail.vehicle.licensePlateNumber</td>\n<td>Vehicle plate number</td>\n<td>String</td>\n<td>“VSH872”</td>\n<td>The format depends of each country</td>\n</tr>\n<tr>\n<td>shopperDetail.vehicle.model</td>\n<td>Vehicle model</td>\n<td>String</td>\n<td>“hyundai eon”</td>\n<td></td>\n</tr>\n<tr>\n<td>shopperDetail.vehicle.type</td>\n<td>Vehicle type</td>\n<td>String</td>\n<td>“auto”</td>\n<td>{car,minivan,moto}</td>\n</tr>\n<tr>\n<td>shopperDetail.vehicle.year</td>\n<td>Vehicle year</td>\n<td>String</td>\n<td>“2015”</td>\n<td></td>\n</tr>\n<tr>\n<td>trackingUrl</td>\n<td>Url</td>\n<td>String</td>\n<td><a href=\"https://tracking-stag.zubale.com/?token=630fc1dacf214800015dd6a4\">https://tracking-stag.zubale.com/?token=630fc1dacf214800015dd6a4</a></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><p>In other case:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>orderId</td>\n<td>Customer internal order id</td>\n</tr>\n<tr>\n<td>oldStatus</td>\n<td>Old status</td>\n</tr>\n<tr>\n<td>newStatus</td>\n<td>New status</td>\n</tr>\n<tr>\n<td>trackingUrl</td>\n<td>Tracking URL</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["integration","notify_status"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"06852386-8db4-445d-a6d6-bb7201170248","name":"200 OK TASK_ASSIGNED","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"newStatus\": \"reserve\",\n    \"oldStatus\": \"TASK_ASSIGNED\",\n    \"orderID\": \"{{customer_order_id}}\",\n    \"shopperDetail\": {\n        \"id\": \"bdde06a8-85f3-40d8-8ca9-b61a895271f7\",\n        \"firstName\": \"Gabriela\",\n        \"lastName\": \"Recinos Arevalo\",\n        \"phoneNumber\": \"+50250192435\",\n        \"vehicle\": {\n            \"licensePlateNumber\": \"QWERT\",\n            \"model\": \"Default\",\n            \"type\": \"auto\",\n            \"year\": \"2020\"\n        },\n        \"trackingUrl\": \"https://tracking.zubale.com/?token={{zubale_tracking_token}}\"\n    },\n    \"date\": \"2024-04-11T20:00:00.000Z\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{customer_url}}/integration/notify_status"},"status":"OK (TASK_ASSIGNED)","code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"917a3583-f969-4c9e-871a-953a99a64cdb","name":"200 OK PICKING_STARTED","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"newStatus\": \"PICKING_STARTED\",\n  \"oldStatus\": \"TASK_ASSIGNED\",\n  \"lastLocation\": { \n    \"latitude\": 19.3535238, \n    \"longitude\": -99.1763607 \n  },\n  \"orderID\": \"{{customer_order_id}}\",\n  \"trackingUrl\": \"https://tracking-stag.zubale.com/?token={{zubale_tracking_token}}\",\n  \"date\": \"2024-04-11T20:30:00.00Z\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{customer_url}}/integration/notify_status"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"a1bf53fa-86f7-4bd3-a2a0-894ef84cdbbd","name":"200 OK PRODUCT_ADDED","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"newStatus\": \"PRODUCT_ADDED\",\n  \"oldStatus\": \"PICKING_STARTED\",\n  \"lastLocation\": { \n    \"latitude\": 19.3535238, \n    \"longitude\": -99.1763607 \n  },\n  \"orderID\": \"{{customer_order_id}}\",\n  \"trackingUrl\": \"https://tracking-stag.zubale.com/?token={{zubale_tracking_token}}\",\n  \"date\": \"2024-04-11T20:30:00.000Z\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{customer_url}}/integration/notify_status"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"4053dee6-a519-40c4-b7c0-e48d05169eec","name":"200 OK PICKED_OUT","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"newStatus\": \"PICKED_OUT\",\n  \"oldStatus\": \"PRODUCT_ADDED\",\n  \"lastLocation\": { \n    \"latitude\": 19.3535238, \n    \"longitude\": -99.1763607 \n  },\n  \"orderID\": \"{{customer_order_id}}\",\n  \"trackingUrl\": \"https://tracking-stag.zubale.com/?token={{zubale_tracking_token}}\",\n  \"date\": \"2024-04-11T20:30:00.000Z\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{customer_url}}/integration/notify_status"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"12a44531-2765-40ec-a5fb-80c0c5f40625","name":"200 OK ENROUTE_TO_DROPOFF","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"newStatus\": \"AT_DROPOFF\",\n  \"oldStatus\": \"ENROUTE_TO_DROPOFF\",\n  \"lastLocation\": { \n    \"latitude\": 19.3535238, \n    \"longitude\": -99.1763607 \n  },\n  \"orderID\": \"{{customer_order_id}}\",\n  \"trackingUrl\": \"https://tracking-stag.zubale.com/?token={{zubale_tracking_token}}\",\n  \"date\": \"2024-04-11T20:30:00.000Z\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{customer_url}}/integration/notify_status"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"559b6d11-585d-4300-8e34-8dadf55b70f5","name":"200 OK PRODUCT_ADDED","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"newStatus\": \"TASK_CANCELLED\",\n    \"oldStatus\": \"TASK_SCHEDULED\",\n    \"orderID\": \"{{customer_order_id}}\",\n    \"trackingUrl\": \"https://tracking.zubale.com/?token=\"{{zubale_tacking_token}}\"\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"{{BASE_URL}}/integration/notify_status"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"92828bcc-4238-4e75-b76d-f0aa8e62b8c2","name":"200 OK DELIVERED","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"newStatus\": \"DELIVERED\",\n  \"oldStatus\": \"AT_DROPOFF\",\n  \"orderID\": \"{{customer_order_id}}\",\n  \"lastLocation\": { \n    \"latitude\": 19.3535238,\n    \"longitude\": -99.1763607 \n  },\n  \"trackingUrl\": \"https://tracking-stag.zubale.com/?token={{zubale_tracking_token}}\",\n  \"date\": \"2024-04-11T20:30:00.000Z\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{customer_url}}/integration/notify_status"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"fca58849-f56d-4bb6-bda5-a110d590f8b7","name":"200 OK TASK_ASSIGNED","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"newStatus\": \"TASK_CANCELLED\",\n    \"oldStatus\": \"TASK_SCHEDULED\",\n    \"orderID\": \"{{customer_order_id}}\",\n    \"trackingUrl\": \"https://tracking.zubale.com/?token=\"{{zubale_tacking_token}}\"\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"{{BASE_URL}}/integration/notify_status"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"f43ab406-1fba-45d4-82bf-090f22ce8637"},{"name":"Get Product (Customer Side)","id":"3717d915-43e0-4814-9253-8fe589f00db4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"{{BASE_URL}}/integration/scanBarCode?upc={{sku}}&storeId={{customer_store_id}}","description":"<h1 id=\"get-product-customer-side\">Get Product (Customer side)</h1>\n<p>This is an endpoint you provide as a customer, in order for Zubale to retrieve information about a given product.</p>\n<p>The most common use case happens when a consumer requests a product replacement (product out of stock, difference in units, etc.), in which case Zubale asks you to provide us with details of the new product.</p>\n<h2 id=\"response\">Response</h2>\n<p>200OK</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Feed</th>\n<th>Description</th>\n<th>Datatype</th>\n<th>Required</th>\n<th>Example</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>productId</td>\n<td>Customer defined product id. internal product identifier</td>\n<td>String</td>\n<td>True</td>\n<td>“BEB_LAC_ENT”</td>\n<td>Maximum 256 characteres</td>\n</tr>\n<tr>\n<td>thumbnailUrl</td>\n<td>Public Product image URL in thumbnail format. In case of don´t have it, send empty attribute</td>\n<td>String</td>\n<td>True</td>\n<td>\"<a href=\"https://galletasImage.com/7441001700065.jpg\">https://galletasImage.com/7441001700065.jpg</a></td>\n<td>Maximum 256 characters</td>\n</tr>\n<tr>\n<td>imageUrl</td>\n<td>Public Product image URL. In case of don´t have it, send empty attribute</td>\n<td>String</td>\n<td>True</td>\n<td><a href=\"https://galletasImage.com/7441001700065.jpg\">https://galletasImage.com/7441001700065.jpg</a></td>\n<td>Maximum 256 characters</td>\n</tr>\n<tr>\n<td>unit</td>\n<td>Product unit (units, kg, etc.)</td>\n<td>String</td>\n<td>True</td>\n<td>“PCE”</td>\n<td>{“PCE” “KGM”}</td>\n</tr>\n<tr>\n<td>upc</td>\n<td>Product upc or SKU EAN 13. MUST TO BE THE SAME THAN ITEMID</td>\n<td>String</td>\n<td>True</td>\n<td>\"978020137962”</td>\n<td></td>\n</tr>\n<tr>\n<td>shortName</td>\n<td>Product short name it can be the same than longtName</td>\n<td>String</td>\n<td>True</td>\n<td>\"Galletas para perros\"</td>\n<td>Maximum 256 characters</td>\n</tr>\n<tr>\n<td>longName</td>\n<td>Product long name it can be the same than shortName</td>\n<td>String</td>\n<td>True</td>\n<td>\"Galletas para perros\"</td>\n<td>Maximum 256 characters</td>\n</tr>\n<tr>\n<td>price</td>\n<td>Unit price</td>\n<td>Number</td>\n<td>True</td>\n<td>12.4</td>\n<td>Positive number</td>\n</tr>\n<tr>\n<td>pesable</td>\n<td>If the product is weighable</td>\n<td>Bool</td>\n<td>True</td>\n<td>true</td>\n<td>{true,false}</td>\n</tr>\n<tr>\n<td>restricted</td>\n<td>Is the product considered restricted (licor, etc.)</td>\n<td>Bool</td>\n<td>True</td>\n<td>false</td>\n<td>{true,false}</td>\n</tr>\n<tr>\n<td>aisle</td>\n<td>Store aisle. If you don´t have the data to complete this feed, complete it with</td>\n<td>String</td>\n<td>True</td>\n<td>\"Gaseosas”</td>\n<td>Maximum 256 characters</td>\n</tr>\n<tr>\n<td>stock</td>\n<td>Represents the quantity of product in stock by store in real-time</td>\n<td>Number</td>\n<td>False</td>\n<td>9</td>\n<td>Positive number</td>\n</tr>\n<tr>\n<td>alternateIds</td>\n<td>Represent the product UPC, SKU, or EAN variants that represent the same product in your inventory</td>\n<td>Array</td>\n<td>True</td>\n<td>[\"7501055900343\",  <br />\"7501055909544\",  <br />\"750105590954\",  <br />\"17501055900340\"]</td>\n<td>Array of strings</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["integration","scanBarCode"],"host":["{{BASE_URL}}"],"query":[{"description":{"content":"<p>EAN - 13 OR SKU</p>\n","type":"text/plain"},"key":"upc","value":"{{sku}}"},{"description":{"content":"<p>store_id</p>\n","type":"text/plain"},"key":"storeId","value":"{{customer_store_id}}"}],"variable":[]}},"response":[{"id":"4521f724-a168-43c0-99c4-b58c4fb2d073","name":"200 Ok","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"{{BASE_URL}}/integration/scanBarCode?upc={{sku}}&storeId={{customer_store_id}}","host":["{{BASE_URL}}"],"path":["integration","scanBarCode"],"query":[{"description":"EAN - 13 OR SKU","key":"upc","value":"{{sku}}"},{"description":"store_id","key":"storeId","value":"{{customer_store_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"productId\": \"000000000003612548\",\n  \"thumbnailUrl\": \"https://media.example.com/7502219450506-01.jpg\",\n  \"imageUrl\": \"https://media.example.com/7502219450506-00\",\n  \"unit\": \"PCE\",\n  \"upc\": \"750251965070\",\n  \"shortName\": \"Tequila Don Nacho Extra Premium Reposado 750ml\",\n  \"longName\": \"Tequila Don Nacho Extra Premium Reposado 750ml\",\n  \"price\": 549,\n  \"pesable\": false,\n  \"restricted\": true,\n  \"aisle\": \"Licores\",\n  \"alternateIds\": [\n    \"750251965070\",\n    \"7502519\",\n    \"7502519650705\"\n  ],\n  \"stock\": 10\n}"},{"id":"cfbf951e-4e72-45de-b582-5dcc63951b3d","name":"404 Not Found","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"{{BASE_URL}}/integration/scanBarCode?upc={{sku}}&storeId={{customer_store_id}}","host":["{{BASE_URL}}"],"path":["integration","scanBarCode"],"query":[{"description":"EAN - 13 OR SKU","key":"upc","value":"{{sku}}"},{"description":"store_id","key":"storeId","value":"{{customer_store_id}}"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": \"Bad Request\",\n  \"message\": \"Missing required keys: [\\\"storeId\\\", \\\"upc\\\"]\",\n  \"statusCode\": 400\n}"}],"_postman_id":"3717d915-43e0-4814-9253-8fe589f00db4"},{"name":"Confirm Order","id":"876532a4-d515-4339-836e-13df1f9a5626","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"address\": {\n    \"address\": \"Luis Arias Schereiber - 345\",\n    \"addressReference\": \"\",\n    \"city\": \"Lima\",\n    \"country\": \"PER\",\n    \"externalNumber\": \"345\",\n    \"id\": 0,\n    \"internalNumber\": \"\",\n    \"latitude\": -12.1210855,\n    \"longitude\": -77.0104072,\n    \"neighborhood\": \"Miraflores\",\n    \"postalCode\": \"150122\",\n    \"state\": \"LIMA\",\n    \"street\": \"Luis Arias Schereiber\"\n  },\n  \"comment\": \"null - null\",\n  \"consumer\": {\n    \"id\": \"1342\",\n    \"user\": {\n      \"email\": \"acllsis@gmail.com\",\n      \"person\": {\n        \"birthdate\": \"1969-12-31T00:00:00.000Z\",\n        \"contact\": {\n          \"ext\": \"0\",\n          \"mean\": 1,\n          \"value\": \"+51911111111\"\n        },\n        \"gender\": \"M\",\n        \"lastname\": \"cenco\",\n        \"name\": \"prueba\",\n        \"secondname\": \"\"\n      }\n    }\n  },\n  \"contactPreferences\": \"\",\n  \"customkey\": \"v533623wofq-01\",\n  \"deliveryType\": \"ENTREGA\",\n  \"originalOrderRequest\": {\n    \"deliveryInstructions\": \"null\",\n    \"orderDate\": \"2021-06-30T00:00:00.000\",\n    \"orderRequestItems\": [\n      {\n        \"comments\": \"\",\n        \"discount\": 0,\n        \"itemId\": \"166885\",\n        \"product\": {\n          \"aisle\": \"\",\n          \"imageUrl\": \"\",\n          \"longName\": \"\",\n          \"pesable\": false,\n          \"price\": 0,\n          \"productId\": \"187743000013\",\n          \"restricted\": true,\n          \"shortName\": \"\",\n          \"thumbnailUrl\": \"\",\n          \"unit\": \"un\",\n          \"upc\": \"166885\"\n        },\n        \"quantity\": 2,\n        \"reference\": null,\n        \"status\": \"PERSISTENT\",\n        \"totalPrice\": 0,\n        \"unitPrice\": 0\n      }\n    ],\n    \"orderShipmentCost\": 0,\n    \"orderTotalCost\": 63.8\n  },\n  \"payment\": {\n    \"payOnDeliveryType\": \"CARD\",\n    \"paymentMode\": \"PAY_ON_DELIVERY\",\n    \"paymentStatus\": \"\"\n  },\n  \"phone1\": \"+51911111111\",\n  \"phone2\": \"\",\n  \"recipient1\": \"Aaaaaa Cccccccc\",\n  \"recipient2\": \"\",\n  \"requestId\": \"ORDER_ID\",\n  \"status\": \"READY\",\n  \"storeId\": \"123\",\n  \"timeSlot\": {\n    \"idStore\": \"123\",\n    \"serviceType\": 0,\n    \"timeFrom\": \"2021-07-10T14:00:00.000\",\n    \"timeTo\": \"2021-07-10T17:00:00.000\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"{{BASE_URL}}/integration/finalOrder","description":"<h1 id=\"confirm-order\">Confirm order</h1>\n<p>Once the order picking has been completed, we send you the final order, so you can perform any bookkeeping, calculation or any other processing on your end.</p>\n<p>You may receive the order unchanged from what the consumer originally ordered, or it may have changed (added/replaced/deleted items), based on product availability at the store</p>\n<p>The only relevant field for you, should be each item's quantity. Be aware of new/replaced/removed items (if any).</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Attribute</th>\n<th>Description</th>\n<th>Required</th>\n<th>Datatype</th>\n<th>Examples</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>requestId</td>\n<td>ID that is recognizable to your operations Must to be the same than customkey</td>\n<td>True</td>\n<td>String</td>\n<td>\"REQU-add90e3b-f086-439f-9e63-b25ac55b287c\"</td>\n<td>Must to be the same than customkey</td>\n</tr>\n<tr>\n<td>customkey</td>\n<td>ID that is recognizable to your operations Must to be the same than requestId</td>\n<td>True</td>\n<td>String</td>\n<td>\"REQU-add90e3b-f086-439f-9e63-b25ac55b287c\"</td>\n<td>Must to be the same than requestID</td>\n</tr>\n<tr>\n<td>storeID</td>\n<td>ID of the store where the task is being performed.</td>\n<td>True</td>\n<td>String</td>\n<td>\"123\"</td>\n<td>Maximum 32 characters</td>\n</tr>\n<tr>\n<td>status</td>\n<td>Order status. Always has to be OPEN</td>\n<td>True</td>\n<td>String</td>\n<td>“OPEN”</td>\n<td>{”OPEN”}</td>\n</tr>\n<tr>\n<td>deliveryType</td>\n<td>Customer defined type of delivery.</td>\n<td>True</td>\n<td>String</td>\n<td>\"DELIVERY”</td>\n<td>{“DELIVERY”}</td>\n</tr>\n<tr>\n<td>payment</td>\n<td>Payment information</td>\n<td>True</td>\n<td>Object</td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>payment.paymentMode</td>\n<td>It is the method of payment that will be shown to the \"zubalero\" indicating if it is Payment on delivery or was paid online. Supported \"PAY_ON_DELIVERY or \"PAY_ONLINE\"”</td>\n<td>True</td>\n<td>String</td>\n<td>“PAY_ON_DELIVERY”</td>\n<td>SET:{”PAY_ON_DELIVERY”,”PAY_ONLINE”}</td>\n</tr>\n<tr>\n<td>payment.paymentStatus</td>\n<td>Payment status</td>\n<td>True</td>\n<td>String</td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>payment.payOnDeliveryType</td>\n<td>It is the type of payment that will be shown to the \"zubalero\" indicating whether it was paid or will be paid with Card or Cash. Supported options \"CARD or\" CASH “ In case of payment.mode=”PAY_ONLINE” the only value payment.type accepted is “CARD”</td>\n<td>True</td>\n<td>String</td>\n<td>“CARD”</td>\n<td>SET:{”CARD”,”CASH”}</td>\n</tr>\n<tr>\n<td>timeSlot</td>\n<td>Consumer delivery window times</td>\n<td>True</td>\n<td>Object</td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>timeSlot.serviceType</td>\n<td>Customer defined service type. Default 2</td>\n<td>True</td>\n<td>Number</td>\n<td>2</td>\n<td>{2}</td>\n</tr>\n<tr>\n<td>timeSlot.idStore</td>\n<td>Customer store id. The same value as idStore</td>\n<td>True</td>\n<td>String</td>\n<td>\"ABC-123”</td>\n<td>The same than storeid</td>\n</tr>\n<tr>\n<td>timeSlot.timeFrom</td>\n<td>Depending of deliveryType, it's the start of delivery window or the start of pickup window</td>\n<td>True</td>\n<td>String</td>\n<td>“2021-09-14T03:00:00.000Z”</td>\n<td>YYYY-MM-DDThh:mm:ss.sTZD YYYY: Four digit year MM: Two digit month DD: Two digit day (01-31) hh: Two digit hour (00-23) mm:(00-59) ss:(00-59) s: Two digits representing a decimal fraction of second TZD: Time zone designator Z <a href=\"https://www.notion.so/zubale/Documentation-Delivery-975c2a97cf25458c8a7300660a1d6c30#db8dc578b17b49d5a035b971bb34db34\">https://www.notion.so/zubale/Documentation-Delivery-975c2a97cf25458c8a7300660a1d6c30#db8dc578b17b49d5a035b971bb34db34</a></td>\n</tr>\n<tr>\n<td>timeSlot.timeTO</td>\n<td>Depending on deliveryType, it's the end of delivery window or the end of pickup window</td>\n<td>True</td>\n<td>String</td>\n<td>“2021-09-14T03:00:00.000Z”</td>\n<td>YYYY-MM-DDThh:mm:ss.sTZD YYYY: Four digit year MM: Two digit month DD: Two digit day (01-31) hh: Two digit hour (00-23) mm:(00-59) ss:(00-59) s: Two digits representing a decimal fraction of second TZD: Time zone designator Z <a href=\"https://www.notion.so/zubale/Documentation-Delivery-975c2a97cf25458c8a7300660a1d6c30#db8dc578b17b49d5a035b971bb34db34\">https://www.notion.so/zubale/Documentation-Delivery-975c2a97cf25458c8a7300660a1d6c30#db8dc578b17b49d5a035b971bb34db34</a></td>\n</tr>\n<tr>\n<td>address</td>\n<td>Client address details</td>\n<td>True</td>\n<td>Object</td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>address.street</td>\n<td>Street</td>\n<td>True</td>\n<td>String</td>\n<td>“Av. San Martin”</td>\n<td>Maximum 256 characters</td>\n</tr>\n<tr>\n<td>address.state</td>\n<td>State</td>\n<td>True</td>\n<td>String</td>\n<td>“Bogota”</td>\n<td>Maximum 256 characters</td>\n</tr>\n<tr>\n<td>address.postalCode</td>\n<td>Postal Code</td>\n<td>True</td>\n<td>String</td>\n<td>\"1820”</td>\n<td>Maximum 256 characters</td>\n</tr>\n<tr>\n<td>address.neighborhood</td>\n<td>Neighborhood</td>\n<td>True</td>\n<td>String</td>\n<td>\"La Candelaria”</td>\n<td>Maximum 256 characters</td>\n</tr>\n<tr>\n<td>address.longitude</td>\n<td>Longitude GPS location of the client's delivery address</td>\n<td>True</td>\n<td>Number</td>\n<td>19.755164</td>\n<td></td>\n</tr>\n<tr>\n<td>address.latitude</td>\n<td>Latitude GPS location of the client's delivery address</td>\n<td>True</td>\n<td>Number</td>\n<td>19.755164</td>\n<td></td>\n</tr>\n<tr>\n<td>address.internalNumber</td>\n<td>Client defined internal number</td>\n<td>True</td>\n<td>String</td>\n<td>\"PISO:4 DPTO:A”</td>\n<td></td>\n</tr>\n<tr>\n<td>address.id</td>\n<td>Client defined id</td>\n<td>True</td>\n<td>Number</td>\n<td>0</td>\n<td>Default 0</td>\n</tr>\n<tr>\n<td>address.externalNumber</td>\n<td>Client defined external number</td>\n<td>True</td>\n<td>String</td>\n<td></td>\n<td>Altura de calle</td>\n</tr>\n<tr>\n<td>address.country</td>\n<td>Country</td>\n<td>True</td>\n<td>String</td>\n<td>“Colombia”</td>\n<td>Maximum 256 characters</td>\n</tr>\n<tr>\n<td>address.city</td>\n<td>City</td>\n<td>True</td>\n<td>String</td>\n<td>“Bogota”</td>\n<td>Maximum 256 characters</td>\n</tr>\n<tr>\n<td>address.addressReference</td>\n<td>Client defined address reference</td>\n<td>True</td>\n<td>String</td>\n<td>“Rejas verdes”</td>\n<td>Maximum 256 characters</td>\n</tr>\n<tr>\n<td>address.address</td>\n<td>Full address of client's drop off location.</td>\n<td>True</td>\n<td>String</td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>originalOrderRequest.deliveryInstructions</td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>originalOrderRequest.orderDate</td>\n<td>Date and time order was created (UTC)</td>\n<td>True</td>\n<td>String</td>\n<td>“2021-09-14T03:00:00.000Z”</td>\n<td>YYYY-MM-DDThh:mm:ss.sTZD YYYY: Four digit yearMM: Two digit monthDD: Two digit day (01-31)hh: Two digit hour (00-23)mm:(00-59)ss:(00-59)s: Two digits representing a decimal fraction of secondTZD: Time zone designator Z <a href=\"https://www.notion.so/zubale/Documentation-Delivery-975c2a97cf25458c8a7300660a1d6c30#db8dc578b17b49d5a035b971bb34db34\">https://www.notion.so/zubale/Documentation-Delivery-975c2a97cf25458c8a7300660a1d6c30#db8dc578b17b49d5a035b971bb34db34</a></td>\n</tr>\n<tr>\n<td>originalOrderRequest.RequestItems</td>\n<td>List of order items. The item object is the one that contains the information of each product</td>\n<td>True</td>\n<td>Array of object Item</td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>item.comments</td>\n<td>Product comments. In case of dont have it, send empty attribute</td>\n<td>True</td>\n<td>String</td>\n<td></td>\n<td>Maximum 256 characters</td>\n</tr>\n<tr>\n<td>item.discount</td>\n<td>Product discount. Full discount value</td>\n<td>True</td>\n<td>Number</td>\n<td>3.4</td>\n<td>Float. The amount is in the currency of the operation country</td>\n</tr>\n<tr>\n<td>item.itemId</td>\n<td>Product SKU or EAN-13 MUST TO BE THE SAME THAN UPC</td>\n<td>True</td>\n<td>String</td>\n<td></td>\n<td>\"978020137962”</td>\n</tr>\n<tr>\n<td>item.product</td>\n<td>Product details.</td>\n<td>True</td>\n<td>Object</td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>product.aisle</td>\n<td>Store aisle.</td>\n<td>True</td>\n<td>String</td>\n<td>\"Gaseosas</td>\n<td></td>\n</tr>\n<tr>\n<td>product.imageUrl</td>\n<td>Public Product image URL</td>\n<td>True</td>\n<td>String</td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>product.longName</td>\n<td>Product long name</td>\n<td>True</td>\n<td>String</td>\n<td>\"Galletas para perros\"</td>\n<td></td>\n</tr>\n<tr>\n<td>product.pesable</td>\n<td>Determines if the product can be weighted or not</td>\n<td>True</td>\n<td>Bool</td>\n<td>True</td>\n<td>{True, False}</td>\n</tr>\n<tr>\n<td>product.price</td>\n<td>Product price.</td>\n<td>True</td>\n<td>Number</td>\n<td>12.1</td>\n<td>Float. The amount is in the currency of the operation country</td>\n</tr>\n<tr>\n<td>product.productId</td>\n<td>Customer defined product id. internal product identifier</td>\n<td>True</td>\n<td>String</td>\n<td>“BEB_LAC_ENT”</td>\n<td>Maximum 256 characteres</td>\n</tr>\n<tr>\n<td>product.restricted</td>\n<td>Is the product considered restricted (licor, etc.)</td>\n<td>True</td>\n<td>Bool</td>\n<td>False</td>\n<td>Maximum256 characters</td>\n</tr>\n<tr>\n<td>product.shortName</td>\n<td>Product short name. Product short name. It can be the same than item.longName</td>\n<td>True</td>\n<td>String</td>\n<td>\"Galletas para perros\"</td>\n<td></td>\n</tr>\n<tr>\n<td>product.thumbnailUrl</td>\n<td>Public Product image URL in thumbnail format. In case of dont have it, send empty attribute</td>\n<td>True</td>\n<td>String</td>\n<td>\"<a href=\"https://galletasImage.com/7441001700065.jpg\">https://galletasImage.com/7441001700065.jpg\"</a></td>\n<td></td>\n</tr>\n<tr>\n<td>product.unit</td>\n<td>Product unit (units, kg, etc.)</td>\n<td>True</td>\n<td>String</td>\n<td>“PCE”</td>\n<td>“PCE” “KGM”</td>\n</tr>\n<tr>\n<td>product.upc</td>\n<td>Product upc or SKU EAN 13. MUST TO BE THE SAME THAN ITEMID</td>\n<td>True</td>\n<td>String</td>\n<td>\"978020137962”</td>\n<td>MUST TO BE THE SAME THAN ITEMID</td>\n</tr>\n<tr>\n<td>item.quantity</td>\n<td>Product quantity. Whole amount</td>\n<td>True</td>\n<td>Number</td>\n<td>2</td>\n<td>{1,2,3,4,5… 100}</td>\n</tr>\n<tr>\n<td>item.totalPrice</td>\n<td>Total price.</td>\n<td>True</td>\n<td>Number</td>\n<td>19.2</td>\n<td>Float. The amount is in the currency of the operation country</td>\n</tr>\n<tr>\n<td>item.unitPrice</td>\n<td>Unit price. The same value as product.price</td>\n<td>True</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>item.status</td>\n<td>Status of item. Status and Reference table</td>\n<td>True</td>\n<td>String</td>\n<td>“Persistent”</td>\n<td></td>\n</tr>\n<tr>\n<td>item.reference</td>\n<td>Status and reference table</td>\n<td></td>\n<td>Object</td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>reference.quantity</td>\n<td>Status and reference table</td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>orderRemovedItems</td>\n<td>List of deleted items</td>\n<td></td>\n<td>Array</td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>orderRemovedItems.quantity</td>\n<td>Deleted item quantity</td>\n<td></td>\n<td>Number</td>\n<td>4</td>\n<td></td>\n</tr>\n<tr>\n<td>orderRemovedItems.upc</td>\n<td>Deleted item upc</td>\n<td></td>\n<td>String</td>\n<td>“4566876678”</td>\n<td></td>\n</tr>\n<tr>\n<td>originalOrderRequest.orderTotalCost</td>\n<td>Order total cost</td>\n<td>True</td>\n<td>Number</td>\n<td>1248.32</td>\n<td>Float. The amount is in the currency of the operation country</td>\n</tr>\n<tr>\n<td>originalOrderRequest.orderShipmentCost</td>\n<td>Order shipment cost</td>\n<td>True</td>\n<td>Number</td>\n<td>100.1</td>\n<td>Float. The amount is in the currency of the operation country</td>\n</tr>\n<tr>\n<td>contactPreferences</td>\n<td>Consumer preferences. Default empty</td>\n<td>True</td>\n<td>String</td>\n<td>“”</td>\n<td>Maximum 256 characters</td>\n</tr>\n<tr>\n<td>consumer</td>\n<td>End user placing the order</td>\n<td>True</td>\n<td>object</td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>consumer.id</td>\n<td>Client internal user id</td>\n<td>True</td>\n<td>String</td>\n<td>“d348a832-2143-456e-9638-430af8db7de6\"</td>\n<td>Maximum 256 characters</td>\n</tr>\n<tr>\n<td>consumer.user</td>\n<td>Details about the client</td>\n<td>True</td>\n<td>Object</td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>user.email</td>\n<td>Client Email</td>\n<td>True</td>\n<td>String</td>\n<td>“<a href=\"mailto:jorge12345@mail.com\">jorge12345@mail.com</a>”</td>\n<td>Maximum 256 characters</td>\n</tr>\n<tr>\n<td>user.person</td>\n<td>Details about the client</td>\n<td>True</td>\n<td>Object</td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>person.secondname</td>\n<td>Second last name</td>\n<td>True</td>\n<td>String</td>\n<td>“Francisco”</td>\n<td>Maximum 256 characters</td>\n</tr>\n<tr>\n<td>person.name</td>\n<td>Consumer names</td>\n<td>True</td>\n<td>String</td>\n<td>\"Jorge”</td>\n<td>Maximum 256 characters</td>\n</tr>\n<tr>\n<td>person.lastname</td>\n<td>Last name</td>\n<td>True</td>\n<td>String</td>\n<td>\"Perez”</td>\n<td>Maximum 256 characters</td>\n</tr>\n<tr>\n<td>person.gender</td>\n<td>Gender</td>\n<td>True</td>\n<td>nulll</td>\n<td>null</td>\n<td></td>\n</tr>\n<tr>\n<td>person.birthdate</td>\n<td>person.birthdate</td>\n<td>True</td>\n<td>String</td>\n<td>“2021-09-14T03:00:00.000Z”</td>\n<td>YYYY-MM-DDThh:mm:ss.sTZD YYYY: Four digit year MM: Two digit month DD: Two digit day (01-31) hh: Two digit hour (00-23) mm:(00-59) ss:(00-59) s: Two digits representing a decimal fraction of second TZD: Time zone designator Z <a href=\"https://www.notion.so/zubale/Documentation-Delivery-975c2a97cf25458c8a7300660a1d6c30#db8dc578b17b49d5a035b971bb34db34\">https://www.notion.so/zubale/Documentation-Delivery-975c2a97cf25458c8a7300660a1d6c30#db8dc578b17b49d5a035b971bb34db34</a></td>\n</tr>\n<tr>\n<td>person.contact</td>\n<td>Consumer contact details</td>\n<td>True</td>\n<td>Object</td>\n<td></td>\n<td>Contact information</td>\n</tr>\n<tr>\n<td>contact.value</td>\n<td>Phone number</td>\n<td>True</td>\n<td>String</td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>contact.mean</td>\n<td>Mean</td>\n<td>True</td>\n<td>Number</td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>contact.ext</td>\n<td>Extension</td>\n<td>True</td>\n<td>String</td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>recipient1</td>\n<td>Full name</td>\n<td>True</td>\n<td>String</td>\n<td>“Dario Perez”</td>\n<td>Maximum 256 characters</td>\n</tr>\n<tr>\n<td>phone1</td>\n<td>Phone number</td>\n<td>True</td>\n<td>String</td>\n<td>“+50245549959”</td>\n<td>Struct: + CC NDC SN Max 15 digitsCC: Country code (1-3 Digits) NDC: National destination code (Area code) if exists SN: Suscriber numbe</td>\n</tr>\n<tr>\n<td>recipient2</td>\n<td>Full name</td>\n<td>True</td>\n<td>String</td>\n<td>“Juana Gonzales”</td>\n<td>Maximum 256 characters</td>\n</tr>\n<tr>\n<td>phone2</td>\n<td>Phone number</td>\n<td>True</td>\n<td>String</td>\n<td>“+50245549359”</td>\n<td>Struct: + CC NDC SN Max 15 digits CC: Country code (1-3 Digits) NDC: National destination code (Area code) if exists SN: Suscriber numbe</td>\n</tr>\n<tr>\n<td>comment</td>\n<td>Another information about recipient</td>\n<td>True</td>\n<td>String</td>\n<td>“Tocar timbre en la reja verde”</td>\n<td>Maximum 256 characters</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"itemreference-and-itemstatus-table\">Item.reference and Item.status table</h2>\n<p>All these changes in the order</p>\n<p><strong>PERSISTENT</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Description</th>\n<th>Persistent, in this case the item doesn´t have change between what was requested and what the zubalero picked</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>item.quantity</td>\n<td>The same value than the order created</td>\n</tr>\n<tr>\n<td>item.status</td>\n<td>“PERSISTENT”</td>\n</tr>\n<tr>\n<td>item.reference</td>\n<td>null</td>\n</tr>\n<tr>\n<td>reference.quantity</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>DECREASE</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Description</th>\n<th>Decrease, in this case the zubalero picked less quantity than the order created.</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>item.quantity</td>\n<td>2</td>\n</tr>\n<tr>\n<td>item.status</td>\n<td>“DECREASE”</td>\n</tr>\n<tr>\n<td>item.reference</td>\n<td></td>\n</tr>\n<tr>\n<td>reference.quantity</td>\n<td>4</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>NEW</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Description</th>\n<th>New, in this case the zubaler add a new product.</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>item.quantity</td>\n<td>Quantity of new product</td>\n</tr>\n<tr>\n<td>item.status</td>\n<td>“NEW”</td>\n</tr>\n<tr>\n<td>item.reference</td>\n<td>null</td>\n</tr>\n<tr>\n<td>reference.quantity</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>INCREASE</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Description</th>\n<th>Increase, in this case the zubalero picked more quantity than the order created.</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>item.quantity</td>\n<td>5</td>\n</tr>\n<tr>\n<td>item.status</td>\n<td>“INCREASE”</td>\n</tr>\n<tr>\n<td>item.reference</td>\n<td></td>\n</tr>\n<tr>\n<td>reference.quantity</td>\n<td>1</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>REPLACE</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Description</th>\n<th>Replace, in this case the zubalero pick other product than the order created</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>item.quantity</td>\n<td>5</td>\n</tr>\n<tr>\n<td>item.status</td>\n<td>“REPLACE”</td>\n</tr>\n<tr>\n<td>item.reference</td>\n<td></td>\n</tr>\n<tr>\n<td>reference.quantity</td>\n<td>1</td>\n</tr>\n<tr>\n<td>reference.upc</td>\n<td>UPC of replaced product</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>DELETE</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Description</th>\n<th>In case of the zubalero delete an item</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>orderRemovedItems.quantity</td>\n<td>Total quantity of deleted item</td>\n</tr>\n<tr>\n<td>orderRemovedItems.upc</td>\n<td>Upc of deleted item</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["integration","finalOrder"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"6dee4441-df71-4784-9929-b9a6b254b49e","name":"200 Ok","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n  \"address\": {\n    \"address\": \"Luis Arias Schereiber - 345\",\n    \"addressReference\": \"\",\n    \"city\": \"Lima\",\n    \"country\": \"PER\",\n    \"externalNumber\": \"345\",\n    \"id\": 0,\n    \"internalNumber\": \"\",\n    \"latitude\": -12.1210855,\n    \"longitude\": -77.0104072,\n    \"neighborhood\": \"Miraflores\",\n    \"postalCode\": \"150122\",\n    \"state\": \"LIMA\",\n    \"street\": \"Luis Arias Schereiber\"\n  },\n  \"comment\": \"null - null\",\n  \"consumer\": {\n    \"id\": \"1342\",\n    \"user\": {\n      \"email\": \"acllsis@gmail.com\",\n      \"person\": {\n        \"birthdate\": \"1969-12-31T00:00:00.000Z\",\n        \"contact\": {\n          \"ext\": \"0\",\n          \"mean\": 1,\n          \"value\": \"+51911111111\"\n        },\n        \"gender\": \"M\",\n        \"lastname\": \"cenco\",\n        \"name\": \"prueba\",\n        \"secondname\": \"\"\n      }\n    }\n  },\n  \"contactPreferences\": \"\",\n  \"customkey\": \"v533623wofq-01\",\n  \"deliveryType\": \"ENTREGA\",\n  \"originalOrderRequest\": {\n    \"deliveryInstructions\": \"null\",\n    \"orderDate\": \"2021-06-30T00:00:00.000\",\n    \"orderRequestItems\": [\n      {\n        \"comments\": \"\",\n        \"discount\": 0,\n        \"itemId\": \"166885\",\n        \"product\": {\n          \"aisle\": \"\",\n          \"imageUrl\": \"\",\n          \"longName\": \"\",\n          \"pesable\": false,\n          \"price\": 0,\n          \"productId\": \"187743000013\",\n          \"restricted\": true,\n          \"shortName\": \"\",\n          \"thumbnailUrl\": \"\",\n          \"unit\": \"un\",\n          \"upc\": \"166885\"\n        },\n        \"quantity\": 2,\n        \"reference\": null,\n        \"status\": \"PERSISTENT\",\n        \"totalPrice\": 0,\n        \"unitPrice\": 0\n      }\n    ],\n    \"orderShipmentCost\": 0,\n    \"orderTotalCost\": 63.8\n  },\n  \"payment\": {\n    \"payOnDeliveryType\": \"CARD\",\n    \"paymentMode\": \"PAY_ON_DELIVERY\",\n    \"paymentStatus\": \"\"\n  },\n  \"phone1\": \"+51911111111\",\n  \"phone2\": \"\",\n  \"recipient1\": \"Aaaaaa Cccccccc\",\n  \"recipient2\": \"\",\n  \"requestId\": \"ORDER_ID\",\n  \"status\": \"READY\",\n  \"storeId\": \"123\",\n  \"timeSlot\": {\n    \"idStore\": \"123\",\n    \"serviceType\": 0,\n    \"timeFrom\": \"2021-07-10T14:00:00.000\",\n    \"timeTo\": \"2021-07-10T17:00:00.000\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"{{BASE_URL}}/integration/finalOrder"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"\",\n  \"success\": true\n}"},{"id":"fde6e0cc-4cb0-4bfb-8173-ea638b830693","name":"400 Bad Request","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"customkey\": \"a19829379\",\n    \"requestId\": \"19829380\",\n    \"storeID\": \"0232\",\n    \"status\": \"READY\",\n    \"deliveryType\": \"ENTREGA\",\n    \"payment\": {\n        \"paymentMode\": \"Pago contraentrega\",\n        \"paymentStatus\": \"\",\n        \"payOnDeliveryType\": \"CASH\"\n    },\n    \"timeSlot\": {\n        \"serviceType\": 2,\n        \"idStore\": \"0232\",\n        \"timeFrom\": \"2020-10-21T16:00:00.000Z\",\n        \"timeTo\": \"2020-10-21T18:00:00.000Z\"\n    },\n    \"address\": {\n        \"street\": \"Avenida Miguel de Cervantes Saavedra\",\n        \"state\": \"Ciudad de México\",\n        \"postalCode\": \"11579\",\n        \"neighborhood\": \"\",\n        \"longitude\": -99.1846241,\n        \"latitude\": 19.4655377,\n        \"internalNumber\": \"\",\n        \"id\": 0,\n        \"externalNumber\": \"1397\",\n        \"country\": \"Mexico\",\n        \"city\": \"Ciudad de México\",\n        \"addressReference\": \"\",\n        \"address\": \"Avenida Miguel de Cervantes Saavedra, 1397, \"\n    },\n    \"originalOrderRequest\": {\n        \"orderTotalCost\": 384.3,\n        \"orderShipmentCost\": 0,\n        \"orderRequestItems\": [\n        {\n            \"product\": {\n            \"productId\": \"000000000003612548\",\n            \"thumbnailUrl\": \"https://media.example.com/7502219450506-01.jpg\",\n            \"imageUrl\": \"https://media.example.com/7502219450506-00\",\n            \"unit\": \"Unidades\",\n            \"upc\": \"750251965070\",\n            \"shortName\": \"Tequila Don Nacho Extra Premium Reposado 750ml\",\n            \"longName\": \"Tequila Don Nacho Extra Premium Reposado 750ml\",\n            \"price\": 549,\n            \"pesable\": false,\n            \"restricted\": true,\n            \"aisle\": \"Licores\"\n            },\n            \"totalPrice\": 384.3,\n            \"unitPrice\": 549,\n            \"quantity\": 1,\n            \"itemId\": \"750251965070\",\n            \"comments\": \"\",\n            \"discount\": 164.7\n        }\n        ],\n        \"orderDate\": \"2020-10-21T13:24:26.034Z\",\n        \"deliveryInstructions\": \"A lado de la puerta de hierro blanca\"\n    },\n    \"contactPreferences\": \"\",\n    \"consumer\": {\n        \"id\": \"d348a832-2143-456e-9638-430af8db7de6\",\n        \"user\": {\n        \"email\": \"cliente@correo.com\",\n        \"person\": {\n            \"secondname\": \"Hernandez\",\n            \"name\": \"Javier\",\n            \"lastname\": \"Garcia\",\n            \"gender\": null,\n            \"birthdate\": \"1982-04-21T00:00:00.000Z\",\n            \"contact\": {\n            \"value\": \"5529462757\",\n            \"mean\": 1,\n            \"ext\": \"0\"\n            }\n        }\n        }\n    },\n    \"recipient1\": \"Javier Garcia Hernandez\",\n    \"phone1\": \"5529462757\",\n    \"recipient2\": \"\",\n    \"phone2\": \"\",\n    \"comment\": \"\"\n}\n","options":{"raw":{"language":"json"}}},"url":"https://{{customer_url}}/integration/finalOrder"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"No se proceso la orden, El monto excede el limite esperado\",\n    \"success\": false\n}"},{"id":"33ba1540-dc4d-45cf-aa7f-5f7ca2a24f41","name":"400 Bad Request","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n  \"address\": {\n    \"address\": \"Avenida Miguel de Cervantes Saavedra, 1397, \",\n    \"addressReference\": \"\",\n    \"city\": \"Ciudad de México\",\n    \"country\": \"Mexico\",\n    \"externalNumber\": \"1397\",\n    \"id\": 0,\n    \"internalNumber\": \"\",\n    \"latitude\": 19.4655377,\n    \"longitude\": -99.1846241,\n    \"neighborhood\": \"\",\n    \"postalCode\": \"11579\",\n    \"state\": \"Ciudad de México\",\n    \"street\": \"Avenida Miguel de Cervantes Saavedra\"\n  },\n  \"comment\": \"\",\n  \"consumer\": {\n    \"id\": \"d348a832-2143-456e-9638-430af8db7de6\",\n    \"user\": {\n      \"email\": \"cliente@correo.com\",\n      \"person\": {\n        \"birthdate\": \"1982-04-21T00:00:00.000Z\",\n        \"contact\": {\n          \"ext\": \"0\",\n          \"mean\": 1,\n          \"value\": \"5529462757\"\n        },\n        \"gender\": null,\n        \"lastname\": \"Garcia\",\n        \"name\": \"Javier\",\n        \"secondname\": \"Hernandez\"\n      }\n    }\n  },\n  \"contactPreferences\": \"\",\n  \"customkey\": \"a19829379\",\n  \"deliveryType\": \"ENTREGA\",\n  \"originalOrderRequest\": {\n    \"deliveryInstructions\": \"A lado de la puerta de hierro blanca\",\n    \"orderDate\": \"2020-10-21T13:24:26.034Z\",\n    \"orderRequestItems\": [\n      {\n        \"product\": {\n          \"productId\": \"000000000003612548\",\n          \"thumbnailUrl\": \"https://media.example.com/7502219450506-01.jpg\",\n          \"imageUrl\": \"https://media.example.com/7502219450506-00\",\n          \"unit\": \"Unidades\",\n          \"upc\": \"750251965070\",\n          \"shortName\": \"Tequila Don Nacho Extra Premium Reposado 750ml\",\n          \"longName\": \"Tequila Don Nacho Extra Premium Reposado 750ml\",\n          \"price\": 549,\n          \"pesable\": false,\n          \"restricted\": true,\n          \"aisle\": \"Licores\"\n        },\n        \"totalPrice\": 384.3,\n        \"unitPrice\": 549,\n        \"quantity\": 1,\n        \"itemId\": \"750251965070\",\n        \"comments\": \"\",\n        \"discount\": 164.7\n      }\n    ],\n    \"orderShipmentCost\": 0,\n    \"orderTotalCost\": 384.3\n  },\n  \"payment\": {\n    \"payOnDeliveryType\": \"CASH\",\n    \"paymentMode\": \"Pago contraentrega\",\n    \"paymentStatus\": \"\"\n  },\n  \"phone1\": \"5529462757\",\n  \"phone2\": \"\",\n  \"recipient1\": \"Javier Garcia Hernandez\",\n  \"recipient2\": \"\",\n  \"requestId\": \"19829380\",\n  \"status\": \"READY\",\n  \"storeId\": \"123\",\n  \"timeSlot\": {\n    \"idStore\": \"0232\",\n    \"serviceType\": 2,\n    \"timeFrom\": \"2020-10-21T16:00:00.000Z\",\n    \"timeTo\": \"2020-10-21T18:00:00.000Z\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"{{BASE_URL}}/integration/finalOrder"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Espera unos minutos estamos procesando la orden\",\n  \"success\": false\n}"}],"_postman_id":"876532a4-d515-4339-836e-13df1f9a5626"}],"id":"407bae8d-c67e-4fe3-9569-5381e775d79f","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"af650e79-2f30-4901-a38a-5965b63ad024"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"50801cec-3678-4f00-8791-169057a5d3bd"}}],"_postman_id":"407bae8d-c67e-4fe3-9569-5381e775d79f","description":""},{"name":"Cancel tasks","item":[{"name":"Cancel task","id":"0028d6f5-5f92-4155-be36-f9a43161607e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"orderId\": \"{{customer_order_id}}\",\n  \"details\": \"Cancellation reason\",\n  \"issuer\": \"CLIENT\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"{{BASE_URL}}/orders/api/:brand_id/cancel","description":"<p>This endpoit is used to cancel an order that was previously created. When cancelling an order the process of delivery or picking and deliver will finish</p>\n<p>This API is use to both service, delivery or picking and delivery</p>\n<h2 id=\"request\">Request</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Atributte</th>\n<th>Description</th>\n<th>Datatype</th>\n<th>Example</th>\n<th>Note</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>orderId</td>\n<td>Order identifier</td>\n<td>String</td>\n<td>“order_1234_4566”</td>\n<td>In picking and delivery externalOrderId = customkey In delivery externalOrderId = externalOrderId</td>\n</tr>\n<tr>\n<td>details</td>\n<td>Your cancellation reason</td>\n<td>String</td>\n<td>“Cancelled by client”, \"Issues with the order\"</td>\n<td>Must to send “CANCEL”</td>\n</tr>\n<tr>\n<td>Issuer</td>\n<td>The entity that sends tihs request</td>\n<td>String</td>\n<td>\"Client\", \"Customer\"</td>\n<td>Maximum 256 characteres</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["orders","api",":brand_id","cancel"],"host":["{{BASE_URL}}"],"query":[],"variable":[{"type":"any","value":"{{brand_id}}","key":"brand_id"}]}},"response":[{"id":"f3f7999d-5aa8-4776-9c19-234ec20ca3df","name":"400 Bad Request","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n  \"orderId\": \"{{customer_order_id}}\",\n  \"details\": \"Cancellation reason\",\n  \"issuer\": \"CLIENT\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"{{BASE_URL}}/orders/api/:brand_id/cancel","host":["{{BASE_URL}}"],"path":["orders","api",":brand_id","cancel"],"variable":[{"key":"brand_id","value":"{{brand_id}}"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"description":{"content":"","type":"text/plain"},"key":"Content-Length","value":"31"},{"description":{"content":"","type":"text/plain"},"key":"Connection","value":"keep-alive"},{"description":{"content":"","type":"text/plain"},"key":"cache-control","value":"max-age=0, private, must-revalidate"},{"description":{"content":"","type":"text/plain"},"key":"date","value":"Wed, 27 Apr 2022 04:42:45 GMT"},{"description":{"content":"","type":"text/plain"},"key":"ot-tracer-parentid","value":""},{"description":{"content":"","type":"text/plain"},"key":"ot-tracer-traceid","value":"3ea07ca991e13bb923b4fd8ada56cf06"},{"description":{"content":"","type":"text/plain"},"key":"server","value":"Cowboy"},{"description":{"content":"","type":"text/plain"},"key":"x-request-id","value":"FumnMKrWUxEzOnIAATix"},{"description":{"content":"","type":"text/plain"},"key":"X-Kong-Upstream-Latency","value":"5"},{"description":{"content":"","type":"text/plain"},"key":"X-Kong-Proxy-Latency","value":"0"},{"description":{"content":"","type":"text/plain"},"key":"Via","value":"kong/2.7.2"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": \"Task not found\"\n}"},{"id":"47d48165-357e-4ffc-af5d-534829c818f9","name":"200 Success","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n  \"orderId\": \"{{customer_order_id}}\",\n  \"details\": \"Cancellation reason\",\n  \"issuer\": \"CLIENT\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"{{BASE_URL}}/orders/api/:brand_id/cancel","host":["{{BASE_URL}}"],"path":["orders","api",":brand_id","cancel"],"variable":[{"key":"brand_id","value":"{{brand_id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"description":{"content":"","type":"text/plain"},"key":"Content-Length","value":"248"},{"description":{"content":"","type":"text/plain"},"key":"Connection","value":"keep-alive"},{"description":{"content":"","type":"text/plain"},"key":"cache-control","value":"max-age=0, private, must-revalidate"},{"description":{"content":"","type":"text/plain"},"key":"date","value":"Thu, 05 May 2022 17:57:11 GMT"},{"description":{"content":"","type":"text/plain"},"key":"ot-tracer-parentid","value":""},{"description":{"content":"","type":"text/plain"},"key":"ot-tracer-traceid","value":"75869afae65398c5530c82c106389235"},{"description":{"content":"","type":"text/plain"},"key":"server","value":"Cowboy"},{"description":{"content":"","type":"text/plain"},"key":"x-request-id","value":"FuxHLzMS48zw1HIANKbR"},{"description":{"content":"","type":"text/plain"},"key":"X-Kong-Upstream-Latency","value":"222"},{"description":{"content":"","type":"text/plain"},"key":"X-Kong-Proxy-Latency","value":"0"},{"description":{"content":"","type":"text/plain"},"key":"Via","value":"kong/2.2.2"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Order cancelled\",\n  \"success\": true\n}"}],"_postman_id":"0028d6f5-5f92-4155-be36-f9a43161607e"}],"id":"af1bcf20-37c3-42b4-9de3-3f96cd2c05f1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"event":[{"listen":"prerequest","script":{"id":"83be6433-8881-4401-b658-d3cba3fcb732","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"2421b353-44e3-4386-aec0-83f437b84142","type":"text/javascript","exec":[""]}}],"_postman_id":"af1bcf20-37c3-42b4-9de3-3f96cd2c05f1","description":""}],"id":"4b50cdf2-c921-4d13-a31e-68da2580a118","_postman_id":"4b50cdf2-c921-4d13-a31e-68da2580a118","description":""},{"name":"CES Zubale Doc","item":[{"name":"Chat webview","item":[{"name":"POST: 1. Generar un token OAuth2","id":"f37d4181-a590-4c53-955d-6c2b4cb3f3ac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"{{BASE_URL}}/oauth2/token","description":"<h2 id=\"access-token\"><strong>ACCESS TOKEN</strong></h2>\n<p>METHOD: <strong>POST</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Security scheme type</strong></th>\n<th><strong>BASIC AUTH</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Staging URL</td>\n<td>{{BASE_URL}}/oauth2/token</td>\n</tr>\n<tr>\n<td>Production URL</td>\n<td>{{BASE_URL}}/oauth2/token</td>\n</tr>\n</tbody>\n</table>\n</div><p>The Zubale API endpoints make use of ACCESS_TOKEN for secure authentication and authorization.</p>\n<p>The ACCESS_TOKEN is necessary to test and work in the Zubale production environment when dealing with secured endpoints allowing the secure exchange of JSON information pertaining to your account.</p>\n<h3 id=\"request\"><strong>Request</strong></h3>\n<p>Payload request structure</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Attribute</th>\n<th>Description</th>\n<th>Datatype</th>\n<th>Required</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>client_id</td>\n<td>This attribute is generated by zubale for each client</td>\n<td>string</td>\n<td>True</td>\n<td></td>\n</tr>\n<tr>\n<td>client_secret</td>\n<td>This attribute is generated by zubale for each client</td>\n<td>string</td>\n<td>True</td>\n<td></td>\n</tr>\n<tr>\n<td>grant_type</td>\n<td>Default value “client_credentials”</td>\n<td>string</td>\n<td>True</td>\n<td>“client_credentials”</td>\n</tr>\n</tbody>\n</table>\n</div><p>Note: The ACCESS TOKEN must be provided in the Authorization header of the HTTP request using the ‘Bearer’ scheme.</p>\n<h3 id=\"response\"><strong>Response</strong></h3>\n<p>Response status code: 200 OK</p>\n<p>Success response</p>\n<p>Payload Structure</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Attribute</th>\n<th>Description</th>\n<th>Datatype</th>\n<th>Required</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>token_type</td>\n<td></td>\n<td>string</td>\n<td>True</td>\n<td>\"bearer\"</td>\n</tr>\n<tr>\n<td>access_token</td>\n<td>This is a JSON web token that gives the customer the credential to utilize the Delivery API or Picking and delivery API</td>\n<td>string</td>\n<td>True</td>\n<td>\"ia3XRImbm8Y4yLz5FiQOfYdygG0b6LKu\"</td>\n</tr>\n<tr>\n<td>expires_in</td>\n<td>This is the time value that the token is alive. It is expressed in seconds. Lifetime : 7200 seconds, 2 hours</td>\n<td>number</td>\n<td>True</td>\n<td>7200</td>\n</tr>\n</tbody>\n</table>\n</div><p>Response status code: 400 Bad request</p>\n<p>Payload Structure</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Attribute</th>\n<th>Description</th>\n<th>Datatype</th>\n<th>Required</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>error_description</td>\n<td>Invalid client authentication</td>\n<td>String</td>\n<td></td>\n<td>\"Invalid client authentication\"</td>\n</tr>\n<tr>\n<td>error</td>\n<td>invalid_client</td>\n<td>String</td>\n<td></td>\n<td>\"invalid_client\"</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["oauth2","token"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"464ecb88-8ea0-4897-b4cc-5aad3131f31b","name":"Authentication OK","originalRequest":{"method":"POST","header":[{"name":"Content-Type","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"curl --location -g --request POST '{{BASE_URL}}/oauth2/token' \\\r\n--header 'Content-Type: application/json' \\\r\n--data-raw '{\r\n    \"client_id\": \"{{CLIENT_ID}}\",\r\n    \"client_secret\": \"{{CLIENT_SECRET}}\",\r\n    \"grant_type\": \"client_credentials\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/oauth2/token"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"","value":""}],"cookie":[{"expires":"Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)","domain":"","path":""}],"responseTime":null,"body":"{\n    \"token_type\": \"bearer\",\n    \"access_token\": \"ia1XaSImbm8h4yLz5FiQOfYdygG0b6LKu\",\n    \"expires_in\": 7200\n}"},{"id":"b92fd00b-cac8-4e01-bc92-a0b6b682b66e","name":"Authentication Error","originalRequest":{"method":"POST","header":[{"name":"Content-Type","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"curl --location -g --request POST '{{BASE_URL}}/oauth2/token' \\\r\n--header 'Content-Type: application/json' \\\r\n--data-raw '{\r\n    \"client_id\": \"{{CLIENT_ID}}\", \r\n    \"client_secret\": \"{{CLIENT_SECRET}}\",\r\n    \"grant_type\": \"client_credentials\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/oauth2/token"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"","value":""}],"cookie":[{"expires":"Thu Jan 01 1970 00:00:00 GMT+0000 (Coordinated Universal Time)","domain":"","path":""}],"responseTime":null,"body":"{\n    \"error_description\": \"Invalid client authentication\",\n    \"error\": \"invalid_client\"\n}"}],"_postman_id":"f37d4181-a590-4c53-955d-6c2b4cb3f3ac"}],"id":"7064e89d-1a66-468e-b853-8bbe53e97abc","description":"<p>⚠️ Todo los tokens, keys son de referencia como ejemplo</p>\n<h1 id=\"1generar-un-token-oauth2\">1.Generar un token OAuth2:</h1>\n<p>Con los valores <code>client</code> y <code>secret</code> proporcionados por Zubale, la solicitud genera un <strong>token</strong> de autenticación que se utiliza para formar los parámetros para abrir la vista web del chat.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-bash\">curl --location '' \\\\\n   --header 'Content-Type: application/json' \\\\\n   --data '{\n       \"client_id\": \"{{client}}\",\n       \"client_secret\": \"{{secret}}\",\n       \"grant_type\": \"client_credentials\"\n   }'\n\n</code></pre>\n<p><strong>Respuesta | 200 OK</strong></p>\n<p>En la respuesta, Zubale devuelve el token (<code>access_token</code>) que se encriptará más adelante.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-bash\">{\n       \"expires_in\": 7200,\n       \"token_type\": \"bearer\",\n       \"access_token\": \"04xuWYc5y71huX2qNDZsHT7ZsL2mZpKK\"\n   }\n\n</code></pre>\n<h1 id=\"2encriptar-los-parámetros-para-enviar-a-la-vista-web-del-chat\">2.Encriptar los parámetros para enviar a la vista web del chat:</h1>\n<ul>\n<li>El método de encriptación es <code>aes256</code>, utilizando una <strong><code>secret_key</code></strong> proporcionada por Zubale.</li>\n<li>Los parámetros se proporcionan en el siguiente formato:</li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-bash\">{\n       \"order_id\": \"1684417669-00\",\n       \"token\": \"04xuWYc5y71huX2qNDZsHT7ZsL2mZpKK\"\n   }\n\n</code></pre>\n<p>Ejemplo: <strong>Encriptar en JavaScript</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-bash\">const crypto = require('crypto')\nconst algorithm = 'aes256';\n// secret key provided by Zubale\nconst secret_key = \"HqCwhM/RZ2u/kMZ6aFKlNVKobcdgBaC4pKylk0Cwy3brbYA49hEMxrx/10IObcKF\"\nfunction decryptString(key, encryptedString) {\n  const decipher = crypto.createDecipher(algorithm, key);\n  return decipher.update(encryptedString, 'hex', 'utf8') +\n    decipher.final('utf8');\n}\nfunction encryptString(key, plaintext) {\n  const encipher = crypto.createCipher(algorithm, key);\n  const encrypted = Buffer.concat([encipher.update(plaintext), encipher.final()]);\n  return encrypted.toString(\"hex\")\n}\n// Json Object\nconst jsonObject = {\n    \"order_id\": \"1684417669-00\",\n        // Value of the access_token that returns the request in the step 1\n    \"token\": \"05vuWZc5y71huX2qNDZsHP8ZsL2mZpKJ\" \n};\n// Convert Json to String\nconst jsonString = JSON.stringify(jsonObject);\nvar encrypted = encryptString(secret_key, jsonString)\nconsole.log(\"Encrypted: \", encrypted)\nvar decrypted = decryptString(secret_key, encrypted)\nconsole.log(\"Decrypted: \", decrypted)\n**// OUTPUT:**\n// **Encrypted**:  4e948c1504cc00fe389b06e37796a3c10b77abc61938a9c897903b8072e2830751d83a69e632b687061b0334c3510dced97645e775ac933a89ebabfba5ccd2ece3f9da96717e28768a68a87bf2503464\n// **Decrypted**:  {\"order_id\":\"1684417669-00\",\"token\":\"05vuWZc5y71huX2qNDZsHP8ZsL2mZpKJ\"}\n\n</code></pre>\n<p><strong>Ejemplo de la url formada webview</strong></p>\n<p>Cambien el valor de <code>BASE_URL</code> por la url proporcionada por Zubale.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-bash\">{{BASE_URL}}?params=4e948c1504cc00fe389b06e37796a3c10b77abc61938a9c897903b8072e2830751d83a69e632b687061b0334c3510dced97645e775ac933a89ebabfba5ccd2ece3f9da96717e28768a68a87bf2503464\n\n</code></pre>\n","_postman_id":"7064e89d-1a66-468e-b853-8bbe53e97abc"},{"name":"Live Tracking For Cencosud","item":[{"name":"1. Create Credential Token","id":"bc85ed6c-7a70-4465-a49c-6c4da04f11fe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"client_id\": \"{{CLIENT_ID}}\",\n    \"client_secret\": \"{{CLIENT_SECRET}}\",\n    \"grant_type\": \"client_credentials\"\n}"},"url":"https://api-cencosandbox.zubale.com/oauth2/token","urlObject":{"protocol":"https","path":["oauth2","token"],"host":["api-cencosandbox","zubale","com"],"query":[],"variable":[]}},"response":[{"id":"23eb0a72-8719-4c77-b387-788aa13ec8e3","name":"Success 200 ok","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"client_id\": \"NZHtYpNylLQNSOwpAEYITV2pNrSy20uC\",\n    \"client_secret\": \"i21ea37TJv6UBQxRQbFqlsadGCbAnYIi\",\n    \"grant_type\": \"client_credentials\"\n}"},"url":"https://api-stag.zubale.com/oauth2/token"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 26 Jul 2023 02:10:53 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Connection","value":"keep-alive"},{"key":"pragma","value":"no-cache"},{"key":"cache-control","value":"no-store"},{"key":"Content-Length","value":"91"},{"key":"vary","value":"Origin"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"X-Kong-Response-Latency","value":"12"},{"key":"Server","value":"kong/2.7.2"}],"cookie":[],"responseTime":null,"body":"{\n    \"access_token\": \"WsZdSt6te2x5sgeCXbZZexdwEk0zrRO0\",\n    \"expires_in\": 7200,\n    \"token_type\": \"bearer\"\n}"}],"_postman_id":"bc85ed6c-7a70-4465-a49c-6c4da04f11fe"},{"name":"2. Create Order","id":"75a422c7-b725-4480-baaf-b8cdc5eb5de1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n \n    \"metadata\": {\n        \"orders\": [\n            {\n                \"emissionDate\": \"2023-02-03T02:23:51.000Z\", // UTC date where the final user create the order \n                \"sort\": 1, // requerido, default 1, is the order when the batching will implememted\n                \"status\": \"OPEN\", // requerido\n                \"inProgressStatus\": \"PICKED_OUT\", // requerido\n                \"brand\": {\n                    \"name\": \"JUMBO/METRO/SPID\", // requerido\n                    \"id\": 226\n                },\n                \"store\": {\n                    \"name\": \"Jumbo Hayuelos\", // requerido\n                    \"number\": \"swl15\", // requerido\n                    \"coords\": {\n                        \"latitude\": 4.592186581553626, // requerido\n                        \"longitude\": -74.13686065057105 // requerido\n                    }\n                },\n                \"externalOrderId\": \"JMB-v1677506-01\", // requerido\n                \"slot\": {\n                    \"pickupWindowStartTime\": \"2023-02-02T13:00:00.000Z\",\n                    \"pickupWindowEndTime\": \"2023-02-02T16:30:00.000Z\",\n                    \"deliveryWindowStartTime\": \"2023-02-02T17:00:00.000Z\", // requerido\n                    \"deliveryWindowEndTime\": \"2023-02-02T20:00:59.000Z\" // requerido\n                },\n                \"client\": {\n                    \"name\": \"Alejandra Recinos\",\n                    \"phoneNumber\": \"+50250000001\",\n                    \"address\": {\n                        \"fullAddress\": \"\",\n                        \"coords\": {\n                            \"latitude\": 4.592186581553626, // requerido\n                            \"longitude\": -74.13686065057105 // requerido\n                        }\n                    },\n                    \"email\": \"alejandra.recinos@gmail.com\"\n                }\n            }\n        ]\n    },\n    \"timestamp\": \"2023-02-03T02:23:51.000Z\", // UTC // requerido\n    \"driver\": {\n        \"name\": \"Gabriela Recinos\", // requerido\n        \"phoneNumber\": \"+50250000002\", // requerido\n        \"userId\": null, // Uso interno\n        \"plateNumber\": \"GT-1234\",  // requerido\n        \"carModel\": \"Toyota\",  // requerido\n        \"carModelYear\": \"2015\",  // requerido\n        \"photo\": \"public_URL\"\n    }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"{{BASE_URL}}/smart-hub/api/cencosud/order","urlObject":{"path":["smart-hub","api","cencosud","order"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"75a422c7-b725-4480-baaf-b8cdc5eb5de1"},{"name":"3. Update Status of the order","id":"3632922a-4c2e-4129-b354-0b52ac05d6aa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n   \n    \"metadata\": {\n        \"orders\": [\n            {\n                \"status\": \"OPEN\", // requerido\n                \"inProgressStatus\": \"ENROUTE_TO_DROPOFF\", // requerido\n                \"externalOrderId\": \"JMB-v1677506-01\" // requerido\n                \n            }\n        ]\n    },\n    \"timestamp\": \"2023-02-03T02:23:51.000Z\" // UTC // requerido\n   \n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"{{BASE_URL}}/smart-hub/api/cencosud/orders/states","urlObject":{"path":["smart-hub","api","cencosud","orders","states"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"6aedb202-c043-4b2e-800b-73c65ca33050","name":"ENROUTE TO DROPPOFF","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":" Bearer {{access_token}}"}],"body":{"mode":"raw","raw":"{\n   \n    \"metadata\": {\n        \"orders\": [\n            {\n                \"status\": \"OPEN\", // requerido\n                \"inProgressStatus\": \"ENROUTE_TO_DROPOFF\", // requerido\n                \"externalOrderId\": \"JMB-v1677506-01\", // requerido\n                \n            }\n        ]\n    },\n    \"timestamp\": \"2023-02-03T02:23:51.000Z\", // UTC // requerido\n   \n}"},"url":"https://api-stag.zubale.com/z-suite/api/cenco/orders/states"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"fe92ee73-dc04-40df-ab36-b8df766ccf17","name":"3. Update Status of the order","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":" Bearer {{access_token}}"}],"body":{"mode":"raw","raw":"{\n    \"metadata\": {\n        \"orders\": [\n            {\n                \"status\": \"CLOSED\", // requerido\n                \"inProgressStatus\": \"DELIVERED\", // requerido\n                \"externalOrderId\": \"JMB-v1677506-01\", // requerido\n                \n            }\n        ]\n    },\n    \"timestamp\": \"2023-02-03T02:23:51.000Z\", // UTC // requerido\n}"},"url":"https://api-stag.zubale.com/z-suite/api/cenco/orders/states"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"367ff7ce-9c3b-4e1c-b623-0da96daf4429","name":"ENROUTE TO DROPPOFF","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n   \n    \"metadata\": {\n        \"orders\": [\n            {\n                \"status\": \"OPEN\", // requerido\n                \"inProgressStatus\": \"ENROUTE_TO_DROPOFF\", // requerido\n                \"externalOrderId\": \"JMB-v1677506-01\" // requerido\n                \n            }\n        ]\n    },\n    \"timestamp\": \"2023-02-03T02:23:51.000Z\" // UTC // requerido\n   \n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"{{BASE_URL}}/smart-hub/api/cencosud/orders/states"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"3632922a-4c2e-4129-b354-0b52ac05d6aa"},{"name":"4. Send Coordinates","id":"19a4e920-a094-46ed-abd4-8d2c7d7790ef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"coordinates\": {\n        \"latitude\": 4.592186581553626,// requerido\n        \"longitude\": -74.13686065057105// requerido\n    },\n    \"externalOrderId\": \"JMB-v1677506-01\", // requerido\n    \"driverPhoneNumber\": \"+50250000002\", // requerido\n    \"timestamp\": \"2023-02-03T02:23:51.000Z\" // UTC \n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"{{BASE_URL}}/smart-hub/api/cencosud/coordinates","urlObject":{"path":["smart-hub","api","cencosud","coordinates"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"19a4e920-a094-46ed-abd4-8d2c7d7790ef"}],"id":"db777844-2813-4d6f-bd74-b3cb1dae8cdc","_postman_id":"db777844-2813-4d6f-bd74-b3cb1dae8cdc","description":""}],"id":"f0972e0b-0edb-4383-8390-7f7c31559e5e","_postman_id":"f0972e0b-0edb-4383-8390-7f7c31559e5e","description":""},{"name":"Product catalog","item":[{"name":"Create catalog","id":"1da942aa-50ff-4d3c-961d-61d79bc20990","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"[\n  {\n    \"store_id\": \"store10\",\n    \"product_code\": \"70847009511\",\n    \"name\": \"Bebida Monster clasica 473ml\",\n    \"brand\": \"Monster Energy\",\n    \"description\": \"Atrevete a probar una de las bebidas mas extremas del planeta, Monster Energy\",\n    \"available\": true,\n    \"condition\": \"new\",\n    \"price\": 1700,\n    \"sale_price\": 1700,\n    \"stock\": 5,\n    \"link\": \"https://your.domain.com/path/to/product\",\n    \"image_link\": \"https://your.domain.com/path/to/product-image\",\n    \"department\": \"Bebidas energeticas\",\n    \"restricted\": false\n  },\n  {\n    \"store_id\": \"store12\",\n    \"product_code\": \"7803473543189\",\n    \"name\": \"Gansito unidad 50gr\",\n    \"brand\": \"Marinela\",\n    \"description\": \"Bizcocho relleno y con cobertura sabor chocolate\",\n    \"available\": true,\n    \"condition\": \"new\",\n    \"price\": 700,\n    \"sale_price\": 700,\n    \"stock\": 20,\n    \"link\": \"https://your.domain.com/path/to/product\",\n    \"image_link\": \"https://your.domain.com/path/to/product-image\",\n    \"department\": \"Dulces y pasteles\",\n    \"restricted\": false\n  },\n  {\n    \"store_id\": \"store12\",\n    \"product_code\": \"4710273775609\",\n    \"name\": \"Audifonos gaming XPG headset precog analog\",\n    \"brand\": \"Adata\",\n    \"description\": \"\",\n    \"available\": true,\n    \"condition\": \"new\",\n    \"price\": 119990,\n    \"sale_price\": 119990,\n    \"stock\": 2,\n    \"link\": \"https://your.domain.com/path/to/product\",\n    \"image_link\": \"https://your.domain.com/path/to/product-image\",\n    \"department\": \"Audifonos\",\n    \"restricted\": false\n  },\n  {\n    \"store_id\": \"store12\",\n    \"product_code\": \"4710273775609\",\n    \"name\": \"Audifonos gaming XPG headset precog analog\",\n    \"brand\": \"Adata\",\n    \"description\": \"\",\n    \"available\": true,\n    \"condition\": \"new\",\n    \"price\": 119990,\n    \"sale_price\": 89990,\n    \"stock\": 0,\n    \"link\": \"https://your.domain.com/path/to/product\",\n    \"image_link\": \"https://your.domain.com/path/to/product-image\",\n    \"department\": \"Audifonos\",\n    \"restricted\": false\n  },\n  {\n    \"store_id\": \"store12\",\n    \"product_code\": \"7800007771353\",\n    \"name\": \"Ibuprofeno 600mg 20 comprimidos\",\n    \"brand\": \"Laboratorio Chile\",\n    \"description\": \"Venta bajo receta medica en establecimiento tipo A\",\n    \"available\": true,\n    \"condition\": \"new\",\n    \"price\": 2690,\n    \"link\": \"https://your.domain.com/path/to/product\",\n    \"image_link\": \"https://your.domain.com/path/to/product-image\",\n    \"department\": \"Farmacia\",\n    \"restricted\": true\n  }\n]","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"{{BASE_URL}}/product-catalog/api/v1/catalog/:brand_id","description":"<h1 id=\"json-object-mass-creation\">JSON object mass creation</h1>\n<p>Based on a JSON array of products, create products massively in our service.</p>\n<p>brand_id in the path params is an integer value provided by Zubale.</p>\n<p>Note: each brand can only have 1 existing catalog, which means calling this endpoint again <strong>will overwrite</strong> your existing data, <strong>this includes all product records from all stores</strong>.</p>\n<p>Warning: if you're integrating your stock service with us, <strong>make sure to</strong> <strong>set all products stock values to 0</strong>.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Key</strong></th>\n<th><strong>Value</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>store_id</td>\n<td>Your store identifier.</td>\n</tr>\n<tr>\n<td>product_code</td>\n<td>Your product's code (formatted as SKU, EAN, GTIN, ISBN, etc.).</td>\n</tr>\n<tr>\n<td>name</td>\n<td>Product name.</td>\n</tr>\n<tr>\n<td>brand</td>\n<td>Product brand's name.</td>\n</tr>\n<tr>\n<td>description</td>\n<td>Product description.</td>\n</tr>\n<tr>\n<td>available</td>\n<td>Product availabilty.</td>\n</tr>\n<tr>\n<td>condition</td>\n<td>Condition of the product (new, refurbished, used).</td>\n</tr>\n<tr>\n<td>price</td>\n<td>Product base price for the previously defined store.</td>\n</tr>\n<tr>\n<td>sale_price</td>\n<td>Product price if it's in sale, else use base price.</td>\n</tr>\n<tr>\n<td>link</td>\n<td>URL to your product's page.</td>\n</tr>\n<tr>\n<td>image_link</td>\n<td>URL to your product's image.</td>\n</tr>\n<tr>\n<td>department</td>\n<td>Product categorization.</td>\n</tr>\n<tr>\n<td>restricted</td>\n<td>Certain products might be restricted (like alcohol and medicines), for any other product that might not fall into this category, set this field to false.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["product-catalog","api","v1","catalog",":brand_id"],"host":["{{BASE_URL}}"],"query":[],"variable":[{"type":"any","value":"{{brand_id}}","key":"brand_id"}]}},"response":[{"id":"88063bd2-01fb-4281-89ab-fd28803bed3d","name":"Success creating","originalRequest":{"method":"POST","header":[{"description":"Required value.","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"[\n    {\n        \"store_id\": \"store10\",\n        \"product_code\": \"70847009511\",\n        \"name\": \"Bebida Monster clasica 473ml\",\n        \"brand\": \"Monster Energy\",\n        \"description\": \"Atrevete a probar una de las bebidas mas extremas del planeta, Monster Energy\", \n        \"available\": true,\n        \"condition\": \"new\",\n        \"price\": 1700.0,\n        \"sale_price\": 1700.0,\n        \"link\": \"https://your.domain.com/path/to/product\",\n        \"image_link\": \"https://your.domain.com/path/to/product-image\",\n        \"department\": \"Bebidas energeticas\",\n        \"restricted\": false\n    },\n    {\n        \"store_id\": \"store12\",\n        \"product_code\": \"7803473543189\",\n        \"name\": \"Gansito unidad 50gr\",\n        \"brand\": \"Marinela\",\n        \"description\": \"Bizcocho relleno y con cobertura sabor chocolate\", \n        \"available\": true,\n        \"condition\": \"new\",\n        \"price\": 700.0,\n        \"sale_price\": 700.0,\n        \"link\": \"https://your.domain.com/path/to/product\",\n        \"image_link\": \"https://your.domain.com/path/to/product-image\",\n        \"department\": \"Dulces y pasteles\",\n        \"restricted\": false\n    },\n    {\n        \"store_id\": \"store12\",\n        \"product_code\": \"4710273775609\",\n        \"name\": \"Audifonos gaming XPG headset precog analog\",\n        \"brand\": \"Adata\",\n        \"description\": \"\", \n        \"available\": true,\n        \"condition\": \"new\",\n        \"price\": 119990.0,\n        \"sale_price\": 119990.0,\n        \"link\": \"https://your.domain.com/path/to/product\",\n        \"image_link\": \"https://your.domain.com/path/to/product-image\",\n        \"department\": \"Audifonos\",\n        \"restricted\": false\n    },\n    {\n        \"store_id\": \"store12\",\n        \"product_code\": \"4710273775609\",\n        \"name\": \"Audifonos gaming XPG headset precog analog\",\n        \"brand\": \"Adata\",\n        \"description\": \"\", \n        \"available\": true,\n        \"condition\": \"new\",\n        \"price\": 119990.0,\n        \"sale_price\": 89990.0,\n        \"link\": \"https://your.domain.com/path/to/product\",\n        \"image_link\": \"https://your.domain.com/path/to/product-image\",\n        \"department\": \"Audifonos\",\n        \"restricted\": false\n    },\n    {\n        \"store_id\": \"store12\",\n        \"product_code\": \"7800007771353\",\n        \"name\": \"Ibuprofeno 600mg 20 comprimidos\",\n        \"brand\": \"Laboratorio Chile\",\n        \"description\": \"Venta bajo receta medica en establecimiento tipo A\", \n        \"available\": true,\n        \"condition\": \"new\",\n        \"price\": 2690.0,\n        \"link\": \"https://your.domain.com/path/to/product\",\n        \"image_link\": \"https://your.domain.com/path/to/product-image\",\n        \"department\": \"Farmacia\",\n        \"restricted\": true\n    }\n]","options":{"raw":{"language":"json"}}},"url":"https://api.zubale.com/product-catalog/api/v1/catalog/{{brand_id}}"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Operation completed successfully\"\n}"},{"id":"45b1548f-7e61-46eb-a960-c4b75d3c2ec9","name":"Success with failed products","originalRequest":{"method":"POST","header":[{"description":"Required value.","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"[\n    {\n        \"store_id\": \"store10\",\n        \"product_code\": \"70847009511\",\n        \"name\": \"Bebida Monster clasica 473ml\",\n        \"brand\": \"Monster Energy\",\n        \"description\": \"Atrevete a probar una de las bebidas mas extremas del planeta, Monster Energy\", \n        \"available\": true,\n        \"condition\": \"new\",\n        \"price\": 1700.0,\n        \"sale_price\": 1700.0,\n        \"link\": \"https://your.domain.com/path/to/product\",\n        \"image_link\": \"https://your.domain.com/path/to/product-image\",\n        \"department\": \"Bebidas energeticas\",\n        \"restricted\": false\n    },\n    {\n        \"store_id\": \"store12\",\n        \"product_code\": \"7803473543189\",\n        \"name\": \"Gansito unidad 50gr\",\n        \"brand\": \"Marinela\",\n        \"description\": \"Bizcocho relleno y con cobertura sabor chocolate\", \n        \"available\": true,\n        \"condition\": \"new\",\n        \"price\": 700.0,\n        \"sale_price\": 700.0,\n        \"link\": \"https://your.domain.com/path/to/product\",\n        \"image_link\": \"https://your.domain.com/path/to/product-image\",\n        \"department\": \"Dulces y pasteles\",\n        \"restricted\": false\n    },\n    {\n        \"store_id\": \"store12\",\n        \"product_code\": \"4710273775609\",\n        \"name\": \"Audifonos gaming XPG headset precog analog\",\n        \"brand\": \"Adata\",\n        \"description\": \"\", \n        \"available\": true,\n        \"condition\": \"new\",\n        \"price\": 119990.0,\n        \"sale_price\": 119990.0,\n        \"link\": \"https://your.domain.com/path/to/product\",\n        \"image_link\": \"https://your.domain.com/path/to/product-image\",\n        \"department\": \"Audifonos\",\n        \"restricted\": false\n    },\n    {\n        \"store_id\": \"store12\",\n        \"product_code\": \"4710273775609\",\n        \"name\": \"Audifonos gaming XPG headset precog analog\",\n        \"brand\": \"Adata\",\n        \"description\": \"\", \n        \"available\": true,\n        \"condition\": \"new\",\n        \"price\": 119990.0,\n        \"sale_price\": 89990.0,\n        \"link\": \"https://your.domain.com/path/to/product\",\n        \"image_link\": \"https://your.domain.com/path/to/product-image\",\n        \"department\": \"Audifonos\",\n        \"restricted\": false\n    },\n    {\n        \"store_id\": \"store12\",\n        \"product_code\": \"7800007771353\",\n        \"name\": \"Ibuprofeno 600mg 20 comprimidos\",\n        \"brand\": \"Laboratorio Chile\",\n        \"description\": \"Venta bajo receta medica en establecimiento tipo A\", \n        \"available\": true,\n        \"condition\": \"new\",\n        \"price\": 2690.0,\n        \"link\": \"https://your.domain.com/path/to/product\",\n        \"image_link\": \"https://your.domain.com/path/to/product-image\",\n        \"department\": \"Farmacia\",\n        \"restricted\": true\n    }\n]","options":{"raw":{"language":"json"}}},"url":"https://api.zubale.com/product-catalog/api/v1/catalog/{{brand_id}}"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"failed_products\": [\"70847009511\", \"7803473543189\"],\n    \"message\": \"Operation completed successfully\"\n}"},{"id":"05b467b5-2502-4d75-bb98-9ce1bb420ac1","name":"Response on an unhandled error","originalRequest":{"method":"POST","header":[{"description":"Required value.","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"[\n    {\n        \"store_id\": \"store10\",\n        \"product_code\": \"70847009511\",\n        \"name\": \"Bebida Monster clasica 473ml\",\n        \"brand\": \"Monster Energy\",\n        \"description\": \"Atrevete a probar una de las bebidas mas extremas del planeta, Monster Energy\", \n        \"available\": true,\n        \"condition\": \"new\",\n        \"price\": 1700.0,\n        \"sale_price\": 1700.0,\n        \"link\": \"https://your.domain.com/path/to/product\",\n        \"image_link\": \"https://your.domain.com/path/to/product-image\",\n        \"department\": \"Bebidas energeticas\",\n        \"restricted\": false\n    },\n    {\n        \"store_id\": \"store12\",\n        \"product_code\": \"7803473543189\",\n        \"name\": \"Gansito unidad 50gr\",\n        \"brand\": \"Marinela\",\n        \"description\": \"Bizcocho relleno y con cobertura sabor chocolate\", \n        \"available\": true,\n        \"condition\": \"new\",\n        \"price\": 700.0,\n        \"sale_price\": 700.0,\n        \"link\": \"https://your.domain.com/path/to/product\",\n        \"image_link\": \"https://your.domain.com/path/to/product-image\",\n        \"department\": \"Dulces y pasteles\",\n        \"restricted\": false\n    },\n    {\n        \"store_id\": \"store12\",\n        \"product_code\": \"4710273775609\",\n        \"name\": \"Audifonos gaming XPG headset precog analog\",\n        \"brand\": \"Adata\",\n        \"description\": \"\", \n        \"available\": true,\n        \"condition\": \"new\",\n        \"price\": 119990.0,\n        \"sale_price\": 119990.0,\n        \"link\": \"https://your.domain.com/path/to/product\",\n        \"image_link\": \"https://your.domain.com/path/to/product-image\",\n        \"department\": \"Audifonos\",\n        \"restricted\": false\n    },\n    {\n        \"store_id\": \"store12\",\n        \"product_code\": \"4710273775609\",\n        \"name\": \"Audifonos gaming XPG headset precog analog\",\n        \"brand\": \"Adata\",\n        \"description\": \"\", \n        \"available\": true,\n        \"condition\": \"new\",\n        \"price\": 119990.0,\n        \"sale_price\": 89990.0,\n        \"link\": \"https://your.domain.com/path/to/product\",\n        \"image_link\": \"https://your.domain.com/path/to/product-image\",\n        \"department\": \"Audifonos\",\n        \"restricted\": false\n    },\n    {\n        \"store_id\": \"store12\",\n        \"product_code\": \"7800007771353\",\n        \"name\": \"Ibuprofeno 600mg 20 comprimidos\",\n        \"brand\": \"Laboratorio Chile\",\n        \"description\": \"Venta bajo receta medica en establecimiento tipo A\", \n        \"available\": true,\n        \"condition\": \"new\",\n        \"price\": 2690.0,\n        \"link\": \"https://your.domain.com/path/to/product\",\n        \"image_link\": \"https://your.domain.com/path/to/product-image\",\n        \"department\": \"Farmacia\",\n        \"restricted\": true\n    }\n]","options":{"raw":{"language":"json"}}},"url":"https://api.zubale.com/product-catalog/api/v1/catalog/{{brand_id}}"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"detail\": \"Internal Server Error\"\n    }\n}"},{"id":"df29b880-7594-44af-b327-7d344764a36f","name":"Success creating","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"[\n  {\n    \"store_id\": \"store10\",\n    \"product_code\": \"70847009511\",\n    \"name\": \"Bebida Monster clasica 473ml\",\n    \"brand\": \"Monster Energy\",\n    \"description\": \"Atrevete a probar una de las bebidas mas extremas del planeta, Monster Energy\",\n    \"available\": true,\n    \"condition\": \"new\",\n    \"price\": 1700,\n    \"sale_price\": 1700,\n    \"stock\": 5,\n    \"link\": \"https://your.domain.com/path/to/product\",\n    \"image_link\": \"https://your.domain.com/path/to/product-image\",\n    \"department\": \"Bebidas energeticas\",\n    \"restricted\": false\n  },\n  {\n    \"store_id\": \"store12\",\n    \"product_code\": \"7803473543189\",\n    \"name\": \"Gansito unidad 50gr\",\n    \"brand\": \"Marinela\",\n    \"description\": \"Bizcocho relleno y con cobertura sabor chocolate\",\n    \"available\": true,\n    \"condition\": \"new\",\n    \"price\": 700,\n    \"sale_price\": 700,\n    \"stock\": 20,\n    \"link\": \"https://your.domain.com/path/to/product\",\n    \"image_link\": \"https://your.domain.com/path/to/product-image\",\n    \"department\": \"Dulces y pasteles\",\n    \"restricted\": false\n  },\n  {\n    \"store_id\": \"store12\",\n    \"product_code\": \"4710273775609\",\n    \"name\": \"Audifonos gaming XPG headset precog analog\",\n    \"brand\": \"Adata\",\n    \"description\": \"\",\n    \"available\": true,\n    \"condition\": \"new\",\n    \"price\": 119990,\n    \"sale_price\": 119990,\n    \"stock\": 2,\n    \"link\": \"https://your.domain.com/path/to/product\",\n    \"image_link\": \"https://your.domain.com/path/to/product-image\",\n    \"department\": \"Audifonos\",\n    \"restricted\": false\n  },\n  {\n    \"store_id\": \"store12\",\n    \"product_code\": \"4710273775609\",\n    \"name\": \"Audifonos gaming XPG headset precog analog\",\n    \"brand\": \"Adata\",\n    \"description\": \"\",\n    \"available\": true,\n    \"condition\": \"new\",\n    \"price\": 119990,\n    \"sale_price\": 89990,\n    \"stock\": 0,\n    \"link\": \"https://your.domain.com/path/to/product\",\n    \"image_link\": \"https://your.domain.com/path/to/product-image\",\n    \"department\": \"Audifonos\",\n    \"restricted\": false\n  },\n  {\n    \"store_id\": \"store12\",\n    \"product_code\": \"7800007771353\",\n    \"name\": \"Ibuprofeno 600mg 20 comprimidos\",\n    \"brand\": \"Laboratorio Chile\",\n    \"description\": \"Venta bajo receta medica en establecimiento tipo A\",\n    \"available\": true,\n    \"condition\": \"new\",\n    \"price\": 2690,\n    \"link\": \"https://your.domain.com/path/to/product\",\n    \"image_link\": \"https://your.domain.com/path/to/product-image\",\n    \"department\": \"Farmacia\",\n    \"restricted\": true\n  }\n]","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"{{BASE_URL}}/product-catalog/api/v1/catalog/:brand_id","host":["{{BASE_URL}}"],"path":["product-catalog","api","v1","catalog",":brand_id"],"variable":[{"key":"brand_id","value":"{{brand_id}}"}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"failure to get a peer from the ring-balancer\"\n}"}],"_postman_id":"1da942aa-50ff-4d3c-961d-61d79bc20990"},{"name":"Update catalog","id":"150dd11f-380a-4a63-a5a4-1c69147cee97","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"[\n    {\n        \"store_id\": \"store10\",\n        \"product_code\": \"70847009511\",\n        \"name\": \"Bebida Monster clasica 473ml\",\n        \"brand\": \"Monster Energy\",\n        \"description\": \"Atrevete a probar una de las bebidas mas extremas del planeta, Monster Energy\", \n        \"available\": true,\n        \"condition\": \"new\",\n        \"price\": 1700.0,\n        \"stock\": 30,\n        \"link\": \"https://your.domain.com/path/to/product\",\n        \"image_link\": \"https://your.domain.com/path/to/product-image\",\n        \"department\": \"Bebidas energeticas\",\n        \"restricted\": true\n    },\n    {\n        \"store_id\": \"store12\",\n        \"product_code\": \"7803473543189\",\n        \"price\": 700.0,\n        \"restricted\": false\n    },\n    {\n        \"store_id\": \"store12\",\n        \"product_code\": \"4710273775609\",\n        \"name\": null,\n        \"brand\": null,\n        \"description\": null, \n        \"available\": false, // the only effective change for this product for the given store\n        \"condition\": null,\n        \"price\": 0.0,\n        \"link\": null,\n        \"image_link\": null,\n        \"department\": null\n    }\n]","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"{{BASE_URL}}/product-catalog/api/v1/catalog/:brand_id","description":"<p>Update a given list of products. This endpoint will <strong>not</strong> overwrite your existing data.  </p>\n<p>Attempting to update an unexisting record won't create it, meaning that if you send a product that isn't on our database will not attempt to insert it. To make sure it exists, please refer to the <strong>Get products(s)</strong> section</p>\n<p>brand_id in the path params is an integer value provided value.</p>\n<p>\"brand_id\", \"store_id\" and \"product_code\" are mandatory fields. Any undeclared, empty strings, zero and null values won't be overwritten on the original record.</p>\n","urlObject":{"path":["product-catalog","api","v1","catalog",":brand_id"],"host":["{{BASE_URL}}"],"query":[],"variable":[{"type":"any","value":"{{brand_id}}","key":"brand_id"}]}},"response":[{"id":"ad14b086-bfb8-4fc0-a0fd-578d1896d74d","name":"Success updating","originalRequest":{"method":"PUT","header":[{"description":"Required field.","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"[\n    {\n        \"store_id\": \"store10\",\n        \"product_code\": \"70847009511\",\n        \"name\": \"Bebida Monster clasica 473ml\",\n        \"brand\": \"Monster Energy\",\n        \"description\": \"Atrevete a probar una de las bebidas mas extremas del planeta, Monster Energy\", \n        \"available\": true,\n        \"condition\": \"new\",\n        \"price\": 1700.0,\n        \"link\": \"https://your.domain.com/path/to/product\",\n        \"image_link\": \"https://your.domain.com/path/to/product-image\",\n        \"department\": \"Bebidas energeticas\",\n        \"restricted\": true\n    },\n    {\n        \"store_id\": \"store12\",\n        \"product_code\": \"7803473543189\",\n        \"price\": 700.0,\n        \"restricted\": false\n    },\n    {\n        \"store_id\": \"store12\",\n        \"product_code\": \"4710273775609\",\n        \"name\": null,\n        \"brand\": null,\n        \"description\": null, \n        \"available\": false, // the only effective change for this product for the given store\n        \"condition\": null,\n        \"price\": 0.0,\n        \"link\": null,\n        \"image_link\": null,\n        \"department\": null\n    }\n]","options":{"raw":{"language":"json"}}},"url":"https://api.zubale.com/product-catalog/api/v1/catalog/{{brand_id}}"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Operation completed successfully\"\n}"},{"id":"a6551faa-89b7-45d4-b7cb-76fc111402a0","name":"Response on an unhandled error","originalRequest":{"method":"PUT","header":[{"description":"Required field.","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"[\n    {\n        \"store_id\": \"store10\",\n        \"product_code\": \"70847009511\",\n        \"name\": \"Bebida Monster clasica 473ml\",\n        \"brand\": \"Monster Energy\",\n        \"description\": \"Atrevete a probar una de las bebidas mas extremas del planeta, Monster Energy\", \n        \"available\": true,\n        \"condition\": \"new\",\n        \"price\": 1700.0,\n        \"link\": \"https://your.domain.com/path/to/product\",\n        \"image_link\": \"https://your.domain.com/path/to/product-image\",\n        \"department\": \"Bebidas energeticas\",\n        \"restricted\": true\n    },\n    {\n        \"store_id\": \"store12\",\n        \"product_code\": \"7803473543189\",\n        \"price\": 700.0,\n        \"restricted\": false\n    },\n    {\n        \"store_id\": \"store12\",\n        \"product_code\": \"4710273775609\",\n        \"name\": null,\n        \"brand\": null,\n        \"description\": null, \n        \"available\": false, // the only effective change for this product for the given store\n        \"condition\": null,\n        \"price\": 0.0,\n        \"link\": null,\n        \"image_link\": null,\n        \"department\": null\n    }\n]","options":{"raw":{"language":"json"}}},"url":"https://api.zubale.com/product-catalog/api/v1/catalog/{{brand_id}}"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"detail\": \"Internal Server Error\"\n    }\n}"},{"id":"d69e444d-385c-4085-8ad2-7c4515b99ae4","name":"Success updating","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"[\n    {\n        \"store_id\": \"store10\",\n        \"product_code\": \"70847009511\",\n        \"name\": \"Bebida Monster clasica 473ml\",\n        \"brand\": \"Monster Energy\",\n        \"description\": \"Atrevete a probar una de las bebidas mas extremas del planeta, Monster Energy\", \n        \"available\": true,\n        \"condition\": \"new\",\n        \"price\": 1700.0,\n        \"stock\": 30,\n        \"link\": \"https://your.domain.com/path/to/product\",\n        \"image_link\": \"https://your.domain.com/path/to/product-image\",\n        \"department\": \"Bebidas energeticas\",\n        \"restricted\": true\n    },\n    {\n        \"store_id\": \"store12\",\n        \"product_code\": \"7803473543189\",\n        \"price\": 700.0,\n        \"restricted\": false\n    },\n    {\n        \"store_id\": \"store12\",\n        \"product_code\": \"4710273775609\",\n        \"name\": null,\n        \"brand\": null,\n        \"description\": null, \n        \"available\": false, // the only effective change for this product for the given store\n        \"condition\": null,\n        \"price\": 0.0,\n        \"link\": null,\n        \"image_link\": null,\n        \"department\": null\n    }\n]","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"{{BASE_URL}}/product-catalog/api/v1/catalog/:brand_id","host":["{{BASE_URL}}"],"path":["product-catalog","api","v1","catalog",":brand_id"],"variable":[{"key":"brand_id","value":"{{brand_id}}"}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"failure to get a peer from the ring-balancer\"\n}"}],"_postman_id":"150dd11f-380a-4a63-a5a4-1c69147cee97"},{"name":"Create product","id":"39fc94ea-76e4-4c3e-a4b2-7bad5d62a35c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"[\n  {\n    \"store_id\": \"store10\",\n    \"product_code\": \"70847009511\",\n    \"name\": \"Bebida Monster clasica 473ml\",\n    \"brand\": \"Monster Energy\",\n    \"description\": \"Atrevete a probar una de las bebidas mas extremas del planeta, Monster Energy\",\n    \"available\": true,\n    \"condition\": \"new\",\n    \"price\": 1700,\n    \"stock\": 5,\n    \"link\": \"https://your.domain.com/path/to/product\",\n    \"image_link\": \"https://your.domain.com/path/to/product-image\",\n    \"department\": \"Bebidas energeticas\",\n    \"restricted\": true\n  },\n  {\n    \"store_id\": \"store10\",\n    \"product_code\": \"70847009512\",\n    \"name\": \"Bebida Monster Mango Loco 473ml\",\n    \"brand\": \"Monster Energy\",\n    \"description\": \"Atrevete a probar una de las bebidas mas extremas del planeta, Monster Energy\",\n    \"available\": true,\n    \"condition\": \"new\",\n    \"price\": 1700,\n    \"sale_price\": 1500,\n    \"link\": \"https://your.domain.com/path/to/product\",\n    \"image_link\": \"https://your.domain.com/path/to/product-image\",\n    \"department\": \"Bebidas energeticas\"\n  },\n  {\n    \"store_id\": \"store10\",\n    \"product_code\": \"70847009513\",\n    \"name\": \"Leche entera 1L\",\n    \"brand\": \"Colun\",\n    \"description\": \"Leche entera 1 litro marca Colun\",\n    \"available\": true,\n    \"condition\": \"new\",\n    \"price\": 1200,\n    \"sale_price\": 1200,\n    \"link\": \"https://your.domain.com/path/to/product\",\n    \"image_link\": \"https://your.domain.com/path/to/product-image\",\n    \"department\": \"Lacteos\"\n  }\n]","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"{{BASE_URL}}/product-catalog/api/v1/brands/1093/products","description":"<p>Creates an array of multiple products at once. This endpoint will <strong>not</strong> overwrite existing records, but will return products that failed to insert whenever they don't match the expected values.</p>\n<p>Warning: if you're integrating your stock service with us, <strong>make sure to</strong> <strong>set all products stock values to 0</strong>.</p>\n","urlObject":{"path":["product-catalog","api","v1","brands","1093","products"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"c5baad0e-49f1-4e7e-a6bd-22f6a549ed12","name":"Success creating","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"[\n    {\n        \"store_id\": \"store10\",\n        \"product_code\": \"70847009511\",\n        \"name\": \"Bebida Monster clasica 473ml\",\n        \"brand\": \"Monster Energy\",\n        \"description\": \"Atrevete a probar una de las bebidas mas extremas del planeta, Monster Energy\", \n        \"available\": true,\n        \"condition\": \"new\",\n        \"price\": 1700.0,\n        \"sale_price\": 1700.0,\n        \"link\": \"https://your.domain.com/path/to/product\",\n        \"image_link\": \"https://your.domain.com/path/to/product-image\",\n        \"department\": \"Bebidas energeticas\",\n        \"restricted\": false\n    },\n    {\n        \"store_id\": \"store12\",\n        \"product_code\": \"7803473543189\",\n        \"name\": \"Gansito unidad 50gr\",\n        \"brand\": \"Marinela\",\n        \"description\": \"Bizcocho relleno y con cobertura sabor chocolate\", \n        \"available\": true,\n        \"condition\": \"new\",\n        \"price\": 700.0,\n        \"sale_price\": 700.0,\n        \"link\": \"https://your.domain.com/path/to/product\",\n        \"image_link\": \"https://your.domain.com/path/to/product-image\",\n        \"department\": \"Dulces y pasteles\",\n        \"restricted\": false\n    },\n    {\n        \"store_id\": \"store12\",\n        \"product_code\": \"4710273775609\",\n        \"name\": \"Audifonos gaming XPG headset precog analog\",\n        \"brand\": \"Adata\",\n        \"description\": \"\", \n        \"available\": true,\n        \"condition\": \"new\",\n        \"price\": 119990.0,\n        \"sale_price\": 119990.0,\n        \"link\": \"https://your.domain.com/path/to/product\",\n        \"image_link\": \"https://your.domain.com/path/to/product-image\",\n        \"department\": \"Audifonos\",\n        \"restricted\": false\n    },\n    {\n        \"store_id\": \"store12\",\n        \"product_code\": \"4710273775609\",\n        \"name\": \"Audifonos gaming XPG headset precog analog\",\n        \"brand\": \"Adata\",\n        \"description\": \"\", \n        \"available\": true,\n        \"condition\": \"new\",\n        \"price\": 119990.0,\n        \"sale_price\": 89990.0,\n        \"link\": \"https://your.domain.com/path/to/product\",\n        \"image_link\": \"https://your.domain.com/path/to/product-image\",\n        \"department\": \"Audifonos\",\n        \"restricted\": false\n    },\n    {\n        \"store_id\": \"store12\",\n        \"product_code\": \"7800007771353\",\n        \"name\": \"Ibuprofeno 600mg 20 comprimidos\",\n        \"brand\": \"Laboratorio Chile\",\n        \"description\": \"Venta bajo receta medica en establecimiento tipo A\", \n        \"available\": true,\n        \"condition\": \"new\",\n        \"price\": 2690.0,\n        \"link\": \"https://your.domain.com/path/to/product\",\n        \"image_link\": \"https://your.domain.com/path/to/product-image\",\n        \"department\": \"Farmacia\",\n        \"restricted\": true\n    }\n]","options":{"raw":{"language":"json"}}},"url":"https://api.zubale.com/product-catalog/api/v1/brand/1093/products"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Operation completed successfully\"\n}"},{"id":"6b61b369-b3cd-4667-b74d-99a67891102e","name":"Success with failed products","originalRequest":{"method":"POST","header":[{"description":"Required value.","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"[\n    {\n        \"store_id\": \"store10\",\n        \"product_code\": \"70847009511\",\n        \"name\": \"Bebida Monster clasica 473ml\",\n        \"brand\": \"Monster Energy\",\n        \"description\": \"Atrevete a probar una de las bebidas mas extremas del planeta, Monster Energy\", \n        \"available\": true,\n        \"condition\": \"new\",\n        \"price\": 1700.0,\n        \"sale_price\": 1700.0,\n        \"link\": \"https://your.domain.com/path/to/product\",\n        \"image_link\": \"https://your.domain.com/path/to/product-image\",\n        \"department\": \"Bebidas energeticas\",\n        \"restricted\": false\n    },\n    {\n        \"store_id\": \"store12\",\n        \"product_code\": \"7803473543189\",\n        \"name\": \"Gansito unidad 50gr\",\n        \"brand\": \"Marinela\",\n        \"description\": \"Bizcocho relleno y con cobertura sabor chocolate\", \n        \"available\": true,\n        \"condition\": \"new\",\n        \"price\": 700.0,\n        \"sale_price\": 700.0,\n        \"link\": \"https://your.domain.com/path/to/product\",\n        \"image_link\": \"https://your.domain.com/path/to/product-image\",\n        \"department\": \"Dulces y pasteles\",\n        \"restricted\": false\n    },\n    {\n        \"store_id\": \"store12\",\n        \"product_code\": \"4710273775609\",\n        \"name\": \"Audifonos gaming XPG headset precog analog\",\n        \"brand\": \"Adata\",\n        \"description\": \"\", \n        \"available\": true,\n        \"condition\": \"new\",\n        \"price\": 119990.0,\n        \"sale_price\": 119990.0,\n        \"link\": \"https://your.domain.com/path/to/product\",\n        \"image_link\": \"https://your.domain.com/path/to/product-image\",\n        \"department\": \"Audifonos\",\n        \"restricted\": false\n    },\n    {\n        \"store_id\": \"store12\",\n        \"product_code\": \"4710273775609\",\n        \"name\": \"Audifonos gaming XPG headset precog analog\",\n        \"brand\": \"Adata\",\n        \"description\": \"\", \n        \"available\": true,\n        \"condition\": \"new\",\n        \"price\": 119990.0,\n        \"sale_price\": 89990.0,\n        \"link\": \"https://your.domain.com/path/to/product\",\n        \"image_link\": \"https://your.domain.com/path/to/product-image\",\n        \"department\": \"Audifonos\",\n        \"restricted\": false\n    },\n    {\n        \"store_id\": \"store12\",\n        \"product_code\": \"7800007771353\",\n        \"name\": \"Ibuprofeno 600mg 20 comprimidos\",\n        \"brand\": \"Laboratorio Chile\",\n        \"description\": \"Venta bajo receta medica en establecimiento tipo A\", \n        \"available\": true,\n        \"condition\": \"new\",\n        \"price\": 2690.0,\n        \"link\": \"https://your.domain.com/path/to/product\",\n        \"image_link\": \"https://your.domain.com/path/to/product-image\",\n        \"department\": \"Farmacia\",\n        \"restricted\": true\n    }\n]","options":{"raw":{"language":"json"}}},"url":"https://api.zubale.com/product-catalog/api/v1/catalog/{{brand_id}}/create"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"failed_products\": [\"70847009511\", \"7803473543189\"],\n    \"message\": \"Operation completed successfully\"\n}"},{"id":"1e0a294a-102c-4b3f-b3bb-1a1dfb2ef103","name":"Response on an unhandled error","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"[\n    {\n        \"store_id\": \"store10\",\n        \"product_code\": \"70847009511\",\n        \"name\": \"Bebida Monster clasica 473ml\",\n        \"brand\": \"Monster Energy\",\n        \"description\": \"Atrevete a probar una de las bebidas mas extremas del planeta, Monster Energy\", \n        \"available\": true,\n        \"condition\": \"new\",\n        \"price\": 1700.0,\n        \"sale_price\": 1700.0,\n        \"link\": \"https://your.domain.com/path/to/product\",\n        \"image_link\": \"https://your.domain.com/path/to/product-image\",\n        \"department\": \"Bebidas energeticas\",\n        \"restricted\": false\n    },\n    {\n        \"store_id\": \"store12\",\n        \"product_code\": \"7803473543189\",\n        \"name\": \"Gansito unidad 50gr\",\n        \"brand\": \"Marinela\",\n        \"description\": \"Bizcocho relleno y con cobertura sabor chocolate\", \n        \"available\": true,\n        \"condition\": \"new\",\n        \"price\": 700.0,\n        \"sale_price\": 700.0,\n        \"link\": \"https://your.domain.com/path/to/product\",\n        \"image_link\": \"https://your.domain.com/path/to/product-image\",\n        \"department\": \"Dulces y pasteles\",\n        \"restricted\": false\n    },\n    {\n        \"store_id\": \"store12\",\n        \"product_code\": \"4710273775609\",\n        \"name\": \"Audifonos gaming XPG headset precog analog\",\n        \"brand\": \"Adata\",\n        \"description\": \"\", \n        \"available\": true,\n        \"condition\": \"new\",\n        \"price\": 119990.0,\n        \"sale_price\": 119990.0,\n        \"link\": \"https://your.domain.com/path/to/product\",\n        \"image_link\": \"https://your.domain.com/path/to/product-image\",\n        \"department\": \"Audifonos\",\n        \"restricted\": false\n    },\n    {\n        \"store_id\": \"store12\",\n        \"product_code\": \"4710273775609\",\n        \"name\": \"Audifonos gaming XPG headset precog analog\",\n        \"brand\": \"Adata\",\n        \"description\": \"\", \n        \"available\": true,\n        \"condition\": \"new\",\n        \"price\": 119990.0,\n        \"sale_price\": 89990.0,\n        \"link\": \"https://your.domain.com/path/to/product\",\n        \"image_link\": \"https://your.domain.com/path/to/product-image\",\n        \"department\": \"Audifonos\",\n        \"restricted\": false\n    },\n    {\n        \"store_id\": \"store12\",\n        \"product_code\": \"7800007771353\",\n        \"name\": \"Ibuprofeno 600mg 20 comprimidos\",\n        \"brand\": \"Laboratorio Chile\",\n        \"description\": \"Venta bajo receta medica en establecimiento tipo A\", \n        \"available\": true,\n        \"condition\": \"new\",\n        \"price\": 2690.0,\n        \"link\": \"https://your.domain.com/path/to/product\",\n        \"image_link\": \"https://your.domain.com/path/to/product-image\",\n        \"department\": \"Farmacia\",\n        \"restricted\": true\n    }\n]","options":{"raw":{"language":"json"}}},"url":"https://api.zubale.com/product-catalog/api/v1/product/create"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"detail\": \"Internal Server Error\"\n    }\n}"},{"id":"583b2392-6009-4b76-9e5a-697a3a2f7e10","name":"Success creating","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"[\n  {\n    \"store_id\": \"store10\",\n    \"product_code\": \"70847009511\",\n    \"name\": \"Bebida Monster clasica 473ml\",\n    \"brand\": \"Monster Energy\",\n    \"description\": \"Atrevete a probar una de las bebidas mas extremas del planeta, Monster Energy\",\n    \"available\": true,\n    \"condition\": \"new\",\n    \"price\": 1700,\n    \"stock\": 5,\n    \"link\": \"https://your.domain.com/path/to/product\",\n    \"image_link\": \"https://your.domain.com/path/to/product-image\",\n    \"department\": \"Bebidas energeticas\",\n    \"restricted\": true\n  },\n  {\n    \"store_id\": \"store10\",\n    \"product_code\": \"70847009512\",\n    \"name\": \"Bebida Monster Mango Loco 473ml\",\n    \"brand\": \"Monster Energy\",\n    \"description\": \"Atrevete a probar una de las bebidas mas extremas del planeta, Monster Energy\",\n    \"available\": true,\n    \"condition\": \"new\",\n    \"price\": 1700,\n    \"sale_price\": 1500,\n    \"link\": \"https://your.domain.com/path/to/product\",\n    \"image_link\": \"https://your.domain.com/path/to/product-image\",\n    \"department\": \"Bebidas energeticas\"\n  },\n  {\n    \"store_id\": \"store10\",\n    \"product_code\": \"70847009513\",\n    \"name\": \"Leche entera 1L\",\n    \"brand\": \"Colun\",\n    \"description\": \"Leche entera 1 litro marca Colun\",\n    \"available\": true,\n    \"condition\": \"new\",\n    \"price\": 1200,\n    \"sale_price\": 1200,\n    \"link\": \"https://your.domain.com/path/to/product\",\n    \"image_link\": \"https://your.domain.com/path/to/product-image\",\n    \"department\": \"Lacteos\"\n  }\n]","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"{{BASE_URL}}/product-catalog/api/v1/brands/1093/products"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"failure to get a peer from the ring-balancer\"\n}"}],"_postman_id":"39fc94ea-76e4-4c3e-a4b2-7bad5d62a35c"},{"name":"Update product","id":"86c331b0-962c-47d1-a604-9ab75ffa2265","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"brand_id\": \"1093\",\n  \"store_id\": \"store10\",\n  \"product_code\": \"70847009511\",\n  \"name\": \"Bebida Monster clasica 473ml\",\n  \"brand\": \"Monster Energy\",\n  \"description\": \"Atrevete a probar una de las bebidas mas extremas del planeta, Monster Energy\",\n  \"available\": true,\n  \"condition\": \"new\",\n  \"price\": 1700,\n  \"stock\": 4,\n  \"link\": \"https://your.domain.com/path/to/product\",\n  \"image_iink\": \"https://your.domain.com/path/to/product-image\",\n  \"department\": \"Bebidas energeticas\",\n  \"restricted\": true\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"{{BASE_URL}}/product-catalog/api/v1/products","description":"<p>Updates a single product.</p>\n<p>\"brandId\", \"storeId\", and \"productCode\" are mandatory fields. Any undeclared, empty strings, zero and null values won't be overwritten on the original record.</p>\n","urlObject":{"path":["product-catalog","api","v1","products"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"df06bcec-4541-44f4-a9c4-8e24790fb7d1","name":"Success updating","originalRequest":{"method":"PUT","header":[{"description":"Required field.","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"brand_id\": \"1093\",\n    \"store_id\": \"store10\",\n    \"product_code\": \"70847009511\",\n    \"name\": \"Bebida Monster clasica 473ml\",\n    \"brand\": \"Monster Energy\",\n    \"description\": \"Atrevete a probar una de las bebidas mas extremas del planeta, Monster Energy\", \n    \"available\": true,\n    \"condition\": \"new\",\n    \"price\": 1700.0,\n    \"stock\": 4,\n    \"link\": \"https://your.domain.com/path/to/product\",\n    \"image_iink\": \"https://your.domain.com/path/to/product-image\",\n    \"department\": \"Bebidas energeticas\",\n    \"restricted\": true\n}","options":{"raw":{"language":"json"}}},"url":"https://api.zubale.com/product-catalog/api/v1/products"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Operation completed successfully\"\n}"},{"id":"f7868603-c3c8-4b3b-8f10-7d287e803057","name":"Response on an unhandled error","originalRequest":{"method":"PUT","header":[{"description":"Required field.","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"brand_id\": 1093,\n    \"store_id\": \"store10\",\n    \"product_code\": \"70847009511\",\n    \"name\": \"Bebida Monster clasica 473ml\",\n    \"brand\": \"Monster Energy\",\n    \"description\": \"Atrevete a probar una de las bebidas mas extremas del planeta, Monster Energy\", \n    \"available\": true,\n    \"condition\": \"new\",\n    \"price\": 1700.0,\n    \"link\": \"https://your.domain.com/path/to/product\",\n    \"image_iink\": \"https://your.domain.com/path/to/product-image\",\n    \"department\": \"Bebidas energeticas\",\n    \"restricted\": true\n}","options":{"raw":{"language":"json"}}},"url":"https://api.zubale.com/product-catalog/api/v1/products"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"detail\": \"Internal Server Error\"\n    }\n}"},{"id":"5cba52c9-a1f6-4cff-8543-0c015b3323d7","name":"Success updating","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n  \"brand_id\": 1093,\n  \"store_id\": \"store10\",\n  \"product_code\": \"70847009511\",\n  \"name\": \"Bebida Monster clasica 473ml\",\n  \"brand\": \"Monster Energy\",\n  \"description\": \"Atrevete a probar una de las bebidas mas extremas del planeta, Monster Energy\",\n  \"available\": true,\n  \"condition\": \"new\",\n  \"price\": 1700,\n  \"stock\": 4,\n  \"link\": \"https://your.domain.com/path/to/product\",\n  \"image_iink\": \"https://your.domain.com/path/to/product-image\",\n  \"department\": \"Bebidas energeticas\",\n  \"restricted\": true\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"{{BASE_URL}}/product-catalog/api/v1/products"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"failure to get a peer from the ring-balancer\"\n}"}],"_postman_id":"86c331b0-962c-47d1-a604-9ab75ffa2265"},{"name":"Get product(s)","id":"0c5e7e2f-9630-462c-8381-c4c677d2935b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{BASE_URL}}/product-catalog/api/v1/brands/:brand_id/products","description":"<p>Get a product based on certain query parameters.</p>\n","urlObject":{"path":["product-catalog","api","v1","brands",":brand_id","products"],"host":["{{BASE_URL}}"],"query":[{"disabled":true,"description":{"content":"<p>Product GTIN, comma sepparated, no whitespaces</p>\n","type":"text/plain"},"key":"product_code","value":"70847009511,4710273775609"},{"disabled":true,"description":{"content":"<p>Your store identifier.</p>\n","type":"text/plain"},"key":"store_id","value":"store12"},{"disabled":true,"description":{"content":"<p>Product categorization.</p>\n","type":"text/plain"},"key":"department","value":"Alimentos"}],"variable":[{"type":"any","value":"{{brand_id}}","key":"brand_id"}]}},"response":[{"id":"735cb63f-3279-4a42-8914-ccd66259ae3b","name":"Response on an unhandled error","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.zubale.com/product-catalog/api/v1/brands/{{brand_id}}/products","protocol":"https","host":["api","zubale","com"],"path":["product-catalog","api","v1","brands","{{brand_id}}","products"],"query":[{"description":"Product GTIN, comma sepparated, no whitespaces","key":"product_code","value":"70847009511,4710273775609","disabled":true},{"description":"Your store identifier.","key":"store_id","value":"store12","disabled":true},{"description":"Product categorization.","key":"department","value":"Alimentos","disabled":true}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"detail\": \"Internal Server Error\"\n    }\n}"},{"id":"207ea3f0-ab9d-464c-8f39-6ad3c9cd6875","name":"Response on an unhandled error","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{BASE_URL}}/product-catalog/api/v1/brands/:brand_id/products","host":["{{BASE_URL}}"],"path":["product-catalog","api","v1","brands",":brand_id","products"],"query":[{"description":"Product GTIN, comma sepparated, no whitespaces","key":"product_code","value":"70847009511,4710273775609","disabled":true},{"description":"Your store identifier.","key":"store_id","value":"store12","disabled":true},{"description":"Product categorization.","key":"department","value":"Alimentos","disabled":true}],"variable":[{"key":"brand_id","value":"{{brand_id}}"}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"failure to get a peer from the ring-balancer\"\n}"}],"_postman_id":"0c5e7e2f-9630-462c-8381-c4c677d2935b"}],"id":"984a14a7-88e2-4ede-99ad-9bac5852ae3f","_postman_id":"984a14a7-88e2-4ede-99ad-9bac5852ae3f","description":""},{"name":"External outbound","item":[{"name":"Basic template","id":"f7bda79f-c816-49b0-b753-a50b0e9e1864","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{JWT_TOKEN}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"target\": \"+57301000000\",\n  \"templateName\": \"example_basic_template\",\n  \"languageCode\": \"es\",\n  \"flow\": \"promotions_purchase\",\n  \"payload\": {},\n  \"metadata\": {\n    \"node\": \"start-single-product\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"{{BASE_URL}}/hermes/integrations/:iINTEGRATION_NAME/conversations/messages","description":"<p>Send a basic WhatsApp template message without variable parameters.</p>\n<p>Required headers:</p>\n<ul>\n<li><p>Content-Type: application/json</p>\n</li>\n<li><p>Authorization: Bearer {{JWT_TOKEN}}</p>\n</li>\n</ul>\n<p>Use for simple notifications or confirmations where no template variables are needed.</p>\n<h3 id=\"request-body\">Request body</h3>\n<p>JSON structure:</p>\n<ul>\n<li><p><code>target</code> (string, required): Recipient phone number in E.164 format, including country code.</p>\n</li>\n<li><p><code>templateName</code> (string, required): Name of the WhatsApp template configured for this basic message.</p>\n</li>\n<li><p><code>languageCode</code> (string, required): Language/locale code for the template (for example, <code>es</code>, <code>en_US</code>).</p>\n</li>\n<li><p><code>flow</code> (string, required): Static flow identifier provided by Zubale.</p>\n</li>\n<li><p><code>payload</code> (object, optional): Reserved for additional content or metadata if needed for the template; typically empty for a basic template.</p>\n</li>\n<li><p><code>metadata</code> (object, required): Additional routing information.</p>\n<ul>\n<li><code>node</code> (string, required): Static node identifier provided by Zubale.</li>\n</ul>\n</li>\n</ul>\n","urlObject":{"path":["hermes","integrations",":iINTEGRATION_NAME","conversations","messages"],"host":["{{BASE_URL}}"],"query":[],"variable":[{"type":"any","value":"{{iINTEGRATION_NAME}}","key":"iINTEGRATION_NAME"}]}},"response":[{"id":"ef287177-7455-4075-8670-d8847eaef573","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n  \"target\": \"+573015692996\",\n  \"templateName\": \"example_basic_template\",\n  \"languageCode\": \"es\",\n  \"flow\": \"promotions_purchase\",\n  \"payload\": {},\n  \"metadata\": {\n    \"node\": \"start-single-product\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"{{BASE_URL}}/hermes/integrations/:iINTEGRATION_NAME/conversations/messages","host":["{{BASE_URL}}"],"path":["hermes","integrations",":iINTEGRATION_NAME","conversations","messages"],"variable":[{"key":"iINTEGRATION_NAME","value":"{{iINTEGRATION_NAME}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"description":{"content":"","type":"text/plain"},"key":"Content-Length","value":"195"},{"description":{"content":"","type":"text/plain"},"key":"Connection","value":"keep-alive"},{"description":{"content":"","type":"text/plain"},"key":"cache-control","value":"max-age=0, private, must-revalidate"},{"description":{"content":"","type":"text/plain"},"key":"date","value":"Tue, 23 Dec 2025 15:43:47 GMT"},{"description":{"content":"","type":"text/plain"},"key":"ot-tracer-traceid","value":"9c1e3e1568c5058f048cf67ec3ca5722"},{"description":{"content":"","type":"text/plain"},"key":"server","value":"Cowboy"},{"description":{"content":"","type":"text/plain"},"key":"x-request-id","value":"GIPimSdRos7krD0AAFIB"},{"description":{"content":"","type":"text/plain"},"key":"X-Kong-Upstream-Latency","value":"1079"},{"description":{"content":"","type":"text/plain"},"key":"X-Kong-Proxy-Latency","value":"1"},{"description":{"content":"","type":"text/plain"},"key":"Via","value":"kong/2.7.2"},{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"b949b201-4211-4869-93f8-902c4aab04ed\",\n    \"success\": true,\n    \"message_id\": \"wamid.HBgMNTczMDE1NjkyOTk2FQIAERgSOEFBREMwQTdDNjNCMzFDQUU4AA==\",\n    \"conversation_id\": \"82b05b4c-9972-4a1e-a090-24b9b3868677\"\n}"},{"id":"5eaf6350-d4ba-47a6-a87e-6d6bfff3fb61","name":"400 Bad request","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n  \"target\": \"+57301000000\",\n  \"templateName\": \"example_basic_template\",\n  \"languageCode\": \"es\",\n  \"flow\": \"promotions_purchase\",\n  \"payload\": {},\n  \"metadata\": {\n    \"node\": \"start-single-product\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"{{BASE_URL}}/hermes/integrations/:iINTEGRATION_NAME/conversations/messages","host":["{{BASE_URL}}"],"path":["hermes","integrations",":iINTEGRATION_NAME","conversations","messages"],"variable":[{"key":"iINTEGRATION_NAME","value":"{{iINTEGRATION_NAME}}"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"Text","header":[{"description":{"content":"","type":"text/plain"},"key":"Content-Length","value":"123"},{"description":{"content":"","type":"text/plain"},"key":"Connection","value":"keep-alive"},{"description":{"content":"","type":"text/plain"},"key":"cache-control","value":"max-age=0, private, must-revalidate"},{"description":{"content":"","type":"text/plain"},"key":"date","value":"Tue, 23 Dec 2025 15:37:57 GMT"},{"description":{"content":"","type":"text/plain"},"key":"ot-tracer-traceid","value":"0366eee1473d38329381e6fa88aeb932"},{"description":{"content":"","type":"text/plain"},"key":"server","value":"Cowboy"},{"description":{"content":"","type":"text/plain"},"key":"x-request-id","value":"GIPiSAKR9-D7-_0AAEBB"},{"description":{"content":"","type":"text/plain"},"key":"X-Kong-Upstream-Latency","value":"5"},{"description":{"content":"","type":"text/plain"},"key":"X-Kong-Proxy-Latency","value":"1"},{"description":{"content":"","type":"text/plain"},"key":"Via","value":"kong/2.7.2"},{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"reason\": \"Missing required keys: [\\\"flow\\\", \\\"languageCode\\\", \\\"payload\\\", \\\"target\\\", \\\"templateName\\\"]\",\n    \"success\": false\n}"},{"id":"02fa8a31-0bc8-489f-a940-bbeb475d7b87","name":"401 Unauthorized","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n  \"target\": \"+573015692996\",\n  \"templateName\": \"example_basic_template\",\n  \"languageCode\": \"es\",\n  \"flow\": \"promotions_purchase\",\n  \"payload\": {},\n  \"metadata\": {\n    \"node\": \"start-single-product\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"{{BASE_URL}}/hermes/integrations/:iINTEGRATION_NAME/conversations/messages","host":["{{BASE_URL}}"],"path":["hermes","integrations",":iINTEGRATION_NAME","conversations","messages"],"variable":[{"key":"iINTEGRATION_NAME","value":"{{iINTEGRATION_NAME}}"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"Text","header":[{"description":{"content":"","type":"text/plain"},"key":"Content-Length","value":"26"},{"description":{"content":"","type":"text/plain"},"key":"Connection","value":"keep-alive"},{"description":{"content":"","type":"text/plain"},"key":"cache-control","value":"max-age=0, private, must-revalidate"},{"description":{"content":"","type":"text/plain"},"key":"date","value":"Tue, 23 Dec 2025 15:44:10 GMT"},{"description":{"content":"","type":"text/plain"},"key":"ot-tracer-traceid","value":"e6fb62794830c0b6e05f0bce88b6a107"},{"description":{"content":"","type":"text/plain"},"key":"server","value":"Cowboy"},{"description":{"content":"","type":"text/plain"},"key":"x-request-id","value":"GIPinuzemnZ172AAAFah"},{"description":{"content":"","type":"text/plain"},"key":"X-Kong-Upstream-Latency","value":"3"},{"description":{"content":"","type":"text/plain"},"key":"X-Kong-Proxy-Latency","value":"1"},{"description":{"content":"","type":"text/plain"},"key":"Via","value":"kong/2.7.2"},{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"}],"_postman_id":"f7bda79f-c816-49b0-b753-a50b0e9e1864"},{"name":"Template with variables","id":"02e60319-95ea-48da-8565-ec69b0e97c6c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"target\": \"+57301000000\",\n    \"templateName\": \"example_template_with_variables\",\n    \"languageCode\": \"es\",\n    \"flow\": \"promotions_purchase\",\n    \"payload\": {\n        \"body\": [\n            {\n                \"type\": \"header\",\n                \"parameters\": [\n                    {\n                        \"type\": \"image\",\n                        \"image\": {\n                            \"link\": \"https://www.zubale.com/wp-content/uploads/2023/12/logo-zubale.png\"\n                        }\n                    }\n                ]\n            },\n            {\n                \"type\": \"body\",\n                \"parameters\": [\n                    {\n                        \"type\": \"text\",\n                        \"text\": \"Dani\"\n                    },\n                    {\n                        \"type\": \"text\",\n                        \"text\": \"productos\"\n                    }\n                ]\n            }\n        ]\n    },\n    \"metadata\": {\n        \"node\": \"start-single-product\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/hermes/integrations/{{iINTEGRATION_NAME}}/conversations/messages","description":"<p>Send a WhatsApp template message with variables</p>\n<p>Required headers:</p>\n<ul>\n<li><p>Content-Type: application/json</p>\n</li>\n<li><p>Authorization: Bearer {{jwtToken}}</p>\n</li>\n</ul>\n<p>Use when you need to send a template with dynamic variables.</p>\n<h3 id=\"request-body\">Request body</h3>\n<p>JSON structure:</p>\n<ul>\n<li><p><code>target</code> (string, required): Recipient phone number, including country code.</p>\n</li>\n<li><p><code>templateName</code> (string, required): Name of the WhatsApp template configured with variables.</p>\n</li>\n<li><p><code>languageCode</code> (string, required): Language/locale code for the template (for example, <code>es</code>, <code>en_US</code>).</p>\n</li>\n<li><p><code>flow</code> (string, required): Static flow identifier provided by Zubale.</p>\n</li>\n<li><p><code>payload</code> (object, required): Contains the variable values to be injected into the template.</p>\n<ul>\n<li><code>body</code> (array, required): List of template components.<ul>\n<li>Each item has a <code>type</code> (for example, <code>header</code>, <code>body</code>) and <code>parameters</code>.<ul>\n<li><p>For <code>header</code> with images: <code>parameters[].image.link</code> is the URL of the image to show.</p>\n</li>\n<li><p>For <code>body</code> with text variables: <code>parameters[].text</code> contains the value for each template placeholder in order.</p>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n<li><p><code>metadata</code> (object, required): Additional routing information.</p>\n<ul>\n<li><code>node</code> (string, required): Static node identifier provided by Zubale.</li>\n</ul>\n</li>\n</ul>\n","urlObject":{"path":["hermes","integrations","{{iINTEGRATION_NAME}}","conversations","messages"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"bdc3aadb-6e9c-400b-82e1-bda0c7e28f8d","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"target\": \"+573015692996\",\n    \"templateName\": \"example_template_with_variables\",\n    \"languageCode\": \"es\",\n    \"flow\": \"promotions_purchase\",\n    \"payload\": {\n        \"body\": [\n            {\n                \"type\": \"header\",\n                \"parameters\": [\n                    {\n                        \"type\": \"image\",\n                        \"image\": {\n                            \"link\": \"https://www.zubale.com/wp-content/uploads/2023/12/logo-zubale.png\"\n                        }\n                    }\n                ]\n            },\n            {\n                \"type\": \"body\",\n                \"parameters\": [\n                    {\n                        \"type\": \"text\",\n                        \"text\": \"Dani\"\n                    },\n                    {\n                        \"type\": \"text\",\n                        \"text\": \"productos\"\n                    }\n                ]\n            }\n        ]\n    },\n    \"metadata\": {\n        \"node\": \"start-single-product\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/hermes/integrations/{{iINTEGRATION_NAME}}/conversations/messages"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"195"},{"key":"Connection","value":"keep-alive"},{"key":"cache-control","value":"max-age=0, private, must-revalidate"},{"key":"date","value":"Tue, 23 Dec 2025 17:21:55 GMT"},{"key":"ot-tracer-traceid","value":"43081a05047068206103df7693722482"},{"key":"server","value":"Cowboy"},{"key":"x-request-id","value":"GIPn9DuO7Jfn6noAAYCB"},{"key":"X-Kong-Upstream-Latency","value":"1349"},{"key":"X-Kong-Proxy-Latency","value":"1"},{"key":"Via","value":"kong/2.7.2"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"0538c6f9-6a6d-48dc-a6cf-5b9cc47ea860\",\n    \"success\": true,\n    \"message_id\": \"wamid.HBgMNTczMDE1NjkyOTk2FQIAERgSMThBNTI4NTE5NTZENDZBNzA0AA==\",\n    \"conversation_id\": \"31a825a7-9840-4729-9545-49bb0bc45d8e\"\n}"},{"id":"b3749c5f-b6d3-45da-b557-dc2fd08a4b70","name":"400 Bad Request with invalid parameters","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"target\": \"+573015692996\",\n    \"templateName\": \"example_template_with_variables\",\n    \"languageCode\": \"es\",\n    \"flow\": \"promotions_purchase\",\n    \"payload\": {\n        \"body\": [\n            {\n                \"type\": \"header\",\n                \"parameters\": [\n                    {\n                        \"type\": \"image\",\n                        \"image\": {\n                            \"link\": \"https://www.zubale.com/wp-content/uploads/2023/12/logo-zubale.png\"\n                        }\n                    }\n                ]\n            },\n            {\n                \"type\": \"body\",\n                \"parameters\": [\n                    {\n                        \"type\": \"text\",\n                        \"text\": \"productos\"\n                    }\n                ]\n            }\n        ]\n    },\n    \"metadata\": {\n        \"node\": \"start-single-product\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/hermes/integrations/{{iINTEGRATION_NAME}}/conversations/messages"},"status":"Bad Request","code":400,"_postman_previewlanguage":"Text","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"118"},{"key":"Connection","value":"keep-alive"},{"key":"cache-control","value":"max-age=0, private, must-revalidate"},{"key":"date","value":"Tue, 23 Dec 2025 17:23:00 GMT"},{"key":"ot-tracer-traceid","value":"c46f5309a541c4964055e0af0a3f2dd7"},{"key":"server","value":"Cowboy"},{"key":"x-request-id","value":"GIPoA5ZJeCwNFBoAAYSB"},{"key":"X-Kong-Upstream-Latency","value":"241"},{"key":"X-Kong-Proxy-Latency","value":"0"},{"key":"Via","value":"kong/2.7.2"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 132000,\n    \"reason\": \"(#132000) Number of parameters does not match the expected number of params\",\n    \"success\": false\n}"},{"id":"57cdca48-04e7-40fc-b75d-f737175125c4","name":"401 Unauthorized","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"target\": \"+573015692996\",\n    \"templateName\": \"example_template_with_variables\",\n    \"languageCode\": \"es\",\n    \"flow\": \"promotions_purchase\",\n    \"payload\": {\n        \"body\": [\n            {\n                \"type\": \"header\",\n                \"parameters\": [\n                    {\n                        \"type\": \"image\",\n                        \"image\": {\n                            \"link\": \"https://www.zubale.com/wp-content/uploads/2023/12/logo-zubale.png\"\n                        }\n                    }\n                ]\n            },\n            {\n                \"type\": \"body\",\n                \"parameters\": [\n                    {\n                        \"type\": \"text\",\n                        \"text\": \"Dani\"\n                    },\n                    {\n                        \"type\": \"text\",\n                        \"text\": \"productos\"\n                    }\n                ]\n            }\n        ]\n    },\n    \"metadata\": {\n        \"node\": \"start-single-product\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/hermes/integrations/{{iINTEGRATION_NAME}}/conversations/messages"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"Text","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"26"},{"key":"Connection","value":"keep-alive"},{"key":"cache-control","value":"max-age=0, private, must-revalidate"},{"key":"date","value":"Tue, 23 Dec 2025 17:24:08 GMT"},{"key":"ot-tracer-traceid","value":"d66768cf517afb3ba6591988213b7aee"},{"key":"server","value":"Cowboy"},{"key":"x-request-id","value":"GIPoE1_vQwxGsYoAAYVB"},{"key":"X-Kong-Upstream-Latency","value":"5"},{"key":"X-Kong-Proxy-Latency","value":"1"},{"key":"Via","value":"kong/2.7.2"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"}],"_postman_id":"02e60319-95ea-48da-8565-ec69b0e97c6c"},{"name":"Single product campaign","id":"a31e2888-581b-4932-b4e9-80c36fec38f5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{JWT_TOKEN}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"target\": \"+57301000000\",\n    \"templateName\": \"example_single_product_template\",\n    \"languageCode\": \"es\",\n    \"flow\": \"promotions_purchase\",\n    \"payload\": {\n        \"body\": [\n            {\n                \"type\": \"header\",\n                \"parameters\": [\n                    {\n                        \"type\": \"image\",\n                        \"image\": {\n                            \"link\": \"https://www.zubale.com/wp-content/uploads/2023/12/logo-zubale.png\"\n                        }\n                    }\n                ]\n            },\n            {\n                \"type\": \"body\",\n                \"parameters\": [\n                    {\n                        \"type\": \"text\",\n                        \"text\": \"Pasteles de chocolate\"\n                    },\n                    {\n                        \"type\": \"text\",\n                        \"text\": \"20.000\"\n                    }\n                ]\n            }\n        ]\n    },\n    \"metadata\": {\n        \"node\": \"start-single-product\",\n        \"promotionCode\": \"cod25\",\n        \"productName\": \"Pasteles de chocolate\",\n        \"productCode\": \"1054_EDS3146\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/hermes/integrations/{{iINTEGRATION_NAME}}/conversations/messages","description":"<p>Send a single product campaign catalog message.</p>\n<p>Required headers:</p>\n<ul>\n<li><p>Content-Type: application/json</p>\n</li>\n<li><p>Authorization: Bearer {{jwtToken}}</p>\n</li>\n</ul>\n<p>Use to promote one specific product with rich media.</p>\n<h3 id=\"request-body\">Request body</h3>\n<p>JSON structure:</p>\n<ul>\n<li><p><code>target</code> (string, required): Recipient phone number, including country code.</p>\n</li>\n<li><p><code>templateName</code> (string, required): Name of the WhatsApp campaign/template for a single product.</p>\n</li>\n<li><p><code>languageCode</code> (string, required): Language/locale code for the template (for example, <code>es</code>, <code>en_US</code>).</p>\n</li>\n<li><p><code>flow</code> (string, required): Static flow identifier provided by Zubale.</p>\n</li>\n<li><p><code>payload</code> (object, required): Template variables for the message.</p>\n<ul>\n<li><code>body</code> (array, required): Template components.<ul>\n<li><p><code>header</code> component: <code>parameters[].image.link</code> is the image URL for the product or brand.</p>\n</li>\n<li><p><code>body</code> component: <code>parameters[].text</code> are text variables such as product name, price, or description.</p>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n<li><p><code>metadata</code> (object, required): Campaign and routing metadata.</p>\n<ul>\n<li><p><code>node</code> (string, required): Static node identifier provided by Zubale.</p>\n</li>\n<li><p><code>promotionCode</code> (string, optional): Code associated with the promotion/campaign.</p>\n</li>\n<li><p><code>productName</code> (string, optional): Human-readable product name.</p>\n</li>\n<li><p><code>productCode</code> (string, optional): Internal or retailer product identifier used by your catalog.</p>\n</li>\n</ul>\n</li>\n</ul>\n","urlObject":{"path":["hermes","integrations","{{iINTEGRATION_NAME}}","conversations","messages"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"62bfc184-e260-42b5-84bb-55eb294d6d3d","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE3NjYxMTI4ODksInN1YiI6ImxldHkifQ.FQ6vMaBXddjOkgu41diFEzxzbNNCHwz8nzq4sQrRkZg","disabled":true}],"body":{"mode":"raw","raw":"{\n    \"target\": \"+573015692996\",\n    \"templateName\": \"example_single_product_template\",\n    \"languageCode\": \"es\",\n    \"flow\": \"promotions_purchase\",\n    \"payload\": {\n        \"body\": [\n            {\n                \"type\": \"header\",\n                \"parameters\": [\n                    {\n                        \"type\": \"image\",\n                        \"image\": {\n                            \"link\": \"https://www.zubale.com/wp-content/uploads/2023/12/logo-zubale.png\"\n                        }\n                    }\n                ]\n            },\n            {\n                \"type\": \"body\",\n                \"parameters\": [\n                    {\n                        \"type\": \"text\",\n                        \"text\": \"Pasteles de chocolate\"\n                    },\n                    {\n                        \"type\": \"text\",\n                        \"text\": \"20.000\"\n                    }\n                ]\n            }\n        ]\n    },\n    \"metadata\": {\n        \"node\": \"start-single-product\",\n        \"promotionCode\": \"cod25\",\n        \"productName\": \"Pasteles de chocolate\",\n        \"productCode\": \"1054_EDS3146\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/hermes/integrations/{{iINTEGRATION_NAME}}/conversations/messages"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"195"},{"key":"Connection","value":"keep-alive"},{"key":"cache-control","value":"max-age=0, private, must-revalidate"},{"key":"date","value":"Tue, 23 Dec 2025 17:26:49 GMT"},{"key":"ot-tracer-traceid","value":"3d3e4c43f4f73671bd571899f4c4f63f"},{"key":"server","value":"Cowboy"},{"key":"x-request-id","value":"GIPoOLPpcS64c1MAAY4B"},{"key":"X-Kong-Upstream-Latency","value":"961"},{"key":"X-Kong-Proxy-Latency","value":"0"},{"key":"Via","value":"kong/2.7.2"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"4ccc2773-7a0d-4f84-aea6-28dea07b99db\",\n    \"success\": true,\n    \"message_id\": \"wamid.HBgMNTczMDE1NjkyOTk2FQIAERgSQTdFNUJBRTA0QkE5M0ZERDFDAA==\",\n    \"conversation_id\": \"b6ad0e9e-c085-4311-acf8-d6ceb4e05aa4\"\n}"},{"id":"5db87c38-2bf0-41eb-b659-f1d8b9db3c52","name":"401 Unauthorized","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE3NjYxMTI4ODksInN1YiI6ImxldHkifQ.FQ6vMaBXddjOkgu41diFEzxzbNNCHwz8nzq4sQrRkZg","disabled":true}],"body":{"mode":"raw","raw":"{\n    \"target\": \"+573015692996\",\n    \"templateName\": \"example_single_product_template\",\n    \"languageCode\": \"es\",\n    \"flow\": \"promotions_purchase\",\n    \"payload\": {\n        \"body\": [\n            {\n                \"type\": \"header\",\n                \"parameters\": [\n                    {\n                        \"type\": \"image\",\n                        \"image\": {\n                            \"link\": \"https://www.zubale.com/wp-content/uploads/2023/12/logo-zubale.png\"\n                        }\n                    }\n                ]\n            },\n            {\n                \"type\": \"body\",\n                \"parameters\": [\n                    {\n                        \"type\": \"text\",\n                        \"text\": \"Pasteles de chocolate\"\n                    },\n                    {\n                        \"type\": \"text\",\n                        \"text\": \"20.000\"\n                    }\n                ]\n            }\n        ]\n    },\n    \"metadata\": {\n        \"node\": \"start-single-product\",\n        \"promotionCode\": \"cod25\",\n        \"productName\": \"Pasteles de chocolate\",\n        \"productCode\": \"1054_EDS3146\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/hermes/integrations/{{iINTEGRATION_NAME}}/conversations/messages"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"Text","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"26"},{"key":"Connection","value":"keep-alive"},{"key":"cache-control","value":"max-age=0, private, must-revalidate"},{"key":"date","value":"Tue, 23 Dec 2025 17:27:01 GMT"},{"key":"ot-tracer-traceid","value":"aa6c76effa8e137b914abfab4bfcd194"},{"key":"server","value":"Cowboy"},{"key":"x-request-id","value":"GIPoO7_cjDq1lMcAAZIB"},{"key":"X-Kong-Upstream-Latency","value":"3"},{"key":"X-Kong-Proxy-Latency","value":"1"},{"key":"Via","value":"kong/2.7.2"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"},{"id":"b9cb7a1e-d0ff-42c0-8a34-600f9da2ef8b","name":"400 Bad Request","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE3NjYxMTI4ODksInN1YiI6ImxldHkifQ.FQ6vMaBXddjOkgu41diFEzxzbNNCHwz8nzq4sQrRkZg","disabled":true}],"body":{"mode":"raw","raw":"{\n    \"target\": \"+573015692996\",\n    \"templateName\": \"example_single_product_template\",\n    \"languageCode\": \"es\",\n    \"flow\": \"promotions_purchase\",\n    \"payload\": {\n        \"body\": [\n            {\n                \"type\": \"header\",\n                \"parameters\": [\n                    {\n                        \"type\": \"image\",\n                        \"image\": {}\n                    }\n                ]\n            },\n            {\n                \"type\": \"body\",\n                \"parameters\": [\n                    {\n                        \"type\": \"text\",\n                        \"text\": \"Pasteles de chocolate\"\n                    },\n                    {\n                        \"type\": \"text\",\n                        \"text\": \"20.000\"\n                    }\n                ]\n            }\n        ]\n    },\n    \"metadata\": {\n        \"node\": \"start-single-product\",\n        \"promotionCode\": \"cod25\",\n        \"productName\": \"Pasteles de chocolate\",\n        \"productCode\": \"1054_EDS3146\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/hermes/integrations/{{iINTEGRATION_NAME}}/conversations/messages"},"status":"Bad Request","code":400,"_postman_previewlanguage":"Text","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"64"},{"key":"Connection","value":"keep-alive"},{"key":"cache-control","value":"max-age=0, private, must-revalidate"},{"key":"date","value":"Tue, 23 Dec 2025 17:28:06 GMT"},{"key":"ot-tracer-traceid","value":"5b9b87bc27af54a55a2c6709324b41ad"},{"key":"server","value":"Cowboy"},{"key":"x-request-id","value":"GIPoSrASbkXz_gsAAZKh"},{"key":"X-Kong-Upstream-Latency","value":"297"},{"key":"X-Kong-Proxy-Latency","value":"1"},{"key":"Via","value":"kong/2.7.2"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 100,\n    \"reason\": \"(#100) Invalid parameter\",\n    \"success\": false\n}"}],"_postman_id":"a31e2888-581b-4932-b4e9-80c36fec38f5"},{"name":"Multiple product campaign - Catalog","id":"06db00da-8353-4cd0-b004-c8a640a0bab4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{JWT_TOKEN}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"target\": \"+57301000000\",\n    \"templateName\": \"example_multiple_products_template\",\n    \"languageCode\": \"es\",\n    \"flow\": \"promotions_purchase\",\n    \"payload\": {\n        \"body\": [\n            {\n                \"type\": \"body\",\n                \"parameters\": [\n                    {\n                        \"type\": \"text\",\n                        \"text\": \"30%\"\n                    }\n                ]\n            },\n            {\n                \"type\": \"button\",\n                \"sub_type\": \"mpm\",\n                \"index\": 0,\n                \"parameters\": [\n                    {\n                        \"type\": \"action\",\n                        \"action\": {\n                            \"sections\": [\n                                {\n                                    \"title\": \"Productos encontrados\",\n                                    \"product_items\": [\n                                        {\n                                            \"product_retailer_id\": \"22222\"\n                                        },\n                                        {\n                                            \"product_retailer_id\": \"CVC\"\n                                        },\n                                        {\n                                            \"product_retailer_id\": \" 33333\"\n                                        }\n                                    ]\n                                }\n                            ]\n                        }\n                    }\n                ]\n            }\n        ]\n    },\n    \"metadata\": {\n        \"node\": \"star-flow\",\n        \"promotionCode\": \"PROMOTION000\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/hermes/integrations/{{iINTEGRATION_NAME}}/conversations/messages","description":"<p>Send multiple product items as a WhatsApp catalog campaign message.</p>\n<p>Required headers:</p>\n<ul>\n<li><p>Content-Type: application/json</p>\n</li>\n<li><p>Authorization: Bearer {{jwtToken}}</p>\n</li>\n</ul>\n<p>Use to showcase multiple products in a single outbound campaign.</p>\n<h3 id=\"request-body\">Request body</h3>\n<p>JSON structure:</p>\n<ul>\n<li><p><code>target</code> (string, required): Recipient phone number, including country code.</p>\n</li>\n<li><p><code>templateName</code> (string, required): Name of the WhatsApp campaign/template for multiple products.</p>\n</li>\n<li><p><code>languageCode</code> (string, required): Language/locale code for the template (for example, <code>es</code>, <code>en_US</code>).</p>\n</li>\n<li><p><code>flow</code> (string, required): Static flow identifier provided by Zubale.</p>\n</li>\n<li><p><code>payload</code> (object, required): Template variables and catalog configuration.</p>\n<ul>\n<li><code>body</code> (array, required): Template components for the message body and CTA button.<ul>\n<li><p>Discount text component: <code>parameters[].text</code> contains values such as discount percentage.</p>\n</li>\n<li><p>Catalog button component (<code>type: button</code>, <code>sub_type: mpm</code>):</p>\n<ul>\n<li><p><code>parameters[].action.sections[].title</code> is the section title shown in the catalog.</p>\n</li>\n<li><p><code>product_items[]</code> is an array of catalog product entries.</p>\n<ul>\n<li>Each item has <code>product_retailer_id</code> (string, required): Identifier of the product in your catalog.</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n<li><p><code>metadata</code> (object, required): Campaign and routing metadata.</p>\n<ul>\n<li><p><code>node</code> (string, required): Static node identifier provided by Zubale.</p>\n</li>\n<li><p><code>promotionCode</code> (string, optional): Code associated with the promotion/campaign.</p>\n</li>\n</ul>\n</li>\n</ul>\n","urlObject":{"path":["hermes","integrations","{{iINTEGRATION_NAME}}","conversations","messages"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"e895ae86-b89c-4274-8908-626590fa197d","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE3NjYxMTI4ODksInN1YiI6ImxldHkifQ.FQ6vMaBXddjOkgu41diFEzxzbNNCHwz8nzq4sQrRkZg"}],"body":{"mode":"raw","raw":"{\n    \"target\": \"+573015692996\",\n    \"templateName\": \"example_multiple_products_template\",\n    \"languageCode\": \"es\",\n    \"flow\": \"promotions_purchase\",\n    \"payload\": {\n        \"body\": [\n            {\n                \"type\": \"body\",\n                \"parameters\": [\n                    {\n                        \"type\": \"text\",\n                        \"text\": \"30%\"\n                    }\n                ]\n            },\n            {\n                \"type\": \"button\",\n                \"sub_type\": \"mpm\",\n                \"index\": 0,\n                \"parameters\": [\n                    {\n                        \"type\": \"action\",\n                        \"action\": {\n                            \"sections\": [\n                                {\n                                    \"title\": \"Productos encontrados\",\n                                    \"product_items\": [\n                                        {\n                                            \"product_retailer_id\": \" 1054_EDS3146\"\n                                        },\n                                        {\n                                            \"product_retailer_id\": \" 1257_EDS3259\"\n                                        },\n                                        {\n                                            \"product_retailer_id\": \" 1367_EDS3218\"\n                                        }\n                                    ]\n                                }\n                            ]\n                        }\n                    }\n                ]\n            }\n        ]\n    },\n    \"metadata\": {\n        \"node\": \"star-flow\",\n        \"promotionCode\": \"PROMOTION000\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/hermes/integrations/{{iINTEGRATION_NAME}}/conversations/messages"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"195"},{"key":"Connection","value":"keep-alive"},{"key":"cache-control","value":"max-age=0, private, must-revalidate"},{"key":"date","value":"Tue, 23 Dec 2025 17:30:08 GMT"},{"key":"ot-tracer-traceid","value":"b98907e2811c49ee8c2ffd3af385aaa1"},{"key":"server","value":"Cowboy"},{"key":"x-request-id","value":"GIPoZqHGua_xXr0AAZlB"},{"key":"X-Kong-Upstream-Latency","value":"2375"},{"key":"X-Kong-Proxy-Latency","value":"1"},{"key":"Via","value":"kong/2.7.2"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"ddbbc64c-1b72-4fb3-9f54-4a7677a3128d\",\n    \"success\": true,\n    \"message_id\": \"wamid.HBgMNTczMDE1NjkyOTk2FQIAERgSNjFFOTAyMkY0QTgwRTQzQzZFAA==\",\n    \"conversation_id\": \"b0ad067f-08d6-418a-a1f8-6ea0bc88f5b7\"\n}"},{"id":"4ce3aa5b-f79f-4d36-9ee1-7e35f5382c59","name":"401 Unauthorized","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"target\": \"+573015692996\",\n    \"templateName\": \"example_multiple_products_template\",\n    \"languageCode\": \"es\",\n    \"flow\": \"promotions_purchase\",\n    \"payload\": {\n        \"body\": [\n            {\n                \"type\": \"body\",\n                \"parameters\": [\n                    {\n                        \"type\": \"text\",\n                        \"text\": \"30%\"\n                    }\n                ]\n            },\n            {\n                \"type\": \"button\",\n                \"sub_type\": \"mpm\",\n                \"index\": 0,\n                \"parameters\": [\n                    {\n                        \"type\": \"action\",\n                        \"action\": {\n                            \"sections\": [\n                                {\n                                    \"title\": \"Productos encontrados\",\n                                    \"product_items\": [\n                                        {\n                                            \"product_retailer_id\": \" 1054_EDS3146\"\n                                        },\n                                        {\n                                            \"product_retailer_id\": \" 1257_EDS3259\"\n                                        },\n                                        {\n                                            \"product_retailer_id\": \" 1367_EDS3218\"\n                                        }\n                                    ]\n                                }\n                            ]\n                        }\n                    }\n                ]\n            }\n        ]\n    },\n    \"metadata\": {\n        \"node\": \"star-flow\",\n        \"promotionCode\": \"PROMOTION000\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/hermes/integrations/{{iINTEGRATION_NAME}}/conversations/messages"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"Text","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"26"},{"key":"Connection","value":"keep-alive"},{"key":"cache-control","value":"max-age=0, private, must-revalidate"},{"key":"date","value":"Tue, 23 Dec 2025 17:31:19 GMT"},{"key":"ot-tracer-traceid","value":"8d82a945b1ff01fca10353f93ba91c9e"},{"key":"server","value":"Cowboy"},{"key":"x-request-id","value":"GIPod9SXO_szAvsAAZ3h"},{"key":"X-Kong-Upstream-Latency","value":"4"},{"key":"X-Kong-Proxy-Latency","value":"1"},{"key":"Via","value":"kong/2.7.2"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"},{"id":"a0da5e3c-2ed2-4522-9d04-cbd017655fb1","name":"400 Bad Request without product items","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"target\": \"+573015692996\",\n    \"templateName\": \"example_multiple_products_template\",\n    \"languageCode\": \"es\",\n    \"flow\": \"promotions_purchase\",\n    \"payload\": {\n        \"body\": [\n            {\n                \"type\": \"body\",\n                \"parameters\": [\n                    {\n                        \"type\": \"text\",\n                        \"text\": \"30%\"\n                    }\n                ]\n            },\n            {\n                \"type\": \"button\",\n                \"sub_type\": \"mpm\",\n                \"index\": 0,\n                \"parameters\": [\n                    {\n                        \"type\": \"action\",\n                        \"action\": {\n                            \"sections\": [\n                                {\n                                    \"title\": \"Productos encontrados\",\n                                    \"product_items\": [\n                                       \n                                    ]\n                                }\n                            ]\n                        }\n                    }\n                ]\n            }\n        ]\n    },\n    \"metadata\": {\n        \"node\": \"star-flow\",\n        \"promotionCode\": \"PROMOTION000\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/hermes/integrations/{{iINTEGRATION_NAME}}/conversations/messages"},"status":"Bad Request","code":400,"_postman_previewlanguage":"Text","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"158"},{"key":"Connection","value":"keep-alive"},{"key":"cache-control","value":"max-age=0, private, must-revalidate"},{"key":"date","value":"Tue, 23 Dec 2025 17:31:50 GMT"},{"key":"ot-tracer-traceid","value":"22b7c4c40f805f3f579671d03b7976b8"},{"key":"server","value":"Cowboy"},{"key":"x-request-id","value":"GIPofu_SH7PT0TMAAaIh"},{"key":"X-Kong-Upstream-Latency","value":"347"},{"key":"X-Kong-Proxy-Latency","value":"1"},{"key":"Via","value":"kong/2.7.2"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 100,\n    \"reason\": \"(#100) The parameter template['components'][1]['parameters'][0]['action']['sections'][0]['product_items'] is required.\",\n    \"success\": false\n}"},{"id":"30d14534-5de7-49f3-9bf9-4e172be308b3","name":"400 Bad Request  with invalid product items","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"target\": \"+573015692996\",\n    \"templateName\": \"example_multiple_products_template\",\n    \"languageCode\": \"es\",\n    \"flow\": \"promotions_purchase\",\n    \"payload\": {\n        \"body\": [\n            {\n                \"type\": \"body\",\n                \"parameters\": [\n                    {\n                        \"type\": \"text\",\n                        \"text\": \"30%\"\n                    }\n                ]\n            },\n            {\n                \"type\": \"button\",\n                \"sub_type\": \"mpm\",\n                \"index\": 0,\n                \"parameters\": [\n                    {\n                        \"type\": \"action\",\n                        \"action\": {\n                            \"sections\": [\n                                {\n                                    \"title\": \"Productos encontrados\",\n                                    \"product_items\": [\n                                        {\n                                            \"product_retailer_id\": \"22222\"\n                                        },\n                                        {\n                                            \"product_retailer_id\": \"CVC\"\n                                        },\n                                        {\n                                            \"product_retailer_id\": \" 33333\"\n                                        }\n                                    ]\n                                }\n                            ]\n                        }\n                    }\n                ]\n            }\n        ]\n    },\n    \"metadata\": {\n        \"node\": \"star-flow\",\n        \"promotionCode\": \"PROMOTION000\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/hermes/integrations/{{iINTEGRATION_NAME}}/conversations/messages"},"status":"Bad Request","code":400,"_postman_previewlanguage":"Text","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"81"},{"key":"Connection","value":"keep-alive"},{"key":"cache-control","value":"max-age=0, private, must-revalidate"},{"key":"date","value":"Tue, 23 Dec 2025 17:33:14 GMT"},{"key":"ot-tracer-traceid","value":"a2789a96db10b7b6425bf8ac79d224c6"},{"key":"server","value":"Cowboy"},{"key":"x-request-id","value":"GIPokliMDylZEvoAAaOh"},{"key":"X-Kong-Upstream-Latency","value":"542"},{"key":"X-Kong-Proxy-Latency","value":"1"},{"key":"Via","value":"kong/2.7.2"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 131009,\n    \"reason\": \"(#131009) Parameter value is not valid\",\n    \"success\": false\n}"}],"_postman_id":"06db00da-8353-4cd0-b004-c8a640a0bab4"}],"id":"348dbcb0-1e58-4337-b8c9-2b14333fd049","_postman_id":"348dbcb0-1e58-4337-b8c9-2b14333fd049","description":""},{"name":"Webhook: Payload Structure for Order Notification","item":[{"name":"Webhook Configuration","id":"5014ad9c-6135-4c15-a49d-8135e576d74e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[{"description":"<p>Required</p>\n","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/webhook","description":"<p>Configuration for setting up the webhook. The client should point their webhook to the provided URL with the appropriate method and headers.</p>\n","urlObject":{"path":["webhook"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"5014ad9c-6135-4c15-a49d-8135e576d74e"},{"name":"Example Payload","id":"82aa0175-da6a-4e3c-aae7-a2617cf2508d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"id\": \"c5c35334-b909-4ddd-a7a9-1245cf0947e7\",\n  \"status\": \"pending\",\n  \"items\": [\n    {\n      \"currency\": \"USD\",\n      \"item_category\": null,\n      \"item_id\": \"sku_replace_1\",\n      \"item_name\": null,\n      \"item_price\": 30.02,\n      \"quantity\": 1000\n    },\n    {\n      \"currency\": \"USD\",\n      \"item_category\": null,\n      \"item_id\": \"sku_change_1\",\n      \"item_name\": null,\n      \"item_price\": 1000.61,\n      \"quantity\": 9\n    }\n  ],\n  \"purchase_amount\": \"39025.49\",\n  \"delivery_date\": \"2024-07-31T00:00:00\",\n  \"created_at\": \"2024-07-30T23:46:17\",\n  \"status_detail\": null,\n  \"total_products\": 1009,\n  \"total_purchase_amount\": \"43024.49\",\n  \"payment_method\": null,\n  \"delivery_fee\": \"3999.00\",\n  \"discount\": null,\n  \"drop_off_location\": {\n    \"complement\": \"3rd floor, door 3A\",\n    \"formatted_address\": \"Av. Corrientes 1234, CABA, Argentina\",\n    \"latitude\": 0.0,\n    \"longitude\": 0.0\n  },\n  \"origin_location\": {\n    \"name\": \"...\",\n    \"region\": \"...\",\n    \"type\": \":coverate_typ\"\n  },\n  \"customer\": {\n    \"name\": null,\n    \"email\": null,\n    \"contact_info\": \"Ana lucia otoya, al.otoya@gmail.com , 3176368548, 1143858897\",\n    \"last_name\": null,\n    \"phone_number\": \"+50230905700\"\n  }\n}"},"url":"{{BASE_URL}}/","description":"<p>This is an example of the payload that will be received by the webhook.</p>\n","urlObject":{"path":[""],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"82aa0175-da6a-4e3c-aae7-a2617cf2508d"}],"id":"51cda0e2-ceee-4696-bf04-d55be4e76b4a","_postman_id":"51cda0e2-ceee-4696-bf04-d55be4e76b4a","description":""},{"name":"Consumer Connect","item":[{"name":"API Documentation for External Notification Handler","item":[{"name":"Send Event","id":"aab4122c-a501-4698-93bf-2db35b5d804e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"retailer\": \"development\",\n  \"supplier\": {\n    \"identifier\": \"22\",\n    \"name\": \"supply\"\n  },\n  \"event\": \"order_created\",\n  \"target\": \"+50241512151\",\n  \"orderReference\": \"v10000-23\",\n  \"countryCode\": \"MX\",\n  \"brandIdentifier\": \"123\",\n  \"storeIdentifier\": \"456\",\n  \"data\": {\n    \"customerName\": \"Wesley López\",\n    \"deliveryDate\": \"2025-02-15\",\n    \"slotStart\": \"13:00\",\n    \"slotEnd\": \"15:00\",\n    \"brandName\": \"Zubale\",\n    \"plateNumber\": \"P123ABC\",\n    \"shopperName\": \"Juan Perez\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"{{BASE_URL}}/external-notification-handler/api/v1/events","description":"<h3 id=\"send-event\">Send Event</h3>\n<p>This endpoint allows clients to notify their consumers via WhatsApp about order status updates.</p>\n<h3 id=\"allowed-events\">Allowed Events</h3>\n<p>The following values are allowed for the <code>event</code> field:</p>\n<ul>\n<li><p><code>order_created</code></p>\n</li>\n<li><p><code>picking_started</code></p>\n</li>\n<li><p><code>picked_out</code></p>\n</li>\n<li><p><code>enroute_to_dropoff</code></p>\n</li>\n<li><p><code>at_dropoff</code></p>\n</li>\n<li><p><code>delivered</code></p>\n</li>\n</ul>\n<p>If you require additional custom events, please contact us to discuss adding them to the system.</p>\n<p><strong>Note:</strong> The required parameters may vary depending on the event type. Each event corresponds to specific message templates and required parameters. Ensure that the request includes the necessary fields for the intended notification.</p>\n<h3 id=\"field-details\">Field Details</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Data Type</th>\n<th>Mandatory</th>\n<th>Description</th>\n<th>Format</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>event</td>\n<td>String</td>\n<td>Yes</td>\n<td>Type of event (e.g., <code>order_created</code>).</td>\n<td>Text</td>\n</tr>\n<tr>\n<td>retailer</td>\n<td>String</td>\n<td>Yes</td>\n<td>Retailer identifier.</td>\n<td>Text</td>\n</tr>\n<tr>\n<td>target</td>\n<td>String</td>\n<td>Yes</td>\n<td>Target contact (e.g., phone number).</td>\n<td>E.164 format</td>\n</tr>\n<tr>\n<td>orderReference</td>\n<td>String</td>\n<td>Yes</td>\n<td>Unique order reference.</td>\n<td>Alphanumeric</td>\n</tr>\n<tr>\n<td>data</td>\n<td>Object</td>\n<td>Yes</td>\n<td>Additional order details.</td>\n<td>JSON Object</td>\n</tr>\n<tr>\n<td>supplier.identifier</td>\n<td>String</td>\n<td>No</td>\n<td>Supplier unique identifier.</td>\n<td>Text</td>\n</tr>\n<tr>\n<td>supplier.name</td>\n<td>String</td>\n<td>No</td>\n<td>Supplier name.</td>\n<td>Text</td>\n</tr>\n<tr>\n<td>countryCode</td>\n<td>String</td>\n<td>No</td>\n<td>Country code of the order.</td>\n<td>ISO 3166-1 Alpha-2</td>\n</tr>\n<tr>\n<td>brandIdentifier</td>\n<td>String</td>\n<td>No</td>\n<td>Identifier of the brand.</td>\n<td>Alphanumeric</td>\n</tr>\n<tr>\n<td>storeIdentifier</td>\n<td>String</td>\n<td>No</td>\n<td>Identifier of the store.</td>\n<td>Alphanumeric</td>\n</tr>\n<tr>\n<td>data.customerName</td>\n<td>String</td>\n<td>No</td>\n<td>Name of the customer.</td>\n<td>Text</td>\n</tr>\n<tr>\n<td>data.deliveryDate</td>\n<td>String</td>\n<td>No</td>\n<td>Scheduled delivery date.</td>\n<td>YYYY-MM-DD</td>\n</tr>\n<tr>\n<td>data.slotStart</td>\n<td>String</td>\n<td>No</td>\n<td>Start time of the delivery slot.</td>\n<td>HH:MM</td>\n</tr>\n<tr>\n<td>data.slotEnd</td>\n<td>String</td>\n<td>No</td>\n<td>End time of the delivery slot.</td>\n<td>HH:MM</td>\n</tr>\n<tr>\n<td>data.shopperName</td>\n<td>String</td>\n<td>No</td>\n<td>Name of the shopper.</td>\n<td>Text</td>\n</tr>\n<tr>\n<td>data.plateNumber</td>\n<td>String</td>\n<td>No</td>\n<td>Vehicle plate number.</td>\n<td>Alphanumeric</td>\n</tr>\n<tr>\n<td>data.brandName</td>\n<td>String</td>\n<td>No</td>\n<td>Name of the brand.</td>\n<td>Text</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"required-fields\">Required Fields</h3>\n<ul>\n<li><p><code>event</code>: Type of event (e.g., <code>order_created</code>).</p>\n</li>\n<li><p><code>retailer</code>: Retailer identifier.</p>\n</li>\n<li><p><code>target</code>: Target contact (e.g., phone number).</p>\n</li>\n<li><p><code>orderReference</code>: Unique order reference.</p>\n</li>\n<li><p><code>data</code>: Additional order details.</p>\n</li>\n</ul>\n","urlObject":{"path":["external-notification-handler","api","v1","events"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"fe4f0619-5a6d-4332-b209-66adba902e39","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"retailer\": \"Retailer123\",\n  \"supplier\": {\n    \"identifier\": \"Sup123\",\n    \"name\": \"Supplier Name\"\n  },\n  \"event\": \"order_created\",\n  \"target\": \"+520000000000\",\n  \"orderReference\": \"v10000-23\",\n  \"countryCode\": \"MX\",\n  \"brandIdentifier\": \"123\",\n  \"storeIdentifier\": \"456\",\n  \"data\": {\n    \"customerName\": \"Pedro López\",\n    \"deliveryDate\": \"2024-11-30\",\n    \"slotStart\": \"13:00\",\n    \"slotEnd\": \"15:00\",\n    \"brandName\": \"Name\",\n    \"plateNumber\": \"P0001\",\n    \"shopperName\": \"Juan Pérez\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"{{BASE_URL}}/external-notification-handler/api/v1/events"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"uuid\": \"259bae3a-8416-465b-a032-c95912d4f39c\",\n    \"order_reference\": \"v10000-23\"\n  },\n  \"message\": \"Request successfully accepted\"\n}"},{"id":"b7e04708-f39d-491a-aeae-ef63b287509f","name":"Unprocessable Entity (422)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"retailer\": \"Retailer123\",\n  \"supplier\": {\n    \"identifier\": \"Sup123\",\n    \"name\": \"Supplier Name\"\n  },\n  \"event\": \"order_created\",\n  \"target\": \"+520000000000\",\n  \"orderReference\": \"v10000-23\",\n  \"countryCode\": \"MX\",\n  \"brandIdentifier\": \"123\",\n  \"storeIdentifier\": \"456\",\n  \"data\": {\n    \"customerName\": \"Pedro López\",\n    \"deliveryDate\": \"2024-11-30\",\n    \"slotStart\": \"13:00\",\n    \"slotEnd\": \"15:00\",\n    \"brandName\": \"Name\",\n    \"plateNumber\": \"P0001\",\n    \"shopperName\": \"Juan Pérez\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"{{BASE_URL}}/external-notification-handler/api/v1/events"},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": \"business_hours_not_allowed\",\n  \"message\": \"After business hours\",\n  \"detail\": {\n    \"reason\": \"after_business_hours\",\n    \"status\": 422\n  }\n}"},{"id":"8b86576f-5878-416d-b3e4-f68e31d16959","name":"Internal Server Error (500)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"retailer\": \"Retailer123\",\n  \"supplier\": {\n    \"identifier\": \"Sup123\",\n    \"name\": \"Supplier Name\"\n  },\n  \"event\": \"order_created\",\n  \"target\": \"+520000000000\",\n  \"orderReference\": \"v10000-23\",\n  \"countryCode\": \"MX\",\n  \"brandIdentifier\": \"123\",\n  \"storeIdentifier\": \"456\",\n  \"data\": {\n    \"customerName\": \"Pedro López\",\n    \"deliveryDate\": \"2024-11-30\",\n    \"slotStart\": \"13:00\",\n    \"slotEnd\": \"15:00\",\n    \"brandName\": \"Name\",\n    \"plateNumber\": \"P0001\",\n    \"shopperName\": \"Juan Pérez\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"{{BASE_URL}}/external-notification-handler/api/v1/events"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"errors\": {\n    \"detail\": \"Internal Server Error\"\n  }\n}"}],"_postman_id":"aab4122c-a501-4698-93bf-2db35b5d804e"}],"id":"fece1b07-d7f3-49af-b8d7-dfbad25aa3b8","_postman_id":"fece1b07-d7f3-49af-b8d7-dfbad25aa3b8","description":""}],"id":"5da3f7ab-2570-4c1a-9232-3a6af72f8997","_postman_id":"5da3f7ab-2570-4c1a-9232-3a6af72f8997","description":""}],"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"dc84ba82-ca7c-4c3f-9e39-3938bfcc1b64"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"7c488588-5ff6-48f5-aa51-60b9ee5535fd"}}],"variable":[{"key":"baseUrl","value":"{{BASE_URL}}","type":"any"}]}