Update Inventory
Testing
PUT
/store/products/{id}/inventory
BosOnline/Product
Catatan: Perubahan url, Penambahan response data kosong, Perbaikan response 400 dan Perbaikan response 503
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT '/store/products/ESB-001-27/inventory' \
--header 'Content-Type: application/json' \
--data-raw '{
"qty": 200,
"description": "Test saja"
}'
Response Response Example
201 - Success
{
"message": "varian updated ESB-001-01"
}
Request
Path Params
id
string
required
Example:
ESB-001-27
Body Params application/json
Responses
Modified at 2025-06-20 02:35:25