Locations Update Priorities
tiendanube_locations_update_prioritiesSet the order in which locations are used to deduct stock, so inventory is allocated according to your preferred location priorities.
Instructions
Set the order in which locations are used to deduct stock. HTTP: PATCH /locations/priorities Required scope: write_locations API version: 2025-03
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": {
"priorities": "<priorities>"
},
"name": "tiendanube_locations_update_priorities"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| priorities | Yes | Priority list per the API reference, e.g. [{id: <location_id>, priority: 0}, ...] |