1) Search for goods by barcode
- field in api barcode
https://b2b.yugcontract.ua/api-services/get-price- If found by barcode - update by barcode
- If the bar code is not found and the checkbox "Do not create new products" is not checked, we create a new one.
- If the checkbox "Do not search for matches by article number" is checked, then we search only by bar code, if not, then we look by article number and then by bar code.
- It is necessary to provide an option after creating a new product, that is, if you did not find it by the bar code (or it was not filled in for the product), but we created a new product from the supplier, then you need to update the supplier's data by the supplier's code.
2) You need to finish the import by category (now you just select categories)
You need to do it a little differently:
It is necessary to make a category correspondence table
https://take.ms/AR8mkThat is, we load only the categories indicated in this table, from the category on the left (supplier) - we load the goods into the category on the right (box)
3) You need to update only the data on the supplier (price, availability, RRP, etc. (fields in the "Suppliers" tab), do not update the product fields if they are filled out.
- That is, so that the fields do not fray if the product has already been created. Maybe that's how it works now, I don't know for sure.