cURL
Subscription discounts
Create a subscription discount
Used to create a subscription discount.
POST
cURL
Documentation Index
Fetch the complete documentation index at: https://juo.dev/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Headers
Unique identifier of the tenant in the system (usually a store identifier)
Path Parameters
The subscription identifier
Body
application/json
Discount code to apply
Response
200 - application/json
Default Response
Available options:
subscription-discount The title of the discount shown to customers, typically displayed as a discount code.
Minimum string length:
1- Option 1
- Option 2
- Option 1
- Option 2
The number of billing cycles for which this discount will be applied. After the recurring cycle limit is met the discount will be removed from the subscription.
Required range:
x >= 1