❗️ 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: Max length: |
|
price* |
Type: number<float> Price per unit of product. For catch-weight products, the price per 1000g is passed Example: |
|
vat* |
Type: integer VAT included in the cost, as a percentage. Available values: Example: |
|
oldPrice |
Type: number<float> Old product price. Used to display discounts on products. If not passed, the value will be null Example: |
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.