Create a Shipment
POST /shipments
Creates a shipment against an order’s allocation, marking the order as shipped. Use this to record a fulfilment in Veeqo — including orders shipped outside of Veeqo — without purchasing a label.
A carrier_id is required. For orders fulfilled externally, or with a carrier not integrated with Veeqo, use the built-in “Other” carrier (carrier_id: 3). The full list of built-in carrier IDs is in the Shipments overview.
Request Body
Section titled “Request Body ”object
Only required if you have a value for tracking_number
object
Tracking number for the shipment (if applicable)
12345679ABCVeeqo ID of the carrier for the shipment
3Whether to notify the buyer via email from Veeqo
Overrides the channel’s tracking sync for the order while this is its newest shipment. true forces the push on, false forces it off, and omitting it (or sending null) defers to the channel’s own update_remote_order. This is an override, not the primary control which exists on the channel setting.
ID of the allocation
1ID of the order
1Example
{ "shipment": { "tracking_number_attributes": { "tracking_number": "12345679ABC" }, "carrier_id": 3, "notify_customer": false, "update_remote_order": false }, "allocation_id": 1, "order_id": 1}Responses
Section titled “ Responses ”Created
object
The override as stored on this shipment. null means no override was set, so the channel’s own update_remote_order decides.
object
object
object
Example
{ "id": 3, "created_at": "2016-11-14T15:05:35.709Z", "allocation_id": 1, "carrier_id": 3, "shipped_by_id": 1402, "weight": 20, "notify_customer": false, "update_remote_order": false, "tracking_number": { "id": 12618396, "tracking_number": " 12345679ABC" }, "order_id": 5753042, "carrier": { "id": 3, "name": "Other" }, "outbound_label_charges": { "unit": "USD", "value": 5.52 }}