Create Voucher Program From Template
POST https://api.uber.com/v1/organizations/{{organization_id}}/voucher-programs/create-from-template
This API call generates a voucher_id, which is the identifier value for the entire voucher program using a predefined Template.
This API call utilizes a SINGLECODEMULTI_REDEEM code scheme.
template_id is the ID of the template this campaign is based on
redemptionspercode is the number of times a code can be redeemed. This value can be customized.
valuepertripmaxamount is the maximum dollar amount each voucher can cover on each trip fare. This value can be customized.
valueperperiodmaxtrips is the maximum number of trips a rider can take, per period. This value can be customized.
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
`` | null | ||
Accept-Language | string | ||
Content-Type | string | ||
User-Agent | string |
RESPONSES
status: OK
{"voucher_program_id":"Redacted","code_text":"Redacted","code_link":"Redacted"}