cURL
curl --request PATCH \ --url https://api.wizcommerce.com/v1/shipments/{id} \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <api-key>' \ --data '{ "id": "123", "order_id": "123", "updated_at": "2021-01-01T00:00:00Z", "status": "active", "shipment_status": "shipped", "tracking_info": { "tracking_number": "<string>", "tracking_url": "<string>", "delivery_partner": "<string>" }, "shipment_items": [ { "product_id": "<string>", "quantity": 2 } ], "remark": "Door to Door", "note": "Handle with care", "name": "Shipment Name" }'
{ "data": { "id": "01f5d171-d3e3-4b2b-bd57-0727194b5bed", "reference_id": "123", "order_id": "123", "created_at": "2021-01-01T00:00:00Z", "status": "shipped", "tracking_info": { "tracking_number": "123", "tracking_url": "https://www.google.com", "delivery_partner": "Fedex" }, "shipment_items": [ { "id": "123", "sku_id": "123", "quantity": 10 } ], "updated_at": "2021-01-01T00:00:00Z", "note": "Handle with care" } }
Update Shipment
PATCH
API Key for authentication
Shipment ID
Shipment
The body is of type object.
object
Created
The response is of type object.
Was this page helpful?