Closed infiton closed 8 months ago
Yes, this was changed in https://github.com/MONEI/Shopify-api-node/commit/0505308fddec4556efcfc736bef08cdd85fbcfa4. /orders/:id/fulfillment_orders
is called by shopify.order.fulfillmentOrders(id)
.
I see, as a suggestion maybe it should be shopify.assignedFulfillmentOrders
We ran into an unexpected issue where we were calling
shopify.fulfillmentOrder.list({orderId: ""})
with an access token that had the scopesread_merchant_managed_fulfillment_orders
andread_third_party_fulfillment_orders
but notread_ assigned_fulfillment_orders
We expected that this would call https://shopify.dev/docs/api/admin-rest/2023-10/resources/fulfillmentorder#get-orders-order-id-fulfillment-orders and respect:
However we discovered that
shopify.fulfillmentOrder.list
callsorders/:id/assigned_fulfillment_orders
instead.Is this the expected behaviour?