Get customFields from parent variante article

How did I get customFields from my parent variant article?

In the product entity endpoint there is an array ‚customFields‘ that contain the custom fields.

@alexbatenburg Yes but this is only the value of current product not of the parent product

Hi onveda_ak,

have you found a solution? I 've got the same problem and would be happy to hear your solution.

Bye

Karina

Just pushing. Has anybody an example on how to achieve this?

Ok, so I found a way to make it work. Although I’m not sure if this is the best way to do it. Feedback is highly appreciated:

https://gist.github.com/Donderda/29378e2168156028c2883154e8b689a4