{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"resource": "subscription-discount",
"title": "<string>",
"target": {
"type": "shipping"
},
"value": {
"amount": 123,
"type": "fixed-amount",
"appliesOnEachItem": true
},
"recurringCycleLimit": 2
}Topics
Subscription discount created
Fired when a subscription-discount.created event occurs. Delivered via Svix.
WEBHOOK
subscription-discount.created
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"resource": "subscription-discount",
"title": "<string>",
"target": {
"type": "shipping"
},
"value": {
"amount": 123,
"type": "fixed-amount",
"appliesOnEachItem": true
},
"recurringCycleLimit": 2
}Authorizations
AdminApiKeyBearerToken
Long-lived Admin API key issued from the Juo merchant portal. Pass as the X-Juo-Admin-Api-Key header.
Body
application/json
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
Show child attributes
Show child attributes
- Option 1
- Option 2
Show child attributes
Show child attributes
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 >= 1Response
200
Webhook received successfully.