1
0
Fork 0
mirror of synced 2025-04-09 12:02:04 +00:00

Generating ICML using the MC API JSON 1.1

This commit is contained in:
gluschenko 2017-04-26 11:37:55 +03:00
parent dc6135e54d
commit f7c3d9d168
3 changed files with 369 additions and 514 deletions

File diff suppressed because it is too large Load diff

View file

@ -57,13 +57,9 @@ d) в строке `'file' => 'test.xml'`, заменить `test.xml` на лю
* `file` - Имя файла с итоговым icml без пути (по умолчанию: shopname.catalog.xml)
* `directory` - Директория для итогового icml файла (по умолчанию: текущая директория)
* `ignoreOffers` - Если `true` модификации товаров из МойСклад будут проигнорированы
* `ignoreCategories` - Строка `'all'` или массив с ключами:
* `uuids` - Массив c `uuid` групп товаров, которые должны быть проигнорированы
* `ignoreCategories` - массив с ключами:
* `ids` - Массив c `id` групп товаров, которые должны быть проигнорированы
* `externalCodes` - Массив c `внешними кодами` групп товаров, которые должны быть проигнорированы
* `ignoreProducts` - Массив с ключами:
* `uuids` - Массив с `uuid` товаров, которые будут проигнорированы (Модификации товара проигнорировать нельзя)
* `externalCodes` - Массив с `внешними кодами` товаров, которые будут проигнорированы (Модификации товара проигнорировать нельзя)
* `ignoreNoCategoryOffers` - Если `true` товары, не принадлежащие ни к одной категории, будут проигнорированы
* `imgur` - Хостинг изображений
* `clientId` - Уникальный идентификатор приложения (как его получить читайте далее)

View file

@ -27,12 +27,9 @@ Options is array with next keys:
* `file` - filename with result icml without path (default: shopname.catalog.xml)
* `directory` - target directory for icml file (default: current directory)
* `ignoreOffers` - if `true` consignment from MoySklad will be ignored
* `ignoreCategories` - string `'all'` or array with keys:
* `uuids` - array with GoodFolder `uuid` for ignore
* `ignoreCategories` - array with keys:
* `ids` - array with GoodFolder `id` for ignore
* `externalCodes` - array with GoodFolder `externalcode` for ignore
* `ignoreProducts` - array with keys:
* `uuids` - array with Good `uuid` for ignore (Consignment can't be ignore)
* `externalCodes` - array with Good `externalcode` for ignore (Consignment can't be ignore)
* `ignoreNoCategoryOffers` - If `true` goods that do not belong to any category are ignored
All options keys aren't required