Discount APIs

Help merchants to offer flexible discounts.

In this section

  • 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.

  • 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.