Create
Stocks
Create stock
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.
POST
Create
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
Example:
"{{companyId}}"
Body
application/json
Response
201 - application/json
201
Example:
"01hqydxwtxdj3kmzp3bz7jk73g"
Example:
"2025-10-10T15:12:53.000000Z"
Example:
"01k77ax6n3vcmxbyt0env1zkar"
Example:
[]
Example:
[]
Example:
[]
Example:
"01k77apj286gns7ap98hn5ejhc"
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:
"Action Short / Navy"
Example:
"2025-10-10T15:12:53.000000Z"
