Update product stock information
This endpoint is used to manually update stocks and set specific stock for each marketplaces
This endpoint is used to update stock info for your products - it can be used to update only one product based on our ID or your own product ID. If provided with array of ID's it will be handled as batch
POST
/stocks
curl \
--request POST 'api.services.omnicado.com/api/v2/stocks' \
--header "X-OMNICADO-TOKEN: $API_KEY" \
--header "Content-Type: application/json" \
--data '{"operationId":"stockUpdate","items":[{"remoteId":"H1234443","productSetId":1234,"stockSupplyStrategy":[{"stock":4.0,"connectorId":"mallCz"}]}]}'
Request examples
{
"operationId": "stockUpdate",
"items": [
{
"remoteId": "H1234443",
"productSetId": 1234,
"stockSupplyStrategy": [
{
"stock": 4.0,
"connectorId": "mallCz"
}
]
}
]
}