POST //loyalty/{channelLinkId}/programs/validate

Path parameters

  • channelLinkId string Required

Responses

  • 200 application/json
POST //loyalty/{channelLinkId}/programs/validate
curl \
 --request POST 'https://api.staging.deliverect.com//loyalty/{channelLinkId}/programs/validate' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "discounts": [
    {
      "offer": {
        "type": "flat_off",
        "value": 500
      },
      "scope": {
        "type": "order"
      },
      "provider": "loyalty",
      "externalId": null
    }
  ],
  "validationErrors": [],
  "maxRedeemableAmount": 1000
}