Product information
Method for retrieving product information.
Warning
This method is deprecated. Use the brand-based parsing method GET /nomenclature/composition.
Request
GET
/nomenclature/{placeId}/composition
Path parameters
|
Name |
Description |
|
placeId* |
Type: string Unique store identifier in Partner’s system. |
Headers
|
Name |
Description |
|
Authorization* |
Type: string Token received in response to the |
Responses
200 OK
Current nomenclature.
Body
application/json
{
"categories": [
{
"id": "some-uniq-identifier",
"parentId": "some-uniq-identifier",
"name": "Milk"
}
],
"items": [
{
"barcode": {
"type": "ean13",
"value": "987654321098",
"values": [
"987654321098",
"987654321099",
"987654321000"
],
"weightEncoding": "ean13-tail-gram-4"
},
"categoryId": "some-uniq-identifier",
"description": {
"composition": "normalised milk (whole milk, skimmed milk)",
"expiresIn": "60",
"general": "string",
"nutritionalValue": "600 kcal, 8g protein, 3.2g fat, 40g carbohydrates",
"packageInfo": "carton",
"purpose": "string",
"storageRequirements": "from −5 to 5 degrees Celsius",
"vendorCountry": "Russia",
"vendorName": "Dairy Plant LLC"
},
"exciseValue": "ССН",
"id": "some-uniq-identifier",
"images": [
{
"order": 0,
"url": "https://ya.ru/images/image_1.jpg"
}
],
"isCatchWeight": false,
"labels": [
"adult",
"prescription"
],
"limitPerOrder": 3,
"markingType": "default",
"measure": {
"quantum": 0.3,
"unit": "GRM",
"value": 1000
},
"name": "“Milk Original\"",
"oldPrice": 239,
"price": 84,
"vat": -1,
"vendorCode": "string",
"vendorInn": "string",
"volume": {
"unit": "DMQ",
"value": 100
}
}
]
}
|
Name |
Description |
|
categories* |
Type: Categories[] Product categories |
|
items* |
Type: NomenclatureItems[] List of products |
Categories
Product categories
|
Name |
Description |
|
id* |
Type: string Internal unique category identifier in the Partner’s system. Example: Max length: |
|
name* |
Type: string Category name Example: |
|
parentId |
Type: string Internal unique identifier of the parent category in the Partner’s system for tree structure. Example: Max length: |
NomenclatureItems
|
Name |
Description |
|
barcode* |
Type: Barcode Product barcode |
|
categoryId* |
Type: string Internal unique category identifier in the Partner’s system from the Example: Max length: |
|
description* |
Type: ItemDescription Product description |
|
id* |
Type: string Unique product identifier in the Partner’s system Example: Max length: |
|
images* |
Type: Images[] Product image. |
|
isCatchWeight* |
Type: boolean Parameter indicating whether the product is catch-weight or not. Equals |
|
measure* |
Type: Measure Product measurement characteristic, e.g., weight or volume |
|
name* |
Type: string Product name. Example: |
|
price* |
Type: number<float> Price per unit of product. For catch-weight products, the price per 1000g is passed Example: |
|
vendorCode* |
Type: string Product article in the Partner’s system. |
|
exciseValue |
Type: string Excise type. Example, ССН (Cyrillic; stands for “сахаросодержащие напитки”, sugar-containing beverages). Enum: |
|
labels |
Type: string[] List of special product characteristics. For example,
Example: |
|
limitPerOrder |
Type: integer Order quantity limit per order (per customer). Only for special cases of high demand or temporary promotions. For catch-weight products it is calculated as 'how many product quanta can be put in the cart'. Example: |
|
markingType |
Type: string Type of mandatory product marking. Example: |
|
oldPrice |
Type: number<float> Old product price. Used to display discounts on products. If not passed, the value will be null Example: |
|
vat |
Type: integer VAT included in the cost, as a percentage. Available values: Example: |
|
vendorInn |
Type: string Passed only in rare cases when products from different sellers with different details are placed in one store. When passing the taxpayer identification number (INN) per product, verify that data is provided for the entire assortment, not selectively. If all brand products in the receipt are from a single seller, passing the INN value in the |
|
volume |
Type: Volume Volume occupied by the product. Useful for delivery calculation. Can significantly differ from the nominal product volume. For example, gift sets, large packages. |
Barcode
Product barcode
|
Name |
Description |
|
type* |
Type: string Barcode type Example: Enum: |
|
value* |
Type: string Product barcode. If there’s no barcode in the Partner’s system, then you can pass a random number (unique for each product) Example: |
|
weightEncoding* |
Type: string Weight encoding algorithm in the barcode Example: Enum: |
|
values |
Type: string[] List of product barcodes Example: |
ItemDescription
Product description
|
Name |
Description |
|
composition |
Type: string Composition information Example: |
|
expiresIn |
Type: string Shelf life in days Example: |
|
general |
Type: string General product description |
|
nutritionalValue |
Type: string Nutritional value Example: |
|
packageInfo |
Type: string Package information Example: |
|
purpose |
Type: string Purpose |
|
storageRequirements |
Type: string Storage requirements Example: |
|
vendorCountry |
Type: string Country of origin Example: |
|
vendorName |
Type: string Producer Example: |
Images
|
Name |
Description |
|
url* |
Type: string<uri> Link to product image for download Example: |
|
order |
Type: integer Ascending sort order Example: Min value: |
Measure
Product measurement characteristic, e.g., weight or volume
|
Name |
Description |
|
unit* |
Type: string Unit of measurement. MLT – milliliters, GRM – grams. Example: Enum: |
|
value* |
Type: integer Measurement value. For catch-weight products pass 1000. For unit products, use the actual product weight. Example: |
|
quantum |
Type: number<float> Smallest quantity of product (quantum) available for ordering. Value is calculated from Example: |
Volume
Volume occupied by the product. Useful for delivery calculation. Can significantly differ from the nominal product volume. For example, gift sets, large packages.
|
Name |
Description |
|
unit* |
Type: string Volume measurement unit Example: Enum: |
|
value* |
Type: integer Volume value Example: Min value: |
400 Bad Request
Request error. The response is expected to contain an array with an object from the error list.
ErrorItem
|
Name |
Description |
|
code* |
Type: integer Numeric error code agreed with Yango Deli. Example: |
|
description* |
Type: string Error description Example: |
401 Unauthorized
Authorisation failed.
Body
application/json
{
"reason": "Access token has been expired. You should request a new one"
}
|
Name |
Description |
|
reason* |
Type: string The reason why authorisation failed. Example: |
404 Not Found
Resource not found. The response is expected to contain an array with an object from the error list.
500 Internal Server Error
Internal server errors. The response is expected to contain an array with an object from the error list.
No longer supported, please use an alternative and newer version.