post
https://{store}/api/rest/sales2/orders/shipment
Creates a Shipment for the specified items.
NOTE: All arguments need to be posted as they appear in the example. The arguments and the order they are in matter.
| Param | Notes |
|---|---|
orderIncrementId | The increment ID of the order to create the shipment for. |
itemsQty | Object key is itemId and the value is qty. (ex. { "311": "2", "312": "1" } Would ship 2 of order item 311 and 1 of order item 312) The Order Item ID that is used will always be the Parent ID in the event of a Configurable/Grouped/Bundled product. If an empty JSON object is posted then it will process ALL remaining items. |
comment | Message to send to create on shipment for customer to see. (Optional) |
email | Flag to send shipment email to customer on creation. Use value 1 to send |
includeComment | Flag to include comment on the email, if sent. Use value 1 to include. |
tracking | Array of TrackingData |
shipmentData | Extra shipment data as Object |
shipmentData.base_shipping_amount | Shipping amount in base currency |
TrackingData
| Param | Notes |
|---|---|
carrier_code | Code for the shipment carrier used for tracking. A list is available using the Get Carriers method. |
number | Tracking Number |
title | Tracking Carrier title |
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
