Skip to content
This repository has been archived by the owner on Sep 3, 2024. It is now read-only.

Latest commit

 

History

History
31 lines (28 loc) · 3.63 KB

LoyaltiesMembersTransfersCreateResponseBody.md

File metadata and controls

31 lines (28 loc) · 3.63 KB

# LoyaltiesMembersTransfersCreateResponseBody

Properties

Name Type Description Notes
id string Assigned by the Voucherify API, identifies the voucher.
code string A code that identifies a voucher. Pattern can use all letters of the English alphabet, Arabic numerals, and special characters.
campaign string A unique campaign name, identifies the voucher's parent campaign. [optional]
campaign_id string Assigned by the Voucherify API, identifies the voucher's parent campaign. [optional]
category string Tag defining the category that this voucher belongs to. Useful when listing vouchers using the List Vouchers endpoint.
category_id string Unique category ID assigned by Voucherify.
categories \OpenAPI\Client\Model\Category[] [optional]
type string Defines the type of the voucher. [default to 'LOYALTY_CARD']
loyalty_card \OpenAPI\Client\Model\LoyaltiesMembersTransfersCreateResponseBodyLoyaltyCard
start_date \DateTime Activation timestamp defines when the code starts to be active in ISO 8601 format. Voucher is inactive before this date.
expiration_date \DateTime Expiration timestamp defines when the code expires in ISO 8601 format. Voucher is inactive after this date.
validity_timeframe \OpenAPI\Client\Model\LoyaltiesMembersTransfersCreateResponseBodyValidityTimeframe
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
publish \OpenAPI\Client\Model\LoyaltiesMembersTransfersCreateResponseBodyPublish [optional]
redemption \OpenAPI\Client\Model\LoyaltiesMembersTransfersCreateResponseBodyRedemption [optional]
active string 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
additional_info string An optional field to keep any extra textual information about the code such as a code description and details.
metadata object The metadata object stores all custom attributes assigned to the code. 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.
assets \OpenAPI\Client\Model\LoyaltiesMembersTransfersCreateResponseBodyAssets [optional]
is_referral_code bool Flag indicating whether this voucher is a referral code; `true` for campaign type `REFERRAL_PROGRAM`.
holder_id string Unique customer ID of voucher owner. [optional]
updated_at \DateTime Timestamp representing the date and time when the voucher was last updated in ISO 8601 format. [optional]
created_at \DateTime

[Back to Model list] [Back to API list] [Back to README]