{"info":{"_postman_id":"10c6c9ec-514d-49c1-81bb-1f3aa7c2c1a4","name":"Gacela Delivery API","description":"<html><head></head><body><p><strong>Production URL</strong>: <a href=\"https://gacela.co\">https://gacela.co</a></p>\n<p><strong>Development/Testing URL</strong>: <a href=\"https://gacela.dev\">https://gacela.dev</a></p>\n<h4 id=\"upgrade-to-tls-12\">Upgrade to TLS 1.2</h4>\n<p>To keep your communication with our servers secure, <strong>starting January 1st, 2022, 07:00:00 GMT-5 we will drop support for TLS 1.0 and 1.1</strong>, in response to security concerns around these protocols. Before using this API, please make sure that your systems support TLS 1.2.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"11653309","collectionId":"10c6c9ec-514d-49c1-81bb-1f3aa7c2c1a4","publishedId":"2s9YsM8Vkk","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2024-01-10T15:39:15.000Z"},"item":[{"name":"Orders","item":[{"name":"Store coverage","id":"a058832b-e2e1-4a22-9b4d-e1bede6a44e8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"api_token\": \"<store_api_token>\",\n\t\"destination_latitude\": -2.1598195,\n\t\"destination_longitude\": -79.9262071\n}"},"url":"/api/tracking/coverage","description":"<p>Checks if a point (delivery location) is within the coverage of a store.</p>\n<p><strong>Request Body Parameters</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>api_token</td>\n<td>string</td>\n<td>Store API token</td>\n</tr>\n<tr>\n<td>destination_latitude</td>\n<td>float</td>\n<td>Delivery location latitude</td>\n</tr>\n<tr>\n<td>destination_longitude</td>\n<td>float</td>\n<td>Delivery location longitude</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Response Parameters</strong></p>\n<h5 id=\"status-code-200-ok\">Status-Code: 200 OK</h5>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>status</td>\n<td>string</td>\n<td>Status message of the request</td>\n</tr>\n<tr>\n<td>results</td>\n<td>boolean</td>\n<td>true if point is within coverage, false otherwise</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["api","tracking","coverage"],"query":[],"variable":[]}},"response":[{"id":"e4479ea3-76ba-4628-9f1e-bc646584256b","name":"Success: Store covers this location","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer <company_api_token>","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"api_token\": \"<store_api_token>\",\n\t\"destination_latitude\": -2.1598195,\n\t\"destination_longitude\": -79.9262071\n}","options":{"raw":{"language":"json"}}},"url":"https://gacela.dev/api/tracking/coverage"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.0"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 06 Aug 2020 17:29:06 GMT"},{"key":"X-RateLimit-Limit","value":"200"},{"key":"X-RateLimit-Remaining","value":"199"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"Si hay cobertura.\",\n    \"results\": true\n}"},{"id":"30d89a2d-1212-46e9-8c9b-6729d64046de","name":"Failure: Store does not cover this location","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer <company_api_token>","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"api_token\": \"<store_api_token>\",\n\t\"destination_latitude\": -0.1598195,\n\t\"destination_longitude\": -79.9262071\n}"},"url":"https://gacela.dev/api/tracking/coverage"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.0"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 06 Aug 2020 17:29:06 GMT"},{"key":"X-RateLimit-Limit","value":"200"},{"key":"X-RateLimit-Remaining","value":"199"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"Ubicación fuera del perímetro de entrega.\",\n    \"results\": false\n}"}],"_postman_id":"a058832b-e2e1-4a22-9b4d-e1bede6a44e8"},{"name":"Delivery fee","id":"3925c7a0-6efd-4509-972d-bfffccae1d6c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"api_token\": \"<store_api_token>\",\n\t\"destination_latitude\": -2.1598195,\n\t\"destination_longitude\": -79.9262071\n}","options":{"raw":{"language":"json"}}},"url":"/api/v2/tracking/fare","description":"<p>This endpoint returns an order’s delivery fee based on the store’s location and<br />the delivery location. This resource does not create a new order.</p>\n<p>NOTE: This endpoint will return an error if the delivery location is outside our coverage, or if the store's area is experiencing high demand. Example error responses are available in the Example Request section to the right. Please refer to the Demand Alerts section of this documentation for reference.</p>\n<p><strong>Request Body Parameters</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>api_token</td>\n<td>string</td>\n<td>Store API token</td>\n</tr>\n<tr>\n<td>destination_latitude</td>\n<td>float</td>\n<td>Delivery location latitude</td>\n</tr>\n<tr>\n<td>destination_longitude</td>\n<td>float</td>\n<td>Delivery location longitude</td>\n</tr>\n<tr>\n<td>shippingDate</td>\n<td>string, timestamp</td>\n<td>(optional)Order dispatch date and time (for orders that should be processed in the future)</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Response Parameters</strong></p>\n<h5 id=\"status-code-200-ok\">Status-Code: 200 OK</h5>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>status</td>\n<td>string</td>\n<td>Status message of the request</td>\n</tr>\n<tr>\n<td>results</td>\n<td>object</td>\n<td>Delivery fee object</td>\n</tr>\n<tr>\n<td>results.details</td>\n<td>array</td>\n<td>Array of products(charges)</td>\n</tr>\n<tr>\n<td>results.details[].type</td>\n<td>string</td>\n<td>Product type</td>\n</tr>\n<tr>\n<td>results.details[].unit_price</td>\n<td>float</td>\n<td>Product unit price in USD</td>\n</tr>\n<tr>\n<td>results.details[].quantity</td>\n<td>integer</td>\n<td>Product quantity</td>\n</tr>\n<tr>\n<td>results.details[].total</td>\n<td>float</td>\n<td>Subtotal (unit price * quantity)</td>\n</tr>\n<tr>\n<td>results.subtotal</td>\n<td>float</td>\n<td>Delivery fee subtotal (sum of products)</td>\n</tr>\n<tr>\n<td>results.tax</td>\n<td>float</td>\n<td>Taxes (default IVA 12%)</td>\n</tr>\n<tr>\n<td>results.total</td>\n<td>float</td>\n<td>Delivery fee total (subtotal + tax)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["api","v2","tracking","fare"],"query":[],"variable":[]}},"response":[{"id":"3f2c98d6-2969-4e13-95ad-ea34a5d8f5b9","name":"(Success) Delivery Fee","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer <company_api_token>","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"api_token\": \"<store_api_token>\",\n\t\"destination_latitude\": -2.1598195,\n\t\"destination_longitude\": -79.9262071\n}","options":{"raw":{"language":"json"}}},"url":"https://gacela.dev/api/v2/tracking/fare"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 06 Aug 2020 02:15:38 GMT"},{"key":"X-RateLimit-Limit","value":"200"},{"key":"X-RateLimit-Remaining","value":"199"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"Calculo de tarifa exitoso.\",\n    \"results\": {\n        \"details\": [\n            {\n                \"type\": \"delivery_fee\",\n                \"quantity\": 1,\n                \"unit_price\": 2.5,\n                \"total\": 2.5\n            }\n        ],\n        \"subtotal\": 2.5,\n        \"tax\": 0.3,\n        \"total\": 2.8\n    }\n}"},{"id":"fa405ccb-6931-43a0-8cb2-c0f07a6f0aec","name":"(Error) Delivery Fee Blocked due to High Demand","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer <company_api_token>","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"api_token\": \"<store_api_token>\",\n\t\"destination_latitude\": -2.1598195,\n\t\"destination_longitude\": -79.9262071\n}","options":{"raw":{"language":"json"}}},"url":"https://gacela.dev/api/v2/tracking/fare"},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 06 Aug 2020 02:15:38 GMT"},{"key":"X-RateLimit-Limit","value":"200"},{"key":"X-RateLimit-Remaining","value":"199"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"Servicio no disponible por alta demanda.\",\n    \"results\": {\n        \"date\": \"2022-02-09\",\n        \"type\": \"bloqueo\",\n        \"token\": \"pTZaXYZj18L7jQrssFR\",\n        \"message\": \"¡Alta demanda en el sector! No nos es posible cumplir con los estándares de tiempo de entrega. Por favor, intenta nuevamente en 7 minutos.\",\n        \"response_url\": \"https://gacela.dev/api/demand_stats/notifications/pTZaXYZj18L7jQrssFR/resolve\"\n    }\n}"},{"id":"3ab9d435-b732-4e05-8e3d-a9b1398532f7","name":"(Success) Delivery fee (future delivery)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"api_token\": \"<store_api_token>\",\n\t\"destination_latitude\": -2.1598195,\n\t\"destination_longitude\": -79.9262071,\n\t\"shippingDate\": \"2020-10-01 10:00:00\"\n}","options":{"raw":{"language":"json"}}},"url":"https://gacela.dev/api/v2/tracking/fare"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"Calculo de tarifa exitoso.\",\n    \"results\": {\n        \"details\": [\n            {\n                \"type\": \"delivery_fee\",\n                \"quantity\": 1,\n                \"unit_price\": 2.5,\n                \"total\": 2.5\n            }\n        ],\n        \"subtotal\": 2.5,\n        \"tax\": 0.3,\n        \"total\": 2.8\n    }\n}"},{"id":"0416f434-2906-494d-86c7-7cd1c4b4830f","name":"(Error) Delivery Fee Blocked due to service coverage","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer <company_api_token>","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"api_token\": \"<store_api_token>\",\n\t\"destination_latitude\": -2.1598195,\n\t\"destination_longitude\": -79.9262071\n}","options":{"raw":{"language":"json"}}},"url":"https://gacela.dev/api/v2/tracking/fare"},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 06 Aug 2020 02:15:38 GMT"},{"key":"X-RateLimit-Limit","value":"200"},{"key":"X-RateLimit-Remaining","value":"199"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"Ubicación fuera del perímetro de entrega.\"\n}"}],"_postman_id":"3925c7a0-6efd-4509-972d-bfffccae1d6c"},{"name":"Create order","id":"589a502e-fe3e-4f0b-b685-315af3ccb12f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"api_token_gacela\": \"<store_api_token>\",\n    \"external_id\": \"<your_order_identifier>\",\n    \"latitude\": -2.1598195,\n    \"longitude\": -79.9262071,\n    \"document\": \"0912345678\",\n    \"name\": \"John\",\n    \"lastname\": \"Doe\",\n    \"phone\": \"0991234567\",\n    \"address\": \"7444 Glendale Street\",\n    \"reference\": \"Green car parked outside, ask for Mr. Doe\",\n    \"order_value\": \"10.00\",\n    \"fact_id\": \"001-001-000000149\",\n    \"contents\": \"2x Big Kahuna Burgers\",\n    \"charge_type\": \"cash\",\n    \"charge_value\": 10.00,\n    \"charge_instructions\": \"Charge $10 in cash. Customer will pay using a $20 bill\",\n    \"preparation_time\": 5\n}","options":{"raw":{"language":"json"}}},"url":"/api/orders/set","description":"<p>This endpoint allows developers to create orders for a specific store.<br />Order dispatching is handled automatically by Gacela Delivery once an order is created successfully.</p>\n<p><strong>Request Body Parameters</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>api_token_gacela</td>\n<td>string</td>\n<td>Store API token</td>\n</tr>\n<tr>\n<td>external_id</td>\n<td>string</td>\n<td>External unique identifier representing an order</td>\n</tr>\n<tr>\n<td>latitude</td>\n<td>float</td>\n<td>Delivery location latitude</td>\n</tr>\n<tr>\n<td>longitude</td>\n<td>float</td>\n<td>Delivery location longitude</td>\n</tr>\n<tr>\n<td>document</td>\n<td>string</td>\n<td>_(optional)_Customer unique ID</td>\n</tr>\n<tr>\n<td>name</td>\n<td>string</td>\n<td>Customer name</td>\n</tr>\n<tr>\n<td>lastname</td>\n<td>string</td>\n<td>_(optional)_Customer last name</td>\n</tr>\n<tr>\n<td>phone</td>\n<td>string</td>\n<td>Customer phone number</td>\n</tr>\n<tr>\n<td>email</td>\n<td>string, email</td>\n<td>_(optional)_Customer email address</td>\n</tr>\n<tr>\n<td>address</td>\n<td>string</td>\n<td>Delivery address</td>\n</tr>\n<tr>\n<td>reference</td>\n<td>string</td>\n<td>Delivery address reference</td>\n</tr>\n<tr>\n<td>order_value</td>\n<td>string</td>\n<td>_(optional)_Order value</td>\n</tr>\n<tr>\n<td>fact_id</td>\n<td>string</td>\n<td>Order's invoice number or a unique ID</td>\n</tr>\n<tr>\n<td>charge_type</td>\n<td>string</td>\n<td>Drivers can charge the customer upon delivery using these available types: <strong>card</strong>, <strong>cash</strong>, <strong>none</strong>. Send \"none\" only if the driver should NOT charge the customer upon delivery.</td>\n</tr>\n<tr>\n<td>charge_value</td>\n<td>float</td>\n<td>Upon delivery, driver will charge this amount in USD to the customer. Send 0 if no values should be charged to the customer.</td>\n</tr>\n<tr>\n<td>charge_instructions</td>\n<td>string</td>\n<td>Order charge instructions (e.g. charge $15 cash, the customer will pay using a $20 bill).</td>\n</tr>\n<tr>\n<td>contents</td>\n<td>string</td>\n<td>_(optional)_Description of the order's contents</td>\n</tr>\n<tr>\n<td>items</td>\n<td>array(object)</td>\n<td>_(optional)_Array of items to be delivered.</td>\n</tr>\n<tr>\n<td>items[].external_id</td>\n<td>string</td>\n<td>_(optional)_External unique identifier representing an item</td>\n</tr>\n<tr>\n<td>items[].sku</td>\n<td>string</td>\n<td>_(optional)_Item SKU</td>\n</tr>\n<tr>\n<td>items[].name</td>\n<td>string</td>\n<td>_(optional)_Item name</td>\n</tr>\n<tr>\n<td>items[].quantity</td>\n<td>string</td>\n<td>_(optional)_Item quantity</td>\n</tr>\n<tr>\n<td>items[].weight</td>\n<td>float</td>\n<td>_(optional)_Item's weight</td>\n</tr>\n<tr>\n<td>items[].weight_unit</td>\n<td>string</td>\n<td>_(optional)_Item's weight unit of measurement. <strong>Available units: \"kg\", \"g\", \"w/t\", \"mg\", \"N\", \"oz\", \"lb\", \"ton\", \"st\", \"t\"</strong></td>\n</tr>\n<tr>\n<td>items[].volume</td>\n<td>float</td>\n<td>_(optional)_Item's volume</td>\n</tr>\n<tr>\n<td>items[].volume_unit</td>\n<td>string</td>\n<td>_(optional)_Item's volume unit of measurement. <strong>Available units: \"m3\", \"L\", \"gal\", \"pt\", \"mL\"</strong></td>\n</tr>\n<tr>\n<td>destination_token</td>\n<td>string</td>\n<td>Send a store's API token if the destination is another store within the company (Store A -&gt; Store B). This overrides latitude and longitude fields.</td>\n</tr>\n<tr>\n<td>transfer_tokens</td>\n<td>array(string)</td>\n<td>_(optional)_Add additional(intermediate) pickup locations to an order by sending an array of store API tokens</td>\n</tr>\n<tr>\n<td>waypoints</td>\n<td>array(object)</td>\n<td>_(optional)_Add additional(intermediate) pickup or delivery locations to an order</td>\n</tr>\n<tr>\n<td>waypoints[].name</td>\n<td>string</td>\n<td>Name of the waypoint, typically the name of the person handling the order</td>\n</tr>\n<tr>\n<td>waypoints[].latitude</td>\n<td>float</td>\n<td>Waypoint's location latitude</td>\n</tr>\n<tr>\n<td>waypoints[].longitude</td>\n<td>float</td>\n<td>Waypoint's location longitude</td>\n</tr>\n<tr>\n<td>waypoints[].address</td>\n<td>string</td>\n<td>Waypoint's address</td>\n</tr>\n<tr>\n<td>waypoints[].reference</td>\n<td>string</td>\n<td>Waypoint's reference</td>\n</tr>\n<tr>\n<td>waypoints[].phone</td>\n<td>string</td>\n<td>Phone number of person handling the order for this waypoint</td>\n</tr>\n<tr>\n<td>waypoints[].instructions</td>\n<td>string</td>\n<td>Instructions for the driver on how to handle the package for this waypoint</td>\n</tr>\n<tr>\n<td>waypoints[].type</td>\n<td>string</td>\n<td>Available types: pickup, dropoff</td>\n</tr>\n<tr>\n<td>optimize_waypoints</td>\n<td>boolean</td>\n<td>_(optional)_If true, we will optimize the route if the order has more than one pickup/delivery location to obtain the shortest distance(ignoring the order of the waypoints). Defaults to <strong>false</strong> if not sent</td>\n</tr>\n<tr>\n<td>shippingDate</td>\n<td>timestamp</td>\n<td>_(optional)_Order dispatch date and time. Must be in <strong>America/Guayaquil, GMT-5</strong> time and at least 2 hours in the future.</td>\n</tr>\n<tr>\n<td>tracking_sms</td>\n<td>string, phone</td>\n<td>_(optional - available for users subscribed to our Tracking SMS plan)_Send an order tracking URL to this phone number upon order creation.</td>\n</tr>\n<tr>\n<td>tracking_email</td>\n<td>string, email</td>\n<td>_(optional - available for users subscribed to our Tracking E-mail plan)_Send an order tracking URL to this email address upon order creation.</td>\n</tr>\n<tr>\n<td>preparation_time</td>\n<td>int</td>\n<td>(optional - time in minutes of preparation order )</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Response Parameters</strong></p>\n<h5 id=\"status-code-201-created\">Status-Code: 201 Created</h5>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>status</td>\n<td>string</td>\n<td>Status message of the request</td>\n</tr>\n<tr>\n<td>results</td>\n<td>object</td>\n<td>Order creation data</td>\n</tr>\n<tr>\n<td>results.order_token</td>\n<td>string</td>\n<td>Gacela Delivery’s unique identifier representing an order (length 60)</td>\n</tr>\n<tr>\n<td>results.external_id</td>\n<td>string</td>\n<td>External unique identifier representing an order (unique per store)</td>\n</tr>\n<tr>\n<td>results.tracking_id</td>\n<td>string</td>\n<td>Unique tracking code representing an order (for use in our tracking page <a href=\"https://gacela.co/#/tracking\">https://gacela.co/#/tracking</a>)</td>\n</tr>\n<tr>\n<td>results.tracking_url</td>\n<td>string, url</td>\n<td>Tracking page for this order</td>\n</tr>\n<tr>\n<td>results.chat_tracking_url</td>\n<td>string, url</td>\n<td>Chat-only page for this order</td>\n</tr>\n<tr>\n<td>results.order_value</td>\n<td>string</td>\n<td>Order value</td>\n</tr>\n<tr>\n<td>results.fact_id</td>\n<td>string</td>\n<td>(if sent)Order’s invoice number</td>\n</tr>\n<tr>\n<td>results.distance</td>\n<td>unsigned integer</td>\n<td>Distance between store and delivery location (in meters)</td>\n</tr>\n<tr>\n<td>results.routeValue</td>\n<td>float</td>\n<td>Gacela delivery fee in USD (before taxes)</td>\n</tr>\n<tr>\n<td>results.contents</td>\n<td>string</td>\n<td>Description of the order’s contents</td>\n</tr>\n<tr>\n<td>results.created_at</td>\n<td>timestamp</td>\n<td>Order creation date and time</td>\n</tr>\n<tr>\n<td>results.order_address</td>\n<td>array</td>\n<td>Order address data Note: this endpoint always returns one address (index 0)</td>\n</tr>\n<tr>\n<td>results.order_address[0].address</td>\n<td>string</td>\n<td>Delivery address</td>\n</tr>\n<tr>\n<td>results.order_address[0].reference</td>\n<td>string</td>\n<td>Delivery address reference (returns empty string if not sent)</td>\n</tr>\n<tr>\n<td>results.order_address[0].latitude</td>\n<td>float</td>\n<td>Delivery location latitude</td>\n</tr>\n<tr>\n<td>results.order_address[0].longitude</td>\n<td>float</td>\n<td>Delivery location longitude</td>\n</tr>\n<tr>\n<td>results.customers</td>\n<td>array</td>\n<td>Customer data Note: this endpoint always returns one customer (index 0)</td>\n</tr>\n<tr>\n<td>results.customers[0].name</td>\n<td>string</td>\n<td>Customer name</td>\n</tr>\n<tr>\n<td>results.customers[0].lastname</td>\n<td>string</td>\n<td>Customer lastname (returns N/A if not sent)</td>\n</tr>\n<tr>\n<td>results.customers[0].phone</td>\n<td>string</td>\n<td>Customer phone number</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["api","orders","set"],"query":[],"variable":[]}},"response":[{"id":"f1ca4494-c9e8-4697-a464-93785481eeaa","name":"Create order successfully","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer <company_api_token>"}],"body":{"mode":"raw","raw":"{\n    \"api_token_gacela\": \"<store_api_token>\",\n    \"external_id\": \"<your_order_identifier>\",\n    \"latitude\": -2.1598195,\n    \"longitude\": -79.9262071,\n    \"document\": \"0912345678\",\n    \"name\": \"John\",\n    \"lastname\": \"Doe\",\n    \"phone\": \"0991234567\",\n    \"email\": \"johndoe@example.com\",\n    \"address\": \"7444 Glendale Street\",\n    \"reference\": \"Green car parked outside, ask for Mr. Doe\",\n    \"order_value\": \"10.00\",\n    \"fact_id\": \"001-001-000000149\",\n    \"contents\": \"2x Big Kahuna Burgers\",\n    \"charge_type\": \"cash\",\n    \"charge_value\": 10.00,\n    \"charge_instructions\": \"Charge $10 in cash. Customer will pay using a $20 bill\"\n}","options":{"raw":{"language":"json"}}},"url":"https://gacela.dev/api/orders/set"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 06 Aug 2020 02:17:14 GMT"},{"key":"X-RateLimit-Limit","value":"200"},{"key":"X-RateLimit-Remaining","value":"199"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"La orden se creó correctamente.\",\n    \"results\": {\n        \"external_id\": \"<your_order_identifier>\",\n        \"order_token\": \"<gacela_delivery_order_token>\",\n        \"tracking_id\": \"<gacela_delivery_order_tracking_code>\",\n        \"tracking_url\": \"https://gacela.co/#/tracking/<store_slug>/<tracking_id>\",\n        \"chat_tracking_url\": \"https://gacela.co/order-tracking#/chat/<store_slug>/<tracking_id>\",\n        \"order_value\": \"10.00\",\n        \"fact_id\": \"001-001-000000149\",\n        \"distance\": 7779,\n        \"routeValue\": 4,\n        \"contents\": \"2x Big Kahuna Burgers\",\n        \"created_at\": \"2020-08-05 21:17:14\",\n        \"order_address\": [\n            {\n                \"address\": \"7444 Glendale Street\",\n                \"reference\": \"Green car parked outside, ask for Mr. Doe\",\n                \"latitude\": -2.1598195,\n                \"longitude\": -79.9262071\n            }\n        ],\n        \"customers\": [\n            {\n                \"name\": \"John\",\n                \"lastname\": \"Doe\",\n                \"phone\": \"0991234567\",\n                \"fullname\": \"John Doe\"\n            }\n        ]\n    }\n}"},{"id":"25cc3a79-d030-47bc-bdc0-11dd8d75a69b","name":"Create order successfully","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer <company_api_token>","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"api_token_gacela\": \"<store_api_token>\",\n    \"external_id\": \"<your_order_identifier>\",\n    \"latitude\": -2.1598195,\n    \"longitude\": -79.9262071,\n    \"document\": \"0912345678\",\n    \"name\": \"John\",\n    \"lastname\": \"Doe\",\n    \"phone\": \"0991234567\",\n    \"email\": \"johndoe@example.com\",\n    \"address\": \"7444 Glendale Street\",\n    \"reference\": \"Green car parked outside, ask for Mr. Doe\",\n    \"order_value\": \"10.00\",\n    \"fact_id\": \"001-001-000000149\",\n    \"contents\": \"FREE 2x Big Kahuna Burgers\",\n    \"charge_type\": \"none\",\n    \"charge_valur\": 0,\n    \"charge_instructions\": \"Deliver only, order has been paid.\"\n}","options":{"raw":{"language":"json"}}},"url":"https://gacela.dev/api/orders/set"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 06 Aug 2020 02:17:14 GMT"},{"key":"X-RateLimit-Limit","value":"200"},{"key":"X-RateLimit-Remaining","value":"199"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"La orden se creó correctamente.\",\n    \"results\": {\n        \"external_id\": \"<your_order_identifier>\",\n        \"order_token\": \"<gacela_delivery_order_token>\",\n        \"tracking_id\": \"<gacela_delivery_order_tracking_code>\",\n        \"tracking_url\": \"https://gacela.co/#/tracking/<store_slug>/<tracking_id>\",\n        \"chat_tracking_url\": \"https://gacela.co/order-tracking#/chat/<store_slug>/<tracking_id>\",\n        \"order_value\": \"10.00\",\n        \"fact_id\": \"001-001-000000149\",\n        \"distance\": 7779,\n        \"routeValue\": 4,\n        \"contents\": \"2x Big Kahuna Burgers\",\n        \"created_at\": \"2020-08-05 21:17:14\",\n        \"order_address\": [\n            {\n                \"address\": \"7444 Glendale Street\",\n                \"reference\": \"Green car parked outside, ask for Mr. Doe\",\n                \"latitude\": -2.1598195,\n                \"longitude\": -79.9262071\n            }\n        ],\n        \"customers\": [\n            {\n                \"name\": \"John\",\n                \"lastname\": \"Doe\",\n                \"phone\": \"0991234567\",\n                \"fullname\": \"John Doe\"\n            }\n        ]\n    }\n}"},{"id":"a81470de-0fd2-4bcf-973e-0d1ceaaf3c74","name":"Order with 2 additional pickup points (no optimization, pickup in order)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"<company_api_token>","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"api_token_gacela\": \"<store_api_token>\",\n    \"external_id\": \"<your_order_identifier>\",\n    \"latitude\": -2.1598195,\n    \"longitude\": -79.9262071,\n    \"document\": \"0912345678\",\n    \"name\": \"John\",\n    \"lastname\": \"Doe\",\n    \"phone\": \"0991234567\",\n    \"address\": \"7444 Glendale Street\",\n    \"reference\": \"Green car parked outside, ask for Mr. Doe\",\n    \"order_value\": \"10.00\",\n    \"fact_id\": \"001-001-131231231231\",\n    \"contents\": \"Store 1: 2x Big Kahuna Burgers. Store 2: 2x Large Pepperoni Pizza. Store 3: Large Coke. Pickup in order.\",\n    \"charge_type\": \"other\",\n    \"charge_instructions\": \"Redeem coupon\",\n    \"transfer_tokens\": [\n        \"<store_2_api_token>\",\n        \"<store_3_api_token>\"\n    ],\n    \"optimize_waypoints\": 0\n}","options":{"raw":{"language":"json"}}},"url":"https://gacela.dev/api/orders/set"},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null},{"id":"4fc5db64-5b5d-4a0f-a52c-90944b338f0e","name":"Order with additional waypoints (optimized)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer <company_api_token>","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"api_token_gacela\": \"<store_api_token>\",\n    \"external_id\": \"<your_order_identifier>\",\n    \"latitude\": -2.1598195,\n    \"longitude\": -79.9262071,\n    \"document\": \"0912345678\",\n    \"name\": \"John\",\n    \"lastname\": \"Doe\",\n    \"phone\": \"0991234567\",\n    \"address\": \"7444 Glendale Street\",\n    \"reference\": \"Green car parked outside, ask for Mr. Doe\",\n    \"order_value\": \"30.00\",\n    \"fact_id\": \"001-001-131231231231\",\n    \"contents\": \"2x Big Kahuna Burgers, 2x Large Pizza, 5x Ham Sandwich\",\n    \"charge_type\": \"card\",\n    \"charge_value\": 30.00,\n    \"waypoints\": [\n        {\n            \"name\": \"Jason Smith\",\n            \"latitude\": -2.1588123,\n            \"longitude\": -79.92123,\n            \"address\": \"Main Av. 4th Street\",\n            \"reference\": \"Avalon building, 2nd floor, dept 28\",\n            \"phone\": \"0993123456\",\n            \"instructions\": \"Deliver 2x Large Pizza\",\n            \"type\": \"dropoff\"\n        },\n        {\n            \"name\": \"Mary Jane\",\n            \"latitude\": -2.1587345,\n            \"longitude\": -79.92345,\n            \"address\": \"Main Av. 8th Street\",\n            \"reference\": \"#209, white house, black gate\",\n            \"phone\": \"0993987654\",\n            \"instructions\": \"Delivery 5x Ham Sandwich\",\n            \"type\": \"dropoff\"\n        }\n    ],\n    \"optimize_waypoints\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://gacela.dev/api/orders/set"},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"La orden se creó correctamente.\",\n    \"results\": {\n        \"external_id\": \"<your_order_identifier>\",\n        \"order_token\": \"<gacela_delivery_order_token>\",\n        \"tracking_id\": \"<gacela_delivery_order_tracking_code>\",\n        \"tracking_url\": \"https://gacela.co/#/tracking/<store_slug>/<tracking_id>\",\n        \"chat_tracking_url\": \"https://gacela.co/order-tracking#/chat/<store_slug>/<tracking_id>\",\n        \"order_value\": \"30.00\",\n        \"fact_id\": \"001-001-131231231231\",\n        \"distance\": 13283,\n        \"routeValue\": 5.75,\n        \"contents\": \"2x Big Kahuna Burgers, 2x Large Pizza, 5x Ham Sandwich\",\n        \"created_at\": \"2020-08-05 21:17:14\",\n        \"order_address\": [\n            {\n                \"address\": \"7444 Glendale Street\",\n                \"reference\": \"Green car parked outside, ask for Mr. Doe\",\n                \"latitude\": -2.1598195,\n                \"longitude\": -79.9262071\n            }\n        ],\n        \"customers\": [\n            {\n                \"name\": \"John\",\n                \"lastname\": \"Doe\",\n                \"phone\": \"0991234567\",\n                \"fullname\": \"John Doe\"\n            }\n        ]\n    }\n}"},{"id":"06dc01b7-ad7e-46c7-bee8-bdccb8ba0f7c","name":"Create order with items","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer <company_api_token>","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"api_token_gacela\": \"<store_api_token>\",\n    \"external_id\": \"<your_order_identifier>\",\n    \"latitude\": -2.1598195,\n    \"longitude\": -79.9262071,\n    \"document\": \"0912345678\",\n    \"name\": \"John\",\n    \"lastname\": \"Doe\",\n    \"phone\": \"0991234567\",\n    \"email\": \"johndoe@example.com\",\n    \"address\": \"7444 Glendale Street\",\n    \"reference\": \"Green car parked outside, ask for Mr. Doe\",\n    \"order_value\": \"25.00\",\n    \"fact_id\": \"001-001-000000149\",\n    \"contents\": \"1x Kahuna-Pizza Combo\",\n    \"items\": [\n        {\n            \"external_id\": \"123\",\n            \"sku\": \"BKH_001\",\n            \"name\": \"Big Kahuna Burger\",\n            \"quantity\": 2\n        },\n        {\n            \"external_id\": \"234\",\n            \"sku\": \"LPP_001\",\n            \"name\": \"Large Pepperoni Pizza\",\n            \"quantity\": 1,\n            \"weight\": 548.0,\n            \"weight_unit\": \"g\"\n        },\n        {\n            \"external_id\": \"345\",\n            \"sku\": \"LC3_001\",\n            \"name\": \"Coca Cola 3 L\",\n            \"quantity\": 1,\n            \"volume\": 3.0,\n            \"volume_unit\": \"L\"\n        }\n    ],\n    \"charge_type\": \"cash\",\n    \"charge_value\": 25.00,\n    \"charge_instructions\": \"Charge $25 in cash. Customer will pay using a $50 bill\"\n}","options":{"raw":{"language":"json"}}},"url":"https://gacela.dev/api/orders/set"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 06 Aug 2020 02:17:14 GMT"},{"key":"X-RateLimit-Limit","value":"200"},{"key":"X-RateLimit-Remaining","value":"199"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"La orden se creó correctamente.\",\n    \"results\": {\n        \"external_id\": \"<your_order_identifier>\",\n        \"order_token\": \"<gacela_delivery_order_token>\",\n        \"tracking_id\": \"<gacela_delivery_order_tracking_code>\",\n        \"tracking_url\": \"https://gacela.co/#/tracking/<store_slug>/<tracking_id>\",\n        \"chat_tracking_url\": \"https://gacela.co/order-tracking#/chat/<store_slug>/<tracking_id>\",\n        \"order_value\": \"10.00\",\n        \"fact_id\": \"001-001-000000149\",\n        \"distance\": 7779,\n        \"routeValue\": 4,\n        \"contents\": \"1x Kahuna-Pizza Combo\",\n        \"created_at\": \"2020-08-05 21:17:14\",\n        \"order_address\": [\n            {\n                \"address\": \"7444 Glendale Street\",\n                \"reference\": \"Green car parked outside, ask for Mr. Doe\",\n                \"latitude\": -2.1598195,\n                \"longitude\": -79.9262071\n            }\n        ],\n        \"customers\": [\n            {\n                \"name\": \"John\",\n                \"lastname\": \"Doe\",\n                \"phone\": \"0991234567\",\n                \"fullname\": \"John Doe\"\n            }\n        ]\n    }\n}"},{"id":"37dc3880-1aeb-4593-9230-bd32ff940a9c","name":"Store A -> Store B","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer <company_api_token>","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"api_token_gacela\": \"<store_A_api_token>\",\n    \"destination_token\": \"<store_B_api_token>\",\n    \"external_id\": \"<your_order_identifier>\",\n    \"document\": \"0912345678\",\n    \"name\": \"John\",\n    \"lastname\": \"Doe\",\n    \"phone\": \"0991234567\",\n    \"address\": \"Store B address\",\n    \"reference\": \"Store B reference\",\n    \"order_value\": \"30.00\",\n    \"fact_id\": \"001-001-131231231231\",\n    \"charge_type\": \"none\",\n    \"charge_valur\": 0,\n    \"charge_instructions\": \"Deliver only.\"\n}","options":{"raw":{"language":"json"}}},"url":"https://gacela.dev/api/orders/set"},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"La orden se creó correctamente.\",\n    \"results\": {\n        \"external_id\": \"<your_order_identifier>\",\n        \"order_token\": \"<gacela_delivery_order_token>\",\n        \"tracking_id\": \"<gacela_delivery_order_tracking_code>\",\n        \"tracking_url\": \"https://gacela.co/#/tracking/<store_slug>/<tracking_id>\",\n        \"chat_tracking_url\": \"https://gacela.co/order-tracking#/chat/<store_slug>/<tracking_id>\",\n        \"order_value\": \"30.00\",\n        \"fact_id\": \"001-001-131231231231\",\n        \"distance\": 13283,\n        \"routeValue\": 5.75,\n        \"created_at\": \"2020-08-05 21:17:14\",\n        \"order_address\": [\n            {\n                \"address\": \"Store B address\",\n                \"reference\": \"Store B reference\",\n                \"latitude\": -2.1598195,\n                \"longitude\": -79.9262071\n            }\n        ],\n        \"customers\": [\n            {\n                \"name\": \"John\",\n                \"lastname\": \"Doe\",\n                \"phone\": \"0991234567\",\n                \"fullname\": \"John Doe\"\n            }\n        ]\n    }\n}"},{"id":"32b61776-b9df-487d-b6c4-d7dbf8354d63","name":"Create order Block Demand","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"api_token_gacela\": \"<store_api_token>\",\n    \"external_id\": \"<your_order_identifier>\",\n    \"latitude\": -2.1598195,\n    \"longitude\": -79.9262071,\n    \"document\": \"0912345678\",\n    \"name\": \"John\",\n    \"lastname\": \"Doe\",\n    \"phone\": \"0991234567\",\n    \"address\": \"7444 Glendale Street\",\n    \"reference\": \"Green car parked outside, ask for Mr. Doe\",\n    \"order_value\": \"10.00\",\n    \"fact_id\": \"001-001-000000149\",\n    \"contents\": \"2x Big Kahuna Burgers\",\n    \"charge_type\": \"cash\",\n    \"charge_value\": 10.00,\n    \"charge_instructions\": \"Charge $10 in cash. Customer will pay using a $20 bill\"\n}","options":{"raw":{"language":"json"}}},"url":"/api/orders/set"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"No hay recursos disponibles en el sector. Intenta luego de unos minutos.\",\n    \"results\": {\n        \"message\": \"No hay recursos disponibles en el sector. Intenta luego de unos minutos.\",\n        \"date\": \"2023-11-06\",\n        \"type\": \"bloqueo\",\n        \"token\": \"2uldIZjfrQ5SJpS5L8u9MtEN\",\n        \"empty\": true\n    }\n}"},{"id":"9ca00e4e-f138-4951-82c1-6c61df00bc78","name":"Create order with preparation_time","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"api_token_gacela\": \"<store_api_token>\",\n    \"external_id\": \"<your_order_identifier>\",\n    \"latitude\": -2.1598195,\n    \"longitude\": -79.9262071,\n    \"document\": \"0912345678\",\n    \"name\": \"John\",\n    \"lastname\": \"Doe\",\n    \"phone\": \"0991234567\",\n    \"address\": \"7444 Glendale Street\",\n    \"reference\": \"Green car parked outside, ask for Mr. Doe\",\n    \"order_value\": \"10.00\",\n    \"fact_id\": \"001-001-000000149\",\n    \"contents\": \"2x Big Kahuna Burgers\",\n    \"charge_type\": \"cash\",\n    \"charge_value\": 10.00,\n    \"charge_instructions\": \"Charge $10 in cash. Customer will pay using a $20 bill\",\n    \"preparation_time\": 5\n}","options":{"raw":{"language":"json"}}},"url":"/api/orders/set"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"La orden se creó correctamente.\",\n    \"results\": {\n        \"external_id\": \"<your_order_identifier>\",\n        \"order_token\": \"<gacela_delivery_order_token>\",\n        \"tracking_id\": \"<gacela_delivery_order_tracking_code>\",\n        \"tracking_url\": \"https://gacela.co/#/tracking/<store_slug>/<tracking_id>\",\n        \"chat_tracking_url\": \"https://gacela.co/order-tracking#/chat/<store_slug>/<tracking_id>\",\n        \"order_value\": \"10.00\",\n        \"fact_id\": \"001-001-000000149\",\n        \"distance\": 7779,\n        \"routeValue\": 4,\n        \"contents\": \"2x Big Kahuna Burgers\",\n        \"created_at\": \"2020-08-05 21:17:14\",\n        \"order_address\": [\n            {\n                \"address\": \"7444 Glendale Street\",\n                \"reference\": \"Green car parked outside, ask for Mr. Doe\",\n                \"latitude\": -2.1598195,\n                \"longitude\": -79.9262071\n            }\n        ],\n        \"customers\": [\n            {\n                \"name\": \"John\",\n                \"lastname\": \"Doe\",\n                \"phone\": \"0991234567\",\n                \"fullname\": \"John Doe\"\n            }\n        ]\n    }\n}"}],"_postman_id":"589a502e-fe3e-4f0b-b685-315af3ccb12f"},{"name":"Cancel order","id":"00607c58-7bae-42d9-9e13-e5a85d59ea3d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"api_token_gacela\": \"<store_api_token>\",\n    \"order_token\": \"<order_token>\"\n}","options":{"raw":{"language":"json"}}},"url":"/api/cancel_order","description":"<p>This endpoint cancels an order. Once cancelled, an order will not be handled (dispatched or delivered) by Gacela Delivery. An order cannot be cancelled if the current status of the order is any of the following:</p>\n<ul>\n<li>Order has been delivered (DELIVERED).</li>\n<li>Driver has arrived at the drop-off location (AT_DROPOFF).</li>\n<li>Driver is on its way to deliver the order to the customer (DELIVERING).</li>\n<li>Driver has arrived at the pickup location (AT_PICKUP).</li>\n<li>Order could not be delivered (NOT_DELIVERED).</li>\n<li>Order is already cancelled (DELETED).</li>\n</ul>\n<h4 id=\"request-body-parameters\">Request Body Parameters</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>api_token_gacela</td>\n<td>string</td>\n<td>Store API token</td>\n</tr>\n<tr>\n<td>order_token</td>\n<td>string</td>\n<td>Order token</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"response-parameters\">Response Parameters</h4>\n<h5 id=\"status-code-200-ok\">Status-Code: 200 OK</h5>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>status</td>\n<td>string</td>\n<td>Status message</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["api","cancel_order"],"query":[],"variable":[]}},"response":[{"id":"73ea511f-8a7c-44b1-b553-1c723055037e","name":"OK Cancel order","originalRequest":{"method":"POST","header":[{"key":"Authorization","type":"text","value":"Bearer <company_api_token>"}],"body":{"mode":"raw","raw":"{\n    \"api_token_gacela\": \"<store_api_token>\",\n    \"order_token\": \"<order_token>\"\n}","options":{"raw":{"language":"json"}}},"url":"https://gacela.dev/api/cancel_order"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 28 Aug 2020 20:19:27 GMT"},{"key":"X-RateLimit-Limit","value":"200"},{"key":"X-RateLimit-Remaining","value":"199"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"La orden se anuló correctamente.\"\n}"},{"id":"06a3d610-1b86-4ab8-a2ee-bcde40f6e01e","name":"Order not found","originalRequest":{"method":"POST","header":[{"key":"Authorization","type":"text","value":"Bearer <company_api_token>"}],"body":{"mode":"raw","raw":"{\n    \"api_token_gacela\": \"<store_api_token>\",\n    \"order_token\": \"<order_token>\"\n}","options":{"raw":{"language":"json"}}},"url":"https://gacela.dev/api/cancel_order"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 28 Aug 2020 20:19:27 GMT"},{"key":"X-RateLimit-Limit","value":"200"},{"key":"X-RateLimit-Remaining","value":"199"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"La orden que desea anular no existe.\"\n}"},{"id":"9f9bda00-6a36-46c6-ac42-d4597c140c33","name":"Invalid order status","originalRequest":{"method":"POST","header":[{"key":"Authorization","type":"text","value":"Bearer <company_api_token>"}],"body":{"mode":"raw","raw":"{\n    \"api_token_gacela\": \"<store_api_token>\",\n    \"order_token\": \"<order_token>\"\n}","options":{"raw":{"language":"json"}}},"url":"https://gacela.dev/api/cancel_order"},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 28 Aug 2020 20:19:27 GMT"},{"key":"X-RateLimit-Limit","value":"200"},{"key":"X-RateLimit-Remaining","value":"199"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"No se puede anular la orden en su estado actual: AT_PICKUP\"\n}"},{"id":"5b5fcde9-0677-4e20-9691-3b348b5e28c1","name":"Order with driver","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer <company_api_token>","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"api_token_gacela\": \"<store_api_token>\",\n    \"order_token\": \"<order_token>\"\n}","options":{"raw":{"language":"json"}}},"url":"https://gacela.dev/api/cancel_order"},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"La orden tiene gacela asignado. Si desea cancelar la orden proceda a reenviar la solicitud, se cancelara con estado NOT_DELIVERED\",\n    \"delivering\": false,\n    \"external_id\": null,\n    \"order_token\": \"YrXKWXg9ueQUGcTEGpI9pqhCksRzRpiiPJBc3Cpp61FPbzbJ6KRwnXVAVC0G\",\n    \"tracking_id\": \"YRXKWXG9UEQUGCTEGPI9PQHCKSRZRP\",\n    \"tracking_url\": \"https://gacela.dev/v2t#/tracking/b7c00a5b-c123-4aef-b42b-5a7924af9bf5/YRXKWXG9UEQUGCTEGPI9PQHCKSRZRP\",\n    \"chat_tracking_url\": \"https://gacela.dev/order-tracking#/chat/b7c00a5b-c123-4aef-b42b-5a7924af9bf5/YRXKWXG9UEQUGCTEGPI9PQHCKSRZRP\",\n    \"store\": {\n        \"name\": \"AKAI SUSHI CEIBOS\",\n        \"lat\": -2.1762729,\n        \"lng\": -79.943136\n    },\n    \"order_address\": {\n        \"address\": \"4, R3J8+V75, Av. del Bombero, Guayaquil 090615, Ecuador\",\n        \"reference\": \"N/A\",\n        \"lat\": -2.1682521,\n        \"lng\": -79.9340343\n    },\n    \"driver\": {\n        \"name\": \"Fausto\",\n        \"lastname\": \"Mora Velasquez\",\n        \"cedula\": \"0999999999\",\n        \"document\": \"0999999999\",\n        \"phone\": \"0999999999\",\n        \"photo\": \"example.com/photo\",\n        \"placa\": \"xxxxx\",\n        \"plate\": \"xxxxx\",\n        \"lat\": -2.0553199,\n        \"lng\": -79.8729482,\n        \"email\": null,\n        \"vehicle\": {\n            \"name\": \"Moto\",\n            \"identifier\": \"moto\"\n        }\n    },\n    \"current_status\": {\n        \"name\": \"En Camino\",\n        \"code\": \"ASSIGNED\",\n        \"lat\": \"-2.0553199\",\n        \"lng\": \"-79.8729482\",\n        \"long\": \"-79.8729482\",\n        \"observation\": null,\n        \"created_at\": {\n            \"date\": \"2023-11-01 15:44:37.000000\",\n            \"timezone_type\": 3,\n            \"timezone\": \"America/Guayaquil\"\n        }\n    },\n    \"statuses\": [\n        {\n            \"name\": \"En Camino\",\n            \"code\": \"ASSIGNED\",\n            \"lat\": \"-2.0553199\",\n            \"lng\": \"-79.8729482\",\n            \"long\": \"-79.8729482\",\n            \"observation\": null,\n            \"created_at\": {\n                \"date\": \"2023-11-01 15:44:37.000000\",\n                \"timezone_type\": 3,\n                \"timezone\": \"America/Guayaquil\"\n            }\n        },\n        {\n            \"name\": \"Creada\",\n            \"code\": \"CREATED\",\n            \"lat\": null,\n            \"lng\": null,\n            \"long\": null,\n            \"observation\": null,\n            \"created_at\": {\n                \"date\": \"2023-11-01 15:44:18.000000\",\n                \"timezone_type\": 3,\n                \"timezone\": \"America/Guayaquil\"\n            }\n        }\n    ],\n    \"vehicle\": {\n        \"name\": \"Moto\",\n        \"identifier\": \"moto\"\n    }\n}"}],"_postman_id":"00607c58-7bae-42d9-9e13-e5a85d59ea3d"}],"id":"062c6e60-559e-40f7-b1df-21a711c828bc","description":"<p><strong>Structure</strong></p>\n<p>In Gacela Delivery, every partner is identified by a <strong>Company</strong>. Every company has a unique API token that grants access to our API. Companies can have multiple pickup locations, which we call <strong>Stores</strong>. Every store has a unique token.</p>\n<p>Delivery requests are called <strong>Orders</strong>. Once we receive an order, our algorithms will identify the appropriate delivery person to pick up and deliver the order. Every order has a starting point (a <strong>Store</strong>) and a destination (the delivery address and location).</p>\n<p><strong>Order Status</strong></p>\n<p>An order goes through several states, from its creation to its delivery. Each state is recorded in our system and produces events that our partners can obtain in real-time (webhooks) or on demand (tracking API). The table below shows all the possible statuses of an order.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Code</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Creada</td>\n<td>CREATED</td>\n<td>Order created successfully</td>\n</tr>\n<tr>\n<td>En Camino <em>(or En Camino +)</em></td>\n<td>ASSIGNED</td>\n<td>Driver has accepted the order and is on its way to pick up the package</td>\n</tr>\n<tr>\n<td>Local <em>(or Local +)</em></td>\n<td>AT_PICKUP</td>\n<td>Driver has arrived at the store and is ready to pick up the package</td>\n</tr>\n<tr>\n<td>Con Pedido <em>(or Con Pedido +)</em></td>\n<td>DELIVERING</td>\n<td>Driver has left the store and is on its way to deliver the package to the customer</td>\n</tr>\n<tr>\n<td>Llegue (or Llegue +)</td>\n<td>AT_DROPOFF</td>\n<td>Driver has arrived at drop off location</td>\n</tr>\n<tr>\n<td>Entregada</td>\n<td>DELIVERED</td>\n<td>Driver has successfully delivered the package</td>\n</tr>\n<tr>\n<td>No Entregada</td>\n<td>NOT_DELIVERED</td>\n<td>Driver could not deliver the package</td>\n</tr>\n<tr>\n<td>Cancelada</td>\n<td>SEARCHING</td>\n<td>Order is being assigned to another driver</td>\n</tr>\n<tr>\n<td>Eliminada</td>\n<td>DELETED</td>\n<td>Order has been deleted</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"062c6e60-559e-40f7-b1df-21a711c828bc"},{"name":"Tracking","item":[{"name":"Order tracking using order token","id":"d2ccec03-1629-4f25-97f3-d76daec53851","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"/api/order_tracking/<order_token>","description":"<p>Track an order using Gacela Delivery’s order_token. Check the order creation endpoint documentation for reference on how to obtain this token.</p>\n<h4 id=\"response-parameters\">Response Parameters</h4>\n<h5 id=\"status-code-200-ok\">Status-Code: 200 OK</h5>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>status</td>\n<td>string</td>\n<td>Status message of the request</td>\n</tr>\n<tr>\n<td>results</td>\n<td>object</td>\n<td>Order tracking data</td>\n</tr>\n<tr>\n<td>results.external_id</td>\n<td>string</td>\n<td>(nullable)External unique identifier</td>\n</tr>\n<tr>\n<td>results.order_token</td>\n<td>string</td>\n<td>Order unique identifier (length 60)</td>\n</tr>\n<tr>\n<td>results.tracking_id</td>\n<td>string</td>\n<td>Unique tracking code representing an order (for use in our tracking page <a href=\"https://gacela.co/v2t#/tracking\">https://gacela.co/v2t#/tracking</a>)</td>\n</tr>\n<tr>\n<td>results.tracking_url</td>\n<td>string, url</td>\n<td>Tracking page for this order</td>\n</tr>\n<tr>\n<td>results.chat_tracking_url</td>\n<td>string, url</td>\n<td>Chat-only page for this order</td>\n</tr>\n<tr>\n<td>results.store</td>\n<td>object</td>\n<td>Store object (origin)</td>\n</tr>\n<tr>\n<td>results.store.name</td>\n<td>string</td>\n<td>Store's name</td>\n</tr>\n<tr>\n<td>results.store.lat</td>\n<td>float</td>\n<td>Store location latitude</td>\n</tr>\n<tr>\n<td>results.store.lng</td>\n<td>float</td>\n<td>Store location longitude</td>\n</tr>\n<tr>\n<td>results.order_address</td>\n<td>object</td>\n<td>Order address data</td>\n</tr>\n<tr>\n<td>results.order_address.address</td>\n<td>string</td>\n<td>Delivery address</td>\n</tr>\n<tr>\n<td>results.order_address.reference</td>\n<td>string</td>\n<td>Delivery address reference (returns empty string if not sent)</td>\n</tr>\n<tr>\n<td>results.order_address.lat</td>\n<td>float</td>\n<td>Delivery location latitude</td>\n</tr>\n<tr>\n<td>results.order_address.lng</td>\n<td>float</td>\n<td>Delivery location longitude</td>\n</tr>\n<tr>\n<td>results.driver</td>\n<td>object</td>\n<td>(nullable)Data of the driver delivering the order</td>\n</tr>\n<tr>\n<td>results.driver.lat</td>\n<td>float</td>\n<td>(nullable)Driver’s current position (latitude)</td>\n</tr>\n<tr>\n<td>results.driver.lng</td>\n<td>float</td>\n<td>(nullable)Driver’s current position (longitude)</td>\n</tr>\n<tr>\n<td>results.driver.name</td>\n<td>string</td>\n<td>Driver’s name</td>\n</tr>\n<tr>\n<td>results.driver.lastname</td>\n<td>string</td>\n<td>Driver’s last name</td>\n</tr>\n<tr>\n<td>results.driver.document</td>\n<td>string</td>\n<td>Driver’s ID</td>\n</tr>\n<tr>\n<td>results.driver.plate</td>\n<td>string</td>\n<td>Driver’s vehicle license plate</td>\n</tr>\n<tr>\n<td>results.driver.photo</td>\n<td>string</td>\n<td>Driver’s photo (URL)</td>\n</tr>\n<tr>\n<td>results.driver.phone</td>\n<td>string</td>\n<td>Driver’s phone number</td>\n</tr>\n<tr>\n<td>results.driver.support_code</td>\n<td>string</td>\n<td>Driver’s support code for Call Center (If the answer is a call center)</td>\n</tr>\n<tr>\n<td>results.delivering</td>\n<td>boolean</td>\n<td>Driver is currently handling/delivering this order (can only be false when driver has multiple orders at the same time)</td>\n</tr>\n<tr>\n<td>results.current_status</td>\n<td>object</td>\n<td>Order's current status object</td>\n</tr>\n<tr>\n<td>results.current_status.name</td>\n<td>string</td>\n<td>Order status name (see table above for reference)</td>\n</tr>\n<tr>\n<td>results.current_status.code</td>\n<td>string</td>\n<td>Order status code (see table above for reference)</td>\n</tr>\n<tr>\n<td>results.current_status.lat</td>\n<td>string</td>\n<td>(nullable)Latitude in which the status was changed by the driver</td>\n</tr>\n<tr>\n<td>results.current_status.lng</td>\n<td>string</td>\n<td>(nullable)Longitude in which the status was changed by the driver</td>\n</tr>\n<tr>\n<td>results.current_status.created _at</td>\n<td>object</td>\n<td>Timezone-aware timestamp object of the status’ creation</td>\n</tr>\n<tr>\n<td>results.current_status.created _at.date</td>\n<td>timestamp</td>\n<td>Status creation date and time</td>\n</tr>\n<tr>\n<td>results.current_status.created <em>at.timezone</em> type</td>\n<td>unsigned integer</td>\n<td>Timezone type</td>\n</tr>\n<tr>\n<td>results.current_status.created _at.timezone</td>\n<td>string</td>\n<td>Timezone name</td>\n</tr>\n<tr>\n<td>results.statuses</td>\n<td>array</td>\n<td>Contains all order states sorted in descending order by creation date</td>\n</tr>\n<tr>\n<td>results.statuses[].name</td>\n<td>string</td>\n<td>Order status name (see table above for reference)</td>\n</tr>\n<tr>\n<td>results.statuses[].code</td>\n<td>string</td>\n<td>Order status code (see table above for reference)</td>\n</tr>\n<tr>\n<td>results.statuses[].lat</td>\n<td>string</td>\n<td>(nullable)Latitude in which the status was changed by the driver</td>\n</tr>\n<tr>\n<td>results.statuses[].lng</td>\n<td>string</td>\n<td>(nullable)Longitude in which the status was changed by the driver</td>\n</tr>\n<tr>\n<td>results.statuses[].created _at</td>\n<td>object</td>\n<td>Timezone-aware timestamp object of the status’ creation</td>\n</tr>\n<tr>\n<td>results.statuses[].created _at.date</td>\n<td>timestamp</td>\n<td>Status creation date and time</td>\n</tr>\n<tr>\n<td>results.statuses[].created <em>at.timezone</em> type</td>\n<td>unsigned integer</td>\n<td>Timezone type</td>\n</tr>\n<tr>\n<td>results.statuses[].created _at.timezone</td>\n<td>string</td>\n<td>Timezone name</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["api","order_tracking","<order_token>"],"query":[],"variable":[]}},"response":[{"id":"6ddcecf5-4527-47e2-8340-899a09de7201","name":"Tracking: Order Token","originalRequest":{"method":"GET","header":[],"url":"https://gacela.dev/api/order_tracking/<order_token>"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.0"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 06 Aug 2020 03:32:27 GMT"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"Orden encontrada.\",\n    \"results\": {\n        \"external_id\": \"<your_order_identifier>\",\n        \"order_token\": \"<order_token>\",\n        \"tracking_id\": \"<order_tracking_code>\",\n        \"tracking_url\": \"https://gacela.co/#/tracking/<store_slug>/<tracking_id>\",\n        \"chat_tracking_url\": \"https://gacela.co/order-tracking#/chat/<store_slug>/<tracking_id>\",\n        \"store\": {\n            \"name\": \"Store name\",\n            \"lat\": -2.0463881,\n            \"lng\": -79.902457\n        },\n        \"order_address\": {\n            \"address\": \"Delivery address\",\n            \"reference\": \"Delivery reference\",\n            \"lat\": -2.044067,\n            \"lng\": -79.9160709\n        },\n        \"delivering\": true,\n        \"current_status\": {\n            \"name\": \"Llegue\",\n            \"code\": \"AT_DROPOFF\",\n            \"lat\": \"-2.0421645\",\n            \"lng\": \"-79.9151550\",\n            \"created_at\": {\n                \"date\": \"2020-08-05 22:29:49.000000\",\n                \"timezone_type\": 3,\n                \"timezone\": \"America/Guayaquil\"\n            }\n        },\n        \"statuses\": [\n            {\n                \"name\": \"Llegue\",\n                \"code\": \"AT_DROPOFF\",\n                \"lat\": \"-2.0421645\",\n                \"lng\": \"-79.9151550\",\n                \"created_at\": {\n                    \"date\": \"2020-08-05 22:29:49.000000\",\n                    \"timezone_type\": 3,\n                    \"timezone\": \"America/Guayaquil\"\n                }\n            },\n            {\n                \"name\": \"Con Pedido\",\n                \"code\": \"DELIVERING\",\n                \"lat\": \"-2.0551363\",\n                \"lng\": \"-79.8751029\",\n                \"created_at\": {\n                    \"date\": \"2020-08-05 22:23:50.000000\",\n                    \"timezone_type\": 3,\n                    \"timezone\": \"America/Guayaquil\"\n                }\n            },\n            {\n                \"name\": \"Local\",\n                \"code\": \"AT_PICKUP\",\n                \"lat\": \"-2.0547561\",\n                \"lng\": \"-79.8724529\",\n                \"created_at\": {\n                    \"date\": \"2020-08-05 22:16:27.000000\",\n                    \"timezone_type\": 3,\n                    \"timezone\": \"America/Guayaquil\"\n                }\n            },\n            {\n                \"name\": \"En Camino\",\n                \"code\": \"ASSIGNED\",\n                \"lat\": \"-2.0547570\",\n                \"lng\": \"-79.8724517\",\n                \"created_at\": {\n                    \"date\": \"2020-08-05 22:16:24.000000\",\n                    \"timezone_type\": 3,\n                    \"timezone\": \"America/Guayaquil\"\n                }\n            },\n            {\n                \"name\": \"Creada\",\n                \"code\": \"CREATED\",\n                \"lat\": null,\n                \"lng\": null,\n                \"created_at\": {\n                    \"date\": \"2020-08-05 22:15:47.000000\",\n                    \"timezone_type\": 3,\n                    \"timezone\": \"America/Guayaquil\"\n                }\n            }\n        ],\n        \"driver\": {\n            \"name\": \"John Albert\",\n            \"lastname\": \"Doe Smith\",\n            \"document\": \"9999999999\",\n            \"plate\": \"ABC123A\",\n            \"photo\": \"https://example.com/driver_photo.jpg\",\n            \"phone\": \"9999999999\",\n            \"support_code\": \"57453903\",\n            \"lat\": -2.0439105,\n            \"lng\": -79.9160214\n        }\n    }\n}"}],"_postman_id":"d2ccec03-1629-4f25-97f3-d76daec53851"},{"name":"Order tracking using external ID","id":"34fa3597-f903-476c-852a-b655bc4c2de5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"api_token_gacela\": \"<store_api_token>\",\n    \"external_id\": \"<your_order_identifier>\"\n}","options":{"raw":{"language":"json"}}},"url":"/api/external_order_tracking","description":"<p>Track an order using the order’s external_id. In order to use this method, you should have created the order using the external_id field. Check the order creation endpoint documentation for reference.</p>\n<h4 id=\"request-body-parameters\">Request Body Parameters</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>api_token_gacela</td>\n<td>string</td>\n<td>(optional)Store’s API token. Note: If not sent, we will search all of the company’s stores and return the first matching external_id.</td>\n</tr>\n<tr>\n<td>external_id</td>\n<td>string</td>\n<td>Order’s external ID</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"response-parameters\">Response Parameters</h4>\n<h5 id=\"status-code-200-ok\">Status-Code: 200 OK</h5>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>status</td>\n<td>string</td>\n<td>Status message of the request</td>\n</tr>\n<tr>\n<td>results</td>\n<td>object</td>\n<td>Order tracking data</td>\n</tr>\n<tr>\n<td>results.external_id</td>\n<td>string</td>\n<td>(nullable)External unique identifier</td>\n</tr>\n<tr>\n<td>results.order_token</td>\n<td>string</td>\n<td>Order unique identifier (length 60)</td>\n</tr>\n<tr>\n<td>results.tracking_id</td>\n<td>string</td>\n<td>Unique tracking code representing an order (for use in our tracking page <a href=\"https://gacela.co/v2t#/tracking\">https://gacela.co/v2t#/tracking</a>)</td>\n</tr>\n<tr>\n<td>results.tracking_url</td>\n<td>string, url</td>\n<td>Tracking page for this order</td>\n</tr>\n<tr>\n<td>results.chat_tracking_url</td>\n<td>string, url</td>\n<td>Chat-only page for this order</td>\n</tr>\n<tr>\n<td>results.store</td>\n<td>object</td>\n<td>Store object (origin)</td>\n</tr>\n<tr>\n<td>results.store.name</td>\n<td>string</td>\n<td>Store's name</td>\n</tr>\n<tr>\n<td>results.store.lat</td>\n<td>float</td>\n<td>Store location latitude</td>\n</tr>\n<tr>\n<td>results.store.lng</td>\n<td>float</td>\n<td>Store location longitude</td>\n</tr>\n<tr>\n<td>results.order_address</td>\n<td>object</td>\n<td>Order address data</td>\n</tr>\n<tr>\n<td>results.order_address.address</td>\n<td>string</td>\n<td>Delivery address</td>\n</tr>\n<tr>\n<td>results.order_address.reference</td>\n<td>string</td>\n<td>Delivery address reference (returns empty string if not sent)</td>\n</tr>\n<tr>\n<td>results.order_address.lat</td>\n<td>float</td>\n<td>Delivery location latitude</td>\n</tr>\n<tr>\n<td>results.order_address.lng</td>\n<td>float</td>\n<td>Delivery location longitude</td>\n</tr>\n<tr>\n<td>results.driver</td>\n<td>object</td>\n<td>(nullable)Data of the driver delivering the order</td>\n</tr>\n<tr>\n<td>results.driver.lat</td>\n<td>float</td>\n<td>(nullable)Driver’s current position (latitude)</td>\n</tr>\n<tr>\n<td>results.driver.lng</td>\n<td>float</td>\n<td>(nullable)Driver’s current position (longitude)</td>\n</tr>\n<tr>\n<td>results.driver.name</td>\n<td>string</td>\n<td>Driver’s name</td>\n</tr>\n<tr>\n<td>results.driver.lastname</td>\n<td>string</td>\n<td>Driver’s last name</td>\n</tr>\n<tr>\n<td>results.driver.document</td>\n<td>string</td>\n<td>Driver’s ID</td>\n</tr>\n<tr>\n<td>results.driver.plate</td>\n<td>string</td>\n<td>Driver’s vehicle license plate</td>\n</tr>\n<tr>\n<td>results.driver.photo</td>\n<td>string</td>\n<td>Driver’s photo (URL)</td>\n</tr>\n<tr>\n<td>results.driver.phone</td>\n<td>string</td>\n<td>Driver’s phone number</td>\n</tr>\n<tr>\n<td>results.driver.support_code</td>\n<td>string</td>\n<td>Driver’s support code for Call Center (If the answer is a call center)</td>\n</tr>\n<tr>\n<td>results.delivering</td>\n<td>boolean</td>\n<td>Driver is currently handling/delivering this order (can only be false when driver has multiple orders at the same time)</td>\n</tr>\n<tr>\n<td>results.current_status</td>\n<td>object</td>\n<td>Order's current status object</td>\n</tr>\n<tr>\n<td>results.current_status.name</td>\n<td>string</td>\n<td>Order status name (see table above for reference)</td>\n</tr>\n<tr>\n<td>results.current_status.code</td>\n<td>string</td>\n<td>Order status code (see table above for reference)</td>\n</tr>\n<tr>\n<td>results.current_status.lat</td>\n<td>string</td>\n<td>(nullable)Latitude in which the status was changed by the driver</td>\n</tr>\n<tr>\n<td>results.current_status.lng</td>\n<td>string</td>\n<td>(nullable)Longitude in which the status was changed by the driver</td>\n</tr>\n<tr>\n<td>results.current_status.created _at</td>\n<td>object</td>\n<td>Timezone-aware timestamp object of the status’ creation</td>\n</tr>\n<tr>\n<td>results.current_status.created _at.date</td>\n<td>timestamp</td>\n<td>Status creation date and time</td>\n</tr>\n<tr>\n<td>results.current_status.created <em>at.timezone</em> type</td>\n<td>unsigned integer</td>\n<td>Timezone type</td>\n</tr>\n<tr>\n<td>results.current_status.created _at.timezone</td>\n<td>string</td>\n<td>Timezone name</td>\n</tr>\n<tr>\n<td>results.statuses</td>\n<td>array</td>\n<td>Contains all order states sorted in descending order by creation date</td>\n</tr>\n<tr>\n<td>results.statuses[].name</td>\n<td>string</td>\n<td>Order status name (see table above for reference)</td>\n</tr>\n<tr>\n<td>results.statuses[].code</td>\n<td>string</td>\n<td>Order status code (see table above for reference)</td>\n</tr>\n<tr>\n<td>results.statuses[].lat</td>\n<td>string</td>\n<td>(nullable)Latitude in which the status was changed by the driver</td>\n</tr>\n<tr>\n<td>results.statuses[].lng</td>\n<td>string</td>\n<td>(nullable)Longitude in which the status was changed by the driver</td>\n</tr>\n<tr>\n<td>results.statuses[].created _at</td>\n<td>object</td>\n<td>Timezone-aware timestamp object of the status’ creation</td>\n</tr>\n<tr>\n<td>results.statuses[].created _at.date</td>\n<td>timestamp</td>\n<td>Status creation date and time</td>\n</tr>\n<tr>\n<td>results.statuses[].created <em>at.timezone</em> type</td>\n<td>unsigned integer</td>\n<td>Timezone type</td>\n</tr>\n<tr>\n<td>results.statuses[].created _at.timezone</td>\n<td>string</td>\n<td>Timezone name</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["api","external_order_tracking"],"query":[],"variable":[]}},"response":[{"id":"dbd84dbb-6da9-4f25-b256-bbc88c882f71","name":"Tracking: External ID","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer <company_api_token>","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"api_token_gacela\": \"<store_api_token>\",\n    \"external_id\": \"<your_order_identifier>\"\n}","options":{"raw":{"language":"json"}}},"url":"https://gacela.dev/api/external_order_tracking"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.0"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 06 Aug 2020 03:47:56 GMT"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"Orden encontrada.\",\n    \"results\": {\n        \"external_id\": \"<your_order_identifier>\",\n        \"order_token\": \"<order_token>\",\n        \"tracking_id\": \"<order_tracking_code>\",\n        \"tracking_url\": \"https://gacela.co/#/tracking/<store_slug>/<tracking_id>\",\n        \"chat_tracking_url\": \"https://gacela.co/order-tracking#/chat/<store_slug>/<tracking_id>\",\n        \"store\": {\n            \"name\": \"Store name\",\n            \"lat\": -2.0463881,\n            \"lng\": -79.902457\n        },\n        \"order_address\": {\n            \"address\": \"Delivery address\",\n            \"reference\": \"Delivery reference\",\n            \"lat\": -2.044067,\n            \"lng\": -79.9160709\n        },\n        \"delivering\": true,\n        \"current_status\": {\n            \"name\": \"Llegue\",\n            \"code\": \"AT_DROPOFF\",\n            \"lat\": \"-2.0421645\",\n            \"lng\": \"-79.9151550\",\n            \"created_at\": {\n                \"date\": \"2020-08-05 22:29:49.000000\",\n                \"timezone_type\": 3,\n                \"timezone\": \"America/Guayaquil\"\n            }\n        },\n        \"statuses\": [\n            {\n                \"name\": \"Llegue\",\n                \"code\": \"AT_DROPOFF\",\n                \"lat\": \"-2.0421645\",\n                \"lng\": \"-79.9151550\",\n                \"created_at\": {\n                    \"date\": \"2020-08-05 22:29:49.000000\",\n                    \"timezone_type\": 3,\n                    \"timezone\": \"America/Guayaquil\"\n                }\n            },\n            {\n                \"name\": \"Con Pedido\",\n                \"code\": \"DELIVERING\",\n                \"lat\": \"-2.0551363\",\n                \"lng\": \"-79.8751029\",\n                \"created_at\": {\n                    \"date\": \"2020-08-05 22:23:50.000000\",\n                    \"timezone_type\": 3,\n                    \"timezone\": \"America/Guayaquil\"\n                }\n            },\n            {\n                \"name\": \"Local\",\n                \"code\": \"AT_PICKUP\",\n                \"lat\": \"-2.0547561\",\n                \"lng\": \"-79.8724529\",\n                \"created_at\": {\n                    \"date\": \"2020-08-05 22:16:27.000000\",\n                    \"timezone_type\": 3,\n                    \"timezone\": \"America/Guayaquil\"\n                }\n            },\n            {\n                \"name\": \"En Camino\",\n                \"code\": \"ASSIGNED\",\n                \"lat\": \"-2.0547570\",\n                \"lng\": \"-79.8724517\",\n                \"created_at\": {\n                    \"date\": \"2020-08-05 22:16:24.000000\",\n                    \"timezone_type\": 3,\n                    \"timezone\": \"America/Guayaquil\"\n                }\n            },\n            {\n                \"name\": \"Creada\",\n                \"code\": \"CREATED\",\n                \"lat\": null,\n                \"lng\": null,\n                \"created_at\": {\n                    \"date\": \"2020-08-05 22:15:47.000000\",\n                    \"timezone_type\": 3,\n                    \"timezone\": \"America/Guayaquil\"\n                }\n            }\n        ],\n        \"driver\": {\n            \"name\": \"John Albert\",\n            \"lastname\": \"Doe Smith\",\n            \"document\": \"9999999999\",\n            \"plate\": \"ABC123A\",\n            \"photo\": \"https://example.com/driver_photo.jpg\",\n            \"phone\": \"9999999999\",\n            \"support_code\": \"57453903\",\n            \"lat\": -2.0439105,\n            \"lng\": -79.9160214\n        }\n    }\n}"}],"_postman_id":"34fa3597-f903-476c-852a-b655bc4c2de5"}],"id":"2c8fd0d3-4162-45a7-a384-8a80256b8e39","description":"<p>You may use the following endpoints to track an order using its identifiers (order token or external ID).<br />Note: these endpoints have a limit of 200 requests per minute.</p>\n","event":[{"listen":"prerequest","script":{"id":"c891dc56-6df2-4409-9d67-21d6f6cd1600","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"2a099774-b8ed-4342-b441-ef42e012cdb8","type":"text/javascript","exec":[""]}}],"_postman_id":"2c8fd0d3-4162-45a7-a384-8a80256b8e39"},{"name":"Demand Alerts","item":[{"name":"Demand status","id":"7822b8b4-7605-4bb4-8356-c906fbf4b3cb","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    \"api_token_gacela\": \"<store_api_token>\"\n}"},"url":"/api/demand_stats/current_alert","description":"<p>This endpoint returns a store's demand status. Gacela Delivery handles two types of demand alerts: <em>alerta</em> (medium demand) and <em>bloqueo</em> (high demand). Medium and high demand alerts are notified via webhook (configured per store) to a configured endpoint. </p>\n<p><strong>Request Body Parameters</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>api_token_gacela</td>\n<td>string</td>\n<td>Store API token</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Response Parameters</strong></p>\n<h5 id=\"status-code-200-ok\">Status-Code: 200 OK</h5>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>status</td>\n<td>string</td>\n<td>Status message of the request</td>\n</tr>\n<tr>\n<td>results</td>\n<td>object</td>\n<td>*(nullable)*JSON object containing demand alert information</td>\n</tr>\n<tr>\n<td>results.date</td>\n<td>string, date</td>\n<td>Creation date of the alert</td>\n</tr>\n<tr>\n<td>results.type</td>\n<td>string</td>\n<td>Type of alert (types: <em>alerta</em> or <em>bloqueo</em>)</td>\n</tr>\n<tr>\n<td>results.token</td>\n<td>string</td>\n<td>Unique identifier representing a demand alert</td>\n</tr>\n<tr>\n<td>results.message</td>\n<td>string</td>\n<td>Description of the alert</td>\n</tr>\n<tr>\n<td>results.response_url</td>\n<td>string, url</td>\n<td>Response URL of the alert (users may acknowledge receiving this alert by sending a POST request to this URL)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["api","demand_stats","current_alert"],"query":[],"variable":[]}},"response":[{"id":"806e8606-15eb-46ce-be9f-209e90dc72b0","name":"High demand alert","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer <company_api_token>"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"api_token_gacela\": \"<store_api_token>\"\n}"},"url":"https://gacela.dev/api/demand_stats/current_alert"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 26 Mar 2021 21:52:26 GMT"},{"key":"X-RateLimit-Limit","value":"200"},{"key":"X-RateLimit-Remaining","value":"199"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"Alerta encontrada exitosamente\",\n    \"results\": {\n        \"date\": \"2021-03-26\",\n        \"type\": \"bloqueo\",\n        \"token\": \"z3611KWtc0r0u65TOPE6Og2a\",\n        \"message\": \"En este momento hay muy alta demanda en el sector y no es posible atender su solicitud en los tiempos que corresponde. Solicitamos muy amablemente intentar de nuevo en al menos 15 minutos, en cuanto la demanda haya disminuido.\",\n        \"response_url\": \"<gacela_base_url>/api/demand_stats/notifications/z3611KWtc0r0u65TOPE6Og2a/resolve\"\n    }\n}"},{"id":"e1b38d6e-5764-469d-87f1-44f0827aa238","name":"No demand alert","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer <company_api_token>"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"api_token_gacela\": \"<store_api_token>\"\n}"},"url":"https://gacela.dev/api/demand_stats/current_alert"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 26 Mar 2021 21:54:36 GMT"},{"key":"X-RateLimit-Limit","value":"200"},{"key":"X-RateLimit-Remaining","value":"199"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"No se encontraron alertas\",\n    \"results\": null\n}"},{"id":"7b848450-b276-48ff-ae4a-6da60fcb1cf7","name":"Medium demand alert","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer <company_api_token>"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"api_token_gacela\": \"<store_api_token>\"\n}"},"url":"https://gacela.dev/api/demand_stats/current_alert"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 26 Mar 2021 21:56:37 GMT"},{"key":"X-RateLimit-Limit","value":"200"},{"key":"X-RateLimit-Remaining","value":"199"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"Alerta encontrada exitosamente\",\n    \"results\": {\n        \"date\": \"2021-03-26\",\n        \"type\": \"alerta\",\n        \"token\": \"AbC1AKWtx0r0u65TOPE6Og2a\",\n        \"message\": \"En este momento hay una alta demanda de pedidos en el sector y los tiempos de recolección y entrega podrían verse afectados. En el caso de continuar con la solicitud, sugerimos notificar a los consumidores que sus órdenes podrían tardar más de lo esperado.\",\n        \"response_url\": \"https://gacela.dev/api/demand_stats/notifications/AbC1AKWtx0r0u65TOPE6Og2a/resolve\"\n    }\n}"}],"_postman_id":"7822b8b4-7605-4bb4-8356-c906fbf4b3cb"},{"name":"Acknowledge demand notification","id":"d8c4552f-da3b-4fe6-85c2-ce4c4bc232c4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"external_source\": \"<your_subject_type>\",\n    \"external_id\": \"<your_subject_id>\"\n}"},"url":"/api/demand_stats/notifications/<alert_token>/resolve","description":"<p>Using the demand alert's <strong>token</strong>, users may acknowledge receiving a demand alert notification by sending a POST request to this endpoint. Every demand alert has a unique alert token.</p>\n<p><strong>Request Body Parameters</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>external_source</td>\n<td>string</td>\n<td>Entity who acknowledges receiving the alert (example: a customer in a mobile app</td>\n</tr>\n<tr>\n<td>external_id</td>\n<td>string</td>\n<td>ID of the entity who acknowledges receiving the alert (example: a customer in a mobile app</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["api","demand_stats","notifications","<alert_token>","resolve"],"query":[],"variable":[]}},"response":[{"id":"40735aa4-a727-4d93-9903-81ec4091c0ea","name":"Acknowledge demand notification","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"external_source\": \"<your_subject_type>\",\n    \"external_id\": \"<your_subject_id>\"\n}"},"url":"https://gacela.dev/api/demand_stats/notifications/ABCuRsd15JHfXnlxAaEmCUVf/resolve"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 26 Mar 2021 21:46:34 GMT"},{"key":"X-RateLimit-Limit","value":"200"},{"key":"X-RateLimit-Remaining","value":"199"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"Alerta resuelta exitosamente\",\n    \"results\": {\n        \"date\": \"2021-03-09\",\n        \"type\": \"bloqueo\",\n        \"token\": \"ABCuRsd15JHfXnlxAaEmCUVf\",\n        \"message\": \"En este momento hay muy alta demanda en el sector y no es posible atender su solicitud en los tiempos que corresponde. Solicitamos muy amablemente intentar de nuevo en al menos 15 minutos, en cuanto la demanda haya disminuido.\",\n        \"response_url\": \"https://gacela.dev/api/demand_stats/notifications/ABCuRsd15JHfXnlxAaEmCUVf/resolve\"\n    }\n}"}],"_postman_id":"d8c4552f-da3b-4fe6-85c2-ce4c4bc232c4"}],"id":"d1678c7f-189c-42f2-9ad6-8d44f7df9b03","description":"<p>This section refers to Gacela Delivery's demand analysis. We handle two types of demand alerts.</p>\n<p>Developers may request the current demand for a specific store. Gacela Delivery also notifies its clients when a demand alert is generated by sending a <em>POST</em> request to a configured webhook endpoint (demand alert webhooks are configured per store).</p>\n<p><strong>- Medium demand (alerta):</strong> we are experiencing increased demand in the store's area. Delivery times may be affected.</p>\n<p><strong>- High demand (bloqueo):</strong> due to increased demand, we cannot handle any new delivery requests at this time. Order creation requests will be blocked for a while.</p>\n<p><strong>Types of demand alerts:</strong></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>alerta</td>\n<td>Medium demand (delivery times may be affected)</td>\n</tr>\n<tr>\n<td>bloqueo</td>\n<td>High demand <strong>IMPORTANT: no couriers available at this time. We will block incoming order creation requests for a while</strong></td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"d1678c7f-189c-42f2-9ad6-8d44f7df9b03"},{"name":"Stores","item":[{"name":"Get stores info","id":"1dd0dc86-f50a-4aaa-9f37-6cebc8f14977","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"/api/company/stores_info","description":"<p>Fetch data on all your stores registered in our system.</p>\n<h4 id=\"response-parameters\">Response Parameters</h4>\n<h5 id=\"status-code-200-ok\">Status-Code: 200 OK</h5>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>status</td>\n<td>string</td>\n<td>Status message of the request</td>\n</tr>\n<tr>\n<td>results</td>\n<td>object</td>\n<td>Request results</td>\n</tr>\n<tr>\n<td>results.num_stores</td>\n<td>integer</td>\n<td>Number of stores registered in our system</td>\n</tr>\n<tr>\n<td>results.stores</td>\n<td>array</td>\n<td>Array of stores</td>\n</tr>\n<tr>\n<td>results.stores[].api_token</td>\n<td>string</td>\n<td>Store API token</td>\n</tr>\n<tr>\n<td>results.stores[].external_id</td>\n<td>string</td>\n<td>External store ID</td>\n</tr>\n<tr>\n<td>results.stores[].email</td>\n<td>string</td>\n<td>Store user email</td>\n</tr>\n<tr>\n<td>results.stores[].name</td>\n<td>string</td>\n<td>Store name</td>\n</tr>\n<tr>\n<td>results.stores[].latitude</td>\n<td>float</td>\n<td>Store's location latitude</td>\n</tr>\n<tr>\n<td>results.stores[].longitude</td>\n<td>float</td>\n<td>Store's location longitude</td>\n</tr>\n<tr>\n<td>results.stores[].address</td>\n<td>string</td>\n<td>Store's address</td>\n</tr>\n<tr>\n<td>results.stores[].reference</td>\n<td>string</td>\n<td>(nullable)Store's reference</td>\n</tr>\n<tr>\n<td>results.stores[].contact_name</td>\n<td>string</td>\n<td>(nullable)Contact name</td>\n</tr>\n<tr>\n<td>results.stores[].contact_lastname</td>\n<td>float</td>\n<td>(nullable)Contact last name</td>\n</tr>\n<tr>\n<td>results.stores[].contact_phone</td>\n<td>string</td>\n<td>Contact phone</td>\n</tr>\n<tr>\n<td>results.stores[].webhooks</td>\n<td>object</td>\n<td>Store webhooks</td>\n</tr>\n<tr>\n<td>results.stores[].webhooks.status_updates</td>\n<td>string</td>\n<td>(nullable)Configured status updates webhook for this store</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["api","company","stores_info"],"query":[],"variable":[]}},"response":[{"id":"c471bb3e-2708-4340-a42e-e5f75d91e496","name":"Get stores info","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer <company_api_token>","type":"text"}],"url":"https://gacela.co/api/company/stores_info"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.15.0"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 30 Oct 2020 21:15:11 GMT"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"Información de los locales.\",\n    \"results\": {\n        \"num_stores\": 2,\n        \"stores\": [\n            {\n                \"api_token\": \"<store_API_token>\",\n                \"external_id\": \"<store_external_ID>\",\n                \"email\": \"store_user_email\",\n                \"name\": \"<store_name>\",\n                \"latitude\": -2.1144306,\n                \"longitude\": -79.8701069,\n                \"address\": \"<store_address>\",\n                \"reference\": \"<store_reference>\",\n                \"contact_name\": \"<contact_name>\",\n                \"contact_lastname\": \"<contact_lastname>\",\n                \"contact_phone\": \"<contact_phone>\",\n                \"webhooks\": {\n                    \"status_updates\": \"<your_POST_server_endpoint>\"\n                }\n            },\n            {\n                \"api_token\": \"<store_API_token_2>\",\n                \"external_id\": \"<store_external_ID_2>\",\n                \"email\": \"<store_user_email_2>\",\n                \"name\": \"<store_name_2>\",\n                \"latitude\": -2.1144306,\n                \"longitude\": -79.8701069,\n                \"address\": \"<store_address_2>\",\n                \"reference\": \"<store_reference_2>\",\n                \"contact_name\": \"<contact_name_2>\",\n                \"contact_lastname\": \"<contact_lastname_2>\",\n                \"contact_phone\": \"<contact_phone_2>\",\n                \"webhooks\": {\n                    \"status_updates\": \"<your_POST_server_endpoint>\"\n                }\n            }\n        ]\n    }\n}"}],"_postman_id":"1dd0dc86-f50a-4aaa-9f37-6cebc8f14977"},{"name":"Create Store Request","id":"fc1928af-2dec-42a9-9bd2-2344c2572f8f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"external_id\": \"<your_unique_store_identifier>\",\n    \"name\": \"<store_name>\",\n    \"latitude\": -2.1687651,\n    \"longitude\": -79.9166224,\n    \"address\": \"<store_address>\",\n    \"reference\": \"<store_reference>\",\n    \"contact_name\": \"<store_contact_name>\",\n    \"contact_lastname\": \"<store_contact_last_name>\",\n    \"contact_phone\": \"<store_contact_phone_number>\",\n    \"email\": \"store@company.com\",\n    \"password\": \"<store_user_password>\",\n    \"service_hours\": [\n        {\n            \"day\": \"monday\",\n            \"hours\": [\n                {\n                    \"start\": \"09:00\",\n                    \"end\": \"22:30\"\n                }\n            ]\n        },\n        {\n            \"day\": \"tuesday\",\n            \"hours\": [\n                {\n                    \"start\": \"09:00\",\n                    \"end\": \"22:30\"\n                }\n            ]\n        },\n        {\n            \"day\": \"wednesday\",\n            \"hours\": [\n                {\n                    \"start\": \"09:00\",\n                    \"end\": \"22:30\"\n                }\n            ]\n        },\n        {\n            \"day\": \"thursday\",\n            \"hours\": [\n                {\n                    \"start\": \"09:00\",\n                    \"end\": \"22:30\"\n                }\n            ]\n        },\n        {\n            \"day\": \"friday\",\n            \"hours\": [\n                {\n                    \"start\": \"09:00\",\n                    \"end\": \"22:30\"\n                }\n            ]\n        },\n        {\n            \"day\": \"saturday\",\n            \"hours\": [\n                {\n                    \"start\": \"10:00\",\n                    \"end\": \"14:00\"\n                },\n                {\n                    \"start\": \"16:00\",\n                    \"end\": \"22:30\"\n                }\n            ]\n        },\n        {\n            \"day\": \"sunday\",\n            \"hours\": [\n                {\n                    \"start\": \"10:00\",\n                    \"end\": \"14:00\"\n                },\n                {\n                    \"start\": \"16:00\",\n                    \"end\": \"22:30\"\n                }\n            ]\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"/api/requests/store_creation","description":"<p>You may send a store creation request to add additional stores for your company. Store creation requests have three possible states: Pending, Approved, or Rejected.</p>\n<ul>\n<li><strong>Pending</strong>: your request is being reviewed.</li>\n<li><strong>Approved</strong>: your request was accepted. You may retrieve the store API token using the stores info endpoint or the store requests endpoint.</li>\n<li><strong>Rejected</strong>: your request was rejected. Reasons for rejection usually are the following: no coverage in the store's area, incorrect store information, insufficient or incomplete information (address/reference not precise, or incomplete contact information).</li>\n</ul>\n<p>You may also configure a Store Creation Request webhook to receive realtime updates whenever a store creation request changes its state. Approved requests include the store's API token in the payload, so you can synchronize and activate your stores easily.</p>\n<h4 id=\"request-body-parameters\">Request Body Parameters</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>external_id</td>\n<td>string</td>\n<td>Your store unique identifier</td>\n</tr>\n<tr>\n<td>name</td>\n<td>string</td>\n<td>Store name</td>\n</tr>\n<tr>\n<td>address</td>\n<td>string</td>\n<td>Store address</td>\n</tr>\n<tr>\n<td>reference</td>\n<td>string</td>\n<td>Store address reference</td>\n</tr>\n<tr>\n<td>latitude</td>\n<td>float</td>\n<td>Store location latitude</td>\n</tr>\n<tr>\n<td>longitude</td>\n<td>float</td>\n<td>Store location longitude</td>\n</tr>\n<tr>\n<td>contact_name</td>\n<td>string</td>\n<td>Store contact's name</td>\n</tr>\n<tr>\n<td>contact_lastname</td>\n<td>string</td>\n<td>Store contact's last name</td>\n</tr>\n<tr>\n<td>contact_phone</td>\n<td>string</td>\n<td>Store contact's phone number</td>\n</tr>\n<tr>\n<td>email</td>\n<td>string, email</td>\n<td>(unique)Store's login email</td>\n</tr>\n<tr>\n<td>password</td>\n<td>string</td>\n<td>Store's login password (min 8 characters)</td>\n</tr>\n<tr>\n<td>service_hours</td>\n<td>array</td>\n<td>(optional)Array of store service hours</td>\n</tr>\n<tr>\n<td>service_hours[].day</td>\n<td>string</td>\n<td>Day of week (monday, tuesday, wednesday, thursday, friday, saturday, sunday)</td>\n</tr>\n<tr>\n<td>service_hours[].hours[]</td>\n<td>array</td>\n<td>Array of service hours during the day</td>\n</tr>\n<tr>\n<td>service_hours[].hours[].start</td>\n<td>string, time</td>\n<td>Service start time in HH:MM format</td>\n</tr>\n<tr>\n<td>service_hours[].hours[].end</td>\n<td>string, time</td>\n<td>Service end time in HH:MM format</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"response-parameters\">Response Parameters</h4>\n<h5 id=\"status-code-200-ok\">Status-Code: 200 OK</h5>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>status</td>\n<td>string</td>\n<td>Status message of the request</td>\n</tr>\n<tr>\n<td>results</td>\n<td>object</td>\n<td>Store request object</td>\n</tr>\n<tr>\n<td>results.external_id</td>\n<td>string</td>\n<td>Your store unique identifier</td>\n</tr>\n<tr>\n<td>results.name</td>\n<td>string</td>\n<td>Store name</td>\n</tr>\n<tr>\n<td>results.address</td>\n<td>string</td>\n<td>Store address</td>\n</tr>\n<tr>\n<td>results.reference</td>\n<td>string</td>\n<td>Store address reference</td>\n</tr>\n<tr>\n<td>results.latitude</td>\n<td>float</td>\n<td>Store location latitude</td>\n</tr>\n<tr>\n<td>results.longitude</td>\n<td>float</td>\n<td>Store location longitude</td>\n</tr>\n<tr>\n<td>results.contact_name</td>\n<td>string</td>\n<td>Store contact's name</td>\n</tr>\n<tr>\n<td>results.contact_lastname</td>\n<td>string</td>\n<td>Store contact's last name</td>\n</tr>\n<tr>\n<td>results.contact_phone</td>\n<td>string</td>\n<td>Store contact's phone number</td>\n</tr>\n<tr>\n<td>results.email</td>\n<td>string, email</td>\n<td>(unique)Store's login email</td>\n</tr>\n<tr>\n<td>results.service_hours</td>\n<td>array</td>\n<td>(optional)Array of store service hours</td>\n</tr>\n<tr>\n<td>results.service_hours[].day</td>\n<td>string</td>\n<td>Day of week (monday, tuesday, wednesday, thursday, friday, saturday, sunday)</td>\n</tr>\n<tr>\n<td>results.service_hours[].hours[]</td>\n<td>array</td>\n<td>Array of service hours during the day</td>\n</tr>\n<tr>\n<td>results.service_hours[].hours[].start</td>\n<td>string, time</td>\n<td>Service start time in HH:MM format</td>\n</tr>\n<tr>\n<td>results.service_hours[].hours[].end</td>\n<td>string, time</td>\n<td>Service end time in HH:MM format</td>\n</tr>\n<tr>\n<td>results.date</td>\n<td>string, date</td>\n<td>Date of the request</td>\n</tr>\n<tr>\n<td>results.status</td>\n<td>string</td>\n<td>Status of the request (Pending)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["api","requests","store_creation"],"query":[],"variable":[]}},"response":[{"id":"d9a34d54-e7b9-446b-bbc4-2bfec36cfccd","name":"Create Store Request","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer <company_api_token>","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"external_id\": \"<your_unique_store_identifier>\",\n    \"name\": \"<store_name>\",\n    \"latitude\": -2.1687651,\n    \"longitude\": -79.9166224,\n    \"address\": \"<store_address>\",\n    \"reference\": \"<store_reference>\",\n    \"contact_name\": \"<store_contact_name>\",\n    \"contact_lastname\": \"<store_contact_last_name>\",\n    \"contact_phone\": \"<store_contact_phone_number>\",\n    \"email\": \"store@company.com\",\n    \"password\": \"<store_user_password>\",\n    \"service_hours\": [\n        {\n            \"day\": \"monday\",\n            \"hours\": [\n                {\n                    \"start\": \"09:00\",\n                    \"end\": \"22:30\"\n                }\n            ]\n        },\n        {\n            \"day\": \"tuesday\",\n            \"hours\": [\n                {\n                    \"start\": \"09:00\",\n                    \"end\": \"22:30\"\n                }\n            ]\n        },\n        {\n            \"day\": \"wednesday\",\n            \"hours\": [\n                {\n                    \"start\": \"09:00\",\n                    \"end\": \"22:30\"\n                }\n            ]\n        },\n        {\n            \"day\": \"thursday\",\n            \"hours\": [\n                {\n                    \"start\": \"09:00\",\n                    \"end\": \"22:30\"\n                }\n            ]\n        },\n        {\n            \"day\": \"friday\",\n            \"hours\": [\n                {\n                    \"start\": \"09:00\",\n                    \"end\": \"22:30\"\n                }\n            ]\n        },\n        {\n            \"day\": \"saturday\",\n            \"hours\": [\n                {\n                    \"start\": \"10:00\",\n                    \"end\": \"14:00\"\n                },\n                {\n                    \"start\": \"16:00\",\n                    \"end\": \"22:30\"\n                }\n            ]\n        },\n        {\n            \"day\": \"sunday\",\n            \"hours\": [\n                {\n                    \"start\": \"10:00\",\n                    \"end\": \"14:00\"\n                },\n                {\n                    \"start\": \"16:00\",\n                    \"end\": \"22:30\"\n                }\n            ]\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://gacela.dev/api/requests/store_creation"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Thu, 03 Jun 2021 03:00:33 GMT"},{"key":"Date","value":"Thu, 03 Jun 2021 03:00:33 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.3.24"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"200"},{"key":"X-RateLimit-Remaining","value":"199"},{"key":"X-Frame-Options","value":"SAMEORIGIN"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"Solicitud procesada con éxito.\",\n    \"results\": {\n        \"external_id\": \"<your_unique_store_identifier>\",\n        \"name\": \"<store_name>\",\n        \"latitude\": -2.1687651,\n        \"longitude\": -79.9166224,\n        \"contact_name\": \"<store_contact_name>\",\n        \"contact_lastname\": \"<store_contact_last_name>\",\n        \"contact_phone\": \"<store_contact_phone_number>\",\n        \"email\": \"store@company.com\",\n        \"address\": \"<store_address>\",\n        \"reference\": \"<store_reference>\",\n        \"service_hours\": [\n            {\n                \"day\": \"monday\",\n                \"hours\": [\n                    {\n                        \"start\": \"09:00\",\n                        \"end\": \"22:30\"\n                    }\n                ]\n            },\n            {\n                \"day\": \"tuesday\",\n                \"hours\": [\n                    {\n                        \"start\": \"09:00\",\n                        \"end\": \"22:30\"\n                    }\n                ]\n            },\n            {\n                \"day\": \"wednesday\",\n                \"hours\": [\n                    {\n                        \"start\": \"09:00\",\n                        \"end\": \"22:30\"\n                    }\n                ]\n            },\n            {\n                \"day\": \"thursday\",\n                \"hours\": [\n                    {\n                        \"start\": \"09:00\",\n                        \"end\": \"22:30\"\n                    }\n                ]\n            },\n            {\n                \"day\": \"friday\",\n                \"hours\": [\n                    {\n                        \"start\": \"09:00\",\n                        \"end\": \"22:30\"\n                    }\n                ]\n            },\n            {\n                \"day\": \"saturday\",\n                \"hours\": [\n                    {\n                        \"start\": \"10:00\",\n                        \"end\": \"14:00\"\n                    },\n                    {\n                        \"start\": \"16:00\",\n                        \"end\": \"22:30\"\n                    }\n                ]\n            },\n            {\n                \"day\": \"sunday\",\n                \"hours\": [\n                    {\n                        \"start\": \"10:00\",\n                        \"end\": \"14:00\"\n                    },\n                    {\n                        \"start\": \"16:00\",\n                        \"end\": \"22:30\"\n                    }\n                ]\n            }\n        ],\n        \"date\": \"2021-06-02\",\n        \"status\": \"Pending\"\n    }\n}"}],"_postman_id":"fc1928af-2dec-42a9-9bd2-2344c2572f8f"},{"name":"Update Store Request","id":"b2421d22-7306-4e24-ab7e-f51f2ffc7ad0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"external_id\": \"<your_unique_store_identifier>\",\n    \"name\": \"<store_name>\",\n    \"latitude\": -2.1687651,\n    \"longitude\": -79.9166224,\n    \"address\": \"<store_address>\",\n    \"reference\": \"<store_reference>\",\n    \"contact_name\": \"<store_contact_name>\",\n    \"contact_lastname\": \"<store_contact_last_name>\",\n    \"contact_phone\": \"<store_contact_phone_number>\",\n    \"email\": \"store@company.com\",\n    \"password\": \"<store_user_password>\",\n    \"service_hours\": [\n        {\n            \"day\": \"monday\",\n            \"hours\": [\n                {\n                    \"start\": \"09:00\",\n                    \"end\": \"22:30\"\n                }\n            ]\n        },\n        {\n            \"day\": \"tuesday\",\n            \"hours\": [\n                {\n                    \"start\": \"09:00\",\n                    \"end\": \"22:30\"\n                }\n            ]\n        },\n        {\n            \"day\": \"wednesday\",\n            \"hours\": [\n                {\n                    \"start\": \"09:00\",\n                    \"end\": \"22:30\"\n                }\n            ]\n        },\n        {\n            \"day\": \"thursday\",\n            \"hours\": [\n                {\n                    \"start\": \"09:00\",\n                    \"end\": \"22:30\"\n                }\n            ]\n        },\n        {\n            \"day\": \"friday\",\n            \"hours\": [\n                {\n                    \"start\": \"09:00\",\n                    \"end\": \"22:30\"\n                }\n            ]\n        },\n        {\n            \"day\": \"saturday\",\n            \"hours\": [\n                {\n                    \"start\": \"10:00\",\n                    \"end\": \"14:00\"\n                },\n                {\n                    \"start\": \"16:00\",\n                    \"end\": \"22:30\"\n                }\n            ]\n        },\n        {\n            \"day\": \"sunday\",\n            \"hours\": [\n                {\n                    \"start\": \"10:00\",\n                    \"end\": \"14:00\"\n                },\n                {\n                    \"start\": \"16:00\",\n                    \"end\": \"22:30\"\n                }\n            ]\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"/api/requests/store_creation/<external_id>","description":"<p>Use this endpoint to modify an existing store request using the store's external_id and login email. You may update a Rejected request to change its state to Pending.</p>\n<h4 id=\"request-body-parameters\">Request Body Parameters</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>external_id</td>\n<td>string</td>\n<td>Your store unique identifier</td>\n</tr>\n<tr>\n<td>name</td>\n<td>string</td>\n<td>Store name</td>\n</tr>\n<tr>\n<td>address</td>\n<td>string</td>\n<td>Store address</td>\n</tr>\n<tr>\n<td>reference</td>\n<td>string</td>\n<td>Store address reference</td>\n</tr>\n<tr>\n<td>latitude</td>\n<td>float</td>\n<td>Store location latitude</td>\n</tr>\n<tr>\n<td>longitude</td>\n<td>float</td>\n<td>Store location longitude</td>\n</tr>\n<tr>\n<td>contact_name</td>\n<td>string</td>\n<td>Store contact's name</td>\n</tr>\n<tr>\n<td>contact_lastname</td>\n<td>string</td>\n<td>Store contact's last name</td>\n</tr>\n<tr>\n<td>contact_phone</td>\n<td>string</td>\n<td>Store contact's phone number</td>\n</tr>\n<tr>\n<td>email</td>\n<td>string, email</td>\n<td>(unique)Store's login email</td>\n</tr>\n<tr>\n<td>password</td>\n<td>string</td>\n<td>Store's login password (min 8 characters)</td>\n</tr>\n<tr>\n<td>service_hours</td>\n<td>array</td>\n<td>(optional)Array of store service hours</td>\n</tr>\n<tr>\n<td>service_hours[].day</td>\n<td>string</td>\n<td>Day of week (monday, tuesday, wednesday, thursday, friday, saturday, sunday)</td>\n</tr>\n<tr>\n<td>service_hours[].hours[]</td>\n<td>array</td>\n<td>Array of service hours during the day</td>\n</tr>\n<tr>\n<td>service_hours[].hours[].start</td>\n<td>string, time</td>\n<td>Service start time in HH:MM format</td>\n</tr>\n<tr>\n<td>service_hours[].hours[].end</td>\n<td>string, time</td>\n<td>Service end time in HH:MM format</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"response-parameters\">Response Parameters</h4>\n<h5 id=\"status-code-200-ok\">Status-Code: 200 OK</h5>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>status</td>\n<td>string</td>\n<td>Status message of the request</td>\n</tr>\n<tr>\n<td>results</td>\n<td>object</td>\n<td>Store request object</td>\n</tr>\n<tr>\n<td>results.external_id</td>\n<td>string</td>\n<td>Your store unique identifier</td>\n</tr>\n<tr>\n<td>results.name</td>\n<td>string</td>\n<td>Store name</td>\n</tr>\n<tr>\n<td>results.address</td>\n<td>string</td>\n<td>Store address</td>\n</tr>\n<tr>\n<td>results.reference</td>\n<td>string</td>\n<td>Store address reference</td>\n</tr>\n<tr>\n<td>results.latitude</td>\n<td>float</td>\n<td>Store location latitude</td>\n</tr>\n<tr>\n<td>results.longitude</td>\n<td>float</td>\n<td>Store location longitude</td>\n</tr>\n<tr>\n<td>results.contact_name</td>\n<td>string</td>\n<td>Store contact's name</td>\n</tr>\n<tr>\n<td>results.contact_lastname</td>\n<td>string</td>\n<td>Store contact's last name</td>\n</tr>\n<tr>\n<td>results.contact_phone</td>\n<td>string</td>\n<td>Store contact's phone number</td>\n</tr>\n<tr>\n<td>results.email</td>\n<td>string, email</td>\n<td>(unique)Store's login email</td>\n</tr>\n<tr>\n<td>results.service_hours</td>\n<td>array</td>\n<td>(optional)Array of store service hours</td>\n</tr>\n<tr>\n<td>results.service_hours[].day</td>\n<td>string</td>\n<td>Day of week (monday, tuesday, wednesday, thursday, friday, saturday, sunday)</td>\n</tr>\n<tr>\n<td>results.service_hours[].hours[]</td>\n<td>array</td>\n<td>Array of service hours during the day</td>\n</tr>\n<tr>\n<td>results.service_hours[].hours[].start</td>\n<td>string, time</td>\n<td>Service start time in HH:MM format</td>\n</tr>\n<tr>\n<td>results.service_hours[].hours[].end</td>\n<td>string, time</td>\n<td>Service end time in HH:MM format</td>\n</tr>\n<tr>\n<td>results.date</td>\n<td>string, date</td>\n<td>Date of the request</td>\n</tr>\n<tr>\n<td>results.status</td>\n<td>string</td>\n<td>Status of the request (Pending)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["api","requests","store_creation","<external_id>"],"query":[],"variable":[]}},"response":[{"id":"1072856b-1e14-4b87-8e7b-0311b1442126","name":"Update Store Request","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer <company_api_token>","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"external_id\": \"<your_unique_store_identifier>\",\n    \"name\": \"<store_name>\",\n    \"latitude\": -2.1687651,\n    \"longitude\": -79.9166224,\n    \"address\": \"<store_address>\",\n    \"reference\": \"<store_reference>\",\n    \"contact_name\": \"<store_contact_name>\",\n    \"contact_lastname\": \"<store_contact_last_name>\",\n    \"contact_phone\": \"<store_contact_phone_number>\",\n    \"email\": \"store@company.com\",\n    \"password\": \"<store_user_password>\",\n    \"service_hours\": [\n        {\n            \"day\": \"monday\",\n            \"hours\": [\n                {\n                    \"start\": \"09:00\",\n                    \"end\": \"22:30\"\n                }\n            ]\n        },\n        {\n            \"day\": \"tuesday\",\n            \"hours\": [\n                {\n                    \"start\": \"09:00\",\n                    \"end\": \"22:30\"\n                }\n            ]\n        },\n        {\n            \"day\": \"wednesday\",\n            \"hours\": [\n                {\n                    \"start\": \"09:00\",\n                    \"end\": \"22:30\"\n                }\n            ]\n        },\n        {\n            \"day\": \"thursday\",\n            \"hours\": [\n                {\n                    \"start\": \"09:00\",\n                    \"end\": \"22:30\"\n                }\n            ]\n        },\n        {\n            \"day\": \"friday\",\n            \"hours\": [\n                {\n                    \"start\": \"09:00\",\n                    \"end\": \"22:30\"\n                }\n            ]\n        },\n        {\n            \"day\": \"saturday\",\n            \"hours\": [\n                {\n                    \"start\": \"10:00\",\n                    \"end\": \"14:00\"\n                },\n                {\n                    \"start\": \"16:00\",\n                    \"end\": \"22:30\"\n                }\n            ]\n        },\n        {\n            \"day\": \"sunday\",\n            \"hours\": [\n                {\n                    \"start\": \"10:00\",\n                    \"end\": \"14:00\"\n                },\n                {\n                    \"start\": \"16:00\",\n                    \"end\": \"22:30\"\n                }\n            ]\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://gacela.dev/api/requests/store_creation/<your_unique_store_identifier>"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Thu, 03 Jun 2021 03:00:33 GMT"},{"key":"Date","value":"Thu, 03 Jun 2021 03:00:33 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.3.24"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"200"},{"key":"X-RateLimit-Remaining","value":"199"},{"key":"X-Frame-Options","value":"SAMEORIGIN"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"Solicitud procesada con éxito.\",\n    \"results\": {\n        \"external_id\": \"<your_unique_store_identifier>\",\n        \"name\": \"<store_name>\",\n        \"latitude\": -2.1687651,\n        \"longitude\": -79.9166224,\n        \"contact_name\": \"<store_contact_name>\",\n        \"contact_lastname\": \"<store_contact_last_name>\",\n        \"contact_phone\": \"<store_contact_phone_number>\",\n        \"email\": \"store@company.com\",\n        \"address\": \"<store_address>\",\n        \"reference\": \"<store_reference>\",\n        \"service_hours\": [\n            {\n                \"day\": \"monday\",\n                \"hours\": [\n                    {\n                        \"start\": \"09:00\",\n                        \"end\": \"22:30\"\n                    }\n                ]\n            },\n            {\n                \"day\": \"tuesday\",\n                \"hours\": [\n                    {\n                        \"start\": \"09:00\",\n                        \"end\": \"22:30\"\n                    }\n                ]\n            },\n            {\n                \"day\": \"wednesday\",\n                \"hours\": [\n                    {\n                        \"start\": \"09:00\",\n                        \"end\": \"22:30\"\n                    }\n                ]\n            },\n            {\n                \"day\": \"thursday\",\n                \"hours\": [\n                    {\n                        \"start\": \"09:00\",\n                        \"end\": \"22:30\"\n                    }\n                ]\n            },\n            {\n                \"day\": \"friday\",\n                \"hours\": [\n                    {\n                        \"start\": \"09:00\",\n                        \"end\": \"22:30\"\n                    }\n                ]\n            },\n            {\n                \"day\": \"saturday\",\n                \"hours\": [\n                    {\n                        \"start\": \"10:00\",\n                        \"end\": \"14:00\"\n                    },\n                    {\n                        \"start\": \"16:00\",\n                        \"end\": \"22:30\"\n                    }\n                ]\n            },\n            {\n                \"day\": \"sunday\",\n                \"hours\": [\n                    {\n                        \"start\": \"10:00\",\n                        \"end\": \"14:00\"\n                    },\n                    {\n                        \"start\": \"16:00\",\n                        \"end\": \"22:30\"\n                    }\n                ]\n            }\n        ],\n        \"date\": \"2021-06-02\",\n        \"status\": \"Pending\"\n    }\n}"}],"_postman_id":"b2421d22-7306-4e24-ab7e-f51f2ffc7ad0"},{"name":"Delete Store Request","id":"a5046d06-62b9-4d74-922e-b478bc46aca5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"/api/requests/store_creation/<external_id>","description":"<p>You may delete a store creation request using this endpoint. Only Pending and Rejected requests can be deleted.</p>\n","urlObject":{"path":["api","requests","store_creation","<external_id>"],"query":[],"variable":[]}},"response":[{"id":"115c4bc1-75e8-4051-8e3f-14c793744ec8","name":"Delete Store Request","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer <company_api_token>","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://gacela.dev/api/requests/store_creation/<your_store_identifier>"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Thu, 03 Jun 2021 03:00:33 GMT"},{"key":"Date","value":"Thu, 03 Jun 2021 03:00:33 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.3.24"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"200"},{"key":"X-RateLimit-Remaining","value":"199"},{"key":"X-Frame-Options","value":"SAMEORIGIN"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"Solicitud eliminada con éxito.\",\n    \"results\": null\n}"}],"_postman_id":"a5046d06-62b9-4d74-922e-b478bc46aca5"},{"name":"Get Store Requests","id":"17149f25-bc24-48dc-b12e-1ab56cf8b7ac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"/api/requests/store_creation/statuses","description":"<p>Use this endpoint to fetch all your store requests. Approved requests include the store's API token. Rejected requests include a reason for rejection. You may submit a PUT request using the same external ID and email to modify the existing request.</p>\n","urlObject":{"path":["api","requests","store_creation","statuses"],"query":[],"variable":[]}},"response":[{"id":"28f6966a-ba57-4958-be66-70bbfe3c0ab6","name":"Get Store Requests","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer <company_api_token>","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://gacela.dev/api/requests/store_creation/statuses"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Thu, 03 Jun 2021 03:36:59 GMT"},{"key":"Date","value":"Thu, 03 Jun 2021 03:36:59 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.3.24"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"200"},{"key":"X-RateLimit-Remaining","value":"199"},{"key":"X-Frame-Options","value":"SAMEORIGIN"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"Estado de solicitudes\",\n    \"results\": [\n        {\n            \"external_id\": \"<your_store_identifier>\",\n            \"name\": \"Store name\",\n            \"status\": \"Approved\",\n            \"reason\": null,\n            \"store\": {\n                \"api_token\": \"<approved_store_api_token>\",\n                \"external_id\": \"<your_store_identifier>\",\n                \"email\": \"store@company.com\",\n                \"name\": \"Store name\",\n                \"latitude\": -1.6538713,\n                \"longitude\": -78.6461247,\n                \"address\": \"Address\",\n                \"reference\": \"Reference\",\n                \"contact_name\": \"Contact name\",\n                \"contact_lastname\": \"Contact last name\",\n                \"contact_phone\": \"Contact phone number\"\n            }\n        },\n        {\n            \"external_id\": \"<your_store_identifier_2>\",\n            \"name\": \"Store 2 name\",\n            \"status\": \"Rejected\",\n            \"reason\": \"No coverage in the area\"\n        },\n        {\n            \"external_id\": \"<your_store_identifier_3>\",\n            \"name\": \"Store 3 name\",\n            \"status\": \"Pending\",\n            \"reason\": null\n        }\n    ]\n}"}],"_postman_id":"17149f25-bc24-48dc-b12e-1ab56cf8b7ac"}],"id":"dda28915-ef56-441d-8186-85c2faf43e56","_postman_id":"dda28915-ef56-441d-8186-85c2faf43e56","description":""},{"name":"Webhooks","item":[{"name":"Store Webhooks","item":[{"name":"Order Status Updates","item":[{"name":"Order status updates webhook","id":"07a24390-5ed7-4bbf-a99b-6462925952d5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{  \n    \"external_id\": \"<your_order_identifier>\", \n    \"order_token\": \"<order_token>\",  \n    \"tracking_id\": \"<order_tracking_code>\", \n    \"tracking_url\": \"https://gacela.co/#/tracking/<store_slug>/<tracking_id>\", \n    \"chat_tracking_url\": \"https://gacela.co/order-tracking#/chat/<store_slug>/<tracking_id>\",\n    \"driver\": {  \n        \"name\": \"Carlos Antonio\",  \n        \"lastname\": \"Rodriguez Garcia\",  \n        \"document\": \"0988888888\",  \n        \"plate\": \"XYZ1234\",  \n        \"photo\": \"https://example.com/driver_image2.jpg\",  \n        \"phone\": \"0999888888\",  \n        \"support_code\": \"57453903\",\n        \"lat\": -2.1477051,  \n        \"lng\": -79.8647598  \n    },\n    \"current_status\": {\n        \"name\": \"Local\",\n        \"code\": \"AT_PICKUP\",\n        \"lat\": \"-2.1477176\",\n        \"lng\": \"-79.8647559\",\n        \"observation\": null,\n        \"created_at\": {\n            \"date\": \"2020-07-27 13:46:59.000000\",\n            \"timezone_type\": 3,\n            \"timezone\": \"America/Guayaquil\"\n        }\n    },\n    \"statuses\": [  \n        {  \n            \"name\": \"Local\",  \n            \"code\": \"AT_PICKUP\",  \n            \"lat\": \"-2.1477176\",  \n            \"lng\": \"-79.8647559\",\n            \"observation\": null,\n            \"created_at\": {  \n                \"date\": \"2020-07-27 13:46:59.000000\",  \n                \"timezone_type\": 3,  \n                \"timezone\": \"America/Guayaquil\"  \n            }  \n        },  \n        {  \n            \"name\": \"En Camino\",  \n            \"code\": \"ASSIGNED\",  \n            \"lat\": \"-2.1408683\",  \n            \"lng\": \"-79.8643910\",\n            \"observation\": null,\n            \"created_at\": {  \n                \"date\": \"2020-07-27 13:37:41.000000\",  \n                \"timezone_type\": 3,  \n                \"timezone\": \"America/Guayaquil\"  \n            }  \n        },  \n        {  \n            \"name\": \"Cancelada\",  \n            \"code\": \"SEARCHING\",  \n            \"lat\": null,  \n            \"lng\": null,\n            \"observation\": null,\n            \"created_at\": {  \n                \"date\": \"2020-07-27 13:37:25.000000\",  \n                \"timezone_type\": 3,  \n                \"timezone\": \"America/Guayaquil\"  \n            }  \n        },  \n        {  \n            \"name\": \"En Camino\",  \n            \"code\": \"ASSIGNED\",  \n            \"lat\": \"-2.1194668\",  \n            \"lng\": \"-79.8666930\",\n            \"observation\": null,\n            \"created_at\": {  \n                \"date\": \"2020-07-27 13:20:22.000000\",  \n                \"timezone_type\": 3,  \n                \"timezone\": \"America/Guayaquil\"  \n            }  \n        },  \n        {  \n            \"name\": \"Creada\",  \n            \"code\": \"CREATED\",  \n            \"lat\": null,  \n            \"lng\": null,\n            \"observation\": null,\n            \"created_at\": {  \n                \"date\": \"2020-07-27 13:19:37.000000\",  \n                \"timezone_type\": 3,  \n                \"timezone\": \"America/Guayaquil\"  \n            }  \n        }  \n    ]  \n}","options":{"raw":{"language":"json"}}},"url":"<configured_webhook>","description":"<p>Configure this webhook in order to receive realtime updates whenever an order changes its state.</p>\n<p>Using the order's <strong>order_token</strong> and <strong>external_id</strong>, Gacela Delivery notifies its clients when an order changes its state by sending a <em>POST request</em> to a configured webhook endpoint. Webhook URLs are configured <strong>per store</strong>.</p>\n<p>A POST request is sent when the following events take place:</p>\n<ul>\n<li><p>A driver accepts the order and is on its way to the store (ASSIGNED)</p>\n</li>\n<li><p>The driver has arrived at the store (AT_PICKUP)</p>\n</li>\n<li><p>The driver is on its way to deliver the package (DELIVERING)</p>\n</li>\n<li><p>The driver has arrived at the drop off location (AT_DROPOFF)</p>\n</li>\n<li><p>The driver delivered the package (DELIVERED)</p>\n</li>\n<li><p>The driver could not deliver the package (NOT_DELIVERED)</p>\n</li>\n<li><p>Searching for a new driver (SEARCHING)</p>\n</li>\n<li><p>The order is deleted (DELETED)</p>\n</li>\n</ul>\n<h6 id=\"expected-response-and-webhook-retries\">Expected response and webhook retries</h6>\n<p>We expect all webhook endpoints to return a 200 (HTTP OK) status-code, no additional information is required.<br />We retry webhook POST requests every five minutes for up to two hours whenever we receive a failed status-code (4xx, 5xx). The payload of the webhook retries will always contain up-to-date order tracking information. Webhook retries stop when we receive a successful response (2xx).</p>\n<p><strong>Request Body Parameters</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>external_id</td>\n<td>string</td>\n<td>_(nullable)_External unique identifier representing an order</td>\n</tr>\n<tr>\n<td>order_token</td>\n<td>string</td>\n<td>Order unique identifier (length 60). <em>Note: same token generated upon order creation</em></td>\n</tr>\n<tr>\n<td>tracking_id</td>\n<td>string</td>\n<td>Unique tracking code representing an order (for use in our tracking page <a href=\"https://gacela.co/v2t#/tracking\">https://gacela.co/v2t#/tracking</a>)</td>\n</tr>\n<tr>\n<td>tracking_url</td>\n<td>string, url</td>\n<td>Tracking page for this order</td>\n</tr>\n<tr>\n<td>chat_tracking_url</td>\n<td>string, url</td>\n<td>Chat-only page for this order</td>\n</tr>\n<tr>\n<td>driver</td>\n<td>object</td>\n<td>_(nullable)_Data of the driver delivering the order</td>\n</tr>\n<tr>\n<td>driver.name</td>\n<td>string</td>\n<td>Driver's name</td>\n</tr>\n<tr>\n<td>driver.lastname</td>\n<td>string</td>\n<td>Driver's last name</td>\n</tr>\n<tr>\n<td>driver.document</td>\n<td>string</td>\n<td>Driver's identification number</td>\n</tr>\n<tr>\n<td>driver.phone</td>\n<td>string</td>\n<td>Driver's cellphone number</td>\n</tr>\n<tr>\n<td>driver.support_code</td>\n<td>string</td>\n<td>Driver’s support code for Call Center (If the answer is a call center)</td>\n</tr>\n<tr>\n<td>driver.photo</td>\n<td>string</td>\n<td>Driver's photo (URL)</td>\n</tr>\n<tr>\n<td>driver.plate</td>\n<td>string</td>\n<td>Driver's license plate</td>\n</tr>\n<tr>\n<td>driver.lat</td>\n<td>float</td>\n<td>_(nullable)_Driver's current position (latitude)</td>\n</tr>\n<tr>\n<td>driver.lng</td>\n<td>float</td>\n<td>_(nullable)_Driver's current position (longitude)</td>\n</tr>\n<tr>\n<td>current_status</td>\n<td>object</td>\n<td>Order's current status object</td>\n</tr>\n<tr>\n<td>current_status.name</td>\n<td>string</td>\n<td>Order status name (see table above for reference)</td>\n</tr>\n<tr>\n<td>current_status.code</td>\n<td>string</td>\n<td>Order status code (see table above for reference)</td>\n</tr>\n<tr>\n<td>current_status.lat</td>\n<td>string</td>\n<td>(nullable)Latitude in which the status was changed by the driver</td>\n</tr>\n<tr>\n<td>current_status.lng</td>\n<td>string</td>\n<td>(nullable)Longitude in which the status was changed by the driver</td>\n</tr>\n<tr>\n<td>current_status.observation</td>\n<td>string</td>\n<td>_(nullable)_Driver observation</td>\n</tr>\n<tr>\n<td>current_status.created _at</td>\n<td>object</td>\n<td>Timezone-aware timestamp object of the status’ creation</td>\n</tr>\n<tr>\n<td>current_status.created _at.date</td>\n<td>timestamp</td>\n<td>Status creation date and time</td>\n</tr>\n<tr>\n<td>current_status.created <em>at.timezone</em> type</td>\n<td>unsigned integer</td>\n<td>Timezone type</td>\n</tr>\n<tr>\n<td>current_status.created _at.timezone</td>\n<td>string</td>\n<td>Timezone name</td>\n</tr>\n<tr>\n<td>statuses</td>\n<td>array</td>\n<td>Contains all order states sorted in <strong>descending order by creation date</strong></td>\n</tr>\n<tr>\n<td>statuses[].name</td>\n<td>string</td>\n<td>Order status name (see table above for reference)</td>\n</tr>\n<tr>\n<td>statuses[].code</td>\n<td>string</td>\n<td>Order status code (see table above for reference)</td>\n</tr>\n<tr>\n<td>statuses[].lat</td>\n<td>string</td>\n<td>_(nullable)_Latitude in which the status was changed by the driver</td>\n</tr>\n<tr>\n<td>statuses[].lng</td>\n<td>string</td>\n<td>_(nullable)_Longitude in which the status was changed by the driver</td>\n</tr>\n<tr>\n<td>statuses[].observation</td>\n<td>string</td>\n<td>_(nullable)_Driver observation</td>\n</tr>\n<tr>\n<td>statuses[].created_at</td>\n<td>object</td>\n<td>Timezone-aware timestamp object of the status' creation</td>\n</tr>\n<tr>\n<td>statuses[].created_at.date</td>\n<td>timestamp</td>\n<td>Status creation date and time</td>\n</tr>\n<tr>\n<td>statuses[].created_at.timezone_type</td>\n<td>unsigned integer</td>\n<td>Timezone type</td>\n</tr>\n<tr>\n<td>statuses[].created_at.timezone</td>\n<td>string</td>\n<td>Timezone name</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"host":["<configured_webhook>"],"query":[],"variable":[]}},"response":[],"_postman_id":"07a24390-5ed7-4bbf-a99b-6462925952d5"}],"id":"50f8617f-0329-4aeb-bae1-a9d0a26c2b23","description":"<p>Configure this webhook to receive updates whenever an order changes its state.</p>\n<p>In Gacela Delivery, an order's delivery process is governed by several order states.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Code</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Creada</td>\n<td>CREATED</td>\n<td>Order created successfully</td>\n</tr>\n<tr>\n<td>En Camino <em>(or En Camino +)</em></td>\n<td>ASSIGNED</td>\n<td>Driver has accepted the order and is on its way to pick up the package</td>\n</tr>\n<tr>\n<td>Local <em>(or Local +)</em></td>\n<td>AT_PICKUP</td>\n<td>Driver has arrived at the store and is ready to pick up the package</td>\n</tr>\n<tr>\n<td>Con Pedido <em>(or Con Pedido +)</em></td>\n<td>DELIVERING</td>\n<td>Driver has left the store and is on its way to deliver the package to the customer</td>\n</tr>\n<tr>\n<td>Llegue (or Llegue +)</td>\n<td>AT_DROPOFF</td>\n<td>Driver has arrived at drop off location</td>\n</tr>\n<tr>\n<td>Entregada</td>\n<td>DELIVERED</td>\n<td>Driver has successfully delivered the package</td>\n</tr>\n<tr>\n<td>No Entregada</td>\n<td>NOT_DELIVERED</td>\n<td>Driver could not deliver the package</td>\n</tr>\n<tr>\n<td>Cancelada</td>\n<td>SEARCHING</td>\n<td>Order is being assigned to another driver</td>\n</tr>\n<tr>\n<td>Eliminada</td>\n<td>DELETED</td>\n<td>Order has been deleted</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"50f8617f-0329-4aeb-bae1-a9d0a26c2b23"},{"name":"Demand Alerts","item":[{"name":"Demand alerts webhook","id":"7fdf6278-3599-4808-a9a7-9dcc03f8aada","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"<auth_key>","value":"<auth_value>","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"store_token\": \"<store_api_token>\",\n  \"alert_token\": \"<alert_token>\",\n  \"message\": \"En este momento hay una alta demanda de pedidos en el sector y los tiempos de recolección y entrega podrían verse afectados. En el caso de continuar con la solicitud, sugerimos notificar a los consumidores que sus órdenes podrían tardar más de lo esperado.\",\n  \"type\": \"alerta\",\n  \"created_at\": \"2021-03-29 14:00:07\",\n  \"blocked\": null,\n  \"response_url\": \"http://gacela.co/api/demand_stats/notifications/<alert_token>/resolve\"\n}","options":{"raw":{"language":"json"}}},"url":"<configured_webhook>","description":"<p>We will send a POST request to a configured webhook endpoint whenever a demand alert is generated for a store. The body of the request includes the store's API token and the demand alert info.</p>\n<p>A POST request is sent when the demand in the store's area has changed from:</p>\n<ul>\n<li>None to Medium</li>\n<li>None to High</li>\n<li>Medium to None</li>\n<li>Medium to High</li>\n<li>High to None</li>\n<li>High to Medium</li>\n</ul>\n","urlObject":{"host":["<configured_webhook>"],"query":[],"variable":[]}},"response":[{"id":"57eb283f-cfb1-4342-bb95-01232fe2093b","name":"Webhook medium demand alert","originalRequest":{"method":"POST","header":[{"key":"<auth_key>","value":"<auth_value>","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"store_token\": \"<store_api_token>\",\n  \"alert_token\": \"<alert_token>\",\n  \"message\": \"En este momento hay una alta demanda de pedidos en el sector y los tiempos de recolección y entrega podrían verse afectados. En el caso de continuar con la solicitud, sugerimos notificar a los consumidores que sus órdenes podrían tardar más de lo esperado.\",\n  \"type\": \"alerta\",\n  \"created_at\": \"2021-03-29 14:00:07\",\n  \"blocked\": null,\n  \"response_url\": \"http://gacela.co/api/demand_stats/notifications/<alert_token>/resolve\"\n}","options":{"raw":{"language":"json"}}},"url":"<configured_webhook>"},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null},{"id":"e6135945-65d5-4c4e-91e4-40daab291c77","name":"Webhook high demand alert","originalRequest":{"method":"POST","header":[{"key":"<auth_key>","value":"<auth_value>","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"store_token\": \"<store_api_token>\",\n  \"alert_token\": \"<alert_token>\",\n  \"message\": \"En este momento hay muy alta demanda en el sector y no es posible atender su solicitud en los tiempos que corresponde. Solicitamos muy amablemente intentar de nuevo en al menos 15 minutos, en cuanto la demanda haya disminuido.\",\n  \"type\": \"bloqueo\",\n  \"created_at\": \"2021-03-29 14:00:07\",\n  \"blocked\": \"2021-03-29 14:00:00 - 2021-03-29 14:10:00\",\n  \"response_url\": \"http://gacela.co/api/demand_stats/notifications/<alert_token>/resolve\"\n}","options":{"raw":{"language":"json"}}},"url":"<configured_webhook>"},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null},{"id":"37a920a5-aa7b-4fb5-a734-73ccac7e38a6","name":"Webhook no demand alert","originalRequest":{"method":"POST","header":[{"key":"<auth_key>","value":"<auth_value>","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"store_token\": \"<store_api_token>\",\n  \"alert_token\": null,\n  \"message\": null,\n  \"type\": null,\n  \"created_at\": \"2021-03-29 14:00:07\",\n  \"blocked\": null,\n  \"response_url\": null\n}","options":{"raw":{"language":"json"}}},"url":"<configured_webhook>"},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"7fdf6278-3599-4808-a9a7-9dcc03f8aada"}],"id":"b72f82be-12b2-4726-b55a-ac18cb4a2520","description":"<p>Configure this webhook in order to receive realtime updates whenever a store changes its demand status.</p>\n<p>To find out more about Gacela Delivery's demand analysis, please refer to the <strong>Demand Alerts</strong> section of this documentation.</p>\n","_postman_id":"b72f82be-12b2-4726-b55a-ac18cb4a2520"},{"name":"List webhooks","id":"f41eb64e-3289-4f44-befd-edd704861dcb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"api_token_gacela\": \"<store_api_token>\"\n}","options":{"raw":{"language":"json"}}},"url":"/api/webhooks/info","description":"<p>Get all configured webhook URLs for a specific store. </p>\n<h4 id=\"request-body-parameters\">Request Body Parameters</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>api_token_gacela</td>\n<td>string</td>\n<td>Store API token</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"response-parameters\">Response Parameters</h4>\n<h5 id=\"status-code-200-ok\">Status-Code: 200 OK</h5>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>status</td>\n<td>string</td>\n<td>Status message</td>\n</tr>\n<tr>\n<td>results</td>\n<td>object</td>\n<td>Response object</td>\n</tr>\n<tr>\n<td>results.api_token_gacela</td>\n<td>string</td>\n<td>Store API token</td>\n</tr>\n<tr>\n<td>results.webhooks</td>\n<td>object</td>\n<td>Store webhooks object</td>\n</tr>\n<tr>\n<td>results.webhooks.status_updates</td>\n<td>object</td>\n<td>Order status update webhook object</td>\n</tr>\n<tr>\n<td>results.webhooks.status_updates.url</td>\n<td>string, url</td>\n<td>Order status update webhook URL</td>\n</tr>\n<tr>\n<td>results.webhooks.status_updates.auth_key</td>\n<td>string</td>\n<td>Webhook auth key (e.g. Authorization)</td>\n</tr>\n<tr>\n<td>results.webhooks.status_updates.auth_value</td>\n<td>string</td>\n<td>Webhook auth value (e.g. Bearer token)</td>\n</tr>\n<tr>\n<td>results.webhooks.demand_alerts</td>\n<td>object</td>\n<td>Demand alerts webhook object</td>\n</tr>\n<tr>\n<td>results.webhooks.demand_alerts.url</td>\n<td>string, url</td>\n<td>Demand alerts webhook URL</td>\n</tr>\n<tr>\n<td>results.webhooks.demand_alerts.auth_key</td>\n<td>string</td>\n<td>Webhook auth key (e.g. Authorization)</td>\n</tr>\n<tr>\n<td>results.webhooks.demand_alerts.auth_value</td>\n<td>string</td>\n<td>Webhook auth value (e.g. Bearer token)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["api","webhooks","info"],"query":[],"variable":[]}},"response":[{"id":"ebc99a34-12fc-4657-a493-ea2bd5fdc3e1","name":"Store webhooks info","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer <company_api_token>","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"api_token_gacela\": \"<store_api_token>\"\n}","options":{"raw":{"language":"json"}}},"url":"https://gacela.dev/api/webhooks/info"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Thu, 13 Aug 2020 21:33:51 GMT"},{"key":"Date","value":"Thu, 13 Aug 2020 21:33:51 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.3.11"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-Frame-Options","value":"SAMEORIGIN"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"Webhooks configurados para este local.\",\n    \"results\": {\n        \"api_token_gacela\": \"<store_api_token>\",\n        \"webhooks\": {\n            \"status_updates\": {\n                \"url\": \"<your_POST_server_endpoint>\",\n                \"auth_key\": \"Authorization\",\n                \"auth_value\": \"Bearer token\"\n            },\n            \"demand_alerts\": {\n                \"url\": \"<your_POST_server_endpoint>\",\n                \"auth_key\": \"Authorization\",\n                \"auth_value\": \"Bearer token\"\n            }\n        }\n    }\n}"}],"_postman_id":"f41eb64e-3289-4f44-befd-edd704861dcb"},{"name":"Set webhook","id":"59393e24-29f4-46e3-be50-aa5ce923b1d1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"api_token_gacela\": \"<store_api_token>\",\n    \"url\": \"<your_POST_server_endpoint>\",\n    \"type\": \"<type_of_webhook>\",\n    \"auth_key\": \"Authorization\",\n    \"auth_value\": \"Bearer token\"\n}","options":{"raw":{"language":"json"}}},"url":"/api/webhooks/set","description":"<p>Set a webhook URL for a specific store. You may set two types of webhooks: <strong>status_updates</strong> and <strong>demand_alerts</strong>.</p>\n<h4 id=\"request-body-parameters\">Request Body Parameters</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>api_token_gacela</td>\n<td>string</td>\n<td>Store API token</td>\n</tr>\n<tr>\n<td>type</td>\n<td>string</td>\n<td>Webhook type (available types: <strong>status_updates</strong>, <strong>demand_alerts</strong>)</td>\n</tr>\n<tr>\n<td>url</td>\n<td>string, url</td>\n<td>Your server's POST endpoint</td>\n</tr>\n<tr>\n<td>auth_key</td>\n<td>string</td>\n<td>(optional)Webhook Auth key</td>\n</tr>\n<tr>\n<td>auth_value</td>\n<td>string</td>\n<td>(optional)Webhook Auth value</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"response-parameters\">Response Parameters</h4>\n<h5 id=\"status-code-200-ok\">Status-Code: 200 OK</h5>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>status</td>\n<td>string</td>\n<td>Status message</td>\n</tr>\n<tr>\n<td>results</td>\n<td>object</td>\n<td>Response object</td>\n</tr>\n<tr>\n<td>results.api_token_gacela</td>\n<td>string</td>\n<td>Store API token</td>\n</tr>\n<tr>\n<td>results.webhooks</td>\n<td>object</td>\n<td>Store webhooks object</td>\n</tr>\n<tr>\n<td>results.webhooks.status_updates</td>\n<td>object</td>\n<td>Order status update webhook object</td>\n</tr>\n<tr>\n<td>results.webhooks.status_updates.url</td>\n<td>string, url</td>\n<td>Order status update webhook URL</td>\n</tr>\n<tr>\n<td>results.webhooks.status_updates.auth_key</td>\n<td>string</td>\n<td>Webhook auth key (e.g. Authorization)</td>\n</tr>\n<tr>\n<td>results.webhooks.status_updates.auth_value</td>\n<td>string</td>\n<td>Webhook auth value (e.g. Bearer token)</td>\n</tr>\n<tr>\n<td>results.webhooks.demand_alerts</td>\n<td>object</td>\n<td>Demand alerts webhook object</td>\n</tr>\n<tr>\n<td>results.webhooks.demand_alerts.url</td>\n<td>string, url</td>\n<td>Demand alerts webhook URL</td>\n</tr>\n<tr>\n<td>results.webhooks.demand_alerts.auth_key</td>\n<td>string</td>\n<td>Webhook auth key (e.g. Authorization)</td>\n</tr>\n<tr>\n<td>results.webhooks.demand_alerts.auth_value</td>\n<td>string</td>\n<td>Webhook auth value (e.g. Bearer token)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["api","webhooks","set"],"query":[],"variable":[]}},"response":[{"id":"5701406b-e86a-4287-b3af-3236a91daf5e","name":"Set status updates webhook","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer <company_api_token>","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"api_token_gacela\": \"<store_api_token>\",\n    \"url\": \"<your_POST_server_endpoint>\",\n    \"type\": \"status_updates\",\n    \"auth_key\": \"Authorization\",\n    \"auth_value\": \"Bearer token\"\n}","options":{"raw":{"language":"json"}}},"url":"https://gacela.dev/api/webhooks/set"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Thu, 13 Aug 2020 21:33:51 GMT"},{"key":"Date","value":"Thu, 13 Aug 2020 21:33:51 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.3.11"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-Frame-Options","value":"SAMEORIGIN"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"Webhook agregado exitosamente.\",\n    \"results\": {\n        \"api_token_gacela\": \"<store_api_token>\",\n        \"webhooks\": {\n            \"status_updates\": {\n                \"url\": \"<your_POST_server_endpoint>\",\n                \"auth_key\": \"Authorization\",\n                \"auth_value\": \"Bearer token\"\n            },\n            \"demand_alerts\": {\n                \"url\": \"<your_POST_server_endpoint>\",\n                \"auth_key\": \"Authorization\",\n                \"auth_value\": \"Bearer token\"\n            }\n        }\n    }\n}"},{"id":"a4589f4c-23da-485e-8bd4-f7809d433093","name":"Set demand alerts webhook","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer <company_api_token>","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"api_token_gacela\": \"<store_api_token>\",\n    \"url\": \"<your_POST_server_endpoint>\",\n    \"type\": \"demand_alerts\",\n    \"auth_key\": \"Authorization\",\n    \"auth_value\": \"Bearer token\"\n}","options":{"raw":{"language":"json"}}},"url":"https://gacela.dev/api/webhooks/set"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Thu, 13 Aug 2020 21:33:51 GMT"},{"key":"Date","value":"Thu, 13 Aug 2020 21:33:51 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.3.11"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-Frame-Options","value":"SAMEORIGIN"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"Webhook agregado exitosamente.\",\n    \"results\": {\n        \"api_token_gacela\": \"<store_api_token>\",\n        \"webhooks\": {\n            \"status_updates\": {\n                \"url\": \"<your_POST_server_endpoint>\",\n                \"auth_key\": \"Authorization\",\n                \"auth_value\": \"Bearer token\"\n            },\n            \"demand_alerts\": {\n                \"url\": \"<your_POST_server_endpoint>\",\n                \"auth_key\": \"Authorization\",\n                \"auth_value\": \"Bearer token\"\n            }\n        }\n    }\n}"}],"_postman_id":"59393e24-29f4-46e3-be50-aa5ce923b1d1"},{"name":"Remove webhook","id":"50750d36-bf7c-497d-9be5-76d58979a6de","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"api_token_gacela\": \"<store_api_token>\",\n    \"type\": \"<webhook_type>\"\n}","options":{"raw":{"language":"json"}}},"url":"/api/webhooks/remove","description":"<p>Remove a webhook URL for a specific store.</p>\n<h4 id=\"request-body-parameters\">Request Body Parameters</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>api_token_gacela</td>\n<td>string</td>\n<td>Store API token</td>\n</tr>\n<tr>\n<td>type</td>\n<td>string</td>\n<td>Available types: <strong>status_updates</strong>, <strong>demand_alerts</strong></td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"response-parameters\">Response Parameters</h4>\n<h5 id=\"status-code-200-ok\">Status-Code: 200 OK</h5>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>status</td>\n<td>string</td>\n<td>Status message</td>\n</tr>\n<tr>\n<td>results</td>\n<td>object</td>\n<td>Response object</td>\n</tr>\n<tr>\n<td>results.api_token_gacela</td>\n<td>string</td>\n<td>Store API token</td>\n</tr>\n<tr>\n<td>results.webhooks</td>\n<td>object</td>\n<td>Store webhooks object</td>\n</tr>\n<tr>\n<td>results.webhooks.status_updates</td>\n<td>object</td>\n<td>Order status update webhook object</td>\n</tr>\n<tr>\n<td>results.webhooks.status_updates.url</td>\n<td>string, url</td>\n<td>Order status update webhook URL</td>\n</tr>\n<tr>\n<td>results.webhooks.status_updates.auth_key</td>\n<td>string</td>\n<td>Webhook auth key (e.g. Authorization)</td>\n</tr>\n<tr>\n<td>results.webhooks.status_updates.auth_value</td>\n<td>string</td>\n<td>Webhook auth value (e.g. Bearer token)</td>\n</tr>\n<tr>\n<td>results.webhooks.demand_alerts</td>\n<td>object</td>\n<td>Demand alerts webhook object</td>\n</tr>\n<tr>\n<td>results.webhooks.demand_alerts.url</td>\n<td>string, url</td>\n<td>Demand alerts webhook URL</td>\n</tr>\n<tr>\n<td>results.webhooks.demand_alerts.auth_key</td>\n<td>string</td>\n<td>Webhook auth key (e.g. Authorization)</td>\n</tr>\n<tr>\n<td>results.webhooks.demand_alerts.auth_value</td>\n<td>string</td>\n<td>Webhook auth value (e.g. Bearer token)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["api","webhooks","remove"],"query":[],"variable":[]}},"response":[{"id":"a6e4edd0-bc71-40fb-bd77-792cf5d3a3fe","name":"Remove status updates webhook","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer <company_api_token>","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"api_token_gacela\": \"<store_api_token>\",\n    \"type\": \"status_updates\"\n}","options":{"raw":{"language":"json"}}},"url":"https://gacela.dev/api/webhooks/remove"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Thu, 13 Aug 2020 21:33:51 GMT"},{"key":"Date","value":"Thu, 13 Aug 2020 21:33:51 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.3.11"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-Frame-Options","value":"SAMEORIGIN"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"Webhook removido exitosamente.\",\n    \"results\": {\n        \"api_token_gacela\": \"<store_api_token>\",\n        \"webhooks\": {\n            \"status_updates\": null,\n            \"demand_alerts\": {\n                \"url\": \"<your_POST_server_endpoint>\",\n                \"auth_key\": \"Authorization\",\n                \"auth_value\": \"Bearer token\"\n            }\n        }\n    }\n}"},{"id":"b8c479c0-1345-492b-88a1-7e815bedce02","name":"Remove demand alerts webhook","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer <company_api_token>","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"api_token_gacela\": \"<store_api_token>\",\n    \"type\": \"demand_alerts\"\n}","options":{"raw":{"language":"json"}}},"url":"https://gacela.dev/api/webhooks/remove"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Thu, 13 Aug 2020 21:33:51 GMT"},{"key":"Date","value":"Thu, 13 Aug 2020 21:33:51 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.3.11"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-Frame-Options","value":"SAMEORIGIN"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"Webhook removido exitosamente.\",\n    \"results\": {\n        \"api_token_gacela\": \"<store_api_token>\",\n        \"webhooks\": {\n            \"status_updates\": {\n                \"url\": \"<your_POST_server_endpoint>\",\n                \"auth_key\": \"Authorization\",\n                \"auth_value\": \"Bearer token\"\n            },\n            \"demand_alerts\": null\n        }\n    }\n}"}],"_postman_id":"50750d36-bf7c-497d-9be5-76d58979a6de"}],"id":"dbd4f906-4d4f-4e04-8e6f-edfcc059ee0d","description":"<p>Configure webhooks at the store level to get the following notifications in realtime:</p>\n<ul>\n<li><strong>Order Status Updates:</strong> receive a POST request whenever an order for a specific store changes its state.</li>\n<li><strong>Demand Alerts:</strong> receive a POST request whenever a store's demand status changes.</li>\n</ul>\n","_postman_id":"dbd4f906-4d4f-4e04-8e6f-edfcc059ee0d"},{"name":"Company Webhooks","item":[{"name":"Store Requests","item":[{"name":"Store requests webhook","id":"2e37927e-934e-4173-84ad-f0de1fb36fdf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"<auth_key>","value":"<auth_value>","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"external_id\": \"<external_id>\",\n  \"status\": \"Approved|Rejected\",\n  \"reason\": \"Reason for rejection or null if Approved\",\n  \"token\": \"<store_api_token> if Approved, null if Rejected\"\n}","options":{"raw":{"language":"json"}}},"url":"<configured_webhook>","urlObject":{"host":["<configured_webhook>"],"query":[],"variable":[]}},"response":[{"id":"8f890322-e715-4011-83b6-ef75ba895306","name":"Approved store request","originalRequest":{"method":"POST","header":[{"key":"<auth_key>","value":"<auth_value>","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"external_id\": \"<external_id>\",\n  \"status\": \"Approved\",\n  \"reason\": null,\n  \"token\": \"<store_api_token>\"\n}","options":{"raw":{"language":"json"}}},"url":"<configured_webhook>"},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null},{"id":"1492d87f-b5a1-426e-bf69-802a55490965","name":"Rejected store request","originalRequest":{"method":"POST","header":[{"key":"<auth_key>","value":"<auth_value>","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"external_id\": \"<external_id>\",\n  \"status\": \"Rejected\",\n  \"reason\": \"No coverage in this area.\",\n  \"token\": null\n}","options":{"raw":{"language":"json"}}},"url":"<configured_webhook>"},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"2e37927e-934e-4173-84ad-f0de1fb36fdf"}],"id":"9c6cdfa9-5cec-4c9e-a92a-95ad9a54bd86","description":"<p>Configure this webhook to receive updates whenever an store request changes its state. We will send a POST request when a store request changes state (<strong>Approved</strong> or <strong>Rejected</strong>)</p>\n","_postman_id":"9c6cdfa9-5cec-4c9e-a92a-95ad9a54bd86"},{"name":"List webhooks","id":"1b311c8b-c4ec-40aa-8cda-d401231d110c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"/api/webhooks/company","description":"<p>Get all configured webhook URLs for your company.</p>\n<h4 id=\"response-parameters\">Response Parameters</h4>\n<h5 id=\"status-code-200-ok\">Status-Code: 200 OK</h5>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>status</td>\n<td>string</td>\n<td>Status message</td>\n</tr>\n<tr>\n<td>results</td>\n<td>object</td>\n<td>Response object</td>\n</tr>\n<tr>\n<td>results.webhooks</td>\n<td>object</td>\n<td>Store webhooks object</td>\n</tr>\n<tr>\n<td>results.webhooks.store_token_requests</td>\n<td>object</td>\n<td>Store token requests webhook object</td>\n</tr>\n<tr>\n<td>results.webhooks.store_token_requests.url</td>\n<td>string, url</td>\n<td>Store token requests webhook URL</td>\n</tr>\n<tr>\n<td>results.webhooks.store_token_requests.auth_key</td>\n<td>string</td>\n<td>Webhook auth key (e.g. Authorization)</td>\n</tr>\n<tr>\n<td>results.webhooks.store_token_requests.auth_value</td>\n<td>string</td>\n<td>Webhook auth value (e.g. Bearer token)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["api","webhooks","company"],"query":[],"variable":[]}},"response":[{"id":"b139dbc7-cc92-4683-8506-221748201883","name":"List webhooks","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer <company_api_token>","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://gacela.dev/api/webhooks/company"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Tue, 22 Jun 2021 18:16:40 GMT"},{"key":"Date","value":"Tue, 22 Jun 2021 18:16:40 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.3.28"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-Frame-Options","value":"SAMEORIGIN"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"Webhooks configurados para esta empresa.\",\n    \"results\": {\n        \"webhooks\": {\n            \"store_token_requests\": {\n                \"url\": \"<your_POST_server_endpoint>\",\n                \"auth_key\": \"Authorization\",\n                \"auth_value\": \"Bearer token\"\n            }\n        }\n    }\n}"}],"_postman_id":"1b311c8b-c4ec-40aa-8cda-d401231d110c"},{"name":"Set webhook","id":"4ca3d9ca-e771-4711-adcd-ebeb309947cc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"type\": \"<type>\",\n    \"url\": \"<your_POST_endpoint>\"\n}","options":{"raw":{"language":"json"}}},"url":"/api/webhooks/company/set","description":"<p>Set a webhook URL for your company. You may set one type of webhook: <strong>store_token_requests</strong>.</p>\n<h4 id=\"request-body-parameters\">Request Body Parameters</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>type</td>\n<td>string</td>\n<td>Webhook type (available types: <strong>store_token_requests</strong>)</td>\n</tr>\n<tr>\n<td>url</td>\n<td>string, url</td>\n<td>Your server's POST endpoint</td>\n</tr>\n<tr>\n<td>auth_key</td>\n<td>string</td>\n<td>(optional)Webhook Auth key</td>\n</tr>\n<tr>\n<td>auth_value</td>\n<td>string</td>\n<td>(optional)Webhook Auth value</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"response-parameters\">Response Parameters</h4>\n<h5 id=\"status-code-200-ok\">Status-Code: 200 OK</h5>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>status</td>\n<td>string</td>\n<td>Status message</td>\n</tr>\n<tr>\n<td>results</td>\n<td>object</td>\n<td>Response object</td>\n</tr>\n<tr>\n<td>results.webhooks</td>\n<td>object</td>\n<td>Store webhooks object</td>\n</tr>\n<tr>\n<td>results.webhooks.store_token_requests</td>\n<td>object</td>\n<td>Store token requests webhook object</td>\n</tr>\n<tr>\n<td>results.webhooks.store_token_requests.url</td>\n<td>string, url</td>\n<td>Store token requests webhook URL</td>\n</tr>\n<tr>\n<td>results.webhooks.store_token_requests.auth_key</td>\n<td>string</td>\n<td>Webhook auth key (e.g. Authorization)</td>\n</tr>\n<tr>\n<td>results.webhooks.store_token_requests.auth_value</td>\n<td>string</td>\n<td>Webhook auth value (e.g. Bearer token)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["api","webhooks","company","set"],"query":[],"variable":[]}},"response":[{"id":"b4f59891-61f7-44de-bee1-40e44b1a379c","name":"Set webhook","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer <company_api_token>","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"type\": \"store_token_requests\",\n    \"url\": \"https://www.google.com\",\n    \"auth_key\": \"Authorization\",\n    \"auth_value\": \"Bearer token\"\n}","options":{"raw":{"language":"json"}}},"url":"https://gacela.dev/api/webhooks/company"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Tue, 22 Jun 2021 18:19:30 GMT"},{"key":"Date","value":"Tue, 22 Jun 2021 18:19:30 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.3.28"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-Frame-Options","value":"SAMEORIGIN"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"Webhook agregado exitosamente.\",\n    \"results\": {\n        \"webhooks\": {\n            \"store_token_requests\": {\n                \"url\": \"<your_POST_server_endpoint>\",\n                \"auth_key\": \"Authorization\",\n                \"auth_value\": \"Bearer token\"\n            }\n        }\n    }\n}"}],"_postman_id":"4ca3d9ca-e771-4711-adcd-ebeb309947cc"},{"name":"Remove webhook","id":"f5498e7d-17dd-461b-8076-12d3966cebd2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"type\": \"<type>\"\n}","options":{"raw":{"language":"json"}}},"url":"/api/webhooks/company/remove","description":"<p>Remove a webhook URL for your company.</p>\n<h4 id=\"request-body-parameters\">Request Body Parameters</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>type</td>\n<td>string</td>\n<td>Available types: <strong>store_token_requests</strong></td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"response-parameters\">Response Parameters</h4>\n<h5 id=\"status-code-200-ok\">Status-Code: 200 OK</h5>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>status</td>\n<td>string</td>\n<td>Status message</td>\n</tr>\n<tr>\n<td>results</td>\n<td>object</td>\n<td>Response object</td>\n</tr>\n<tr>\n<td>results.webhooks</td>\n<td>object</td>\n<td>Store webhooks object</td>\n</tr>\n<tr>\n<td>results.webhooks.store_token_requests</td>\n<td>object</td>\n<td>Store token requests webhook object</td>\n</tr>\n<tr>\n<td>results.webhooks.store_token_requests.url</td>\n<td>string, url</td>\n<td>Store token requests webhook URL</td>\n</tr>\n<tr>\n<td>results.webhooks.store_token_requests.auth_key</td>\n<td>string</td>\n<td>Webhook auth key (e.g. Authorization)</td>\n</tr>\n<tr>\n<td>results.webhooks.store_token_requests.auth_value</td>\n<td>string</td>\n<td>Webhook auth value (e.g. Bearer token)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["api","webhooks","company","remove"],"query":[],"variable":[]}},"response":[{"id":"2de6818c-8c31-43e8-9963-e6e6211b51ad","name":"Remove webhook","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer <company_api_token>","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"type\": \"store_token_requests\"\n}","options":{"raw":{"language":"json"}}},"url":"https://gacela.dev/api/webhooks/company/remove"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Tue, 22 Jun 2021 18:26:21 GMT"},{"key":"Date","value":"Tue, 22 Jun 2021 18:26:21 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.3.28"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-Frame-Options","value":"SAMEORIGIN"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"Webhook removido exitosamente.\",\n    \"results\": {\n        \"webhooks\": {\n            \"store_token_requests\": null\n        }\n    }\n}"}],"_postman_id":"f5498e7d-17dd-461b-8076-12d3966cebd2"}],"id":"87ed9782-32d2-4044-b8df-a975a0dfbdde","description":"<p>At the company level, you may configure a <strong>store token requests</strong> webhook endpoint to receive realtime updates whenever a store creation request changes its state (approved or rejected).</p>\n","_postman_id":"87ed9782-32d2-4044-b8df-a975a0dfbdde"}],"id":"253a1e3b-ea1e-46ab-885c-ae721026424d","description":"<p>This section refers to Gacela Delivery's webhook support. There are two types of webhooks: store webhooks and company webhooks.</p>\n<p><strong>Store webhooks</strong></p>\n<p>Each webhook endpoint is configured per store. You may configure two types of webhooks for your stores: <strong>order status updates</strong> and <strong>demand alerts</strong>. Note: it is allowed to set the same webhook URL for all of your stores.</p>\n<p><strong>Company webhooks</strong></p>\n<p>At the company level, you may configure a <strong>store requests</strong> webhook endpoint to get notifications whenever a store creation request changes its state.</p>\n","event":[{"listen":"prerequest","script":{"id":"83274db3-23d6-4a3e-bb51-3e92a0f033aa","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"c6e92cc1-71c3-4b07-969b-422a0fa4d9d8","type":"text/javascript","exec":[""]}}],"_postman_id":"253a1e3b-ea1e-46ab-885c-ae721026424d"},{"name":"aldeamo gacela","id":"89d1e665-f6b1-4d61-9e5c-3eb895161714","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\"country\":\"593\",\"message\":\"<#>Su codigo de verificacion para Gacela OTP es: 577941<br>P0E+NUGd2JG\",\"messageFormat\":1,\"addresseeList\":[{\"mobile\":\"991881653\"}]}","options":{"raw":{"language":"json"}}},"url":"https://apitellit.aldeamo.com/SmsiWS/smsSendPost/","urlObject":{"protocol":"https","path":["SmsiWS","smsSendPost",""],"host":["apitellit","aldeamo","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"89d1e665-f6b1-4d61-9e5c-3eb895161714"},{"name":"Aldeamo superesay","id":"ddbab4ac-8577-4e81-82f0-85c3b78d0a50","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Authorization","value":"Basic U3VwZXJFYXN5X09UUFMyOipTdXAzckU0c3kyNSo=","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\"country\":\"593\",\"message\":\"<#>Su codigo de verificacion para Gacela OTP es: 577941<br>P0E+NUGd2JG\",\"messageFormat\":1,\"addresseeList\":[{\"mobile\":\"991881653\"}]}","options":{"raw":{"language":"json"}}},"url":"https://apitellit.aldeamo.com/SmsiWS/smsSendPost/","urlObject":{"protocol":"https","path":["SmsiWS","smsSendPost",""],"host":["apitellit","aldeamo","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"ddbab4ac-8577-4e81-82f0-85c3b78d0a50"},{"name":"twilio","id":"2779cc80-e31b-4143-9b35-3dbc4086cbe7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\"country\":\"593\",\"message\":\"<#>Su codigo de verificacion para Gacela OTP es: 577941<br>P0E+NUGd2JG\",\"messageFormat\":1,\"addresseeList\":[{\"mobile\":\"991881653\"}]}","options":{"raw":{"language":"json"}}},"url":"https://apitellit.aldeamo.com/SmsiWS/smsSendPost/","urlObject":{"protocol":"https","path":["SmsiWS","smsSendPost",""],"host":["apitellit","aldeamo","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"2779cc80-e31b-4143-9b35-3dbc4086cbe7"}],"event":[{"listen":"prerequest","script":{"id":"d5b8ffd5-e7b7-4869-b0d3-0205e4c6a001","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"7ebe1c8e-1173-464e-97a6-b74dc1b0a176","type":"text/javascript","exec":[""]}}]}