Create Fulfilments

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 :

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

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”

Please can someone help me ?

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

Do your have fulfill_and_ship_orders permission?

Hi, thank you for your answeer !

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 ?

Hi, thank you for your answer.

I do not know where I can enabled this permission or ask Shipify to enable it for me. Do you have any clue ?

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?