Request body schema for POST v1/campaigns/{campaignId}/vouchers
.
Name | Type | Description | Notes |
---|---|---|---|
code | str | Unique voucher code. | [optional] |
code_config | CodeConfig | [optional] | |
category | str | The category assigned to the campaign. Either pass this parameter OR the `category_id`. | [optional] |
metadata | object | The metadata object stores all custom attributes assigned to the voucher. A set of key/value pairs that you can attach to a voucher object. It can be useful for storing additional information about the voucher in a structured format. | [optional] |
redemption | CampaignsVouchersCreateInBulkRequestBodyRedemption | [optional] | |
additional_info | str | An optional field to keep any extra textual information about the code such as a code description and details. | [optional] |
start_date | datetime | Activation timestamp defines when the voucher starts to be active in ISO 8601 format. Voucher is inactive before this date. | [optional] |
expiration_date | datetime | Expiration timestamp defines when the voucher expires in ISO 8601 format. Voucher is inactive after this date. | [optional] |