Commerce
Get a discount
One discount with its value, targets, minimum, usage and schedule. Needs discounts.read.
get/v1/commerce/discounts/{discountId}
Path parameters
discountIdstring required
Platform-native id.
Query parameters
accountIdstring required
Connected store SocialAccount id.
Response
Discount fetched
Example response
{
"discount": {
"value": {
"percentage": 15
},
"minimum": {
"amount": {
"amount": "19.90",
"currency": "USD"
}
}
}
}