curl --request PUT \
--url https://storekit.samarthh.me/v1/user/store/{storeId}/products/{productId}/stock \
--header 'Content-Type: application/json' \
--data '
{
"stock": 100,
"reason": "Initial stock setup"
}
'Set product stock to a specific amount. Requires MANAGE_PRODUCTS permission.
curl --request PUT \
--url https://storekit.samarthh.me/v1/user/store/{storeId}/products/{productId}/stock \
--header 'Content-Type: application/json' \
--data '
{
"stock": 100,
"reason": "Initial stock setup"
}
'