We are receiving the error “Assignment status is not included in the list” when attempting to filter on assignment_status=‘fulfillment_unsubmitted’.
All other statuses work properly.
Response below:
{
“requestUrl”: “https://[shop].myshopify.com/admin/api/2023-01/assigned_fulfillment_orders.json?assignment_status=fulfillment_unsubmitted”,
“status”: “”,
“success”: false,
“statusCode”: “400”,
“verb”: “GET”,
“error”: “status code error: 400”,
“json”: “”,
“response”: “{"errors":["Assignment status is not included in the list"]}”
}
I am wanting to automatically submit new fulfillment requests, but filtering on fulfillment_unsubmitted seems to fail erroneously, and there is no way to page over the assigned_fulfillment_orders.json beyond the first 50, I can’t find fulfillment orders that need submitting…
No response or resolution. I was able to chat with partner support and was told it would be escalated to the API team… have not heard anything regarding this either.
Thanks for posting. We’ve been able to replicate this issue in a test store, have found there’s already an open bug report about it, and have added a note about this forum post to the bug report. Currently there isn’t an estimated time that it will be fixed.
For a paginated list of fulfillmentOrders in GraphQL there’s [shop.assignedFulfillmentOrders], though one thing to note is that in GraphQL fulfillment order assignmentStatus doesn’t have an equivalent value to fulfillment_unsubmitted (which is included in the bug report).
Also as of GraphQL Admin API version 2023-01 there’s a new paginated query [fulfillmentOrders] which doesn’t have an assignmentStatus equivalent but has some filtering options that might help find what is needed.