cancel
Showing results for 
Search instead for 
Did you mean: 

REST API: get the "parent" configurable product from a "child" product

REST API: get the "parent" configurable product from a "child" product

Hi,

 

It's possible to get all children products of a configurable product, using this endpoint:

 

/V1/configurable-products/:sku/children

 

I need to perform the exact opposite. That is, from a child product (its ID, its SKU, whatever), getting the configurable product where it comes from.

 

Is there a way to do that?

 

Thank you