latestOpenAPI 3.1.02026-08-1828105315.1 KB
cc009fec5cdd
Shipments
v2-createShipment - Ship items of a Connect order
<div class="extension-title">Description</div>Use this API to ship one or more items from the same order within the same package (using the same tracking information).
<div class="api-description-extension"> <div class="extension-title">Call Frequency</div> <div class="recommended-call-frequency">Recommended usage: On each new shipment</div> <div class="max-call-frequency">Maximum usage: On each new shipment</div> </div>post/v2/orders/{order_id}/shipments
Path parameters
order_idstring required
Connect order identifier
Request body
Example request
{
"carrier": "DHL Express",
"items": [
{
"id": "SELLER_ID_1",
"order_line_id": "0024_COMMERCIAL_ID-A-1"
}
],
"return_tracking_number": "78910",
"tracking_number": "123456",
"tracking_url": "https://wwwapps.ups.com/WebTracking/track",
"warehouse_id": "WH-001"
}Response
Success. The shipment has been created.
Example response
{
"action_id": "1ba5fc4b-c4fd-4251-880b-3052e301bbd4",
"tracking_id": "1ba5fc4b-c4fd-4251-880b-3052e301bbd4"
}