Update
Stocks
Update stock
Updates the details of an existing stock entry identified by its unique ID. This endpoint allows modifying stock quantities, warehouse assignments, or related metadata. It returns the updated stock data upon success and ensures accurate inventory synchronization.
PUT
Update
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
Example:
"{{companyId}}"
Path Parameters
Body
application/json
Example:
"Taro - 1 (updated)"
Response
200 - application/json
200
Example:
"01hqydxwtxdj3kmzp3bz7jk73g"
Example:
"2025-10-10T15:12:53.000000Z"
Example:
"01k77ax6n3vcmxbyt0env1zkar"
Example:
[]Example:
[]Example:
50
Example:
5
Example:
[
{
"batch_number": null,
"created_at": "2025-10-10T15:12:53.000000Z",
"expiration_date": null,
"id": "1742",
"metadata": null,
"production_date": null,
"quantity": 50,
"stock_id": "01k77ax6n3vcmxbyt0env1zkar",
"updated_at": "2025-10-10T15:12:53.000000Z",
"warehouse_id": "01k1amyq271bm81tncbepdxa2j"
}
]Example:
"Taro - 1 (updated)"
Example:
"2025-10-10T15:15:35.000000Z"
