Measure unit and price support in API

Measure units and prices are used to compare similar goods with variable package sizes. For example you might sell a chocolate of 50 g weight, as well as 100 g or 200 g. To make the price comparison easier, the measure price expresses price value converted to a predefined weigth, for example 100 g. See more at Support Pages.

We have extended the Product Detail to show attributes related to Measure price. To display them you need to call the endpoint with ?include=measureUnit parameter. Also, the corresponding module must be active in the eshop. The attributes are located in data.variants[].measureUnits object.

Additionally, there is a new endpoint List of product measure units, which provides the complete list of measure units and possible conversions and ratios between the units.

Navigace pro příspěvek