GraphQL Admin API: new field Product.restrictedForResource
added
API
Effective July 11, 2024
We have introduced a new field, Product.restrictedForResource
, which allows you to query product restrictions for a given CalculatedOrder
resource. This field returns both the restricted status and the reason for the restriction.
Currently, this feature supports checking for Managed Markets product restriction. You can use this field to determine if a product can be added to a CalculatedOrder
during the order edit mutation process.