GET api/catalog/products/{id}
Метод для получения информации о "Продукте"
Полный URL-адрес запроса: https://sfa-api.ddapp.biz/api/catalog/products/{id}?api-version=2.0
Для этого метода требуется авторизация
Информация о запросе
URL параметры
| Название | Описание | Тип данных | Дополнительная информация |
|---|---|---|---|
| id |
Уникальный идентификатор "Продукта" |
string |
Required |
| fields |
Список дополнительных полей, которые необходимо вернуть |
string |
Нет |
Тело запроса
Нет параметров в теле запроса
Информация об ответе
ProductModel2
| Название | Описание | Тип данных | Дополнительная информация |
|---|---|---|---|
| Id | globally unique identifier |
Нет |
|
| VendorId | string |
Нет |
|
| Article | string |
Нет |
|
| Group | GroupModel |
Дополнительное поле |
|
| Brand | BrandModel |
Дополнительное поле |
|
| Name | string |
Поддерживает сортировку |
|
| Barcode | string |
Нет |
|
| Weighted | boolean |
Нет |
|
| MinOrder | decimal number |
Нет |
|
| Multiplicity | decimal number |
Нет |
|
| Active | boolean |
Нет |
|
| F1NotEnabled | boolean |
Нет |
|
| F2NotEnabled | boolean |
Нет |
|
| Manufacturer | ManufacturerModel |
Дополнительное поле |
|
| DefaultPackaging | PackagingModel |
Дополнительное поле |
|
| Properties | Collection of EntityPropertyValueModel |
Дополнительное поле |
|
| Packagings | Collection of ProductPackagingModel |
Дополнительное поле |
|
| Images | Collection of MultimediaModel |
Дополнительное поле |
|
| Videos | Collection of MultimediaModel |
Дополнительное поле |
Форматы ответа
{
"id": "4ce3cb0e-6117-41c4-970e-c5e8f6aae558",
"vendorId": "sample string 2",
"article": "sample string 3",
"group": {
"id": "62de5af2-6051-4050-872c-76a97d3f2c7a",
"vendorId": "sample string 2",
"name": "sample string 3",
"hierarchy": {
"level": 1,
"path": "sample string 2"
}
},
"brand": {
"id": "ddee80c5-9b56-4872-a9b0-1a6e84e63ecb",
"vendorId": "sample string 2",
"name": "sample string 3"
},
"name": "sample string 4",
"barcode": "sample string 5",
"weighted": true,
"minOrder": 1.1,
"multiplicity": 1.1,
"active": true,
"f1NotEnabled": true,
"f2NotEnabled": true,
"manufacturer": {
"id": "8fb6945e-f3ab-44e9-bb0b-59caf5269ff4",
"name": "sample string 2"
},
"defaultPackaging": {
"id": "cc6ab39a-b4e6-44a8-bd8e-05d5c21f0c0f",
"vendorId": "sample string 2",
"name": "sample string 3",
"shortName": "sample string 4",
"weighted": true,
"minOrder": 1.1,
"multiplicity": 1.1
},
"properties": [
{
"entityProperty": {
"id": "0c3f5504-4d19-49f7-be37-42ec9ee68509",
"vendorId": "sample string 2",
"name": "sample string 3",
"entityDataType": "string",
"valueLookup": "contacts",
"required": true
},
"value": "sample string 1"
},
{
"entityProperty": {
"id": "0c3f5504-4d19-49f7-be37-42ec9ee68509",
"vendorId": "sample string 2",
"name": "sample string 3",
"entityDataType": "string",
"valueLookup": "contacts",
"required": true
},
"value": "sample string 1"
}
],
"packagings": [
{
"packaging": {
"id": "cc6ab39a-b4e6-44a8-bd8e-05d5c21f0c0f",
"vendorId": "sample string 2",
"name": "sample string 3",
"shortName": "sample string 4",
"weighted": true,
"minOrder": 1.1,
"multiplicity": 1.1
},
"value": 1.1
},
{
"packaging": {
"id": "cc6ab39a-b4e6-44a8-bd8e-05d5c21f0c0f",
"vendorId": "sample string 2",
"name": "sample string 3",
"shortName": "sample string 4",
"weighted": true,
"minOrder": 1.1,
"multiplicity": 1.1
},
"value": 1.1
}
],
"images": [
{
"orderIndex": 1,
"url": "sample string 2"
},
{
"orderIndex": 1,
"url": "sample string 2"
}
],
"videos": [
{
"orderIndex": 1,
"url": "sample string 2"
},
{
"orderIndex": 1,
"url": "sample string 2"
}
]
}
Sample not available.
Sample not available.