Update Warehouse Detail
PUT /warehouses/{id}
Update details about a warehouse.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”ID of the Warehouse
Request Body
Section titled “Request Body ”object
object
The name of the warehouse.
The first line of the warehouse address.
The second line of the warehouse address.
The warehouse’s city.
The warehouse’s state or county.
The warehouse’s country.
The warehouse’s postal/ZIP code.
The warehouse’s phone number, if applicable.
Whether cut-off times are enabled for this warehouse.
Cut-off times for the warehouse.
object
object
Example
{ "warehouse": { "id": 123, "name": "My Warehouse", "address_line_1": "221 High Street", "address_line_2": "Floor 4", "city": "Swansea", "region": "Glamorgan", "country": "GB", "post_code": "SA1 1NW", "phone": "01792 720740", "cut_off_times_enabled": true, "cut_off_times": { "default": { "monday": "18:00", "tuesday": "13:00", "wednesday": "15:00", "thursday": "19:00", "friday": "13:00", "saturday": "", "sunday": "" } } }}
Responses
Section titled “ Responses ”The warehouse was successfully updated.
object
The name of the warehouse.
The first line of the warehouse address.
The second line of the warehouse address.
The warehouse’s city.
The warehouse’s state or county.
The warehouse’s country.
The warehouse’s postal/ZIP code.
The warehouse’s phone number, if applicable.
Whether cut-off times are enabled for this warehouse.
Cut-off times for the warehouse.
object
object
Example
{ "id": 123, "name": "My Warehouse", "address_line_1": "221 High Street", "address_line_2": "Floor 4", "city": "Swansea", "region": "Glamorgan", "country": "GB", "post_code": "SA1 1NW", "phone": "01792 720740", "cut_off_times_enabled": true, "cut_off_times": { "default": { "monday": "18:00", "tuesday": "13:00", "wednesday": "15:00", "thursday": "19:00", "friday": "13:00", "saturday": "", "sunday": "" } }}