❗️ Product prices

Method for retrieving product price information.

Request

GET

/nomenclature/{placeId}/prices

Path parameters

Name

Description

placeId*

Type: string

Unique store identifier in Partner’s system.

Responses

200 OK

Current product price information.

Body

application/json
{
    "items": [
        {
            "id": "some-uniq-identifier",
            "oldPrice": 239,
            "price": 84,
            "vat": -1
        }
    ]
}

Name

Description

items*

Type: PriceItems[]

Product prices in the store. Products with zero price are not processed

PriceItems

Product prices in the store. Products with zero price are not processed

Name

Description

id*

Type: string

Unique product identifier in the Partner’s system

Example: some-uniq-identifier

Max length: 64

price*

Type: number<float>

Price per unit of product. For catch-weight products, the price per 1000g is passed

Example: 84

vat*

Type: integer

VAT included in the cost, as a percentage. Available values: 20, 10, 7, 5 or -1. For VAT-free tax rate pass -1. 0 is an invalid value.

Example: -1

oldPrice

Type: number<float>

Old product price. Used to display discounts on products. If not passed, the value will be null

Example: 239

400 Bad Request

Request error. The response is expected to contain an array with an object from the error list.

Body

application/json
[
    {
        "code": 400,
        "description": "Description of error"
    }
]

ErrorItem[]

ErrorItem

Name

Description

code*

Type: integer

Numeric error code agreed with Yango Deli.

Example: 400

description*

Type: string

Error description

Example: Description of error

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: Access token has been expired. You should request a new one

404 Not Found

Resource not found. The response is expected to contain an array with an object from the error list.

Body

application/json
[
    {
        "code": 400,
        "description": "Description of error"
    }
]

ErrorItem[]

500 Internal Server Error

Internal server errors. The response is expected to contain an array with an object from the error list.

Body

application/json
[
    {
        "code": 400,
        "description": "Description of error"
    }
]

ErrorItem[]

No longer supported, please use an alternative and newer version.