getTopLevelProductsForItems
READGet top level products for items.
POST /api/v1/items/getTopLevelProductsForItems
curl -X POST '<your-host>/api/v1/items/getTopLevelProductsForItems' \
-H 'Authorization: Bearer <api-key>' \
-H 'Content-Type: application/json' \
-d '{
"itemIds": []
}'Response
{
"results": [
{
"productId": "string",
"sourceItemIds": [
"string"
]
}
],
"count": null
}Parameters
ParameterType
Input schema
schema
{
"type": "object",
"properties": {
"itemIds": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"itemIds"
]
}