vex_zones
Manage Vendure zones and their country or region members: create, update, delete zones, add or remove members, and list or create countries for shipping and tax coverage.
Instructions
Manage Vendure zones and their country/region members.
Actions:
list: List zones with optional pagination.
get: Get a single zone by ID with its country/region members.
create: Create a new zone, optionally assigning members immediately.
update: Update an existing zone.
delete: Delete a zone by ID.
add_members: Add countries/regions to an existing zone.
remove_members: Remove countries/regions from an existing zone.
create_country: Create a new country/region.
list_countries: List available countries/regions with optional pagination.
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": {
"action": "<action>"
},
"name": "vex_zones"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Zone ID | |
| env | No | Target env name (default: VEX_ENV, else active). | |
| code | No | ISO country code (e.g. 'IN', 'US', 'GB') | |
| name | No | Country name (e.g. 'India', 'United States') | |
| skip | No | Items to skip (default 0). | |
| take | No | Items per page (default 20). | |
| action | Yes | Operation to perform; see description for valid values. | |
| zoneId | No | Zone ID | |
| enabled | No | Whether the country is enabled (default: true) | |
| memberIds | No | Country/region IDs to remove |