Search stock for products
Developing
Request
Add parameter in header api-key
Example:api-key: ********************
Body Params application/json
{
"items": [
{
"productId": 213
},
{
"productId": 44,
"configurationId": 84628
}
]
}
Request samples
curl --location --request POST 'https://api.logictrade.cloud/rest/v1/products/stock' \
--header 'Content-Type: application/json' \
--header 'api-key;' \
--data-raw '{
"items": [
{
"productId": 213
},
{
"productId": 44,
"configurationId": 84628
}
]
}'
Responses
application/json {
"items": [
{
"productId": 213,
"locations": [
{
"id": 1,
"code": "WIN",
"description": "Verkoopbaar winkel",
"saleable": true,
"stock": 1
},
{
"id": 2,
"code": "WIN-NV",
"description": "Niet verkoopbaar winkel",
"saleable": false,
"stock": 4
}
]
},
{
"productId": 44,
"configurationId": 84628,
"locations": [
{
"id": 1,
"code": "WIN",
"description": "Verkoopbaar winkel",
"saleable": true,
"stock": 12
}
]
}
]
}
Modified at 2025-01-23 13:48:53