Service
Validate the coupon code for a service
post/service/{serviceId}/validate-coupon
Request
- Base URLhttps://core.hivelocity.net/api/v2
- URLhttps://core.hivelocity.net/api/v2/service/{serviceId}/validate-coupon
- AuthAPI key in header X-API-KEY
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": []
}
}Changes
No recorded changes to this operation across all 1 revision of this API.