kfc_promotion
Look up a KFC promotion by redemption code or serialized QR code. Returns promotion details and usage metadata, with expired or unknown codes returning 404.
Instructions
Look up one KFC promotion by its redemption code or serialized code. Returns one promotion by its redemption code (the code a customer types in at checkout) or its serialized code (a unique per-print QR/serial code, e.g. from a printed coupon, that resolves to a shared redemption code and its promotion). Exactly one of code or serialized_code is required. A serialized-code lookup additionally returns that code's own usage metadata (redemption_code, times_used, code_status, group_status, effective_date, expiration_date) alongside the promotion. An unknown or expired code returns a 404 rather than a null success payload.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | The redemption code as a customer would type it in at checkout. Use a value returned by kfc-promotions when available. Exactly one of code or serialized_code is required | |
| serialized_code | No | A unique per-print serialized/QR code that resolves to a shared redemption code. Exactly one of code or serialized_code is required |