Endpoint:
Authorization
Example:Authorization | Bearer Paste-Your-API-Key-Here
Path Parameter
A unique identifier obtained when creating a discount. If accessed through the dashboard, it can be found at the URL on the discount details page.Example:c9aa143a-53f9-44e7-a9c6-83229ad7199b
Response
Successful Response
Main Structure (Root)
Status message that describes the status code.
data Structure (Array Of Object)
Creation time (timestamp in ms).
Expiration time (timestamp in ms).
Product-specific discount rules (empty if not applied).
Minimum purchase amount required to apply the discount.
Indicates if the discount is lifetime (true/false) or null.
Total number of coupons available.
List of coupons associated with this discount.
coupons Structure (Array Of Object)
Coupon creation time (timestamp in ms).
End of trial month (if applicable).
Coupon expiration time (timestamp in ms).
Whether the coupon is active (true or false).
Maximum usage limit for the coupon.
Last updated time (timestamp in ms).
ID of the user who created/owns the coupon.