Request
Body Params application/json
[
{
"type": "out",
"product_id": 2,
"unit_id": 2,
"quantity": 100,
"notes": "test out"
},
{
"type": "in",
"product_id": 2,
"unit_id": 2,
"quantity": 10,
"notes": "test in"
}
]
Request Code Samples
curl --location --request POST 'https://imsbev1-production.up.railway.app/api/v1/stocks/' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '[
{
"type": "out",
"product_id": 2,
"unit_id": 2,
"quantity": 100,
"notes": "test out"
},
{
"type": "in",
"product_id": 2,
"unit_id": 2,
"quantity": 10,
"notes": "test in"
}
]'
Responses
application/json Modified at 2025-08-02 19:23:28