Fields
Only the restriction's id, in the address. Needs Restrictions: Read.
One restriction, in the shape GET /restrictions lists it, conditions by slug. Use it when a restriction.* change names one: the change's payload names categories, brands and classes by internal ids, which this API never shows.
Returns
- 200The restriction, in
data. - 404restriction_not_found: your store has no restriction with that id. Another store's is the same answer.
- 404not_found: the id in the address is not a number.
This endpoint can also answer 401 invalid_api_key, 403 license_not_active, 403 product_not_included, 403 insufficient_scope and 429 rate_limited.