get_gift_cards
Fetch gift cards from your Shopify store. Filter by status, code, or balance, sort, and paginate results.
Instructions
Fetch gift cards from the store
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_gift_cards"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | Cursor for pagination | |
| first | No | Number of gift cards to fetch (1-250, default: 50) | |
| query | No | Filter query (e.g., 'status:active', 'code:MYGIFT') | |
| reverse | No | Reverse the sort order | |
| sortKey | No | Field to sort by |