Create coupon in Paddle.
Application
Paddle
Inputs (what you have)
Name | Description | Data Type | Required? | Example |
Connected Account | The connected account to use for the request | Connected Account | Yes | |
Coupon type | Either product (valid for specified products or subscription plans) or checkout (valid for any checkout) | Predefined Choice List | No | |
Product ID 1 | Text (Short) | No | ||
Product ID 2 | Text (Short) | No | ||
Product ID 3 | Text (Short) | No | ||
Discount type | Either flat or percentage | Predefined Choice List | No | |
Discount amount % | Discount amount in percentage | Number | No | |
Currency | The currency must match the balance currency specified in your account | Predefined Choice List | No | |
Allowed uses | Number of times a coupon can be used in a checkout. This will be set to 999,999 by default, if not specified | Number | No | |
Coupon code | Will be randomly generated if not specified | Text (Short) | No | |
Coupon prefix | Prefix for generated codes. Not valid if coupon_code is specified | Text (Short) | No | |
Description | Description of the coupon. This will be displayed in the Seller Dashboard | Text (Long) | No | |
Expires | The coupon will expire on the date at 00:00:00 UTC | Datetime | No | |
Group name | The name of the coupon group this coupon should be assigned to | Text (Short) | No | |
Number of coupons | Number of coupons to generate. Not valid if coupon_code is specified | Number | No | |
Recurring? | If the coupon is used on subscription products, this indicates whether the discount should apply to recurring payments after the initial purchase | True/False | No |
Outputs (what you get)
Name | Description | Data Type | Required? | Example |
JSON Output | JSON output returned by the API | Text (Long) | No |
Outcomes
Name | Description |
Success | This status is selected if the job has successfully completed. |
Unsuccessful | This status is selected if the job has completed unsuccessfully. |
Requirements
N/A