DEV

Type.

RestrictedItem

A RestrictedItem represent an item that has been restricted. 3 ways an item can be restricted: via catalog's restricted countries, a rule, or itemRestriction API.

Fields

Required

The action taken on the restricted item.

catalogItem

CatalogItem

CatalogItem if the restriction was due to catalog

id

ID!

Required

RestrictedItem ID, prefixed with restricted_item_.

item

Item!

Required

Item that was restricted.

itemRestrictions

ItemRestrictionResult

itemRestrictions if the restriction was due to restricted item result

reason

String!

Required

the reason this item was restricted

rule

Rule

Rule if the restriction was due to a rule

Was this page helpful?