Discussing APIs and development related to customers, discounts, and order management.
What are the possible values of "order.fulfillment_status"? The documentation doesn't include it.
By trial and error I know "unfulfilled" and "fulfilled" are possible, but is there others?
"fulfillment_status": "partial"
The order's status in terms of fulfilled line items. Valid values:
I'm currently getting the value "unfulfilled" as the fulfillment_status of one of my test orders. Did it replace null on the valid values list?
https://shopify.dev/docs/admin-api/rest/reference/orders/order
Please check above
@Propero How the values correspondent to this documentation ? -
The fulfillment status of an order
In my view the confusion is arising from "Scheduled" and "On-Hold" right? Which will map to unfulfilled
@Propero
Using https://shopify.dev/docs/admin-api/rest/reference/orders/order#fulfillment-status-property-2021-07 I see only possible values are
Once I see displayed 'On Hold' or 'Scheduled' fulfilment status in Shopify Admin I am not sure what will be fulfilment_status value coming in the json payload
How we distinguish between 'On Hold' and 'Scheduled' as I don't see any mappings for them ?
Please look at latest
https://shopify.dev/docs/admin-api/graphql/reference/orders/orderdisplayfulfillmentstatus
try and print value for different status
From the changelog:
When a customer places an order that qualifies for a post-purchase offer, any line items on an order will have a fulfillable_quantity of 0 while Shopify waits to see if there will be more items added to the order. The order fulfillment_status will be on_hold, and FulfillmentOrders in version ≥2021-07 will have a status of ON_HOLD. API versions before 2021-07 will return no FulfillmentOrders.