Get Voucher Codes
GET https://api.uber.com/v1/organizations/:organization_id/voucher-programs/:voucher_program_id/codes
This API call generates the voucher program codes.
If the MULTICODESINGLE_REDEEM code scheme is utlized, all codes will appear.
If the SINGLECODEMULTI_REDEEM code scheme is utilized, a single link will appear for redemption.
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
User-Agent | string |
RESPONSES
status: OK
{"total_number_of_codes":1,"codes":[{"code_text":"Redacted","redemption_link":"Redacted","max_num_redemptions":2,"code_id":"Redacted"}]}