Merchant API

Batch Update Order Status

Batch updates the status up to 100 orders at a time and returns a success response for each individual order.

This endpoint can be called multiple times for a single order (with different tracking numbers) to add multiple shipment records to a single order, even if both shipments aren't on the same day.

Pass a numeric array of orders to update, each containing the following fields:

Order Status Fields

FieldData TypeLengthRequired?Description
cust_refStringYcust_ref of order to update
order_statusENUMYat_wms or shipped
shipmentsArray0 or moreOnly if order status is shipped

Shipment Fields

FieldData TypeRequired?LengthDescription
carrierStringRecommended45Carrier reported by WMS
methodString45Ship Method reported by WMS
tracking_noStringY45Primary tracking #
tracking_no_secondaryString45Optional secondary tracking #
sscc_barcodeString45Required for EDI Bulk Orders
bill_of_ladingString45
total_costFloat2 decimal placesShipping cost with all fees
package_weight_lbsFloat2 decimal placesActual shipment weight
dim_weight_lbsFloat2 decimal placesOptional dimensional weight
zoneString4Ship-to zone
delivery_surcharge_typeString45Defined by WMS
whs_locationString45Identify which warehouse shipped package
box_length_inFloat2 decimal placesLength in Inches
box_width_inFloat2 decimal placesWidth in Inches
box_height_inFloat2 decimal placesHeight in Inches
dateTimestampShipping date
tracking_urlStringURL to track shipment
invoice_numberString45Set the order's invoice #. Only one allowed per order. This will overwrite any previous invoice #
custom_1String45Defined by WMS
itemsArrayOptional array of items if providing package contents

Item Fields

FieldData TypeRequired?LengthDescription
itemStringY45Product SKU - Must match SKU on original order
quantityIntYQuantity of item in package
carton_codeString45Carton code/barcode (eg: SSCC-18)
carton_numString45Carton number (eg: 1, 2, 3, etc)
box_length_inFloat2 decimal placesLength in Inches
box_width_inFloat2 decimal placesWidth in Inches
box_height_inFloat2 decimal placesHeight in Inches
package_weight_lbsFloat2 decimal placesCarton weight in lbs
lot_codeString45Item Lot / Batch Code
custom_1String45Custom Field
post/v1/merchant/orders/update

Request

Headers

Content-Typestring

Request body */*

string required

Example request

"\"[\\n    {\\n        \\\"cust_ref\\\": {{CUST_REF}},\\n        \\\"order_status\\\": \\\"at_wms\\\"\\n    },\\n    {\\n        \\\"cust_ref\\\": {{CUST_REF}},\\n        \\\"order_status\\\":\\\"shipped\\\",\\n        \\\"shipments\\\":[\\n            {\\n                \\\"tracking_no\\\": \\\"Test123\\\",\\n                \\\"date\\\": \\\"2016-08-27T04:04:04+00:00\\\",\\n                \\\"carrier\\\": \\\"UPS\\\",\\n                \\\"method\\\": \\\"20\\\"\\n            },\\n            {\\n                \\\"tracking_no\\\": \\\"Test456\\\",\\n                \\\"date\\\": \\\"2016-08-27T05:05:05+00:00\\\",\\n                \\\"carrier\\\": \\\"FEDEX\\\",\\n                \\\"method\\\": \\\"50\\\"\\n            }\\n        ]\\n        \\n    }\\n]\""

Response

OK

object required

Changes

No recorded changes to this operation across all 1 revision of this API.