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.
id
ID!
Required
RestrictedItem
restricted_item_
action
RestrictedItemAction!
catalogItem
CatalogItem
item
Item!
Item
itemRestrictions
ItemRestrictionResult
reason
String!
rule
Rule
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
id
ID!
Required
RestrictedItem
ID, prefixed withrestricted_item_
.action
RestrictedItemAction!
Required
catalogItem
CatalogItem
CatalogItem
if the restriction was due to catalogitem
Item!
Required
Item
that was restricted.itemRestrictions
ItemRestrictionResult
itemRestrictions
if the restriction was due to restricted item resultreason
String!
Required
rule
Rule
Rule
if the restriction was due to a rule