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
string

Customer identifier

string

Purpose. Array, multiple values are allowed.

string

Team. Array, multiple values are allowed.

string

Channel. Array, multiple values are allowed.

string

Medium. Array, multiple values are allowed.

Responses

204

No content response if searched vouch could not be found

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