Posted on 31/05/2022 10:45:44
Hi Eva,
for querying specific product/products you can run the query like that:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<GetEcomData ExternalUserId="E000010" AccessUserCustomerNumber="20000">
<tables>
<Products type="filter" unitPrices="true">
<Product>
<ProductId>1896-S</ProductId>
<ProductVariantId>LONGVARIAN</ProductVariantId>
<ProductNumber>1896-S</ProductNumber>
<ProductUnitId>Unit_STK</ProductUnitId>
<ProductIdentifier>1896-S.LONGVARIAN.ENU</ProductIdentifier>
<CurrencyCode>EUR</CurrencyCode>
<Quantity>1</Quantity>
</Product>
<Product>
<ProductId>1896-S</ProductId>
<ProductVariantId></ProductVariantId>
<ProductNumber>1896-S</ProductNumber>
<ProductUnitId>Unit_STK</ProductUnitId>
<ProductIdentifier>1896-S..ENU</ProductIdentifier>
<CurrencyCode>EUR</CurrencyCode>
<Quantity>1</Quantity>
</Product>
</Products>
</tables>
</GetEcomData>
For resetting the Dynamicweb counter you need to add the attribute ReimportTable="true" into the query:
<GetEcomData Qty="10" ReimportTable="true"><tables><Products type="all" setLanguage="DAN" importProductProperties="true" /></tables></GetEcomData>
ReimportTable - This resets the checkpoint for delta tracking to 0 so all records will be imported again.
CustomModifier - Allows you to have multiple site connected to the same ERP where each site gets its own set of deltas. Useful if you have a B2B and B2C site for example and want the changes from the ERP on both.
BR, Dmitrij