{"info":{"_postman_id":"a13d60de-41fe-437d-a2da-b42f3998f780","name":"Shiprocket API","description":"<html><head></head><body><p><img src=\"https://www.shiprocket.in/wp-content/uploads/2018/10/SR-e1538741197589.png\" alt=\"image\"></p>\n<p>Welcome to Shiprocket’s API Documentation. This document is designed to help developers and Shiprocket users in fully understanding and integrating our API's for a seamless and easy deployment. These API's enable you to fully utilise almost all of your Shiprocket account's panel tools. </p>\n<p>The APIs are listed along with their required parameters if any, and their example requests and responses on the right, for easy understanding. The easiest way to start using the Shiprocket APIs, is by clicking the <strong>Run in Postman</strong> button above. <a href=\"https://www.getpostman.com/\">Postman</a> is a free tool which helps developers run and debug API requests.</p>\n<p>Our API's are based around <a href=\"https://en.wikipedia.org/wiki/Representational_state_transfer\">REST</a> architecture, and use the basic <a href=\"https://www.tutorialspoint.com/http/http_status_codes\">HTTP</a> request methods. Our APIs accept <a href=\"https://www.w3schools.com/whatis/whatis_json.asp\">JSON</a> - encoded body requests and return back data in the same form.</p>\n<p>Please Note that in order to use all the API's, you will need to <a href=\"https://app.shiprocket.in/billing-plan-details\">upgrade</a> your Shiprocket plan to Advance or Pro. Read through the following sections for the integration process.</p>\n<h1 id=\"getting-started\">Getting Started</h1>\n<p>First you need to register with ShipRocket and create an account. Click on this <a href=\"https://app.shiprocket.in/register\">link</a> to complete the simple sign up process.</p>\n<p>After the signup process is complete, follow the enlisted steps to create an API user and get started with using our APIs:</p>\n<ol>\n<li>Open your Shiprocket account and navigate to the left hand panel.</li>\n<li>Click On <strong>API =&gt; Generate API User</strong>.</li>\n<li>On the pop up menu, fill in the <strong>email</strong> (this should be different from the one used to register to ShipRocket).</li>\n<li>Fill in an appropriate password and confirm the password. </li>\n<li>Click on <strong>'Generate API Credential'</strong>. On successful completion, you should have a new API user generated.</li>\n<li>The next step will be to use the <em>Authentication API</em> to obtain an authentication token. Copy this token and use it to authenticate your further API calls.</li>\n</ol>\n<h1 id=\"document-and-api-usage-guidelines\">Document and API Usage Guidelines</h1>\n<ul>\n<li><p>Our API's use the basic HTTP request codes: <em>POST</em>, <em>GET</em>, <em>PATCH</em>, &amp; <em>PUT</em>.</p>\n</li>\n<li><p>You can select the required response and request code language by selecting it from the drop down menu on the top.</p>\n</li>\n<li><p>You can test all our APIs by importing the full API collection through the <strong>'Run in Postman'</strong> button, and running them in the Postman app.</p>\n</li>\n<li><p><strong>Note</strong>: Any requests made using the valid API credentials will affect the real time data in your Shiprocket account.</p>\n</li>\n<li><p>Please note that in order to use the generated token in your own code, you will need to pass the token in the following format in the appropriate header of your code :</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>      Authorization: Bearer &lt;YOUR_TOKEN&gt;\n      \n      \n</code></pre></li>\n<li><p>All the APIs are provided with their appropriate example requests and responses for successful and failure calls. The  example definitions are:</p>\n<ul>\n<li><strong>Successful Call</strong> : The correct API call was made.</li>\n<li><strong>Invalid Data</strong> : The data entered was incorrect.</li>\n<li><strong>Missing Fields</strong> : Some of the required fields are missing.</li>\n<li><strong>Wrong Format</strong> : There is a syntax error in the code.</li>\n</ul>\n</li>\n<li><p><strong>Note</strong>: The <code>order_id</code> defined by you at the time of order creation is your reference order id. The <code>order_id</code> which is returned by the API is the <em>Shiprocket order id</em>. All our APIs will use this Shiprocket order id to acess your created order unless stated otherwise.</p>\n</li>\n</ul>\n<h1 id=\"errors-and-response-codes\">Errors and Response codes</h1>\n<p>While using Shiprocket's APIs, you may run into some standard response and error codes. The most common ones are listed along with their descriptions as follows:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>RESPONSE CODE</strong></th>\n<th><strong>DESCRIPTION</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>200</code> &amp; <code>202</code> - <strong>OK</strong> &amp; <strong>Accepted</strong></td>\n<td>Everything worked as expected. The response is displayed or the processing starts.  Some API's may respond with an error message if data is invalid.</td>\n</tr>\n<tr>\n<td><code>400</code> - <strong>Bad Request</strong></td>\n<td>The request was unacceptable, often due to missing a required parameter.</td>\n</tr>\n<tr>\n<td><code>401</code> - <strong>Unauthorized</strong></td>\n<td>There is some error in validation. You need to check your token or credentials.</td>\n</tr>\n<tr>\n<td><code>404</code> - <strong>Not Found</strong></td>\n<td>The URL is inaccessible. This is either due to the wrong URL input or the resource being depriciated.</td>\n</tr>\n<tr>\n<td><code>405</code> - <strong>Method Not Allowed</strong></td>\n<td>The API was accessed using a wrong method. Check your HTTP method.</td>\n</tr>\n<tr>\n<td><code>422</code> - <strong>Unprocessable Entity</strong></td>\n<td>It means the request contains incorrect syntax or cannot be fulfilled. Try checking your code for errors.</td>\n</tr>\n<tr>\n<td><code>429</code> - <strong>Too Many Requests</strong></td>\n<td>Too many hits were attempted at the API too quickly. Provide the API some time to process.</td>\n</tr>\n<tr>\n<td><code>500</code>, <code>502</code>, <code>503</code>, <code>504</code> - <strong>Server Errors</strong></td>\n<td>Some server error occurred. Some APIs may show this due to syntax or parameter errors. Try contacting support if this persists.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"support\">Support:</h3>\n<ul>\n<li>All the necessary information on integration is laid out in this document. Please read it thoroughly.</li>\n<li>For any integration and API related support, you can feel free to drop us an email at <em><strong><a href=\"mailto:integration@shiprocket.in\">integration@shiprocket.in</a></strong></em>.\nFor any other issues, please email us at : <em><strong><a href=\"mailto:support@shiprocket.in\">support@shiprocket.in</a></strong></em>.</li>\n<li>The Shiprocket terms of service are listed here: <a href=\"https://www.shiprocket.in/terms-conditions/\">Terms Of Service</a></li>\n</ul>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Getting Started","slug":"getting-started"},{"content":"Document and API Usage Guidelines","slug":"document-and-api-usage-guidelines"},{"content":"Errors and Response codes","slug":"errors-and-response-codes"}],"owner":"12508904","collectionId":"a13d60de-41fe-437d-a2da-b42f3998f780","publishedId":"TVCZbXSb","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2020-08-27T06:15:10.000Z"},"item":[{"name":"Authentication API","item":[{"name":"https://apiv2.shiprocket.in/v1/external/auth/login","id":"89f54850-8ca9-4179-aa4c-ff024b34dffb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"\",\n    \"password\": \"\"\n}"},"url":"https://apiv2.shiprocket.in/v1/external/auth/login","urlObject":{"protocol":"https","path":["v1","external","auth","login"],"host":["apiv2","shiprocket","in"],"query":[],"variable":[]}},"response":[],"_postman_id":"89f54850-8ca9-4179-aa4c-ff024b34dffb"}],"id":"db46d62d-04d3-4a51-8d86-19fc1fe94664","description":"<p>The authentication token is the authorization that you need to pass in order to access Shiprocket's resources.\nThis authorization helps us to validate that you are a valid Shiprocket user. Shiprocket APi uses <a href=\"https://jwt.io/introduction/\">JWT</a> tokens for validation.</p>\n<p>Use this API to validate your API user and obtain the authentication token. Copy this token and use it for the further call of the API's.</p>\n<p>Your API keys carry many privileges, so be sure to keep them secure! Do not share your secret token in publicly accessible areas such as GitHub, client-side code, and so forth.</p>\n<p><strong>Steps To Use Token:</strong>  </p>\n<ol>\n<li>Copy the token recieved in response.</li>\n<li>Include <em><strong>'Authorization: Bearer [yourtokenvalue]'</strong></em> in the appropriate field of your code.</li>\n<li>Thats all! In  case of any error, try checking your parameters.</li>\n</ol>\n","_postman_id":"db46d62d-04d3-4a51-8d86-19fc1fe94664"},{"name":"Create Or Update Order","item":[{"name":"Create Custom Order ","id":"0f41c39c-8f1f-4b3c-b1e9-760f85bc26ba","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"order_id\": \"\",\n    \"order_date\": \"\",\n    \"pickup_location\": \"\",\n    \"channel_id\": \"\",\n    \"comment\": \"\",\n    \"reseller_name\": \"\",\n    \"company_name\": \"\",\n    \"billing_customer_name\": \"\",\n    \"billing_last_name\": \"\",\n    \"billing_address\": \"\",\n    \"billing_address_2\": \"\",\n    \"billing_isd_code\": \"\",\n    \"billing_city\": \"\",\n    \"billing_pincode\": \"\",\n    \"billing_state\": \"\",\n    \"billing_country\": \"\",\n    \"billing_email\": \"\",\n    \"billing_phone\": \"\",\n    \"billing_alternate_phone\":\"\",\n    \"shipping_is_billing\": \"\",\n    \"shipping_customer_name\": \"\",\n    \"shipping_last_name\": \"\",\n    \"shipping_address\": \"\",\n    \"shipping_address_2\": \"\",\n    \"shipping_city\": \"\",\n    \"shipping_pincode\": \"\",\n    \"shipping_country\": \"\",\n    \"shipping_state\": \"\",\n    \"shipping_email\": \"\",\n    \"shipping_phone\": \"\",\n    \"order_items\": [\n        {\n            \"name\": \"\",\n            \"sku\": \"\",\n            \"units\": \"\",\n            \"selling_price\": \"\",\n            \"discount\": \"\",\n            \"tax\": \"\",\n            \"hsn\": \"\"\n        }\n    ],\n    \"payment_method\": \"\",\n    \"shipping_charges\": \"\",\n    \"giftwrap_charges\": \"\",\n    \"transaction_charges\": \"\",\n    \"total_discount\": \"\",\n    \"sub_total\": \"\",\n    \"length\": \"\",\n    \"breadth\": \"\",\n    \"height\": \"\",\n    \"weight\": \"\",\n    \"ewaybill_no\": \"\",\n    \"customer_gstin\": \"\"\n}"},"url":"https://apiv2.shiprocket.in/v1/external/orders/create/adhoc","description":"<p>Use this API to create a quick custom order. Quick orders are the ones where we do not store the product details in the master catalog. </p>\n<p>You have to pass all the required params at the minimum to create a quick custom order. Further parameters can be added as required.</p>\n<p><strong>Note:</strong></p>\n<ul>\n<li><p>In case the 'shipping_is_billing' field is false, further shipping detail fields are required.</p>\n</li>\n<li><p>In case no channel id is passed, the custom channel id will be assigned. In case the channel id is not known, use the 'Get All Channels' API to get the list of all integrated channels in your Shiprocket account.</p>\n</li>\n<li><p>order_id Field cannot be equal to an already existing id. Doing so does not change or affect the existing order.</p>\n</li>\n<li><p>Orders cannot be created with order id's same as that of cancelled orders. If error 422 shows up despite filling the correct details, consider changing the order_id.</p>\n</li>\n<li><p>Be sure to input the correct calculated sub_total amount. This is not calculated automatically through the API.</p>\n</li>\n<li><p>The 'order_id' returned in the response is the Shiprocket order_id. This should be noted as it will be used in further API calls.</p>\n</li>\n</ul>\n<h4 id=\"parameters\">Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>PARAMS</strong></th>\n<th><strong>REQUIRED</strong></th>\n<th><strong>DATA TYPE</strong></th>\n<th><strong>DESCRIPTION</strong></th>\n<th><strong>EXAMPLE</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>order_id</code></td>\n<td>YES</td>\n<td><em>string</em></td>\n<td>The order id you want to specify to the order. Max char: 20 .  (Avoid passing character values as this contradicts some other API calls).</td>\n<td>224477 or 224-477</td>\n</tr>\n<tr>\n<td><code>order_date</code></td>\n<td>YES</td>\n<td><em>string</em></td>\n<td>The date of order creation in yyyy-mm-dd format.   Time is an additional option.</td>\n<td>2019-07-24 11:11</td>\n</tr>\n<tr>\n<td><code>pickup_location</code></td>\n<td>YES</td>\n<td><em>string</em></td>\n<td>The pickup location added in your Shiprocket account. This cannot be a new location.</td>\n<td>Jammu</td>\n</tr>\n<tr>\n<td><code>channel_id</code></td>\n<td>NO</td>\n<td><em>integer</em></td>\n<td>Id of the desired channel in case particular channel is to be selected.  Deafult is 'Custom'.</td>\n<td>27022</td>\n</tr>\n<tr>\n<td><code>comment</code></td>\n<td>NO</td>\n<td><em>string</em></td>\n<td>Option to add 'From' field to the shipment.   To do this, enter the name in the following format: 'Reseller: [name]'.</td>\n<td>Reseller: Divine</td>\n</tr>\n<tr>\n<td><code>reseller_name</code></td>\n<td>NO</td>\n<td><em>string</em></td>\n<td>The 'from' name if you want to print. Use 'Reseller: [name]'</td>\n<td>Reseller: Divine</td>\n</tr>\n<tr>\n<td><code>company_name</code></td>\n<td>NO</td>\n<td><em>string</em></td>\n<td>Name of the company.</td>\n<td>Amazon</td>\n</tr>\n<tr>\n<td><code>billing_customer_name</code></td>\n<td>YES</td>\n<td><em>string</em></td>\n<td>First name of the customer who is billed.</td>\n<td>Naruto</td>\n</tr>\n<tr>\n<td><code>billing_last_name</code></td>\n<td>NO</td>\n<td><em>string</em></td>\n<td>Last name of the billed customer.</td>\n<td>Uzumaki</td>\n</tr>\n<tr>\n<td><code>billing_address</code></td>\n<td>NO</td>\n<td><em>string</em></td>\n<td>address details of the billed customer.</td>\n<td>Civil line, House 20</td>\n</tr>\n<tr>\n<td><code>billing_address_2</code></td>\n<td>NO</td>\n<td><em>string</em></td>\n<td>Further address details of the billed customer.</td>\n<td>Near Hokage House</td>\n</tr>\n<tr>\n<td><code>billing_city</code></td>\n<td>YES</td>\n<td><em>string</em></td>\n<td>Billing address city.  Max char: 30.</td>\n<td>New Delhi</td>\n</tr>\n<tr>\n<td><code>billing_pincode</code></td>\n<td>YES</td>\n<td><em>integer</em></td>\n<td>Pincode of the billing address.</td>\n<td>110002</td>\n</tr>\n<tr>\n<td><code>billing_state</code></td>\n<td>YES</td>\n<td><em>string</em></td>\n<td>Billing address state.</td>\n<td>Delhi</td>\n</tr>\n<tr>\n<td><code>billing_country</code></td>\n<td>YES</td>\n<td><em>string</em></td>\n<td>Billing address country.</td>\n<td>India</td>\n</tr>\n<tr>\n<td><code>billing_email</code></td>\n<td>YES</td>\n<td><em>string</em></td>\n<td>Email address of the billed customer.</td>\n<td><a href=\"mailto:naruto@uzumaki.com\">naruto@uzumaki.com</a></td>\n</tr>\n<tr>\n<td><code>billing_phone</code></td>\n<td>YES</td>\n<td><em>string</em></td>\n<td>The phone number of the billing customer.</td>\n<td>9856321472</td>\n</tr>\n<tr>\n<td><code>billing_alternate_phone</code></td>\n<td>NO</td>\n<td><em>integer</em></td>\n<td>Alternate phone number of the billing customer.</td>\n<td>8604690454</td>\n</tr>\n<tr>\n<td><code>shipping_is_billing</code></td>\n<td>YES</td>\n<td><em>boolean</em></td>\n<td>Whether the shipping address is the same as billing address.   1 or 'true' for yes and 0 or 'false' for no.</td>\n<td>true</td>\n</tr>\n<tr>\n<td><code>shipping_customer_name</code></td>\n<td>CONDITIONAL YES</td>\n<td><em>string</em></td>\n<td>Name of the customer the order is shipped to.   Required in case billing is not same as shipping.</td>\n<td>Vegeta</td>\n</tr>\n<tr>\n<td><code>shipping_last_name</code></td>\n<td>NO</td>\n<td><em>string</em></td>\n<td>Last name of the shipping customer.</td>\n<td>Saiyyan</td>\n</tr>\n<tr>\n<td><code>shipping_address</code></td>\n<td>CONDITIONAL YES</td>\n<td><em>string</em></td>\n<td>Address of the Shipping customer. Required in case billing is not same as shipping.</td>\n<td>Planet Vegeta</td>\n</tr>\n<tr>\n<td><code>shipping_address_2</code></td>\n<td>NO</td>\n<td><em>string</em></td>\n<td>Further address details of shipping customer.</td>\n<td>Kings Castle</td>\n</tr>\n<tr>\n<td><code>billing_isd_code</code></td>\n<td>NO</td>\n<td><em>string</em></td>\n<td>ISD code of the billing address.</td>\n<td>+91</td>\n</tr>\n<tr>\n<td><code>shipping_city</code></td>\n<td>CONDITIONAL YES</td>\n<td><em>string</em></td>\n<td>Shipping address city.</td>\n<td>Mumbai</td>\n</tr>\n<tr>\n<td><code>shipping_pincode</code></td>\n<td>CONDITIONAL YES</td>\n<td><em>integer</em></td>\n<td>Shipping address pincode.</td>\n<td>200912</td>\n</tr>\n<tr>\n<td><code>shipping_country</code></td>\n<td>CONDITIONAL YES</td>\n<td><em>string</em></td>\n<td>Shipping address country.</td>\n<td>India</td>\n</tr>\n<tr>\n<td><code>shipping_state</code></td>\n<td>CONDITIONAL YES</td>\n<td><em>string</em></td>\n<td>Shipping address state.</td>\n<td>Maharashtra</td>\n</tr>\n<tr>\n<td><code>shipping_email</code></td>\n<td>CONDITIONAL YES</td>\n<td><em>string</em></td>\n<td>Email of the shipping customer.</td>\n<td><a href=\"mailto:vegeta@saiyyan.com\">vegeta@saiyyan.com</a></td>\n</tr>\n<tr>\n<td><code>shipping_phone</code></td>\n<td>CONDITIONAL YES</td>\n<td><em>integer</em></td>\n<td>Phone no. of the shipping customer.</td>\n<td>9887655432</td>\n</tr>\n<tr>\n<td><code>order_items</code></td>\n<td>YES</td>\n<td>/</td>\n<td>Array containing further fields.</td>\n<td>/</td>\n</tr>\n<tr>\n<td><code> name</code></td>\n<td>YES</td>\n<td><em>string</em></td>\n<td>Name of the product.</td>\n<td>Kunai</td>\n</tr>\n<tr>\n<td><code>sku</code></td>\n<td>YES</td>\n<td><em>string</em></td>\n<td>The sku id of the product.</td>\n<td>chakra123</td>\n</tr>\n<tr>\n<td><code>units</code></td>\n<td>YES</td>\n<td><em>integer</em></td>\n<td>No of units that are to be shipped.</td>\n<td>10</td>\n</tr>\n<tr>\n<td><code>selling_price</code></td>\n<td>YES</td>\n<td><em>integer</em></td>\n<td>The selling price per unit in Rupee. Inclusive of GST.</td>\n<td>900</td>\n</tr>\n<tr>\n<td><code>discount</code></td>\n<td>NO</td>\n<td><em>integer</em></td>\n<td>The discount amount in Rupee. Inclusive of tax.</td>\n<td>10</td>\n</tr>\n<tr>\n<td><code>tax</code></td>\n<td>NO</td>\n<td><em>integer</em></td>\n<td>The tax percentage on the item.</td>\n<td>5</td>\n</tr>\n<tr>\n<td><code>hsn</code></td>\n<td>NO</td>\n<td><em>integer</em></td>\n<td>Harmonised System Nomenclature code.   Used to determine the category of taxation the goods fall under.</td>\n<td>44122</td>\n</tr>\n<tr>\n<td><code>payment_method</code></td>\n<td>YES</td>\n<td><em>string</em></td>\n<td>The method of payment. Can be either COD (Cash on delivery) Or Prepaid.</td>\n<td>COD</td>\n</tr>\n<tr>\n<td><code>shipping_charges</code></td>\n<td>NO</td>\n<td><em>integer</em></td>\n<td>Shipping charges if any in Rupee.</td>\n<td>5</td>\n</tr>\n<tr>\n<td><code>giftwrap_charges</code></td>\n<td>NO</td>\n<td><em>integer</em></td>\n<td>Giftwrap charges if any in Rupee.</td>\n<td>5</td>\n</tr>\n<tr>\n<td><code>transaction_charges</code></td>\n<td>NO</td>\n<td><em>integer</em></td>\n<td>Transaction charges if any in Rupee.</td>\n<td>5</td>\n</tr>\n<tr>\n<td><code>total_discount</code></td>\n<td>NO</td>\n<td><em>integer</em></td>\n<td>The total discount amount in Rupee.</td>\n<td>15</td>\n</tr>\n<tr>\n<td><code>sub_total</code></td>\n<td>YES</td>\n<td><em>integer</em></td>\n<td>Calculated sub total amount in Rupee after deductions.</td>\n<td>9010</td>\n</tr>\n<tr>\n<td><code>length</code></td>\n<td>YES</td>\n<td><em>integer</em></td>\n<td>The length of the item in cms. Must be more than 0.5.</td>\n<td>10</td>\n</tr>\n<tr>\n<td><code>breadth</code></td>\n<td>YES</td>\n<td><em>integer</em></td>\n<td>The breadth of the item in cms. Must be more than 0.5.</td>\n<td>10</td>\n</tr>\n<tr>\n<td><code>height</code></td>\n<td>YES</td>\n<td><em>integer</em></td>\n<td>The height of the item in cms. Must be more than 0.5.</td>\n<td>10</td>\n</tr>\n<tr>\n<td><code>weight</code></td>\n<td>YES</td>\n<td><em>integer</em></td>\n<td>The weight of the item in kgs. Must be more than 0.</td>\n<td>2.5</td>\n</tr>\n<tr>\n<td><code>ewaybill_no</code></td>\n<td>NO</td>\n<td><em>string</em></td>\n<td>Details relating to the shipment of goods.                           .</td>\n<td>K92373490</td>\n</tr>\n<tr>\n<td><code>customer_gstin</code></td>\n<td>NO</td>\n<td><em>string</em></td>\n<td>Goods and Services Tax Identification Number.</td>\n<td>29ABCDE1234F2Z5</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["v1","external","orders","create","adhoc"],"host":["apiv2","shiprocket","in"],"query":[],"variable":[]}},"response":[{"id":"9216c1dc-b884-40c6-8fc1-71ad92c3b090","name":"Invalid Data","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"order_id\": \"224-477\",\n  \"order_date\": \"2019-07-24 11:11\",\n  \"pickup_location\": \"Jammu\",\n  \"channel_id\": \"12345\",\n  \"comment\": \"Reseller: M/s Goku\",\n  \"billing_customer_name\": \"Naruto\",\n  \"billing_last_name\": \"Uzumaki\",\n  \"billing_address\": \"House 221B, Leaf Village\",\n  \"billing_address_2\": \"Near Hokage House\",\n  \"billing_city\": \"New Delhi\",\n  \"billing_pincode\": \"110002\",\n  \"billing_state\": \"Delhi\",\n  \"billing_country\": \"India\",\n  \"billing_email\": \"naruto@uzumaki.com\",\n  \"billing_phone\": \"9876543210\",\n  \"shipping_is_billing\": true,\n  \"shipping_customer_name\": \"\",\n  \"shipping_last_name\": \"\",\n  \"shipping_address\": \"\",\n  \"shipping_address_2\": \"\",\n  \"shipping_city\": \"\",\n  \"shipping_pincode\": \"\",\n  \"shipping_country\": \"\",\n  \"shipping_state\": \"\",\n  \"shipping_email\": \"\",\n  \"shipping_phone\": \"\",\n  \"order_items\": [\n    {\n      \"name\": \"Kunai\",\n      \"sku\": \"chakra123\",\n      \"units\": 10,\n      \"selling_price\": \"900\",\n      \"discount\": \"\",\n      \"tax\": \"\",\n      \"hsn\": 441122\n    }\n  ],\n  \"payment_method\": \"Prepaid\",\n  \"shipping_charges\": 0,\n  \"giftwrap_charges\": 0,\n  \"transaction_charges\": 0,\n  \"total_discount\": 0,\n  \"sub_total\": 9000,\n  \"length\": 10,\n  \"breadth\": 15,\n  \"height\": 20,\n  \"weight\": 2.5\n}"},"url":"{{url}}/v1/external/orders/create/adhoc"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Given channel id does not exist\",\n    \"status_code\": 400\n}"},{"id":"b2c5ffe2-9562-449d-96d1-b6d1c888b583","name":"Missing Fields","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"order_id\": \"\",\n  \"order_date\": \"2019-07-24 11:11\",\n  \"pickup_location\": \"Jammu\",\n  \"channel_id\": \"\",\n  \"comment\": \"Reseller: M/s Goku\",\n  \"billing_customer_name\": \"Naruto\",\n  \"billing_last_name\": \"Uzumaki\",\n  \"billing_address\": \"House 221B, Leaf Village\",\n  \"billing_address_2\": \"Near Hokage House\",\n  \"billing_city\": \"New Delhi\",\n  \"billing_pincode\": \"110002\",\n  \"billing_state\": \"Delhi\",\n  \"billing_country\": \"India\",\n  \"billing_email\": \"naruto@uzumaki.com\",\n  \"billing_phone\": \"9876543210\",\n  \"shipping_is_billing\": true,\n  \"shipping_customer_name\": \"\",\n  \"shipping_last_name\": \"\",\n  \"shipping_address\": \"\",\n  \"shipping_address_2\": \"\",\n  \"shipping_city\": \"\",\n  \"shipping_pincode\": \"\",\n  \"shipping_country\": \"\",\n  \"shipping_state\": \"\",\n  \"shipping_email\": \"\",\n  \"shipping_phone\": \"\",\n  \"order_items\": [\n    {\n      \"name\": \"Kunai\",\n      \"sku\": \"chakra123\",\n      \"units\": 10,\n      \"selling_price\": \"900\",\n      \"discount\": \"\",\n      \"tax\": \"\",\n      \"hsn\": 441122\n    }\n  ],\n  \"payment_method\": \"Prepaid\",\n  \"shipping_charges\": 0,\n  \"giftwrap_charges\": 0,\n  \"transaction_charges\": 0,\n  \"total_discount\": 0,\n  \"sub_total\": 9000,\n  \"length\": 10,\n  \"breadth\": 15,\n  \"height\": 20,\n  \"weight\": 2.5\n}"},"url":"{{url}}/v1/external/orders/create/adhoc"},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Oops! Invalid Data.\",\n    \"errors\": {\n        \"order_id\": [\n            \"The order id field is required.\"\n        ]\n    },\n    \"status_code\": 422\n}"},{"id":"de6613ab-7128-4a62-8f4c-0b11b87b8c0d","name":"Successful Call","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"order_id\": \"224-447\",\n  \"order_date\": \"2019-07-24 11:11\",\n  \"pickup_location\": \"Jammu\",\n  \"channel_id\": \"\",\n  \"comment\": \"Reseller: M/s Goku\",\n  \"billing_customer_name\": \"Naruto\",\n  \"billing_last_name\": \"Uzumaki\",\n  \"billing_address\": \"House 221B, Leaf Village\",\n  \"billing_address_2\": \"Near Hokage House\",\n  \"billing_city\": \"New Delhi\",\n  \"billing_pincode\": \"110002\",\n  \"billing_state\": \"Delhi\",\n  \"billing_country\": \"India\",\n  \"billing_email\": \"naruto@uzumaki.com\",\n  \"billing_phone\": \"9876543210\",\n  \"shipping_is_billing\": true,\n  \"shipping_customer_name\": \"\",\n  \"shipping_last_name\": \"\",\n  \"shipping_address\": \"\",\n  \"shipping_address_2\": \"\",\n  \"shipping_city\": \"\",\n  \"shipping_pincode\": \"\",\n  \"shipping_country\": \"\",\n  \"shipping_state\": \"\",\n  \"shipping_email\": \"\",\n  \"shipping_phone\": \"\",\n  \"order_items\": [\n    {\n      \"name\": \"Kunai\",\n      \"sku\": \"chakra123\",\n      \"units\": 10,\n      \"selling_price\": \"900\",\n      \"discount\": \"\",\n      \"tax\": \"\",\n      \"hsn\": 441122\n    }\n  ],\n  \"payment_method\": \"Prepaid\",\n  \"shipping_charges\": 0,\n  \"giftwrap_charges\": 0,\n  \"transaction_charges\": 0,\n  \"total_discount\": 0,\n  \"sub_total\": 9000,\n  \"length\": 10,\n  \"breadth\": 15,\n  \"height\": 20,\n  \"weight\": 2.5\n}"},"url":"{{url}}/v1/external/orders/create/adhoc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Tue, 30 Jul 2019 12:56:37 GMT"},{"key":"ETag","value":"W/\"b6f88565113db5cce836da75fe716815d8fde80c\""},{"key":"Server","value":"nginx"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-RateLimit-Limit","value":"180"},{"key":"X-RateLimit-Remaining","value":"178"},{"key":"Content-Length","value":"140"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"order_id\": 16161616,\n    \"shipment_id\": 15151515,\n    \"status\": \"NEW\",\n    \"status_code\": 1,\n    \"onboarding_completed_now\": 0,\n    \"awb_code\": null,\n    \"courier_company_id\": null,\n    \"courier_name\": null\n}"}],"_postman_id":"0f41c39c-8f1f-4b3c-b1e9-760f85bc26ba"},{"name":"Create Channel Specific Order","id":"fd9cce23-5cd4-4d5c-9e8d-3dcde4815319","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"order_id\": \"3167\",\n  \"order_date\": \"2020-01-14 13:25\",\n  \"pickup_location\": \"mrj\",\n  \"channel_id\": \"443555\",\n  \"comment\": \"fast and furious\",\n  \"billing_customer_name\": \"rahul\",\n  \"billing_last_name\": \"\",\n  \"billing_address\": \"malviya nagar\",\n  \"billing_address_2\": \"\",\n  \"billing_city\": \"new delhi\",\n  \"billing_pincode\": \"273303\",\n  \"billing_state\": \"delhi\",\n  \"billing_country\": \"india\",\n  \"billing_email\": \"raushanra4@gmail.com\",\n  \"billing_phone\": \"9721562372\",\n  \"shipping_is_billing\": 1,\n  \"shipping_customer_name\": \"\",\n  \"shipping_last_name\": \"\",\n  \"shipping_address\": \"\",\n  \"shipping_address_2\": \"\",\n  \"shipping_city\": \"\",\n  \"shipping_pincode\": \"\",\n  \"shipping_country\": \"\",\n  \"shipping_state\": \"\",\n  \"shipping_email\": \"\",\n  \"shipping_phone\": \"\",\n  \"order_items\": [\n    {\n      \"name\": \"shoes\",\n      \"sku\": \"shoes123\",\n      \"units\": \"2\",\n      \"selling_price\": \"1500\",\n      \"discount\": \"100\",\n      \"tax\": \"50\",\n      \"hsn\": \"\"\n    }\n  ],\n  \"payment_method\": \"COD\",\n  \"shipping_charges\": \"\",\n  \"giftwrap_charges\": \"\",\n  \"transaction_charges\": \"\",\n  \"total_discount\": \"\",\n  \"sub_total\": \"2950\",\n  \"length\": \"10\",\n  \"breadth\": \"10\",\n  \"height\": \"10\",\n  \"weight\": \"1.5\"\n}"},"url":"https://apiv2.shiprocket.in/v1/external/orders/create","description":"<p>This API can be used to create a custom order, the same as the Custom order API, except that you can specify and select a custom channel for the creation of the order. </p>\n<p>The created order will be placed at the selected channel. All the other parameters are the same.</p>\n<p><strong>Note:</strong></p>\n<ul>\n<li>Channel_id field is required.</li>\n<li>Order_id cannot be same as already existing order id.</li>\n<li>Inventory Sync must be turned on to use this API. This can be done under the 'Channels' portion on the left hand panel of your Shiprocket account.</li>\n<li>Inventory details of your Shiprocket account can be accessed using the 'Get Inventory Details' API.</li>\n</ul>\n<h4 id=\"parameters\">Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>PARAMS</strong></th>\n<th><strong>REQUIRED</strong></th>\n<th><strong>DATA TYPE</strong></th>\n<th><strong>DESCRIPTION</strong></th>\n<th><strong>EXAMPLE</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>order_id</code></td>\n<td>YES</td>\n<td><em>string</em></td>\n<td>The order id you want to specify to the order. Max char: 20.  (Avoid passing character values as this contradicts some other API calls).</td>\n<td>224477 or 224-477</td>\n</tr>\n<tr>\n<td><code>order_date</code></td>\n<td>YES</td>\n<td><em>string</em></td>\n<td>The date of order creation in yyyy-mm-dd format. Time is an additional option.</td>\n<td>2019-07-24 11:11</td>\n</tr>\n<tr>\n<td><code>pickup_location</code></td>\n<td>NO</td>\n<td><em>string</em></td>\n<td>The pickup location added in your Shiprocket account. This cannot be a new location. Default Pickup location is selected in case the parameter is not filled.</td>\n<td>Jammu</td>\n</tr>\n<tr>\n<td><code>channel_id</code></td>\n<td>YES</td>\n<td><em>integer</em></td>\n<td>The id of the specific channel to be selected.</td>\n<td>27022</td>\n</tr>\n<tr>\n<td><code>comment</code></td>\n<td>NO</td>\n<td><em>string</em></td>\n<td>Option to add 'From' field to the shipment.   To do this, enter the name in the following format: 'Reseller: [name].'</td>\n<td>Reseller: Divine</td>\n</tr>\n<tr>\n<td><code>billing_customer_name</code></td>\n<td>YES</td>\n<td><em>string</em></td>\n<td>First name of the customer who is billed.</td>\n<td>Naruto</td>\n</tr>\n<tr>\n<td><code> billing_last_name</code></td>\n<td>NO</td>\n<td><em>string</em></td>\n<td>Last name of the billed customer.</td>\n<td>Uzumaki</td>\n</tr>\n<tr>\n<td><code>billing_address</code></td>\n<td>YES</td>\n<td><em>string</em></td>\n<td>Primary address of the billed customer.  Min char: 3.</td>\n<td>House 221B, Leaf Village</td>\n</tr>\n<tr>\n<td><code>billing_address_2</code></td>\n<td>NO</td>\n<td><em>string</em></td>\n<td>Further address details of the billed customer.</td>\n<td>Near Hokage House</td>\n</tr>\n<tr>\n<td><code>billing_city</code></td>\n<td>YES</td>\n<td><em>string</em></td>\n<td>Billing address city.  Max char: 30.</td>\n<td>New Delhi</td>\n</tr>\n<tr>\n<td><code>billing_pincode</code></td>\n<td>YES</td>\n<td><em>integer</em></td>\n<td>Pincode of the billing address.</td>\n<td>110002</td>\n</tr>\n<tr>\n<td><code>billing_state</code></td>\n<td>YES</td>\n<td><em>string</em></td>\n<td>Billing address state.</td>\n<td>Delhi</td>\n</tr>\n<tr>\n<td><code> billing_country</code></td>\n<td>YES</td>\n<td><em>string</em></td>\n<td>Billing address country.</td>\n<td>India</td>\n</tr>\n<tr>\n<td><code>billing_email</code></td>\n<td>YES</td>\n<td><em>string</em></td>\n<td>Email address of the billed customer.</td>\n<td><a href=\"mailto:naruto@uzumaki.com\">naruto@uzumaki.com</a></td>\n</tr>\n<tr>\n<td><code>billing_phone</code></td>\n<td>YES</td>\n<td><em>integer</em></td>\n<td>Phone number of the billed customer.</td>\n<td>9876543210</td>\n</tr>\n<tr>\n<td><code>shipping_is_billing</code></td>\n<td>YES</td>\n<td><em>boolean</em></td>\n<td>Whether the shipping address is the same as billing address.   1 or 'true' for yes and 0 or 'false' for no.</td>\n<td>true</td>\n</tr>\n<tr>\n<td><code>shipping_customer_name</code></td>\n<td>CONDITIONAL YES</td>\n<td><em>string</em></td>\n<td>Name of the customer the order is shipped to.   Required in case billing is not same as shipping.</td>\n<td>Vegeta</td>\n</tr>\n<tr>\n<td><code>shipping_last_name</code></td>\n<td>NO</td>\n<td><em>string</em></td>\n<td>Last name of the shipping customer.</td>\n<td>Saiyyan</td>\n</tr>\n<tr>\n<td><code>shipping_address</code></td>\n<td>CONDITIONAL YES</td>\n<td><em>string</em></td>\n<td>Address of the Shipping customer. Required in case billing is not same as shipping.</td>\n<td>Planet Vegeta</td>\n</tr>\n<tr>\n<td><code>shipping_address_2</code></td>\n<td>NO</td>\n<td><em>string</em></td>\n<td>Further address details of shipping customer.</td>\n<td>Kings Castle</td>\n</tr>\n<tr>\n<td><code>shipping_city</code></td>\n<td>CONDITIONAL YES</td>\n<td><em>string</em></td>\n<td>Shipping address city.</td>\n<td>Mumbai</td>\n</tr>\n<tr>\n<td><code>shipping_pincode</code></td>\n<td>CONDITIONAL YES</td>\n<td><em>integer</em></td>\n<td>Shipping address pincode.</td>\n<td>200912</td>\n</tr>\n<tr>\n<td><code>shipping_country</code></td>\n<td>CONDITIONAL YES</td>\n<td><em>string</em></td>\n<td>Shipping address country.</td>\n<td>India</td>\n</tr>\n<tr>\n<td><code>shipping_state</code></td>\n<td>CONDITIONAL YES</td>\n<td><em>string</em></td>\n<td>Shipping address state.</td>\n<td>Maharashtra</td>\n</tr>\n<tr>\n<td><code>shipping_email</code></td>\n<td>CONDITIONAL YES</td>\n<td><em>string</em></td>\n<td>Email of the shipping customer.</td>\n<td><a href=\"mailto:vegeta@saiyyan.com\">vegeta@saiyyan.com</a></td>\n</tr>\n<tr>\n<td><code>shipping_phone</code></td>\n<td>CONDITIONAL YES</td>\n<td><em>integer</em></td>\n<td>Phone no. of the shipping customer</td>\n<td>9887655432</td>\n</tr>\n<tr>\n<td><code>order_items</code></td>\n<td>YES</td>\n<td>/</td>\n<td>Array containing further fields.</td>\n<td>/</td>\n</tr>\n<tr>\n<td><code>name</code></td>\n<td>YES</td>\n<td><em>string</em></td>\n<td>Name of the product.</td>\n<td>Kunai</td>\n</tr>\n<tr>\n<td><code>sku</code></td>\n<td>YES</td>\n<td><em>string</em></td>\n<td>The sku id of the product.</td>\n<td>chakra123</td>\n</tr>\n<tr>\n<td><code>units</code></td>\n<td>YES</td>\n<td><em>integer</em></td>\n<td>No. of units that are to be shipped.</td>\n<td>10</td>\n</tr>\n<tr>\n<td><code>selling_price</code></td>\n<td>YES</td>\n<td><em>integer</em></td>\n<td>The selling price per unit in Rupee. Inclusive of GST.</td>\n<td>900</td>\n</tr>\n<tr>\n<td><code>discount</code></td>\n<td>NO</td>\n<td><em>integer</em></td>\n<td>The discount amount in Rupee. Inclusive of tax.</td>\n<td>10</td>\n</tr>\n<tr>\n<td><code>tax</code></td>\n<td>NO</td>\n<td><em>integer</em></td>\n<td>The tax percentage on the item.</td>\n<td>5</td>\n</tr>\n<tr>\n<td><code>hsn</code></td>\n<td>NO</td>\n<td><em>integer</em></td>\n<td>Harmonised System Nomenclature code.   Used to determine the category of taxation the goods fall under.</td>\n<td>44122</td>\n</tr>\n<tr>\n<td><code> payment_method</code></td>\n<td>YES</td>\n<td><em>string</em></td>\n<td>The method of payment. Can be either COD (Cash on delivery) Or Prepaid.</td>\n<td>COD</td>\n</tr>\n<tr>\n<td><code>shipping_charges</code></td>\n<td>NO</td>\n<td><em>integer</em></td>\n<td>Shipping charges if any in Rupee.</td>\n<td>5</td>\n</tr>\n<tr>\n<td><code>giftwrap_charges</code></td>\n<td>NO</td>\n<td><em>integer</em></td>\n<td>Giftwrap charges if any in Rupee.</td>\n<td>5</td>\n</tr>\n<tr>\n<td><code>transaction_charges</code></td>\n<td>NO</td>\n<td><em>integer</em></td>\n<td>Transaction charges if any in Rupee.</td>\n<td>5</td>\n</tr>\n<tr>\n<td><code>total_discount</code></td>\n<td>NO</td>\n<td><em>integer</em></td>\n<td>The total discount amount in Rupee.</td>\n<td>15</td>\n</tr>\n<tr>\n<td><code>sub_total</code></td>\n<td>YES</td>\n<td><em>integer</em></td>\n<td>Calculated sub total amount in Rupee.</td>\n<td>9010</td>\n</tr>\n<tr>\n<td><code>length</code></td>\n<td>YES</td>\n<td><em>integer</em></td>\n<td>The length of the item in cms. Must be more than 0.5.</td>\n<td>10</td>\n</tr>\n<tr>\n<td><code>breadth</code></td>\n<td>YES</td>\n<td><em>integer</em></td>\n<td>The breadth of the item in cms. Must be more than 0.5.</td>\n<td>10</td>\n</tr>\n<tr>\n<td><code>height</code></td>\n<td>YES</td>\n<td><em>integer</em></td>\n<td>The height of the item in cms. Must be more than 0.5.</td>\n<td>10</td>\n</tr>\n<tr>\n<td><code>weight</code></td>\n<td>YES</td>\n<td><em>integer</em></td>\n<td>The weight of the item in kgs. Must be more than 0.</td>\n<td>2.5</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["v1","external","orders","create"],"host":["apiv2","shiprocket","in"],"query":[],"variable":[]}},"response":[{"id":"224a2ede-929f-47dd-839f-31a2b47e6f36","name":"Invalid Data","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"order_id\": \"224-4779\",\n  \"order_date\": \"2019-07-24 11:11\",\n  \"pickup_location\": \"Jammu\",\n  \"channel_id\": \"123321\",\n  \"comment\": \"Reseller: M/s Goku\",\n  \"billing_customer_name\": \"Naruto\",\n  \"billing_last_name\": \"Uzumaki\",\n  \"billing_address\": \"House 221B, Leaf Village\",\n  \"billing_address_2\": \"Near Hokage House\",\n  \"billing_city\": \"New Delhi\",\n  \"billing_pincode\": \"110002\",\n  \"billing_state\": \"Delhi\",\n  \"billing_country\": \"India\",\n  \"billing_email\": \"naruto@uzumaki.com\",\n  \"billing_phone\": \"9876543210\",\n  \"shipping_is_billing\": true,\n  \"shipping_customer_name\": \"\",\n  \"shipping_last_name\": \"\",\n  \"shipping_address\": \"\",\n  \"shipping_address_2\": \"\",\n  \"shipping_city\": \"\",\n  \"shipping_pincode\": \"\",\n  \"shipping_country\": \"\",\n  \"shipping_state\": \"\",\n  \"shipping_email\": \"\",\n  \"shipping_phone\": \"\",\n  \"order_items\": [\n    {\n      \"name\": \"Kunai\",\n      \"sku\": \"chakra123\",\n      \"units\": 10,\n      \"selling_price\": \"900\",\n      \"discount\": \"\",\n      \"tax\": \"\",\n      \"hsn\": 441122\n    }\n  ],\n  \"payment_method\": \"Prepaid\",\n  \"shipping_charges\": 0,\n  \"giftwrap_charges\": 0,\n  \"transaction_charges\": 0,\n  \"total_discount\": 0,\n  \"sub_total\": 9000,\n  \"length\": 10,\n  \"breadth\": 15,\n  \"height\": 20,\n  \"weight\": 2.5\n}"},"url":"{{url}}/v1/external/orders/create"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Wed, 31 Jul 2019 07:30:36 GMT"},{"key":"Server","value":"nginx"},{"key":"Content-Length","value":"115"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Oops! Invalid Data.\",\n    \"errors\": {\n        \"channel_id\": [\n            \"The selected channel id is invalid.\"\n        ]\n    },\n    \"status_code\": 422\n}"},{"id":"4f7f6454-c0c2-498c-9a47-125bd7b8ef59","name":"Missing Fields","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"order_id\": \"224-4779\",\n  \"order_date\": \"2019-07-24 11:11\",\n  \"pickup_location\": \"Delhi\",\n  \"channel_id\": \"\",\n  \"comment\": \"Reseller: M/s Goku\",\n  \"billing_customer_name\": \"Naruto\",\n  \"billing_last_name\": \"Uzumaki\",\n  \"billing_address\": \"House 221B, Leaf Village\",\n  \"billing_address_2\": \"Near Hokage House\",\n  \"billing_city\": \"New Delhi\",\n  \"billing_pincode\": \"110002\",\n  \"billing_state\": \"Delhi\",\n  \"billing_country\": \"India\",\n  \"billing_email\": \"naruto@uzumaki.com\",\n  \"billing_phone\": \"9876543210\",\n  \"shipping_is_billing\": true,\n  \"shipping_customer_name\": \"\",\n  \"shipping_last_name\": \"\",\n  \"shipping_address\": \"\",\n  \"shipping_address_2\": \"\",\n  \"shipping_city\": \"\",\n  \"shipping_pincode\": \"\",\n  \"shipping_country\": \"\",\n  \"shipping_state\": \"\",\n  \"shipping_email\": \"\",\n  \"shipping_phone\": \"\",\n  \"order_items\": [\n    {\n      \"name\": \"Kunai\",\n      \"sku\": \"chakra123\",\n      \"units\": 10,\n      \"selling_price\": \"900\",\n      \"discount\": \"\",\n      \"tax\": \"\",\n      \"hsn\": 441122\n    }\n  ],\n  \"payment_method\": \"Prepaid\",\n  \"shipping_charges\": 0,\n  \"giftwrap_charges\": 0,\n  \"transaction_charges\": 0,\n  \"total_discount\": 0,\n  \"sub_total\": 9000,\n  \"length\": 10,\n  \"breadth\": 15,\n  \"height\": 20,\n  \"weight\": 2.5\n}"},"url":"{{url}}/v1/external/orders/create"},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Oops! Invalid Data.\",\n    \"errors\": {\n        \"channel_id\": [\n            \"The channel id field is required.\"\n        ]\n    },\n    \"status_code\": 422\n}"},{"id":"50c1624a-684a-4301-bc1a-5b1df52dc98d","name":"Inventory Sync Error","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"order_id\": \"224-4779\",\n  \"order_date\": \"2019-07-24 11:11\",\n  \"pickup_location\": \"Delhi\",\n  \"channel_id\": \"27202\",\n  \"comment\": \"Reseller: M/s Goku\",\n  \"billing_customer_name\": \"Naruto\",\n  \"billing_last_name\": \"Uzumaki\",\n  \"billing_address\": \"House 221B, Leaf Village\",\n  \"billing_address_2\": \"Near Hokage House\",\n  \"billing_city\": \"New Delhi\",\n  \"billing_pincode\": \"110002\",\n  \"billing_state\": \"Delhi\",\n  \"billing_country\": \"India\",\n  \"billing_email\": \"naruto@uzumaki.com\",\n  \"billing_phone\": \"9876543210\",\n  \"shipping_is_billing\": true,\n  \"shipping_customer_name\": \"\",\n  \"shipping_last_name\": \"\",\n  \"shipping_address\": \"\",\n  \"shipping_address_2\": \"\",\n  \"shipping_city\": \"\",\n  \"shipping_pincode\": \"\",\n  \"shipping_country\": \"\",\n  \"shipping_state\": \"\",\n  \"shipping_email\": \"\",\n  \"shipping_phone\": \"\",\n  \"order_items\": [\n    {\n      \"name\": \"Kunai\",\n      \"sku\": \"chakra123\",\n      \"units\": 10,\n      \"selling_price\": \"900\",\n      \"discount\": \"\",\n      \"tax\": \"\",\n      \"hsn\": 441122\n    }\n  ],\n  \"payment_method\": \"Prepaid\",\n  \"shipping_charges\": 0,\n  \"giftwrap_charges\": 0,\n  \"transaction_charges\": 0,\n  \"total_discount\": 0,\n  \"sub_total\": 9000,\n  \"length\": 10,\n  \"breadth\": 15,\n  \"height\": 20,\n  \"weight\": 2.5\n}"},"url":"{{url}}/v1/external/orders/create"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Wed, 31 Jul 2019 07:31:56 GMT"},{"key":"Server","value":"nginx"},{"key":"Content-Length","value":"88"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Inventory sync is turned off. Please add a manual order!\",\n    \"status_code\": 400\n}"},{"id":"5b0cb099-fddc-4bc6-8d4a-2a892c45f6e5","name":"Successful Call","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"order_id\": \"224-4779\",\n  \"order_date\": \"2019-07-24 11:11\",\n  \"pickup_location\": \"Jammu\",\n  \"channel_id\": \"76893\",\n  \"comment\": \"Reseller: M/s Goku\",\n  \"billing_customer_name\": \"Naruto\",\n  \"billing_last_name\": \"Uzumaki\",\n  \"billing_address\": \"House 221B, Leaf Village\",\n  \"billing_address_2\": \"Near Hokage House\",\n  \"billing_city\": \"New Delhi\",\n  \"billing_pincode\": \"110002\",\n  \"billing_state\": \"Delhi\",\n  \"billing_country\": \"India\",\n  \"billing_email\": \"naruto@uzumaki.com\",\n  \"billing_phone\": \"9876543210\",\n  \"shipping_is_billing\": true,\n  \"shipping_customer_name\": \"\",\n  \"shipping_last_name\": \"\",\n  \"shipping_address\": \"\",\n  \"shipping_address_2\": \"\",\n  \"shipping_city\": \"\",\n  \"shipping_pincode\": \"\",\n  \"shipping_country\": \"\",\n  \"shipping_state\": \"\",\n  \"shipping_email\": \"\",\n  \"shipping_phone\": \"\",\n  \"order_items\": [\n    {\n      \"name\": \"Kunai\",\n      \"sku\": \"chakra123\",\n      \"units\": 10,\n      \"selling_price\": \"900\",\n      \"discount\": \"\",\n      \"tax\": \"\",\n      \"hsn\": 441122\n    }\n  ],\n  \"payment_method\": \"Prepaid\",\n  \"shipping_charges\": 0,\n  \"giftwrap_charges\": 0,\n  \"transaction_charges\": 0,\n  \"total_discount\": 0,\n  \"sub_total\": 9000,\n  \"length\": 10,\n  \"breadth\": 15,\n  \"height\": 20,\n  \"weight\": 2.5\n}"},"url":"{{url}}/v1/external/orders/create"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Wed, 31 Jul 2019 07:27:36 GMT"},{"key":"ETag","value":"W/\"afb13d86991d166c3a91257a2c6d144555314df6\""},{"key":"Server","value":"nginx"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-RateLimit-Limit","value":"180"},{"key":"X-RateLimit-Remaining","value":"177"},{"key":"Content-Length","value":"81"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"order_id\": 16161717,\n    \"shipment_id\": 16000061,\n    \"status\": \"NEW\",\n    \"status_code\": 1\n}"}],"_postman_id":"fd9cce23-5cd4-4d5c-9e8d-3dcde4815319"},{"name":"Change/Update Pickup Location of Created Orders","id":"cbba6ace-b621-4321-b246-9e2cc8bc6591","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"order_id\": [],\n  \"pickup_location\": \"\"\n}"},"url":"https://apiv2.shiprocket.in/v1/external/orders/address/pickup","description":"<p>Using this API, you can change the pickup location of an already created order to another pickup pickup location. Multiple order ids can be passed to update their pickup location together.</p>\n<p><strong>Note:</strong></p>\n<ul>\n<li>Pickup location can only be changed/updated to an already existing pickup location in your account. </li>\n<li>The 'order_id' to be passed is the Shiprocket order_id recieved at the time of order creation.</li>\n<li>Multiple order ids can be passed as an array, seperated by commas. eg: [\"141414,142424,143434\"]</li>\n</ul>\n<h4 id=\"parameters\">Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>PARAMS</strong></th>\n<th><strong>REQUIRED</strong></th>\n<th><strong>DATA TYPE</strong></th>\n<th><strong>DESCRIPTION</strong></th>\n<th><strong>EXAMPLE</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>order_id</code></td>\n<td>YES</td>\n<td><em>integer</em></td>\n<td>The Shiprocket order_id specified to the order.</td>\n<td>16167171</td>\n</tr>\n<tr>\n<td><code>pickup_location</code></td>\n<td>YES</td>\n<td><em>string</em></td>\n<td>The pickup location you want to change your current pickup location to.</td>\n<td>Delhi</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["v1","external","orders","address","pickup"],"host":["apiv2","shiprocket","in"],"query":[],"variable":[]}},"response":[{"id":"150cd679-ed03-4e3b-934e-feb6ac372a18","name":"Successful Call","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"order_id\": [16167171],\n  \"pickup_location\": \"Delhi\"\n}"},"url":"{{url}}/v1/external/orders/address/pickup"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Wed, 31 Jul 2019 09:03:17 GMT"},{"key":"ETag","value":"W/\"5ccf21ee0c28f221b5b2a6903914fe168b1ea365\""},{"key":"Server","value":"nginx"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-RateLimit-Limit","value":"180"},{"key":"X-RateLimit-Remaining","value":"179"},{"key":"Content-Length","value":"57"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Pickup location Updated\"\n}"},{"id":"348696f0-18f9-42f8-bcb4-cf529bce5e6b","name":"Invalid Data","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"order_id\": [16167171],\n  \"pickup_location\": \"Mumbai\"\n}"},"url":"{{url}}/v1/external/orders/address/pickup"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Wed, 31 Jul 2019 09:04:18 GMT"},{"key":"Server","value":"nginx"},{"key":"Content-Length","value":"58"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Pickup Code does not exist\",\n    \"status_code\": 400\n}"},{"id":"6f6e3742-13ea-434a-be34-991068774473","name":"Wrong Format","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"order_id\": \"[16176659,16177223]\",\n  \"pickup_location\": \"Delhi\"\n}"},"url":"{{url}}/v1/external/orders/address/pickup"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Invalid argument supplied for foreach()\",\n    \"status_code\": 500\n}"},{"id":"e62c2000-1952-40e8-92ef-5d1ab6f870ee","name":"Missing Fields","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"order_id\": [],\n  \"pickup_location\": \"\"\n}"},"url":"{{url}}/v1/external/orders/address/pickup"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 07 Aug 2019 06:53:45 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"nginx"},{"key":"Cache-Control","value":"no-cache, private"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Order Id does not exists\",\n    \"status_code\": 400\n}"}],"_postman_id":"cbba6ace-b621-4321-b246-9e2cc8bc6591"},{"name":"Update Customer Delivery Address","id":"00912c3a-211f-4cbc-9f2d-308a65338cb0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"order_id\": \"\",\n  \"shipping_customer_name\": \"\",\n  \"shipping_phone\": \"\",\n  \"shipping_address\": \"\",\n  \"shipping_address_2\": \"\",\n  \"shipping_city\": \"\",\n  \"shipping_state\": \"\",\n  \"shipping_country\": \"\",\n  \"shipping_pincode\": \"\",\n  \"shipping_email\": \"\",\n  \"billing_alternate_phone\": \"\"\n}"},"url":"https://apiv2.shiprocket.in/v1/external/orders/address/update","description":"<p>You can update the customer's name and delivery address for an order through this API by passing the Shiprocket order id and the necessary customer details.</p>\n<h4 id=\"parameters\">Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>PARAMS</strong></th>\n<th><strong>REQUIRED</strong></th>\n<th><strong>DATA TYPE</strong></th>\n<th><strong>DESCRIPTION</strong></th>\n<th><strong>EXAMPLE</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>order_id</code></td>\n<td>YES</td>\n<td><em>integer</em></td>\n<td>The Shiprocket order_id specified to the order.</td>\n<td>16178831</td>\n</tr>\n<tr>\n<td><code>shipping_customer_name</code></td>\n<td>YES</td>\n<td><em>string</em></td>\n<td>The name of the customer.</td>\n<td>Majin Bu</td>\n</tr>\n<tr>\n<td><code>shipping_phone</code></td>\n<td>YES</td>\n<td><em>integer</em></td>\n<td>Phone number of the customer.</td>\n<td>9988998899</td>\n</tr>\n<tr>\n<td><code>shipping_address</code></td>\n<td>YES</td>\n<td><em>string</em></td>\n<td>Primary address of the customer.</td>\n<td>House no 123</td>\n</tr>\n<tr>\n<td><code>shipping_address_2</code></td>\n<td>NO</td>\n<td><em>string</em></td>\n<td>Further address details of the customer.</td>\n<td>Beside CM house</td>\n</tr>\n<tr>\n<td><code>shipping_city</code></td>\n<td>YES</td>\n<td><em>string</em></td>\n<td>Shipping city name.</td>\n<td>Pune</td>\n</tr>\n<tr>\n<td><code>shipping_state</code></td>\n<td>YES</td>\n<td><em>string</em></td>\n<td>Shipping state name.</td>\n<td>Maharashtra</td>\n</tr>\n<tr>\n<td><code>shipping_country</code></td>\n<td>YES</td>\n<td><em>string</em></td>\n<td>Shipping country name.</td>\n<td>India</td>\n</tr>\n<tr>\n<td><code>shipping_pincode</code></td>\n<td>YES</td>\n<td><em>integer</em></td>\n<td>Shipping address pincode.</td>\n<td>120023</td>\n</tr>\n<tr>\n<td><code>shipping_email</code></td>\n<td>NO</td>\n<td><em>string</em></td>\n<td>Customer's email address.</td>\n<td><a href=\"mailto:majin@bu.com\">majin@bu.com</a></td>\n</tr>\n<tr>\n<td><code>billing_alternate_phone</code></td>\n<td>NO</td>\n<td><em>string</em></td>\n<td>The customer alternate phone.</td>\n<td>8604690454</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["v1","external","orders","address","update"],"host":["apiv2","shiprocket","in"],"query":[],"variable":[]}},"response":[{"id":"2fb4f836-cbd2-48c0-9984-34a6c0fcb055","name":"Successful Call","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"order_id\": 16178831,\n  \"shipping_customer_name\": \"Majin Bu\",\n  \"shipping_phone\": \"9988998899\",\n  \"shipping_address\": \"Earth\",\n  \"shipping_address_2\": \"\",\n  \"shipping_city\": \"Pune\",\n  \"shipping_state\": \"Maharashtra\",\n  \"shipping_country\": \"India\",\n  \"shipping_pincode\": 110077\n}"},"url":"{{url}}/v1/external/orders/address/update"},"status":"Accepted","code":202,"_postman_previewlanguage":"html","header":[{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"Content-Type","value":"text/html; charset=UTF-8"},{"key":"Date","value":"Wed, 31 Jul 2019 10:12:51 GMT"},{"key":"ETag","value":"\"da39a3ee5e6b4b0d3255bfef95601890afd80709\""},{"key":"Server","value":"nginx"},{"key":"X-RateLimit-Limit","value":"180"},{"key":"X-RateLimit-Remaining","value":"178"},{"key":"Content-Length","value":"0"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":""},{"id":"35ecdf70-2f2a-4114-b072-409e87340903","name":"Invalid Data","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"order_id\": 123123,\n  \"shipping_customer_name\": \"Majin Bu\",\n  \"shipping_phone\": \"9988998899\",\n  \"shipping_address\": \"Earth\",\n  \"shipping_address_2\": \"\",\n  \"shipping_city\": \"Pune\",\n  \"shipping_state\": \"Maharashtra\",\n  \"shipping_country\": \"India\",\n  \"shipping_pincode\": 110077\n}"},"url":"{{url}}/v1/external/orders/address/update"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Wed, 31 Jul 2019 10:17:40 GMT"},{"key":"Server","value":"nginx"},{"key":"Content-Length","value":"111"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Oops! Invalid Data.\",\n    \"errors\": {\n        \"order_id\": [\n            \"The selected order id is invalid.\"\n        ]\n    },\n    \"status_code\": 422\n}"},{"id":"36ee1dd1-c89d-4e73-8172-71c570b29c00","name":"Missing Fields","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"order_id\": 16178831,\n  \"shipping_customer_name\": \"Majin Bu\",\n  \"shipping_phone\": \"9988998899\",\n  \"shipping_address\": \"Earth\",\n  \"shipping_address_2\": \"\",\n  \"shipping_city\": \"Pune\",\n  \"shipping_state\": \"Maharashtra\",\n  \"shipping_country\": \"\",\n  \"shipping_pincode\": 110077\n}"},"url":"{{url}}/v1/external/orders/address/update"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Wed, 31 Jul 2019 10:18:15 GMT"},{"key":"Server","value":"nginx"},{"key":"Content-Length","value":"125"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Oops! Invalid Data.\",\n    \"errors\": {\n        \"shipping_country\": [\n            \"The shipping country field is required.\"\n        ]\n    },\n    \"status_code\": 422\n}"}],"_postman_id":"00912c3a-211f-4cbc-9f2d-308a65338cb0"},{"name":"Cancel an Order","id":"f275fd43-cde9-416a-b725-b71770f9be0c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"ids\": []\n}"},"url":"https://apiv2.shiprocket.in/v1/external/orders/cancel","description":"<p>Use this API to cancel a created order. Multiple order_ids can be passed together as an array to cancel them simultaneously.</p>\n<h4 id=\"parameters\">Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>PARAMS</strong></th>\n<th><strong>REQUIRED</strong></th>\n<th><strong>DATA TYPE</strong></th>\n<th><strong>DESCRIPTION</strong></th>\n<th><strong>EXAMPLE</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>ids</code></td>\n<td>YES</td>\n<td><em>integer</em></td>\n<td>The Shiprocket order id/ids of the orders that need to be cancelled.</td>\n<td>16178831</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["v1","external","orders","cancel"],"host":["apiv2","shiprocket","in"],"query":[],"variable":[]}},"response":[{"id":"45177521-d8f9-462c-aa2d-26eff1e9f76f","name":"Successful Call","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"ids\": [16168898,16167171]\n}"},"url":"{{url}}/v1/external/orders/cancel"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"Date","value":"Wed, 31 Jul 2019 10:27:12 GMT"},{"key":"ETag","value":"\"da39a3ee5e6b4b0d3255bfef95601890afd80709\""},{"key":"Server","value":"nginx"},{"key":"X-RateLimit-Limit","value":"180"},{"key":"X-RateLimit-Remaining","value":"179"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":""},{"id":"4816abde-792a-4ef4-9811-df4b19adf9d8","name":"Missing Fields","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"ids\": []\n}"},"url":"{{url}}/v1/external/orders/cancel"},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Required field missing\",\n    \"errors\": {\n        \"ids\": [\n            \"The ids field is required.\"\n        ]\n    },\n    \"status_code\": 422\n}"},{"id":"ec9e1d1c-2682-4479-820f-71cbc0b81bb8","name":"Invalid Data","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"ids\": [12312312]\n}"},"url":"{{url}}/v1/external/orders/cancel"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Trying to get property of non-object\",\n    \"status_code\": 500\n}"}],"_postman_id":"f275fd43-cde9-416a-b725-b71770f9be0c"},{"name":"Add Inventory for Ordered Product","id":"188fb92e-45f4-4e44-a2b4-ed2b07f36505","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"data\": [\n    {\n      \"order_id\": \"\",\n      \"order_product_id\": \"\",\n      \"quantity\": \"\",\n      \"action\": \"\"\n    }\n  ]\n}"},"url":"https://apiv2.shiprocket.in/v1/external/orders/fulfill","description":"<p>Use this API to add inventory for ordered products which are out of stock or low on quantity. You have to pass the order id and order product id. You can also specify the quantity of items.</p>\n<p><strong>Notes:</strong></p>\n<ul>\n<li>Inventory sync of your account must be turned on to use this API.</li>\n<li>The order_id to be passed is the shiprocket order id.</li>\n<li>In case you dont know the product id, Use the 'Get Product Details' API to get details about all the existing products.</li>\n</ul>\n<h4 id=\"parameters\">Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>PARAMS</strong></th>\n<th><strong>REQUIRED</strong></th>\n<th><strong>DATA TYPE</strong></th>\n<th><strong>DESCRIPTION</strong></th>\n<th><strong>EXAMPLE</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>order_id</code></td>\n<td>YES</td>\n<td><em>integer</em></td>\n<td>The Shiprocket order_id specified to the order.</td>\n<td>16167171</td>\n</tr>\n<tr>\n<td><code>order_product_id</code></td>\n<td>YES</td>\n<td><em>integer</em></td>\n<td>The product id of the product to be added.</td>\n<td>17171717</td>\n</tr>\n<tr>\n<td><code>quantity</code></td>\n<td>YES</td>\n<td><em>string</em></td>\n<td>The number of items you want to add.</td>\n<td>10</td>\n</tr>\n<tr>\n<td><code>action</code></td>\n<td>YES</td>\n<td><em>string</em></td>\n<td>The action you want to carry out. Is 'add'.</td>\n<td>add</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["v1","external","orders","fulfill"],"host":["apiv2","shiprocket","in"],"query":[],"variable":[]}},"response":[{"id":"35f2c66b-887c-4bee-a7ae-478a66ce7dbd","name":"Successful Call","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"data\": [\n    {\n      \"order_id\": 14124005,\n      \"order_product_id\": 43737767570843,\n      \"quantity\": \"1\",\n      \"action\": \"add\"\n    }\n  ]\n}"},"url":"{{url}}/v1/external/orders/fulfill"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Tue, 06 Aug 2019 07:44:14 GMT"},{"key":"ETag","value":"W/\"616f43cf06e685742a73919d71a9730b46cc04ec\""},{"key":"Server","value":"nginx"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-RateLimit-Limit","value":"180"},{"key":"X-RateLimit-Remaining","value":"179"},{"key":"Content-Length","value":"161"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"data\": {\n            \"order_id\": 14124005,\n            \"order_product_id\": 43737767570843,\n            \"quantity\": \"1\",\n            \"action\": \"add\"\n        },\n        \"success\": true,\n        \"message\": \"Inventory added successfully\"\n    }\n]"},{"id":"3a8182b4-fbd1-4e83-abcd-142c3ca21f0e","name":"Missing Fields","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"data\": [\n    {\n      \"order_id\": \"\",\n      \"order_product_id\": \"\",\n      \"quantity\": \"\",\n      \"action\": \"\"\n    }\n  ]\n}"},"url":"{{url}}/v1/external/orders/fulfill"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"data\": {\n            \"order_id\": \"\",\n            \"order_product_id\": \"\",\n            \"quantity\": \"\",\n            \"action\": \"\"\n        },\n        \"success\": false,\n        \"message\": \"Incorrect order_id or order status is no longer unfulfillable\"\n    }\n]"},{"id":"a1edad4d-cf5a-4f41-820d-6187df080743","name":"Invalid Data","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"data\": [\n    {\n      \"order_id\": 10000001,\n      \"order_product_id\": 17777771,\n      \"quantity\": \"1\",\n      \"action\": \"add\"\n    }\n  ]\n}"},"url":"{{url}}/v1/external/orders/fulfill"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"data\": {\n            \"order_id\": 10000001,\n            \"order_product_id\": 17777771,\n            \"quantity\": \"1\",\n            \"action\": \"add\"\n        },\n        \"success\": false,\n        \"message\": \"Incorrect order_id or order status is no longer unfulfillable\"\n    }\n]"}],"_postman_id":"188fb92e-45f4-4e44-a2b4-ed2b07f36505"},{"name":"Map Unmapped Products","id":"64fba94e-48af-42a2-a0d8-71031fce23c8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"data\": [\n    {\n      \"order_id\": \"\",\n      \"order_product_id\": \"\",\n      \"master_sku\": \"\"\n    }\n  ]\n}"},"url":"https://apiv2.shiprocket.in/v1/external/orders/mapping","description":"<p>This API maps your unmapped inventory products. </p>\n<p><strong>Note:</strong></p>\n<ul>\n<li>Products must be unmapped to run this API sucessfully.</li>\n<li>Inventory sync must be turned on to use this API.</li>\n</ul>\n<h4 id=\"parameters\">Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>PARAMS</strong></th>\n<th><strong>REQUIRED</strong></th>\n<th><strong>DATA TYPE</strong></th>\n<th><strong>DESCRIPTION</strong></th>\n<th><strong>EXAMPLE</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>order_id</code></td>\n<td>YES</td>\n<td><em>integer</em></td>\n<td>The Shiprocket order_id specified to the order.</td>\n<td>16167171</td>\n</tr>\n<tr>\n<td><code>order_product_id</code></td>\n<td>YES</td>\n<td><em>integer</em></td>\n<td>The product id of the product to be mapped.</td>\n<td>17171717</td>\n</tr>\n<tr>\n<td><code>master_sku</code></td>\n<td>YES</td>\n<td><em>string</em></td>\n<td>The sku id of the product. In case of single integrated channel, master sku is the same as channel_sku; Otherwise it can be found using the 'Get All Products' API.</td>\n<td>chakra123</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["v1","external","orders","mapping"],"host":["apiv2","shiprocket","in"],"query":[],"variable":[]}},"response":[{"id":"2f05af3b-d288-44bb-8afe-8f7fc8c65c15","name":"Missing Fields","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"data\": [\n    {\n      \"order_id\": \"\",\n      \"order_product_id\": \"\",\n      \"master_sku\": \"\"\n    }\n  ]\n}"},"url":"{{url}}/v1/external/orders/mapping"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Tue, 06 Aug 2019 07:55:10 GMT"},{"key":"ETag","value":"W/\"3a05e7cd60be8c2425ebca7a4f8f86d93ed80196\""},{"key":"Server","value":"nginx"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-RateLimit-Limit","value":"180"},{"key":"X-RateLimit-Remaining","value":"179"},{"key":"Content-Length","value":"128"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"data\": {\n            \"order_id\": \"\",\n            \"order_product_id\": \"\",\n            \"master_sku\": \"\"\n        },\n        \"status_code\": 0,\n        \"success\": false,\n        \"message\": \"No product found matching this master sku\"\n    }\n]"},{"id":"760f2b99-d9a8-432b-85e3-73f36420b1a6","name":"Invalid Data","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"data\": [\n    {\n      \"order_id\": 11111111,\n      \"order_product_id\": 17777771,\n      \"master_sku\": \"chakra123\"\n    }\n  ]\n}"},"url":"{{url}}/v1/external/orders/mapping"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"data\": {\n            \"order_id\": 16178831,\n            \"order_product_id\": 17484610,\n            \"master_sku\": \"chakra123\"\n        },\n        \"status_code\": 0,\n        \"message\": \"Incorrect order_id or order status is  no longer unmapped\",\n        \"success\": false\n    }\n]"},{"id":"b3fc49e9-ecf1-4c4f-ab84-d7c30f199065","name":"Successful Call","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"data\": [\n    {\n      \"order_id\": 14303681,\n      \"order_product_id\": 16487731,\n      \"master_sku\": \"delta123\"\n    }\n  ]\n}"},"url":"{{url}}/v1/external/orders/mapping"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Tue, 06 Aug 2019 07:53:33 GMT"},{"key":"ETag","value":"W/\"9135f87cf18f25f21b8e15b6e72a2dd642dc777d\""},{"key":"Server","value":"nginx"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-RateLimit-Limit","value":"180"},{"key":"X-RateLimit-Remaining","value":"179"},{"key":"Content-Length","value":"149"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"data\": {\n            \"order_id\": 14303681,\n            \"order_product_id\": 16487731,\n            \"master_sku\": \"delta123\"\n        },\n        \"status_code\": 200,\n        \"success\": true,\n        \"message\": \"Product mapped sucessfully.\"\n    }\n]"}],"_postman_id":"64fba94e-48af-42a2-a0d8-71031fce23c8"},{"name":"Import Orders in Bulk","id":"6b7bf1f8-93bd-4d05-a062-1bf9f7feb46d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","src":"/home/death-note/Desktop/order.csv"}]},"url":"https://apiv2.shiprocket.in/v1/external/orders/import","description":"<p>Use this API to import orders in bulk to your Shiprocket account from an existing '.csv' file. The imported orders are automatically added to your panel.</p>\n","urlObject":{"protocol":"https","path":["v1","external","orders","import"],"host":["apiv2","shiprocket","in"],"query":[],"variable":[]}},"response":[{"id":"78476af4-e5f5-4a48-8664-b6f262ebe81a","name":"Successful Call","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","src":[]}]},"url":"https://apiv2.shiprocket.in/v1/external/orders/import"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Wed, 31 Jul 2019 10:44:04 GMT"},{"key":"ETag","value":"W/\"4e6e512d76f7d14f121a811bb74f4ce1b802f5db\""},{"key":"Server","value":"nginx"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-RateLimit-Limit","value":"180"},{"key":"X-RateLimit-Remaining","value":"179"},{"key":"Content-Length","value":"35"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 19739203\n}"},{"id":"8d4e4f3f-8b9f-43ee-a8d9-f214699abd29","name":"Missing Fields","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","src":[],"disabled":true}]},"url":"{{url}}/v1/external/orders/import"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Wed, 31 Jul 2019 10:44:57 GMT"},{"key":"Server","value":"nginx"},{"key":"Content-Length","value":"109"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Oops! Something went wrong.\",\n    \"errors\": {\n        \"file\": [\n            \"The file field is required.\"\n        ]\n    },\n    \"status_code\": 422\n}"},{"id":"e6cc100a-a6b4-42c7-8297-9c53ba628b5a","name":"Invalid Data","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","src":[]}]},"url":"{{url}}/v1/external/orders/import"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Wed, 31 Jul 2019 10:46:32 GMT"},{"key":"Server","value":"nginx"},{"key":"Content-Length","value":"73"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Sorry, text/x-c file type is not allowed\",\n    \"status_code\": 400\n}"}],"_postman_id":"6b7bf1f8-93bd-4d05-a062-1bf9f7feb46d"}],"id":"05e7f968-8bc2-4e26-b32f-752883ec0bd6","description":"<p>Using these API's, you can create new orders in your shiprocket account or update details about already existing orders.<br />You can also cancel an order, bulk import orders from a .csv file and add inventory for an ordered product.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""]}},{"listen":"test","script":{"type":"text/javascript","exec":[""]}}],"_postman_id":"05e7f968-8bc2-4e26-b32f-752883ec0bd6"},{"name":"Couriers","item":[{"name":"Generate AWB for Shipment","id":"2171b23d-a2be-48e7-963c-6e35a1b84214","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"shipment_id\": \"\",\n  \"courier_id\": \"\",\n  \"status\": \"\"\n \n}"},"url":"https://apiv2.shiprocket.in/v1/external/courier/assign/awb","description":"<p>This API can be used to assign the AWB (Air Waybill Number) to your shipment. This is a unique number that helps you track the shipment and get details about it.</p>\n<h4 id=\"parameters\">Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>PARAMS</strong></th>\n<th><strong>REQUIRED</strong></th>\n<th><strong>DATA TYPE</strong></th>\n<th><strong>DESCRIPTION</strong></th>\n<th><strong>EXAMPLE</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>shipment_id</code></td>\n<td>YES</td>\n<td><em>integer</em></td>\n<td>The shipment id of the order you want to create the AWB of.</td>\n<td>16016920</td>\n</tr>\n<tr>\n<td><code>courier_id</code></td>\n<td>NO</td>\n<td><em>integer</em></td>\n<td>The courier id of the courier service you want to select. The default courier is selected in case no id is specified.</td>\n<td>10</td>\n</tr>\n<tr>\n<td><code>status</code></td>\n<td>NO</td>\n<td><em>string</em></td>\n<td>Use this to change the courier of a shipment. Value: reassign  Note that this can be done only once in 24 hours.</td>\n<td>reassign</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["v1","external","courier","assign","awb"],"host":["apiv2","shiprocket","in"],"query":[],"variable":[]}},"response":[{"id":"8c3a31ad-a57b-4206-94b2-995d1437f5e5","name":"Invalid Data","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"shipment_id\": \"11111111\"\n}"},"url":"{{url}}/v1/external/courier/assign/awb"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Oops! Cannot reassign courier for this shipment.\",\n    \"status_code\": 400\n}"},{"id":"bde1ff96-8329-420e-934a-791021ede005","name":"Successful Call","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"shipment_id\": \"16090281\",\n    \"courier_id\": \"10\"\n}"},"url":"{{url}}/v1/external/courier/assign/awb"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Thu, 01 Aug 2019 07:11:47 GMT"},{"key":"ETag","value":"W/\"d4f923477ce0c5adca072e77ea95c87598f0e62f\""},{"key":"Server","value":"nginx"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-RateLimit-Limit","value":"180"},{"key":"X-RateLimit-Remaining","value":"178"},{"key":"Content-Length","value":"250"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"awb_assign_status\": 1,\n    \"response\": {\n        \"data\": {\n            \"courier_company_id\": 10,\n            \"awb_code\": \"109139884724\",\n            \"cod\": 0,\n            \"order_id\": 16241076,\n            \"shipment_id\": 16090281,\n            \"awb_code_status\": 1,\n            \"assigned_date_time\": {\n                \"date\": \"2019-08-01 12:41:46.281791\",\n                \"timezone_type\": 3,\n                \"timezone\": \"Asia/Kolkata\"\n            },\n            \"applied_weight\": 2.5,\n            \"company_id\": 25149,\n            \"courier_name\": \"Delhivery\",\n            \"child_courier_name\": null\n        }\n    }\n}"},{"id":"dedb7873-8625-43b3-914a-e6dde22b37bf","name":"Missing Fields","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"shipment_id\": \"\",\n    \"courier_id\": \"\"\n}"},"url":"{{url}}/v1/external/courier/assign/awb"},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Required field missing\",\n    \"errors\": {\n        \"shipment_id\": [\n            \"The shipment id field is required.\"\n        ]\n    },\n    \"status_code\": 422\n}"}],"_postman_id":"2171b23d-a2be-48e7-963c-6e35a1b84214"},{"name":"Check Courier Serviceability","id":"1b79f6eb-d419-465b-8436-0fff6b3074d4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"url":"https://apiv2.shiprocket.in/v1/external/courier/serviceability/","description":"<p>Use this API to check the availability of couriers between the pickup and delivery postal codes.\nFurther details like the estimated time of delivery, the rates along with the ids are also shown.</p>\n<p><strong>Note:</strong></p>\n<ul>\n<li>One of either the 'order_id' or 'cod' and 'weight' is required. In case you specify the order id, the cod and weight fields are not required and vice versa.</li>\n<li>You can add further fields to add the shipment details and filter the search.</li>\n</ul>\n<h4 id=\"parameters\">Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>PARAMS</strong></th>\n<th><strong>REQUIRED</strong></th>\n<th><strong>DATA TYPE</strong></th>\n<th><strong>DESCRIPTION</strong></th>\n<th><strong>EXAMPLE</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>pickup_postcode</code></td>\n<td>YES</td>\n<td><em>integer</em></td>\n<td>Postcode from where the order will be picked.</td>\n<td>110030</td>\n</tr>\n<tr>\n<td><code>delivery_postcode</code></td>\n<td>YES</td>\n<td><em>integer</em></td>\n<td>Postcode where the order will be delivered</td>\n<td>122002</td>\n</tr>\n<tr>\n<td><code>order_id</code></td>\n<td>NO</td>\n<td><em>integer</em></td>\n<td>If order id is already created in Shiprocket panel then you can use this shiprocket order id in servicibility</td>\n<td>123456</td>\n</tr>\n<tr>\n<td><code>cod</code></td>\n<td>CONDITIONAL YES</td>\n<td><em>boolean</em></td>\n<td>1 for Cash on Delivery and 0 for Prepaid orders.</td>\n<td>1</td>\n</tr>\n<tr>\n<td><code>weight</code></td>\n<td>CONDITIONAL YES</td>\n<td><em>string</em></td>\n<td>The weight of shipment in kgs.</td>\n<td>2</td>\n</tr>\n<tr>\n<td><code>length</code></td>\n<td>NO</td>\n<td><em>integer</em></td>\n<td>The length of the shipment in cms.</td>\n<td>15</td>\n</tr>\n<tr>\n<td><code>breadth</code></td>\n<td>NO</td>\n<td><em>integer</em></td>\n<td>The breadth of the shipment in cms.</td>\n<td>10</td>\n</tr>\n<tr>\n<td><code>height</code></td>\n<td>NO</td>\n<td><em>integer</em></td>\n<td>The height of the shipment in cms.</td>\n<td>5</td>\n</tr>\n<tr>\n<td><code>declared_value</code></td>\n<td>NO</td>\n<td><em>integer</em></td>\n<td>The price of the order shipment rupee.</td>\n<td>50</td>\n</tr>\n<tr>\n<td><code>mode</code></td>\n<td>NO</td>\n<td><em>string</em></td>\n<td>The mode of travel. Either: Surface or Air</td>\n<td>Air</td>\n</tr>\n<tr>\n<td><code>is_return</code></td>\n<td>NO</td>\n<td><em>integer</em></td>\n<td>Whether the order is return order or not. 1 in case of Yes and 0 for No</td>\n<td>0</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["v1","external","courier","serviceability",""],"host":["apiv2","shiprocket","in"],"query":[],"variable":[]}},"response":[{"id":"14b4ac80-5dc6-42f9-b9eb-b2600d266f2f","name":"Successful Call","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"url":"{{url}}/v1/external/courier/serviceability/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Thu, 01 Aug 2019 07:46:58 GMT"},{"key":"ETag","value":"W/\"83dcfc7d5e2f6c8b8c7a443a3fef65bff7a9b7f3\""},{"key":"Server","value":"nginx"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-RateLimit-Limit","value":"180"},{"key":"X-RateLimit-Remaining","value":"178"},{"key":"Content-Length","value":"752"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"data\": {\n        \"is_recommendation_enabled\": 1,\n        \"recommended_by\": {\n            \"id\": 4,\n            \"title\": \"Custom (Sorted on courier priorities)\"\n        },\n        \"child_courier_id\": null,\n        \"recommended_courier_company_id\": 12,\n        \"shiprocket_recommended_courier_id\": 41,\n        \"available_courier_companies\": [\n            {\n                \"base_courier_id\": null,\n                \"courier_type\": \"0\",\n                \"courier_company_id\": 12,\n                \"courier_name\": \"Fedex Surface\",\n                \"is_rto_address_available\": false,\n                \"rate\": 162,\n                \"is_surface\": true,\n                \"rating\": 4.2,\n                \"estimated_delivery_days\": \"\",\n                \"rto_performance\": null,\n                \"pickup_performance\": 99,\n                \"delivery_performance\": 80,\n                \"cod\": 1,\n                \"description\": \"\",\n                \"mode\": 0,\n                \"min_weight\": 10,\n                \"is_international\": 0,\n                \"entry_tax\": 0,\n                \"pickup_availability\": 1,\n                \"seconds_left_for_pickup\": 16982,\n                \"etd_hours\": 88,\n                \"etd\": \"Aug 5, 2019\"\n            },\n            {\n                \"base_courier_id\": null,\n                \"courier_type\": \"0\",\n                \"courier_company_id\": 42,\n                \"courier_name\": \"Fedex SL\",\n                \"is_rto_address_available\": false,\n                \"rate\": 73.6,\n                \"is_surface\": true,\n                \"rating\": 4.6,\n                \"estimated_delivery_days\": \"\",\n                \"rto_performance\": null,\n                \"pickup_performance\": 99,\n                \"delivery_performance\": 90,\n                \"cod\": 1,\n                \"description\": \"\",\n                \"mode\": 0,\n                \"min_weight\": 2,\n                \"is_international\": 0,\n                \"entry_tax\": 0,\n                \"pickup_availability\": 1,\n                \"seconds_left_for_pickup\": 16982,\n                \"etd_hours\": 86,\n                \"etd\": \"Aug 5, 2019\"\n            },\n            {\n                \"base_courier_id\": null,\n                \"courier_type\": \"0\",\n                \"courier_company_id\": 10,\n                \"courier_name\": \"Delhivery\",\n                \"is_rto_address_available\": true,\n                \"rate\": 52,\n                \"is_surface\": false,\n                \"rating\": 4.8,\n                \"estimated_delivery_days\": \"\",\n                \"rto_performance\": null,\n                \"pickup_performance\": 90,\n                \"delivery_performance\": 99,\n                \"cod\": 1,\n                \"description\": \"\",\n                \"mode\": 1,\n                \"min_weight\": 0.5,\n                \"is_international\": 0,\n                \"entry_tax\": 0,\n                \"pickup_availability\": 0,\n                \"seconds_left_for_pickup\": 0,\n                \"etd_hours\": 75,\n                \"etd\": \"Aug 4, 2019\"\n            },\n            {\n                \"base_courier_id\": null,\n                \"courier_type\": \"0\",\n                \"courier_company_id\": 2,\n                \"courier_name\": \"Fedex\",\n                \"is_rto_address_available\": false,\n                \"rate\": 57.8,\n                \"is_surface\": false,\n                \"rating\": 4.9,\n                \"estimated_delivery_days\": \"\",\n                \"rto_performance\": null,\n                \"pickup_performance\": 99,\n                \"delivery_performance\": 99,\n                \"cod\": 1,\n                \"description\": \"\",\n                \"mode\": 1,\n                \"min_weight\": 0.5,\n                \"is_international\": 0,\n                \"entry_tax\": 0,\n                \"pickup_availability\": 1,\n                \"seconds_left_for_pickup\": 16982,\n                \"etd_hours\": 74,\n                \"etd\": \"Aug 4, 2019\"\n            },\n            {\n                \"base_courier_id\": null,\n                \"courier_type\": \"0\",\n                \"courier_company_id\": 41,\n                \"courier_name\": \"Fedex FR\",\n                \"is_rto_address_available\": false,\n                \"rate\": 48,\n                \"is_surface\": false,\n                \"rating\": 4.8,\n                \"estimated_delivery_days\": \"\",\n                \"rto_performance\": null,\n                \"pickup_performance\": 90,\n                \"delivery_performance\": 99,\n                \"cod\": 1,\n                \"description\": \"\",\n                \"mode\": 1,\n                \"min_weight\": 0.5,\n                \"is_international\": 0,\n                \"entry_tax\": 0,\n                \"pickup_availability\": 1,\n                \"seconds_left_for_pickup\": 16982,\n                \"etd_hours\": 75,\n                \"etd\": \"Aug 4, 2019\"\n            },\n            {\n                \"base_courier_id\": null,\n                \"courier_type\": \"0\",\n                \"courier_company_id\": 33,\n                \"courier_name\": \"Xpressbees\",\n                \"is_rto_address_available\": true,\n                \"rate\": 45,\n                \"is_surface\": false,\n                \"rating\": 4.3,\n                \"estimated_delivery_days\": \"\",\n                \"rto_performance\": null,\n                \"pickup_performance\": 80,\n                \"delivery_performance\": 90,\n                \"cod\": 1,\n                \"description\": \"\",\n                \"mode\": 1,\n                \"min_weight\": 0.5,\n                \"is_international\": 0,\n                \"entry_tax\": 0,\n                \"pickup_availability\": 0,\n                \"seconds_left_for_pickup\": 0,\n                \"etd_hours\": 80,\n                \"etd\": \"Aug 4, 2019\"\n            },\n            {\n                \"base_courier_id\": null,\n                \"courier_type\": \"0\",\n                \"courier_company_id\": 39,\n                \"courier_name\": \"Delhivery Surface\",\n                \"is_rto_address_available\": true,\n                \"rate\": 191,\n                \"is_surface\": true,\n                \"rating\": 4,\n                \"estimated_delivery_days\": \"\",\n                \"rto_performance\": null,\n                \"pickup_performance\": 60,\n                \"delivery_performance\": 90,\n                \"cod\": 1,\n                \"description\": \"\",\n                \"mode\": 0,\n                \"min_weight\": 5,\n                \"is_international\": 0,\n                \"entry_tax\": 0,\n                \"pickup_availability\": 0,\n                \"seconds_left_for_pickup\": 0,\n                \"etd_hours\": 121,\n                \"etd\": \"Aug 6, 2019\"\n            },\n            {\n                \"base_courier_id\": null,\n                \"courier_type\": \"0\",\n                \"courier_company_id\": 40,\n                \"courier_name\": \"Gati Surface\",\n                \"is_rto_address_available\": false,\n                \"rate\": 113,\n                \"is_surface\": true,\n                \"rating\": 3.6,\n                \"estimated_delivery_days\": \"\",\n                \"rto_performance\": null,\n                \"pickup_performance\": 80,\n                \"delivery_performance\": 70,\n                \"cod\": 1,\n                \"description\": \"\",\n                \"mode\": 0,\n                \"min_weight\": 5,\n                \"is_international\": 0,\n                \"entry_tax\": 0,\n                \"pickup_availability\": 0,\n                \"seconds_left_for_pickup\": 0,\n                \"etd_hours\": 109,\n                \"etd\": \"Aug 6, 2019\"\n            },\n            {\n                \"base_courier_id\": null,\n                \"courier_type\": \"0\",\n                \"courier_company_id\": 43,\n                \"courier_name\": \"Delhivery Surface Standard\",\n                \"is_rto_address_available\": true,\n                \"rate\": 47.7,\n                \"is_surface\": true,\n                \"rating\": 4.5,\n                \"estimated_delivery_days\": \"\",\n                \"rto_performance\": null,\n                \"pickup_performance\": 90,\n                \"delivery_performance\": 90,\n                \"cod\": 1,\n                \"description\": \"\",\n                \"mode\": 0,\n                \"min_weight\": 0.5,\n                \"is_international\": 0,\n                \"entry_tax\": 0,\n                \"pickup_availability\": 0,\n                \"seconds_left_for_pickup\": 0,\n                \"etd_hours\": 95,\n                \"etd\": \"Aug 5, 2019\"\n            },\n            {\n                \"base_courier_id\": null,\n                \"courier_type\": \"0\",\n                \"courier_company_id\": 44,\n                \"courier_name\": \"Delhivery Surface Lite\",\n                \"is_rto_address_available\": true,\n                \"rate\": 115.8,\n                \"is_surface\": true,\n                \"rating\": 4.5,\n                \"estimated_delivery_days\": \"\",\n                \"rto_performance\": null,\n                \"pickup_performance\": 90,\n                \"delivery_performance\": 90,\n                \"cod\": 1,\n                \"description\": \"\",\n                \"mode\": 0,\n                \"min_weight\": 2,\n                \"is_international\": 0,\n                \"entry_tax\": 0,\n                \"pickup_availability\": 0,\n                \"seconds_left_for_pickup\": 0,\n                \"etd_hours\": 100,\n                \"etd\": \"Aug 5, 2019\"\n            },\n            {\n                \"base_courier_id\": null,\n                \"courier_type\": \"0\",\n                \"courier_company_id\": 51,\n                \"courier_name\": \"Xpressbees Surface\",\n                \"is_rto_address_available\": true,\n                \"rate\": 39,\n                \"is_surface\": true,\n                \"rating\": 4.2,\n                \"estimated_delivery_days\": \"\",\n                \"rto_performance\": null,\n                \"pickup_performance\": 50,\n                \"delivery_performance\": 99,\n                \"cod\": 1,\n                \"description\": \"\",\n                \"mode\": 0,\n                \"min_weight\": 0.5,\n                \"is_international\": 0,\n                \"entry_tax\": 0,\n                \"pickup_availability\": 0,\n                \"seconds_left_for_pickup\": 0,\n                \"etd_hours\": 156,\n                \"etd\": \"Aug 8, 2019\"\n            },\n            {\n                \"base_courier_id\": null,\n                \"courier_type\": \"0\",\n                \"courier_company_id\": 54,\n                \"courier_name\": \"Ekart Surface\",\n                \"is_rto_address_available\": false,\n                \"rate\": 44,\n                \"is_surface\": true,\n                \"rating\": 4.6,\n                \"estimated_delivery_days\": \"\",\n                \"rto_performance\": null,\n                \"pickup_performance\": 99,\n                \"delivery_performance\": 90,\n                \"cod\": 1,\n                \"description\": \"\",\n                \"mode\": 0,\n                \"min_weight\": 0.5,\n                \"is_international\": 0,\n                \"entry_tax\": 0,\n                \"pickup_availability\": 0,\n                \"seconds_left_for_pickup\": 0,\n                \"etd_hours\": 100,\n                \"etd\": \"Aug 5, 2019\"\n            }\n        ]\n    }\n}"},{"id":"1a782c98-acfb-457a-8f37-581b38dd54f5","name":"Missing Fields","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"url":"{{url}}/v1/external/courier/serviceability/"},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Required field missing\",\n    \"errors\": {\n        \"weight\": [\n            \"The weight field is required when order id is not present.\"\n        ],\n        \"cod\": [\n            \"The cod field is required when order id is not present.\"\n        ],\n        \"order_id\": [\n            \"The order id field is required when pickup postcode / delivery postcode / cod / weight is not present.\"\n        ]\n    },\n    \"status_code\": 422\n}"},{"id":"c382b232-3888-4661-8803-197fb954ab82","name":"Invalid Data","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"url":"{{url}}/v1/external/courier/serviceability/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Thu, 01 Aug 2019 07:48:23 GMT"},{"key":"ETag","value":"W/\"feb326b1e21eceaf92fd6596d61b3c60acd75fa4\""},{"key":"Server","value":"nginx"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-RateLimit-Limit","value":"180"},{"key":"X-RateLimit-Remaining","value":"178"},{"key":"Content-Length","value":"68"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 404,\n    \"message\": \"Order does not exist!\"\n}"}],"_postman_id":"1b79f6eb-d419-465b-8436-0fff6b3074d4"},{"name":"Check International Courier Serviceability","id":"295cf483-0616-4fa2-8c95-ffe006a8f6b1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"url":"https://apiv2.shiprocket.in/v1/external/courier/international/serviceability","description":"<p>This API checks courier serviceability for international orders and diplays them as a list.</p>\n<p><strong>Notes:</strong></p>\n<ul>\n<li>'cod' field must be 0 as COD is not available for international orders.</li>\n<li>To access this API, your Shiprocket account must have ADVANCED, or PRO plans activated.</li>\n</ul>\n<h4 id=\"parameters\">Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>PARAMS</strong></th>\n<th><strong>REQUIRED</strong></th>\n<th><strong>DATA TYPE</strong></th>\n<th><strong>DESCRIPTION</strong></th>\n<th><strong>EXAMPLE</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code> weight</code></td>\n<td>YES</td>\n<td><em>integer</em></td>\n<td>The weight of the shipment.</td>\n<td>10</td>\n</tr>\n<tr>\n<td><code>cod</code></td>\n<td>YES</td>\n<td><em>integer</em></td>\n<td>Cash on delivery status. Must be 0.</td>\n<td>0</td>\n</tr>\n<tr>\n<td><code>delivery_country</code></td>\n<td>YES</td>\n<td><em>string</em></td>\n<td>The destination country ISO Alpha 2 code.</td>\n<td>US</td>\n</tr>\n<tr>\n<td><code>order_id</code></td>\n<td>NO</td>\n<td><em>integer</em></td>\n<td>The Shiprocket order_id of the shipment if available.</td>\n<td>1</td>\n</tr>\n<tr>\n<td><code>pickup_postcode</code></td>\n<td>NO</td>\n<td><em>integer</em></td>\n<td>Use this field to select a different pickup postcode other than the primary pickup address.</td>\n<td>2</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["v1","external","courier","international","serviceability"],"host":["apiv2","shiprocket","in"],"query":[],"variable":[]}},"response":[{"id":"310a6857-ecee-4562-8993-d30b798d2bc6","name":"Missing Fields","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"url":"{{url}}/v1/external/courier/international/serviceability"},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Required field missing\",\n    \"errors\": {\n        \"delivery_country\": [\n            \"The delivery country field is required when order id is not present.\"\n        ]\n    },\n    \"status_code\": 422\n}"},{"id":"7b777f5e-9c3c-462c-9158-32ac3befa25a","name":"Successful Call","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"url":"https://apiv2.shiprocket.in/v1/external/courier/international/serviceability"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Thu, 01 Aug 2019 08:46:12 GMT"},{"key":"ETag","value":"W/\"c13788b6596fd2944d749a093ee6c7f5bc7b6167\""},{"key":"Server","value":"nginx"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-RateLimit-Limit","value":"180"},{"key":"X-RateLimit-Remaining","value":"179"},{"key":"Content-Length","value":"81"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": 200,\n  \"data\": {\n    \"is_recommendation_enabled\": true,\n    \"recommended_courier_company_id\": 10,\n    \"recommended_by\": {\n      \"id\": 4,\n      \"title\": \"Custom selection\"\n    },\n    \"available_courier_companies\": [\n      {\n        \"courier_company_id\": 10,\n        \"courier_name\": \"ARAMEX\",\n        \"rate\": {\n          \"rate\": \"1220.34\",\n          \"weight\": \"10\"\n        }\n      }\n    ]\n  }\n}\n\n"},{"id":"a5662112-0a26-4e63-996c-15f864153c89","name":"Invalid Data","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"url":"{{url}}/v1/external/courier/international/serviceability"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 404,\n    \"data\": {\n        \"is_recommendation_enabled\": 1,\n        \"recommended_by\": {\n            \"id\": 4,\n            \"title\": \"Custom (Sorted on courier priorities)\"\n        },\n        \"child_courier_id\": null,\n        \"recommended_courier_company_id\": 35,\n        \"shiprocket_recommended_courier_id\": 35,\n        \"available_courier_companies\": []\n    },\n    \"message\": \"No serviceable courier available\"\n}"}],"_postman_id":"295cf483-0616-4fa2-8c95-ffe006a8f6b1"},{"name":"Request for Shipment Pickup","id":"64364519-bc7d-49ee-9cc7-045e9cf4c277","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"shipment_id\": [16090109,1220012],\n\t\"status\": \"\"\n}"},"url":"https://apiv2.shiprocket.in/v1/external/courier/generate/pickup","description":"<p>Use this API to create a pickup request for your order shipment. The API returns the pickup status along with the estimated pickup time. \nYou will have to call the 'Generate Manifest' API after the successful response of this API.</p>\n<p><strong>Note:</strong></p>\n<ul>\n<li>The AWB must be already generated for the shipment id in order to generate the pickup request.</li>\n</ul>\n<h4 id=\"parameters\">Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>PARAMS</strong></th>\n<th><strong>REQUIRED</strong></th>\n<th><strong>DATA TYPE</strong></th>\n<th><strong>DESCRIPTION</strong></th>\n<th><strong>EXAMPLE</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>shipment_id</code></td>\n<td>YES</td>\n<td><em>array</em></td>\n<td>The shipment id of the shipment which is requested for pickup.</td>\n<td>[16090109,1220012]</td>\n</tr>\n<tr>\n<td><code>status</code></td>\n<td>NO</td>\n<td><em>string</em></td>\n<td>Use this field to retry if the pickup request fails. Value: retry</td>\n<td>retry</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["v1","external","courier","generate","pickup"],"host":["apiv2","shiprocket","in"],"query":[],"variable":[]}},"response":[{"id":"01cb198f-7443-4db9-8279-237e0ea59e3b","name":"Missing Fields","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"shipment_id\": [\"\"]\n\t\n}"},"url":"{{url}}/v1/external/courier/generate/pickup"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Invalid shipment id\",\n    \"status_code\": 400\n}"},{"id":"5c766e58-84c0-4c16-893d-a525beb1eac5","name":"Invalid Data","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"shipment_id\": [121121212]\n\t\n}"},"url":"{{url}}/v1/external/courier/generate/pickup"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Invalid shipment id\",\n    \"status_code\": 400\n}"},{"id":"d0e9122a-806f-4a57-85e6-62d87f8b956c","name":"Successful Call","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"shipment_id\": [16091084]\n\t\n}"},"url":"{{url}}/v1/external/courier/generate/pickup"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Thu, 01 Aug 2019 09:14:01 GMT"},{"key":"ETag","value":"W/\"eecbf0d867c3ea23667fad5fc5c3d321ee6e93db\""},{"key":"Server","value":"nginx"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-RateLimit-Limit","value":"180"},{"key":"X-RateLimit-Remaining","value":"178"},{"key":"Content-Length","value":"114"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"pickup_status\": 1,\n    \"response\": {\n        \"pickup_scheduled_date\": {\n            \"date\": \"2019-07-01 12:27:50.112667\",\n            \"timezone_type\": 3,\n            \"timezone\": \"Asia/Kolkata\"\n        },\n        \"pickup_token_number\": \"Reference No: 1111_BIGFOOT 11111_11111111\",\n        \"status\": 3,\n        \"pickup_generated_date\": {\n            \"date\": \"2019-07-01 12:27:50.112693\",\n            \"timezone_type\": 3,\n            \"timezone\": \"Asia/Kolkata\"\n        },\n        \"data\": \"Pickup is confirmed by Xpressbees Surface For AWB :- 11111111111111\"\n    }\n}"}],"_postman_id":"64364519-bc7d-49ee-9cc7-045e9cf4c277"}],"id":"48cf77e2-d358-4bf6-b661-9715c99408f1","description":"<p>Use these API's to assign AWB to your order, check for courier serviceability, and request for the pickup of your order.</p>\n<p>All available couriers along with their codes are mentioned below:</p>\n<p><strong>Note</strong>: The couriers marked '#' are for international shipments and the ones marked '##' are for return orders.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>COURIER NAME</strong></th>\n<th><strong>COURIER CODE</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>BLUEDART</td>\n<td>1</td>\n</tr>\n<tr>\n<td>FEDEX</td>\n<td>2</td>\n</tr>\n<tr>\n<td>FEDEX PACKAGING#</td>\n<td>7</td>\n</tr>\n<tr>\n<td>DHL PACKET INTERNATIONAL#</td>\n<td>8</td>\n</tr>\n<tr>\n<td>DELHIVERY</td>\n<td>10</td>\n</tr>\n<tr>\n<td>FEDEX SURFACE</td>\n<td>12</td>\n</tr>\n<tr>\n<td>ECOMEXP</td>\n<td>14</td>\n</tr>\n<tr>\n<td>DOTZOT</td>\n<td>16</td>\n</tr>\n<tr>\n<td>XPRESSBEES</td>\n<td>33</td>\n</tr>\n<tr>\n<td>ARAMEX INTERNATIONAL#</td>\n<td>35</td>\n</tr>\n<tr>\n<td>DHL PACKET PLUS INTERNATIONAL#</td>\n<td>37</td>\n</tr>\n<tr>\n<td>DHL PARCEL INTERNATIONAL DIRECT#</td>\n<td>38</td>\n</tr>\n<tr>\n<td>DELHIVERY SURFACE</td>\n<td>39</td>\n</tr>\n<tr>\n<td>GATI SURFACE</td>\n<td>40</td>\n</tr>\n<tr>\n<td>FEDEX FR</td>\n<td>41</td>\n</tr>\n<tr>\n<td>FEDEX SL</td>\n<td>42</td>\n</tr>\n<tr>\n<td>DELHIVERY SURFACE STANDAR</td>\n<td>43</td>\n</tr>\n<tr>\n<td>DELHIVERY SURFACE LITE</td>\n<td>44</td>\n</tr>\n<tr>\n<td>ECOM EXP REVERSE##</td>\n<td>45</td>\n</tr>\n<tr>\n<td>SHADOW FAX REVERSE##</td>\n<td>46</td>\n</tr>\n<tr>\n<td>EKART</td>\n<td>48</td>\n</tr>\n<tr>\n<td>WOW EXPRESS</td>\n<td>50</td>\n</tr>\n<tr>\n<td>XPRESSBEES SURFACE</td>\n<td>51</td>\n</tr>\n<tr>\n<td>RAPID DELIVERY</td>\n<td>52</td>\n</tr>\n<tr>\n<td>GATI SG</td>\n<td>53</td>\n</tr>\n<tr>\n<td>EKART SURFACE</td>\n<td>54</td>\n</tr>\n<tr>\n<td>DART DART PLUS</td>\n<td>55</td>\n</tr>\n<tr>\n<td>DHL EXPRESS</td>\n<td>56</td>\n</tr>\n<tr>\n<td>PROFESSIONAL</td>\n<td>57</td>\n</tr>\n<tr>\n<td>SHADOWFAX FORWARD</td>\n<td>58</td>\n</tr>\n<tr>\n<td>ECOM ROS</td>\n<td>60</td>\n</tr>\n<tr>\n<td>FEDEX-SURFACE 1KG</td>\n<td>62</td>\n</tr>\n<tr>\n<td>DELHIVERY FLASH AIR</td>\n<td>63</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""]}},{"listen":"test","script":{"type":"text/javascript","exec":[""]}}],"_postman_id":"48cf77e2-d358-4bf6-b661-9715c99408f1"},{"name":"Orders","item":[{"name":"Get all Orders","id":"d867fcaf-fce7-48c9-93e6-06d5eefd045c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"","type":"text"}],"url":"https://apiv2.shiprocket.in/v1/external/orders","description":"<p>This API call will display a list of all created and available orders in your Shiprocket account. The product and shipment details are displayed as sub-arrays within each order detail.</p>\n<p>You can also sort and filter the data according to your needs by passing the optional parameters. Not passing anything will display the data in the default format.</p>\n<h4 id=\"parameters\">Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>PARAMS</strong></th>\n<th><strong>REQUIRED</strong></th>\n<th><strong>DATA TYPE</strong></th>\n<th><strong>DESCRIPTION</strong></th>\n<th><strong>EXAMPLE</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>page</code></td>\n<td>NO</td>\n<td><em>integer</em></td>\n<td>The page number to display.</td>\n<td>5</td>\n</tr>\n<tr>\n<td><code>per_page</code></td>\n<td>NO</td>\n<td><em>integer</em></td>\n<td>The number of entries per page.</td>\n<td>5</td>\n</tr>\n<tr>\n<td><code>sort</code></td>\n<td>NO</td>\n<td><em>string</em></td>\n<td>Sort conditions: ASC or DESC</td>\n<td>ASC</td>\n</tr>\n<tr>\n<td><code>sort_by</code></td>\n<td>NO</td>\n<td><em>string</em></td>\n<td>The Field to sort by: id or status</td>\n<td>id</td>\n</tr>\n<tr>\n<td><code>to</code></td>\n<td>NO</td>\n<td><em>string</em></td>\n<td>The end date.</td>\n<td>2018-07-24</td>\n</tr>\n<tr>\n<td><code>from</code></td>\n<td>NO</td>\n<td><em>string</em></td>\n<td>The start date.</td>\n<td>2019-07-24</td>\n</tr>\n<tr>\n<td><code>filter</code></td>\n<td>NO</td>\n<td><em>string</em></td>\n<td>Filter value.</td>\n<td></td>\n</tr>\n<tr>\n<td><code>filter_by</code></td>\n<td>NO</td>\n<td><em>string</em></td>\n<td>Field to filter by.</td>\n<td></td>\n</tr>\n<tr>\n<td><code>search</code></td>\n<td>NO</td>\n<td><em>string</em></td>\n<td>Search for AWB or by  Channel order_id (order id specified by you).</td>\n<td>224477</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["v1","external","orders"],"host":["apiv2","shiprocket","in"],"query":[],"variable":[]}},"response":[{"id":"7fac1d11-bd2a-42f6-9d86-30e56cb42462","name":"Successful Call With No Parameters","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"url":"{{url}}/v1/external/orders"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Wed, 31 Jul 2019 11:34:16 GMT"},{"key":"ETag","value":"W/\"d224cb97c84dd359bd4fc26b15a23aca677bc3d3\""},{"key":"Server","value":"nginx"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-RateLimit-Limit","value":"180"},{"key":"X-RateLimit-Remaining","value":"178"},{"key":"Content-Length","value":"1760"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 16178831,\n            \"channel_id\": 76893,\n            \"channel_name\": \"CUSTOM\",\n            \"base_channel_code\": \"CS\",\n            \"channel_order_id\": \"224-4779888\",\n            \"customer_name\": \"Majin Bu\",\n            \"customer_email\": \"naruto@uzumaki.com\",\n            \"customer_phone\": \"9988998899\",\n            \"pickup_location\": \"hell\",\n            \"payment_status\": \"\",\n            \"total\": \"9000.00\",\n            \"tax\": \"0.00\",\n            \"sla\": \"2 days\",\n            \"shipping_method\": \"SR\",\n            \"expedited\": 0,\n            \"status\": \"CANCELED\",\n            \"status_code\": 5,\n            \"payment_method\": \"prepaid\",\n            \"is_international\": 0,\n            \"purpose_of_shipment\": 0,\n            \"channel_created_at\": \"24 Jul 2019, 11:11 AM\",\n            \"created_at\": \"31 Jul 2019, 03:03 PM\",\n            \"products\": [\n                {\n                    \"id\": 18769728,\n                    \"channel_order_product_id\": \"18769728\",\n                    \"name\": \"Kunai\",\n                    \"channel_sku\": \"chakra123\",\n                    \"quantity\": 10,\n                    \"product_id\": 17484610,\n                    \"available\": 50,\n                    \"status\": \"CANCELED\",\n                    \"hsn\": \"441122\"\n                }\n            ],\n            \"shipments\": [\n                {\n                    \"id\": 16028538,\n                    \"isd_code\": \"\",\n                    \"courier\": \"\",\n                    \"weight\": 0,\n                    \"dimensions\": \"0.00x0.00x0.00\",\n                    \"pickup_scheduled_date\": null,\n                    \"pickup_token_number\": null,\n                    \"awb\": \"\",\n                    \"return_awb\": \"\",\n                    \"volumetric_weight\": 0,\n                    \"pod\": null,\n                    \"etd\": \"NA\",\n                    \"rto_delivered_date\": \"0000-00-00 00:00:00\",\n                    \"delivered_date\": null,\n                    \"etd_escalation_btn\": false\n                }\n            ],\n            \"activities\": [\n                \"ORDER_CREATED\",\n                \"ADDRESS_MODIFIED\",\n                \"ORDER_CANCELLED\"\n            ],\n            \"allow_return\": 0,\n            \"is_incomplete\": 0,\n            \"errors\": [],\n            \"show_escalation_btn\": 0,\n            \"escalation_status\": \"\",\n            \"escalation_history\": []\n        },\n        {\n            \"id\": 16177223,\n            \"channel_id\": 76893,\n            \"channel_name\": \"CUSTOM\",\n            \"base_channel_code\": \"CS\",\n            \"channel_order_id\": \"224-47798\",\n            \"customer_name\": \"Naruto Uzumaki\",\n            \"customer_email\": \"naruto@uzumaki.com\",\n            \"customer_phone\": \"9876543210\",\n            \"pickup_location\": \"okooi\",\n            \"payment_status\": \"\",\n            \"total\": \"9000.00\",\n            \"tax\": \"0.00\",\n            \"sla\": \"2 days\",\n            \"shipping_method\": \"SR\",\n            \"expedited\": 0,\n            \"status\": \"NEW\",\n            \"status_code\": 1,\n            \"payment_method\": \"prepaid\",\n            \"is_international\": 0,\n            \"purpose_of_shipment\": 0,\n            \"channel_created_at\": \"24 Jul 2019, 11:11 AM\",\n            \"created_at\": \"31 Jul 2019, 02:39 PM\",\n            \"products\": [\n                {\n                    \"id\": 18766013,\n                    \"channel_order_product_id\": \"18766013\",\n                    \"name\": \"Kunai\",\n                    \"channel_sku\": \"chakra123\",\n                    \"quantity\": 10,\n                    \"product_id\": 17484610,\n                    \"available\": 50,\n                    \"status\": \"UNDEFINED\",\n                    \"hsn\": \"441122\"\n                }\n            ],\n            \"shipments\": [\n                {\n                    \"id\": 16026933,\n                    \"isd_code\": \"+91\",\n                    \"courier\": \"\",\n                    \"weight\": 0,\n                    \"dimensions\": \"0.00x0.00x0.00\",\n                    \"pickup_scheduled_date\": null,\n                    \"pickup_token_number\": null,\n                    \"awb\": \"\",\n                    \"return_awb\": \"\",\n                    \"volumetric_weight\": 0,\n                    \"pod\": null,\n                    \"etd\": \"NA\",\n                    \"rto_delivered_date\": \"0000-00-00 00:00:00\",\n                    \"delivered_date\": null,\n                    \"etd_escalation_btn\": false\n                }\n            ],\n            \"activities\": [\n                \"ORDER_CREATED\"\n            ],\n            \"allow_return\": 0,\n            \"is_incomplete\": 0,\n            \"errors\": [],\n            \"show_escalation_btn\": 0,\n            \"escalation_status\": \"\",\n            \"escalation_history\": []\n        }\n    ],\n    \"meta\": {\n        \"pagination\": {\n            \"total\": 19631,\n            \"count\": 15,\n            \"per_page\": 15,\n            \"current_page\": 1,\n            \"total_pages\": 1309,\n            \"links\": {\n                \"next\": \"https://apiv2.shiprocket.in/v1/external/orders?page=2\"\n            }\n        }\n    }\n}"},{"id":"a278ae70-679a-43cb-a44f-b42e81e66935","name":"Successful Call","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"url":"{{url}}/v1/external/orders"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Wed, 31 Jul 2019 11:30:02 GMT"},{"key":"ETag","value":"W/\"40d0c1cf51c510134814717f8a7c5c57bc99b2f0\""},{"key":"Server","value":"nginx"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-RateLimit-Limit","value":"180"},{"key":"X-RateLimit-Remaining","value":"179"},{"key":"Content-Length","value":"702"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 16178831,\n            \"channel_id\": 76893,\n            \"channel_name\": \"CUSTOM\",\n            \"base_channel_code\": \"CS\",\n            \"channel_order_id\": \"224-4779888\",\n            \"customer_name\": \"Majin Bu\",\n            \"customer_email\": \"naruto@uzumaki.com\",\n            \"customer_phone\": \"9988998899\",\n            \"pickup_location\": \"hell\",\n            \"payment_status\": \"\",\n            \"total\": \"9000.00\",\n            \"tax\": \"0.00\",\n            \"sla\": \"2 days\",\n            \"shipping_method\": \"SR\",\n            \"expedited\": 0,\n            \"status\": \"CANCELED\",\n            \"status_code\": 5,\n            \"payment_method\": \"prepaid\",\n            \"is_international\": 0,\n            \"purpose_of_shipment\": 0,\n            \"channel_created_at\": \"24 Jul 2019, 11:11 AM\",\n            \"created_at\": \"31 Jul 2019, 03:03 PM\",\n            \"products\": [\n                {\n                    \"id\": 18769728,\n                    \"channel_order_product_id\": \"18769728\",\n                    \"name\": \"Kunai\",\n                    \"channel_sku\": \"chakra123\",\n                    \"quantity\": 10,\n                    \"product_id\": 17484610,\n                    \"available\": 50,\n                    \"status\": \"CANCELED\",\n                    \"hsn\": \"441122\"\n                }\n            ],\n            \"shipments\": [\n                {\n                    \"id\": 16028538,\n                    \"isd_code\": \"\",\n                    \"courier\": \"\",\n                    \"weight\": 0,\n                    \"dimensions\": \"0.00x0.00x0.00\",\n                    \"pickup_scheduled_date\": null,\n                    \"pickup_token_number\": null,\n                    \"awb\": \"\",\n                    \"return_awb\": \"\",\n                    \"volumetric_weight\": 0,\n                    \"pod\": null,\n                    \"etd\": \"NA\",\n                    \"rto_delivered_date\": \"0000-00-00 00:00:00\",\n                    \"delivered_date\": null,\n                    \"etd_escalation_btn\": false\n                }\n            ],\n            \"activities\": [\n                \"ORDER_CREATED\",\n                \"ADDRESS_MODIFIED\",\n                \"ORDER_CANCELLED\"\n            ],\n            \"allow_return\": 0,\n            \"is_incomplete\": 0,\n            \"errors\": [],\n            \"show_escalation_btn\": 0,\n            \"escalation_status\": \"\",\n            \"escalation_history\": []\n        }\n    ],\n    \"meta\": {\n        \"pagination\": {\n            \"total\": 1,\n            \"count\": 1,\n            \"per_page\": 1,\n            \"current_page\": 1,\n            \"total_pages\": 1,\n            \"links\": {}\n        }\n    }\n}"}],"_postman_id":"d867fcaf-fce7-48c9-93e6-06d5eefd045c"},{"name":"Get Specific Order Details","id":"ad5406d9-0e85-4283-a19f-2cb0bddaf4cf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjIxMTMwOCwiaXNzIjoiaHR0cHM6Ly9hcGl2Mi5zaGlwcm9ja2V0LmluL3YxL2V4dGVybmFsL2F1dGgvbG9naW4iLCJpYXQiOjE1NzkwNzUwMTcsImV4cCI6MTU3OTkzOTAxNywibmJmIjoxNTc5MDc1MDE3LCJqdGkiOiJwdGppRDg3Q3dyRndNVE5EIn0.pQkgADZIz_8czxPXRKjEbuZQz5qx7vRVMV4oBvBsmys","type":"text"}],"url":"https://apiv2.shiprocket.in/v1/external/orders/show","description":"<p>Get the order and shipment details of a particular order through this API by passing the Shiprocket order_id in the endpoint URL itself. Type in your order_id in place of {id}.</p>\n<p>No other body parameters are required.</p>\n<h4 id=\"path\">Path:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>EXAMPLE</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><a href=\"https://apiv2.shiprocket.in/v1/external/orders/show/16167171\">https://apiv2.shiprocket.in/v1/external/orders/show/16167171</a></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["v1","external","orders","show"],"host":["apiv2","shiprocket","in"],"query":[],"variable":[]}},"response":[{"id":"2c4990c0-becc-496e-9d9a-6fa595c7adb7","name":"Incorrect Endpoint Path","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"url":"{{url}}/v1/external/orders/show"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"404 Not Found\",\n    \"status_code\": 404\n}"},{"id":"5e7850f9-ad75-4e47-833c-a172c09fc1ce","name":"Invalid Data","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"Invalid Data","type":"text"}],"url":"{{url}}/v1/external/orders/show/00000001"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Order ID not found\",\n    \"status_code\": 400\n}"},{"id":"c8916291-b8d7-4b95-8a0a-2b1a663ff16e","name":"Successful Call","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"url":"{{url}}/v1/external/orders/show/16167171"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Wed, 31 Jul 2019 11:47:32 GMT"},{"key":"ETag","value":"W/\"0deeb81bbc1c265479590171d7dcc788eab87e13\""},{"key":"Server","value":"nginx"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-RateLimit-Limit","value":"180"},{"key":"X-RateLimit-Remaining","value":"179"},{"key":"Content-Length","value":"1112"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 16167171,\n        \"channel_id\": 76893,\n        \"channel_name\": \"CUSTOM\",\n        \"base_channel_code\": \"CS\",\n        \"is_international\": 0,\n        \"channel_order_id\": \"224-477\",\n        \"customer_name\": \"Naruto Uzumaki\",\n        \"customer_email\": \"naruto@uzumaki.com\",\n        \"customer_phone\": \"9876543210\",\n        \"customer_address\": \"House 221B, Leaf Village\",\n        \"customer_address_2\": \"Near Hokage House\",\n        \"customer_city\": \"New Delhi\",\n        \"customer_state\": \"DELHI\",\n        \"customer_pincode\": \"110002\",\n        \"customer_country\": \"India\",\n        \"pickup_code\": \"400001\",\n        \"pickup_location\": \"New Delhi,saildulajab,Mumbai,Maharashtra,400001\",\n        \"pickup_location_id\": 48470,\n        \"currency\": \"INR\",\n        \"country_code\": 99,\n        \"exchange_rate_usd\": 0,\n        \"exchange_rate_inr\": 0,\n        \"state_code\": 1483,\n        \"payment_status\": \"\",\n        \"delivery_code\": \"110002\",\n        \"total\": 9000,\n        \"total_inr\": 0,\n        \"total_usd\": 0,\n        \"net_total\": \"9000.00\",\n        \"other_charges\": \"0.00\",\n        \"other_discounts\": \"0.00\",\n        \"giftwrap_charges\": \"0.00\",\n        \"expedited\": 0,\n        \"sla\": \"2 days\",\n        \"cod\": 0,\n        \"discount\": 0,\n        \"tax\": 0,\n        \"status\": \"CANCELED\",\n        \"sub_status\": null,\n        \"status_code\": 5,\n        \"payment_method\": \"prepaid\",\n        \"purpose_of_shipment\": 0,\n        \"channel_created_at\": \"24 Jul 2019 11:11 AM\",\n        \"created_at\": \"31 Jul 2019 12:37 PM\",\n        \"order_date\": \"24 Jul 2019\",\n        \"updated_at\": \"31 Jul 2019 03:57 PM\",\n        \"products\": [\n            {\n                \"id\": 18750731,\n                \"order_id\": 16167171,\n                \"name\": \"Kunai\",\n                \"sku\": \"chakra123\",\n                \"channel_order_product_id\": \"18750731\",\n                \"channel_sku\": \"chakra123\",\n                \"hsn\": \"441122\",\n                \"model\": null,\n                \"manufacturer\": null,\n                \"brand\": null,\n                \"color\": null,\n                \"size\": null,\n                \"custom_field\": \"\",\n                \"custom_field_value\": \"\",\n                \"custom_field_value_string\": \"\",\n                \"weight\": 0,\n                \"dimensions\": \"0x0x0\",\n                \"price\": 900,\n                \"cost\": 900,\n                \"mrp\": 0,\n                \"quantity\": 10,\n                \"tax\": 0,\n                \"status\": 5,\n                \"net_total\": 9000,\n                \"discount\": 0,\n                \"product_options\": [],\n                \"selling_price\": 900,\n                \"tax_percentage\": 0,\n                \"discount_including_tax\": 0,\n                \"channel_category\": \"\"\n            }\n        ],\n        \"shipments\": {\n            \"id\": 16016920,\n            \"order_id\": 16167171,\n            \"order_product_id\": null,\n            \"channel_id\": 76893,\n            \"code\": \"\",\n            \"cost\": \"0.00\",\n            \"awb\": null,\n            \"cod_charges\": \"0.00\",\n            \"number\": null,\n            \"name\": null,\n            \"order_item_id\": null,\n            \"weight\": 0,\n            \"volumetric_weight\": 0,\n            \"dimensions\": \"0.000x0.000x0.000\",\n            \"comment\": \"\",\n            \"courier\": \"\",\n            \"courier_id\": \"\",\n            \"manifest_id\": \"\",\n            \"status\": \"CANCELED\",\n            \"isd_code\": \"+91\",\n            \"created_at\": \"31st Jul 2019 12:37 PM\",\n            \"updated_at\": \"31st Jul 2019 03:57 PM\",\n            \"pod\": null,\n            \"eway_bill_number\": \"-\",\n            \"eway_bill_date\": null\n        },\n        \"awb_data\": {\n            \"awb\": \"\",\n            \"applied_weight\": \"\",\n            \"charged_weight\": \"\",\n            \"billed_weight\": \"\",\n            \"routing_code\": \"\"\n        },\n        \"return_pickup_data\": \"\",\n        \"company_logo\": null,\n        \"allow_return\": 0,\n        \"is_return\": 0,\n        \"is_incomplete\": 0,\n        \"errors\": [],\n        \"payment_code\": null,\n        \"billing_city\": \"New Delhi\",\n        \"billing_name\": \"Naruto Uzumaki\",\n        \"billing_email\": \"naruto@uzumaki.com\",\n        \"billing_phone\": \"9876543210\",\n        \"billing_state_name\": \"Delhi\",\n        \"billing_address\": \"House 221B, Leaf Village\",\n        \"billing_country_name\": \"India\",\n        \"billing_pincode\": \"110002\",\n        \"billing_address_2\": \"Near Hokage House\",\n        \"billing_mobile_country_code\": \"+91\",\n        \"billing_state_id\": 1483,\n        \"billing_country_id\": 99,\n        \"reseller_name\": \"\",\n        \"shipping_is_billing\": 0,\n        \"eway_bill_number\": \"\",\n        \"company_name\": null,\n        \"shipping_title\": \"\"\n    }\n}"}],"_postman_id":"ad5406d9-0e85-4283-a19f-2cb0bddaf4cf"},{"name":"Export your orders","id":"b89f0b2c-81a6-459f-a4a5-f504c863f608","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\n}"},"url":"https://apiv2.shiprocket.in/v1/external/orders/export","description":"<p>This API downloads and creates a CSV file of all the orders in your Shiprocket account and sends the download URL to the linked email account of the API user.</p>\n<p>The CSV file containing is accessible via this URL.\nNo parameters are required to access this API.</p>\n","urlObject":{"protocol":"https","path":["v1","external","orders","export"],"host":["apiv2","shiprocket","in"],"query":[],"variable":[]}},"response":[{"id":"5db01379-0f8b-42fe-a6ad-e5d2b8bb7524","name":"Invalid Endpoint","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\n}"},"url":"{{url}}/v1/external/orders/expor"},"status":"Bad Gateway","code":502,"_postman_previewlanguage":"html","header":[{"key":"Content-Type","value":"text/html; charset=utf-8"},{"key":"Date","value":"Wed, 31 Jul 2019 12:15:24 GMT"},{"key":"Server","value":"nginx"},{"key":"Content-Length","value":"166"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"<html>\n    <head>\n        <title>502 Bad Gateway</title>\n    </head>\n    <body bgcolor=\"white\">\n        <center>\n            <h1>502 Bad Gateway</h1>\n        </center>\n        <hr>\n        <center>nginx</center>\n    </body>\n</html>"},{"id":"c1e1415a-b4ac-4574-a5b8-7cca04f9b19f","name":"Successful Call","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\n}"},"url":"{{url}}/v1/external/orders/export"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Wed, 31 Jul 2019 12:02:38 GMT"},{"key":"ETag","value":"W/\"87d6ae3fb3dfd10d4ddfcb948af0129172450585\""},{"key":"Server","value":"nginx"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-RateLimit-Limit","value":"180"},{"key":"X-RateLimit-Remaining","value":"179"},{"key":"Content-Length","value":"64"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"is_background_downloading\": 1\n}"}],"_postman_id":"b89f0b2c-81a6-459f-a4a5-f504c863f608"}],"id":"738a47ab-fd0d-4af7-b284-d2b20a9d75ad","description":"<p>These API's can be used to get details about your created orders, as well as manage them, which include fetching orders from your channel, syncing their status, and exporting them to a csv file.</p>\n<h4 id=\"filters\">Filters:</h4>\n<p>The 'filter' values are mentioned below. Use these to filter your data:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>filter_by</strong></th>\n<th><strong>filter</strong></th>\n<th><strong>description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>payment_method</td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>-&gt;</td>\n<td>cod</td>\n<td>cash on delivery orders</td>\n</tr>\n<tr>\n<td>-&gt;</td>\n<td>Prepaid</td>\n<td>for prepaid orders</td>\n</tr>\n<tr>\n<td>channel_order_id</td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>-&gt;</td>\n<td>123</td>\n<td>Your order id</td>\n</tr>\n<tr>\n<td>status</td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>-&gt;</td>\n<td>1</td>\n<td>New Order</td>\n</tr>\n<tr>\n<td>-&gt;</td>\n<td>2</td>\n<td>Invoiced</td>\n</tr>\n<tr>\n<td>-&gt;</td>\n<td>3</td>\n<td>Ready To Ship</td>\n</tr>\n<tr>\n<td>-&gt;</td>\n<td>4</td>\n<td>Pickup Scheduled</td>\n</tr>\n<tr>\n<td>-&gt;</td>\n<td>5</td>\n<td>Cancelled</td>\n</tr>\n<tr>\n<td>-&gt;</td>\n<td>6</td>\n<td>Shipped</td>\n</tr>\n<tr>\n<td>-&gt;</td>\n<td>7</td>\n<td>Delivered</td>\n</tr>\n<tr>\n<td>-&gt;</td>\n<td>8</td>\n<td>ePayment Failed</td>\n</tr>\n<tr>\n<td>-&gt;</td>\n<td>9</td>\n<td>Returned</td>\n</tr>\n<tr>\n<td>-&gt;</td>\n<td>10</td>\n<td>Unmapped</td>\n</tr>\n<tr>\n<td>-&gt;</td>\n<td>11</td>\n<td>Unfulfillable</td>\n</tr>\n<tr>\n<td>-&gt;</td>\n<td>12</td>\n<td>Pickup Queue</td>\n</tr>\n<tr>\n<td>-&gt;</td>\n<td>13</td>\n<td>Pickup Rescheduled</td>\n</tr>\n<tr>\n<td>-&gt;</td>\n<td>14</td>\n<td>Pickup Error// Created when there is an error on pickup schedule</td>\n</tr>\n<tr>\n<td>-&gt;</td>\n<td>15</td>\n<td>RTO Initiated</td>\n</tr>\n<tr>\n<td>-&gt;</td>\n<td>16</td>\n<td>RTO Delivered</td>\n</tr>\n<tr>\n<td>-&gt;</td>\n<td>17</td>\n<td>RTO Acknowledged</td>\n</tr>\n<tr>\n<td>-&gt;</td>\n<td>18</td>\n<td>Cancellation Requested</td>\n</tr>\n<tr>\n<td>-&gt;</td>\n<td>19</td>\n<td>Out for Delivery</td>\n</tr>\n<tr>\n<td>-&gt;</td>\n<td>20</td>\n<td>In Transit</td>\n</tr>\n<tr>\n<td>-&gt;</td>\n<td>21</td>\n<td>Return Pending</td>\n</tr>\n<tr>\n<td>-&gt;</td>\n<td>22</td>\n<td>Return Initiated</td>\n</tr>\n<tr>\n<td>-&gt;</td>\n<td>23</td>\n<td>Return Pickup Queued</td>\n</tr>\n<tr>\n<td>-&gt;</td>\n<td>24</td>\n<td>Return Pickup Error</td>\n</tr>\n<tr>\n<td>-&gt;</td>\n<td>25</td>\n<td>Return In Transit</td>\n</tr>\n<tr>\n<td>-&gt;</td>\n<td>26</td>\n<td>Return Delivered</td>\n</tr>\n<tr>\n<td>-&gt;</td>\n<td>27</td>\n<td>Return Cancelled</td>\n</tr>\n<tr>\n<td>-&gt;</td>\n<td>28</td>\n<td>Return Pickup Generated</td>\n</tr>\n<tr>\n<td>-&gt;</td>\n<td>29</td>\n<td>Return Cancellation Requested</td>\n</tr>\n<tr>\n<td>-&gt;</td>\n<td>30</td>\n<td>Return Pickup Cancelled</td>\n</tr>\n<tr>\n<td>-&gt;</td>\n<td>31</td>\n<td>Return Pickup Resheduled</td>\n</tr>\n<tr>\n<td>-&gt;</td>\n<td>32</td>\n<td>Return Pickedup</td>\n</tr>\n<tr>\n<td>-&gt;</td>\n<td>33</td>\n<td>Lost</td>\n</tr>\n<tr>\n<td>-&gt;</td>\n<td>34</td>\n<td>Out For Pickup</td>\n</tr>\n<tr>\n<td>-&gt;</td>\n<td>35</td>\n<td>Pickup Exception</td>\n</tr>\n<tr>\n<td>-&gt;</td>\n<td>36</td>\n<td>Undelivered</td>\n</tr>\n<tr>\n<td>-&gt;</td>\n<td>37</td>\n<td>Delayed</td>\n</tr>\n<tr>\n<td>-&gt;</td>\n<td>38</td>\n<td>Partial Delivered</td>\n</tr>\n<tr>\n<td>-&gt;</td>\n<td>39</td>\n<td>Destroyed</td>\n</tr>\n<tr>\n<td>-&gt;</td>\n<td>40</td>\n<td>Damaged</td>\n</tr>\n<tr>\n<td>-&gt;</td>\n<td>41</td>\n<td>Fulfilled</td>\n</tr>\n<tr>\n<td>-&gt;</td>\n<td>42</td>\n<td>Archived</td>\n</tr>\n<tr>\n<td>-&gt;</td>\n<td>43</td>\n<td>Reached Destination Hub</td>\n</tr>\n<tr>\n<td>-&gt;</td>\n<td>44</td>\n<td>Misrouted</td>\n</tr>\n<tr>\n<td>-&gt;</td>\n<td>45</td>\n<td>Rto OFD</td>\n</tr>\n<tr>\n<td>-&gt;</td>\n<td>46</td>\n<td>Rto NDR</td>\n</tr>\n<tr>\n<td>-&gt;</td>\n<td>47</td>\n<td>Return Out For Pickup</td>\n</tr>\n<tr>\n<td>-&gt;</td>\n<td>48</td>\n<td>Return Out For Delivery</td>\n</tr>\n<tr>\n<td>-&gt;</td>\n<td>49</td>\n<td>Return Pickup Exception</td>\n</tr>\n<tr>\n<td>-&gt;</td>\n<td>50</td>\n<td>Return Undelivered</td>\n</tr>\n<tr>\n<td>-&gt;</td>\n<td>51</td>\n<td>Picked Up</td>\n</tr>\n<tr>\n<td>-&gt;</td>\n<td>52</td>\n<td>Self Fulfilled</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""]}},{"listen":"test","script":{"type":"text/javascript","exec":[""]}}],"_postman_id":"738a47ab-fd0d-4af7-b284-d2b20a9d75ad"},{"name":"Return Orders","item":[{"name":"Create a Return Order","id":"40886f4a-bd10-41f1-b464-a77591d2b539","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"order_id\": \"32208425\",\n  \"order_date\":  \"2020-02-10\",\n  \"channel_id\": \"27202\",\n  \"pickup_customer_name\": \"raza\",\n  \"pickup_last_name\": \"\",\n  \"pickup_address\": \"huda city\",\n  \"pickup_address_2\": \"\",\n  \"pickup_city\": \"new delhi\",\n  \"pickup_state\": \"delhi\",\n  \"pickup_country\": \"india\",\n  \"pickup_pincode\": \"110002\",\n  \"pickup_email\": \"\",\n  \"pickup_phone\": \"8604690454\",\n  \"pickup_isd_code\": \"+91\",\n  \"pickup_location_id\": \"\",\n  \"shipping_customer_name\": \"\",\n  \"shipping_last_name\": \"\",\n  \"shipping_address\": \"\",\n  \"shipping_address_2\": \"\",\n  \"shipping_city\": \"\",\n  \"shipping_country\": \"\",\n  \"shipping_pincode\": \"\",\n  \"shipping_state\": \"\",\n  \"shipping_email\": \"\",\n  \"shipping_isd_code\": \"\",\n  \"shipping_phone\": \"\",\n  \"order_items\": [\n    {\n      \"sku\": \"pen123\",\n      \"name\": \"pen\",\n      \"units\": \"5\",\n      \"selling_price\": \"10\",\n      \"discount\": \"\",\n      \"hsn\": \"\"\n    }\n  ],\n  \"payment_method\": \"cod\",\n  \"total_discount\": \"\",\n  \"sub_total\": \"50\",\n  \"length\": \"5\",\n  \"breadth\": \"5\",\n  \"height\": \"5\",\n  \"weight\": \"1.0\n}"},"url":"https://apiv2.shiprocket.in/v1/external/orders/create/return","description":"<p>Use this API to create a new return order in your Shiprocket panel. Return orders are created in case the buyer refuses/rejects/returns a specific order. \nThe parameter specifications are the same as the custom order API with a few exceptions.</p>\n<h4 id=\"parameters\">Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>PARAMS</strong></th>\n<th><strong>REQUIRED</strong></th>\n<th><strong>DATA TYPE</strong></th>\n<th><strong>DESCRIPTION</strong></th>\n<th><strong>EXAMPLE</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>order_id</code></td>\n<td>YES</td>\n<td><em>string</em></td>\n<td>The order id you want to specify to the order. Max char: 20 .  (Avoid passing character values as this contradicts some other API calls)</td>\n<td>99711997</td>\n</tr>\n<tr>\n<td><code>order_date</code></td>\n<td>YES</td>\n<td><em>string</em></td>\n<td>The date of order creation in yyyy-mm-dd format.   Time is an additional option.</td>\n<td>2019-08-05</td>\n</tr>\n<tr>\n<td><code>channel_id</code></td>\n<td>YES</td>\n<td><em>integer</em></td>\n<td>Id of the desired channel where the order is to be placed. 'Custom' channel id is selected in case parameter is not  filled.</td>\n<td>768903</td>\n</tr>\n<tr>\n<td><code>pickup_customer_name</code></td>\n<td>YES</td>\n<td><em>string</em></td>\n<td>The customer’s first name.</td>\n<td>Deadpool</td>\n</tr>\n<tr>\n<td><code>pickup_last_name</code></td>\n<td>NO</td>\n<td><em>string</em></td>\n<td>The customer’s last name.</td>\n<td>Chimichanga</td>\n</tr>\n<tr>\n<td><code>pickup_address</code></td>\n<td>YES</td>\n<td><em>string</em></td>\n<td>The customer's primary address.</td>\n<td>Home</td>\n</tr>\n<tr>\n<td><code>pickup_address_2</code></td>\n<td>NO</td>\n<td><em>string</em></td>\n<td>Additional customer address details.</td>\n<td>DDA</td>\n</tr>\n<tr>\n<td><code>pickup_city</code></td>\n<td>YES</td>\n<td><em>string</em></td>\n<td>The customer's city name.</td>\n<td>Delhi</td>\n</tr>\n<tr>\n<td><code>pickup_state</code></td>\n<td>YES</td>\n<td><em>string</em></td>\n<td>The customer's state.</td>\n<td>New Delhi</td>\n</tr>\n<tr>\n<td><code>pickup_country</code></td>\n<td>YES</td>\n<td><em>string</em></td>\n<td>Customer's country name.</td>\n<td>India</td>\n</tr>\n<tr>\n<td><code>pickup_pincode</code></td>\n<td>YES</td>\n<td><em>integer</em></td>\n<td>Pincode of the customer address.</td>\n<td>110002</td>\n</tr>\n<tr>\n<td><code>pickup_email</code></td>\n<td>YES</td>\n<td><em>string</em></td>\n<td>Customer's email address.</td>\n<td><a href=\"mailto:deadpool@red.com\">deadpool@red.com</a></td>\n</tr>\n<tr>\n<td><code>pickup_phone</code></td>\n<td>YES</td>\n<td><em>string</em></td>\n<td>Customer's phone number.</td>\n<td>9999999999</td>\n</tr>\n<tr>\n<td><code>pickup_isd_code</code></td>\n<td>NO</td>\n<td><em>string</em></td>\n<td>Isd code.</td>\n<td>91</td>\n</tr>\n<tr>\n<td><code>pickup_location_id</code></td>\n<td>YES</td>\n<td><em>integer</em></td>\n<td>Return pickup location address ID.</td>\n<td>41514</td>\n</tr>\n<tr>\n<td><code>shipping_customer_name</code></td>\n<td>YES</td>\n<td><em>string</em></td>\n<td>The name of the seller the package is shipped back to.</td>\n<td>Jax</td>\n</tr>\n<tr>\n<td><code>shipping_last_name</code></td>\n<td>NO</td>\n<td><em>string</em></td>\n<td>The last name of the seller.</td>\n<td>Doe</td>\n</tr>\n<tr>\n<td><code>shipping_address</code></td>\n<td>YES</td>\n<td><em>string</em></td>\n<td>The address the package is shipped to.</td>\n<td>Castle</td>\n</tr>\n<tr>\n<td><code>shipping_address_2</code></td>\n<td>NO</td>\n<td><em>string</em></td>\n<td>Further shipping address details.</td>\n<td>Bridge</td>\n</tr>\n<tr>\n<td><code>shipping_city</code></td>\n<td>YES</td>\n<td><em>string</em></td>\n<td>The shipping address city.</td>\n<td>Mumbai</td>\n</tr>\n<tr>\n<td><code>shipping_country</code></td>\n<td>YES</td>\n<td><em>string</em></td>\n<td>The shipping address country.</td>\n<td>India</td>\n</tr>\n<tr>\n<td><code>shipping_pincode</code></td>\n<td>YES</td>\n<td><em>integer</em></td>\n<td>The shipping pincode.</td>\n<td>220022</td>\n</tr>\n<tr>\n<td><code>shipping_state</code></td>\n<td>YES</td>\n<td><em>string</em></td>\n<td>Shipping address state.</td>\n<td>Maharashtra</td>\n</tr>\n<tr>\n<td><code>shipping_email</code></td>\n<td>YES</td>\n<td><em>string</em></td>\n<td>The email of the seller the package is shipped to.</td>\n<td><a href=\"mailto:jax@tank.com\">jax@tank.com</a></td>\n</tr>\n<tr>\n<td><code>shipping_isd_code</code></td>\n<td>NO</td>\n<td><em>string</em></td>\n<td>The shipping isd code.</td>\n<td>91</td>\n</tr>\n<tr>\n<td><code>shipping_phone</code></td>\n<td>YES</td>\n<td><em>integer</em></td>\n<td>Phone no. of the shipping customer</td>\n<td>8888888888</td>\n</tr>\n<tr>\n<td><code>order_items</code></td>\n<td>YES</td>\n<td>/</td>\n<td>Array containing further fields.</td>\n<td>/</td>\n</tr>\n<tr>\n<td><code>name</code></td>\n<td>YES</td>\n<td><em>string</em></td>\n<td>Name of the product.</td>\n<td>ball123</td>\n</tr>\n<tr>\n<td><code>sku</code></td>\n<td>YES</td>\n<td><em>string</em></td>\n<td>The sku id of the product.</td>\n<td>Tennis Ball</td>\n</tr>\n<tr>\n<td><code>units</code></td>\n<td>YES</td>\n<td><em>integer</em></td>\n<td>No of units that are to be shipped.</td>\n<td>1</td>\n</tr>\n<tr>\n<td><code>selling_price</code></td>\n<td>YES</td>\n<td><em>integer</em></td>\n<td>The selling price per unit in Rupee. Inclusive of GST.</td>\n<td>10</td>\n</tr>\n<tr>\n<td><code>discount</code></td>\n<td>NO</td>\n<td><em>integer</em></td>\n<td>The discount amount in Rupee. Inclusive of tax.</td>\n<td>0</td>\n</tr>\n<tr>\n<td><code>hsn</code></td>\n<td>NO</td>\n<td><em>string</em></td>\n<td>Harmonised System Nomenclature code.   Used to determine the category of taxation the goods fall under.</td>\n<td>4412</td>\n</tr>\n<tr>\n<td><code>payment_method</code></td>\n<td>YES</td>\n<td><em>string</em></td>\n<td>The method of payment. Can be either COD (Cash on delivery) Or Prepaid.</td>\n<td>Prepaid</td>\n</tr>\n<tr>\n<td><code>total_discount</code></td>\n<td>NO</td>\n<td><em>string</em></td>\n<td>The total discount amount in Rupee.</td>\n<td>0</td>\n</tr>\n<tr>\n<td><code>sub_total</code></td>\n<td>YES</td>\n<td><em>integer</em></td>\n<td>Calculated sub total amount in Rupee after deductions.</td>\n<td>10</td>\n</tr>\n<tr>\n<td><code>length</code></td>\n<td>YES</td>\n<td><em>integer</em></td>\n<td>The length of the shipment in cms.</td>\n<td>10</td>\n</tr>\n<tr>\n<td><code>breadth</code></td>\n<td>YES</td>\n<td><em>integer</em></td>\n<td>The breadth of the shipment in cms.</td>\n<td>15</td>\n</tr>\n<tr>\n<td><code>height</code></td>\n<td>YES</td>\n<td><em>integer</em></td>\n<td>The height of the shipment in cms.</td>\n<td>20</td>\n</tr>\n<tr>\n<td><code>weight</code></td>\n<td>YES</td>\n<td><em>integer</em></td>\n<td>The shipment weight in kgs.</td>\n<td>1</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["v1","external","orders","create","return"],"host":["apiv2","shiprocket","in"],"query":[],"variable":[]}},"response":[{"id":"3964afba-7b60-4b66-b319-1c9890641b36","name":"Invalid Data","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"order_id\": \"997119978\",\n  \"order_date\": \"2019-08-05\",\n  \"channel_id\": \"76893\",\n  \"pickup_customer_name\": \"Deadpool\",\n  \"pickup_last_name\": \"\",\n  \"pickup_address\": \"Home\",\n  \"pickup_address_2\": \"\",\n  \"pickup_city\": \"Delhi\",\n  \"pickup_state\": \"New Delhi\",\n  \"pickup_country\": \"India\",\n  \"pickup_pincode\": \"110002\",\n  \"pickup_email\": \"deadpool@red.com\",\n  \"pickup_phone\": \"9999999999\",\n  \"pickup_isd_code\": \"\",\n  \"pickup_location_id\": \"41514\",\n  \"shipping_customer_name\": \"Jax\",\n  \"shipping_last_name\": \"\",\n  \"shipping_address\": \"Castle\",\n  \"shipping_address_2\": \"\",\n  \"shipping_city\": \"Mumbai\",\n  \"shipping_country\": \"India\",\n  \"shipping_pincode\": \"220022\",\n  \"shipping_state\": \"Maharashtra\",\n  \"shipping_email\": \"jax@tank.com\",\n  \"shipping_isd_code\": \"\",\n  \"shipping_phone\": \"8888888888\",\n  \"order_items\": [\n    {\n      \"sku\": \"ball123\",\n      \"name\": \"Tennis Ball\",\n      \"units\": 1,\n      \"selling_price\": 10,\n      \"discount\": \"\",\n      \"hsn\": \"\"\n    }\n  ],\n  \"payment_method\": \"Prepaid\",\n  \"total_discount\": \"\",\n  \"sub_total\": 10,\n  \"length\": 10,\n  \"breadth\": 15,\n  \"height\": 20,\n  \"weight\": 1\n}"},"url":"{{url}}/v1/external/orders/create/return"},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Oops! Invalid Data.\",\n    \"errors\": {\n        \"order_id\": [\n            \"The order id has already been taken.\"\n        ]\n    },\n    \"status_code\": 422\n}"},{"id":"51894767-67b0-4bbf-b143-dea9d00f05c6","name":"Successful Call","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"order_id\": \"99711997\",\n  \"order_date\": \"2019-08-05\",\n  \"channel_id\": \"76893\",\n  \"pickup_customer_name\": \"Deadpool\",\n  \"pickup_last_name\": \"Chimichanga\",\n  \"pickup_address\": \"Home\",\n  \"pickup_address_2\": \"DDA\",\n  \"pickup_city\": \"Delhi\",\n  \"pickup_state\": \"New Delhi\",\n  \"pickup_country\": \"India\",\n  \"pickup_pincode\": \"110002\",\n  \"pickup_email\": \"deadpool@red.com\",\n  \"pickup_phone\": \"9999999999\",\n  \"pickup_isd_code\": \"91\",\n  \"pickup_location_id\": 41514,\n  \"shipping_customer_name\": \"Jax\",\n  \"shipping_last_name\": \"Doe\",\n  \"shipping_address\": \"Castle\",\n  \"shipping_address_2\": \"Bridge\",\n  \"shipping_city\": \"Mumbai\",\n  \"shipping_country\": \"India\",\n  \"shipping_pincode\": \"220022\",\n  \"shipping_state\": \"Maharashtra\",\n  \"shipping_email\": \"jax@tank.com\",\n  \"shipping_isd_code\": \"91\",\n  \"shipping_phone\": \"8888888888\",\n  \"order_items\": [\n    {\n      \"sku\": \"ball123\",\n      \"name\": \"Tennis Ball\",\n      \"units\": 1,\n      \"selling_price\": 10,\n      \"discount\": 0,\n      \"hsn\": \"4412\"\n    }\n  ],\n  \"payment_method\": \"Prepaid\",\n  \"total_discount\": \"0\",\n  \"sub_total\": 10,\n  \"length\": 10,\n  \"breadth\": 15,\n  \"height\": 20,\n  \"weight\": 1\n}"},"url":"{{url}}/v1/external/orders/create/return"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Mon, 05 Aug 2019 10:23:02 GMT"},{"key":"ETag","value":"W/\"07cdd966e945cb4b10f6d835acef91fa0eeeb1e9\""},{"key":"Server","value":"nginx"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-RateLimit-Limit","value":"180"},{"key":"X-RateLimit-Remaining","value":"177"},{"key":"Content-Length","value":"94"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"order_id\": 16525854,\n    \"shipment_id\": 16370682,\n    \"status\": \"RETURN PENDING\",\n    \"status_code\": 21\n}"},{"id":"93078255-5522-4afb-bf11-2d1ea1174bd4","name":"Wrong Format","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"order_id\": \"997119978\",\n  \"order_date\": \"2019-08-05\",\n  \"channel_id\": \"76893\",\n  \"pickup_customer_name\": \"Deadpool\",\n  \"pickup_last_name\": \"\",\n  \"pickup_address\": \"Home\",\n  \"pickup_address_2\": \"\",\n  \"pickup_city\": \"Delhi\",\n  \"pickup_state\": \"New Delhi\",\n  \"pickup_country\": \"India\"\n  \"pickup_pincode\": \"110002\",\n  \"pickup_email\": \"deadpool@red.com\",\n  \"pickup_phone\": \"9999999999\",\n  \"pickup_isd_code\": \"\",\n  \"pickup_location_id\": \"41514\",\n  \"shipping_customer_name\": \"Jax\",\n  \"shipping_last_name\": \"\",\n  \"shipping_address\": \"Castle\",\n  \"shipping_address_2\": \"\",\n  \"shipping_city\": \"Mumbai\",\n  \"shipping_country\": \"India\",\n  \"shipping_pincode\": \"220022\",\n  \"shipping_state\": \"Maharashtra\",\n  \"shipping_email\": \"jax@tank.com\",\n  \"shipping_isd_code\": \"\",\n  \"shipping_phone\": \"8888888888\",\n  \"order_items\": [\n    {\n      \"sku\": \"ball123\",\n      \"name\": \"Tennis Ball\",\n      \"units\": 1,\n      \"selling_price\": 10,\n      \"discount\": \"\",\n      \"hsn\": \"\"\n    }\n  ],\n  \"payment_method\": \"Prepaid\",\n  \"total_discount\": \"\",\n  \"sub_total\": 10,\n  \"length\": 10,\n  \"breadth\": 15,\n  \"height\": 20,\n  \"weight\": 1\n}"},"url":"{{url}}/v1/external/orders/create/return"},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Oops! Invalid Data.\",\n    \"errors\": {\n        \"order_date\": [\n            \"The order date field is required.\"\n        ],\n        \"payment_method\": [\n            \"The payment method field is required.\"\n        ],\n        \"pickup_customer_name\": [\n            \"The pickup customer name field is required\"\n        ],\n        \"pickup_email\": [\n            \"The pickup email field is required.\"\n        ],\n        \"pickup_address\": [\n            \"The pickup address field is required\"\n        ],\n        \"pickup_city\": [\n            \"The pickup city field is required\"\n        ],\n        \"pickup_state\": [\n            \"The pickup state field is required\"\n        ],\n        \"pickup_country\": [\n            \"The pickup country field is required\"\n        ],\n        \"pickup_pincode\": [\n            \"The pickup pincode field is required\"\n        ],\n        \"pickup_phone\": [\n            \"The pickup phone field is required.\"\n        ],\n        \"pickup_location_id\": [\n            \"The pickup location id field is required.\"\n        ],\n        \"shipping_customer_name\": [\n            \"The shipping customer name field is required\"\n        ],\n        \"shipping_email\": [\n            \"The shipping email field is required.\"\n        ],\n        \"shipping_address\": [\n            \"The shipping address field is required\"\n        ],\n        \"shipping_city\": [\n            \"The shipping city field is required\"\n        ],\n        \"shipping_state\": [\n            \"The shipping state field is required\"\n        ],\n        \"shipping_country\": [\n            \"The shipping country field is required\"\n        ],\n        \"shipping_pincode\": [\n            \"The shipping pincode field is required\"\n        ],\n        \"shipping_phone\": [\n            \"The shipping phone field is required.\"\n        ],\n        \"order_items\": [\n            \"The order items field is required.\"\n        ],\n        \"sub_total\": [\n            \"The sub total field is required.\"\n        ],\n        \"order_id\": [\n            \"The order id field is required.\"\n        ]\n    },\n    \"status_code\": 422\n}"},{"id":"9ceff4b4-725e-4fec-9c7a-078065abab08","name":"Missing Fields","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"order_id\": \"997119978\",\n  \"order_date\": \"2019-08-05\",\n  \"channel_id\": \"76893\",\n  \"pickup_customer_name\": \"Deadpool\",\n  \"pickup_last_name\": \"\",\n  \"pickup_address\": \"Home\",\n  \"pickup_address_2\": \"\",\n  \"pickup_city\": \"Delhi\",\n  \"pickup_state\": \"New Delhi\",\n  \"pickup_pincode\": \"110002\",\n  \"pickup_email\": \"deadpool@red.com\",\n  \"pickup_phone\": \"9999999999\",\n  \"pickup_isd_code\": \"\",\n  \"pickup_location_id\": \"41514\",\n  \"shipping_customer_name\": \"Jax\",\n  \"shipping_last_name\": \"\",\n  \"shipping_address\": \"Castle\",\n  \"shipping_address_2\": \"\",\n  \"shipping_city\": \"Mumbai\",\n  \"shipping_country\": \"India\",\n  \"shipping_pincode\": \"220022\",\n  \"shipping_state\": \"Maharashtra\",\n  \"shipping_email\": \"jax@tank.com\",\n  \"shipping_isd_code\": \"\",\n  \"shipping_phone\": \"8888888888\",\n  \"order_items\": [\n    {\n      \"sku\": \"ball123\",\n      \"name\": \"Tennis Ball\",\n      \"units\": 1,\n      \"selling_price\": 10,\n      \"discount\": \"\",\n      \"hsn\": \"\"\n    }\n  ],\n  \"payment_method\": \"Prepaid\",\n  \"total_discount\": \"\",\n  \"sub_total\": 10,\n  \"length\": 10,\n  \"breadth\": 15,\n  \"height\": 20,\n  \"weight\": 1\n}"},"url":"{{url}}/v1/external/orders/create/return"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Mon, 05 Aug 2019 10:33:07 GMT"},{"key":"Server","value":"nginx"},{"key":"Content-Length","value":"172"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Oops! Invalid Data.\",\n    \"errors\": {\n        \"pickup_country\": [\n            \"The pickup country field is required\"\n        ],\n        \"order_id\": [\n            \"The order id has already been taken.\"\n        ]\n    },\n    \"status_code\": 422\n}"}],"_postman_id":"40886f4a-bd10-41f1-b464-a77591d2b539"},{"name":"Get All Return Orders","id":"5023a131-b45d-4576-ab9f-2f9968de0c50","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://apiv2.shiprocket.in/v1/external/orders/processing/return","description":"<p>Using this API, you can get a list of all created return orders in your Shiprocket account along with their details.</p>\n<p>No parameters are required to use the API, however, further parameters can be defined in order to sort and filter the data.</p>\n<h4 id=\"parameters\">Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>PARAMS</strong></th>\n<th><strong>REQUIRED</strong></th>\n<th><strong>DATA TYPE</strong></th>\n<th><strong>DESCRIPTION</strong></th>\n<th><strong>EXAMPLE</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>page</code></td>\n<td>NO</td>\n<td><em>integer</em></td>\n<td>The page number to display.</td>\n<td>1</td>\n</tr>\n<tr>\n<td><code>per_page</code></td>\n<td>NO</td>\n<td><em>integer</em></td>\n<td>The number of orders per page.</td>\n<td>2</td>\n</tr>\n<tr>\n<td><code>to</code></td>\n<td>NO</td>\n<td><em>string</em></td>\n<td>Ending date of search.</td>\n<td>2019-08-04</td>\n</tr>\n<tr>\n<td><code>from</code></td>\n<td>NO</td>\n<td><em>string</em></td>\n<td>Starting date of search.</td>\n<td>2019-08-05</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["v1","external","orders","processing","return"],"host":["apiv2","shiprocket","in"],"query":[],"variable":[]}},"response":[{"id":"1f99ea6c-d676-42d1-9192-7b15f0dafb21","name":"Wrong Endpoint","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"url":"{{url}}/v1/external/orders/processing/retur"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"404 Not Found\",\n    \"status_code\": 404\n}"},{"id":"37bc3144-310c-4477-879b-93f62c15188d","name":"Successful Call","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"url":"{{url}}/v1/external/orders/processing/return"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Mon, 05 Aug 2019 10:34:23 GMT"},{"key":"ETag","value":"W/\"345b67b523bf33bef73a174da4731b20a7876fe6\""},{"key":"Server","value":"nginx"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-RateLimit-Limit","value":"180"},{"key":"X-RateLimit-Remaining","value":"179"},{"key":"Content-Length","value":"2000"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 16525924,\n            \"channel_id\": 76893,\n            \"channel_name\": \"CUSTOM\",\n            \"base_channel_code\": \"CS\",\n            \"channel_order_id\": \"997119978\",\n            \"customer_name\": \"Jax Doe\",\n            \"customer_email\": \"jax@tank.com\",\n            \"customer_phone\": \"8888888888\",\n            \"customer_pincode\": \"220022\",\n            \"pickup_code\": \"110002\",\n            \"pickup_location\": \"Home ,Home ,Delhi ,New Delhi ,India\",\n            \"payment_status\": \"\",\n            \"total\": \"10.00\",\n            \"expedited\": 0,\n            \"sla\": \"2 days\",\n            \"shipping_method\": \"SR\",\n            \"status\": \"RETURN PENDING\",\n            \"status_code\": 21,\n            \"payment_method\": \"prepaid\",\n            \"is_international\": 0,\n            \"purpose_of_shipment\": 0,\n            \"channel_created_at\": \"5 Aug 2019, 12:00 AM\",\n            \"created_at\": \"5 Aug 2019, 03:53 PM\",\n            \"products\": [\n                {\n                    \"id\": 19192381,\n                    \"name\": \"Tennis Ball\",\n                    \"channel_sku\": \"ball123\",\n                    \"channel_order_product_id\": \"19192381\",\n                    \"quantity\": 1,\n                    \"product_id\": 17949825,\n                    \"sku\": \"ball123\",\n                    \"custom_field\": \"\",\n                    \"custom_field_value\": \"\",\n                    \"status\": \"UNDEFINED\",\n                    \"hsn\": \"4412\"\n                }\n            ],\n            \"delivery_code\": \"220022\",\n            \"cod\": 0,\n            \"shipment_id\": 16370752,\n            \"in_queue\": 0,\n            \"shipments\": [\n                {\n                    \"isd_code\": \"+91\",\n                    \"courier\": \"\",\n                    \"sr_courier_id\": \"\",\n                    \"weight\": \"1\",\n                    \"length\": \"10\",\n                    \"breadth\": \"15\",\n                    \"height\": \"20\",\n                    \"volumetric_weight\": 0.6,\n                    \"awb\": \"\"\n                }\n            ]\n        }\n    ],\n    \"meta\": {\n        \"pagination\": {\n            \"total\": 16,\n            \"count\": 15,\n            \"per_page\": 1,\n            \"current_page\": 1,\n            \"total_pages\": 2,\n            \"links\": {\n                \"next\": \"https://apiv2.shiprocket.in/v1/external/orders/processing/return?page=2\"\n            }\n        }\n    }\n}"}],"_postman_id":"5023a131-b45d-4576-ab9f-2f9968de0c50"},{"name":"Check Courier Serviceability","id":"1b65eb2b-cc60-42fd-8b1f-06daead4b59e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":"https://apiv2.shiprocket.in/v1/external/courier/serviceability/","description":"<p>Use this API to check the availability of couriers between the pickup and delivery postal codes.\nFurther details like the estimated time of delivery, the rates along with the ids are also shown.</p>\n<p><strong>Note:</strong></p>\n<ul>\n<li>One of either the 'order_id' or 'cod' and 'weight' is required. In case you specify the order id, the cod and weight fields are not required and vice versa.</li>\n<li>You can add further fields to add the shipment details and filter the search.</li>\n</ul>\n<h4 id=\"parameters\">Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>PARAMS</strong></th>\n<th><strong>REQUIRED</strong></th>\n<th><strong>DATA TYPE</strong></th>\n<th><strong>DESCRIPTION</strong></th>\n<th><strong>EXAMPLE</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>pickup_postcode</code></td>\n<td>YES</td>\n<td><em>integer</em></td>\n<td>The shipment id of the order you want to create the AWB of.</td>\n<td>16016920</td>\n</tr>\n<tr>\n<td><code>delivery_postcode</code></td>\n<td>YES</td>\n<td><em>integer</em></td>\n<td>The courier id of the courier service you want to select. The default courier is selected in case no id is specified.</td>\n<td>10</td>\n</tr>\n<tr>\n<td><code>order_id</code></td>\n<td>CONDITIONAL YES</td>\n<td><em>integer</em></td>\n<td>Use this to change the courier of a shipment. Value: reassign  Note that this can be done only once in 24 hours.</td>\n<td>reassign</td>\n</tr>\n<tr>\n<td><code>cod</code></td>\n<td>CONDITIONAL YES</td>\n<td><em>boolean</em></td>\n<td>1 for Cash on Delivery and 0 for Prepaid orders.</td>\n<td>1</td>\n</tr>\n<tr>\n<td><code>weight</code></td>\n<td>CONDITIONAL YES</td>\n<td><em>string</em></td>\n<td>The weight of shipment in kgs.</td>\n<td>2</td>\n</tr>\n<tr>\n<td><code>length</code></td>\n<td>NO</td>\n<td><em>integer</em></td>\n<td>The length of the shipment in cms.</td>\n<td>15</td>\n</tr>\n<tr>\n<td><code>breadth</code></td>\n<td>NO</td>\n<td><em>integer</em></td>\n<td>The breadth of the shipment in cms.</td>\n<td>10</td>\n</tr>\n<tr>\n<td><code>height</code></td>\n<td>NO</td>\n<td><em>integer</em></td>\n<td>The height of the shipment in cms.</td>\n<td>5</td>\n</tr>\n<tr>\n<td><code>declared_value</code></td>\n<td>NO</td>\n<td><em>integer</em></td>\n<td>The price of the order shipment rupee.</td>\n<td>50</td>\n</tr>\n<tr>\n<td><code>mode</code></td>\n<td>NO</td>\n<td><em>string</em></td>\n<td>The mode of travel. Either: Surface or Air</td>\n<td>Air</td>\n</tr>\n<tr>\n<td><code>is_return</code></td>\n<td>YES</td>\n<td><em>integer</em></td>\n<td>Whether the order is return order or not. 1 in case of Yes and 0 for No</td>\n<td>1</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["v1","external","courier","serviceability",""],"host":["apiv2","shiprocket","in"],"query":[],"variable":[]}},"response":[],"_postman_id":"1b65eb2b-cc60-42fd-8b1f-06daead4b59e"},{"name":"Generate AWB for Return Shipment","id":"b6b10bfa-bc8d-43db-abd7-6969eef2eb33","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"shipment_id\": \"\",\n  \"courier_id\": \"\",\n  \"status\": \"\"\n \n}"},"url":"https://apiv2.shiprocket.in/v1/external/courier/assign/awb","description":"<p>This API can be used to assign the AWB (Air Waybill Number) to your shipment. This is a unique number that helps you track the shipment and get details about it.</p>\n<h4 id=\"parameters\">Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>PARAMS</strong></th>\n<th><strong>REQUIRED</strong></th>\n<th><strong>DATA TYPE</strong></th>\n<th><strong>DESCRIPTION</strong></th>\n<th><strong>EXAMPLE</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>shipment_id</code></td>\n<td>YES</td>\n<td><em>integer</em></td>\n<td>The shipment id of the order you want to create the AWB of.</td>\n<td>16016920</td>\n</tr>\n<tr>\n<td><code>courier_id</code></td>\n<td>NO</td>\n<td><em>integer</em></td>\n<td>The courier id of the courier service you want to select. The default courier is selected in case no id is specified.</td>\n<td>10</td>\n</tr>\n<tr>\n<td><code>status</code></td>\n<td>NO</td>\n<td><em>string</em></td>\n<td>Use this to change the courier of a shipment. Value: reassign  Note that this can be done only once in 24 hours.</td>\n<td>reassign</td>\n</tr>\n<tr>\n<td><code>is_return</code></td>\n<td>YES</td>\n<td><em>integer</em></td>\n<td>Whether the order is return order or not. 1 in case of Yes and 0 for No.</td>\n<td>1</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["v1","external","courier","assign","awb"],"host":["apiv2","shiprocket","in"],"query":[],"variable":[]}},"response":[],"_postman_id":"b6b10bfa-bc8d-43db-abd7-6969eef2eb33"}],"id":"42c35491-c9db-40a4-a0e1-3e836cd944b7","_postman_id":"42c35491-c9db-40a4-a0e1-3e836cd944b7","description":""},{"name":"Shipments","item":[{"name":"Get All Shipment Details","id":"a873019f-a3ae-4576-908a-7f2afaadb114","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"url":"https://apiv2.shiprocket.in/v1/external/shipments","description":"<p>Use this APi to get the shipment details of all the shipments in your Shiprocket account.</p>\n<p>The data is displayed in the default format if no filter or sort condition is passed. You can use the filter and sort conditions to streamline your data.</p>\n<h4 id=\"parameters\">Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>PARAMS</strong></th>\n<th><strong>REQUIRED</strong></th>\n<th><strong>DATA TYPE</strong></th>\n<th><strong>DESCRIPTION</strong></th>\n<th><strong>EXAMPLE</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code> sort</code></td>\n<td>NO</td>\n<td><em>string</em></td>\n<td>The sort format: ASC or DESC</td>\n<td>ASC</td>\n</tr>\n<tr>\n<td><code>sort_by</code></td>\n<td>NO</td>\n<td><em>string</em></td>\n<td>The field to sort by.</td>\n<td>id</td>\n</tr>\n<tr>\n<td><code>filter</code></td>\n<td>NO</td>\n<td><em>string</em></td>\n<td>The filter value.</td>\n<td>141121</td>\n</tr>\n<tr>\n<td><code>filter_by</code></td>\n<td>NO</td>\n<td><em>string</em></td>\n<td>The filed to filter by.</td>\n<td>id</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["v1","external","shipments"],"host":["apiv2","shiprocket","in"],"query":[],"variable":[]}},"response":[{"id":"34f5461a-251e-40eb-9ca9-151a195b640c","name":"Successful Call","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"url":"{{url}}/v1/external/shipments"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Wed, 31 Jul 2019 12:59:11 GMT"},{"key":"ETag","value":"W/\"e11c6b3963fa1f28a112878cbc897ffb527604b1\""},{"key":"Server","value":"nginx"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-RateLimit-Limit","value":"180"},{"key":"X-RateLimit-Remaining","value":"178"},{"key":"Content-Length","value":"532"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"number\": \"\",\n            \"code\": \"\",\n            \"id\": 3322791,\n            \"order_id\": 3324748,\n            \"products\": [\n                {\n                    \"name\": \"gsdgw\",\n                    \"sku\": \"123\",\n                    \"quantity\": 2\n                }\n            ],\n            \"awb\": \"109123535421\",\n            \"status\": \"CANCELED\",\n            \"created_at\": \"28th Aug 2018 07:11 PM\",\n            \"channel_id\": 76893,\n            \"channel_name\": \"CUSTOM\",\n            \"base_channel_code\": \"CS\",\n            \"payment_method\": \"cod\"\n        },\n        {\n            \"number\": \"\",\n            \"code\": \"\",\n            \"id\": 3322802,\n            \"order_id\": 3324759,\n            \"products\": [\n                {\n                    \"name\": \"Black tshirt XL\",\n                    \"sku\": \"BlackTshirt\",\n                    \"quantity\": 2\n                }\n            ],\n            \"awb\": \"109123535594\",\n            \"status\": \"CANCELED\",\n            \"created_at\": \"28th Aug 2018 07:14 PM\",\n            \"channel_id\": 76893,\n            \"channel_name\": \"CUSTOM\",\n            \"base_channel_code\": \"CS\",\n            \"payment_method\": \"cod\"\n        }\n        \n    ],\n    \"meta\": {\n        \"pagination\": {\n            \"total\": 19631,\n            \"count\": 15,\n            \"per_page\": 2,\n            \"current_page\": 1,\n            \"total_pages\": 1309,\n            \"links\": {\n                \"next\": \"https://apiv2.shiprocket.in/v1/external/shipments?page=2\"\n            }\n        }\n    }\n}"},{"id":"7c608039-ba18-47fb-9066-0da516b442ac","name":"Wrong Endpoint","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"url":"{{url}}/v1/external/shipment"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"404 Not Found\",\n    \"status_code\": 404\n}"}],"_postman_id":"a873019f-a3ae-4576-908a-7f2afaadb114"},{"name":"Get Details of Specific Shipment","id":"b1cf2470-9fb0-485f-97f2-f2b4a8c7923e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"url":"https://apiv2.shiprocket.in/v1/external/shipments","description":"<p>Get the details of a specific Shipment by passing the value of shipment_id in the endpoint url.\nNo other body parameters are required.</p>\n<h4 id=\"path\">Path:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>EXAMPLE</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><a href=\"https://apiv2.shiprocket.in/v1/external/shipments/16016920\">https://apiv2.shiprocket.in/v1/external/shipments/16016920</a></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["v1","external","shipments"],"host":["apiv2","shiprocket","in"],"query":[],"variable":[]}},"response":[{"id":"3ef33002-78ee-4f15-b70f-3d6caf766b07","name":"Invalid or Wrong Data","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"url":"{{url}}/v1/external/shipments/100100"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n\t\n}"},{"id":"d7107213-3d77-4d41-9397-99700bf5af08","name":"Successful Call","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"url":"{{url}}/v1/external/shipments/16016920"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Thu, 01 Aug 2019 05:50:03 GMT"},{"key":"ETag","value":"W/\"def2b5621b400cf0101fa0d1771191f8a6e2e3e2\""},{"key":"Server","value":"nginx"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-RateLimit-Limit","value":"180"},{"key":"X-RateLimit-Remaining","value":"178"},{"key":"Content-Length","value":"461"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 16016920,\n        \"order_id\": 16167171,\n        \"channel_id\": 76893,\n        \"company_id\": 67216,\n        \"invoice_no\": null,\n        \"invoice_date\": null,\n        \"courier\": null,\n        \"sr_courier_id\": null,\n        \"awb\": null,\n        \"awb_assign_date\": null,\n        \"pickup_generated_date\": null,\n        \"pickup_token_number\": null,\n        \"method\": \"Standard\",\n        \"weight\": \"0.000\",\n        \"dimensions\": \"0.00x0.00x0.00\",\n        \"quantity\": 1,\n        \"cost\": \"0.00\",\n        \"tax\": \"0.00\",\n        \"cod_charges\": \"0.00\",\n        \"total\": \"9000.00\",\n        \"shipping_address\": {\n            \"city\": \"New Delhi\",\n            \"state\": \"DELHI\",\n            \"address\": \"House 221B, Leaf Village\",\n            \"country\": \"India\",\n            \"pincode\": \"110002\",\n            \"address_2\": \"Near Hokage House\",\n            \"company_name\": null\n        },\n        \"customer_details\": null,\n        \"status\": 8,\n        \"shipped_date\": null,\n        \"delivered_date\": null,\n        \"returned_date\": null,\n        \"label_url\": null,\n        \"manifest_url\": null,\n        \"created_at\": {\n            \"date\": \"2019-07-31 12:37:41.000000\",\n            \"timezone_type\": 3,\n            \"timezone\": \"Asia/Kolkata\"\n        },\n        \"updated_at\": {\n            \"date\": \"2019-07-31 15:57:11.000000\",\n            \"timezone_type\": 3,\n            \"timezone\": \"Asia/Kolkata\"\n        }\n    }\n}"},{"id":"ee6a2274-cb78-4209-9e1f-20a13cd85b80","name":"Wrong Endpoint","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"url":"{{url}}/v1/external/shipments/{shipment_id}"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"404 Not Found\",\n    \"status_code\": 404\n}"}],"_postman_id":"b1cf2470-9fb0-485f-97f2-f2b4a8c7923e"}],"id":"e78625ca-12ee-45f4-9d1f-641f6188aa40","description":"<p>These API's can be used to get shipment details. You can either get all shipment details at once or the details of a particular shipment.</p>\n<p>Below are some associated status codes related to the shipments:</p>\n<h5 id=\"status-codes\">Status Codes:</h5>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>STATUS CODE</strong></th>\n<th><strong>DESCRIPTION</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Awb Assigned</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Label Generated</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Pickup Scheduled/Generated</td>\n</tr>\n<tr>\n<td>4</td>\n<td>Pickup Queued</td>\n</tr>\n<tr>\n<td>5</td>\n<td>Manifest Generated</td>\n</tr>\n<tr>\n<td>6</td>\n<td>Shipped</td>\n</tr>\n<tr>\n<td>7</td>\n<td>Delivered</td>\n</tr>\n<tr>\n<td>8</td>\n<td>Cancelled</td>\n</tr>\n<tr>\n<td>9</td>\n<td>RTO Initiated</td>\n</tr>\n<tr>\n<td>10</td>\n<td>RTO Delivered</td>\n</tr>\n<tr>\n<td>11</td>\n<td>Pending</td>\n</tr>\n<tr>\n<td>12</td>\n<td>Lost</td>\n</tr>\n<tr>\n<td>13</td>\n<td>Pickup Error</td>\n</tr>\n<tr>\n<td>14</td>\n<td>RTO Acknowledged</td>\n</tr>\n<tr>\n<td>15</td>\n<td>Pickup Rescheduled</td>\n</tr>\n<tr>\n<td>16</td>\n<td>Cancellation Requested</td>\n</tr>\n<tr>\n<td>17</td>\n<td>Out For Delivery</td>\n</tr>\n<tr>\n<td>18</td>\n<td>In Transit</td>\n</tr>\n<tr>\n<td>19</td>\n<td>Out For Pickup</td>\n</tr>\n<tr>\n<td>20</td>\n<td>Pickup Exception</td>\n</tr>\n<tr>\n<td>21</td>\n<td>Undelivered</td>\n</tr>\n<tr>\n<td>22</td>\n<td>Delayed</td>\n</tr>\n<tr>\n<td>23</td>\n<td>Partial_Delivered</td>\n</tr>\n<tr>\n<td>24</td>\n<td>Destroyed</td>\n</tr>\n<tr>\n<td>25</td>\n<td>Damaged</td>\n</tr>\n<tr>\n<td>26</td>\n<td>Fulfilled</td>\n</tr>\n<tr>\n<td>38</td>\n<td>Reached at Destination</td>\n</tr>\n<tr>\n<td>39</td>\n<td>Misrouted</td>\n</tr>\n<tr>\n<td>40</td>\n<td>RTO NDR</td>\n</tr>\n<tr>\n<td>41</td>\n<td>RTO OFD</td>\n</tr>\n<tr>\n<td>42</td>\n<td>Picked Up</td>\n</tr>\n<tr>\n<td>43</td>\n<td>Self Fulfilled</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""]}},{"listen":"test","script":{"type":"text/javascript","exec":[""]}}],"_postman_id":"e78625ca-12ee-45f4-9d1f-641f6188aa40"},{"name":"Labels | Manifests | Invoice","item":[{"name":"Generate Manifest","id":"2af9ab3a-d289-45d2-9b26-927c77462017","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"shipment_id\": []\n}"},"url":"https://apiv2.shiprocket.in/v1/external/manifests/generate","description":"<p>Using this API, you can generate the manifest for your order.\nThis API generates the manifest and displays the download URL of the same.</p>\n<p><strong>Note:</strong></p>\n<ul>\n<li>Multiple ids can also be passed as an array for bulk generation of manifests.</li>\n<li>AWB must be assigned and pickup requested on the shipment id in order to generate manifest.</li>\n</ul>\n<h4 id=\"parameters\">Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>PARAMS</strong></th>\n<th><strong>REQUIRED</strong></th>\n<th><strong>DATA TYPE</strong></th>\n<th><strong>DESCRIPTION</strong></th>\n<th><strong>EXAMPLE</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>shipment_id</code></td>\n<td>YES</td>\n<td><em>integer</em></td>\n<td>The shipment id of the order. Multiple ids can be passed as an array, seperated by commas.</td>\n<td>[16090109]</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["v1","external","manifests","generate"],"host":["apiv2","shiprocket","in"],"query":[],"variable":[]}},"response":[{"id":"11263b71-b052-4555-9311-1e85c3466af6","name":"Missing Field or Invalid Data","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"shipment_id\": \"\"\n}"},"url":"https://apiv2.shiprocket.in/v1/external/manifests/generate"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Thu, 01 Aug 2019 09:51:04 GMT"},{"key":"ETag","value":"W/\"badd86ad6af3c7af35517110449c394a58b02310\""},{"key":"Server","value":"nginx"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-RateLimit-Limit","value":"180"},{"key":"X-RateLimit-Remaining","value":"179"},{"key":"Content-Length","value":"50"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 1,\n    \"manifest_url\": \"\"\n}"},{"id":"e625a0e7-701e-4691-b0fc-7642b8254f95","name":"Successful Call","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"shipment_id\": [16090109]\n}"},"url":"{{url}}/v1/external/manifests/generate"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Thu, 01 Aug 2019 09:49:29 GMT"},{"key":"ETag","value":"W/\"296addb3481e65beaa87cd126f4ae09ae7509acc\""},{"key":"Server","value":"nginx"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-RateLimit-Limit","value":"180"},{"key":"X-RateLimit-Remaining","value":"179"},{"key":"Content-Length","value":"136"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 1,\n    \"manifest_url\": \"https://s3-ap-southeast-1.amazonaws.com/kr-shipmultichannel/25149/manifest/MANIFEST-3051.pdf\"\n}"},{"id":"fde11088-2e2f-4ddc-b6ca-e146ba63f5f1","name":"Bad Request","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"shipment_id\": [16090109]\n}"},"url":"{{url}}/v1/external/manifests/generate"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Manifest already generated for some shipment_ids, Please try again after removin them\",\n    \"status_code\": 400,\n    \"already_manifested_shipment_ids\": [\n        16090109\n    ]\n}"}],"_postman_id":"2af9ab3a-d289-45d2-9b26-927c77462017"},{"name":"Print Manifest","id":"e3264bf0-433b-4161-884d-6a5c29a8d262","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"order_ids\": []\n}"},"url":"https://apiv2.shiprocket.in/v1/external/manifests/print","description":"<p>Use this API to print the generated manifest of orders in an individual level.</p>\n<p><strong>Note</strong></p>\n<ul>\n<li>Mnaifest needs to be generated first in order for this API to print it. Use the 'Generate Manifest' API to do the same.</li>\n<li>Multiple order ids can be passed together.</li>\n</ul>\n<h4 id=\"parameters\">Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>PARAMS</strong></th>\n<th><strong>REQUIRED</strong></th>\n<th><strong>DATA TYPE</strong></th>\n<th><strong>DESCRIPTION</strong></th>\n<th><strong>EXAMPLE</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>order_ids</code></td>\n<td>YES</td>\n<td><em>integer</em></td>\n<td>The Shiprocket order id of whose manifest is to be generated. Multiple ids can be passed together as an array.</td>\n<td>[16090109]</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["v1","external","manifests","print"],"host":["apiv2","shiprocket","in"],"query":[],"variable":[]}},"response":[{"id":"657a02f5-3a33-44b1-819e-09174ffdefb6","name":"Wrong Format","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"order_ids\": \"\"\n}"},"url":"{{url}}/v1/external/manifests/print"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Thu, 01 Aug 2019 10:22:28 GMT"},{"key":"Server","value":"nginx"},{"key":"Content-Length","value":"71"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Invalid argument supplied for foreach()\",\n    \"status_code\": 500\n}"},{"id":"6f79275f-55a1-48d1-bf7b-046d5cb3bb7b","name":"Missing or Invalid Data ","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"order_ids\": [16161616]\n}"},"url":"{{url}}/v1/external/manifests/print"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"manifest_url\": \"\"\n}"},{"id":"7f30e4ff-14d3-4849-a88a-996acdeb4ec9","name":"Successful Call","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"order_ids\": [16240904]\n}"},"url":"{{url}}/v1/external/manifests/print"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Thu, 01 Aug 2019 10:09:57 GMT"},{"key":"ETag","value":"W/\"7d8fc4e85a943b389f2095676e8b4eaf518acca0\""},{"key":"Server","value":"nginx"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-RateLimit-Limit","value":"180"},{"key":"X-RateLimit-Remaining","value":"179"},{"key":"Content-Length","value":"149"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"manifest_url\": \"https://s3-ap-southeast-1.amazonaws.com/kr-shipmultichannel/manifest/c_25149/print_manifests/115261_fedex-surface_D52FE1564654197.pdf\"\n}"}],"_postman_id":"e3264bf0-433b-4161-884d-6a5c29a8d262"},{"name":"Generate Label","id":"0a495c4c-69a6-4f95-b011-7b8a0b0c570d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"shipment_id\": []\n}"},"url":"https://apiv2.shiprocket.in/v1/external/courier/generate/label","description":"<p>Generate the label of an order by passing the shipment id in the form of an array.\nThis API displays the URL of the generated label.</p>\n<p><strong>Note:</strong></p>\n<ul>\n<li>The AWB must be assigned on the shipment to generate the label.</li>\n<li>'shipment_id' must be passed as an array.</li>\n</ul>\n<h4 id=\"parameters\">Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>PARAMS</strong></th>\n<th><strong>REQUIRED</strong></th>\n<th><strong>DATA TYPE</strong></th>\n<th><strong>DESCRIPTION</strong></th>\n<th><strong>EXAMPLE</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>shipment_id</code></td>\n<td>YES</td>\n<td><em>integer</em></td>\n<td>The shipment id of the order whose label is to be generated.   Multiple ids can be passed together as an array.</td>\n<td>[16104408,16104409]</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["v1","external","courier","generate","label"],"host":["apiv2","shiprocket","in"],"query":[],"variable":[]}},"response":[{"id":"679fc2f3-6b99-4709-9605-c08bdd20a569","name":"Successful Call","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"shipment_id\": [\"16104408\"]\n}"},"url":"{{url}}/v1/external/courier/generate/label"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Thu, 01 Aug 2019 10:29:20 GMT"},{"key":"ETag","value":"W/\"3be44e9a0c7c9cc798b53c853a1001295d70bedb\""},{"key":"Server","value":"nginx"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-RateLimit-Limit","value":"180"},{"key":"X-RateLimit-Remaining","value":"179"},{"key":"Content-Length","value":"198"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"label_created\": 1,\n    \"label_url\": \"https://kr-shipmultichannel.s3.ap-southeast-1.amazonaws.com/25149/labels/shipping-label-16104408-788830567028.pdf\",\n    \"response\": \"Label has been created and uploaded successfully!\",\n    \"not_created\": []\n}"},{"id":"86202115-8985-4e02-9a0a-2240f4e99887","name":"Wrong Format","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"shipment_id\": \"16161616\"\n}"},"url":"{{url}}/v1/external/courier/generate/label"},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Oops! Invalid Data.\",\n    \"errors\": {\n        \"shipment_id\": [\n            \"The shipment id must be an array.\"\n        ]\n    },\n    \"status_code\": 422\n}"},{"id":"d16bd72b-2b05-4679-b418-a4ee9639ba9e","name":"Missing or Invalid Data ","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"shipment_id\": [\"\"]\n}"},"url":"{{url}}/v1/external/courier/generate/label"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"label_created\": 0,\n    \"not_created\": [],\n    \"response\": \"No valid shipment ids to print label\"\n}"}],"_postman_id":"0a495c4c-69a6-4f95-b011-7b8a0b0c570d"},{"name":"Generate Invoice","id":"1072ab68-634b-4d5f-964d-3a4edabf9f33","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"ids\": []\n\n}"},"url":"https://apiv2.shiprocket.in/v1/external/orders/print/invoice","description":"<p>Use this API to generate the invoice for your order by passing the respective Shiprocket order ids.</p>\n<p>The generated invoice URL is desplayed as a response.\nMultiple ids can be passed together as an array.</p>\n<p><strong>Note</strong></p>\n<ul>\n<li>Order ids must be passed as an array.</li>\n</ul>\n<h4 id=\"parameters\">Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>PARAMS</strong></th>\n<th><strong>REQUIRED</strong></th>\n<th><strong>DATA TYPE</strong></th>\n<th><strong>DESCRIPTION</strong></th>\n<th><strong>EXAMPLE</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>ids</code></td>\n<td>YES</td>\n<td><em>integer</em></td>\n<td>The Shiprocket order id of the orders whose invoice are to be created. Multiple ids can be passed together as  an array.</td>\n<td>[16255275,16255276]</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["v1","external","orders","print","invoice"],"host":["apiv2","shiprocket","in"],"query":[],"variable":[]}},"response":[{"id":"087d6eee-47e7-4e81-9c0b-e4e360c742e3","name":"Missing Fields or Invalid Data","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"ids\": [\"\"]\n}"},"url":"{{url}}/v1/external/orders/print/invoice"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"is_invoice_created\": false,\n    \"message\": \"Invoice could not be created\",\n    \"not_created\": []\n}"},{"id":"0b3be714-3f0b-4d6a-b912-1375a12eb492","name":"Successful Call","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"ids\": [\"16255275\"]\n\n}"},"url":"{{url}}/v1/external/orders/print/invoice"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Thu, 01 Aug 2019 10:54:33 GMT"},{"key":"ETag","value":"W/\"e5787c8d97c97ae7d5b495ce2abe92a7680fed84\""},{"key":"Server","value":"nginx"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-RateLimit-Limit","value":"180"},{"key":"X-RateLimit-Remaining","value":"178"},{"key":"Content-Length","value":"155"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"is_invoice_created\": true,\n    \"invoice_url\": \"https://s3-ap-southeast-1.amazonaws.com/kr-shipmultichannel/25149/invoices/KD101019281564656872.pdf\",\n    \"not_created\": []\n}"},{"id":"b9de5b0a-0b7d-4806-ba5f-87d046837c2a","name":"Wrong Format","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"ids\": \"16255275\"\n}"},"url":"{{url}}/v1/external/orders/print/invoice"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Invalid argument supplied for foreach()\",\n    \"status_code\": 500\n}"}],"_postman_id":"1072ab68-634b-4d5f-964d-3a4edabf9f33"}],"id":"96eb4fa3-fedd-46a8-b36d-6320ee052c81","description":"<p>These API's are designed for the generation of manifests, invoice and label for your shipment. You can also get manifest details and print a manifest using the respective API's.</p>\n","_postman_id":"96eb4fa3-fedd-46a8-b36d-6320ee052c81"},{"name":"Wrapper API","item":[{"name":"Create, Ship and Generate Label and Manifest for Order","id":"4e9a71cd-2bf7-4b5d-bd8c-89f328c22ba1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"mode\": \"\",\n  \"request_pickup\": \"\",\n  \"print_label\": \"\",\n  \"generate_manifest\": \"\",\n  \"ewaybill_no\": \"\",\n  \"courier_id\": \"\",\n  \"reseller_name\": \"\",\n  \"order_id\": \"\",\n  \"isd_code\": \"\",\n  \"billing_isd_code\": \"\",\n  \"order_date\": \"\",\n  \"channel_id\": \"\",\n  \"company_name\": \"\",\n  \"billing_customer_name\": \"\",\n  \"billing_last_name\": \"\",\n  \"billing_address\": \"\",\n  \"billing_address_2\": \"\",\n  \"billing_city\": \"\",\n  \"billing_state\": \"\",\n  \"billing_country\": \"\",\n  \"billing_pincode\": \"\",\n  \"billing_email\": \"\",\n  \"billing_phone\": \"\",\n  \"billing_alternate_phone\": \"\",\n  \"shipping_is_billing\": \"1\",\n  \"shipping_customer_name\": \"\",\n  \"shipping_last_name\": \"\",\n  \"shipping_address\": \"\",\n  \"shipping_address_2\": \"\",\n  \"shipping_city\": \"\",\n  \"shipping_state\": \"\",\n  \"shipping_country\": \"\",\n  \"shipping_pincode\": \"\",\n  \"shipping_email\": \"\",\n  \"shipping_phone\": \"\",\n  \"order_items\": [\n    {\n      \"name\": \"\",\n      \"sku\": \"\",\n      \"units\": \"\",\n      \"hsn\": \"\",\n      \"selling_price\": \"\",\n      \"tax\": \"\",\n      \"discount\": \"\"\n    }\n  ],\n  \"payment_method\": \"\",\n  \"shipping_charges\": \"\",\n  \"giftwrap_charges\": \"\",\n  \"transaction_charges\": \"\",\n  \"total_discount\": \"\",\n  \"sub_total\": \"\",\n  \"weight\": \"\",\n  \"length\": \"\",\n  \"breadth\": \"\",\n  \"height\": \"\",\n  \"pickup_location\": \"\",\n  \"customer_gstin\": \"\",\n  \"vendor_details\": {\n    \"email\": \"\",\n    \"phone\": \"\",\n    \"name\": \"\",\n    \"address\": \"\",\n    \"address_2\": \"\",\n    \"city\": \"\",\n    \"state\": \"\",\n    \"country\": \"\",\n    \"pin_code\": \"\",\n    \"pickup_location\": \"\"\n  }\n}"},"url":"https://apiv2.shiprocket.in/v1/external/shipments/create/forward-shipment","description":"<p>Use this API to do multiple tasks in one go, nmely creating a quick order, requesting for its shipment and finally generating the label and manifest for the same order. </p>\n<p>This API integrates several other API's to perform all these tasks together.</p>\n<p><strong>Notes:</strong></p>\n<ul>\n<li>Use 'vendor_details' array to add a new pickup location to your account and assign it to your order.</li>\n<li>In case of adding a new pickup, the 'pickup_location' field must be equal to the new pickup location name.</li>\n</ul>\n<h4 id=\"parameters\">Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>PARAMS</strong></th>\n<th><strong>REQUIRED</strong></th>\n<th><strong>DATA TYPE</strong></th>\n<th><strong>DESCRIPTION</strong></th>\n<th><strong>EXAMPLE</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>mode</code></td>\n<td>NO</td>\n<td><em>string</em></td>\n<td>The mode of shipment, either surface or air. <em>Value</em>: <strong>Surface</strong> or <strong>Air</strong></td>\n<td>Air</td>\n</tr>\n<tr>\n<td><code>request_pickup</code></td>\n<td>NO</td>\n<td><em>boolean</em></td>\n<td>Use false if you dont want to request pickup. Default value is true.</td>\n<td>true</td>\n</tr>\n<tr>\n<td><code>print_label</code></td>\n<td>NO</td>\n<td><em>boolean</em></td>\n<td>Use false if you dont want to print label. Default value is true.</td>\n<td>true</td>\n</tr>\n<tr>\n<td><code>generate_manifest</code></td>\n<td>NO</td>\n<td><em>boolean</em></td>\n<td>Use false if you dont want to generate manifest. Default value is true.</td>\n<td>true</td>\n</tr>\n<tr>\n<td><code>ewaybill_no</code></td>\n<td>NO</td>\n<td><em>string</em></td>\n<td>Details relating to the shipment of goods.</td>\n<td>K92373490</td>\n</tr>\n<tr>\n<td><code>courier_id</code></td>\n<td>NO</td>\n<td><em>integer</em></td>\n<td>The courier id of the courier you want to assign. Refer to the servicability API to get id.</td>\n<td>10</td>\n</tr>\n<tr>\n<td><code>reseller_name</code></td>\n<td>NO</td>\n<td><em>string</em></td>\n<td>The 'from' name if you want to print. Use 'Reseller: [name]'</td>\n<td>Reseller: Divine</td>\n</tr>\n<tr>\n<td><code>order_id</code></td>\n<td>YES</td>\n<td><em>string</em></td>\n<td>The custom reference id you want to assign to the order.</td>\n<td>2477</td>\n</tr>\n<tr>\n<td><code>isd_code</code></td>\n<td>NO</td>\n<td><em>string</em></td>\n<td>The isd code</td>\n<td>91</td>\n</tr>\n<tr>\n<td><code>billing_isd_code</code></td>\n<td>NO</td>\n<td><em>string</em></td>\n<td>The billing isd code.</td>\n<td>91</td>\n</tr>\n<tr>\n<td><code>order_date</code></td>\n<td>YES</td>\n<td><em>string</em></td>\n<td>The date of the creation of order.</td>\n<td>2019-08-04</td>\n</tr>\n<tr>\n<td><code>channel_id</code></td>\n<td>YES</td>\n<td><em>integer</em></td>\n<td>The channel id of the specific channel. Use the Channels API to get id.</td>\n<td>72505</td>\n</tr>\n<tr>\n<td><code>company_name</code></td>\n<td>NO</td>\n<td><em>string</em></td>\n<td>Name of the company.</td>\n<td>Amazon</td>\n</tr>\n<tr>\n<td><code>billing_customer_name</code></td>\n<td>YES</td>\n<td><em>string</em></td>\n<td>The first name of customer to be billed.</td>\n<td>Deadpool</td>\n</tr>\n<tr>\n<td><code>billing_last_name</code></td>\n<td>NO</td>\n<td><em>string</em></td>\n<td>The last name of the billing customer.</td>\n<td>Chimichanga</td>\n</tr>\n<tr>\n<td><code>billing_address</code></td>\n<td>YES</td>\n<td><em>string</em></td>\n<td>The primary billing address.</td>\n<td>House no 21</td>\n</tr>\n<tr>\n<td><code>billing_address_2</code></td>\n<td>NO</td>\n<td><em>integer</em></td>\n<td>Additional billing address details.</td>\n<td>Street 2, Dwarka</td>\n</tr>\n<tr>\n<td><code>billing_city</code></td>\n<td>YES</td>\n<td><em>string</em></td>\n<td>The billing city.</td>\n<td>Delhi</td>\n</tr>\n<tr>\n<td><code>billing_state</code></td>\n<td>YES</td>\n<td><em>string</em></td>\n<td>The billing address state.</td>\n<td>New Delhi</td>\n</tr>\n<tr>\n<td><code>billing_country</code></td>\n<td>YES</td>\n<td><em>string</em></td>\n<td>The billing address country.</td>\n<td>India</td>\n</tr>\n<tr>\n<td><code>billing_pincode</code></td>\n<td>YES</td>\n<td><em>integer</em></td>\n<td>The pincode of the billing address.</td>\n<td>110002</td>\n</tr>\n<tr>\n<td><code>billing_email</code></td>\n<td>YES</td>\n<td><em>string</em></td>\n<td>The billing customer email.</td>\n<td><a href=\"mailto:deadpool@red.com\">deadpool@red.com</a></td>\n</tr>\n<tr>\n<td><code>billing_phone</code></td>\n<td>YES</td>\n<td><em>integer</em></td>\n<td>The billing customer phone.</td>\n<td>9999998899</td>\n</tr>\n<tr>\n<td><code>billing_alternate_phone</code></td>\n<td>NO</td>\n<td><em>integer</em></td>\n<td>The billing customer alternate phone.</td>\n<td>8404690454</td>\n</tr>\n<tr>\n<td><code>shipping_is_billing</code></td>\n<td>YES</td>\n<td><em>boolean</em></td>\n<td>Whether shipping details are the same as billing details. <strong>true</strong> for yes <strong>false</strong> for no.</td>\n<td>true</td>\n</tr>\n<tr>\n<td><code>shipping_customer_name</code></td>\n<td>CONDITIONAL YES</td>\n<td><em>string</em></td>\n<td>Shipping customer's first name.</td>\n<td>Logan</td>\n</tr>\n<tr>\n<td><code>shipping_last_name</code></td>\n<td>NO</td>\n<td><em>string</em></td>\n<td>Shipping custoomer's last name.</td>\n<td>Wolverine</td>\n</tr>\n<tr>\n<td><code>shipping_address</code></td>\n<td>CONDITIONAL YES</td>\n<td><em>string</em></td>\n<td>The shipping address.</td>\n<td>House no X</td>\n</tr>\n<tr>\n<td><code>shipping_address_2</code></td>\n<td>YES</td>\n<td><em>string</em></td>\n<td>Additional shipping address details.</td>\n<td>Street X</td>\n</tr>\n<tr>\n<td><code>shipping_city</code></td>\n<td>CONDITIONAL YES</td>\n<td><em>string</em></td>\n<td>The shipping city.</td>\n<td>Mumbai</td>\n</tr>\n<tr>\n<td><code>shipping_state</code></td>\n<td>CONDITIONAL YES</td>\n<td><em>string</em></td>\n<td>The state of the shipping address.</td>\n<td>Maharashtra</td>\n</tr>\n<tr>\n<td><code>shipping_country</code></td>\n<td>CONDITIONAL YES</td>\n<td><em>string</em></td>\n<td>The shipping address country.</td>\n<td>India</td>\n</tr>\n<tr>\n<td><code>shipping_pincode</code></td>\n<td>CONDITIONAL YES</td>\n<td><em>integer</em></td>\n<td>Shipping pincode.</td>\n<td>230023</td>\n</tr>\n<tr>\n<td><code>shipping_email</code></td>\n<td>CONDITIONAL YES</td>\n<td><em>string</em></td>\n<td>The email of the shipping customer.</td>\n<td><a href=\"mailto:wolverine@xmen.com\">wolverine@xmen.com</a></td>\n</tr>\n<tr>\n<td><code>shipping_phone</code></td>\n<td>CONDITIONAL YES</td>\n<td><em>integer</em></td>\n<td>The phone number of the shipping customer.</td>\n<td>8877997799</td>\n</tr>\n<tr>\n<td><code>order_items</code></td>\n<td>YES</td>\n<td>/</td>\n<td>Array containing further parameters.</td>\n<td>/</td>\n</tr>\n<tr>\n<td><code>name</code></td>\n<td>YES</td>\n<td><em>string</em></td>\n<td>The name of the product.</td>\n<td>BatmanIdol</td>\n</tr>\n<tr>\n<td><code>sku</code></td>\n<td>YES</td>\n<td><em>string</em></td>\n<td>sku Code of the product.</td>\n<td>Bat</td>\n</tr>\n<tr>\n<td><code>units</code></td>\n<td>YES</td>\n<td><em>integer</em></td>\n<td>Number of units.</td>\n<td>10</td>\n</tr>\n<tr>\n<td><code>hsn</code></td>\n<td>NO</td>\n<td><em>integer</em></td>\n<td>HSN code if available.</td>\n<td>4412</td>\n</tr>\n<tr>\n<td><code>selling_price</code></td>\n<td>YES</td>\n<td><em>string</em></td>\n<td>The selling price of each unit inclusive of GST.</td>\n<td>200</td>\n</tr>\n<tr>\n<td><code>tax</code></td>\n<td>NO</td>\n<td><em>integer</em></td>\n<td>The tax applied in percent.</td>\n<td>20</td>\n</tr>\n<tr>\n<td><code>discount</code></td>\n<td>NO</td>\n<td><em>integer</em></td>\n<td>The discount amount inclusive of tax.</td>\n<td>20</td>\n</tr>\n<tr>\n<td><code>payment_method</code></td>\n<td>YES</td>\n<td><em>string</em></td>\n<td>If the payment method is Cash on delivery (<strong>COD</strong>) or <strong>Prepaid</strong>.</td>\n<td>COD</td>\n</tr>\n<tr>\n<td><code>shipping_charges</code></td>\n<td>NO</td>\n<td><em>integer</em></td>\n<td>The shipping charges if any in rupees.</td>\n<td>5</td>\n</tr>\n<tr>\n<td><code>giftwrap_charges</code></td>\n<td>NO</td>\n<td><em>integer</em></td>\n<td>The giftwrap charges if any in rupees.</td>\n<td>5</td>\n</tr>\n<tr>\n<td><code>transaction_charges</code></td>\n<td>NO</td>\n<td><em>integer</em></td>\n<td>The transaction charges if any in rupees.</td>\n<td>10</td>\n</tr>\n<tr>\n<td><code>total_discount</code></td>\n<td>NO</td>\n<td><em>integer</em></td>\n<td>The discount amount in rupees.</td>\n<td>15</td>\n</tr>\n<tr>\n<td><code>sub_total</code></td>\n<td>YES</td>\n<td><em>integer</em></td>\n<td>The sub total amount in rupees.</td>\n<td>1800</td>\n</tr>\n<tr>\n<td><code>weight</code></td>\n<td>YES</td>\n<td><em>string</em></td>\n<td>The weight of the shipment in kgs.</td>\n<td>2</td>\n</tr>\n<tr>\n<td><code>length</code></td>\n<td>YES</td>\n<td><em>integer</em></td>\n<td>The length of the shipment in cms. Must be more than 0.5</td>\n<td>10</td>\n</tr>\n<tr>\n<td><code>breadth</code></td>\n<td>YES</td>\n<td><em>integer</em></td>\n<td>The breadth of the shipment in cms. Must be more than 0.5</td>\n<td>15</td>\n</tr>\n<tr>\n<td><code>height</code></td>\n<td>YES</td>\n<td><em>integer</em></td>\n<td>The height of the shipment in cms. Must be more than 0.5</td>\n<td>20</td>\n</tr>\n<tr>\n<td><code>pickup_location</code></td>\n<td>NO</td>\n<td><em>string</em></td>\n<td>The pickup location name. Equal to an existing pickup location.   If you use 'vendor details' to add a new location, it must be equal to the new pickup location name.</td>\n<td>Office</td>\n</tr>\n<tr>\n<td><code>customer_gstin</code></td>\n<td>NO</td>\n<td><em>string</em></td>\n<td>Goods and Services Tax Identification Number.</td>\n<td>29ABCDE1234F2Z5</td>\n</tr>\n<tr>\n<td><code>vendor_details</code></td>\n<td>NO</td>\n<td>/</td>\n<td>Array containing further parameters. Use to assign/add a new pickup location to your account.</td>\n<td>/</td>\n</tr>\n<tr>\n<td><code>email</code></td>\n<td>CONDITIONAL YES</td>\n<td><em>string</em></td>\n<td>The shipper's email address.</td>\n<td><a href=\"mailto:jhon@doe.com\">jhon@doe.com</a></td>\n</tr>\n<tr>\n<td><code>phone</code></td>\n<td>CONDITIONAL YES</td>\n<td><em>integer</em></td>\n<td>The shipper's phone number.</td>\n<td>8888999888</td>\n</tr>\n<tr>\n<td><code>name</code></td>\n<td>CONDITIONAL YES</td>\n<td><em>string</em></td>\n<td>The shipper's name.</td>\n<td>Jhon Doe</td>\n</tr>\n<tr>\n<td><code>address</code></td>\n<td>CONDITIONAL YES</td>\n<td><em>string</em></td>\n<td>The pickup location address.</td>\n<td>Office Building</td>\n</tr>\n<tr>\n<td><code>address_2</code></td>\n<td>NO</td>\n<td><em>string</em></td>\n<td>Additional address details.</td>\n<td>Street 2 house 4</td>\n</tr>\n<tr>\n<td><code>city</code></td>\n<td>CONDITIONAL YES</td>\n<td><em>string</em></td>\n<td>The pickup location city.</td>\n<td>Pune</td>\n</tr>\n<tr>\n<td><code>state</code></td>\n<td>CONDITIONAL YES</td>\n<td><em>string</em></td>\n<td>The pickup state.</td>\n<td>Maharashtra</td>\n</tr>\n<tr>\n<td><code>country</code></td>\n<td>CONDITIONAL YES</td>\n<td><em>string</em></td>\n<td>The pickup location country.</td>\n<td>India</td>\n</tr>\n<tr>\n<td><code>pin_code</code></td>\n<td>CONDITIONAL YES</td>\n<td><em>integer</em></td>\n<td>The pickup pincode.</td>\n<td>200099</td>\n</tr>\n<tr>\n<td><code>pickup_location</code></td>\n<td>CONDITIONAL YES</td>\n<td><em>string</em></td>\n<td>New pickup location name. Max: 8 char.</td>\n<td>New Office</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["v1","external","shipments","create","forward-shipment"],"host":["apiv2","shiprocket","in"],"query":[],"variable":[]}},"response":[{"id":"485b1be4-bc88-454b-8fb7-7d9bc3caa11b","name":"Invalid Data","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n \n  \"order_id\": \"22907867\",\n  \"order_date\": \"2018-05-08 12:23\",\n  \"channel_id\": \"27202\",\n  \"billing_customer_name\": \"Jax\",\n  \"billing_last_name\": \"Tank\",\n  \"billing_address\": \"Dust2\",\n  \"billing_city\": \"New Delhi\",\n  \"billing_pincode\": \"110002\",\n  \"billing_state\": \"Delhi\",\n  \"billing_country\": \"India\",\n  \"billing_email\": \"jax@counterstike.com\",\n  \"billing_phone\": \"9988998899\",\n  \"shipping_is_billing\": true,\n   \"order_items\": [\n    {\n      \"name\": \"Delta\",\n      \"sku\": \"delta123\",\n      \"units\": 10,\n      \"selling_price\": \"1000\"\n    }\n  ],\n\n  \"payment_method\": \"COD\",\n  \"sub_total\": 4000,\n  \"length\": 100,\n  \"breadth\": 50,\n  \"height\": 10,\n  \"weight\": 0.50,\n  \"pickup_location\": \"HomeNew\",\n  \"vendor_details\": {\n    \"email\": \"abcdd@abcdd.com\",\n    \"phone\": 9879879879,\n    \"name\": \"CustName\",\n    \"address\": \"Street1\",\n    \"address_2\": \"\",\n    \"city\": \"delhi\",\n    \"state\": \"new delhi\",\n    \"country\": \"india\",\n    \"pin_code\": \"110077\",\n    \"pickup_location\": \"HomeNew\"\n  }\n}"},"url":"{{url}}/v1/external/shipments/create/forward-shipment"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 0,\n    \"payload\": {\n        \"action\": \"Adding pickup location\",\n        \"error_message\": \"Oops! Invalid Data.\"\n    }\n}"},{"id":"a68d681a-8903-4e13-90e0-f2eddc68f143","name":"Successful Call","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n \n  \"order_id\": \"22114477\",\n  \"order_date\": \"2018-05-08 12:23\",\n  \"channel_id\": \"27202\",\n  \"billing_customer_name\": \"Jax\",\n  \"billing_last_name\": \"Tank\",\n  \"billing_address\": \"Dust2\",\n  \"billing_city\": \"New Delhi\",\n  \"billing_pincode\": \"110002\",\n  \"billing_state\": \"Delhi\",\n  \"billing_country\": \"India\",\n  \"billing_email\": \"jax@counterstike.com\",\n  \"billing_phone\": \"9988998899\",\n  \"shipping_is_billing\": true,\n   \"order_items\": [\n    {\n      \"name\": \"Delta\",\n      \"sku\": \"delta123\",\n      \"units\": 10,\n      \"selling_price\": \"1000\"\n    }\n  ],\n\n  \"payment_method\": \"COD\",\n  \"sub_total\": 4000,\n  \"length\": 100,\n  \"breadth\": 50,\n  \"height\": 10,\n  \"weight\": 0.50,\n  \"pickup_location\": \"HomeNew\",\n  \"vendor_details\": {\n    \"email\": \"abcdd@abcdd.com\",\n    \"phone\": 9879879879,\n    \"name\": \"Coco Cookie\",\n    \"address\": \"Street 1\",\n    \"address_2\": \"\",\n    \"city\": \"delhi\",\n    \"state\": \"new delhi\",\n    \"country\": \"india\",\n    \"pin_code\": \"110077\",\n    \"pickup_location\": \"HomeNew\"\n  }\n}"},"url":"{{url}}/v1/external/shipments/create/forward-shipment"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Tue, 06 Aug 2019 09:33:51 GMT"},{"key":"ETag","value":"W/\"f3daed1c084f007c3c28cc8ec131f711cd5a259e\""},{"key":"Server","value":"nginx"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-RateLimit-Limit","value":"180"},{"key":"X-RateLimit-Remaining","value":"178"},{"key":"Content-Length","value":"435"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 1,\n    \"payload\": {\n        \"pickup_location_added\": 1,\n        \"order_created\": 1,\n        \"awb_generated\": 1,\n        \"label_generated\": 1,\n        \"pickup_generated\": 1,\n        \"manifest_generated\": 1,\n        \"pickup_scheduled_date\": {\n            \"date\": \"2019-08-06 15:03:50.000000\",\n            \"timezone_type\": 3,\n            \"timezone\": \"Asia/Kolkata\"\n        },\n        \"order_id\": 16594369,\n        \"shipment_id\": 16438540,\n        \"awb_code\": \"59641442420\",\n        \"courier_company_id\": 1,\n        \"courier_name\": \"Bluedart\",\n        \"assigned_date_time\": {\n            \"date\": \"2019-08-06 15:03:45.393004\",\n            \"timezone_type\": 3,\n            \"timezone\": \"Asia/Kolkata\"\n        },\n        \"applied_weight\": 10,\n        \"cod\": true,\n        \"label_url\": \"https://kr-shipmultichannel.s3.ap-southeast-1.amazonaws.com/25149/labels/shipping-label-16438540-59641442420.pdf\",\n        \"manifest_url\": \"https://s3-ap-southeast-1.amazonaws.com/kr-shipmultichannel/25149/manifest/MANIFEST-3055.pdf\",\n        \"routing_code\": \"DEL/IPC\",\n        \"pickup_token_number\": \"Reference No: 10336\"\n    }\n}"},{"id":"c601295e-f713-4dfd-9a54-56bdab29bae0","name":"Missing Data","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n \n  \"order_id\": \"\",\n  \"order_date\": \"2018-05-08 12:23\",\n  \"channel_id\": \"27202\",\n  \"billing_customer_name\": \"Jax\",\n  \"billing_last_name\": \"Tank\",\n  \"billing_address\": \"Dust2\",\n  \"billing_city\": \"New Delhi\",\n  \"billing_pincode\": \"110002\",\n  \"billing_state\": \"Delhi\",\n  \"billing_country\": \"India\",\n  \"billing_email\": \"jax@counterstike.com\",\n  \"billing_phone\": \"9988998899\",\n  \"shipping_is_billing\": true,\n   \"order_items\": [\n    {\n      \"name\": \"Delta\",\n      \"sku\": \"delta123\",\n      \"units\": 10,\n      \"selling_price\": \"1000\"\n    }\n  ],\n\n  \"payment_method\": \"COD\",\n  \"sub_total\": 4000,\n  \"length\": 100,\n  \"breadth\": 50,\n  \"height\": 10,\n  \"weight\": 0.50,\n  \"vendor_details\": {\n    \"email\": \"abcdd@abcdd.com\",\n    \"phone\": 9879879879,\n    \"name\": \"\",\n    \"address\": \"\",\n    \"address_2\": \"\",\n    \"city\": \"delhi\",\n    \"state\": \"new delhi\",\n    \"country\": \"india\",\n    \"pin_code\": \"110077\",\n    \"pickup_location\": \"Home\"\n  }\n}"},"url":"{{url}}/v1/external/shipments/create/forward-shipment"},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Oops! Invalid Data.\",\n    \"errors\": {\n        \"order_id\": [\n            \"The order id field is required.\"\n        ]\n    },\n    \"status_code\": 422\n}"}],"_postman_id":"4e9a71cd-2bf7-4b5d-bd8c-89f328c22ba1"}],"id":"2432d0c0-7e76-4550-96cf-56e114d1f4db","description":"<p>This is an all in one API to create an order, ship the order, add a new pickup location and generate label along with the manifest for the same.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""]}},{"listen":"test","script":{"type":"text/javascript","exec":[""]}}],"_postman_id":"2432d0c0-7e76-4550-96cf-56e114d1f4db"},{"name":"Tracking","item":[{"name":"Get Tracking through AWB ","id":"3d1e87a7-1adc-41c5-9343-835ee4dd137d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"url":"https://apiv2.shiprocket.in/v1/external/courier/track/awb/{awb_code}\n","description":"<p>Get the tracking details of your shipment by entering the AWB code of the same in the endpoint URL itself.\nNo other body parameters are required to access this API.</p>\n<p>The response is displayed in a JSON format.</p>\n<h4 id=\"path\">Path:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>EXAMPLE</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><a href=\"https://apiv2.shiprocket.in/v1/external/courier/track/awb/788830567028\">https://apiv2.shiprocket.in/v1/external/courier/track/awb/788830567028</a></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["v1","external","courier","track","awb","{awb_code}\n"],"host":["apiv2","shiprocket","in"],"query":[],"variable":[]}},"response":[{"id":"50eed338-0617-4d56-9833-df535a3da2f4","name":"Successful Call","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"url":"{{url}}/v1/external/courier/track/awb/788830567028"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Fri, 02 Aug 2019 07:59:13 GMT"},{"key":"ETag","value":"W/\"1f550c194e2b42cce3eb7c341faf7aee82349b45\""},{"key":"Server","value":"nginx"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-RateLimit-Limit","value":"180"},{"key":"X-RateLimit-Remaining","value":"176"},{"key":"Content-Length","value":"369"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"tracking_data\": {\n        \"track_status\": 1,\n        \"shipment_status\": 3,\n        \"shipment_track\": [\n            {\n                \"id\": 8087109,\n                \"awb_code\": \"788830567028\",\n                \"courier_company_id\": 2,\n                \"shipment_id\": null,\n                \"order_id\": 16255275,\n                \"pickup_date\": null,\n                \"delivered_date\": null,\n                \"weight\": \"2.5\",\n                \"packages\": 1,\n                \"current_status\": \"Pickup Generated\",\n                \"delivered_to\": \"New Delhi\",\n                \"destination\": \"New Delhi\",\n                \"consignee_name\": \"Naruto\",\n                \"origin\": \"Jammu\",\n                \"courier_agent_details\": null\n            }\n        ],\n        \"shipment_track_activities\": [\n            {\n                \"date\": \"2019-08-01 05:20:55\",\n                \"activity\": \"Shipment information sent to FedEx - OC\",\n                \"location\": \"NA\"\n            }\n        ],\n        \"track_url\": \"https://app.shiprocket.in/tracking/awb/788830567028\"\n    }\n}"},{"id":"ae75152f-7234-471c-9b3b-1c0df3f87017","name":"Invalid Data","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"url":"{{url}}/v1/external/courier/track/awb/111111111111"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Fri, 02 Aug 2019 08:45:10 GMT"},{"key":"ETag","value":"W/\"a45b3076cbb2ba2bf7f5eb342bf7aa7f89472b35\""},{"key":"Server","value":"nginx"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-RateLimit-Limit","value":"180"},{"key":"X-RateLimit-Remaining","value":"179"},{"key":"Content-Length","value":"138"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"tracking_data\": {\n        \"track_status\": 0,\n        \"error\": \"Aahh! There is no activities found in our DB. Please have some patience it will be updated soon.\"\n    }\n}"},{"id":"d8674a9a-c903-4f84-a324-0c41ded965fe","name":"Missing Fields","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"url":"{{url}}/v1/external/courier/track/awb/"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"404 Not Found\",\n    \"status_code\": 404\n}"}],"_postman_id":"3d1e87a7-1adc-41c5-9343-835ee4dd137d"},{"name":"Get Tracking Data for Multiple AWBS","id":"a401c6b8-d839-40fa-8c8e-3daba1910f4a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"awbs\": [\"\",\"\"]\n}"},"url":"https://apiv2.shiprocket.in/v1/external/courier/track/awbs","description":"<p>Get the tracking details of multiple shipments by entering their AWB codes together as an array.</p>\n<p>The response is displayed in a JSON format.</p>\n<p><strong>Notes:</strong></p>\n<ul>\n<li>Data must be passed as a string array.</li>\n<li>Maximum of 50 AWB codes are supported at a time.</li>\n</ul>\n<h4 id=\"parameters\">Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>PARAMS</strong></th>\n<th><strong>REQUIRED</strong></th>\n<th><strong>DATA TYPE</strong></th>\n<th><strong>DESCRIPTION</strong></th>\n<th><strong>EXAMPLE</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>awbs</code></td>\n<td>YES</td>\n<td><em>string</em></td>\n<td>The AWB codes of the shipments. Must be passed as an array.</td>\n<td>[\"788830567028\",\"788829354408\"]</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["v1","external","courier","track","awbs"],"host":["apiv2","shiprocket","in"],"query":[],"variable":[]}},"response":[{"id":"3ebceabe-3cee-48a4-8320-fc26b6f41c23","name":"Wrong Format","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"awbs\": \"788830567028\",\"788829354408\"\n}"},"url":"{{url}}/v1/external/courier/track/awbs"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Invalid argument supplied for foreach()\",\n    \"status_code\": 500\n}"},{"id":"427bc0c6-d141-4e97-a624-ef8c1d07fbce","name":"Invalid or Missing Data","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"awbs\": [\"134232541121\",\"123456712345\"]\n}"},"url":"{{url}}/v1/external/courier/track/awbs"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n\t\n}"},{"id":"a7622b39-11f7-4e71-8254-27882ce250ef","name":"Successful Call","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"awbs\": [\"788830567028\",\"788829354408\"]\n}"},"url":"{{url}}/v1/external/courier/track/awbs"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Fri, 02 Aug 2019 09:20:26 GMT"},{"key":"ETag","value":"W/\"06c2f595b844df37d92d409fdaf87f8bcd2c068b\""},{"key":"Server","value":"nginx"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-RateLimit-Limit","value":"180"},{"key":"X-RateLimit-Remaining","value":"178"},{"key":"Content-Length","value":"436"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"788829354408\": {\n        \"tracking_data\": {\n            \"track_status\": 1,\n            \"shipment_status\": 1,\n            \"shipment_track\": [\n                {\n                    \"id\": 8067757,\n                    \"awb_code\": \"788829354408\",\n                    \"courier_company_id\": 2,\n                    \"shipment_id\": null,\n                    \"order_id\": 16240551,\n                    \"pickup_date\": null,\n                    \"delivered_date\": null,\n                    \"weight\": \"2.5\",\n                    \"packages\": 1,\n                    \"current_status\": \"AWB Assigned\",\n                    \"delivered_to\": \"New Delhi\",\n                    \"destination\": \"New Delhi\",\n                    \"consignee_name\": \"Naruto\",\n                    \"origin\": \"Jammu\",\n                    \"courier_agent_details\": null\n                }\n            ],\n            \"shipment_track_activities\": [\n                {\n                    \"date\": \"2019-08-01 02:05:05\",\n                    \"activity\": \"Shipment information sent to FedEx - OC\",\n                    \"location\": \"NA\"\n                }\n            ],\n            \"track_url\": \"https://app.shiprocket.in/tracking/awb/788829354408\"\n        }\n    },\n    \"788830567028\": {\n        \"tracking_data\": {\n            \"track_status\": 1,\n            \"shipment_status\": 3,\n            \"shipment_track\": [\n                {\n                    \"id\": 8087109,\n                    \"awb_code\": \"788830567028\",\n                    \"courier_company_id\": 2,\n                    \"shipment_id\": null,\n                    \"order_id\": 16255275,\n                    \"pickup_date\": null,\n                    \"delivered_date\": null,\n                    \"weight\": \"2.5\",\n                    \"packages\": 1,\n                    \"current_status\": \"Pickup Generated\",\n                    \"delivered_to\": \"New Delhi\",\n                    \"destination\": \"New Delhi\",\n                    \"consignee_name\": \"Naruto\",\n                    \"origin\": \"Jammu\",\n                    \"courier_agent_details\": null\n                }\n            ],\n            \"shipment_track_activities\": [\n                {\n                    \"date\": \"2019-08-01 05:20:55\",\n                    \"activity\": \"Shipment information sent to FedEx - OC\",\n                    \"location\": \"NA\"\n                }\n            ],\n            \"track_url\": \"https://app.shiprocket.in/tracking/awb/788830567028\"\n        }\n    }\n}"}],"_postman_id":"a401c6b8-d839-40fa-8c8e-3daba1910f4a"},{"name":"Get Tracking through Shipment ID","id":"a887e709-e1ca-4b9d-8e2c-cfba8d1a4547","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"url":"https://apiv2.shiprocket.in/v1/external/courier/track/shipment/{shipment_id}","description":"<p>Get the tracking details of your shipment by entering the shipment_id of the same in the endpoint URL.\nNo other body parameters are required to access this API.</p>\n<p>The response is displayed in a JSON format.</p>\n<h4 id=\"path\">Path:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>EXAMPLE</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><a href=\"https://apiv2.shiprocket.in/v1/external/courier/track/shipment/16104408\">https://apiv2.shiprocket.in/v1/external/courier/track/shipment/16104408</a></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["v1","external","courier","track","shipment","{shipment_id}"],"host":["apiv2","shiprocket","in"],"query":[],"variable":[]}},"response":[{"id":"09da1a16-f9bd-4ad6-bf05-7431398bf8fb","name":"Missing Fields","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"url":"{{url}}/v1/external/courier/track/shipment/"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"404 Not Found\",\n    \"status_code\": 404\n}"},{"id":"99177301-b3d3-4111-beb4-0685fdd79c8a","name":"Invalid Data","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"url":"{{url}}/v1/external/courier/track/shipment/00000000"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"tracking_data\": {\n        \"track_status\": 0,\n        \"error\": \"Aahh! There is no activities found in our DB. Please have some patience it will be updated soon.\"\n    }\n}"},{"id":"d1199e17-01d0-4f4c-bb23-94aaee6852be","name":"Successful Call","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"url":"https://apiv2.shiprocket.in/v1/external/courier/track/shipment/16104408"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Fri, 02 Aug 2019 08:42:49 GMT"},{"key":"ETag","value":"W/\"1f550c194e2b42cce3eb7c341faf7aee82349b45\""},{"key":"Server","value":"nginx"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-RateLimit-Limit","value":"180"},{"key":"X-RateLimit-Remaining","value":"178"},{"key":"Content-Length","value":"369"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"tracking_data\": {\n        \"track_status\": 1,\n        \"shipment_status\": 3,\n        \"shipment_track\": [\n            {\n                \"id\": 8087109,\n                \"awb_code\": \"788830567028\",\n                \"courier_company_id\": 2,\n                \"shipment_id\": null,\n                \"order_id\": 16255275,\n                \"pickup_date\": null,\n                \"delivered_date\": null,\n                \"weight\": \"2.5\",\n                \"packages\": 1,\n                \"current_status\": \"Pickup Generated\",\n                \"delivered_to\": \"New Delhi\",\n                \"destination\": \"New Delhi\",\n                \"consignee_name\": \"Naruto\",\n                \"origin\": \"Jammu\",\n                \"courier_agent_details\": null\n            }\n        ],\n        \"shipment_track_activities\": [\n            {\n                \"date\": \"2019-08-01 05:20:55\",\n                \"activity\": \"Shipment information sent to FedEx - OC\",\n                \"location\": \"NA\"\n            }\n        ],\n        \"track_url\": \"https://app.shiprocket.in/tracking/awb/788830567028\"\n    }\n}"}],"_postman_id":"a887e709-e1ca-4b9d-8e2c-cfba8d1a4547"},{"name":"Get Tracking Data through Order iD","id":"2671a45b-e916-4313-a31b-33ab2fadecf4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","type":"text","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjIxMTMwOCwiaXNzIjoiaHR0cHM6Ly9hcGl2Mi5zaGlwcm9ja2V0LmluL3YxL2V4dGVybmFsL2F1dGgvbG9naW4iLCJpYXQiOjE1ODEzMTU1OTMsImV4cCI6MTU4MjE3OTU5MywibmJmIjoxNTgxMzE1NTkzLCJqdGkiOiI1Y0QyazdvR0Npa0lkNUQ3In0.VXpxxypEg4oz1f2z6P3C9jDG0DgOLedvA4B3_O4n_Fc"}],"url":"https://apiv2.shiprocket.in/v1/external/courier/track?order_id=123&channel_id=12345","description":"<p>Get the tracking details of your shipment by entering the Order ID of the same in the endpoint URL itself.\nIf you have same order ID in more than 1 channel, then use the param channel_id.</p>\n<p>The response is displayed in a JSON format.</p>\n<h4 id=\"parameters\">Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>PARAMS</strong></th>\n<th><strong>REQUIRED</strong></th>\n<th><strong>DATA TYPE</strong></th>\n<th><strong>DESCRIPTION</strong></th>\n<th><strong>EXAMPLE</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>order_id</code></td>\n<td>YES</td>\n<td><em>string</em></td>\n<td>The order ID/number of your store.</td>\n<td>NO-123</td>\n</tr>\n<tr>\n<td><code>channel_id</code></td>\n<td>NO</td>\n<td><em>integer</em></td>\n<td>Channel ID corresponding to the store</td>\n<td>12345</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"path\">Path:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>EXAMPLE</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><a href=\"https://apiv2.shiprocket.in/v1/external/courier/track?order_id=123&amp;channel_id=12345\">https://apiv2.shiprocket.in/v1/external/courier/track?order_id=123&amp;channel_id=12345</a></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["v1","external","courier","track"],"host":["apiv2","shiprocket","in"],"query":[{"key":"order_id","value":"123"},{"key":"channel_id","value":"12345"}],"variable":[]}},"response":[{"id":"ecbd8353-e9d6-490a-80e1-db9a09b4c61d","name":"Get Tracking Data through Order iD","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{url}}/v1/external/courier/track?order_id=123&channel_id=12345","host":["{{url}}"],"path":["v1","external","courier","track"],"query":[{"key":"order_id","value":"123"},{"key":"channel_id","value":"12345"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"tracking_data\": {\n            \"track_status\": 1,\n            \"shipment_status\": 7,\n            \"shipment_track\": [\n                {\n                    \"id\": 123,\n                    \"awb_code\": \"13194181abcs\",\n                    \"courier_company_id\": 33,\n                    \"shipment_id\": null,\n                    \"order_id\": 2344,\n                    \"pickup_date\": \"2019-01-07 17:55:00\",\n                    \"delivered_date\": \"2019-04-09 17:41:30\",\n                    \"weight\": \"0.50\",\n                    \"packages\": 1,\n                    \"current_status\": \"Delivered\",\n                    \"delivered_to\": \"Delhi\",\n                    \"destination\": \"Delhi\",\n                    \"consignee_name\": \"Reema\",\n                    \"origin\": \"Meerut\",\n                    \"courier_agent_details\": null\n                }\n            ],\n            \"shipment_track_activities\": [\n                {\n                    \"date\": \"2019-01-13 17:07:00\",\n                    \"activity\": \"Pickup Not Done\",\n                    \"location\": \"Meerut, Meerut, UTTAR PRADESH\"\n                },\n                {\n                    \"date\": \"2019-01-13 16:58:00\",\n                    \"activity\": \"Out For Pickup\",\n                    \"location\": \"Meerut, Meerut, UTTAR PRADESH\"\n                },\n                {\n                    \"date\": \"2019-01-12 16:40:00\",\n                    \"activity\": \"Pickup Not Done\",\n                    \"location\": \"Meerut, Meerut, UTTAR PRADESH\"\n                },\n                {\n                    \"date\": \"2019-01-12 14:39:00\",\n                    \"activity\": \"Out For Pickup\",\n                    \"location\": \"Meerut, Meerut, UTTAR PRADESH\"\n                },\n                {\n                    \"date\": \"2019-01-12 13:24:00\",\n                    \"activity\": \"Pickup Not Done\",\n                    \"location\": \"Meerut, Meerut, UTTAR PRADESH\"\n                },\n                {\n                    \"date\": \"2019-01-11 14:36:00\",\n                    \"activity\": \"Out For Pickup\",\n                    \"location\": \"Meerut, Meerut, UTTAR PRADESH\"\n                },\n                {\n                    \"date\": \"2019-01-10 14:53:00\",\n                    \"activity\": \"Pickup Not Done\",\n                    \"location\": \"Meerut, Meerut, UTTAR PRADESH\"\n                },\n                {\n                    \"date\": \"2019-01-10 14:45:00\",\n                    \"activity\": \"Out For Pickup\",\n                    \"location\": \"Meerut, Meerut, UTTAR PRADESH\"\n                },\n                {\n                    \"date\": \"2019-01-10 13:00:00\",\n                    \"activity\": \"Pickup Not Done\",\n                    \"location\": \"Meerut, Meerut, UTTAR PRADESH\"\n                },\n                {\n                    \"date\": \"2019-01-10 12:06:00\",\n                    \"activity\": \"Out For Pickup\",\n                    \"location\": \"Meerut, Meerut, UTTAR PRADESH\"\n                },\n                {\n                    \"date\": \"2019-01-09 15:29:00\",\n                    \"activity\": \"Pickup Not Done\",\n                    \"location\": \"Meerut, Meerut, UTTAR PRADESH\"\n                },\n                {\n                    \"date\": \"2019-01-09 15:14:00\",\n                    \"activity\": \"Out For Pickup\",\n                    \"location\": \"Meerut, Meerut, UTTAR PRADESH\"\n                },\n                {\n                    \"date\": \"2019-01-09 15:13:00\",\n                    \"activity\": \"Pickup Not Done\",\n                    \"location\": \"Meerut, Meerut, UTTAR PRADESH\"\n                },\n                {\n                    \"date\": \"2019-01-09 15:09:00\",\n                    \"activity\": \"Out For Pickup\",\n                    \"location\": \"Meerut, Meerut, UTTAR PRADESH\"\n                },\n                {\n                    \"date\": \"2019-01-09 13:37:00\",\n                    \"activity\": \"Pickup Not Done\",\n                    \"location\": \"Meerut, Meerut, UTTAR PRADESH\"\n                },\n                {\n                    \"date\": \"2019-01-09 12:14:00\",\n                    \"activity\": \"Out For Pickup\",\n                    \"location\": \"Meerut, Meerut, UTTAR PRADESH\"\n                },\n                {\n                    \"date\": \"2019-01-08 14:43:00\",\n                    \"activity\": \"Out For Pickup\",\n                    \"location\": \"Meerut, Meerut, UTTAR PRADESH\"\n                },\n                {\n                    \"date\": \"2019-01-08 13:18:00\",\n                    \"activity\": \"Pickup Not Done\",\n                    \"location\": \"Meerut, Meerut, UTTAR PRADESH\"\n                },\n                {\n                    \"date\": \"2019-01-08 12:08:00\",\n                    \"activity\": \"Out For Pickup\",\n                    \"location\": \"Meerut, Meerut, UTTAR PRADESH\"\n                },\n                {\n                    \"date\": \"2019-01-07 17:55:00\",\n                    \"activity\": \"Data Received\",\n                    \"location\": \"Meerut, Meerut, UTTAR PRADESH\"\n                }\n            ],\n            \"track_url\": \"https://app.shiprocket.in/tracking/awb/13194181abcs\"\n        }\n    }\n]"}],"_postman_id":"2671a45b-e916-4313-a31b-33ab2fadecf4"}],"id":"93a453e6-99dd-44b7-87a1-31a35331d464","description":"<p>Use these API's to get the tracking details of your shipments through the AWB code or the Shipment ID.</p>\n<h4 id=\"shipment-status-codes\">Shipment Status Codes:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Staus Code</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Awb Assigned</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Label Generated</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Pickup Scheduled/Generated</td>\n</tr>\n<tr>\n<td>4</td>\n<td>Pickup Queued</td>\n</tr>\n<tr>\n<td>5</td>\n<td>Manifest Generated</td>\n</tr>\n<tr>\n<td>6</td>\n<td>Shipped</td>\n</tr>\n<tr>\n<td>7</td>\n<td>Delivered</td>\n</tr>\n<tr>\n<td>8</td>\n<td>Cancelled</td>\n</tr>\n<tr>\n<td>9</td>\n<td>RTO Initiated</td>\n</tr>\n<tr>\n<td>10</td>\n<td>RTO Delivered</td>\n</tr>\n<tr>\n<td>11</td>\n<td>Pending</td>\n</tr>\n<tr>\n<td>12</td>\n<td>Lost</td>\n</tr>\n<tr>\n<td>13</td>\n<td>Pickup Error</td>\n</tr>\n<tr>\n<td>14</td>\n<td>RTO Acknowledged</td>\n</tr>\n<tr>\n<td>15</td>\n<td>Pickup Rescheduled</td>\n</tr>\n<tr>\n<td>16</td>\n<td>Cancellation Requested</td>\n</tr>\n<tr>\n<td>17</td>\n<td>Out For Delivery</td>\n</tr>\n<tr>\n<td>18</td>\n<td>In Transit</td>\n</tr>\n<tr>\n<td>19</td>\n<td>Out For Pickup</td>\n</tr>\n<tr>\n<td>20</td>\n<td>Pickup Exception</td>\n</tr>\n<tr>\n<td>21</td>\n<td>Undelivered</td>\n</tr>\n<tr>\n<td>22</td>\n<td>Delayed</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"93a453e6-99dd-44b7-87a1-31a35331d464"},{"name":"Pickup Addresses","item":[{"name":"Get All Pickup  Locations","id":"d83b4dd4-14a2-4e64-b824-fb51314aa3c6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://apiv2.shiprocket.in/v1/external/settings/company/pickup","description":"<p>Get a list of all pickup locations that have been added to your Shiprocket account through this API.</p>\n<p>No parameters are required to use this API.</p>\n","urlObject":{"protocol":"https","path":["v1","external","settings","company","pickup"],"host":["apiv2","shiprocket","in"],"query":[],"variable":[]}},"response":[{"id":"b309ea26-5763-43b2-8aae-c710cf2cff89","name":"Wrong Endpoint","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"url":"https://apiv2.shiprocket.in/v1/external/settings/company/picku"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Tue, 06 Aug 2019 09:59:28 GMT"},{"key":"Server","value":"nginx"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Length","value":"62"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"404 Not Found\",\n    \"status_code\": 404\n}"},{"id":"e68c63df-92f1-4913-84f1-ff3d86d5f39f","name":"Successful Call","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"url":"https://apiv2.shiprocket.in/v1/external/settings/company/pickup"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Fri, 02 Aug 2019 09:56:01 GMT"},{"key":"ETag","value":"W/\"cc6d67cf1428ac9d35933b9bad26061a34d6505c\""},{"key":"Server","value":"nginx"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-RateLimit-Limit","value":"180"},{"key":"X-RateLimit-Remaining","value":"179"},{"key":"Content-Length","value":"593"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"shipping_address\": [\n            {\n                \"id\": 109519,\n                \"pickup_location\": \"Test\",\n                \"address\": \"TEST Home\",\n                \"address_2\": \"\",\n                \"city\": \"Delhi\",\n                \"state\": \"Delhi\",\n                \"country\": \"India\",\n                \"pin_code\": \"100011\",\n                \"email\": \"test@jdn.com\",\n                \"phone\": \"9999999999\",\n                \"name\": \"ANyname\",\n                \"company_id\": 67776,\n                \"status\": 1,\n                \"phone_verified\": 0\n            }\n        ],\n        \"allow_more\": \"true\"\n    }\n}"}],"_postman_id":"d83b4dd4-14a2-4e64-b824-fb51314aa3c6"},{"name":"Add a New Pickup Location","id":"2d92e801-59af-4268-b9f6-de2139985385","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"pickup_location\": \"\",\n\t\"name\": \"\",\n\t\"email\": \"\",\n\t\"phone\": \"\",\n\t\"address\": \"\",\n\t\"address_2\": \"\",\n\t\"city\": \"\",\n\t\"state\":\"\",\n\t\"country\": \"\",\n\t\"pin_code\": \"\"\n\t\n}"},"url":"https://apiv2.shiprocket.in/v1/external/settings/company/addpickup","description":"<p>This API can be used to add a new pickup location to your account.\nPass the minimum required parameters to add the location.\nFurther details to the address can be added if required.</p>\n<h4 id=\"parameters\">Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>PARAMS</strong></th>\n<th><strong>REQUIRED</strong></th>\n<th><strong>DATA TYPE</strong></th>\n<th><strong>DESCRIPTION</strong></th>\n<th><strong>EXAMPLE</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>pickup_location</code></td>\n<td>YES</td>\n<td><em>string</em></td>\n<td>Nickname of the new pickup location. Max 8 characters.</td>\n<td>Home</td>\n</tr>\n<tr>\n<td><code>name</code></td>\n<td>YES</td>\n<td><em>string</em></td>\n<td>The shipper's name.</td>\n<td>Deadpool</td>\n</tr>\n<tr>\n<td><code>email</code></td>\n<td>YES</td>\n<td><em>string</em></td>\n<td>The shipper's email address.</td>\n<td><a href=\"mailto:deadpool@chimichanga.com\">deadpool@chimichanga.com</a></td>\n</tr>\n<tr>\n<td><code>phone</code></td>\n<td>YES</td>\n<td><em>integer</em></td>\n<td>Shipper's phone number.</td>\n<td>9777777779</td>\n</tr>\n<tr>\n<td><code>address</code></td>\n<td>YES</td>\n<td><em>string</em></td>\n<td>Shipper's primary address. Max 80 characters.</td>\n<td>Mutant Facility, Sector 3</td>\n</tr>\n<tr>\n<td><code>address_2</code></td>\n<td>NO</td>\n<td><em>string</em></td>\n<td>Additional address details.</td>\n<td>House number 34</td>\n</tr>\n<tr>\n<td><code>city</code></td>\n<td>YES</td>\n<td><em>string</em></td>\n<td>Pickup location city name.</td>\n<td>Pune</td>\n</tr>\n<tr>\n<td><code>state</code></td>\n<td>YES</td>\n<td><em>string</em></td>\n<td>Pickup location state name.</td>\n<td>Maharashtra</td>\n</tr>\n<tr>\n<td><code>country</code></td>\n<td>YES</td>\n<td><em>string</em></td>\n<td>Pickup location country.</td>\n<td>India</td>\n</tr>\n<tr>\n<td><code>pin_code</code></td>\n<td>YES</td>\n<td><em>integer</em></td>\n<td>Pickup location pincode.</td>\n<td>110022</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["v1","external","settings","company","addpickup"],"host":["apiv2","shiprocket","in"],"query":[],"variable":[]}},"response":[{"id":"b0391a61-76b3-4d5a-943a-15b45b21231a","name":"Missing Fields","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"pickup_location\": \"Home\",\n\t\"name\": \"Deadpool\",\n\t\"email\": \"deadpool@chimichanga.com\",\n\t\"phone\": \"\",\n\t\"address\": \"Mutant Facility, Sector 3 \",\n\t\"address_2\": \"\",\n\t\"city\": \"Pune\",\n\t\"state\":\"Maharshtra\",\n\t\"country\": \"India\",\n\t\"pin_code\": \"110022\"\n\t\n}"},"url":"{{url}}/v1/external/settings/company/addpickup"},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Not a valid mobile number\",\n    \"errors\": {\n        \"phone\": [\n            \"The phone field is required.\"\n        ]\n    },\n    \"status_code\": 422\n}"},{"id":"da152f34-b226-4e35-bacd-f8c296d6c6e2","name":"Successful Call","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"pickup_location\": \"Home\",\n\t\"name\": \"Deadpool\",\n\t\"email\": \"deadpool@chimichanga.com\",\n\t\"phone\": \"9777777779\",\n\t\"address\": \"Mutant Facility, Sector 3 \",\n\t\"address_2\": \"\",\n\t\"city\": \"Pune\",\n\t\"state\":\"Maharshtra\",\n\t\"country\": \"India\",\n\t\"pin_code\": \"110022\"\n\t\n}"},"url":"{{url}}/v1/external/settings/company/addpickup"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Fri, 02 Aug 2019 10:31:02 GMT"},{"key":"ETag","value":"W/\"a15e2127145548437173fc17f3e980e3f3dee2d0\""},{"key":"Server","value":"nginx"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-RateLimit-Limit","value":"180"},{"key":"X-RateLimit-Remaining","value":"179"},{"key":"Content-Length","value":"36"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true\n}"}],"_postman_id":"2d92e801-59af-4268-b9f6-de2139985385"}],"id":"2a74e421-db91-43f1-a4c2-35e4cc08d1dd","description":"<p>Use these API's to get a list of all available pickup locations in your account or add a new pickup location.</p>\n","_postman_id":"2a74e421-db91-43f1-a4c2-35e4cc08d1dd"},{"name":"Products","item":[{"name":"Get All Products","id":"39f286fe-d8bd-4d4a-8d7c-6af9d00b46f1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"url":"https://apiv2.shiprocket.in/v1/external/products","description":"<p>This API can be used to display a detailed list of all the products that you have in your Shiprocket account.</p>\n<p>There are no required parameters to access this API, however the displayed result can be filtered or sorted using further parameters.</p>\n<h4 id=\"parameters\">Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>PARAMS</strong></th>\n<th><strong>REQUIRED</strong></th>\n<th><strong>DATA TYPE</strong></th>\n<th><strong>DESCRIPTION</strong></th>\n<th><strong>EXAMPLE</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>page</code></td>\n<td>NO</td>\n<td><em>integer</em></td>\n<td>The page number you want to display.</td>\n<td>5</td>\n</tr>\n<tr>\n<td><code>per_page</code></td>\n<td>NO</td>\n<td><em>integer</em></td>\n<td>The number of products to get per page.</td>\n<td>2</td>\n</tr>\n<tr>\n<td><code>sort</code></td>\n<td>NO</td>\n<td><em>string</em></td>\n<td>The order to sort by. Value: <em>ASC</em> or <em>DESC</em></td>\n<td>ASC</td>\n</tr>\n<tr>\n<td><code> sort_by</code></td>\n<td>NO</td>\n<td><em>string</em></td>\n<td>Allows you to choose the value field by which the items will be sorted.  Could be sorted by id, by sku, time created etc.</td>\n<td>sku</td>\n</tr>\n<tr>\n<td><code>filter</code></td>\n<td>NO</td>\n<td><em>string</em></td>\n<td>The data to be matched for the filter value.</td>\n<td>11223344</td>\n</tr>\n<tr>\n<td><code>filter_by</code></td>\n<td>NO</td>\n<td><em>string</em></td>\n<td>The filter value field . Can be id, sku, etc.</td>\n<td>id</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["v1","external","products"],"host":["apiv2","shiprocket","in"],"query":[],"variable":[]}},"response":[{"id":"69699456-2036-45f2-9bef-96bc7f390f7b","name":"Invalid Data","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"url":"{{url}}/v1/external/products"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Sun, 04 Aug 2019 16:58:27 GMT"},{"key":"ETag","value":"W/\"35491e465152c355950bcef9ae817dc5cac41e3f\""},{"key":"Server","value":"nginx"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-RateLimit-Limit","value":"180"},{"key":"X-RateLimit-Remaining","value":"177"},{"key":"Content-Length","value":"157"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [],\n    \"meta\": {\n        \"pagination\": {\n            \"total\": 0,\n            \"count\": 0,\n            \"per_page\": 15,\n            \"current_page\": 3,\n            \"total_pages\": 1,\n            \"links\": {\n                \"previous\": \"https://apiv2.shiprocket.in/v1/external/products?page=2\"\n            }\n        }\n    }\n}"},{"id":"78d4a7bc-cff6-4407-8766-711b3dbfde77","name":"Successful Call","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"url":"{{url}}/v1/external/products"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Sun, 04 Aug 2019 16:52:30 GMT"},{"key":"ETag","value":"W/\"cf6aad28c6cb3b6b8f55a9f9e7cabdf2ee502b8f\""},{"key":"Server","value":"nginx"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-RateLimit-Limit","value":"180"},{"key":"X-RateLimit-Remaining","value":"179"},{"key":"Content-Length","value":"1228"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 17484610,\n            \"sku\": \"chakra123\",\n            \"hsn\": \"441122\",\n            \"name\": \"Kunai\",\n            \"description\": \"\",\n            \"category_code\": \"default\",\n            \"category_name\": \"Default Category\",\n            \"category_tax_code\": \"\",\n            \"image\": \"\",\n            \"weight\": \"0 kg\",\n            \"size\": \"\",\n            \"cost_price\": \"0.00\",\n            \"mrp\": \"0.00\",\n            \"tax_code\": \"default\",\n            \"low_stock\": 0,\n            \"ean\": \"\",\n            \"upc\": \"\",\n            \"isbn\": \"\",\n            \"created_at\": \"31 Jul 2019 12:37 PM\",\n            \"updated_at\": \"31 Jul 2019 03:18 PM\",\n            \"quantity\": 41,\n            \"color\": \"\",\n            \"brand\": \"\",\n            \"dimensions\": \"10 x 10 x 10 cm\",\n            \"status\": \"INACTIVE\",\n            \"type\": \"Single\"\n        },\n        {\n            \"id\": 9741478,\n            \"sku\": \"LNO7K1670\",\n            \"hsn\": \"\",\n            \"name\": \"hehehprod\",\n            \"description\": \"\",\n            \"category_code\": \"default\",\n            \"category_name\": \"Default Category\",\n            \"category_tax_code\": \"\",\n            \"image\": \"\",\n            \"weight\": \"0.5 kg\",\n            \"size\": \"\",\n            \"cost_price\": \"0.00\",\n            \"mrp\": \"0.00\",\n            \"tax_code\": \"default\",\n            \"low_stock\": 0,\n            \"ean\": \"\",\n            \"upc\": \"\",\n            \"isbn\": \"\",\n            \"created_at\": \"22 Apr 2019 12:48 PM\",\n            \"updated_at\": \"22 Apr 2019 12:48 PM\",\n            \"quantity\": 0,\n            \"color\": \"\",\n            \"brand\": \"\",\n            \"dimensions\": \"10 x 10 x 10 cm\",\n            \"status\": \"INACTIVE\",\n            \"type\": \"Single\"\n        }\n    ],\n    \"meta\": {\n        \"pagination\": {\n            \"total\": 12080,\n            \"count\": 15,\n            \"per_page\": 15,\n            \"current_page\": 1,\n            \"total_pages\": 806,\n            \"links\": {\n                \"next\": \"https://apiv2.shiprocket.in/v1/external/products?page=2\"\n            }\n        }\n    }\n}"}],"_postman_id":"39f286fe-d8bd-4d4a-8d7c-6af9d00b46f1"},{"name":"Get Specific Product Details","id":"e60ebb7f-0c68-4cbd-9724-9369f742e050","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"url":"https://apiv2.shiprocket.in/v1/external/products/show/{product_id}","description":"<p>Use this API to get the details of a specific product. The product details will be displayed in the JSON format.</p>\n<p>You need to pass the product id in the endpoint URL for the successful call of the API. No other body parameters are required.</p>\n<h4 id=\"path\">Path:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>EXAMPLE</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><a href=\"https://apiv2.shiprocket.in/v1/external/products/show/17484610\">https://apiv2.shiprocket.in/v1/external/products/show/17484610</a></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["v1","external","products","show","{product_id}"],"host":["apiv2","shiprocket","in"],"query":[],"variable":[]}},"response":[{"id":"513c7b27-9380-431e-a0ef-8cf9476bc807","name":"Successful Call","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"url":"{{url}}/v1/external/products/show/17484610"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Sun, 04 Aug 2019 17:56:38 GMT"},{"key":"ETag","value":"W/\"ded31dadb55bbe2c3b78a212f3b4cd2648919ae2\""},{"key":"Server","value":"nginx"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-RateLimit-Limit","value":"180"},{"key":"X-RateLimit-Remaining","value":"176"},{"key":"Content-Length","value":"268"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 17484610,\n        \"sku\": \"chakra123\",\n        \"name\": \"Kunai\",\n        \"description\": \"\",\n        \"category_code\": \"\",\n        \"category_name\": \"\",\n        \"category_tax_code\": \"\",\n        \"image\": \"\",\n        \"weight\": \"0.000\",\n        \"size\": \"\",\n        \"cost_price\": \"0.00\",\n        \"mrp\": \"0.00\",\n        \"tax_code\": \"\",\n        \"low_stock\": 0,\n        \"ean\": \"\",\n        \"upc\": \"\",\n        \"isbn\": \"\",\n        \"created_at\": \"31 Jul 2019 12:37 PM\",\n        \"updated_at\": \"31 Jul 2019 03:18 PM\",\n        \"quantity\": 41,\n        \"color\": \"\",\n        \"brand\": \"\",\n        \"dimensions\": \"0.00 x 0.00 x 0.00\",\n        \"status\": \"INACTIVE\",\n        \"is_combo\": 0\n    }\n}"},{"id":"fe23ebc3-4d92-4318-be51-3cfdf5f2263d","name":"Missing Fields","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"url":"{{url}}/v1/external/products/show/"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Sun, 04 Aug 2019 17:57:40 GMT"},{"key":"Server","value":"nginx"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Length","value":"62"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"404 Not Found\",\n    \"status_code\": 404\n}"},{"id":"fe86dc6a-70f1-4500-bdcd-fa3550d0a288","name":"Invalid Data","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"url":"{{url}}/v1/external/products/show/11111111"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Sun, 04 Aug 2019 17:57:22 GMT"},{"key":"Server","value":"nginx"},{"key":"Content-Length","value":"81"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"This product is either inactive or does not exist\",\n    \"status_code\": 400\n}"}],"_postman_id":"e60ebb7f-0c68-4cbd-9724-9369f742e050"},{"name":"Add New Products","id":"94f0b11c-03d8-42ed-bccf-feaf6854b8c9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"spacex\",\n\t\"category_code\": \"default\",\n\t\"type\": \"Single\",\n\t\"qty\": \"100\",\n\t\"sku\": \"spacex1\"\n}"},"url":"https://apiv2.shiprocket.in/v1/external/products","description":"<p>Use this API to add a new product to your Shiprocket account.\nProvide the required product details along with any additional info in order to successfully add a new product to your product list.</p>\n<p><strong>Notes:</strong></p>\n<ul>\n<li>'sku' Id has to be unique. It cannot be the same as an existing sku.</li>\n<li>In case no category code is added, the code should be default.</li>\n<li>'type' field should be either 'single' or 'multiple.'</li>\n</ul>\n<h4 id=\"parameters\">Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>PARAMS</strong></th>\n<th><strong>REQUIRED</strong></th>\n<th><strong>DATA TYPE</strong></th>\n<th><strong>DESCRIPTION</strong></th>\n<th><strong>EXAMPLE</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>sku</code></td>\n<td>YES</td>\n<td><em>string</em></td>\n<td>Stock Keeping Unit or the identification unit of an individual product (generally alphanumeric).</td>\n<td>bat123</td>\n</tr>\n<tr>\n<td><code>HSN</code></td>\n<td>NO</td>\n<td><em>string</em></td>\n<td>Harmonised System Nomenclature. A code number used to classify goods for taxation  purposes. Done to determine which category of taxes do the goods come  under.</td>\n<td>4412</td>\n</tr>\n<tr>\n<td><code>name</code></td>\n<td>YES</td>\n<td><em>string</em></td>\n<td>Name of the product.</td>\n<td>Batman Toy</td>\n</tr>\n<tr>\n<td><code>tax_code</code></td>\n<td>NO</td>\n<td><em>string</em></td>\n<td>The percentage of tax which is to be imposed.</td>\n<td>10</td>\n</tr>\n<tr>\n<td><code>type</code></td>\n<td>YES</td>\n<td><em>string</em></td>\n<td>If there is only one product or multiple types of products. <strong>Single</strong> or <strong>Multiple</strong></td>\n<td>Single.</td>\n</tr>\n<tr>\n<td><code>qty</code></td>\n<td>YES</td>\n<td><em>integer</em></td>\n<td>Total Quantity of the products to be shipped.</td>\n<td>5</td>\n</tr>\n<tr>\n<td><code>low_stock</code></td>\n<td>NO</td>\n<td><em>string</em></td>\n<td>Specifies when the low stock notification should come on</td>\n<td>/</td>\n</tr>\n<tr>\n<td><code>category_code</code></td>\n<td>YES</td>\n<td><em>string</em></td>\n<td>You can add a category code to your ShipRocket account from “add category”</td>\n<td>default</td>\n</tr>\n<tr>\n<td><code>description</code></td>\n<td>NO</td>\n<td><em>string</em></td>\n<td>Gives a description of the product.</td>\n<td>Batman plastic toy.</td>\n</tr>\n<tr>\n<td><code>brand</code></td>\n<td>NO</td>\n<td><em>string</em></td>\n<td>The product brand name.</td>\n<td>Bat</td>\n</tr>\n<tr>\n<td><code>size</code></td>\n<td>NO</td>\n<td><em>integer</em></td>\n<td>The size of the product.</td>\n<td>25</td>\n</tr>\n<tr>\n<td><code>weight</code></td>\n<td>NO</td>\n<td><em>integer</em></td>\n<td>The weight of the product in kgs.</td>\n<td>0.5</td>\n</tr>\n<tr>\n<td><code>length</code></td>\n<td>NO</td>\n<td><em>integer</em></td>\n<td>The length of the product in cms.</td>\n<td>10</td>\n</tr>\n<tr>\n<td><code>width</code></td>\n<td>NO</td>\n<td><em>integer</em></td>\n<td>The width of the product in cms.</td>\n<td>5</td>\n</tr>\n<tr>\n<td><code>height</code></td>\n<td>NO</td>\n<td><em>integer</em></td>\n<td>The height of the product in cms.</td>\n<td>15</td>\n</tr>\n<tr>\n<td><code>ean</code></td>\n<td>NO</td>\n<td><em>string</em></td>\n<td>European Article Number - A barcode for product identification (which helps  manufacturers identify how many products have been sold once a sale is  made) It is 13 digits long and required for international selling.</td>\n<td>/</td>\n</tr>\n<tr>\n<td><code>upc</code></td>\n<td>NO</td>\n<td><em>string</em></td>\n<td>Universal Product Code – Barcode for product identification which is used across the world.   It is 12 digits long.</td>\n<td>/</td>\n</tr>\n<tr>\n<td><code>isbn</code></td>\n<td>NO</td>\n<td><em>string</em></td>\n<td>International Standard Book Number – Identification barcode for books, magazines,  e-books and other published media. It is 10 digits long.</td>\n<td>/</td>\n</tr>\n<tr>\n<td><code>color</code></td>\n<td>NO</td>\n<td><em>string</em></td>\n<td>The colour of the product.</td>\n<td>Black</td>\n</tr>\n<tr>\n<td><code>imei_serialnumber</code></td>\n<td>NO</td>\n<td><em>string</em></td>\n<td>The International Mobile Equipment Identity Number, which is used by  a  network to identify valid devices. Eg if two iphones have to be shipped  they will have 2 Imei’s</td>\n<td>/</td>\n</tr>\n<tr>\n<td><code>cost_price</code></td>\n<td>NO</td>\n<td><em>integer</em></td>\n<td>The manufacture cost price of the product.</td>\n<td>500</td>\n</tr>\n<tr>\n<td><code>mrp</code></td>\n<td>NO</td>\n<td><em>string</em></td>\n<td>Maximum Retail Price. How much is the maximum price which the product can be sold at.</td>\n<td>1000</td>\n</tr>\n<tr>\n<td><code>status</code></td>\n<td>NO</td>\n<td><em>boolean</em></td>\n<td>In Boolean, if the product details have been successfully or unsuccessfully added.</td>\n<td>1</td>\n</tr>\n<tr>\n<td><code>image_url</code></td>\n<td>NO</td>\n<td><em>string</em></td>\n<td>Shows the url of the product images which have been uploaded.</td>\n<td>/</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["v1","external","products"],"host":["apiv2","shiprocket","in"],"query":[],"variable":[]}},"response":[{"id":"04d7be21-9ce9-4e8c-a476-e03abd35ea4f","name":"Successful Call","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Batman\",\n\t\"category_code\": \"default\",\n\t\"type\": \"Single\",\n\t\"qty\": \"10\",\n\t\"sku\": \"bat1234\"\n}"},"url":"{{url}}/v1/external/products"},"status":"Created","code":201,"_postman_previewlanguage":"html","header":[{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"Content-Type","value":"text/html; charset=UTF-8"},{"key":"Date","value":"Sun, 04 Aug 2019 18:12:27 GMT"},{"key":"ETag","value":"\"da39a3ee5e6b4b0d3255bfef95601890afd80709\""},{"key":"Server","value":"nginx"},{"key":"X-RateLimit-Limit","value":"180"},{"key":"X-RateLimit-Remaining","value":"179"},{"key":"Content-Length","value":"0"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":""},{"id":"887fa251-55e3-482d-bf7d-2c6a7edca8f4","name":"Missing Fields","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Batman\",\n\t\"category_code\": \"default\",\n\t\"type\": \"Single\",\n\t\"qty\": \"10\"\n\n}"},"url":"{{url}}/v1/external/products"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Sun, 04 Aug 2019 18:12:55 GMT"},{"key":"Server","value":"nginx"},{"key":"Content-Length","value":"120"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"There were errors in adding new product!\",\n    \"errors\": {\n        \"sku\": [\n            \"The sku field is required.\"\n        ]\n    },\n    \"status_code\": 422\n}"}],"_postman_id":"94f0b11c-03d8-42ed-bccf-feaf6854b8c9"},{"name":"Bulk Import Products","id":"91359ad5-b20a-403b-8021-ba3230731ffa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"file","value":"","type":"file"}]},"url":"https://apiv2.shiprocket.in/v1/external/products/import","description":"<p>Use this API to import your products in bulk from a .csv file.\nNo body parameters are required. Choose the target file as required. You will recieve an import id upon successful import operation.</p>\n","urlObject":{"protocol":"https","path":["v1","external","products","import"],"host":["apiv2","shiprocket","in"],"query":[],"variable":[]}},"response":[{"id":"06b9ffb6-c7ba-4f59-b6d0-32d9a8b5d0d2","name":"Successful Call","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","src":[]}]},"url":"{{url}}/v1/external/products/import"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Mon, 05 Aug 2019 06:51:22 GMT"},{"key":"ETag","value":"W/\"e5bb9107f7e2da59db6a2c07a2737039a52819e5\""},{"key":"Server","value":"nginx"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-RateLimit-Limit","value":"180"},{"key":"X-RateLimit-Remaining","value":"179"},{"key":"Content-Length","value":"35"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 20290943\n}"},{"id":"811c3976-6083-473e-afbe-f0da2653266a","name":"Missing Fields","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","src":[]}]},"url":"{{url}}/v1/external/products/import"},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Oops! Something went wrong.\",\n    \"errors\": {\n        \"file\": [\n            \"The file field is required.\"\n        ]\n    },\n    \"status_code\": 422\n}"}],"_postman_id":"91359ad5-b20a-403b-8021-ba3230731ffa"},{"name":"Get Sample .csv Format","id":"51580cb3-bb2c-48bc-8dfd-3a278d5e3334","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"url":"https://apiv2.shiprocket.in/v1/external/products/sample","description":"<p>This API will provide a sample format for a csv file that can be used for importing orders. You can use this format to create your csv file which you want to use to import products into your Shiprocket account.</p>\n<p>No body parameters are required.</p>\n","urlObject":{"protocol":"https","path":["v1","external","products","sample"],"host":["apiv2","shiprocket","in"],"query":[],"variable":[]}},"response":[{"id":"6163400e-b633-44a7-ab0b-d39730afaeb1","name":"Successful Call","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"url":"{{url}}/v1/external/products/sample"},"status":"OK","code":200,"_postman_previewlanguage":"raw","header":[{"key":"Cache-Control","value":"cache, must-revalidate"},{"key":"Content-Disposition","value":"attachment; filename=\"export-2019-08-051564989042.csv\""},{"key":"Content-Type","value":"application/csv; charset=UTF-8"},{"key":"Date","value":"Mon, 05 Aug 2019 07:10:42 GMT"},{"key":"Expires","value":"Mon, 26 Jul 1997 05:00:00 GMT"},{"key":"Last-Modified","value":"Mon, 05 Aug 2019 12:40:42"},{"key":"Pragma","value":"public"},{"key":"Server","value":"nginx"},{"key":"Content-Length","value":"1086"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"\"Category Name\",\"*Master Sku Code\",\"*Product Name\",\"Low Stock Warning At\",\"Description\",\"Length (cm)\",\"Width (cm)\",\"Height (cm)\",\"Weight (kgs)\",\"ean\",\"upc\",\"isbn\",\"Color\",\"Brand\",\"Size\",\"Tax Code\",\"Image Url\",\"Custom Detail Fields (IMEI/SerialNumber)\",\"MRP\",\"Cost Price\",\"Active(True/False)\",\"Type(Single)\",\"HSN code\"\r\n\"Below given is the sample data. Please delete the same and create/upload data as per you requirements. \",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"\r\n\"Default\",\"Tshirt-Blue-42\",\"Blue tshirt 42 size\",\"2\",\"blue polo tshirt with round collor large size\",\"50\",\"42\",\"\",\"500\",\"1235467891111\",\"\",\"\",\"blue\",\"nike\",\"42\",\"5\",\"http://www.onlinebachat.com/photos/MjAxNi0wMy0yMCAwNzowMzo1Nw==_tshirt%20yellow.jpg\",\"\",\"2500\",\"1500\",\"\",\"\",\"\"\r\n\"Electronics\",\"Iphone5s\",\"Iphone5s\",\"1\",\"iphone 5s with 1 year warranty...\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"Black\",\"Iphone\",\"\",\"\",\"\",\"IMEI\",\"20000\",\"\",\"\",\"\",\"\"\r\n\"Electronics\",\"Iphone6\",\"Iphone6\",\"1\",\"iphone 6 with 1 year manufacturer warranty..\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"Silver\",\"Iphone\",\"\",\"\",\"\",\"IMEI\",\"50000\",\"\",\"True\",\"\",\"\"\r\n"},{"id":"d9a7b234-e22e-4da0-a3e0-6bbb35200acc","name":"Wrong Endpoint","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"url":"{{url}}/v1/external/products/sampl"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Mon, 05 Aug 2019 07:14:33 GMT"},{"key":"Server","value":"nginx"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Length","value":"62"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"404 Not Found\",\n    \"status_code\": 404\n}"}],"_postman_id":"51580cb3-bb2c-48bc-8dfd-3a278d5e3334"}],"id":"3152f5cd-cb9d-471e-986f-62d1ef307011","description":"<p>Use these API's to get information on your added products or update their details. You can also add a new product or import them in bulk.</p>\n","_postman_id":"3152f5cd-cb9d-471e-986f-62d1ef307011"},{"name":"Listings","item":[{"name":"Get All  Listings","id":"54eeacbe-7e4f-4116-8486-bffe6b8dfec6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"url":"https://apiv2.shiprocket.in/v1/external/listings","description":"<p>Using this API, get a JSON representation of all the product listings in your Shiprocket account, i.e, all the products associated to a specific channel.</p>\n<p>No parameters are required to access this API. However the displayed data can be filtered and sorted using further parameters. If no sort parameter is used, the data is displayed in the default format.</p>\n<h4 id=\"parameters\">Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>PARAMS</strong></th>\n<th><strong>REQUIRED</strong></th>\n<th><strong>DATA TYPE</strong></th>\n<th><strong>DESCRIPTION</strong></th>\n<th><strong>EXAMPLE</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>page</code></td>\n<td>NO</td>\n<td><em>integer</em></td>\n<td>The page number you want to display.</td>\n<td>5</td>\n</tr>\n<tr>\n<td><code>per_page</code></td>\n<td>NO</td>\n<td><em>integer</em></td>\n<td>The number of listings to get per page.</td>\n<td>2</td>\n</tr>\n<tr>\n<td><code>sort</code></td>\n<td>NO</td>\n<td><em>string</em></td>\n<td>The order to sort by. <em>Value</em>: <strong>ASC</strong> or <strong>DESC</strong></td>\n<td>ASC</td>\n</tr>\n<tr>\n<td><code>sort_by</code></td>\n<td>NO</td>\n<td><em>string</em></td>\n<td>Allows you to choose the value field by which the listings will be sorted.  Could be sorted by id, by sku, time created etc.</td>\n<td>sku</td>\n</tr>\n<tr>\n<td><code>filter</code></td>\n<td>NO</td>\n<td><em>string</em></td>\n<td>The data to be matched for the filter value.</td>\n<td>11223344</td>\n</tr>\n<tr>\n<td><code>filter_by</code></td>\n<td>NO</td>\n<td><em>string</em></td>\n<td>The filter value field . Can be id, sku, etc.</td>\n<td>id</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["v1","external","listings"],"host":["apiv2","shiprocket","in"],"query":[],"variable":[]}},"response":[{"id":"3fd85b32-9a47-4ada-8d4a-90600078ce31","name":"Successful Call","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"url":"{{url}}/v1/external/listings"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Mon, 05 Aug 2019 07:34:23 GMT"},{"key":"ETag","value":"W/\"6be067bb2a372a1a46457843de52eaca79d2cd3d\""},{"key":"Server","value":"nginx"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-RateLimit-Limit","value":"180"},{"key":"X-RateLimit-Remaining","value":"178"},{"key":"Content-Length","value":"419"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 15897064,\n            \"title\": \"Kunai\",\n            \"image\": null,\n            \"price\": \"900.00\",\n            \"quantity\": 0,\n            \"sku\": \"chakra123\",\n            \"channel_sku\": \"chakra123\",\n            \"channel_id\": 76893,\n            \"channel_name\": \"CUSTOM\",\n            \"base_channel_code\": \"CS\",\n            \"channel_product_id\": \"\",\n            \"inventory\": 41,\n            \"synced_on\": \"Never Synced\",\n            \"product\": {\n                \"dimensions\": {\n                    \"length\": \"0.000\",\n                    \"width\": \"0.000\",\n                    \"height\": \"0.000\"\n                },\n                \"weight\": \"0.000\"\n            },\n            \"category_name\": \"\"\n        },\n        {\n            \"id\": 14312566,\n            \"title\": \"Ferrari Pitstop Black iPhone 7 Case\",\n            \"image\": null,\n            \"price\": \"100.00\",\n            \"quantity\": 0,\n            \"sku\": \"SW-546\",\n            \"channel_sku\": \"SW-546\",\n            \"channel_id\": 76893,\n            \"channel_name\": \"CUSTOM\",\n            \"base_channel_code\": \"CS\",\n            \"channel_product_id\": \"\",\n            \"inventory\": 0,\n            \"synced_on\": \"Never Synced\",\n            \"product\": {\n                \"dimensions\": {\n                    \"length\": \"0.000\",\n                    \"width\": \"0.000\",\n                    \"height\": \"0.000\"\n                },\n                \"weight\": \"0.000\"\n            },\n            \"category_name\": \"\"\n        }\n    ],\n    \"meta\": {\n        \"pagination\": {\n            \"total\": 12345,\n            \"count\": 2,\n            \"per_page\": 2,\n            \"current_page\": 1,\n            \"total_pages\": 6173,\n            \"links\": {\n                \"next\": \"https://apiv2.shiprocket.in/v1/external/listings?page=2\"\n            }\n        }\n    }\n}"},{"id":"e1a4fa16-b0b3-4ac5-9276-0454874719b6","name":"Wrong Endpoint","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"url":"{{url}}/v1/external/listing"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Mon, 05 Aug 2019 07:33:07 GMT"},{"key":"Server","value":"nginx"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Length","value":"62"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"404 Not Found\",\n    \"status_code\": 404\n}"}],"_postman_id":"54eeacbe-7e4f-4116-8486-bffe6b8dfec6"},{"name":"Map Channel Product","id":"209b9200-5b79-4cf6-a2fd-1e8f9032a0d1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"product_id\": \"\",\n\t\"listing_id\": \"\",\n\t\"ID\": \"\"\n\n\n\t\n}"},"url":"https://apiv2.shiprocket.in/v1/external/listings/link","description":"<p>Use this API to map a product present in the channel catalog to a product present in the master catalog.</p>\n<p>Pass the product and listing id for the successful call of the API</p>\n<h4 id=\"parameters\">Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>PARAMS</strong></th>\n<th><strong>REQUIRED</strong></th>\n<th><strong>DATA TYPE</strong></th>\n<th><strong>DESCRIPTION</strong></th>\n<th><strong>EXAMPLE</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>product_id</code></td>\n<td>YES</td>\n<td><em>integer</em></td>\n<td>The id of item in the master catalog.</td>\n<td>17908342</td>\n</tr>\n<tr>\n<td><code>listing_id</code></td>\n<td>YES</td>\n<td><em>integer</em></td>\n<td>The id of the product in the channel catalog.</td>\n<td>15897064</td>\n</tr>\n<tr>\n<td><code>ID</code></td>\n<td>NO</td>\n<td><em>integer</em></td>\n<td>The id placed in the respective 'GET' codes.</td>\n<td>15897064</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["v1","external","listings","link"],"host":["apiv2","shiprocket","in"],"query":[],"variable":[]}},"response":[{"id":"052383c0-2d84-4743-b974-352a3b331e75","name":"MIssing Fields","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"product_id\": 17908342\n\n\n\t\n}"},"url":"{{url}}/v1/external/listings/link"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Listing ID not found\",\n    \"status_code\": 400\n}"},{"id":"2b20f200-691c-4032-95ae-4b95831b7c1d","name":"Already Mapped Product","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"product_id\": 17908342,\n\t\"listing_id\": 15897064\n\n\t\n}"},"url":"{{url}}/v1/external/listings/link"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Mon, 05 Aug 2019 09:05:22 GMT"},{"key":"Server","value":"nginx"},{"key":"Content-Length","value":"54"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Listing already mapped\",\n    \"status_code\": 400\n}"},{"id":"9e01e761-90d0-45e0-bfac-271758b7fd2d","name":"Invalid Data","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"product_id\": 17777771,\n    \"listing_id\": 15897064\n}"},"url":"{{url}}/v1/external/listings/link"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Product ID not found\",\n    \"status_code\": 400\n}"},{"id":"d1bd6934-61cf-4514-a4b4-70f048d83989","name":"Successful Call","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"product_id\": 17908342,\n\t\"listing_id\": 15897064\n\n\t\n}"},"url":"{{url}}/v1/external/listings/link"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Mon, 05 Aug 2019 09:05:22 GMT"},{"key":"Server","value":"nginx"},{"key":"Content-Length","value":"54"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Linking success\",\n    \"status_code\": 200\n}"}],"_postman_id":"209b9200-5b79-4cf6-a2fd-1e8f9032a0d1"},{"name":"Import Catalog Mappings","id":"2a7371c2-a8bd-4ba6-bf0a-a5a1294816d8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"file","value":"","type":"file"}]},"url":"https://apiv2.shiprocket.in/v1/external/listings/import","description":"<p>Use this API to import a .csv file containing channel catalog to the  master catalog mappings.</p>\n<p>No other body parameters are required.</p>\n","urlObject":{"protocol":"https","path":["v1","external","listings","import"],"host":["apiv2","shiprocket","in"],"query":[],"variable":[]}},"response":[{"id":"050aaf8b-f4b8-447c-b541-b900f554d145","name":"Missing Fields","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","src":[]}]},"url":"{{url}}/v1/external/listings/import"},"status":"Bad Request","code":400,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"File required\",\n    \"status_code\": 400\n}"},{"id":"754430f9-3d5b-46d6-923f-049cf6c1f0e4","name":"Successful Call","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","src":[]}]},"url":"https://apiv2.shiprocket.in/v1/external/listings/import"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Mon, 05 Aug 2019 07:35:52 GMT"},{"key":"ETag","value":"W/\"2b51965e2c73defe5036a3b8c334f100b1ec3d2a\""},{"key":"Server","value":"nginx"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-RateLimit-Limit","value":"180"},{"key":"X-RateLimit-Remaining","value":"179"},{"key":"Content-Length","value":"35"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 20294650\n}"}],"_postman_id":"2a7371c2-a8bd-4ba6-bf0a-a5a1294816d8"},{"name":"Export Mapped Products","id":"5b7e6cff-8a71-41ee-b201-fc63970be53b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"url":"https://apiv2.shiprocket.in/v1/external/listings/export/mapped","description":"<p>This API downloads the list of mapped items in your channel catalog sheet. After mapping the items, you can see the number of products in  one channel, which are present in the Master Catalog.</p>\n<p>The downloaded .csv file URL is shared as the response.\nNo other body parameters are required.</p>\n","urlObject":{"protocol":"https","path":["v1","external","listings","export","mapped"],"host":["apiv2","shiprocket","in"],"query":[],"variable":[]}},"response":[{"id":"955d8f04-cc12-4e81-9ea3-e30382baab50","name":"Wrong Endpoint","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"url":"{{url}}/v1/external/listings/export/mappe"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Mon, 05 Aug 2019 07:44:17 GMT"},{"key":"Server","value":"nginx"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Length","value":"62"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"404 Not Found\",\n    \"status_code\": 404\n}"},{"id":"e9a1cf65-4bc9-4cdc-b6ed-b7ce6263cc3b","name":"Successful Call","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"url":"{{url}}/v1/external/listings/export/mapped"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Mon, 05 Aug 2019 07:41:27 GMT"},{"key":"ETag","value":"W/\"e1759cf929984697e726baed841a2b2cfabcd88d\""},{"key":"Server","value":"nginx"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-RateLimit-Limit","value":"180"},{"key":"X-RateLimit-Remaining","value":"179"},{"key":"Content-Length","value":"135"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"download_url\": \"https://s3-ap-southeast-1.amazonaws.com/kr-shipmultichannel/imports/c_67216/export-2019-08-051564990885.csv\"\n}"}],"_postman_id":"5b7e6cff-8a71-41ee-b201-fc63970be53b"},{"name":"Export Unmapped Products","id":"de9f737f-a291-43ad-9578-8ffe26bc9980","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"url":"https://apiv2.shiprocket.in/v1/external/listings/export/unmapped","description":"<p>Get a list of all the unmapped products in your channel catalog using this API.</p>\n<p>The list is downloaded into a .csv file and the download URL is displayed as the response.\nNo other body parameters are required.</p>\n","urlObject":{"protocol":"https","path":["v1","external","listings","export","unmapped"],"host":["apiv2","shiprocket","in"],"query":[],"variable":[]}},"response":[{"id":"30d12de9-872d-41bb-838f-15463c9edc27","name":"Successful Call","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"url":"{{url}}/v1/external/listings/export/unmapped"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Mon, 05 Aug 2019 08:00:35 GMT"},{"key":"ETag","value":"W/\"740132329a57056a08a086abb436ed176a2f0183\""},{"key":"Server","value":"nginx"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-RateLimit-Limit","value":"180"},{"key":"X-RateLimit-Remaining","value":"179"},{"key":"Content-Length","value":"135"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"download_url\": \"https://s3-ap-southeast-1.amazonaws.com/kr-shipmultichannel/imports/c_67216/export-2019-08-051564992035.csv\"\n}"},{"id":"4e7712b4-86e7-4de4-9690-35cca74d12e5","name":"Wrong Endpoint","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"url":"{{url}}/v1/external/listings/export/unmappe"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Mon, 05 Aug 2019 08:05:57 GMT"},{"key":"Server","value":"nginx"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Length","value":"62"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"404 Not Found\",\n    \"status_code\": 404\n}"}],"_postman_id":"de9f737f-a291-43ad-9578-8ffe26bc9980"},{"name":"Export Catalog Sample","id":"682f8b54-b567-4308-be84-3cf6eac2ff00","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"url":"https://apiv2.shiprocket.in/v1/external/listings/sample","description":"<p>This API displays the download link of a sample catalog sheet for reference purposes.</p>\n<p>No body parameters are required.</p>\n","urlObject":{"protocol":"https","path":["v1","external","listings","sample"],"host":["apiv2","shiprocket","in"],"query":[],"variable":[]}},"response":[{"id":"5b708f32-5752-4ae1-acf6-90d5e588ca4b","name":"Successful Call","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"url":"{{url}}/v1/external/listings/sample"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Mon, 05 Aug 2019 07:56:16 GMT"},{"key":"ETag","value":"W/\"90b25d196c3779e731ab7ea04f0af3cd40053c6c\""},{"key":"Server","value":"nginx"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-RateLimit-Limit","value":"180"},{"key":"X-RateLimit-Remaining","value":"179"},{"key":"Content-Length","value":"134"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"download_url\": \"https://s3-ap-southeast-1.amazonaws.com/kr-shipmultichannel/imports/c_67216/export-2019-08-051564991776.csv\"\n}"},{"id":"f9dc66bc-40e8-42c7-b921-893883d5b1a6","name":"Wrong Endpoint","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"url":"{{url}}/v1/external/listings/sampl"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"404 Not Found\",\n    \"status_code\": 404\n}"}],"_postman_id":"682f8b54-b567-4308-be84-3cf6eac2ff00"}],"id":"8cd49058-ed39-48e0-88de-b99fa62c3e15","_postman_id":"8cd49058-ed39-48e0-88de-b99fa62c3e15","description":""},{"name":"Channels","item":[{"name":"Get Integrated Channel Details","id":"6e04cf14-11df-4be1-84a7-345108f126e6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"url":"https://apiv2.shiprocket.in/v1/external/channels","description":"<p>This API shows a list of all the channels that have already been integrated in your Shiprocket account.</p>\n<p>No parameters are required to access this API.</p>\n","urlObject":{"protocol":"https","path":["v1","external","channels"],"host":["apiv2","shiprocket","in"],"query":[],"variable":[]}},"response":[{"id":"34d4347c-99ab-48c7-8c14-e7506d78bc0c","name":"Wrong Endpoint Name","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"url":"{{url}}/v1/external/channel"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"404 Not Found\",\n    \"status_code\": 404\n}"},{"id":"befb5bee-94a8-4955-a53c-e98d70e459d3","name":"Successful Call","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"url":"{{url}}/v1/external/channels"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Wed, 31 Jul 2019 07:19:52 GMT"},{"key":"ETag","value":"W/\"c77ed1f214bb3a6e009edb23a3c26558df9be8f9\""},{"key":"Server","value":"nginx"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-RateLimit-Limit","value":"180"},{"key":"X-RateLimit-Remaining","value":"177"},{"key":"Content-Length","value":"3282"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 76893,\n            \"name\": \"CUSTOM\",\n            \"status\": \"Active\",\n            \"connection_response\": null,\n            \"channel_updated_at\": \"2018-05-24 11:55:28\",\n            \"status_code\": 1,\n            \"settings\": {\n                \"dimensions\": \"0x0x0\",\n                \"weight\": 0,\n                \"order_status\": \"\"\n            },\n            \"auth\": [],\n            \"connection\": 1,\n            \"orders_sync\": 0,\n            \"inventory_sync\": 0,\n            \"catalog_sync\": 0,\n            \"orders_synced_on\": \"Not Available\",\n            \"inventory_synced_on\": \"Not Available\",\n            \"base_channel_code\": \"CS\",\n            \"base_channel\": {\n                \"id\": 4,\n                \"name\": \"MANUAL\",\n                \"code\": \"CS\",\n                \"type\": \"Carts\",\n                \"logo\": \"custom.png\",\n                \"settings_sample\": {\n                    \"name\": \"Channels Settings\",\n                    \"help\": \"\",\n                    \"settings\": {\n                        \"brand_name\": {\n                            \"code\": \"brand_name\",\n                            \"name\": \"Brand Name\",\n                            \"placeholder\": \"Your brand name\",\n                            \"type\": \"text\"\n                        },\n                        \"brand_logo\": {\n                            \"code\": \"brand_logo\",\n                            \"name\": \"Brand Logo\",\n                            \"placeholder\": \"Your brand logo\",\n                            \"type\": \"file\"\n                        }\n                    }\n                },\n                \"auth_sample\": [],\n                \"description\": \"Manual channel\"\n            },\n            \"catalog_synced_on\": \"31 Jul 12:49 PM\",\n            \"order_status_mapper\": \"\",\n            \"payment_status_mapper\": \"\",\n            \"brand_name\": \"\",\n            \"brand_logo\": \"\"\n        }\n]\n        \n}"}],"_postman_id":"6e04cf14-11df-4be1-84a7-345108f126e6"}],"id":"e0351d51-d7a4-4530-8a57-d09959d907f4","description":"<p>Use this API to get details about all the integrated channels in your Shiprocket account including channel id.\nThis channel id can be used to select or specify a custom channel at the time of order creation.</p>\n","_postman_id":"e0351d51-d7a4-4530-8a57-d09959d907f4"},{"name":"Inventory","item":[{"name":"Get Inventory Details","id":"e486ce50-7995-4318-aec6-2a30a633d914","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"url":"https://apiv2.shiprocket.in/v1/external/inventory","description":"<p>This API can be used to check the inventory details of a product sku.\nThere are no required parameters for this API, but further parameters can be defined to sort and filter the data. </p>\n<p>In case no filter conditions are passed, the details are displayed in the default JSON format.</p>\n<h4 id=\"parameters\">Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>PARAMS</strong></th>\n<th><strong>REQUIRED</strong></th>\n<th><strong>DATA TYPE</strong></th>\n<th><strong>DESCRIPTION</strong></th>\n<th><strong>EXAMPLE</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>page</code></td>\n<td>NO</td>\n<td><em>integer</em></td>\n<td>The page number to be displayed.</td>\n<td>4</td>\n</tr>\n<tr>\n<td><code>per_page</code></td>\n<td>NO</td>\n<td><em>integer</em></td>\n<td>The total products you want to diplay in each page.</td>\n<td>2</td>\n</tr>\n<tr>\n<td><code>sort</code></td>\n<td>NO</td>\n<td><em>string</em></td>\n<td>Sort conditions if any. Value: ASC or DESC</td>\n<td>ASC</td>\n</tr>\n<tr>\n<td><code>sort_by</code></td>\n<td>NO</td>\n<td><em>integer</em></td>\n<td>Allows you to choose the field by which the data will be sorted.   Could be sorted by id, by sku, time created etc.</td>\n<td>sku</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["v1","external","inventory"],"host":["apiv2","shiprocket","in"],"query":[],"variable":[]}},"response":[{"id":"775cc9d3-2b23-4b24-92f7-3395ac06a7f5","name":"Wrong Endpoint","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"url":"{{url}}/v1/external/inventor"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"404 Not Found\",\n    \"status_code\": 404\n}"},{"id":"b33e0617-a355-42e5-8bc4-7a3029dc6ef4","name":"Successful Call","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"url":"{{url}}/v1/external/inventory"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Fri, 02 Aug 2019 11:35:43 GMT"},{"key":"ETag","value":"W/\"c5cda3412b5e38572951297f41b96b1579b99bdf\""},{"key":"Server","value":"nginx"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-RateLimit-Limit","value":"180"},{"key":"X-RateLimit-Remaining","value":"178"},{"key":"Content-Length","value":"350"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 3448631,\n            \"sku\": \"123\",\n            \"category_name\": \"Default Category\",\n            \"is_combo\": 0,\n            \"name\": \"gsdgw\",\n            \"type\": \"Single\",\n            \"color\": \"\",\n            \"brand\": \"\",\n            \"total_quantity\": 6,\n            \"available_quantity\": 6,\n            \"blocked_quantity\": 0,\n            \"updated_on\": \"15 Oct 2018 04:14 PM\"\n        },\n        {\n            \"id\": 3448637,\n            \"sku\": \"BlackTshirt\",\n            \"category_name\": \"Default Category\",\n            \"is_combo\": 0,\n            \"name\": \"Black tshirt XL\",\n            \"type\": \"Single\",\n            \"color\": \"\",\n            \"brand\": \"\",\n            \"total_quantity\": 12,\n            \"available_quantity\": 12,\n            \"blocked_quantity\": 0,\n            \"updated_on\": \"23 Jan 2019 12:03 PM\"\n        }\n    ],\n    \"meta\": {\n        \"pagination\": {\n            \"total\": 12080,\n            \"count\": 2,\n            \"per_page\": 2,\n            \"current_page\": 1,\n            \"total_pages\": 6040,\n            \"links\": {\n                \"next\": \"https://apiv2.shiprocket.in/v1/external/inventory?page=2\"\n            }\n        }\n    }\n}"}],"_postman_id":"e486ce50-7995-4318-aec6-2a30a633d914"},{"name":"Update Your Inventory ","id":"e62efd5a-b732-4139-b658-30277488c8bd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"quantity\": \"\",\n\t\"action\": \"\"\n}"},"url":"https://apiv2.shiprocket.in/v1/external/inventory/{product_id}/update","description":"<p>This API is used to update your product inventory details.</p>\n<p>First you need to pass the product_id of the product in the endpoint URL.\nYou can then set the quanity and action you want to perform on the existing inventory of the specified product.</p>\n<p><strong>Note:</strong></p>\n<ul>\n<li>The product_id can be found using the 'Get Inventory Details' API.</li>\n<li>The id is to be passed in the endpoint URL itself.</li>\n</ul>\n<h4 id=\"path\">Path:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>EXAMPLE</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><a href=\"https://apiv2.shiprocket.in/v1/external/inventory/17454637/update\">https://apiv2.shiprocket.in/v1/external/inventory/17454637/update</a></td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"parameters\">Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>PARAMS</strong></th>\n<th><strong>REQUIRED</strong></th>\n<th><strong>DATA TYPE</strong></th>\n<th><strong>DESCRIPTION</strong></th>\n<th><strong>EXAMPLE</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>quantity</code></td>\n<td>YES</td>\n<td><em>integer</em></td>\n<td>The quantity of the product you want.</td>\n<td>2</td>\n</tr>\n<tr>\n<td><code>action</code></td>\n<td>YES</td>\n<td><em>integer</em></td>\n<td>The action you want to perform. <em>Value</em>:    - <strong>add</strong> : Adds the specific quantity to the product inventory.   - <strong>replace</strong> : Replaces the existing quantity with the specified number. - <strong>remove</strong> : Removes the specific number from the product inventory.</td>\n<td>add</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["v1","external","inventory","{product_id}","update"],"host":["apiv2","shiprocket","in"],"query":[],"variable":[]}},"response":[{"id":"8212b28a-22a9-4606-8de7-7041c3da2ff6","name":"Missing Fields","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"quantity\": \"\",\n\t\"action\": \"\"\n}"},"url":"{{url}}/v1/external/inventory/17454637/update"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Fri, 02 Aug 2019 11:58:07 GMT"},{"key":"Server","value":"nginx"},{"key":"Content-Length","value":"88"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Quantity must be numeric, and upto 8 digits are allowed!\",\n    \"status_code\": 400\n}"},{"id":"c50863a4-9366-49c7-bade-0989ede3c90b","name":"Invalid Data","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"quantity\": \"2\",\n\t\"action\": \"add\"\n}"},"url":"{{url}}/v1/external/inventory/12345678/update"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Fri, 02 Aug 2019 12:13:33 GMT"},{"key":"Server","value":"nginx"},{"key":"Content-Length","value":"75"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Cannot update inventory for a combo product\",\n    \"status_code\": 400\n}"},{"id":"e820c498-bfde-433c-bfd3-d6473df64b11","name":"Successful Call","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"quantity\": 2,\n\t\"action\": \"remove\"\n}"},"url":"{{url}}/v1/external/inventory/17454637/update"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Fri, 02 Aug 2019 11:50:32 GMT"},{"key":"ETag","value":"W/\"d8de9ce9a122348d040026f0935bcc7803bfa3df\""},{"key":"Server","value":"nginx"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-RateLimit-Limit","value":"180"},{"key":"X-RateLimit-Remaining","value":"176"},{"key":"Content-Length","value":"75"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"available_quantity\": 51,\n        \"blocked_quantity\": 0,\n        \"total_quantity\": 51\n    }\n}"}],"_postman_id":"e62efd5a-b732-4139-b658-30277488c8bd"}],"id":"5b26f317-40b8-4f1f-859e-a81414361208","description":"<p>Use this API to update and get Inventory details.</p>\n","_postman_id":"5b26f317-40b8-4f1f-859e-a81414361208"},{"name":"Countries","item":[{"name":"Get Country Codes","id":"3e18accc-a144-4c31-a1f9-bcc24f18bb5c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"url":"https://apiv2.shiprocket.in/v1/external/countries","description":"<p>Shows the list of all the countries which are present in the Shiprocket database along with the respective country ids, ISO 2 and ISO 3 codes.</p>\n<p>There are a total of 44 available countries in the database. You can use these codes to check the serviceability and use them in your own dropdown menu.</p>\n<p>No parameters are required to access this API.</p>\n","urlObject":{"protocol":"https","path":["v1","external","countries"],"host":["apiv2","shiprocket","in"],"query":[],"variable":[]}},"response":[{"id":"2a6bca3a-d9c3-4478-8ec7-cfc100564fa1","name":"Successful Call","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"url":"{{url}}/v1/external/countries"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Sun, 04 Aug 2019 15:31:49 GMT"},{"key":"ETag","value":"W/\"ff49553bf8c2e4530806693f344b41706ea3c70f\""},{"key":"Server","value":"nginx"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-RateLimit-Limit","value":"180"},{"key":"X-RateLimit-Remaining","value":"177"},{"key":"Content-Length","value":"5191"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"data\": [\n        {\n            \"id\": 1,\n            \"name\": \"Afghanistan\",\n            \"iso_code_2\": \"AF\",\n            \"iso_code_3\": \"AFG\",\n            \"isd_code\": \"+93\",\n            \"address_format\": \"\",\n            \"postcode_required\": 1,\n            \"status\": 1\n        },\n        {\n            \"id\": 2,\n            \"name\": \"Albania\",\n            \"iso_code_2\": \"AL\",\n            \"iso_code_3\": \"ALB\",\n            \"isd_code\": \"+355\",\n            \"address_format\": \"\",\n            \"postcode_required\": 1,\n            \"status\": 1\n        },\n        {\n            \"id\": 3,\n            \"name\": \"Algeria\",\n            \"iso_code_2\": \"DZ\",\n            \"iso_code_3\": \"DZA\",\n            \"isd_code\": \"+213\",\n            \"address_format\": \"\",\n            \"postcode_required\": 1,\n            \"status\": 1\n        },\n        {\n            \"id\": 4,\n            \"name\": \"American Samoa\",\n            \"iso_code_2\": \"AS\",\n            \"iso_code_3\": \"ASM\",\n            \"isd_code\": \"+1\",\n            \"address_format\": \"\",\n            \"postcode_required\": 1,\n            \"status\": 1\n        },\n        {\n            \"id\": 5,\n            \"name\": \"Andorra\",\n            \"iso_code_2\": \"AD\",\n            \"iso_code_3\": \"AND\",\n            \"isd_code\": \"+376\",\n            \"address_format\": \"\",\n            \"postcode_required\": 1,\n            \"status\": 1\n        }\n        \t.\n        \t.\n        \t.\n        \t.\n    ]\n}"},{"id":"5fe06c19-5588-486a-b44c-68f8f206a8b1","name":"Wrong Endpoint","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"url":"{{url}}/v1/external/countries"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"404 Not Found\",\n    \"status_code\": 404\n}"}],"_postman_id":"3e18accc-a144-4c31-a1f9-bcc24f18bb5c"},{"name":"Get All Zones","id":"0a8dfb6d-b2f6-4508-b109-f6763a21ae89","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"url":"https://apiv2.shiprocket.in/v1/external/countries/show/{country_id}","description":"<p>Use this API to get a further list of all the available zones within a country along with their ids and details.</p>\n<p>The country ID must be passed as a path parameter to access this API.\nNo other body parameters are required.</p>\n<h4 id=\"path\">Path:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>EXAMPLE</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><a href=\"https://apiv2.shiprocket.in/v1/external/countries/show/4\">https://apiv2.shiprocket.in/v1/external/countries/show/4</a></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["v1","external","countries","show","{country_id}"],"host":["apiv2","shiprocket","in"],"query":[],"variable":[]}},"response":[{"id":"4c90c6af-757b-4f39-96be-612293c7665c","name":"Successful Call","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"url":"{{url}}/v1/external/countries/show/4"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Sun, 04 Aug 2019 15:38:18 GMT"},{"key":"ETag","value":"W/\"6f9484d4e87ae509456a5425e55e2ab699b0248d\""},{"key":"Server","value":"nginx"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-RateLimit-Limit","value":"180"},{"key":"X-RateLimit-Remaining","value":"178"},{"key":"Content-Length","value":"167"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"data\": [\n        {\n            \"id\": 117,\n            \"country_id\": 4,\n            \"code\": \"E\",\n            \"state_code\": null,\n            \"name\": \"Eastern\",\n            \"status\": 1\n        },\n        {\n            \"id\": 118,\n            \"country_id\": 4,\n            \"code\": \"M\",\n            \"state_code\": null,\n            \"name\": \"Manu'a\",\n            \"status\": 1\n        },\n        {\n            \"id\": 119,\n            \"country_id\": 4,\n            \"code\": \"R\",\n            \"state_code\": null,\n            \"name\": \"Rose Island\",\n            \"status\": 1\n        },\n        {\n            \"id\": 120,\n            \"country_id\": 4,\n            \"code\": \"S\",\n            \"state_code\": null,\n            \"name\": \"Swains Island\",\n            \"status\": 1\n        },\n        {\n            \"id\": 121,\n            \"country_id\": 4,\n            \"code\": \"W\",\n            \"state_code\": null,\n            \"name\": \"Western\",\n            \"status\": 1\n        }\n    ]\n}"},{"id":"87c74f78-93dd-4ce4-aee1-e071c65d9dd5","name":"Missing Fields","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"url":"{{url}}/v1/external/countries/show/"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"404 Not Found\",\n    \"status_code\": 404\n}"},{"id":"bcf6d94f-090a-4bdb-ba05-7a5330acf8ed","name":"Invalid Data","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"url":"{{url}}/v1/external/countries/show/900"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"data\": [\n        {\n            \"name\": \"None\"\n        }\n    ]\n}"}],"_postman_id":"0a8dfb6d-b2f6-4508-b109-f6763a21ae89"},{"name":"Get Locality Details","id":"2236c67a-c7ed-4048-b25d-ce0ab8ba5cf0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"url":"https://apiv2.shiprocket.in/v1/external/open/postcode/details","description":"<p>Use this API to get further locality details of any given postcode.\nJust pass the valid locality pincode and the details will be displayed in the JSON format.</p>\n<h4 id=\"parameters\">Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>PARAMS</strong></th>\n<th><strong>REQUIRED</strong></th>\n<th><strong>DATA TYPE</strong></th>\n<th><strong>DESCRIPTION</strong></th>\n<th><strong>EXAMPLE</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>postcode</code></td>\n<td>YES</td>\n<td><em>integer</em></td>\n<td>The pincode you want to get the locality details of.</td>\n<td>110077</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["v1","external","open","postcode","details"],"host":["apiv2","shiprocket","in"],"query":[],"variable":[]}},"response":[{"id":"213c2889-6da3-48a0-9f30-835aff21de4d","name":"Invalid Data","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"url":"{{url}}/v1/external/open/postcode/details"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Mapped City-State details not found for 10000893\",\n    \"status_code\": 403\n}"},{"id":"2722f382-a9c7-4785-8313-76692ef93d2e","name":"Successful Call","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"url":"{{url}}/v1/external/open/postcode/details"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 06 Aug 2019 11:56:33 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"nginx"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"X-RateLimit-Limit","value":"180"},{"key":"X-RateLimit-Remaining","value":"178"},{"key":"ETag","value":"W/\"6a02bb6c5636e8ef1d9588c2effc5ec76669a562\""},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"postcode_details\": {\n        \"postcode\": \"110077\",\n        \"city\": \"South West Delhi\",\n        \"locality\": [\n            \"Bagdola\",\n            \"Barthal\",\n            \"Palam Extn (Harijan Basti)\",\n            \"Dhulsiras\",\n            \"Raj Nagar - II\"\n        ],\n        \"state\": \"Delhi\",\n        \"state_code\": \"DL\",\n        \"longitude\": \"77.399\",\n        \"latitude\": \"28.2636\"\n    }\n}"},{"id":"6abdb16b-d957-4f3a-972b-1356062fb5dd","name":"Missing Fields","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"url":"{{url}}/v1/external/open/postcode/details"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Mapped City-State details not found for \",\n    \"status_code\": 403\n}"}],"_postman_id":"2236c67a-c7ed-4048-b25d-ce0ab8ba5cf0"}],"id":"6ba794b2-5e37-4996-98c0-16cdb04238e9","description":"<p>The following API's provide details about the various country codes and their respective zone details along with the locality details.</p>\n","_postman_id":"6ba794b2-5e37-4996-98c0-16cdb04238e9"},{"name":"Statement Details ","item":[{"name":"Get Stament Details","id":"e56c00ab-9d04-4726-ac9f-78ca37e5e1ae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"url":"https://apiv2.shiprocket.in/v1/external/account/details/statement","description":"<p>Use this API to get the account statement details of your Shiprocket account.\nNo parameters are required to access this API. However, you sort and filter the data displayed usig the optional parameters.</p>\n<h4 id=\"parameters\">Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>PARAMS</strong></th>\n<th><strong>REQUIRED</strong></th>\n<th><strong>DATA TYPE</strong></th>\n<th><strong>DESCRIPTION</strong></th>\n<th><strong>EXAMPLE</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code> page</code></td>\n<td>NO</td>\n<td><em>integer</em></td>\n<td>The page number you want to display.</td>\n<td>5</td>\n</tr>\n<tr>\n<td><code>per_page</code></td>\n<td>NO</td>\n<td><em>integer</em></td>\n<td>The number of orders to get per request.</td>\n<td>2</td>\n</tr>\n<tr>\n<td><code>from</code></td>\n<td>NO</td>\n<td><em>string</em></td>\n<td>From a specific date.</td>\n<td>2017-08-12</td>\n</tr>\n<tr>\n<td><code>to</code></td>\n<td>NO</td>\n<td><em>string</em></td>\n<td>To a specific date.</td>\n<td>2017-09-12</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["v1","external","account","details","statement"],"host":["apiv2","shiprocket","in"],"query":[],"variable":[]}},"response":[{"id":"99ab7687-b88e-4774-810f-0547a7bf9df7","name":"Wrong Endpoint","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"url":"{{url}}/v1/external/account/details/statemen"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Sun, 04 Aug 2019 13:53:12 GMT"},{"key":"Server","value":"nginx"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Length","value":"62"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"404 Not Found\",\n    \"status_code\": 404\n}"},{"id":"e1712923-8ad0-4361-8ea2-1b3a99bdc75b","name":"Successful Call","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"url":"{{url}}/v1/external/account/details/statement"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Sun, 04 Aug 2019 13:52:11 GMT"},{"key":"ETag","value":"W/\"e035e559ccf03640dd9a7411a1298c28c995e978\""},{"key":"Server","value":"nginx"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-RateLimit-Limit","value":"180"},{"key":"X-RateLimit-Remaining","value":"178"},{"key":"Content-Length","value":"189"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"transaction_id\": \"\",\n            \"order_id\": \"\",\n            \"channel_order_id\": \"\",\n            \"awb_code\": \"\",\n            \"return_awb_code\": null,\n            \"applied_weight\": \"\",\n            \"charged_weight\": \"\",\n            \"billed_weight\": \"\",\n            \"action\": \"\",\n            \"charge\": \"\",\n            \"description\": \"Wallet Balance\",\n            \"debit_amount\": \"\",\n            \"credit_amount\": \"\",\n            \"balance_amount\": \"0\",\n            \"balance_weight\": 0,\n            \"volumetric_weight\": \"\",\n            \"entered_weight\": \"\",\n            \"created_at\": \"\",\n            \"can_ship\": true\n        }\n    ]\n}"}],"_postman_id":"e56c00ab-9d04-4726-ac9f-78ca37e5e1ae"}],"id":"be1652c7-8a87-4b16-8c03-9986721e4a93","description":"<p>Get your Shiprocket account's statement details using this API.</p>\n","_postman_id":"be1652c7-8a87-4b16-8c03-9986721e4a93"},{"name":"Discrepancy Details","item":[{"name":"Get Dicrepancy Data","id":"8e505ad1-72d9-4b79-adc0-b458ee4d9a73","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"url":"https://apiv2.shiprocket.in/v1/external/billing/discrepancy","description":"<p>Get the discrepancy data associated with your account if any.\nNo parameters are required to use this API.</p>\n<p>The data is displayed in JSON format.</p>\n","urlObject":{"protocol":"https","path":["v1","external","billing","discrepancy"],"host":["apiv2","shiprocket","in"],"query":[],"variable":[]}},"response":[{"id":"332ff03e-eab1-4c22-9c13-69ecb84b6d7d","name":"Wrong Endpoint","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"url":"{{url}}/v1/external/billing/discrepanc"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Sun, 04 Aug 2019 14:03:51 GMT"},{"key":"Server","value":"nginx"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Length","value":"62"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"404 Not Found\",\n    \"status_code\": 404\n}"},{"id":"b3b73419-6ef9-4ccc-98a6-53105bc335e1","name":"Successful Call","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"url":"{{url}}/v1/external/billing/discrepancy"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Sun, 04 Aug 2019 14:03:30 GMT"},{"key":"ETag","value":"W/\"ebed61c17ed337283f877e6a95f42d64e474b2a6\""},{"key":"Server","value":"nginx"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-RateLimit-Limit","value":"180"},{"key":"X-RateLimit-Remaining","value":"179"},{"key":"Content-Length","value":"249"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"data\": [],\n    \"upper_fold_text\": \"The entered weight for the below given shipment was incorrect. Please allow us to make deduction on the basis of correct charged weight as shared by the courier company.\",\n    \"lower_fild_text\": \"To raise a ticket for your queries, please call us on 011-39595108 or email us at support@shiprocket.in\"\n}"}],"_postman_id":"8e505ad1-72d9-4b79-adc0-b458ee4d9a73"}],"id":"438d613d-06c7-4100-be33-aa393483b71d","description":"<p>Use this API to get the discrepency details of your account.</p>\n","_postman_id":"438d613d-06c7-4100-be33-aa393483b71d"},{"name":"File Imports","item":[{"name":"Get File import Results","id":"d704f5ff-dc47-48d4-824c-465861ab4f05","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"url":"https://apiv2.shiprocket.in/v1/external/errors/{import_id}/check","description":"<p>Check the import response of various file imports for any error, including bulk order imports, products and product listings.</p>\n<p>You will have to pass the file import id as a path parameter in the endpoint URL. This id is provided at the time of importing the file.\nNo other body parameters are required. </p>\n<h4 id=\"path\">Path:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>EXAMPLE</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><a href=\"https://apiv2.shiprocket.in/v1/external/errors/20212061/check\">https://apiv2.shiprocket.in/v1/external/errors/20212061/check</a></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["v1","external","errors","{import_id}","check"],"host":["apiv2","shiprocket","in"],"query":[],"variable":[]}},"response":[{"id":"9b3a3fef-c4fb-4488-883a-3c98a56e51a4","name":"Successful Call","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"url":"{{url}}/v1/external/errors/20212061/check"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Sun, 04 Aug 2019 14:25:29 GMT"},{"key":"ETag","value":"W/\"060c1e875a6533f3d9f97978e9836196ccf1ca97\""},{"key":"Server","value":"nginx"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-RateLimit-Limit","value":"180"},{"key":"X-RateLimit-Remaining","value":"179"},{"key":"Content-Length","value":"130"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"status\": \"3\",\n        \"message\": \"Error in reading file data! Please check that the column names are same as that in the sample file provided.\"\n    }\n}"},{"id":"eaf750e3-fbac-4f14-9624-06dd76d2668d","name":"Invalid Data","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"url":"{{url}}/v1/external/errors/22222222/check"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Trying to get property of non-object\",\n    \"status_code\": 500\n}"},{"id":"f05a5e23-7efe-43a2-9454-e703465b1450","name":"Missing Fields","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{token}}","type":"text"}],"url":"{{url}}/v1/external/errors//check"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Sun, 04 Aug 2019 14:49:36 GMT"},{"key":"Server","value":"nginx"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Length","value":"62"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"404 Not Found\",\n    \"status_code\": 404\n}"}],"_postman_id":"d704f5ff-dc47-48d4-824c-465861ab4f05"}],"id":"14b6fc82-b49e-4d5a-8682-4985b3ae3c66","description":"<p>Check the status response of files that have been imported using the API.</p>\n","_postman_id":"14b6fc82-b49e-4d5a-8682-4985b3ae3c66"}],"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""]}},{"listen":"test","script":{"type":"text/javascript","exec":[""]}}]}