Get the product variation for each product

Posted by Community Admin on 04-Aug-2018 10:28

Get the product variation for each product

All Replies

Posted by Community Admin on 31-Jul-2015 00:00

Hi Experts,

I need to get the product variation for each product, and I've been testing with calls to the services exposed by sitefinity but I'm not being successful.

Calls to Sitefinity Product Variation service (/Sitefinity/Services/Ecommerce/Catalog/ProductVariation.svc)  returns only:

AdditionalPrice,
DeltaPriceDisplay,
Id,
Images ,
InventoryDisplay,
InventoryJson,
IsActive,
Sku,
Thumbnail,
Variant,

VariantNames.

 

I'm not seing an association to the product that the variation belongs to.

Is there any service that returns the variation and the related products?

If there isn't what could be the best approach? Build my own service?

(Documentation about each service provided would be also very apreciated) 

 

Thanks in Advance,

Nelson

Posted by Community Admin on 03-Aug-2015 00:00

I searched for a solution but didn't find a service that provides the Variation and the related productId, so I decided to create a service through Web Api that returns the variation and the productId associated.

If anyone find a better/easy solution I would be glad to hear

Thanks,

Nelson

This thread is closed