redeem_promo_code
Applies a promotional code to a Flighty user account and requires write access enabled. Use it to activate a promo code through Flighty's API.
Instructions
redeem_promo_code: POST /v1/user/promocode/{code}/redeem. Mutating; requires FLIGHTY_ALLOW_WRITES=true. Not live-validated. path keys: code. Mutation behavior has not been live-tested.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| query | No | ||
| payload | No | ||
| confirm_destructive | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||