Properties
| Name | Type | Description |
|---|---|---|
| relationName | string | Represents the relationship between the client and the store. |
| emissionDate | string | Gift card emission date. It must be in the format `YYYY-MM-DDThh:mm:ss.fff` (ISO 8601 format). |
| expiringDate | string | Gift card expiration date. It must be in the format `YYYY-MM-DDThh:mm:ss.fff` (ISO 8601 format). |
| caption | string | Field to be filled in if a loyalty program must be created for the gift card. |
| restrictedToOwner | boolean | The gift card can only be used for a specified client's ID. |
| multipleRedemptions | boolean | The gift card can be used to make new purchases until its value is completely used. |
| multipleCredits | boolean | The gift card balance can be changed. |
| profileId | string | Client ID. You can use the customer's registered email or the `userId` parameter which can be found in the [Master Data](https://help.vtex.com/en/tutorial/master-data--4otjBnR27u4WUIciQsmkAw). |
| currencyCode | string | Currency code in ISO 4217. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/CreateGiftCardinGiftCardProviderRequest",
"title": "CreateGiftCardinGiftCardProviderRequest",
"required": [
"relationName",
"emissionDate",
"expiringDate",
"caption",
"restrictedToOwner",
"multipleRedemptions",
"multipleCredits",
"profileId"
],
"type": "object",
"properties": {
"relationName": {
"type": "string",
"description": "Represents the relationship between the client and the store.",
"example": "loyalty-program"
},
"emissionDate": {
"type": "string",
"description": "Gift card emission date. It must be in the format `YYYY-MM-DDThh:mm:ss.fff` (ISO 8601 format).",
"example": "2020-09-01T13:15:30Z"
},
"expiringDate": {
"type": "string",
"description": "Gift card expiration date. It must be in the format `YYYY-MM-DDThh:mm:ss.fff` (ISO 8601 format).",
"example": "2020-09-10T13:15:30Z"
},
"caption": {
"type": "string",
"description": "Field to be filled in if a loyalty program must be created for the gift card.",
"example": "Loyalty Program"
},
"restrictedToOwner": {
"type": "boolean",
"description": "The gift card can only be used for a specified client's ID.",
"example": false
},
"multipleRedemptions": {
"type": "boolean",
"description": "The gift card can be used to make new purchases until its value is completely used.",
"example": false
},
"multipleCredits": {
"type": "boolean",
"description": "The gift card balance can be changed.",
"example": false
},
"profileId": {
"type": "string",
"description": "Client ID. You can use the customer's registered email or the `userId` parameter which can be found in the [Master Data](https://help.vtex.com/en/tutorial/master-data--4otjBnR27u4WUIciQsmkAw).",
"example": "92de2449-0e02-4ca9-a4aa-a09cc9d8f7ff"
},
"currencyCode": {
"type": "string",
"description": "Currency code in ISO 4217.",
"example": "USD"
}
}
}