Product (Товар)
Содержание методов Product
Метод | Ссылка на запрос | Название |
Get | /api/2.3/product/get.json | Получить список товаров |
#{id} | /api/2.3/product/#{id}.json (вместо #{id} - ID элемента) | Получить товар по его ID |
Save | /api/2.3/product/save.json | Обновить или добавить новый элемент |
Delete | /api/2.3/product/delete.json | Удалить элемент |
Свойства объекта Product
Свойство | Тип | |
id | integer (11) | |
category_id | integer (11) | |
brand_id | integer (11) | |
meta_tag_id | integer (11) | |
currency_id | integer (11) | |
status_id | integer (11) | |
name | string (255) | |
alias | string (255) | |
is_hot | boolean (1) | |
is_new | boolean (1) | |
is_hit | boolean (1) | |
is_sale | boolean (1) | |
is_action | boolean (1) | |
action_text | string (256) | |
is_discount | boolean (1) | |
discount_size | integer (11) | |
discount_is_pcnt | boolean (1) | |
old_price | float | |
active | boolean (1) | |
articul | string (64) | |
articul_hidden | string (64) | |
price_hidden | float | |
in_stock | boolean (1) | |
stock | integer (11) | |
price | float | |
price_prev | float | |
warranty | integer (11) | |
date | datetime | |
photo | string (64) | |
summary | text | |
content | text | |
photo8 | string (64) | |
photo9 | string (64) | |
photo10 | string (64) | |
search_index | text | |
file | string (64) | |
articuls_related | string (128) | |
articuls_similar | string (128) | |
articuls_related_for | string (256) | |
articuls_similar_for | string (256) | |
variantes_name | string (128) | |
views_count | integer (11) |