This page was printed on Apr 25, 2019. For the current version, visit https://help.shopify.com/en/api/reference/discounts.
Help merchants to offer flexible discounts.
In this section
|PriceRule||Create the logic for a discount, and then use the DiscountCode API to associate a code with the discount so it can be applied at checkout.|
|DiscountCode||After setting up the logic for a discount using the PriceRule API, use the DiscountCode API to associate the discount with a code, which can be entered at the checkout to apply the discount.|