{"info":{"_postman_id":"b37131fc-437c-4a12-9263-bf0c572d4d1b","name":"Yelo | Custom DMS Integration","description":"<html><head></head><body><h1 id=\"overview\">Overview</h1>\n<p>This documentation provides detailed steps for integrating your custom delivery <strong>Delivery Managerment System (<strong>DMS</strong>)</strong> with <strong>Yelo.</strong> By following these steps, you can smoothly send orders from your Yelo platform to your chosen DMS.</p>\n<h1 id=\"prerequisites\">Prerequisites</h1>\n<ul>\n<li>Access to your custom DMS API documentation.</li>\n<li>Yelo account with an API key.</li>\n</ul>\n<hr>\n<h2 id=\"configuring-custom-dms-url-on-yelo-dashboard\">Configuring Custom DMS URL on Yelo dashboard</h2>\n<ol>\n<li>From your Yelo dashboard go to \"Integration\".</li>\n<li>Click on \"Configure DMS\".</li>\n<li>In the \"Custom DMS Integration\" section, you'll find a list with details like DMS Name, URL, Auth Token, Status, and Action.</li>\n</ol>\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><code>DMS Name</code></td>\n<td>Custom DMS name. (eg : Dunzo)</td>\n</tr>\n<tr>\n<td><code>Email</code></td>\n<td>If there's an error while sending a webhook, information will be sent to the provided email.</td>\n</tr>\n<tr>\n<td><code>URL</code></td>\n<td>User defined endpoint to which order creation payload will be sent from Yelo.</td>\n</tr>\n<tr>\n<td><code>Auth Token</code></td>\n<td>Use to validate the received payloads. Will be sent in the <code>X-Yelo-Token</code> HTTP header.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Note :</strong> All fields are mandatory when adding DMS integration.</p>\n<p><strong>Note :</strong> You can only integrate one DMS at a time; it's not possible to integrate multiple DMS simultaneously.</p>\n<h4 id=\"reference-material-\">Reference Material :</h4>\n<ul>\n<li>Refer <a href=\"https://youtu.be/sld6UPWmPjs\">here</a> for video reference.</li>\n<li>For technical reference refer to <a href=\"https://github.com/Jungle-Works/Yelo-delivery-management-integration/\">GitHub</a></li>\n<li>For further reference please contact <a href=\"https://integrations@yelo.red\">Yelo Integration Support</a>.</li>\n</ul>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Overview","slug":"overview"},{"content":"Prerequisites","slug":"prerequisites"}],"owner":"15678241","collectionId":"b37131fc-437c-4a12-9263-bf0c572d4d1b","publishedId":"2s9YeG5AxC","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2023-11-28T12:41:06.000Z"},"item":[{"name":"Create Order","id":"91a87c1b-8485-4b2a-96e8-04ca2630a580","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"https://<base-api-url>/<your-create-order-endpoint>","description":"<p>Order creation payload will be pushed to this endpoint.</p>\n<p>We require an endpoint from the integrator to which <strong>Yelo</strong> will push the order details after it is created on yelo platform.</p>\n<h3 id=\"request-payload-\">Request Payload :</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>job_id</code></td>\n<td>Unique Job ID on Yelo</td>\n</tr>\n<tr>\n<td><code>job_description</code></td>\n<td>Job Description if any</td>\n</tr>\n<tr>\n<td><code>checkout_template</code></td>\n<td>Custom template set by the user.  <br />Sample :  <br /><code>[ { \"label\": \"Sample\", \"value\": \"\", \"data_type\": \"Image\", \"display_name\": \"Sample\" } ]</code></td>\n</tr>\n<tr>\n<td><code>job_delivery_datetime</code></td>\n<td>Expected Job Delivery Time  <br /><em>*In Local Time</em></td>\n</tr>\n<tr>\n<td><code>creation_datetime</code></td>\n<td>Job Creation Time  <br />*<em>In UTC</em></td>\n</tr>\n<tr>\n<td><code>marketplace_user_id</code></td>\n<td>Yelo Admin User ID</td>\n</tr>\n<tr>\n<td><code>tax</code></td>\n<td>Tax Amount If Any</td>\n</tr>\n<tr>\n<td><code>delivery_charge</code></td>\n<td>Delivery Charges If Any</td>\n</tr>\n<tr>\n<td><code>total_amount</code></td>\n<td>Total Order Amount (After tax,discount,delivery charges etc)</td>\n</tr>\n<tr>\n<td><code>order_amount</code></td>\n<td>Order Amount inclusive of only the product prices</td>\n</tr>\n<tr>\n<td><code>payment_type</code></td>\n<td>“Cash”</td>\n</tr>\n<tr>\n<td><code>timezone</code></td>\n<td>TimeZone** set by admin on the Yelo admin dashboard.</td>\n</tr>\n<tr>\n<td><code>merchant_email</code></td>\n<td>Merchant Email ID</td>\n</tr>\n<tr>\n<td><code>merchant_phone_number</code></td>\n<td>Merchant Phone Number</td>\n</tr>\n<tr>\n<td><code>merchant_name</code></td>\n<td>Merchant Name</td>\n</tr>\n<tr>\n<td><code>merchant_id</code></td>\n<td>Merchant User ID on Yelo Platform</td>\n</tr>\n<tr>\n<td><code>merchant_address</code></td>\n<td>Merchant Address</td>\n</tr>\n<tr>\n<td><code>merchant_latitude</code></td>\n<td>Merchant’s Latitude</td>\n</tr>\n<tr>\n<td><code>merchant_longitude</code></td>\n<td>Merchant’s Longitude</td>\n</tr>\n<tr>\n<td><code>tip</code></td>\n<td>Tip Amount if any</td>\n</tr>\n<tr>\n<td><code>customer_id</code></td>\n<td>Customer ID on Yelo Platform</td>\n</tr>\n<tr>\n<td><code>customer_username</code></td>\n<td>Customer Name</td>\n</tr>\n<tr>\n<td><code>job_latitude</code></td>\n<td>Order Delivery Latitude</td>\n</tr>\n<tr>\n<td><code>job_longitude</code></td>\n<td>Order Delivery Longitude</td>\n</tr>\n<tr>\n<td><code>job_status</code></td>\n<td>Current Order Status  <br /><code>10 : Order Created</code>  <br /><code>12 : Dispatched</code>  <br /><code>13 : Delivered</code>  <br /><code>15 : Canceled</code></td>\n</tr>\n<tr>\n<td><code>promo_code</code></td>\n<td>Promo Code If Any</td>\n</tr>\n<tr>\n<td><code>order_preparation_time</code></td>\n<td>Order Preparation Time  <br />*<em>In Minutes</em></td>\n</tr>\n<tr>\n<td><code>currency_code</code></td>\n<td>Currency Code  <br />*<em>ISO 4217</em></td>\n</tr>\n<tr>\n<td><code>currency_symbol</code></td>\n<td>Currency Symbol</td>\n</tr>\n<tr>\n<td><code>delivery_charge_surge_amount</code></td>\n<td>Surge Amount on Delivery If Any</td>\n</tr>\n<tr>\n<td><code>customer_phone</code></td>\n<td>Customer Phone Number</td>\n</tr>\n<tr>\n<td><code>job_address</code></td>\n<td>Customer Address</td>\n</tr>\n<tr>\n<td><code>customer_email</code></td>\n<td>Customer Email</td>\n</tr>\n<tr>\n<td><code>address_obj</code></td>\n<td>Additional Customer Address Details If Any  <br /><code>{ \"landmark\": \"-\",</code>  <br /><code>\"house\": \"-\",</code>  <br /><code>\"postal_code\": \"-\"</code>  <br /><code>}</code></td>\n</tr>\n</tbody>\n</table>\n</div><p>**<strong>TimeZone</strong> - <em>Calculated in minutes from UTC (eg : Indian Standard Time (IST) is 5 hours and 30 minutes ahead of UTC, therefore timezone = 0 - (5*60 + 30) = -330. Similarly Pacific Standard Time (PST) is 7 hours behind UTC, therefore timezone = 0 - (-7*60) = 420.)</em></p>\n","urlObject":{"protocol":"https","path":["<your-create-order-endpoint>"],"host":["<base-api-url>"],"query":[],"variable":[]}},"response":[],"_postman_id":"91a87c1b-8485-4b2a-96e8-04ca2630a580"},{"name":"Webhook","id":"f7829afd-77b2-4c2e-abc7-30b55d65b54a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\"api_key\" : {{api_key}},\n\"order_id\" : {{order_id}},\n\"status\" : {{status}},\n\"tracking_link\" : {{tracking_link}}\n}","options":{"raw":{"language":"json"}}},"url":"https://api.yelo.red/delivery-integration/callback","description":"<p>Use this webhook to update the order status or tracking link on yelo.</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><code>api_key</code></td>\n<td>String (Required)</td>\n<td>Yelo API Key</td>\n</tr>\n<tr>\n<td><code>order_id</code></td>\n<td>String (Required)</td>\n<td>Unique Yelo Job ID</td>\n</tr>\n<tr>\n<td><code>status</code></td>\n<td>Number (Required)</td>\n<td>Order Status :  <br /><code>12 : Dispatched</code>  <br /><code>13 : Delivered</code>  <br /><code>15 : Canceled</code></td>\n</tr>\n<tr>\n<td><code>tracking_link</code></td>\n<td>String (Optional)</td>\n<td>Tacking Link</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["delivery-integration","callback"],"host":["api","yelo","red"],"query":[],"variable":[]}},"response":[],"_postman_id":"f7829afd-77b2-4c2e-abc7-30b55d65b54a"}],"event":[{"listen":"prerequest","script":{"id":"6cf79de8-8425-48a1-8a6a-3ae52d7da5fa","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"1dc7699d-72cf-4c81-9bff-81b96baeedba","type":"text/javascript","exec":[""]}}],"variable":[{"key":"baseUrl","value":"https://farming-simulator.pstmn.io"}]}