Warehouses
Update a warehouse
Update a warehouse's name and/or disabled flag. Omitted fields are left untouched.
patch/v1/warehouses/{id}
Request
- Base URLhttps://inventories-api.paymongo.com
- URLhttps://inventories-api.paymongo.com/v1/warehouses/{id}
- AuthHTTP basic
Path parameters
idstring required
Warehouse id
Request body
Example request
{
"disabled": true,
"name": "Warehouse Cebu"
}Response
OK
Example response
{
"data": {
"created_at": 1752000000,
"id": "ww_abc123",
"livemode": true,
"name": "Warehouse Manila",
"updated_at": 1752000000
}
}Changes
No recorded changes to this operation across all 1 revision of this API.