Название параметра | Обязательный параметр | Описание |
---|---|---|
productID | да | идентификатор товара |
SID | да | идентификатор сессии |
lang | нет |
язык, возможные значения - ua и ru по умолчанию ua |
Запрос: http://api.brain.com.ua/product/12345/gpkavk4s0aciujg6m698gev040 Ответ: { "status":1, "result": { "name":"Ноутбук Apple MacBook Pro", "brief_description":"короткий опис товара Apple MacBook Pro", "description":"повний опис товара Apple MacBook Pro", "country": "Китай", "productID":12345, "categoryID":1181, "product_code":"S1234567", "date_added":"2012-08-07 21:34:17", "date_modified":"2012-08-14 15:30:52", "actionID":0, "warranty":"24", "is_archive":false, "is_exclusive":false, "vendorID":123, "articul":"C13T06354A10", "volume":0.02, "weight":6, "kbt":2, "is_price_cut":false, "is_new":false, "price": "1193.00", "price_uah": "10916.00", "recommendable_price":11234.56, "retail_price_uah":"11256.00", "bonus":"5.00", "stocks":[1,2,3], "stocks_expected":{"4":"2024-11-24 08:57:52","6":"2024-11-21 13:57:52"]}, "available":{"1":3,"2":1,"3":1}, "self_delivery":"1", "small_image": "https://opt.brain.com.ua/static/images/prod_img/6/7/S1234567_small.jpg", "medium_image": "https://opt.brain.com.ua/static/images/prod_img/6/7/S1234567.jpg", "large_image": "https://opt.brain.com.ua/static/images/prod_img/6/7/S1234567_big.jpg", "full_image": "https://opt.brain.com.ua/static/images/prod_img/6/7/S1234567_main.jpg", "quantity_package_sale": 0, "koduktved": "8517120000", "reservation_limit": 0, "non_returnable": 1, "options": [ { "name": "Виробник", "value": "Apple", "optionID": "1", }, { "name": "Модель", "value": "MacBook Pro", "optionID": "2" }, { "name": "Артикул", "value": "MD311RS\/A", "optionID": "3" }, { "name": "Розмір екрану", "value": "17.3\"TFT LED (1920x1200)", "optionID": "4", "valueID": "12345678900" }, { "name": "Процесор", "value": "Intel Core i7 (2.4GHz, SLC 8Mb)", "optionID": "5", "valueID": "12345678901" }, { "name": "Об'єм пам'яті", "value": "4096Mb DDRIII", "optionID": "6", "valueID": "12345678902" }, { "name": "Об'єм та тип HDD", "value": "750Gb SATA (5400rpm)", "optionID": "7", "valueID": "12345678903" }, { "name": "Звукова система", "value": "Intel HDA (High Definition Audio)", "optionID": "10", "valueID": "12345678906" }, { "name": "Країна виробництва", "value": "Китай", "optionID": "11" }, { "name": "Гарантія, міс", "value": "24", "optionID": "12" } ] } }