Error Creating Fulfillment Order: "The api_client does not have the required permission(s)."

Error Creating Fulfillment Order: "The api_client does not have the required permission(s)."

Mentis19
Shopify Partner
2 0 0

When trying to use the fulfillment orders API (https://shopify.dev/api/admin-rest/2023-01/resources/fulfillment#post-fulfillments)

POST: https://mystore.myshopify.com/admin/api/2023-01/fulfillments.json

We are getting the following error message:

{
    "errors": "The api_client does not have the required permission(s)."
}

We already have the Protected Customer Data (PCD) Access approved, and we have the following access scopes:

{
    "access_scopes": [
        {
            "handle""write_orders"
        },
        {
            "handle""write_fulfillments"
        },
        {
            "handle""write_shipping"
        },
        {
            "handle""read_products"
        },
        {
            "handle""read_orders"
        },
        {
            "handle""read_fulfillments"
        },
        {
            "handle""read_shipping"
        }
    ]
}
 

What are we missing?

Reply 1 (1)

ShopifyDevSup
Shopify Staff
1453 238 501

Hi @Mentis19 , you haven't specified where the fulfillment_orders are sourced or assigned from your app or managed from your store. There are additional fullfillment_order read/write scopes you might need depending on those details. You can find them listed here. https://shopify.dev/api/usage/access-scopes. Hope this helps!

Developer Support @ Shopify
- Was this reply helpful? Click Like to let us know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog