Coupon ExistsΒΆ
Returns whether the specified generic coupon code exists in the promotion configuration.
/PemCalculation-1-0/json/CouponExists
{
"Request": {
"Code": "my-generic-coupon-code",
"Strict": true,
"CalculationMoment": "2024-12-11T14:36:29.681Z"
}
}
Codegeneric coupon codeStrictwhether the entered code should be checked case sensitive
Response:
{
"Code": "Success",
"CouponId": "string",
"Exists": true,
"Warnings": [
{
"Message": "string",
"Uid": "string"
}
],
"CouponType": "Generic"
}
CouponIdThe coupon identifier with correct casingExistsWhether the coupon exists in the current promotion configuration