Update 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 | |
Update by | Either flat or percentage | Predefined Choice List | No | |
Coupon code | Identify the coupon to update | Text (Short) | No | |
Group name | The name of the group of coupons you want to update | Text (Short) | 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 | |
Currency | The currency must match the balance currency specified in your account | Text (Short) | No | |
Discount Amount Percentage | Discount amount | Number | No | |
Discount Type | Either flat or percentage | Text (Short) | No | |
Expires | The coupon will expire on the date at 00:00:00 UTC | Datetime | No | |
New coupon code | New code to rename the coupon to | Text (Short) | No | |
New group name | New group name to move coupon to | Text (Short) | No | |
Product IDs | Comma-separated list of products e.g. 499531,1234,123546. If blank then remove associated products | Text (Long) | 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