Init
This commit is contained in:
18
backend/artifacts/products/stock.http
Normal file
18
backend/artifacts/products/stock.http
Normal file
@@ -0,0 +1,18 @@
|
||||
### Update product stocks
|
||||
|
||||
PUT {{url}}/api/products/{{productId}}/stocks
|
||||
Content-Type: application/json
|
||||
Authorization: Bearer {{token}}
|
||||
|
||||
{
|
||||
"stocks": [
|
||||
{
|
||||
"warehouseId": {{warehouseId}},
|
||||
"stockQuantity": 100
|
||||
},
|
||||
{
|
||||
"warehouseId": {{secondWarehouseId}},
|
||||
"stockQuantity": 200
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user