Properties
| Name | Type | Description |
|---|---|---|
| id | string | |
| name | string | Name provided for the gift certificate that will appear in the control panel. |
| theme | string | The theme of the gift certificate. |
| amount | number | Value must be between 1.00 and 1,000.00 in the store’s default currency. |
| is_taxable | boolean | |
| sender | object | |
| recipient | object | |
| message | string | Limited to 200 characters. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/ItemGiftCertificate",
"title": "Item Gift Certificate",
"type": "object",
"required": [
"sender",
"recipient",
"amount",
"theme"
],
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string",
"description": "Name provided for the gift certificate that will appear in the control panel."
},
"theme": {
"type": "string",
"description": "The theme of the gift certificate.",
"enum": [
"birthday.html",
"boy.html",
"celebration.html",
"christmas.html",
"general.html",
"girl.html"
]
},
"amount": {
"type": "number",
"description": "Value must be between 1.00 and 1,000.00 in the store\u2019s default currency."
},
"is_taxable": {
"type": "boolean"
},
"sender": {
"title": "Contact Entity",
"type": "object",
"properties": {
"name": {
"type": "string"
},
"email": {
"type": "string"
}
}
},
"recipient": {
"title": "Contact Entity",
"type": "object",
"properties": {
"name": {
"type": "string"
},
"email": {
"type": "string"
}
}
},
"message": {
"type": "string",
"description": "Limited to 200 characters."
}
},
"x-internal": false
}