Discounts
列出折扣
检索与您的帐户关联的所有折扣的列表。
GET
JavaScript
授权
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
查询参数
Page size (default = 10, max = 100).
必填范围:
x >= 0Page number (default = 0).
必填范围:
x >= 0Filter by discount code (partial match, case-insensitive)
Filter by discount type
可用选项:
percentage Filter by active status (true = not expired, false = expired)
Filter by product restriction (only discounts that apply to this product)
响应
List of active Discounts
Array of active (non-deleted) discounts for the current page.
Last modified on January 28, 2026
JavaScript