Overview
- POST /v1/external/auth/login
- POST /v1/external/orders/create/adhoc
- POST /v1/external/orders/create
- PATCH /v1/external/orders/address/pickup
- POST /v1/external/orders/address/update
- POST /v1/external/orders/update/adhoc
- POST /v1/external/orders/cancel
- PATCH /v1/external/orders/fulfill
- PATCH /v1/external/orders/mapping
- POST /v1/external/orders/import
- POST /v1/external/courier/assign/awb
- GET /v1/external/courier/courierListWithCounts
- GET /v1/external/courier/serviceability/
- POST /v1/external/courier/generate/pickup
- GET /v1/external/orders
- GET /v1/external/orders/show
- POST /v1/external/orders/export
- POST /v1/external/orders/create/return
- GET /v1/external/orders/processing/return
- GET /v1/external/shipments
- POST /v1/external/orders/cancel/shipment/awbs
- POST /v1/external/manifests/generate
- POST /v1/external/manifests/print
- POST /v1/external/courier/generate/label
- POST /v1/external/orders/print/invoice
- POST /v1/external/shipments/create/forward-shipment
- POST /v1/external/shipments/create/return-shipment
- GET /v1/external/ndr/all
- GET /v1/external/ndr/{AWB}
- PARAMETERS /v1/external/ndr/{AWB}
- POST /v1/external/ndr/{awb}/action
- PARAMETERS /v1/external/ndr/{awb}/action
- GET /v1/external/courier/track/awb/{awb_code}
- PARAMETERS /v1/external/courier/track/awb/{awb_code}
- POST /v1/external/courier/track/awbs
- GET /v1/external/courier/track/shipment/{shipment_id}
- PARAMETERS /v1/external/courier/track/shipment/{shipment_id}
- GET /v1/external/courier/track
- GET /v1/external/settings/company/pickup
- POST /v1/external/settings/company/addpickup
- GET /v1/external/international/orders/track
- POST /v1/external/international/settings/international_kyc
- POST /v1/external/international/settings/add-bank-details
- POST /v1/external/international/orders/create/adhoc
- POST /v1/external/international/orders/update/adhoc
- POST /v1/external/international/shipments/create/forward-shipment
- GET /v1/external/international/courier/serviceability
- POST /v1/external/international/courier/assign/awb
- POST /v1/external/international/manifests/generate
- GET /v1/external/account/details/wallet-balance
- GET /v1/external/products
- POST /v1/external/products
- GET /v1/external/products/show/{product_id}
- PARAMETERS /v1/external/products/show/{product_id}
- POST /v1/external/products/import
- GET /v1/external/products/sample
- GET /v1/external/listings
- POST /v1/external/listings/link
- POST /v1/external/listings/import
- GET /v1/external/listings/export/mapped
- GET /v1/external/listings/export/unmapped
- GET /v1/external/listings/sample
- GET /v1/external/channels
- GET /v1/external/inventory
- PUT /v1/external/inventory/{product_id}/update
- PARAMETERS /v1/external/inventory/{product_id}/update
- GET /v1/external/countries
- GET /v1/external/countries/show/{country_id}
- PARAMETERS /v1/external/countries/show/{country_id}
- GET /v1/external/open/postcode/details
- GET /v1/external/account/details/statement
- GET /v1/external/billing/discrepancy
- GET /v1/external/errors/{import_id}/check
- PARAMETERS /v1/external/errors/{import_id}/check
POST /v1/external/auth/login
Summary: Generate Token
Generate Token
OpenAPI snippet URL
POST /v1/external/orders/create/adhoc
Summary: Create Custom Order
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 catalogue.
You have to pass all the required params at the minimum to create a quick custom order. You can add additional parameters as per your preference.
Note:
- In case the ‘shipping_is_billing’ field is false, further shipping detail fields are required.
If no channel id is passed, the order will be assigned to the default custom channel. If the channel id is not known, use the ‘Get All Channels’ API to get the list of all integrated channels in your Shiprocket account.
- order_id field cannot be equal to an already existing id. Doing so does not change or affect the existing order.
- New orders cannot be created with order id’s same as that of cancelled orders. If error 422 shows up despite filling in the correct details, consider changing the order_id.
- Be sure to input the correct calculated sub_total amount. The total is not calculated automatically through the API.
- The ‘order_id’ returned in the response is the Shiprocket order_id. Please save this order ID as we will use this in future API calls.
Parameters:
| PARAMS | REQUIRED | DATA TYPE | DESCRIPTION | EXAMPLE |
|---|---|---|---|---|
order_id | YES | string | The order id you want to specify to the order. Max char: 50. (Avoid passing character values as this contradicts some other API calls). | 224477 or 224-477 |
order_date | YES | string | The date of order creation in yyyy-mm-dd format. Time is additional. | 2019-07-24 11:11 |
pickup_location | YES | string | The name of the pickup location added in your Shiprocket account. This cannot be a new location. | Jammu |
channel_id | NO | integer | Mention this in case you need to assign the order to a particular channel. Deafult is ‘Custom’. | 27022 |
comment | NO | string | Option to add ‘From’ field to the shipment. To do this, enter the name in the following format: ‘Reseller: [name]‘. | Reseller: Divine |
reseller_name | NO | string | The ‘from’ name if you want to print. Use ‘Reseller: [name]‘ | Reseller: Divine |
company_name | NO | string | Name of the company. | Amazon |
billing_customer_name | YES | string | First name of the billed customer. | John |
billing_last_name | NO | string | Last name of the billed customer. | Doe |
billing_address | NO | string | address details of the billed customer. | Civil line, House 20 |
billing_address_2 | NO | string | Further address details of the billed customer. | Near Hokage House |
billing_city | YES | string | Billing address city. Max char: 30. | New Delhi |
billing_pincode | YES | integer | Pincode of the billing address. | 110002 |
billing_state | YES | string | Billing address state. | Delhi |
billing_country | YES | string | Billing address country. | India |
billing_email | YES | string | Email address of the billed customer. | John@doe.com |
billing_phone | YES | integer | The phone number of the billing customer. | 9856321472 |
billing_alternate_phone | NO | integer | Alternate phone number of the billing customer. | 8604690454 |
shipping_is_billing | YES | boolean | Whether the shipping address is the same as billing address. 1 or ‘true’ for yes and 0 or ‘false’ for no. | true |
shipping_customer_name | CONDITIONAL YES | string | Name of the customer the order is shipped to. Required in case billing is not same as shipping. | Jane |
shipping_last_name | NO | string | Last name of the shipping customer. | Doe |
shipping_address | CONDITIONAL YES | string | Address of the Shipping customer. Required in case billing is not same as shipping. | Lane number 69 |
shipping_address_2 | NO | string | Further address details of shipping customer. | Andheri |
billing_isd_code | NO | string | ISD code of the billing address. | +91 |
shipping_city | CONDITIONAL YES | string | Shipping address city. | Mumbai |
shipping_pincode | CONDITIONAL YES | integer | Shipping address pincode. | 200912 |
shipping_country | CONDITIONAL YES | string | Shipping address country. | India |
shipping_state | CONDITIONAL YES | string | Shipping address state. | Maharashtra |
shipping_email | NO | string | Email of the shipping customer. | Jane@doe.com |
shipping_phone | CONDITIONAL YES | integer | Phone no. of the shipping customer. | |
longitude | NO | float | Destination (Shipping address) Longitude. | 69.0747 |
latitude | NO | float | Destination (Shipping address) Latitude | 22.4064 |
order_items | YES | / | List of items and their relevant fields in the form of Array. | / |
name | YES | string | Name of the product. | Jeans |
sku | YES | string | The sku id of the product. | cbs123 |
units | YES | integer | No of units that are to be shipped. | 10 |
selling_price | YES | integer | The selling price per unit in Rupee. Inclusive of GST. | 900 |
discount | NO | integer | The discount amount in Rupee. Inclusive of tax. | 10 |
tax | NO | integer | The tax percentage on the item. | 5 |
hsn | NO | integer | Harmonised System Nomenclature code. Used to determine the category of taxation the goods fall under. | 44122 |
payment_method | YES | string | The method of payment. Can be either COD (Cash on delivery) Or Prepaid. | COD |
shipping_charges | NO | integer | Shipping charges if any in Rupee. | 5 |
giftwrap_charges | NO | integer | Giftwrap charges if any in Rupee. | 5 |
transaction_charges | NO | integer | Transaction charges if any in Rupee. | 5 |
total_discount | NO | integer | The total discount amount in Rupee. | 15 |
sub_total | YES | integer | Calculated sub total amount in Rupee after deductions. | 9010 |
length | YES | float | The length of the item in cms. Must be more than 0.5. | 10 |
breadth | YES | float | The breadth of the item in cms. Must be more than 0.5. | 10 |
height | YES | float | The height of the item in cms. Must be more than 0.5. | 10 |
weight | YES | float | The weight of the item in kgs. Must be more than 0. | 2.5 |
ewaybill_no | NO | string | Details relating to the shipment of goods. . | K92373490 |
customer_gstin | NO | string | Goods and Services Tax Identification Number. | 29ABCDE1234F2Z5 |
invoice_number | NO | string | ||
order_type | NO | string | Key to differentiate between Essentials or Non Essentials Shipments. Order type can only be ESSENTIALS or NON ESSENTIALS. Please note it is case sensitive and blank values are allowed. | ESSENTIALS |
checkout_shipping_method | NO | string | Only for SRF users. | a. SR_RUSH: SDD, NDD b. SR_STANDARD: Surface Delivery c. SR_EXPRESS: Air Delivery d. SR_QUICK: 3 hrs delivery |
what3words_address | NO | string | What3words is a proprietary geocode system designed to identify any location on the surface of Earth with a resolution of about 3 meters. The system encodes geographic coordinates into three permanently fixed dictionary words. | toddler.geologist.animated |
is_insurance_opt | NO | boolean | To secure shipments above the order value of Rs 2500 | true |
OpenAPI snippet URL
POST /v1/external/orders/create
Summary: Create Channel Specific Order
This API can be used to create a custom order, the same as the Custom order API, except that you have to specify and select a custom channel to create the order.
The order created will be added under the specified channel. All the other parameters are the same.
Note:
- Channel_id field is required.
- Order_id cannot be the same as the already existing order id.
- 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.
- Inventory details of your Shiprocket account can be accessed using the ‘Get Inventory Details’ API.
Parameters:
| PARAMS | REQUIRED | DATA TYPE | DESCRIPTION | EXAMPLE |
|---|---|---|---|---|
order_id | YES | string | The order id you want to specify to the order. Max char: 20. (Avoid passing character values as this contradicts some other API calls). | 224477 or 224-477 |
order_date | YES | string | The date of order creation in yyyy-mm-dd format. Time is an additional option. | 2019-07-24 11:11 |
pickup_location | NO | string | The name of 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. | Jammu |
channel_id | YES | integer | The id of the specific channel to be selected. | 27022 |
comment | NO | string | Option to add ‘From’ field to the shipment. To do this, enter the name in the following format: ‘Reseller: [name].’ | Reseller: Divine |
billing_customer_name | YES | string | First name of the customer who is billed. | John |
billing_last_name | NO | string | Last name of the billed customer. | Doe |
billing_address | YES | string | Primary address of the billed customer. Min char: 3. | House 221B, Leaf Village |
billing_address_2 | NO | string | Further address details of the billed customer. | Near Hokage House |
billing_city | YES | string | Billing address city. Max char: 30. | New Delhi |
billing_pincode | YES | integer | Pincode of the billing address. | 110002 |
billing_state | YES | string | Billing address state. | Delhi |
billing_country | YES | string | Billing address country. | India |
billing_email | YES | string | Email address of the billed customer. | John@doe.com |
billing_phone | YES | integer | Phone number of the billed customer. | 9876543210 |
shipping_is_billing | YES | boolean | Whether the shipping address is the same as billing address. 1 or ‘true’ for yes and 0 or ‘false’ for no. | true |
shipping_customer_name | CONDITIONAL YES | string | Name of the customer the order is shipped to. Required in case billing is not same as shipping. | Jane |
shipping_last_name | NO | string | Last name of the shipping customer. | Doe |
shipping_address | CONDITIONAL YES | string | Address of the Shipping customer. Required in case billing is not same as shipping. | Lane 69 |
shipping_address_2 | NO | string | Further address details of shipping customer. | Andheri |
shipping_city | CONDITIONAL YES | string | Shipping address city. | Mumbai |
shipping_pincode | CONDITIONAL YES | integer | Shipping address pincode. | 200912 |
shipping_country | CONDITIONAL YES | string | Shipping address country. | India |
shipping_state | CONDITIONAL YES | string | Shipping address state. | Maharashtra |
shipping_email | CONDITIONAL YES | string | Email of the shipping customer. | jane@doe.com |
shipping_phone | CONDITIONAL YES | integer | Phone no. of the shipping customer | 9887655432 |
order_items | YES | / | Array containing further fields. | / |
name | YES | string | Name of the product. | Jeans |
sku | YES | string | The sku id of the product. | cbs123 |
units | YES | integer | No. of units that are to be shipped. | 10 |
selling_price | YES | integer | The selling price per unit in Rupee. Inclusive of GST. | 900 |
discount | NO | integer | The discount amount in Rupee. Inclusive of tax. | 10 |
tax | NO | integer | The tax percentage on the item. | 5 |
hsn | NO | integer | Harmonised System Nomenclature code. Used to determine the category of taxation the goods fall under. | 44122 |
payment_method | YES | string | The method of payment. Can be either COD (Cash on delivery) Or Prepaid. | COD |
shipping_charges | NO | integer | Shipping charges if any in Rupee. | 5 |
giftwrap_charges | NO | integer | Giftwrap charges if any in Rupee. | 5 |
transaction_charges | NO | integer | Transaction charges if any in Rupee. | 5 |
total_discount | NO | integer | The total discount amount in Rupee. | 15 |
sub_total | YES | integer | Calculated sub total amount in Rupee. | 9010 |
length | YES | integer | The length of the item in cms. Must be more than 0.5. | 10 |
breadth | YES | integer | The breadth of the item in cms. Must be more than 0.5. | 10 |
height | YES | integer | The height of the item in cms. Must be more than 0.5. | 10 |
weight | YES | integer | The weight of the item in kgs. Must be more than 0. | 2.5 |
OpenAPI snippet URL
PATCH /v1/external/orders/address/pickup
Summary: Change/Update Pickup Location of Created Orders
Using this API, you can modify the pickup location of an already created order. Multiple order ids can be passed to update their pickup location together.
Note:
- Pickup location can only be changed/updated to an already existing pickup location in your account.
- The ‘order_id’ to be passed is the Shiprocket order_id received at the time of order creation.
- Multiple order ids can be passed as an array, separated by commas. eg: [“141414,142424,143434”]
Parameters:
| PARAMS | REQUIRED | DATA TYPE | DESCRIPTION | EXAMPLE |
|---|---|---|---|---|
order_id | YES | integer | The Shiprocket order_id specified to the order. | 16167171 |
pickup_location | YES | string | The pickup location you want to change your current pickup location to. | Delhi |
OpenAPI snippet URL
POST /v1/external/orders/address/update
Summary: Update Customer Delivery Address
You can update the customer’s name and delivery address through this API by passing the Shiprocket order id and the necessary customer details.
Parameters:
| PARAMS | REQUIRED | DATA TYPE | DESCRIPTION | EXAMPLE |
|---|---|---|---|---|
order_id | YES | integer | The Shiprocket order_id specified to the order. | 16178831 |
shipping_customer_name | YES | string | The name of the customer. | John Doe |
shipping_phone | YES | integer | Phone number of the customer. | 9988998899 |
shipping_address | YES | string | Primary address of the customer. | House no 123 |
shipping_address_2 | NO | string | Further address details of the customer. | Beside CM house |
shipping_city | YES | string | Shipping city name. | Pune |
shipping_state | YES | string | Shipping state name. | Maharashtra |
shipping_country | YES | string | Shipping country name. | India |
shipping_pincode | YES | integer | Shipping address pincode. | 120023 |
shipping_email | NO | string | Customer’s email address. | john@doe.com |
billing_alternate_phone | NO | string | The customer alternate phone. | 8604690454 |
OpenAPI snippet URL
POST /v1/external/orders/update/adhoc
Summary: Update Order
Use this API to update your orders. You have to pass all the required params at the minimum to create a quick custom order. You can add additional parameters as per your preference.
You can update only the order_items details before assigning the AWB (before Ready to Ship status). You can only update these key-value pairs i.e increase/decrease the quantity, update tax/discount, add/remove product items.
OpenAPI snippet URL
POST /v1/external/orders/cancel
Summary: Cancel an Order
Use this API to cancel a created order. Multiple order_ids can be passed together as an array to cancel them simultaneously.
Parameters:
| PARAMS | REQUIRED | DATA TYPE | DESCRIPTION | EXAMPLE |
|---|---|---|---|---|
ids | YES | integer | The Shiprocket order id/ids of the orders that need to be canceled. | 16178831 |
OpenAPI snippet URL
PATCH /v1/external/orders/fulfill
Summary: Add Inventory for Ordered Product
Use this API to add inventory for ordered products that are out of stock or low on quantity. You have to pass the order id and order product id. You can also specify the number of items.
Notes:
- Inventory sync of your account must be turned on to use this API.
- The order_id to be passed is the shiprocket order id. If you don’t know the product id, Use the ‘Get Product Details’ API to get details about all the existing products.
Parameters:
| PARAMS | REQUIRED | DATA TYPE | DESCRIPTION | EXAMPLE |
|---|---|---|---|---|
order_id | YES | integer | The Shiprocket order_id specified to the order. | 16167171 |
order_product_id | YES | integer | The product id of the product to be added. | 17171717 |
quantity | YES | string | The number of items you want to add. | 10 |
action | YES | string | The action you want to carry out. Is ‘add’. | add |
OpenAPI snippet URL
PATCH /v1/external/orders/mapping
Summary: Map Unmapped Products
This API maps your unmapped inventory products.
Note:
- Products must be unmapped to run this API successfully.
- Inventory sync must be turned on to use this API.
Parameters:
| PARAMS | REQUIRED | DATA TYPE | DESCRIPTION | EXAMPLE |
|---|---|---|---|---|
order_id | YES | integer | The Shiprocket order_id specified to the order. | 16167171 |
order_product_id | YES | integer | The product id of the product to be mapped. | 17171717 |
master_sku | YES | string | The sku id of the product. In the case of a single integrated channel, master sku is the same as channel_sku; Otherwise, it can be found using the ‘Get All Products’ API. | chakra123 |
OpenAPI snippet URL
POST /v1/external/orders/import
Summary: Import Orders in Bulk
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.
OpenAPI snippet URL
POST /v1/external/courier/assign/awb
Summary: Generate AWB for Shipment
This API can be used to assign the AWB (Air Waybill Number) to your shipment. The AWB is a unique number that helps you track the shipment and get details about it.
Parameters:
| PARAMS | REQUIRED | DATA TYPE | DESCRIPTION | EXAMPLE |
|---|---|---|---|---|
shipment_id | YES | integer | The shipment id of the order you want to create the AWB for. | 16016920 |
courier_id | NO | integer | The courier id of the courier service you want to select. The default courier is selected in case no id is specified. | 10 |
status | NO | string | Use this to change the courier of a shipment. Value: reassign. Note that this can be done only once in 24 hours. | reassign |
OpenAPI snippet URL
GET /v1/external/courier/courierListWithCounts
Summary: List of Couriers
Use this API to check the list of couriers and the related information with Shiprocket based on the search criteria.
Note:
- This API will work on a company level.
- You can use filters to sort your data. By default, all the couriers are shown if no filter is used.
- total_courier_count will change based on the filter used.
Parameters:
| PARAMS | REQUIRED | DATA TYPE | DESCRIPTION | EXAMPLE |
|---|---|---|---|---|
type | NO | string | Use this as a parameter. Possible values are : active/inactive/all | https://apiv2.shiprocket.in/v1/external/courier/courierListWithCounts?type=active |
OpenAPI snippet URL
GET /v1/external/courier/serviceability/
Summary: Check Courier Serviceability
Use this API to check the availability of couriers between the pickup and delivery postal codes.
Further details like the estimated time of delivery, the rates along with the ids are also shown.
Note:
- One of either the ‘order_id’ or ‘cod’ and ‘weight’ is required. If you specify the order id, the cod and weight fields are not required and vice versa.
- You can add further fields to add the shipment details and filter the search.
Parameters:
| PARAMS | REQUIRED | DATA TYPE | DESCRIPTION | EXAMPLE |
|---|---|---|---|---|
pickup_postcode | YES | integer | Postcode from where the order will be picked. | 110030 |
delivery_postcode | YES | integer | Postcode where the order will be delivered | 122002 |
order_id | NO | integer | If order id is already created in Shiprocket panel then you can use this shiprocket order id in servicibility | 123456 |
cod | CONDITIONAL YES | boolean | 1 for Cash on Delivery and 0 for Prepaid orders. | 1 |
weight | CONDITIONAL YES | string | The weight of shipment in kgs. | 2 |
length | NO | integer | The length of the shipment in cms. | 15 |
breadth | NO | integer | The breadth of the shipment in cms. | 10 |
height | NO | integer | The height of the shipment in cms. | 5 |
declared_value | NO | integer | The price of the order shipment in rupees. | 50 |
mode | NO | string | The mode of travel. Either: Surface or Air | Air |
is_return | NO | integer | Whether the order is a return order or not. 1 in case of Yes and 0 for No. (declared_value field is required in case you use this parameter) | 0 |
couriers_type | NO | integer | Use this to filter out and show only “documents” couriers like XB documents, etc. The only accepted value is 1. | 1 |
only_local | NO | integer | Use this to filter out and show only Hyperlocal couriers. The only accepted value is 1. | 1 |
qc_check | CONDITIONAL YES | integer | Use this filter to show only the QC-enabled couriers. is_return has to be set to 1 | 1 |
OpenAPI snippet URL
POST /v1/external/courier/generate/pickup
Summary: Request for Shipment Pickup
Use this API to create a pickup request for your order shipment. The API returns the pickup status along with the estimated pickup time.
You will have to call the ‘Generate Manifest’ API after the successful response of this API.
Note:
- The AWB must be already generated for the shipment id to generate the pickup request.
- Only one shipment_id can be passed at a time.
- In case the pickup_date falls on a holiday or Sunday, the shipment will be booked for the next available date.
Parameters:
| PARAMS | REQUIRED | DATA TYPE | DESCRIPTION | EXAMPLE |
|---|---|---|---|---|
shipment_id | YES | integer | The shipment id of the shipment which is requested for pickup. | [16090109] |
status | NO | string | Use this field to retry if the pickup request fails. Value: retry | retry |
pickup_date | NO | Array of Dates | Use this field to schedule a pickup for a future date. The date format would be YYYY-MM-DD. You can reschedule the date till that date has not passed | [“2022-06-04”] |
OpenAPI snippet URL
GET /v1/external/orders
Summary: Get all Orders
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.
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.
You can also fetch the data based on the order update date. PFB the validations:
1. if updated_to => passed and updated_from not passed =>, error will come => Please send update_from date along with update_to date
2. if updated_from => passed and updated_to => paased => and from-to > 30 then error => Difference between updated_from and update_to date should not be greater than 30 days.
3. if updated_From < 30 then error => Updated_from date should not be less than 30 days from current date
Parameters:
| PARAMS | REQUIRED | DATA TYPE | DESCRIPTION | EXAMPLE |
|---|---|---|---|---|
page | NO | integer | The page number to display. | 5 |
per_page | NO | integer | The number of entries per page. | 5 |
sort | NO | string | Sort conditions: ASC or DESC | ASC |
sort_by | NO | string | The Field to sort by: id or status | id |
to | NO | string | The end date. | 2018-07-24 |
from | NO | string | The start date. | 2019-07-24 |
filter_by | NO | string | Field to filter by. | status, payment_method, delivery_country, channel_order_id |
filter | NO | string | Value of the field | |
search | NO | string | Search for AWB or by Channel order_id (order id specified by you). | 224477 |
pickup_location | NO | string | Search Orders on the basis of pickup location. | xyz |
channel_id | NO | integer | Channel ID Returned in Get Integrated Channels API | 123 |
fbs | NO | integer | Use this filter if you want to view and filter the SRF orders | 0 or 1 |
OpenAPI snippet URL
GET /v1/external/orders/show
Summary: Get Specific Order Details
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}.
No other body parameters are required.
Note:
For SRF orders, you’ll receive an extra parameter viz., fulfillment_status. This key will have four values:
- Ready to Pack,
- Packed
- Added to Picklist
- Picked up
Path:
OpenAPI snippet URL
POST /v1/external/orders/export
Summary: Export your orders
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.
The CSV file containing is accessible via this URL. No parameters are required to access this API.
OpenAPI snippet URL
POST /v1/external/orders/create/return
Summary: Create a Return Order
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.
The parameter specifications are the same as the custom order API, with a few exceptions.
Parameters:
| PARAMS | REQUIRED | DATA TYPE | DESCRIPTION | EXAMPLE |
|---|---|---|---|---|
order_id | YES | string | The order id you want to specify to the order. Max char: 50. (Avoid passing character values as this contradicts some other API calls) | 99711997 |
order_date | YES | string | The date of order creation in yyyy-mm-dd format. Time is an additional option. | 2019-08-05 |
channel_id | YES | integer | Id of the desired channel where the order is to be placed. ‘Custom’ channel id is selected in case parameter is not filled. | 768903 |
pickup_customer_name | YES | string | The customer’s first name. | John |
pickup_last_name | NO | string | The customer’s last name. | Doe |
pickup_address | YES | string | The customer’s primary address. | Home |
pickup_address_2 | NO | string | Additional customer address details. | DDA |
pickup_city | YES | string | The customer’s city name. | Delhi |
pickup_state | YES | string | The customer’s state. | New Delhi |
pickup_country | YES | string | Customer’s country name. | India |
pickup_pincode | YES | integer | Pincode of the customer address. | 110002 |
pickup_email | YES | string | Customer’s email address. | john@doe.com |
pickup_phone | YES | string | Customer’s phone number. | 9999999999 |
pickup_isd_code | NO | string | ISD code. | 91 |
pickup_location_id | NO | integer | Return pickup location address ID. | 41514 |
shipping_customer_name | YES | string | The name of the seller the package is shipped back to. | Jane |
shipping_last_name | NO | string | The last name of the seller. | Doe |
shipping_address | YES | string | The address the package is shipped to. | Castle |
shipping_address_2 | NO | string | Further shipping address details. | Bridge |
shipping_city | YES | string | The shipping address city. | Mumbai |
shipping_country | YES | string | The shipping address country. | India |
shipping_pincode | YES | integer | The shipping pincode. | 220022 |
shipping_state | YES | string | Shipping address state. | Maharashtra |
shipping_email | NO | string | The email of the seller the package is shipped to. | jane@doe.com |
shipping_isd_code | NO | string | The shipping isd code. | 91 |
shipping_phone | YES | integer | Phone no. of the shipping customer | 8888888888 |
order_items | YES | / | Array containing further fields. | / |
name | YES | string | Name of the product. | ball123 |
sku | YES | string | The sku id of the product. | Tennis Ball |
units | YES | integer | No of units that are to be shipped. | 1 |
selling_price | YES | integer | The selling price per unit in Rupee. Inclusive of GST. | 10 |
discount | NO | integer | The discount amount in Rupee. Inclusive of tax. | 0 |
hsn | NO | string | Harmonised System Nomenclature code. Used to determine the category of taxation the goods fall under. | 4412 |
qc_enable | CONDITIONAL YES | string | If True, QC will be performed for that product and QC will be performed only for a single SKU per order | true/false |
qc_color | NO | varchar(180) | The color of the product can be passed in this parameter | Red |
qc_brand | NO | varchar(255) | The brand of the product can be passed in this parameter | 768903 |
qc_serial_no | NO | varchar(255) | The serial number of the product can be passed in this parameter | T13123124 |
qc_ean_barcode | NO | varchar(255) | EAN/Barcode of the product can be passed in this parameter | QWRE123 |
qc_size | NO | varchar(180) | The size of the product can be passed in this parameter | 8 |
qc_product_name | NO | varchar(255) | If qc_enable set True, then Product name should be passed in this parameter | Shoes |
qc_product_image | NO | varchar(255) | If qc_enable set True, then Product image should be passed in this parameter (only png/jpg format supported) | https://s3-ap-southeast-1.amazonaws.com/kr-multichannel/1636713733zxjaV.png |
payment_method | YES | string | The method of payment. Can be either COD (Cash on delivery) Or Prepaid. | Prepaid |
total_discount | NO | string | The total discount amount in Rupee. | 0 |
sub_total | YES | integer | Calculated sub total amount in Rupee after deductions. | 10 |
length | YES | float | The length of the shipment in cms. | 10 |
breadth | YES | float | The breadth of the shipment in cms. | 15 |
height | YES | float | The height of the shipment in cms. | 20 |
weight | YES | float | The shipment weight in kgs. | 1 |
OpenAPI snippet URL
GET /v1/external/orders/processing/return
Summary: Get All Return Orders
Using this API, you can get a list of all created return orders in your Shiprocket account, along with their details.
No parameters are required to use the API. However, further parameters can be defined to sort and filter the data.
Parameters:
| PARAMS | REQUIRED | DATA TYPE | DESCRIPTION | EXAMPLE |
|---|---|---|---|---|
page | NO | integer | The page number to display. | 1 |
per_page | NO | integer | The number of orders per page. | 2 |
to | NO | string | Ending date of search. | 2019-08-04 |
from | NO | string | Starting date of search. | 2019-08-05 |
OpenAPI snippet URL
GET /v1/external/shipments
Summary: Get All Shipment Details
Use this API to get the shipment details of all the shipments in your Shiprocket account.
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.
Parameters:
| PARAMS | REQUIRED | DATA TYPE | DESCRIPTION | EXAMPLE |
|---|---|---|---|---|
sort | NO | string | The sort format: ASC or DESC | ASC |
sort_by | NO | string | The field to sort by. | id |
filter | NO | string | The filter value. | 141121 |
filter_by | NO | string | The filed to filter by. | id |
OpenAPI snippet URL
POST /v1/external/orders/cancel/shipment/awbs
Summary: Cancel a Shipment
Use this API to cancel a created shipment before the “Out for Pickup” state. Multiple AWBs can be passed together as an array to cancel them simultaneously.
Limit: 2000 AWBs
Parameters:
| PARAMS | REQUIRED | DATA TYPE | DESCRIPTION | EXAMPLE |
|---|---|---|---|---|
awbs | YES | string | The AWB/List of AWBs that need to be canceled. | 19041211125783 |
OpenAPI snippet URL
POST /v1/external/manifests/generate
Summary: Generate Manifest
Using this API, you can generate the manifest for your order. This API generates the manifest and displays the download URL of the same.
Note:
- Multiple ids can also be passed as an array for bulk generation of manifests.
- AWB must be assigned and pickup requested on the shipment id to generate manifest.
Parameters:
| PARAMS | REQUIRED | DATA TYPE | DESCRIPTION | EXAMPLE |
|---|---|---|---|---|
shipment_id | YES | integer | The shipment id of the order. Multiple ids can be passed as an array, separated by commas. | [16090109] |
OpenAPI snippet URL
POST /v1/external/manifests/print
Summary: Print Manifest
Use this API to print the generated manifest of orders at an individual level.
Note
- Manifest needs to be generated first for this API to print it. Use the ‘Generate Manifest’ API to do the same.
- Multiple order ids can be passed together.
Parameters:
| PARAMS | REQUIRED | DATA TYPE | DESCRIPTION | EXAMPLE |
|---|---|---|---|---|
order_ids | YES | integer | The Shiprocket order id of whose manifest is to be generated. Multiple ids can be passed together as an array. | [16090109] |
OpenAPI snippet URL
POST /v1/external/courier/generate/label
Summary: Generate Label
Generate the label of order by passing the shipment id in the form of an array. This API displays the URL of the generated label.
Note:
- The AWB must be assigned to the shipment to generate the label.
- ‘shipment_id’ must be passed as an array.
Parameters:
| PARAMS | REQUIRED | DATA TYPE | DESCRIPTION | EXAMPLE |
|---|---|---|---|---|
shipment_id | YES | integer | The shipment id of the order whose label is to be generated. Multiple ids can be passed together as an array. | [16104408,16104409] |
OpenAPI snippet URL
POST /v1/external/orders/print/invoice
Summary: Generate Invoice
Use this API to generate the invoice for your order by passing the respective Shiprocket order ids.
The generated invoice URL is displayed as a response. Multiple ids can be passed together as an array.
Note
- Order ids must be passed as an array.
Parameters:
| PARAMS | REQUIRED | DATA TYPE | DESCRIPTION | EXAMPLE |
|---|---|---|---|---|
ids | YES | integer | The Shiprocket order id of the orders whose invoices are to be created. Multiple ids can be passed together as an array. | [16255275,16255276] |
OpenAPI snippet URL
POST /v1/external/shipments/create/forward-shipment
Summary: Forward
Use this API to do multiple tasks in one go, namely creating a quick order, requesting its shipment, and finally generating the label and the manifest for the same order.
This API integrates several other APIs to perform all these tasks together.
Notes:
- Use the ‘vendor_details’ array to add a new pickup location to your account and assign it to your order.
- The ‘pickup_location’ field must contain a new pickup location name for adding a new pickup location to your Shiprocket account.
- In case of multiple items per order, please pass the final weight (sum total weight of items) of the shipment.
Parameters:
| PARAMS | REQUIRED | DATA TYPE | DESCRIPTION | EXAMPLE |
|---|---|---|---|---|
mode | NO | string | The mode of shipment, either surface or air. Value: Surface or Air | Air |
request_pickup | NO | boolean | Use false if you dont want to request pickup. Default value is true. | true |
print_label | NO | boolean | Use false if you dont want to print label. Default value is true. | true |
generate_manifest | NO | boolean | Use false if you dont want to generate manifest. Default value is true. | true |
ewaybill_no | NO | string | Details relating to the shipment of goods. | K92373490 |
courier_id | NO | integer | The courier id of the courier you want to assign. Refer to the servicability API to get id. | 10 |
reseller_name | NO | string | The ‘from’ name if you want to print. Use ‘Reseller: [name]‘ | Reseller: Divine |
order_id | YES | string | The custom reference id you want to assign to the order. | 2477 |
isd_code | NO | string | The isd code | 91 |
billing_isd_code | NO | string | The billing isd code. | 91 |
order_date | YES | string | The date of the creation of order. | 2019-08-04 |
channel_id | NO | integer | The channel id of the specific channel. Use the Channels API to get id. | 72505 |
company_name | NO | string | Name of the company. | Amazon |
billing_customer_name | YES | string | The first name of customer to be billed. | John |
billing_last_name | NO | string | The last name of the billing customer. | Doe |
billing_address | YES | string | The primary billing address. | House no 21 |
billing_address_2 | NO | string | Additional billing address details. | Street 2, Dwarka |
billing_city | YES | string | The billing city. | Delhi |
billing_state | YES | string | The billing address state. | New Delhi |
billing_country | YES | string | The billing address country. | India |
billing_pincode | YES | integer | The pincode of the billing address. | 110002 |
billing_email | YES | string | The billing customer email. | john@doe.com |
billing_phone | YES | integer | The billing customer phone. | 9999998899 |
billing_alternate_phone | NO | integer | The billing customer alternate phone. | 8404690454 |
shipping_is_billing | YES | boolean | Whether shipping details are the same as billing details. true for yes false for no. | true |
shipping_customer_name | CONDITIONAL YES | string | Shipping customer’s first name. | Jane |
shipping_last_name | NO | string | Shipping customer’s last name. | Doe |
shipping_address | CONDITIONAL YES | string | The shipping address. | House no X |
shipping_address_2 | NO | string | Additional shipping address details. | Street X |
shipping_city | CONDITIONAL YES | string | The shipping city. | Mumbai |
shipping_state | CONDITIONAL YES | string | The state of the shipping address. | Maharashtra |
shipping_country | CONDITIONAL YES | string | The shipping address country. | India |
shipping_pincode | CONDITIONAL YES | integer | Shipping pincode. | 230023 |
shipping_email | CONDITIONAL YES | string | The email of the shipping customer. | Jane@Doe.com |
shipping_phone | CONDITIONAL YES | integer | The phone number of the shipping customer. | 8877997799 |
order_items | YES | / | Array containing further parameters. | / |
name | YES | string | The name of the product. | Jeans |
sku | YES | string | sku Code of the product. | Bat |
units | YES | integer | Number of units. | 10 |
hsn | NO | integer | HSN code if available. | 4412 |
selling_price | YES | string | The selling price of each unit inclusive of GST. | 200 |
tax | NO | integer | The tax applied in percent. | 20 |
discount | NO | integer | The discount amount inclusive of tax. | 20 |
payment_method | YES | string | If the payment method is Cash on delivery (COD) or Prepaid. | COD |
shipping_charges | NO | integer | The shipping charges if any in rupees. | 5 |
giftwrap_charges | NO | integer | The gift-wrap charges if any in rupees. | 5 |
transaction_charges | NO | integer | The transaction charges if any in rupees. | 10 |
total_discount | NO | integer | The discount amount in rupees. | 15 |
sub_total | YES | integer | The sub total amount in rupees. | 1800 |
weight | YES | string | The weight of the shipment in kgs. | 2 |
length | YES | integer | The length of the shipment in cms. Must be more than 0.5 | 10 |
breadth | YES | integer | The breadth of the shipment in cms. Must be more than 0.5 | 15 |
height | YES | integer | The height of the shipment in cms. Must be more than 0.5 | 20 |
pickup_location | YES | string | 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. | Office |
customer_gstin | NO | string | Goods and Services Tax Identification Number. | 29ABCDE1234F2Z5 |
vendor_details | NO | / | Array containing further parameters. Use to assign/add a new pickup location to your account. | / |
email | CONDITIONAL YES | string | The shipper’s email address. | john@doe.com |
phone | CONDITIONAL YES | integer | The shipper’s phone number. | 8888999888 |
name | CONDITIONAL YES | string | The shipper’s name. | John Doe |
address | CONDITIONAL YES | string | The pickup location address. Min 10 characters. | Office Building |
address_2 | NO | string | Additional address details. Min 10 characters. | Street 2 house 4 |
city | CONDITIONAL YES | string | The pickup location city. | Pune |
state | CONDITIONAL YES | string | The pickup state. | Maharashtra |
country | CONDITIONAL YES | string | The pickup location country. | India |
pin_code | CONDITIONAL YES | integer | The pickup pincode. | 200099 |
pickup_location | CONDITIONAL YES | string | New pickup location name. Max: 36 char. Alphanumeric only. | New Office |
order_type | NO | string | Key to differentiate between Essentials or Non Essentials Shipments. Order type can only be ESSENTIALS or NON ESSENTIALS. Please note it is case sensitive and blank values are allowed | ESSENTIALS |
longitude | NO | float | Destination (Shipping address) Longitude. | 69.0747 |
latitude | NO | float | Destination (Shipping address) Latitude | 22.4064 |
what3words_address | NO | string | What3words is a proprietary geocode system designed to identify any location on the surface of Earth with a resolution of about 3 meters. The system encodes geographic coordinates into three permanently fixed dictionary words. | toddler.geologist.animated |
OpenAPI snippet URL
POST /v1/external/shipments/create/return-shipment
Summary: Return
Use this API to perform multiple tasks like Create, AWB generation & scheduling reverse pickups for your Returns.
The specifications are the same as the custom return order API, with a few exceptions.
Notes:
- pickup_location field is not required.
- Label and Manifest are not required in case of returns.
Parameters:
| PARAMS | REQUIRED | DATA TYPE | DESCRIPTION | EXAMPLE |
|---|---|---|---|---|
order_id | YES | string | The order id you want to specify to the order. Max char: 20. (Avoid passing character values as this contradicts some other API calls) | 99711997 |
order_date | YES | string | The date of order creation in yyyy-mm-dd format. Time is an additional option. | 2019-08-05 |
channel_id | NO | integer | Id of the desired channel where the order is to be placed. ‘Custom’ channel id is selected in case parameter is not filled. | 768903 |
pickup_customer_name | YES | string | The customer’s first name. | John |
pickup_last_name | NO | string | The customer’s last name. | Doe |
company_name | NO | string | Name of the company | Amazon |
pickup_address | YES | string | The customer’s primary address. | Home |
pickup_address_2 | NO | string | Additional customer address details. | DDA |
pickup_city | YES | string | The customer’s city name. | Delhi |
pickup_state | YES | string | The customer’s state. | New Delhi |
pickup_country | YES | string | Customer’s country name. | India |
pickup_pincode | YES | integer | Pincode of the customer address. | 110002 |
pickup_email | YES | string | Customer’s email address. | john@doe.com |
pickup_phone | YES | string | Customer’s phone number. | 9999999999 |
pickup_isd_code | NO | string | ISD code. | 91 |
shipping_customer_name | YES | string | The name of the seller the package is shipped back to. | Jane |
shipping_last_name | NO | string | The last name of the seller. | Doe |
shipping_address | YES | string | The address the package is shipped to. | Castle |
shipping_address_2 | NO | string | Further shipping address details. | Bridge |
shipping_city | YES | string | The shipping address city. | Mumbai |
shipping_country | YES | string | The shipping address country. | India |
shipping_pincode | YES | integer | The shipping pincode. | 220022 |
shipping_state | YES | string | Shipping address state. | Maharashtra |
shipping_email | YES | string | The email of the seller the package is shipped to. | jane@doe.com |
shipping_isd_code | NO | string | The shipping isd code. | 91 |
shipping_phone | YES | integer | Phone no. of the shipping customer | 8888888888 |
order_items | YES | / | Array containing further fields. | / |
name | YES | string | Name of the product. | ball123 |
sku | YES | string | The sku id of the product. | Tennis Ball |
units | YES | integer | No of units that are to be shipped. | 1 |
selling_price | YES | integer | The selling price per unit in Rupee. Inclusive of GST. | 10 |
discount | NO | integer | The discount amount in Rupee. Inclusive of tax. | 0 |
hsn | NO | string | Harmonised System Nomenclature code. Used to determine the category of taxation the goods fall under. | 4412 |
qc_enable | CONDITIONAL YES | string | If True, QC will be performed for that product and QC will be performed only for a single SKU per order | TRUE/FALSE |
qc_color | NO | varchar(180) | The color of the product can be passed in this parameter | Red |
qc_brand | NO | varchar(255) | The brand of the product can be passed in this parameter | 768903 |
qc_serial_no | NO | varchar(255) | The serial number of the product can be passed in this parameter | T13123124 |
qc_ean_barcode | NO | varchar(255) | EAN/Barcode of the product can be passed in this parameter | QWRE123 |
qc_size | NO | varchar(180) | The size of the product can be passed in this parameter | 8 |
qc_product_name | NO | varchar(255) | If qc_enable set True, then Product name should be passed in this parameter | Shoes |
qc_product_image | NO | varchar(255) | If qc_enable set True, then Product image should be passed in this parameter (only png/jpg format supported) | https://s3-ap-southeast-1.amazonaws.com/kr-multichannel/1636713733zxjaV.png |
payment_method | YES | string | The method of payment. Can be either COD (Cash on delivery) Or Prepaid. | Prepaid |
total_discount | NO | string | The total discount amount in Rupee. | 0 |
sub_total | YES | integer | Calculated sub total amount in Rupee after deductions. | 10 |
length | YES | integer | The length of the shipment in cms. | 10 |
breadth | YES | integer | The breadth of the shipment in cms. | 15 |
height | YES | integer | The height of the shipment in cms. | 20 |
weight | YES | integer | The shipment weight in kgs. | 1 |
request_pickup | NO | boolean | Use false if you dont want to request pickup. Default value is true. | true |
OpenAPI snippet URL
GET /v1/external/ndr/all
Summary: Get All NDR Shipments
This API call will display a list of all the shipments that are in NDR in your Shiprocket account.
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.
Parameters:
| PARAMS | REQUIRED | DATA TYPE | DESCRIPTION | EXAMPLE |
|---|---|---|---|---|
page | NO | integer | The page number to display. | 5 |
per_page | NO | integer | The number of entries per page. | 5 |
to | NO | string | The end date. | 2021-08-02 |
from | NO | string | The start date. | 2021-08-02 |
search | NO | string | Search for AWB. | 224477 |
OpenAPI snippet URL
GET /v1/external/ndr/{AWB}
Summary: Get Specific NDR Shipment Details
Get the shipment details of a particular order through this API by passing the AWB number in the endpoint URL itself. You can get the details like AWB, NDR Attempt, NDR Reason, Customer Details, Product Details, Courier.
Type in your AWB code in place of {AWB}. No other body parameters are required.
Path:
OpenAPI snippet URL
PARAMETERS /v1/external/ndr/{AWB}
OpenAPI snippet URL
POST /v1/external/ndr/{awb}/action
Summary: Action NDR
This API will let you take actions like Reattempt and RTO on the shipments that are in NDR.
Parameters:
| PARAMS | REQUIRED | DATA TYPE | DESCRIPTION | EXAMPLE |
|---|---|---|---|---|
action | YES | string | The action needs to be specified | ‘fake-attempt’ or ‘re-attempt’ or ‘return’ |
comments | YES | string | Any comment can be mentioned | The Byer does not want the product |
phone | NO | string | The phone number will be updated at the time of re-attempt and fake-attempt | 9999988888 |
proof_audio | CONDITIONAL YES | string | URL of the audio which will be updated at the time of the fake attempt | https://s3-ap-southeast-1.amazonaws.com/kr-multichannel/imports/ndr/1655100133_file_example_MP3_700KB.mp3 |
proof_image | CONDITIONAL YES | string | URL of the image which will be updated at the time of the fake attempt | https://s3-ap-southeast-1.amazonaws.com/kr-multichannel/imports/ndr/img_7687678678.jpg |
remarks | CONDITIONAL YES | string | Remarks will be updated at the time of a fake attempt | Delivery Requested |
address1 | NO | string | address1 will be updated at the time of re-attempt and fake-attempt | U-56, sector-23, Noida, India |
address2 | NO | string | addres2 will be updated at the time of re-attempt and fake-attempt | U-56, sector-23, Noida, India |
deferred_date | NO | date(string) | Deferred date will be updated as preferred_date at the time of fake-attempt and re-attempt | 2022-08-10 |
OpenAPI snippet URL
PARAMETERS /v1/external/ndr/{awb}/action
OpenAPI snippet URL
GET /v1/external/courier/track/awb/{awb_code}
Summary: Get Tracking through AWB
Get the tracking details of your shipment by entering the AWB code of the same in the endpoint URL itself. No other body parameters are required to access this API.
The response is displayed in JSON format.
Path:
OpenAPI snippet URL
PARAMETERS /v1/external/courier/track/awb/{awb_code}
OpenAPI snippet URL
POST /v1/external/courier/track/awbs
Summary: Get Tracking Data for Multiple AWBS
Get the tracking details of multiple shipments by entering their AWB codes together as an array.
The response is displayed in JSON format.
Notes:
- Data must be passed as a string array.
- Maximum of 50 AWB codes is supported at a time.
Parameters:
| PARAMS | REQUIRED | DATA TYPE | DESCRIPTION | EXAMPLE |
|---|---|---|---|---|
awbs | YES | string | The AWB codes of the shipments. Must be passed as an array. | [“788830567028”,“788829354408”] |
OpenAPI snippet URL
GET /v1/external/courier/track/shipment/{shipment_id}
Summary: Get Tracking through Shipment ID
Get the tracking details of your shipment by entering the shipment_id of the same in the endpoint URL. No other body parameters are required to access this API.
The response is displayed in JSON format.
Path:
OpenAPI snippet URL
PARAMETERS /v1/external/courier/track/shipment/{shipment_id}
OpenAPI snippet URL
GET /v1/external/courier/track
Summary: Get Tracking Data through Order iD
Get the tracking details of your shipment by entering the Order ID of the same in the endpoint URL itself. If you have the same order ID in more than one channel, then use the param channel_id.
The response is displayed in JSON format.
Parameters:
| PARAMS | REQUIRED | DATA TYPE | DESCRIPTION | EXAMPLE |
|---|---|---|---|---|
order_id | YES | string | The order ID/number of your store. | NO-123 |
channel_id | NO | integer | Channel ID corresponding to the store | 12345 |
Path:
OpenAPI snippet URL
GET /v1/external/settings/company/pickup
Summary: Get All Pickup Locations
Get a list of all pickup locations that have been added to your Shiprocket account through this API.
No parameters are required to use this API.
OpenAPI snippet URL
POST /v1/external/settings/company/addpickup
Summary: Add a New Pickup Location
This API can be used to add a new pickup location to your account.
Pass the minimum required parameters to add the location.
Further details to the address can be added if required.
Parameters:
| PARAMS | REQUIRED | DATA TYPE | DESCRIPTION | EXAMPLE |
|---|---|---|---|---|
pickup_location | YES | string | The nickname of the new pickup location. Max 36 characters. | Home |
name | YES | string | The shipper’s name. | Deadpool |
email | YES | string | The shipper’s email address. | deadpool@chimichanga.com |
phone | YES | integer | Shipper’s phone number. | 9777777779 |
address | YES | string | Shipper’s primary address. Max 80 characters. | Mutant Facility, Sector 3 |
address_2 | NO | string | Additional address details. | House number 34 |
city | YES | string | Pickup location city name. | Pune |
state | YES | string | Pickup location state name. | Maharashtra |
country | YES | string | Pickup location country. | India |
pin_code | YES | integer | Pickup location pincode. | 110022 |
lat | NO | float | Pickup location Latitude. | 22.4064 |
long | NO | float | Pickup location Longitude. | 69.0747 |
address_type | NO | string | To be given if address of different vendor is to be provided with pickup address | vendor |
vendor_name | NO | string | Name of vendor if address_type is vendor | John |
gstin | NO | string | gstin of vendor | 09XXXCH7409R1XXX |
OpenAPI snippet URL
GET /v1/external/international/orders/track
Summary: Tracking
Get the tracking details of your shipments. No other body parameters are required to access this API.
OpenAPI snippet URL
POST /v1/external/international/settings/international_kyc
Summary: International KYC
Use this API for your international KYC. This API return your KYC status.
Please check the documentation for the documents for KYC.
| PARAMS | REQUIRED DATA | DATA TYPE | DESCRIPTION | EXAMPLE |
|---|---|---|---|---|
| organization_type | Yes | string | Seller organization | company |
| ip_address | Yes | int unsigned | Seller’s ip_address | 192.168.1.1.0 |
| documents | Yes | array | Documentaion for organization type (document size is not greater than 3 MB) | Please check request |
OpenAPI snippet URL
POST /v1/external/international/settings/add-bank-details
Summary: Add Bank Details
ThisdocumentationprovidesinformationabouttheBankDetailsAPI,whichallowsyouto
addbankdetailsforinternationalsettings.TheAPIendpoint, parameters, request sample
data, success response , and failed response are outlined below.
| PARAMS | REQUIRED | DATA TYPE | DESCRIPTION | EXAMPLE |
|---|---|---|---|---|
| bank_account_type | YES | string | ankaccounttype.Mustbe either”saving”or”current”. | “saving” |
| beneficiary_name | YES | string | Beneficiaryname. Alphabetsandspacesonly | ”JohnDoe” |
| bank_ifsc_code | YES | string | BankIFSCcode.Must followaspecificpattern | ”ABCD0123456” |
| bank_account_number | YES | integer | Bankaccountnumber. Shouldbebetween9and 18digits. | 1234567890 |
OpenAPI snippet URL
POST /v1/external/international/orders/create/adhoc
Summary: Create order
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 catalogue.
You have to pass all the required params at the minimum to create a quick custom order. You can add additional parameters as per your preference.
Note:
- In case the ‘shipping_is_billing’ field is false, further shipping detail fields are required.
If no channel id is passed, the order will be assigned to the default custom channel. If the channel id is not known, use the ‘Get All Channels’ API to get the list of all integrated channels in your Shiprocket account.
- order_id field cannot be equal to an already existing id. Doing so does not change or affect the existing order.
- New orders cannot be created with order id’s same as that of cancelled orders. If error 422 shows up despite filling in the correct details, consider changing the order_id.
- Be sure to input the correct calculated sub_total amount. The total is not calculated automatically through the API.
- The ‘order_id’ returned in the response is the Shiprocket order_id. Please save this order ID as we will use this in future API calls.
Parameters:
| PARAMS | REQUIRED | DATA TYPE | DESCRIPTION | EXAMPLE |
|---|---|---|---|---|
order_id | YES | string | The order id you want to specify to the order. Max char: 50. (Avoid passing character values as this contradicts some other API calls). | 224477 or 224-477 |
order_date | YES | string | The date of order creation in yyyy-mm-dd format. Time is additional. | 2019-07-24 11:11 |
pickup_location | YES | string | The name of the pickup location added in your Shiprocket account. This cannot be a new location. | Jammu |
channel_id | NO | integer | Mention this in case you need to assign the order to a particular channel. Deafult is ‘Custom’. | 27022 |
comment | NO | string | Option to add ‘From’ field to the shipment. To do this, enter the name in the following format: ‘Reseller: [name]‘. | Reseller: Divine |
reseller_name | NO | string | The ‘from’ name if you want to print. Use ‘Reseller: [name]‘ | Reseller: Divine |
company_name | NO | string | Name of the company. | Amazon |
billing_customer_name | YES | string | First name of the billed customer. | John |
billing_last_name | NO | string | Last name of the billed customer. | Doe |
billing_address | NO | string | address details of the billed customer. | Civil line, House 20 |
billing_address_2 | NO | string | Further address details of the billed customer. | Near Hokage House |
billing_city | YES | string | Billing address city. Max char: 30. | New Delhi |
billing_pincode | YES | integer | Pincode of the billing address. | 110002 |
billing_state | YES | string | Billing address state. | Delhi |
billing_country | YES | string | Billing address country. | India |
billing_email | YES | string | Email address of the billed customer. | John@doe.com |
billing_phone | YES | integer | The phone number of the billing customer. | 9856321472 |
billing_alternate_phone | NO | integer | Alternate phone number of the billing customer. | 8604690454 |
shipping_is_billing | YES | boolean | Whether the shipping address is the same as billing address. 1 or ‘true’ for yes and 0 or ‘false’ for no. | true |
shipping_customer_name | CONDITIONAL YES | string | Name of the customer the order is shipped to. Required in case billing is not same as shipping. | Jane |
shipping_last_name | NO | string | Last name of the shipping customer. | Doe |
shipping_address | CONDITIONAL YES | string | Address of the Shipping customer. Required in case billing is not same as shipping. | Lane number 69 |
shipping_address_2 | NO | string | Further address details of shipping customer. | Andheri |
billing_isd_code | NO | string | ISD code of the billing address. | +91 |
shipping_city | CONDITIONAL YES | string | Shipping address city. | Mumbai |
shipping_pincode | CONDITIONAL YES | integer | Shipping address pincode. | 200912 |
shipping_country | CONDITIONAL YES | string | Shipping address country. | India |
shipping_state | CONDITIONAL YES | string | Shipping address state. | Maharashtra |
shipping_email | CONDITIONAL YES | string | Email of the shipping customer. | Jane@doe.com |
shipping_phone | CONDITIONAL YES | integer | Phone no. of the shipping customer. | |
longitude | NO | float | Destination (Shipping address) Longitude. | 69.0747 |
latitude | NO | float | Destination (Shipping address) Latitude | 22.4064 |
order_items | YES | / | List of items and their relevant fields in the form of Array. | / |
name | YES | string | Name of the product. | Jeans |
sku | YES | string | The sku id of the product. | cbs123 |
units | YES | integer | No of units that are to be shipped. | 10 |
selling_price | YES | integer | The selling price per unit in Rupee. Inclusive of GST. | 900 |
discount | NO | integer | The discount amount in Rupee. Inclusive of tax. | 10 |
tax | NO | integer | The tax percentage on the item. | 5 |
hsn | NO | integer | Harmonised System Nomenclature code. Used to determine the category of taxation the goods fall under. | 44122 |
payment_method | YES | string | The method of payment. Can be either COD (Cash on delivery) Or Prepaid. | COD |
shipping_charges | NO | integer | Shipping charges if any in Rupee. | 5 |
giftwrap_charges | NO | integer | Giftwrap charges if any in Rupee. | 5 |
transaction_charges | NO | integer | Transaction charges if any in Rupee. | 5 |
total_discount | NO | integer | The total discount amount in Rupee. | 15 |
sub_total | YES | integer | Calculated sub total amount in Rupee after deductions. | 9010 |
length | YES | float | The length of the item in cms. Must be more than 0.5. | 10 |
breadth | YES | float | The breadth of the item in cms. Must be more than 0.5. | 10 |
height | YES | float | The height of the item in cms. Must be more than 0.5. | 10 |
weight | YES | float | The weight of the item in kgs. Must be more than 0. | 2.5 |
ewaybill_no | NO | string | Details relating to the shipment of goods. . | K92373490 |
customer_gstin | NO | string | Goods and Services Tax Identification Number. | 29ABCDE1234F2Z5 |
invoice_number | NO | string | ||
order_type | NO | string | Key to differentiate between Essentials or Non Essentials Shipments. Order type can only be ESSENTIALS or NON ESSENTIALS. Please note it is case sensitive and blank values are allowed. | ESSENTIALS |
checkout_shipping_method | NO | string | Only for SRF users. | a. SR_RUSH: SDD, NDD b. SR_STANDARD: Surface Delivery c. SR_EXPRESS: Air Delivery d. SR_QUICK: 3 hrs delivery |
what3words_address | NO | string | What3words is a proprietary geocode system designed to identify any location on the surface of Earth with a resolution of about 3 meters. The system encodes geographic coordinates into three permanently fixed dictionary words. | toddler.geologist.animated |
| purpose_of_shipment | NO | interger | The purpose of the shipment. values are 0 - gift, 1- sample, commercial - 2. | 1 |
| currency | YES | string | The currency of the order. Possible values are INR,USD,GBP, EUR, AUD, CAD, SAR, AED,SGD | USD |
| reasonOfExport | YES | integer | The reason for the export. Possible values are 0 - BONAFIDE_SAMPLE, 1 - SAMPLE, 2 - GIFT, 3 - COMMERCIAL | 2 |
| commodity | NO | boolean | Indicates if the order is a commodity or not | true |
| mies | NO | true | ||
| igstPaymentStatus | NO | char | possible values are ‘A’- not applicable, ‘B’- LUT or Export under Bond, ‘C’- Export Against Payment of IGST | A |
| Terms_Of_Invoice | YES | string | FOB and CIF | FOB |
| ioss | YES | string | ||
| eori | YES | string |
OpenAPI snippet URL
POST /v1/external/international/orders/update/adhoc
Summary: Update order
Use this API to update your orders. You have to pass all the required params at the minimum to create a quick custom order. You can add additional parameters as per your preference.
You can update only the order_items details before assigning the AWB (before Ready to Ship status). You can only update these key-value pairs i.e increase/decrease the quantity, update tax/discount, add/remove product items. Some params specific to international order are.
| PARAMS | REQUIRED | DATA TYPE | DESCRIPTION | EXAMPLE |
|---|---|---|---|---|
| purpose_of_shipment | NO | interger | The purpose of the shipment. values are 0 - gift, 1- sample, commercial - 2. | 1 |
| currency | YES | string | The currency of the order. Possible values are INR,USD,GBP, EUR, AUD, CAD, SAR, AED,SGD | USD |
| reasonOfExport | No | integer | The reason for the export. Possible values are 0 - BONAFIDE_SAMPLE, 1 - SAMPLE, 2 - GIFT, 3 - COMMERCIAL | 2 |
| commodity | NO | boolean | Indicates if the order is a commodity or not | true |
| mies | No | boolean | true | |
| igstPaymentStatus | YES | char | possible values are ‘A’- not applicable, ‘B’- LUT or Export under Bond, ‘C’- Export Against Payment of IGST | A |
| Terms_Of_Invoice | no | string | The term of invoice either FOB and CIF | FOB |
OpenAPI snippet URL
POST /v1/external/international/shipments/create/forward-shipment
Summary: International Wrapper API
Use this API to do multiple tasks in one go, namely creating a quick order, requesting its shipment, pickup generation generating the label and the manifest for the same order.
This API integrates several other APIs to perform all these tasks together.
OpenAPI snippet URL
GET /v1/external/international/courier/serviceability
Summary: Serviceability
This API checks courier serviceability for international orders and displays them as a list.
Notes:
- ‘cod’ field must be 0 as COD is not available for international orders.
Parameters:
| PARAMS | REQUIRED | DATA TYPE | DESCRIPTION | EXAMPLE |
|---|---|---|---|---|
weight | YES | integer | The weight of the shipment. | 10 |
cod | YES | integer | Cash on delivery status. Must be 0. | 0 |
delivery_country | YES | string | The destination country ISO Alpha 2 code. | US |
order_id | NO | integer | The Shiprocket order_id of the shipment if available. | 1 |
pickup_postcode | NO | integer | Use this field to select a different pickup postcode other than the primary pickup address. | 2 |
OpenAPI snippet URL
POST /v1/external/international/courier/assign/awb
Summary: AWB Assignment
This API can be used to assign the AWB (Air Waybill Number) to your shipment. The AWB is a unique number that helps you track the shipment and get details about it.
| PARAMS | REQUIRED | DATA TYPE | DESCRIPTION | EXAMPLE |
|---|---|---|---|---|
| shipment_id | yes | integer | The shipment id of the order you want to create the AWB for. | 1603434 |
| courier_id | no | integer | The courier id of the courier service you want to select. The default courier is selected in case no id is specified. | 35 |
| status | no | string | Use this to change the courier of a shipment. Value: reassign. Note that this can be done only once in 24 hours. | reassign |
OpenAPI snippet URL
POST /v1/external/international/manifests/generate
Summary: Manifest Generation
Use this API to create a pickup request for your order shipment. The API returns the pickup status along with the estimated pickup time.
You will have to call the ‘Generate Manifest’ API after the successful response of this API.
Note:
- The AWB must be already generated for the shipment id to generate the pickup request.
- Only one shipment_id can be passed at a time.
| PARAMS | REQUIRED | DATA TYPE | DESCRIPTION | EXAMPLE |
|---|---|---|---|---|
| shipment_id | yes | integer | The shipment id of the shipment which is requested for pickup. | 1603434 |
| status | no | string | Use this field to retry if the pickup request fails. Value: retry | retry |
OpenAPI snippet URL
GET /v1/external/account/details/wallet-balance
Summary: Get Wallet Balance
Use this API to get the Wallet balance details of your Shiprocket account. No parameters are required to access this API.
OpenAPI snippet URL
GET /v1/external/products
Summary: Get All Products
This API can be used to display a detailed list of all the products that you have in your Shiprocket account.
There are no required parameters to access this API. However, the displayed result can be filtered or sorted using additional parameters.
Parameters:
| PARAMS | REQUIRED | DATA TYPE | DESCRIPTION | EXAMPLE |
|---|---|---|---|---|
page | NO | integer | The page number you want to display. | 5 |
per_page | NO | integer | The number of products to get per page. | 2 |
sort | NO | string | The order to sort by. Value: ASC or DESC | ASC |
sort_by | NO | string | Allows you to choose the value field by which the items will be sorted. Could be sorted by id, by sku, time created etc. | sku |
filter | NO | string | The data to be matched for the filter value. | 11223344 |
filter_by | NO | string | The filter value field . Can be id, sku, etc. | id |
OpenAPI snippet URL
POST /v1/external/products
Summary: Add New Products
Use this API to add a new product to your Shiprocket account. Provide the required product details and any additional info to successfully add a new product to your product list.
Notes:
- ‘sku’ Id has to be unique. It cannot be the same as an existing sku.
- In case no category code is added, the code should be default.
- ‘type’ field should be either ‘single’ or ‘multiple.‘
Parameters:
| PARAMS | REQUIRED | DATA TYPE | DESCRIPTION | EXAMPLE |
|---|---|---|---|---|
sku | YES | string | Stock Keeping Unit or the identification unit of an individual product (generally alphanumeric). | bat123 |
HSN | NO | string | Harmonised System Nomenclature. A code number is used to classify goods for taxation purposes. Done to determine which category of taxes do the goods come under. | 4412 |
name | YES | string | Name of the product. | Batman Toy |
tax_code | NO | string | The percentage of tax that is to be imposed. | 10 |
type | YES | string | If there is only one product or multiple types of products. Single or Multiple | Single. |
qty | YES | integer | Total Quantity of the products to be shipped. | 5 |
low_stock | NO | string | Specifies when the low stock notification should come on | / |
category_code | YES | string | You can add a category code to your ShipRocket account from “add category” | default |
description | NO | string | Gives a description of the product. | Batman plastic toy. |
brand | NO | string | The product brand name. | Bat |
size | NO | integer | The size of the product. | 25 |
weight | NO | integer | The weight of the product in kgs. | 0.5 |
length | NO | integer | The length of the product in cms. | 10 |
width | NO | integer | The width of the product in cms. | 5 |
height | NO | integer | The height of the product in cms. | 15 |
ean | NO | string | 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. | / |
upc | NO | string | Universal Product Code – Barcode for product identification which is used across the world. It is 12 digits long. | / |
isbn | NO | string | International Standard Book Number – Identification barcode for books, magazines, e-books and other published media. It is 10 digits long. | / |
color | NO | string | The colour of the product. | Black |
imei_serialnumber | NO | string | The International Mobile Equipment Identity Number, which is used by a network to identify valid devices. E.g. if two iPhones have to be shipped, they will have 2 IMEI numbers | / |
cost_price | NO | integer | The manufacture cost price of the product. | 500 |
mrp | NO | string | Maximum Retail Price. How much is the maximum price which the product can be sold at. | 1000 |
status | NO | boolean | In Boolean, if the product details have been successfully or unsuccessfully added. | 1 |
image_url | NO | string | Shows the URL of the product images which have been uploaded. | / |
OpenAPI snippet URL
GET /v1/external/products/show/{product_id}
Summary: Get Specific Product Details
Use this API to get the details of a specific product. The product details will be displayed in JSON format.
You need to pass the product id in the endpoint URL for the successful call of the API. No other body parameters are required.
Path:
OpenAPI snippet URL
PARAMETERS /v1/external/products/show/{product_id}
OpenAPI snippet URL
POST /v1/external/products/import
Summary: Bulk Import Products
Use this API to import your products in bulk from a .csv file. No parameters are required. Choose the target file as required. You will receive an import id upon successful import operation.
OpenAPI snippet URL
GET /v1/external/products/sample
Summary: Get Sample .csv Format
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.
No additional parameters are required.
OpenAPI snippet URL
GET /v1/external/listings
Summary: Get All Listings
This API can be used to get a JSON representation of all the product listings in your Shiprocket account, i.e., all the products associated with a specific channel.
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.
Parameters:
| PARAMS | REQUIRED | DATA TYPE | DESCRIPTION | EXAMPLE |
|---|---|---|---|---|
page | NO | integer | The page number you want to display. | 5 |
per_page | NO | integer | The number of listings to get per page. | 2 |
sort | NO | string | The order to sort by. Value: ASC or DESC | ASC |
sort_by | NO | string | Allows you to choose the value field by which the listings will be sorted. Could be sorted by id, by sku, time created etc. | sku |
filter | NO | string | The data to be matched for the filter value. | 11223344 |
filter_by | NO | string | The filter value field . Can be id, sku, etc. | id |
OpenAPI snippet URL
POST /v1/external/listings/link
Summary: Map Channel Product
Use this API to map a product present in the channel catalogue to a product present in the master catalogue.
Pass the product and listing id for the successful call of the API
Parameters:
| PARAMS | REQUIRED | DATA TYPE | DESCRIPTION | EXAMPLE |
|---|---|---|---|---|
product_id | YES | integer | The id of item in the master catalog. | 17908342 |
listing_id | YES | integer | The id of the product in the channel catalog. | 15897064 |
ID | NO | integer | The id placed in the respective ‘GET’ codes. | 15897064 |
OpenAPI snippet URL
POST /v1/external/listings/import
Summary: Import Catalog Mappings
Use this API to import a CSV file containing channel catalogue to the master catalogue mappings.
No other body parameters are required.
OpenAPI snippet URL
GET /v1/external/listings/export/mapped
Summary: Export Mapped Products
This API downloads the list of mapped items in your channel catalogue sheet. After mapping the items, you can see the number of products in one channel present in the Master Catalogue.
The downloaded CSV file URL is shared as the response. No other body parameters are required.
OpenAPI snippet URL
GET /v1/external/listings/export/unmapped
Summary: Export Unmapped Products
Get a list of all the unmapped products in your channel catalogue using this API.
The list is downloaded into a CSV file, and the download URL is displayed as the response. No other body parameters are required.
OpenAPI snippet URL
GET /v1/external/listings/sample
Summary: Export Catalog Sample
This API displays the download link of a sample catalogue sheet for reference purposes.
No additional parameters are required.
OpenAPI snippet URL
GET /v1/external/channels
Summary: Get Integrated Channel Details
This API shows a list of all the channels that have already been integrated with your Shiprocket account.
No parameters are required to access this API.
OpenAPI snippet URL
GET /v1/external/inventory
Summary: Get Inventory Details
This API can be used to check the inventory details of a product sku. There are no required parameters for this API, but additional parameters can be used to sort and filter the data.
In case no filter conditions are passed, the details are displayed in the default JSON format.
Parameters:
| PARAMS | REQUIRED | DATA TYPE | DESCRIPTION | EXAMPLE |
|---|---|---|---|---|
page | NO | integer | The page number to be displayed. | 4 |
per_page | NO | integer | The total products you want to diplay in each page. | 2 |
sort | NO | string | Sort conditions if any. Value: ASC or DESC | ASC |
sort_by | NO | integer | Allows you to choose the field by which the data will be sorted. Could be sorted by id, by sku, time created etc. | sku |
OpenAPI snippet URL
PUT /v1/external/inventory/{product_id}/update
Summary: Update Your Inventory
This API is used to update your product inventory details.
First, you need to pass the product_id of the product in the endpoint URL. You can then set the quantity and action you want to perform on the existing inventory of the specified product.
Note:
- The product_id can be found using the ‘Get Inventory Details’ API.
- The id is to be passed in the endpoint URL itself.
Path:
Parameters:
| PARAMS | REQUIRED | DATA TYPE | DESCRIPTION | EXAMPLE |
|---|---|---|---|---|
quantity | YES | integer | The quantity of the product you want. | 2 |
action | YES | integer | The action you want to perform. Value: - add : Adds the specific quantity to the product inventory. - replace : Replaces the existing quantity with the specified number. - remove : Removes the specific number from the product inventory. | add |
OpenAPI snippet URL
PARAMETERS /v1/external/inventory/{product_id}/update
OpenAPI snippet URL
GET /v1/external/countries
Summary: Get Country Codes
This API lists all the countries present in the Shiprocket database and the respective country ids, ISO 2 and ISO 3 codes.
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 dropdown menu.
No parameters are required to access this API.
OpenAPI snippet URL
GET /v1/external/countries/show/{country_id}
Summary: Get All Zones
Use this API to get a further list of all the available zones within a country, along with their ids and details.
The country ID must be passed as a path parameter to access this API. No other body parameters are required.
Path:
OpenAPI snippet URL
PARAMETERS /v1/external/countries/show/{country_id}
OpenAPI snippet URL
GET /v1/external/open/postcode/details
Summary: Get Locality Details
Use this API to get further locality details of any given postcode. Just pass the valid locality Pincode, and the details will be displayed in JSON format.
Parameters:
| PARAMS | REQUIRED | DATA TYPE | DESCRIPTION | EXAMPLE |
|---|---|---|---|---|
postcode | YES | integer | The Pincode you want to get the locality details. | 110077 |
OpenAPI snippet URL
GET /v1/external/account/details/statement
Summary: Get Stament Details
Use this API to get the account statement details of your Shiprocket account. No parameters are required to access this API. However, you sort and filter the data displayed using the optional parameters.
Parameters:
| PARAMS | REQUIRED | DATA TYPE | DESCRIPTION | EXAMPLE |
|---|---|---|---|---|
page | NO | integer | The page number you want to display. | 5 |
per_page | NO | integer | The number of orders to get per request. | 2 |
from | NO | string | From a specific date. | 2017-08-12 |
to | NO | string | To a specific date. | 2017-09-12 |
OpenAPI snippet URL
GET /v1/external/billing/discrepancy
Summary: Get Dicrepancy Data
Get the discrepancy data associated with your account, if any. No parameters are required to use this API.
The data is displayed in JSON format.
OpenAPI snippet URL
GET /v1/external/errors/{import_id}/check
Summary: Get File import Results
Check the import response of various file imports for any error, including bulk order imports, products and product listings.
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. No other body parameters are required.
Path:
OpenAPI snippet URL
PARAMETERS /v1/external/errors/{import_id}/check
OpenAPI snippet URL