POST Create a shipment
Use the POST method to send a new or update an outbound shipment.
If the shipment is successfully received, you'll get a response code of 202 ACCEPTED. This means the order was accepted to be processed into our system. Shipments generally process into the system rather quickly, depending on system load. You can retrive the status of the shipment using the status call or the order details call.
Request
POST /v2/outboud/{order_number}
- Each request contains only one shipment.
- The order_number in the URL must match the order_number field in the body of the request.
- The request body is the shipment resource.
| Field name | Data type | Description |
|---|---|---|
| order_number | string | The order number associated with this shipment; must match the order_number in the URL |
| business_unit | string | Your company code in our system. |
| shipping.service_code | string | This is the shipping method to use. |
| shipping.address | address |
The address in which to send the shipment.
The following address fields are required:
|
| line_items | array | The items in which to ship.
The following fields must be included in each item entry:
|
Response JSON
HTTP/1.1 202 Accepted
{
"status": "Pending"
}