I'm trying to use this API described in https://shopify.dev/docs/admin-api/rest/reference/shipping-and-fulfillment/assignedfulfillmentorder
What's weird is that it does not return a 'Link' section in the response header. I'm pretty sure there're more than 50 FO that meet my request becuase it returns exactly 50 without a 'limit' parameter, which is the default behavior. When I specified limit=2, then I got 2. But in the response header, there's no relative cursor 'Link'.
However when I specified limit=2&page=2 it does return 3rd and 4th FO. So the parameter 'page' is supported, and the relative pagination is not. This is weird because the documents and recommendations specifies otherwise.
My question is, while in this article https://shopify.dev/tutorials/make-paginated-requests-to-rest-admin-api it did not specified AssignedFulfillmentOrder as supported and there's no document to be found on the old-school-page-based pagination, how am I to use paging in these APIs?
Any help is appreciated.
Thanks for bringing this up, we're investigating now. I'll post back here once we have an update to share.
JB | Developer Support @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Click Accept as Solution