create bulk-stock
Developing
Request
Body Params application/json
{
"date": "2025-10-23",
"storeId": "a1bf5b6aa08c4bcaab26117ab0ece725",
"vendorId": "c6b9decf598b4a9e86588fc72f994032",
"pmethod": "pos",
"bankAmount": 0,
"posAmount": 250000,
"cashAmount": 0,
"amount": 250000,
"total": 250000,
"stock": [
{
"productId": "prd_2001",
"quantity": 5.25,
"costPrice": 1999.99,
"itemPriceId": "price_2001"
},
{
"productId": "prd_2002",
"quantity": 10,
"costPrice": 350.0,
"itemPriceId": "price_2002"
}
]
}
Request Code Samples
curl --location --request POST 'https://mock.apidog.com/m1/1052146-0-default/inventory/bulk-stock' \
--header 'Content-Type: application/json' \
--data-raw '{
"date": "2025-10-23",
"storeId": "a1bf5b6aa08c4bcaab26117ab0ece725",
"vendorId": "c6b9decf598b4a9e86588fc72f994032",
"pmethod": "pos",
"bankAmount": 0,
"posAmount": 250000,
"cashAmount": 0,
"amount": 250000,
"total": 250000,
"stock": [
{
"productId": "prd_2001",
"quantity": 5.25,
"costPrice": 1999.99,
"itemPriceId": "price_2001"
},
{
"productId": "prd_2002",
"quantity": 10,
"costPrice": 350.0,
"itemPriceId": "price_2002"
}
]
}'
Responses
application/json Modified at 2025-11-21 14:52:13