Basically i want to get the stock status for att the children items of a configurable product.
I can query this endpoint, but i don’t get the stock status:
/rest/V1/configurable-products/{SKU}/children
However, i can use the SKU’s from the items that i get from the response from the endpoint mentioned above, then query this endpoint for every item:
/rest/V1/products/{SKU}
So i could do this, but it’s very inefficient to query the /rest/V1/products/{SKU} endpoint for hundreds of items that exists within my configurable product.
Is there any way i can do this more efficiently?
Preferably only with one request by putting in the configurable product SKU and get the stock status for all of it’s children items.
Thanks in advance