Creates a new stock entry for a specific product or warehouse. This endpoint allows defining stock quantity, associated product, warehouse location, and optional metadata such as batch number or expiration date. Once created, the stock entry becomes available for inventory tracking and updates.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
"{{companyId}}"
201
"01hqydxwtxdj3kmzp3bz7jk73g"
"2025-10-10T15:12:53.000000Z"
"01k77ax6n3vcmxbyt0env1zkar"
[][][]"01k77apj286gns7ap98hn5ejhc"
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"
}
]"Action Short / Navy"
"2025-10-10T15:12:53.000000Z"