POST /v1/external/shipments/create/forward-shipment

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:

Parameters:

PARAMSREQUIREDDATA TYPEDESCRIPTIONEXAMPLE
modeNOstringThe mode of shipment, either surface or air. Value: Surface or AirAir
request_pickupNObooleanUse false if you dont want to request pickup. Default value is true.true
print_labelNObooleanUse false if you dont want to print label. Default value is true.true
generate_manifestNObooleanUse false if you dont want to generate manifest. Default value is true.true
ewaybill_noNOstringDetails relating to the shipment of goods.K92373490
courier_idNOintegerThe courier id of the courier you want to assign. Refer to the servicability API to get id.10
reseller_nameNOstringThe 'from' name if you want to print. Use 'Reseller: [name]'Reseller: Divine
order_idYESstringThe custom reference id you want to assign to the order.2477
isd_codeNOstringThe isd code91
billing_isd_codeNOstringThe billing isd code.91
order_dateYESstringThe date of the creation of order.2019-08-04
channel_idNOintegerThe channel id of the specific channel. Use the Channels API to get id.72505
company_nameNOstringName of the company.Amazon
billing_customer_nameYESstringThe first name of customer to be billed.John
billing_last_nameNOstringThe last name of the billing customer.Doe
billing_addressYESstringThe primary billing address.House no 21
billing_address_2NOstringAdditional billing address details.Street 2, Dwarka
billing_cityYESstringThe billing city.Delhi
billing_stateYESstringThe billing address state.New Delhi
billing_countryYESstringThe billing address country.India
billing_pincodeYESintegerThe pincode of the billing address.110002
billing_emailYESstringThe billing customer email.john@doe.com
billing_phoneYESintegerThe billing customer phone.9999998899
billing_alternate_phoneNOintegerThe billing customer alternate phone.8404690454
shipping_is_billingYESbooleanWhether shipping details are the same as billing details. true for yes false for no.true
shipping_customer_nameCONDITIONAL YESstringShipping customer's first name.Jane
shipping_last_nameNOstringShipping customer's last name.Doe
shipping_addressCONDITIONAL YESstringThe shipping address.House no X
shipping_address_2NOstringAdditional shipping address details.Street X
shipping_cityCONDITIONAL YESstringThe shipping city.Mumbai
shipping_stateCONDITIONAL YESstringThe state of the shipping address.Maharashtra
shipping_countryCONDITIONAL YESstringThe shipping address country.India
shipping_pincodeCONDITIONAL YESintegerShipping pincode.230023
shipping_emailCONDITIONAL YESstringThe email of the shipping customer.Jane@Doe.com
shipping_phoneCONDITIONAL YESintegerThe phone number of the shipping customer.8877997799
order_itemsYES/Array containing further parameters./
nameYESstringThe name of the product.Jeans
skuYESstringsku Code of the product.Bat
unitsYESintegerNumber of units.10
hsnNOintegerHSN code if available.4412
selling_priceYESstringThe selling price of each unit inclusive of GST.200
taxNOintegerThe tax applied in percent.20
discountNOintegerThe discount amount inclusive of tax.20
payment_methodYESstringIf the payment method is Cash on delivery (COD) or Prepaid.COD
shipping_chargesNOintegerThe shipping charges if any in rupees.5
giftwrap_chargesNOintegerThe gift-wrap charges if any in rupees.5
transaction_chargesNOintegerThe transaction charges if any in rupees.10
total_discountNOintegerThe discount amount in rupees.15
sub_totalYESintegerThe sub total amount in rupees.1800
weightYESstringThe weight of the shipment in kgs.2
lengthYESintegerThe length of the shipment in cms. Must be more than 0.510
breadthYESintegerThe breadth of the shipment in cms. Must be more than 0.515
heightYESintegerThe height of the shipment in cms. Must be more than 0.520
pickup_locationYESstringThe 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_gstinNOstringGoods and Services Tax Identification Number.29ABCDE1234F2Z5
vendor_detailsNO/Array containing further parameters. Use to assign/add a new pickup location to your account./
emailCONDITIONAL YESstringThe shipper's email address.john@doe.com
phoneCONDITIONAL YESintegerThe shipper's phone number.8888999888
nameCONDITIONAL YESstringThe shipper's name.John Doe
addressCONDITIONAL YESstringThe pickup location address. Min 10 characters.Office Building
address_2NOstringAdditional address details. Min 10 characters.Street 2 house 4
cityCONDITIONAL YESstringThe pickup location city.Pune
stateCONDITIONAL YESstringThe pickup state.Maharashtra
countryCONDITIONAL YESstringThe pickup location country.India
pin_codeCONDITIONAL YESintegerThe pickup pincode.200099
pickup_locationCONDITIONAL YESstringNew pickup location name. Max: 36 char. Alphanumeric only.New Office
order_typeNOstringKey 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 allowedESSENTIALS
longitudeNOfloatDestination (Shipping address) Longitude.69.0747
latitudeNOfloatDestination (Shipping address) Latitude22.4064
what3words_addressNOstringWhat3words 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

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
billing_email String No
height Number No
channel_id String No
sub_total Number No
breadth Number No
shipping_is_billing Boolean No
payment_method String No
vendor_details Object No
vendor_details.pickup_location String No
vendor_details.email String No
vendor_details.name String No
vendor_details.phone Number No
vendor_details.address_2 String No
vendor_details.country String No
vendor_details.pin_code String No
vendor_details.state String No
vendor_details.address String No
vendor_details.city String No
order_id 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 String No
billing_pincode String No
length Number No
billing_last_name String No
billing_phone String No
billing_city String No
billing_state String No
order_date String No
weight Number No
billing_country String No
billing_address String No
billing_customer_name 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.