We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

ERROR:"The api_client does not have access to the fulfillment order" in shopify api 2024-10/2025-01/

ERROR:"The api_client does not have access to the fulfillment order" in shopify api 2024-10/2025-01/

xu
Shopify Partner
3 0 0


Hi,

For a small number of stores (most stores can ship successfully), I’m unable to create a fulfillment using the fulfillmentCreate mutation. I’m receiving the following error:

“The api_client does not have access to the fulfillment order.” However, the same order from the same store can be shipped successfully using fulfillmentCreate using the “2024-07” Shopify API version.Just change the API version to 2024-07 to ship successfully!
Is this a store setting issue? If there is an official Shopify staff, I can provide the store and the corresponding order for query. (The same error occurs when using the GraphQL Admin API and REST Admin API).

xu_0-1751349224159.png

 

{
"fulfillment": {
"line_items_by_fulfillment_order": [
{
"fulfillment_order_id": "7757490848053"
}
],
"tracking_info": {
"number": "YT2517700704170262",
"company": "yuntu",
"url": "https://t.17track.net/en#nums=YT2517700704170262"
},
"notify_customer": false
}
}

I’ve ensured that all the necessary scopes for this mutation are included. Here’s the list of scopes I’m using:
write_fulfillments
read_assigned_fulfillment_orders
write_assigned_fulfillment_orders
read_merchant_managed_fulfillment_orders
write_merchant_managed_fulfillment_orders
read_third_party_fulfillment_orders
write_third_party_fulfillment_orders
read_shipping
write_shipping
read_orders
write_orders

Replies 0 (0)