Traits in stock summaries and distribution
Both stock summaries and stock distributions allow fetching a high level overview on stock quantities per location for the respective trait(s).
curl -sSL 'https://your.api.fulfillmenttools.com/api/stocks/summaries' \
--header 'Authorization: Bearer <TOKEN>'
{
"total": 249,
"stockSummaries": [
{
"_id": "...",
"details": {
"safetyStock": 0,
"totalAmount": 665,
"available": 665,
"reserved": 0,
"expectedStocks": [],
"byTrait": {
"PICKABLE": 665,
"ACCESSIBLE": 86
}
},
"article": {
"tenantArticleId": "...",
"title": "",
"imageUrl": null
}
},
/* ... */
]
}