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.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
"{{companyId}}"
"Taro - 1 (updated)"
200
"01hqydxwtxdj3kmzp3bz7jk73g"
"2025-10-10T15:12:53.000000Z"
"01k77ax6n3vcmxbyt0env1zkar"
[][]50
5
[
{
"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"
}
]"Taro - 1 (updated)"
"2025-10-10T15:15:35.000000Z"