v1
latestOpenAPI 3.0.02026-07-26258182277.4 KBCredit
Validate the coupon code for a service
post/credit/validate-coupon
Headers
X-Fieldsstring mask
An optional fields mask
Request body
Response
Success
Example response
{
"coupon": {
"clientIds": [],
"customerEligibility": "all",
"customerEligibilityRules": [],
"excludedProductIds": [],
"expireType": "first_billing_period",
"extraData": {
"retentionDurationUnit": "months"
},
"hasEndDate": true,
"maxUseSameCartUseType": "first_item",
"productIds": [],
"serviceEligibility": "none",
"type": "%",
"usageTypeLimit": []
}
}