Skip to main content

Get order fulfillment status

Endpoint: POST /v10/orders/fulfillment-status

ParameterRequiredDefaultDescription
order_idYes, if no order_number or shopify_order_id is givenThe ID of the order to get the fulfillment status for
order_numberYes, if no order_id or shopify_order_id is givenThe number of the order to get the fulfillment status for
shopify_order_idYes, if no order_id or order_number is givenThe Shopify order ID of the order to get the fulfillment status for

Data of response

ParameterRequiredDefaultDescription
fulfillment_status.*YesAn fulfillment status object

Fulfillment status data

ParameterRequiredDefaultDescription
order_idYesThe ID of the order
fulfillment_statusYesThe fulfillment status of the order. Possible values: open, being_packed, completed
can_cancelYesWhether the order can be cancelled. Possible values: true, false
can_cancel_reasonYesThe reason why the order cannot be cancelled. Possible values: shipment_completed, shipment_claimed
shipmentsYesAn array of objects shipment data

Shipment data

ParameterRequiredDefaultDescription
shipment_numberYesThe number of the shipment
statusYesThe status of the shipment. Possible values: open, being_packed, completed
colliYesAn array of objects colli data

Colli data

ParameterRequiredDefaultDescription
track_tracenullThe package code of the shipment
track_trace_linknullA direct link to a track & trace page. If null Traede will attempt to generate this from track_trace and carrier
linesYesAn array of objects colli lines

Colli lines data

ParameterRequiredDefaultDescription
skuYesThe SKU of the line
orderedYesThe number of pieces ordered for this line
packedYesThe number of pieces packed for this line

Request example

POST /v10/orders/fulfillment-status

{
"order_id": 1
}

Response example

{
"fulfillment_status": {
"fulfillment_status": "completed",
"can_cancel": false,
"can_cancel_reason": "shipment_completed",
"shipments": [
{
"shipment_number": "1000-1",
"status": "completed",
"colli": [
{
"track_trace": "1234567890",
"track_trace_link": "https://gls-group.eu/EU/en/parcel-tracking?match=1234567890",
"lines": [
{
"sku": "1000-100-XS",
"ordered": 1,
"packed": 1
}
]
}
]
}
]
}
}