Basic information

GET /{shopId}/products/{productId}/lowest-price

Returns the lowest price of all variations of a product that can currently be purchased.
Returns 404 Not Found if the product does not have any variation with an independent price, e.g. if all variations share the same price. Also depends on the shop setting to display “from” prices.

Authorisation

OAuth 2.0 Token required with scopes:

products_read

URI parameters

Name Type Description
shopId string

The unique identifier of the shop.

Required: true
Example: DemoShop
productId string

The unique identifier of the product.

Required: true
Example: 52F221E0-36F6-DC4E-384A-AC1504050C04

Query parameters

Name Type Description
locale string

Represents the language code according to ISO 639-1 and the country code according to ISO 3166-1. If not provided, the shop’s default language is used. We recommend to always send this parameter with your request. If the default language had been changed in the administration, it might take up to 1 day until this change affects the shop.

Required: false
Example: en_US
currency string

Represents the currency code according to ISO 4217.

Required: false
Example: EUR

Response attributes

Name Type Description
priceInfo

object of simplePriceInfo

Price information on the lowest price of the product variation.

links

array of link

The link to the product variation with the lowest price.

Response

HTTP 200

Media type application/json

{
  "priceInfo": {
    "price": {
      "taxType": "GROSS",
      "formatted": "149.99 €",
      "amount": 149.99,
      "currency": "EUR"
    },
    "quantity": {
      "amount": 1,
      "unit": "piece(s)"
    }
  },
  "links": [
    {
      "rel": "product",
      "href": "https://pm.epages.com/rs/shops/apidocu/products/54EAF9A4-F2ED-BCBF-372B-0A0C05E6CF70"
    }
  ]
}