create_gift_card
Creates a new gift card for a Shopify store, with options to set initial value, custom code, expiration, note, and associate with a customer.
Instructions
Create a new gift card
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"initialValue": "<initialValue>"
},
"name": "create_gift_card"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | Custom code (optional, auto-generated if not provided) | |
| note | No | Internal note | |
| expiresAt | No | Expiration date (ISO 8601 format) | |
| customerId | No | Associate with a customer | |
| initialValue | Yes | Initial value of the gift card |