Hi, with the 2024-10 version, I cannot create fulfiillment with the fulfillmentCreate mutation.
I get the errror : “The api_client does not have access to the fulfillment order.” but I ass all the scopes about this mutation, here the list :
The only missing one is : read_marketplace_fulfillment_orders because i get the error if I add it: “Oauth error missing_shopify_permission: read_marketplace_fulfillment_orders”
The OAuth error means you need to update your app installation to have the new permission. Basically the permissions of your app do not match that of the user. If your using managed installs this will be handled for you, otherwise you’ll need to send a user to the page to update permissions
Yes, I did re-install several times the app and I was on a dev store. I manage to fulfil my order only for products on a basic location. The errors was popping while I was trying to fulfill items on warehouse location, those ones which needs validation.
So I assume in that case, I need to fulfillmentOrderSubmitFulfillmentRequest, then fulfillmentOrderAcceptFulfillmentRequest and then fulfillmentCreate ?
Hey @Maxime_Vion
Are you using an offline or online access token to fulfill the order?
Is the location of the order/fulfillment order one the merchant controls or a third party?
Is the order created by Shopify or a third party/app?
The fulfill_and_ship_orders is the permission a user would need to manually fulfill the order which I assume is not what you are doing?
I also have the same problem. Did you manage to resolve it? I used fulfillmentCreateV2 in Shopify API 2024-04, and everything worked fine. Now I want to update to 2024-10 and I cannot fulfill orders properly. I’ve also tried with fulfillmentCreate but I get the error “The api_client does not have access to the fulfillment order.” also I’ve tried to first fulfillmentOrderSubmitFulfillmentRequest and then fulfillmentOrderAcceptFulfillmentRequest but I wasn’t successful. I do have the scopes: write_assigned_fulfillment_orders; write_merchant_managed_fulfillment_orders; write_third_party_fulfillment_orders. Based on this documentation Build fulfillment solutions I noticed that my supportedActions for that particular Fulfillment order include REQUEST_FULFILLMENT but do not include CREATE_FULFILLMENT. My question is how can I add that supported action?
I also ran into the same issue. All access scopes look right, and the fulfillment location is owned by my app, but still getting my api_client does not have access to the fulfillment order. The only way I could get it to work was by using the fulfillmentCreateV2, which is apparently deprecated.
I have an app for which fulfillmentCreate in API 2024-10 does work for both a several-year-old devstore and also for a newly created devstore.
On the other hand, for some 20 productions stores the same app attempting fulfillmentCreate returns the error described by the OP. However, fulfillmentCreateV2 in API 2024-04 (although deprecated) does work for these stores.
The app has the same permissions in every store: write_orders, read_orders, write_third_party_fulfillment_orders, read_third_party_fulfillment_orders, write_fulfillments, read_fulfillments, read_products, read_locations.
Could the update from fulfillmentCreateV2/API 2024-04 to fulfillmentCreate/API 2024-10 possibly have caused a regression in the GraphQL API?
Any help would be very much appreciated since relying on fulfillmentCreateV2 can only be a temporary workaround.