How to combine different ways to manage an assortment
The general principle
You can combine different tools as you like. For example, you can add products using an Excel file, add their cards in the cabinet, and transfer the rest via the API.
At the same time, a very simple rule applies: The Market always considers relevant the data that it received from you last. For example, if you changed the price of an item in your account, and then uploaded a file that shows the previous price, the price from the file will be set.
There are two exceptions to this rule: passing a YML file with an attribute date
and transfer of balances via the API.
YML file with the date attribute
The YML file explicitly states at what point the data in it is relevant - and this moment may not coincide with the moment the file is uploaded. When processing a file, the Market is guided by the date and time specified in it.
Let's say you changed the price of an item in your account, and after that, the Market automatically downloaded a file that shows the old price. The market will check which is earlier: the time of the price change manually or the value in the attribute date
.
Example
- At 12:15 you changed the price of the product in the cabinet.
- At 13:30, the Market downloaded a YML file that shows the previous price. In the attribute
date
it is indicated that it is relevant at 12:00. - The market will leave the price that you set manually.
Transfer of balances via API
If you have chosen the option where the Market itself requests data on balances from you every hour, then there will be no corresponding fields in the cabinet, and the corresponding values from the files will be ignored.