Fields
Only the rule's id, in the address. Needs Pricing rules: Read.
One rule, in the shape GET /pricing-rules lists it, conditions by slug. Use it when a pricing_rule.* change names a rule: the change's payload names categories, brands and classes by internal ids, which this API never shows.
Returns
- 200The rule, in
data. - 404pricing_rule_not_found: your store has no rule with that id. Another store's rule 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.