Files
web-crm.mcmed.ru/backend/artifacts/products/warehouse.http
Viktoria Polyakova 4fb101c5db Init
2026-01-25 08:57:38 +00:00

32 lines
577 B
HTTP

### Get warehouses
GET {{url}}/api/products/warehouses
Content-Type: application/json
Authorization: Bearer {{token}}
### Create warehouse
POST {{url}}/api/products/warehouses
Content-Type: application/json
Authorization: Bearer {{token}}
{
"name": "Some warehouse"
}
### Update warehouse
PUT {{url}}/api/products/warehouses/{{warehouseId}}
Content-Type: application/json
Authorization: Bearer {{token}}
{
"name": "New warehouse name"
}
### Delete warehouse
DELETE {{url}}/api/products/warehouses/123
Content-Type: application/json
Authorization: Bearer {{token}}