Skip to content

Files

Latest commit

54d961e · Jan 16, 2024

History

History
19 lines (11 loc) · 1.26 KB

CampaignsVouchersCreateRequestBody.md

File metadata and controls

19 lines (11 loc) · 1.26 KB

CampaignsVouchersCreateRequestBody

Request body schema for POST /campaigns/{campaignId}/vouchers/{code}.

Properties

Name Type Description Notes
category String 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 CampaignsImportVoucherItemRedemption [optional]
additionalInfo String An optional field to keep any extra textual information about the code such as a code description and details. [optional]
startDate OffsetDateTime Activation timestamp defines when the voucher starts to be active in ISO 8601 format. Voucher is inactive before this date. [optional]
expirationDate OffsetDateTime Expiration timestamp defines when the voucher expires in ISO 8601 format. Voucher is inactive after this date. [optional]