Try our conversational search powered by Generative AI!

Service Api add parent relations to entryrelations when entry is variant

Found in

EPiServer.ServiceApi.Commerce 1.2.0

Created

Feb 09, 2015

Updated

Feb 13, 2015

Area

Falcon/Commerce

State

Closed, Fixed and Tested


Steps to reproduce

Regarding maintance of relationship between products and variants, I want to be able to get all relations for an entry id regardless of whether it is a variant or a product. I use the service:
“/episerverapi/commerce/entries/{entry code}/entryrelations” however seems only to work if I use the product entry id – not if I use the variant entry id.