Hi,
We are trying to implement alternatives for product variants that are out of stock, and have managed to import these in the EcomProductsRelated table, using fields like ProductRelatedProductRelVariantID to indicate which variant product is the alternative, and ProductRelatedLimitVariant to indicate for which variant this should be valid.
Now when we try to get this data from DW in the API the limit is nowhere to to be found, or implemented. for every variant of the product the relatedcount is the same.
I tried with the webapi
dwapi/ecommerce/products/0224.01.01/related
but that had same problem, only a generic relation on the master product, no limit info to be found anywhere.
"RelatedGroups": [
{
"Id": "1016",
"Name": "alternatief",
"Products": [
{
"ProductId": "0401.01.02",
"VariantId": "4785"
},
{
"ProductId": "0280.01.01",
"VariantId": "1284"
}
]
}
]
As far as I can see the limit on Language and variantid are ignored. (they are shown in the CMS backend though)
Is there something I am missing, or some service I can call to get the correct data?
Greets Hans