Create discount coupons for affiliate tracking. Percentage or fixed amount discounts with duration and redemption limits.
Create coupons that can be assigned to partners via promotion codes. When customers use these codes at checkout, sales are attributed to the partner for commission calculation.Documentation Index
Fetch the complete documentation index at: https://docs.partnero.com/llms.txt
Use this file to discover all available pages before exploring further.
| Parameter | Type | Required | Description |
|---|---|---|---|
name | string | No | Customer-facing name (defaults to uuid_code) |
uuid_code | string | No | Unique identifier (auto-generated if not provided). Allowed characters: A-Z, a-z, 0-9, -, _. Max 255 characters |
coupon_discount_type | string | Yes | percent or static |
coupon_discount_amount | number | Yes | Discount value (0-100 for percent, or fixed amount) |
coupon_duration_type | string | Yes | once, hours, days, months, years, lifetime |
coupon_duration_value | integer | Yes* | Required for hours, days, months, years |
redemption_specific_date_status | boolean | No | Enable expiration date |
redemption_specific_date_value | date | Yes* | Required if redemption_specific_date_status is true |
redemption_times_status | boolean | No | Enable redemption limit |
redemption_times_value | integer | Yes* | Required if redemption_times_status is true |
promotion_codes | array | No | Array of promotion codes to create alongside the coupon |
metadata | object | No | Custom key-value pairs |