deactivate_location
Deactivate a Shopify location, transferring inventory and pending orders to a specified destination.
Instructions
Deactivate a location and moves inventory, pending orders, and transfers to a destination location
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": {
"locationId": "<locationId>"
},
"name": "deactivate_location"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| locationId | Yes | Location ID to deactivate | |
| destinationLocationId | No | Destination location for inventory transfer |