Retrieves fulfillments associated with multiple specified orders.
List of order IDs for which to retrieve fulfillments.
List of order IDs and their associated fulfillments.
curl -X POST \
'https://www.wixapis.com/ecom/v1/fulfillments/list-by-ids' \
-H 'Content-Type: application/json' \
-H 'Authorization: <AUTH>' \
--data-binary '{
"orderIds": [
"265c7d98-a7c3-48c4-89cd-bbdc00921eab",
"d1748680-7fd5-401e-9f71-cd3b9ea70bdb"
]
}'
{
"ordersWithFulfillments": [
{
"orderId": "265c7d98-a7c3-48c4-89cd-bbdc00921eab",
"fulfillments": [
{
"id": "80f939c8-cdc4-44fe-a058-b54d506af170",
"createdDate": "2021-05-25T13:55:26.458Z",
"lineItems": [
{
"id": "00000000-0000-0000-0000-000000000001",
"quantity": 2
}
],
"trackingInfo": {
"trackingNumber": "12345",
"shippingProvider": "ups",
"trackingLink": "https://wwwapps.ups.com/WebTracking/track?track=yes&trackNums=12345"
}
},
{
"id": "eb9138ff-1490-4dbc-b053-743240b9ab8f",
"createdDate": "2021-05-25T13:55:47.605Z",
"lineItems": [
{
"id": "00000000-0000-0000-0000-000000000002",
"quantity": 3
}
],
"trackingInfo": {
"trackingNumber": "12345",
"shippingProvider": "ups",
"trackingLink": "https://wwwapps.ups.com/WebTracking/track?track=yes&trackNums=12345"
}
}
]
},
{
"orderId": "d1748680-7fd5-401e-9f71-cd3b9ea70bdb",
"fulfillments": [
{
"id": "9f6ff4c4-1fb2-4b0a-b433-32956052316c",
"createdDate": "2021-07-04T13:40:15.860Z",
"lineItems": [
{
"id": "00000000-0000-0000-0000-000000000001",
"quantity": 1
}
],
"trackingInfo": {
"trackingNumber": "102030",
"shippingProvider": "dhl",
"trackingLink": "https://www.logistics.dhl/global-en/home/tracking.html?tracking-id=102030"
}
}
]
}
]
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.