I need to build some code that is supposed to enrich some products based on data from external sources.
I am basically building an Add-in that should loop over a list of products and adjust ProductCategoryField values based on some external data.
There's been a lot of changes lately in how interaction with products via API is happening and I want to make sure that whatever code I am building now is going to be future-proof.
Therefore, I would like to find out the best method to identify a product based on a ProductField value and also the best method for adding/editing productCategoryFieldValues.
I am guessing I should use Dynamicweb.Ecommerce.ProductService but there are a lot of methods in there for querying products and some of them are marked as Obsolete.
Can somebody suggest the best approach?