POST:inventory_locations.json
POST:inventory_locations.json
Description
Modify one or multiple inventory locations.
Permission bit: "inventory_locations.modify"
Topic: Inventory Locations
Query Parameters
ids: Comma-separated array of String, required
List of inventory location ids. See also: Unique Identifiers
Example: ?ids=il_EQzGqWoY,il_EQzGqWoY
Unique shop identifier. See also: Unique Identifiers
Example: ?shop_id=sh_EQzGqWoY
Request Body
Array of InventoryLocationModify
[ { "address": { "address1": "Chestnut Street 92", "address2": "Apartment 2", "city": "Louisville", "company": "Google inc.", "country": "US", "id": "ad_EQzGqWoY", "name": "John Smith", "phone": "5556251199", "plus_code": "PQ7W+WM", "province": "KY", "zip": "40202" }, "customer_collection": false, "enabled": true, "hours": [ { "day": 0, "minute_from": 30, "minute_to": 59 } ], "lead_time_hours_max": 5, "lead_time_hours_min": 2, "name": "Asia Warehouse", "special_hours": [ { "date_ranges": [ { "day_from": 31, "day_to": 31, "month_from": 12, "month_to": 12, "name": "New Year", "year_from": 2015, "year_to": 2016 } ], "hours": [ { "minute_from": 30, "minute_to": 59 } ] } ] } ]
Response Body
Array of InventoryLocation
Response Body Type
Loading module