Name | Type | Description | Notes |
---|---|---|---|
category | string | The name of the category that this voucher belongs to. Useful when listing vouchers with the List Vouchers endpoint. | [optional] |
category_id | string | Unique identifier assigned by Voucherify to the name of the category that this voucher belongs to. Useful when listing vouchers with the List Vouchers endpoint. | [optional] |
start_date | \DateTime | Start date defines when the code starts to be active. Activation timestamp is presented in the ISO 8601 format. Voucher is inactive before this date. | [optional] |
expiration_date | \DateTime | Expiration date defines when the code expires. Expiration timestamp is presented in the ISO 8601 format. Voucher is inactive after this date. | [optional] |
validity_timeframe | \OpenAPI\Client\Model\ValidityTimeframe | [optional] | |
validity_day_of_week | int[] | Integer array corresponding to the particular days of the week in which the voucher is valid. - `0` Sunday - `1` Monday - `2` Tuesday - `3` Wednesday - `4` Thursday - `5` Friday - `6` Saturday | [optional] |
validity_hours | \OpenAPI\Client\Model\ValidityHours | [optional] | |
active | bool | A flag to toggle the voucher on or off. You can disable a voucher even though it's within the active period defined by the `start_date` and `expiration_date`. - `true` indicates an active voucher - `false` indicates an inactive voucher | [optional] |
additional_info | string | An optional field to keep any extra textual information about the code such as a code description and details. | [optional] |
metadata | object | [optional] | |
type | string | [optional] | |
loyalty_card | \OpenAPI\Client\Model\SimpleLoyaltyCard | [optional] | |
gift | \OpenAPI\Client\Model\Gift | [optional] | |
discount | \OpenAPI\Client\Model\Discount | [optional] |
This repository has been archived by the owner on Sep 3, 2024. It is now read-only.