Name | Type | Description | Notes |
---|---|---|---|
voucher | str | Code of the voucher being published. | [optional] |
source_id | str | The merchant's publication ID if it is different from the Voucherify publication ID. It's an optional tracking identifier of a publication. It is really useful in case of an integration between multiple systems. It can be a publication ID from a CRM system, database or 3rd-party service. If `source_id` is provided only 1 voucher can be published per request. | [optional] |
customer | Customer | [optional] | |
metadata | object | The metadata object stores all custom attributes assigned to the publication. A set of key/value pairs that you can attach to a publication object. It can be useful for storing additional information about the publication in a structured format. | [optional] |
channel | str | Specify the distribution channel. | [optional] |
campaign | CreatePublicationCampaign | [optional] |