...
token - ключ авторизации полученный через функцию auth
expr - условие выборки товаров
parent - путь \ к \ разделу (Развивающие игрушки \ Игрушки для малышей) ИЛИ
parent.id - идентификатор раздела для выборки (или идентификаторы parent: {“id”: [1,2,3,4]})
display_in_showcase - 0 или 1 для выборки товаров которые включены
offset - смещение относительно начала выборки товаров
limit - количество экспортируемых товаров (по умолчанию 500 записей, более 500 записей выгрузить невозможно во избежание перегрузки сервера). Работает совместно с параметром offset. Например: offset=20&limit=10 - выведет товары с 20-го по 30-й
...
status - статус выполнения функции
OK - экспорт прошел успешно
EXCEPTION - произошла ошибка
products - экспортируемые товары
products[i].article - артикул товара
products[i].parent_article - артикул родительского товара
products[i].title - название товара
products[i].title.ru - значение на русском языке
products[i].title.ua - значение на украинском языке
products[i].display_in_showcase - отображать товар (1|0)
products[i].parent - путь \ к \ разделу (Развивающие игрушки \ Игрушки для малышей) (обязательный параметр)
products[i].brand - название бренда
products[i].description - описание товара
products[i].description.ru - значение на русском языке
products[i].description.ua - значение на украинском языке
products[i].we_recommended - мы рекомендуем (1|0)
products[i].icons - Иконки (["Распродажа", "Новинка", "Хит"])
products[i].seo_title - СЕО заголовок для товара
products[i].seo_title.ru - значение на русском языке
products[i].seo_title.ua - значение на украинском языке
products[i].seo_keywords - СЕО ключевые слова для товара
products[i].seo_keywords.ru - значение на русском языке
products[i].seo_keywords.ua - значение на украинском языке
products[i].seo_description - СЕО описание для товара
products[i].seo_description.ru - значение на русском языке
products[i].seo_description.ua - значение на украинском языке
products[i].characteristics[] - характеристики товара
products[i].characteristics.material - Материал
products[i].characteristics.weight - Вес
products[i].characteristics.consist - Состав
products[i].characteristics.country - Страна
products[i].characteristics.gender - Пол
products[i].characteristics.age - Возраст
products[i].characteristics.physics - Физическое развитие (значения указывать через ;)
products[i].characteristics.brain - Умственное развитие (значения указывать через ;)
products[i].characteristics.social - Социальное развитие (значения указывать через ;)
products[i].images - ссылки на изображения модификации
products[i].gallery_common - ссылки на общие для всех модификаций изображения
products[i].gallery_360 - ссылки на изображения галереи 360
- products[i].slug - алиас товара или null если он не указан (будет доступно в версии Хорошоп 3.8.0)
- products[i].link - абсолютная ссылка с доменом на товар или null если она не указан (будет доступно в версии Хорошоп 3.8.0)
...
Code Block |
---|
{
"status": "OK",
"response": {
"products": [
{
"parent_article": "sdgasdgsa",
"article": "sdgasdgsa",
"mod_title": {
"ru": "dgasdgasdg",
"ua": "dgasdgasdg"
},
"price": 150,
"price_old": 0,
"presence": {
"id": 2,
"value": {
"ru": "Нет в наличии",
"ua": "Немає в наявності"
}
},
"display_in_showcase": 1,
"discount": 0,
"quantity": 0,
"short_description": {
"ru": "",
"ua": ""
},
"color": {
"id": 22,
"value": {
"ru": "Золотистый",
"ua": "Золотистий"
}
},
"title": {
"ru": "MacBook Air 11.6\" 128 ГБ",
"ua": "MacBook Air 11.6\" 128 ГБ"
},
"currency": {
"id": 2,
"value": ""
},
"parent": {
"id": 1124,
"value": "Mac"
},
"brand": {
"id": 0,
"value": null
},
"popularity": 0,
"description": {
"ru": "",
"ua": ""
},
"g_size": {
"id": 0,
"value": null
},
"seo_title": {
"ru": "",
"ua": ""
},
"seo_keywords": {
"ru": "",
"ua": ""
},
"seo_description": {
"ru": "",
"ua": ""
},
"h1_title": {
"ru": "",
"ua": ""
},
"alt_parent": [
{
"id": 1681,
"value": "development colossus cluster 86070119 \/ boob bang builder 83177342 \/ portal cake 57566500"
}
],
"icons": [
{
"id": 4,
"value": {
"ru": "Распродажа",
"ua": "Распродажа"
}
},
{
"id": 3,
"value": {
"ru": "Новинка",
"ua": "Новинка"
}
}
],
"characteristics": {
"mod1": {
"id": 0,
"value": null
},
"mod2": {
"id": 0,
"value": null
},
"mod3": {
"id": 0,
"value": null
},
"mod4": {
"id": 0,
"value": null
},
"mod5": {
"id": 0,
"value": null
},
"mod6": {
"id": 0,
"value": null
},
"mod7": []
},
"images": [],
"gallery_common": [],
"gallery_360": []
},
{
"parent_article": "asfasgasdg",
"article": "asfasgasdg",
"mod_title": {
"ru": "efhsdfh",
"ua": "efhsdfh"
},
"price": 12000,
"price_old": 0,
"presence": {
"id": 2,
"value": {
"ru": "Нет в наличии",
"ua": "Немає в наявності"
}
},
"display_in_showcase": 1,
"discount": 0,
"quantity": 0,
"short_description": {
"ru": "",
"ua": ""
},
"color": {
"id": 0,
"value": null
},
"title": {
"ru": "MacBook Air 13.3\" 128 ГБ",
"ua": ""
},
"currency": {
"id": 1,
"value": ""
},
"parent": {
"id": 1124,
"value": "Mac"
},
"brand": {
"id": 0,
"value": null
},
"popularity": 0,
"description": {
"ru": "",
"ua": ""
},
"g_size": {
"id": 0,
"value": null
},
"seo_title": {
"ru": "",
"ua": ""
},
"seo_keywords": {
"ru": "",
"ua": ""
},
"seo_description": {
"ru": "",
"ua": ""
},
"h1_title": {
"ru": "",
"ua": ""
},
"alt_parent": [
{
"id": 1681,
"value": "development colossus cluster 86070119 \/ boob bang builder 83177342 \/ portal cake 57566500"
}
],
"icons": [],
"characteristics": {
"mod1": {
"id": 0,
"value": null
},
"mod2": {
"id": 0,
"value": null
},
"mod3": {
"id": 0,
"value": null
},
"mod4": {
"id": 0,
"value": null
},
"mod5": {
"id": 0,
"value": null
},
"mod6": {
"id": 0,
"value": null
},
"mod7": []
},
"images": [],
"gallery_common": [],
"gallery_360": []
},
{
"parent_article": "asfasgasdg",
"article": 6,
"mod_title": {
"ru": "dsfhfghfsdgh",
"ua": "fghfdghfdhdf"
},
"price": 36299,
"price_old": 0,
"presence": {
"id": 1,
"value": {
"ru": "В наличии",
"ua": "В наявності"
}
},
"display_in_showcase": 0,
"discount": 0,
"quantity": 100,
"short_description": {
"ru": "",
"ua": ""
},
"color": {
"id": 0,
"value": null
},
"title": {
"ru": "MacBook Air 13.3\" 128 ГБ",
"ua": ""
},
"currency": {
"id": 1,
"value": ""
},
"parent": {
"id": 1124,
"value": "Mac"
},
"brand": {
"id": 0,
"value": null
},
"popularity": 0,
"description": {
"ru": "",
"ua": ""
},
"g_size": {
"id": 0,
"value": null
},
"seo_title": {
"ru": "",
"ua": ""
},
"seo_keywords": {
"ru": "",
"ua": ""
},
"seo_description": {
"ru": "",
"ua": ""
},
"h1_title": {
"ru": "",
"ua": ""
},
"alt_parent": [
{
"id": 1681,
"value": "development colossus cluster 86070119 \/ boob bang builder 83177342 \/ portal cake 57566500"
}
],
"icons": [],
"characteristics": {
"mod1": {
"id": 0,
"value": null
},
"mod2": {
"id": 0,
"value": null
},
"mod3": {
"id": 0,
"value": null
},
"mod4": {
"id": 0,
"value": null
},
"mod5": {
"id": 0,
"value": null
},
"mod6": {
"id": 0,
"value": null
},
"mod7": []
},
"images": [],
"gallery_common": [],
"gallery_360": []
},
{
"parent_article": 15,
"article": 15,
"mod_title": {
"ru": "",
"ua": ""
},
"price": 20899,
"price_old": 0,
"presence": {
"id": 1,
"value": {
"ru": "В наличии",
"ua": "В наявності"
}
},
"display_in_showcase": 1,
"discount": 0,
"quantity": 100,
"short_description": {
"ru": "",
"ua": ""
},
"color": {
"id": 20,
"value": {
"ru": "Черный",
"ua": "Чорний"
}
},
"title": {
"ru": "iPad Air 2 Space Gray 16 GB",
"ua": ""
},
"currency": {
"id": 2,
"value": ""
},
"parent": {
"id": 1122,
"value": "iPad Air 2"
},
"brand": {
"id": 1,
"value": {
"ru": "Apple",
"ua": "Apple"
}
},
"popularity": 0,
"description": {
"ru": "",
"ua": ""
},
"g_size": {
"id": 0,
"value": null
},
"seo_title": {
"ru": "",
"ua": ""
},
"seo_keywords": {
"ru": "",
"ua": ""
},
"seo_description": {
"ru": "",
"ua": ""
},
"h1_title": {
"ru": "",
"ua": ""
},
"alt_parent": [
{
"id": 1681,
"value": "development colossus cluster 86070119 \/ boob bang builder 83177342 \/ portal cake 57566500"
}
],
"icons": [],
"characteristics": {
"mod1": {
"id": 0,
"value": null
},
"mod2": {
"id": 0,
"value": null
},
"mod3": {
"id": 0,
"value": null
},
"mod4": {
"id": 0,
"value": null
},
"mod5": {
"id": 0,
"value": null
},
"mod6": {
"id": 0,
"value": null
},
"mod7": []
},
"images": [
"http:\/\/my.horoshop.dev\/content\/images\/18\/ipad-air-2-space-gray-16-gb-93698097806837.jpg",
"http:\/\/my.horoshop.dev\/content\/images\/18\/ipad-air-2-space-gray-16-gb-37654388364818.jpg",
"http:\/\/my.horoshop.dev\/content\/images\/18\/ipad-air-2-space-gray-16-gb-71393219754099.jpg"
],
"gallery_common": [],
"gallery_360": []
},
{
"parent_article": 17,
"article": 17,
"mod_title": {
"ru": "",
"ua": ""
},
"price": 14500,
"price_old": 19500,
"presence": {
"id": 1,
"value": {
"ru": "В наличии",
"ua": "В наявності"
}
},
"display_in_showcase": 1,
"discount": 0,
"quantity": 100,
"short_description": {
"ru": "",
"ua": ""
},
"color": {
"id": 0,
"value": null
},
"title": {
"ru": "iPhone 5s Space Gray 16 GB",
"ua": "iPhone 5s Space Gray 16 GB"
},
"currency": {
"id": 1,
"value": ""
},
"parent": {
"id": 1121,
"value": "iPhone 5s"
},
"brand": {
"id": 1,
"value": {
"ru": "Apple",
"ua": "Apple"
}
},
"popularity": 0,
"description": {
"ru": "",
"ua": ""
},
"g_size": {
"id": 0,
"value": null
},
"seo_title": {
"ru": "",
"ua": ""
},
"seo_keywords": {
"ru": "",
"ua": ""
},
"seo_description": {
"ru": "",
"ua": ""
},
"h1_title": {
"ru": "",
"ua": ""
},
"alt_parent": [],
"icons": [
{
"id": 4,
"value": {
"ru": "Распродажа",
"ua": "Распродажа"
}
}
],
"characteristics": {
"mod1": {
"id": 0,
"value": null
},
"mod2": {
"id": 0,
"value": null
},
"mod3": {
"id": 0,
"value": null
},
"mod4": {
"id": 0,
"value": null
},
"mod5": {
"id": 0,
"value": null
},
"mod6": {
"id": 0,
"value": null
},
"mod7": []
},
"images": [],
"gallery_common": [],
"gallery_360": []
},
{
"parent_article": 26,
"article": 26,
"mod_title": {
"ru": "",
"ua": ""
},
"price": 4000.23,
"price_old": 0,
"presence": {
"id": 1,
"value": {
"ru": "В наличии",
"ua": "В наявності"
}
},
"display_in_showcase": 1,
"discount": 0,
"quantity": 96,
"short_description": {
"ru": "",
"ua": ""
},
"color": {
"id": 0,
"value": null
},
"title": {
"ru": "iPod Nano 16 GB 7 Gen Space Gray",
"ua": ""
},
"currency": {
"id": 1,
"value": ""
},
"parent": {
"id": 1123,
"value": "iPod Nano"
},
"brand": {
"id": 1,
"value": {
"ru": "Apple",
"ua": "Apple"
}
},
"popularity": 0,
"description": {
"ru": "",
"ua": ""
},
"g_size": {
"id": 0,
"value": null
},
"seo_title": {
"ru": "",
"ua": ""
},
"seo_keywords": {
"ru": "",
"ua": ""
},
"seo_description": {
"ru": "",
"ua": ""
},
"h1_title": {
"ru": "",
"ua": ""
},
"alt_parent": [],
"icons": [],
"characteristics": {
"mod1": {
"id": 0,
"value": null
},
"mod2": {
"id": 0,
"value": null
},
"mod3": {
"id": 0,
"value": null
},
"mod4": {
"id": 0,
"value": null
},
"mod5": {
"id": 0,
"value": null
},
"mod6": {
"id": 0,
"value": null
},
"mod7": []
},
"images": [],
"gallery_common": [],
"gallery_360": []
},
{
"parent_article": 33,
"article": 33,
"mod_title": {
"ru": "",
"ua": ""
},
"price": 22899,
"price_old": 0,
"presence": {
"id": 1,
"value": {
"ru": "В наличии",
"ua": "В наявності"
}
},
"display_in_showcase": 1,
"discount": 0,
"quantity": 100,
"short_description": {
"ru": "",
"ua": ""
},
"color": {
"id": 20,
"value": {
"ru": "Черный",
"ua": "Чорний"
}
},
"title": {
"ru": "iPad Air 2 Space Gray 128 GB",
"ua": ""
},
"currency": {
"id": 1,
"value": ""
},
"parent": {
"id": 1122,
"value": "iPad Air 2"
},
"brand": {
"id": 1,
"value": {
"ru": "Apple",
"ua": "Apple"
}
},
"popularity": 0,
"description": {
"ru": "",
"ua": ""
},
"g_size": {
"id": 0,
"value": null
},
"seo_title": {
"ru": "",
"ua": ""
},
"seo_keywords": {
"ru": "",
"ua": ""
},
"seo_description": {
"ru": "",
"ua": ""
},
"h1_title": {
"ru": "",
"ua": ""
},
"alt_parent": [],
"icons": [],
"characteristics": {
"mod1": {
"id": 0,
"value": null
},
"mod2": {
"id": 0,
"value": null
},
"mod3": {
"id": 0,
"value": null
},
"mod4": {
"id": 0,
"value": null
},
"mod5": {
"id": 0,
"value": null
},
"mod6": {
"id": 0,
"value": null
},
"mod7": []
},
"images": [
"http:\/\/my.horoshop.dev\/content\/images\/30\/ipad-air-2-space-gray-128-gb-221695738.jpg"
],
"gallery_common": [],
"gallery_360": []
},
{
"parent_article": 2,
"article": 2,
"mod_title": {
"ru": "",
"ua": ""
},
"price": 43799,
"price_old": 0,
"presence": {
"id": 1,
"value": {
"ru": "В наличии",
"ua": "В наявності"
}
},
"display_in_showcase": 1,
"discount": 0,
"quantity": 100,
"short_description": {
"ru": "",
"ua": ""
},
"color": {
"id": 0,
"value": null
},
"title": {
"ru": "MacBook Air 11.6\" 256 ГБ",
"ua": ""
},
"currency": {
"id": 1,
"value": ""
},
"parent": {
"id": 1124,
"value": "Mac"
},
"brand": {
"id": 0,
"value": null
},
"popularity": 0,
"description": {
"ru": "",
"ua": ""
},
"g_size": {
"id": 0,
"value": null
},
"seo_title": {
"ru": "",
"ua": ""
},
"seo_keywords": {
"ru": "",
"ua": ""
},
"seo_description": {
"ru": "",
"ua": ""
},
"h1_title": {
"ru": "",
"ua": ""
},
"alt_parent": [],
"icons": [],
"characteristics": {
"mod1": {
"id": 0,
"value": null
},
"mod2": {
"id": 0,
"value": null
},
"mod3": {
"id": 0,
"value": null
},
"mod4": {
"id": 0,
"value": null
},
"mod5": {
"id": 0,
"value": null
},
"mod6": {
"id": 0,
"value": null
},
"mod7": []
},
"images": [],
"gallery_common": [],
"gallery_360": []
},
{
"parent_article": 3,
"article": 3,
"mod_title": {
"ru": "",
"ua": ""
},
"price": 38699,
"price_old": 0,
"presence": {
"id": 1,
"value": {
"ru": "В наличии",
"ua": "В наявності"
}
},
"display_in_showcase": 1,
"discount": 0,
"quantity": 100,
"short_description": {
"ru": "",
"ua": ""
},
"color": {
"id": 0,
"value": null
},
"title": {
"ru": "MacBook Air 11.6\" 256 ГБ",
"ua": ""
},
"currency": {
"id": 1,
"value": ""
},
"parent": {
"id": 1124,
"value": "Mac"
},
"brand": {
"id": 0,
"value": null
},
"popularity": 0,
"description": {
"ru": "",
"ua": ""
},
"g_size": {
"id": 0,
"value": null
},
"seo_title": {
"ru": "",
"ua": ""
},
"seo_keywords": {
"ru": "",
"ua": ""
},
"seo_description": {
"ru": "",
"ua": ""
},
"h1_title": {
"ru": "",
"ua": ""
},
"alt_parent": [],
"icons": [],
"characteristics": {
"mod1": {
"id": 0,
"value": null
},
"mod2": {
"id": 0,
"value": null
},
"mod3": {
"id": 0,
"value": null
},
"mod4": {
"id": 0,
"value": null
},
"mod5": {
"id": 0,
"value": null
},
"mod6": {
"id": 0,
"value": null
},
"mod7": []
},
"images": [],
"gallery_common": [],
"gallery_360": []
},
{
"parent_article": 4,
"article": 4,
"mod_title": {
"ru": "",
"ua": ""
},
"price": 31799,
"price_old": 0,
"presence": {
"id": 1,
"value": {
"ru": "В наличии",
"ua": "В наявності"
}
},
"display_in_showcase": 1,
"discount": 0,
"quantity": 100,
"short_description": {
"ru": "",
"ua": ""
},
"color": {
"id": 0,
"value": null
},
"title": {
"ru": "MacBook Air 11.6\" 128 ГБ",
"ua": ""
},
"currency": {
"id": 1,
"value": ""
},
"parent": {
"id": 1124,
"value": "Mac"
},
"brand": {
"id": 0,
"value": null
},
"popularity": 0,
"description": {
"ru": "",
"ua": ""
},
"g_size": {
"id": 0,
"value": null
},
"seo_title": {
"ru": "",
"ua": ""
},
"seo_keywords": {
"ru": "",
"ua": ""
},
"seo_description": {
"ru": "",
"ua": ""
},
"h1_title": {
"ru": "",
"ua": ""
},
"alt_parent": [],
"icons": [],
"characteristics": {
"mod1": {
"id": 0,
"value": null
},
"mod2": {
"id": 0,
"value": null
},
"mod3": {
"id": 0,
"value": null
},
"mod4": {
"id": 0,
"value": null
},
"mod5": {
"id": 0,
"value": null
},
"mod6": {
"id": 0,
"value": null
},
"mod7": []
},
"images": [],
"gallery_common": [],
"gallery_360": []
}
]
}
} |