Skip to content

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"
  }
}
  • Code generic coupon code
  • Strict whether the entered code should be checked case sensitive

Response:

{
  "Code": "Success",
  "CouponId": "string",
  "Exists": true,
  "Warnings": [
    {
      "Message": "string",
      "Uid": "string"
    }
  ],
  "CouponType": "Generic"
}
  • CouponId The coupon identifier with correct casing
  • Exists Whether the coupon exists in the current promotion configuration