Create Order¶
Shipstation API¶
https://www.shipstation.com/docs/api/orders/create-update-order/
Description¶
Allows you to create orders in ShipStation - from which labels can be generated.
An order can be created with or without lines.
Update Mode¶
Insert Only
Writeback Fields¶
Order Header¶
- reply_id
- The ShipStation assigned order id.
CREATING Orders¶
To create an order it will be necessary to set, at minimum, the following fields:
- orderNumber
- This should, but not necessarily needs to be, a unique value.
- If integrating from an ERP system where the shipment (vs. the order) is being synced to ShipStation it is recommend to create a composite value where the orderNumber field is a combination of the ERP Order and ERP Shipment numbers.
- orderDate
- orderStatus
- Typically 'awaiting_shipment'.
- carrierCode
- serviceCode
- billToXXX
- The billTo fields.
- toXXX
- The ship-to fields.
- weight and weightUoM
- The weight must either defined either on the items in ShipStation. If not, the weight must be specified either at the header or line item level.
Line Items¶
If creating items with the order:
- sku
- quantity
- unitPrice
- weight and weightUoM
- See above notes.