These docs are for v1.0. Click to read the latest docs for v2.1.

Find a voucher by campaign metadata

Find voucher by campaign metadata.

Optionally assign found voucher to a customer by passing customer_identifier param. All vouchers for a customer can be fetched at /customers/{id}/vouchers.

If no voucher is available this endpoint will return an empty response and HTTP code 204 No content

At least one metadata must be provided, otherwise no voucher will be returned.

Query Params
medium
array of strings
medium
purpose
array of strings
purpose
team
array of strings
team
channel
array of strings
channel
budget_code
array of strings
budget_code
string

"Assign found voucher to a customer with this identifier. Will create customer if not present. Optional."

Responses

204

No vouchers found for given criteria

Language
Credentials
Basic
base64
:
URL
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json