Requires
price_rules
access scope.
Discount APIs
Provide the programmable functionality to manage store's Discount object.
-
Discount Code — Discount Code, used in checkout stage, first you need to use
PriceRule
API to set the discount rule, and then you can bind the Discount Code with this discount rule. -
Price Rule — First you need to create Price rule, then bind the discount code with it, so that customer could apply this discount code at the checkout stage.