Shipment Orders
These set of APIs will help you create, manipulate, delete shipment orders as well as get the order details.
Fetch an Order details
GET
/orders/shipment/{orderId}
This API is used to get the order and the shipment details of a particular order by passing the orderId in the endpoint URL. Type the orderId in place of {orderId}. Note: The orderId is sent to the customer when an order is created.
Path Parameters
orderId*
string
Reference number passed when order is created
Headers
API_KEY*
string
API key obtained by the Customer/Partner
Create a new order
POST
/orders/shipment
Use this API to create an order in the Blowhorn's system. Pass all the required params at the minimum to create an order and optional params as per the preference. The delivery hub, pickup hub is optional as it is automatically deduced from the delivery address pin code unless the customer wants it to be specifically routed via the hub.
Kitting is a process where in KIT (package of SKUs) is created and sellers can define a preconfigured set as displayed in Example Value 2. For e.g. Take a choc box Celebrations box of 25 as a KIT SKU which can have 5 dairy milk, 20 5 star chocolates another configuration could be 15 diary milk, 5 snickers, 5 5 star chocolates and so on.
Headers
API_KEY*
string
API key obtained by the Customer/Partner
Request Body
awb_number
String
AWB bill number is a confirmation for the shipment(s) in the order lines to be delivered. No need to set it if labelling is done at Blowhorn end. The "create new order" API will pass back a SH-XXXXXX awb number.
reference_number*
String
A unique reference number like the order id / shipment tracking reference number.
For every reference_number we will send out an AWB number as its unique tracking number.
The same number can be reused if the order is cancelled for other orders.
is_hyperlocal
String
The customers will have to pass it as true for the order to be considered under the Hyperlocal contract.
If the parameter is not passed, it will take up the shipment contract (if the same exists).
is_inventory_managed_bh
String
This parameter must be set to 'true' for orders to be processed under the WMS system. Default value is 'false'
delivery_hub
String
The hub from which the deliveries will be made.
This is set using the serviceability API for the coverage / pincode by the hub.
This is automatically deduced from the delivery address pin code, unless the customer wants it to be specifically routed via the hub.
pickup_hub
String
The hub from which the stock will be picked up for delivery.
This is set using the serviceability API for the coverage / pincode by the hub.
This is automatically deduced from the pickup address pin code unless the customer wants it to be specifically routed via the hub.
customer_name
String
Name of the end consumer / recipient of the shipment being delivered.
customer_mobile*
String
Phone number of the end consumer / recipient of the shipment
alternate_customer_mobile
String
An alternate number to reach the recipient in case the primary contact number is not reachable
customer_email
String
The email address to send tracking link or any delivery related communication.
customer_reference_number
String
Any other reference number that the brand is using to identify the shipment.
delivery_postal_code
String
The pincode of the delivery address where the shipment is expected to be delivered.
delivery_lat
String
The latitude and longitude of the delivery address. Although optional, it helps our delivery partners to identify the location of customers without any additional help.
delivery_long
String
The latitude and longitude of the delivery address. Although optional, it helps our delivery partners to identify the location of customers without any additional help.
delivery_address*
String
The address where the shipment is expected to be delivered.
pickup_address
String
The address where the shipment is expected to be picked up from.
pickup_postal_code
String
The pincode of the pickup address.
pickup_lat
String
The latitude and longitude of the delivery address. Although optional, it helps our delivery partners to identify the location of customers without any additional help.
pickup_long
String
The latitude and longitude of the delivery address. Although optional, it helps our delivery partners to identify the location of customers without any additional help.
is_return_order
String
Whether this order needs to be picked back from the customer. Default value is 'false'
is_inventory_managed_bh
String
This parameter must be set to 'true' for orders to be processed under the WMS system. Default value is 'false'
commercial_class
String
Is there a request for a specific vehicle class?
is_commercial_address
String
Helps us to plan the deliveries based on timings. Default value is 'false'
priority
String
In case of multiple deliveries we intend to use the expected delivery time to specifically focus the priority in which orders are delivered. Use this field to specifically add priority to the orders.
pickup_datetime
String
The time at which the shipment is to be picked up. Applicable only in cases of orders which involve pickup and return orders.
expected_delivery_time
String
Very important field to determine by when the delivery is expected to happen. This will be used in prioritising shipments.
division
String
The division of the city for easy distinguishing for delivering the shipment.
is_cod
String
Set to 'true' if the mode of payment is Cash on delivery. Default value is 'false'
cash_on_delivery
String
The amount in INR to be collected by Blowhorn on behalf of the customer if it is COD.
item_details
String
The line items or details of the orders in terms of SKUs and quantity.
item_name*
String
The quantity of the SKU that should be fulfilled
item_price_per_each
String
Selling price of the SKU
total_item_price
String
The sell price of the entire line taking into account the discounts(invoice value).
item_category
String
Product Group of SKUs
brand
String
The supplier / vendor of the SKU
weight
String
The weight of the items in kilograms (KGs)
volume
String
The volume of the item in cc
length, breadth, height
String
the dimensions of the package (in centimeters)
what3words
String
A unique combination of three words for every 3 sq. meter area by what3words
packages_count
int
packages_count > Number of packages/boxes the order is split into. if not sent or this is 0 or 1 then entire order line items assumed to be in single package. Note
: If package_count sent then package_id should not be sent else will lead to rejection of the order.
package_id
String
package_id >a unique identifier for package where this order line items is packed into. considering all unique package_ids form order line items, number of packages will be derived for tracking and delivery purposes. Note
: If package_id sent then package_count should not be sent else will lead to rejection of the order.
return_address
String
The address where the shipment is expected to be returned.
return_postal_code
String
The postal code (PIN code) of the return address
return_lat
String
The latitude coordinate of the return address
return_lon
String
The latitude coordinate of the return address
return_hub
String
The hub or facility where the returned item will be processed or handled. (If hub details are provided, it takes priority over the return address)
Update an Order
PUT
/orders/shipment/{orderId}
Use this API to update the shipment order already created with Blowhorn by using the same orderId which was received while creating an order with the "Create new order" Api. Type the received orderId in place of {orderId}. Note: The orderId is sent to the customer when an order is created.
Headers
API_KEY*
string
API key obtained by the Customer/Partner
Request Body
delivery_hub
String
The hub from which the deliveries will be made.
This is set using the serviceability API for the coverage / pincode by the hub.
This is automatically deduced from the delivery address pin code, unless the customer wants it to be specifically routed via the hub.
pickup_hub
String
The hub from which the stock will be picked up for delivery.
This is set using the serviceability API for the coverage / pincode by the hub.
This is automatically deduced from the pickup address pin code unless the customer wants it to be specifically routed via the hub.
customer_name
String
Name of the end consumer / recipient of the shipment being delivered.
customer_mobile*
String
Phone number of the end consumer / recipient of the shipment
alternate_customer_mobile
String
An alternate number to reach the recipient in case the primary contact number is not reachable
customer_email
String
The email address to send tracking link or any delivery related communication.
delivery_postal_code
String
The pincode of the delivery address where the shipment is expected to be delivered.
delivery_lat
String
The latitude and longitude of the delivery address. Although optional, it helps our delivery partners to identify the location of customers without any additional help.
delivery_long
String
The latitude and longitude of the delivery address. Although optional, it helps our delivery partners to identify the location of customers without any additional help.
delivery_address*
String
The address where the shipment is expected to be delivered.
pickup_address
String
The address where the shipment is expected to be picked up from.
pickup_postal_code
String
The pincode of the pickup address.
pickup_lat
String
The latitude and longitude of the delivery address. Although optional, it helps our delivery partners to identify the location of customers without any additional help.
pickup_long
String
The latitude and longitude of the delivery address. Although optional, it helps our delivery partners to identify the location of customers without any additional help.
commercial_class
String
Is there a request for a specific vehicle class?
is_commercial_address
String
Helps us to plan the deliveries based on timings. Default value is 'false'
priority
String
In case of multiple deliveries we intend to use the expected delivery time to specifically focus the priority in which orders are delivered. Use this field to specifically add priority to the orders.
pickup_datetime
String
The time at which the shipment is to be picked up. Applicable only in cases of orders which involve pickup and return orders.
expected_delivery_time
String
Very important field to determine by when the delivery is expected to happen. This will be used in prioritising shipments.
division
String
The division of the city for easy distinguishing for delivering the shipment.
is_cod
String
Set to 'true' if the mode of payment is Cash on delivery. Default value is 'false'
cash_on_delivery
String
The amount in INR to be collected by Blowhorn on behalf of the customer if it is COD.
item_details
String
The line items or details of the orders in terms of SKUs and quantity.
item_name*
String
The quantity of the SKU that should be fulfilled
item_price_per_each
String
Selling price of the SKU
total_item_price
String
The sell price of the entire line taking into account the discounts(invoice value).
item_category
String
Product Group of SKUs
brand
String
The supplier / vendor of the SKU
return_address
String
The address where the shipment is expected to be returned.
return_postal_code
String
The postal code (PIN code) of the return address
return_lat
String
The latitude coordinate of the return address
return_lon
String
The latitude coordinate of the return address
return_hub
String
The hub or facility where the returned item will be processed or handled. (If hub details are provided, it takes priority over the return address)
Add items to an Order
PUT
/orders/add/items/{orderId}
Use this API to add items to an already created order using the orderId received while creating the order using the "Create new order" Api. Type the received orderId in place of {orderId}. Note: The orderId is sent to the customer when an order is created.
Headers
API_KEY*
string
API key obtained by the Customer/Partner
Request Body
item_details
String
The line items or details of the orders in terms of SKUs and quantity.
item_name*
String
The quantity of the SKU that should be fulfilled
item_price_per_each
String
Selling price of the SKU
total_item_price
String
The sell price of the entire line taking into account the discounts(invoice value).
item_category
String
Product Group of SKUs
brand
String
The supplier / vendor of the SKU
weight
String
The weight of the items in grams
volume
String
The volume of the items in cc
Delete items from an Order
PUT
/orders/delete/items/{orderId}
Use this API to delete the items of the existing order using the OrderId received while creating the order. Type the OrderId received in place of {orderId}. Note: The orderId is sent to the customer when an order is created.
Path Parameters
orderId*
string
AWB Number / Shipment ID received when order is created
Headers
API_KEY*
string
Contact Blowhorn team for API Key
We have a Postman collection to make the integration quicker and easier. You can test all our APIs by importing the full API collection through the 'Run in Postman' button and running them in the Postman app.
Last updated
Was this helpful?