API ReferenceCoupons
Overview
Create discount codes and choose who, what, and when they apply to.
Coupons apply an amount or percentage discount when a customer supplies a code. Choose which products qualify, how often the code can be used, and when it is valid. For discounts that apply without a code, use Promotions.
Coupons and their linked products must belong to the selected store. Track batch requests in your integration and check what changed after a lost response before retrying; batch writes do not have a general idempotency guarantee. Each endpoint documents its discount units, limits, and date fields.