ProductGiftCard Object
Description
Gift card configuration for product items.
Declaration
type ProductGiftCard {
active: Boolean
codeLength: Int
prefix: String
singleSpending: Boolean
generateVoucherOnSale: Boolean
}
Fields
| Name | Type | Description |
|---|---|---|
active | Boolean | Whether gift card generation is active for this product. |
codeLength | Int | Length of the gift card code to generate. |
prefix | String | Prefix to add to generated gift card codes. |
singleSpending | Boolean | Whether the gift card can only be used once. |
generateVoucherOnSale | Boolean | Whether to automatically generate a voucher when the product is sold. |