GetPromoCode
GET/account/:accountKey/promocode/:promoCode
This API lets you know if a code is valid, i.e. if it exists, has not been used and has not expired.
Request
Path Parameters
accountKey anyrequired
promoCode anyrequired
Responses
- 200
- 400
- 401
- application/json
- Schema
- Example (from schema)
- Example
Schema
Status string
Result object
OriginalCode string
VisitorCode string
DiscountValue string
{
"Status": "string",
"Result": {
"OriginalCode": "string",
"VisitorCode": "string",
"DiscountValue": "string"
}
}
{
"Status": "OK",
"Result": {
"OriginalCode": "[Original Code Value]",
"VisitorCode": "[Visitor Code Value]",
"DiscountValue": "[Discount Value]"
}
}
Loading...