Warehouses
PATCH
Update Warehouses
Update an existing warehouse.
Required Permission:
Edit Warehouse
PATCH
/warehouses/{id}
Request Body
JSONRequest Parameters
| Parameter | Type | Required | Validation | Description |
|---|---|---|---|---|
| name | String | Required | string, required | The name |
| position | Integer | Optional | integer, optional | The warehouse position |
| address | String | Optional | string, optional | The address |
| phone | String | Optional | string, optional | The phone |
| String | Optional | string, optional | The email |
Response
200 OKStatus Code
HTTP status code (200)
Message
Human-readable description
Data
Updated warehouse details