Body
application/json
curl --request POST \
--url https://prod01-apigw.{customer_name}.fabric.zone/api-order/orders/shipments \
--header 'Content-Type: application/json' \
--header 'x-site-context: <x-site-context>' \
--data '{
"orderId": "2947-5955-82579",
"shipments": [
{
"shipmentRef": "ref-1234",
"shipmentCarrier": "FedEx",
"shipmentCarrierUrl": "https://www.fedex.com/",
"trackingNumber": "2345367890876543",
"lineItems": [
{
"lineItemId": 1,
"quantity": 2
}
],
"shipmentStatus": "Delivered",
"shippedDate": "<string>",
"estimatedDeliveryDate": "<string>"
}
]
}'{
"orderId": "4217-7227-80339",
"status": "Successfully added shipment"
}Add shipment to order
curl --request POST \
--url https://prod01-apigw.{customer_name}.fabric.zone/api-order/orders/shipments \
--header 'Content-Type: application/json' \
--header 'x-site-context: <x-site-context>' \
--data '{
"orderId": "2947-5955-82579",
"shipments": [
{
"shipmentRef": "ref-1234",
"shipmentCarrier": "FedEx",
"shipmentCarrierUrl": "https://www.fedex.com/",
"trackingNumber": "2345367890876543",
"lineItems": [
{
"lineItemId": 1,
"quantity": 2
}
],
"shipmentStatus": "Delivered",
"shippedDate": "<string>",
"estimatedDeliveryDate": "<string>"
}
]
}'{
"orderId": "4217-7227-80339",
"status": "Successfully added shipment"
}Was this page helpful?