{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/salesforce-commerce-cloud/json-schema/salesforce-commerce-cloud-coupon-code-redemption-request-schema.json",
  "title": "CouponCodeRedemptionRequest",
  "description": "Document representing a request to redeem a coupon.",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/salesforce-commerce-cloud-coupons-api-openapi.yml#/components/schemas/CouponCodeRedemptionRequest",
  "type": "object",
  "required": [
    "code",
    "orderNo"
  ],
  "additionalProperties": false,
  "properties": {
    "code": {
      "description": "The coupon code to redeem.",
      "type": "string"
    },
    "customerEmail": {
      "description": "The customer email to use on the redemption.",
      "type": "string"
    },
    "orderNo": {
      "description": "The order number to use on the redemption. In case the coupon \nwas redeemed externally and no order number is associated, use \na reference id or custom string to identify the source of the \nredemption.\n",
      "type": "string"
    }
  }
}