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
RestrictedItemID, prefixed withrestricted_item_.action
RestrictedItemAction!
Required
catalogItem
CatalogItem
CatalogItemif the restriction was due to catalogitem
Item!
Required
Itemthat was restricted.itemRestrictions
ItemRestrictionResult
itemRestrictionsif the restriction was due to restricted item resultreason
String!
Required
rule
Rule
Ruleif the restriction was due to a rule