Check voucher code
Overview
A vouchers current status can be checked within Airship. This will return the following information:
Contact id associated
Redemption unit (if redeemed)
Redemption date/time (if redeemed)
Status;
"Active" (not yet redeemed)
"Redeemed"
Example Request
Configuration
Headers
Authentication
(bearer token)
The authentication token is linked to the account that you are searching bookings in. If you are unsure of what your Authentication token is, ask our support team to confirm.
Body
account_id
The account ID represents the account that you are searching bookings in. If you are unsure of what your account ID is, ask our support team to confirm.
unique_code
The unique voucher code which you are searching for.
unique_code_group_id
The unique voucher code group which the voucher is associated with. As the same voucher code can exist in different code groups (be issued in different campaigns at different points in time) - the ucgid enables us to narrow down which code is being searched for.
Basic Payload example
Last updated