How to Transition Deprecated APIs That Require New Access Scopes?

How to Transition Deprecated APIs That Require New Access Scopes?

Patrick_Hughes
Shopify Partner
26 0 9

 

What’s the process when updating deprecated APIs requires new access scopes?

I’m currently migrating from the Product REST API to GraphQL and need to access the tracked field from inventoryItem. This field now replaces productVariant.inventoryManagement, as noted in the changelog.

The issue is that while productVariant.inventoryManagement falls under the read_products access scope, accessing inventoryItem.tracked requires the read_inventory access scope.

I’m encountering this error:

Access denied for inventoryItem field. Required access: `read_inventory` access scope.

 

What are the steps for adding the read_inventory access scope (or any new access scope) to an app?

Replies 0 (0)