POST /v1/external/orders/create/return

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:

PARAMSREQUIREDDATA TYPEDESCRIPTIONEXAMPLE
order_idYESstringThe 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_dateYESstringThe date of order creation in yyyy-mm-dd format. Time is an additional option.2019-08-05
channel_idYESintegerId 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_nameYESstringThe customer’s first name.John
pickup_last_nameNOstringThe customer’s last name.Doe
pickup_addressYESstringThe customer's primary address.Home
pickup_address_2NOstringAdditional customer address details.DDA
pickup_cityYESstringThe customer's city name.Delhi
pickup_stateYESstringThe customer's state.New Delhi
pickup_countryYESstringCustomer's country name.India
pickup_pincodeYESintegerPincode of the customer address.110002
pickup_emailYESstringCustomer's email address.john@doe.com
pickup_phoneYESstringCustomer's phone number.9999999999
pickup_isd_codeNOstringISD code.91
pickup_location_idNOintegerReturn pickup location address ID.41514
shipping_customer_nameYESstringThe name of the seller the package is shipped back to.Jane
shipping_last_nameNOstringThe last name of the seller.Doe
shipping_addressYESstringThe address the package is shipped to.Castle
shipping_address_2NOstringFurther shipping address details.Bridge
shipping_cityYESstringThe shipping address city.Mumbai
shipping_countryYESstringThe shipping address country.India
shipping_pincodeYESintegerThe shipping pincode.220022
shipping_stateYESstringShipping address state.Maharashtra
shipping_emailNOstringThe email of the seller the package is shipped to.jane@doe.com
shipping_isd_codeNOstringThe shipping isd code.91
shipping_phoneYESintegerPhone no. of the shipping customer8888888888
order_itemsYES/Array containing further fields./
nameYESstringName of the product.ball123
skuYESstringThe sku id of the product.Tennis Ball
unitsYESintegerNo of units that are to be shipped.1
selling_priceYESintegerThe selling price per unit in Rupee. Inclusive of GST.10
discountNOintegerThe discount amount in Rupee. Inclusive of tax.0
hsnNOstringHarmonised System Nomenclature code. Used to determine the category of taxation the goods fall under.4412
qc_enableCONDITIONAL YESstringIf True, QC will be performed for that product and QC will be performed only for a single SKU per ordertrue/false
qc_colorNOvarchar(180)The color of the product can be passed in this parameterRed
qc_brandNOvarchar(255)The brand of the product can be passed in this parameter768903
qc_serial_noNOvarchar(255)The serial number of the product can be passed in this parameterT13123124
qc_ean_barcodeNOvarchar(255)EAN/Barcode of the product can be passed in this parameterQWRE123
qc_sizeNOvarchar(180)The size of the product can be passed in this parameter8
qc_product_nameNOvarchar(255)If qc_enable set True, then Product name should be passed in this parameterShoes
qc_product_imageNOvarchar(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_methodYESstringThe method of payment. Can be either COD (Cash on delivery) Or Prepaid.Prepaid
total_discountNOstringThe total discount amount in Rupee.0
sub_totalYESintegerCalculated sub total amount in Rupee after deductions.10
lengthYESfloatThe length of the shipment in cms.10
breadthYESfloatThe breadth of the shipment in cms.15
heightYESfloatThe height of the shipment in cms.20
weightYESfloatThe shipment weight in kgs.1

Servers

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

Request body fields

Name Type Required Description
pickup_city String No
pickup_phone String No
shipping_country String No
shipping_last_name String No
pickup_email String No
shipping_phone String No
sub_total Number No
breadth Number No
shipping_city String No
payment_method String No
total_discount String No
pickup_state String No
pickup_last_name String No
order_items[] Array No
order_items[].units Number No
order_items[].name String No
order_items[].sku String No
order_items[].selling_price Number No
order_items[].hsn String No
order_items[].discount String No
length Number No
shipping_address_2 String No
pickup_address String No
shipping_address String No
pickup_address_2 String No
shipping_pincode String No
height Number No
channel_id String No
shipping_isd_code String No
shipping_customer_name String No
pickup_isd_code String No
pickup_pincode String No
shipping_state String No
pickup_location_id String No
order_id String No
pickup_customer_name String No
order_date String No
shipping_email String No
weight Number No
pickup_country String No

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.