Пример запроса (JSON)
{
"firmID": "16763",
"testMode": true,
"offers": [
{
"ctuID": "473",
"crmCtuID": "10",
"crmCtuName": "Мебель",
"crmID": "t0002",
"idTU": "17110",
"nameTU": "Офисный стул",
"annotationShort": "Офисный стул, цвет серый",
"annotation": "Офисный стул, цвет серый",
"prefPrice": "от",
"priceBase": "500",
"price2": "400",
"si": "шт",
"priceDesc": "примечание к цене",
"dopSiUse": "после примечания",
"dopPrice": "50",
"dopSi": "шт",
"quantity": "1",
"wait": "0",
"status": "(-) заблокировать [КА]",
"ordInCTU": "11",
"characteristics": [ { "name": "Высота", "unit": "m", "values": [ "1" ] } ],
"namePhoto": [ "photo1.jpg", "photo2.png" ],
"linkPhoto": [ "https://company.com/photo1.jpg", "https://company.com/photo2.png" ]
}
]
}
Пример ответа
{ "reportID": 2962, "responseStatus": { "code": 200, "description": "Успешно, обновлено 1, без предупреждений. Детали в Отчете: tu.market/client/importReports/2962" } }
reportID - id отчета.
code – код результата.
description – описание результата.