Public Products

DiscountEvent

object

Represents a discount event on a discount. These events are created in the M-Promo system, used for promotions.

The product_ids are only available on stand alone discount events, if there are any specified.

The discount_id and campaign_id are only set on stand alone discount events. When it is nested inside a discount, refer to the containing object to find the id and campaign ids.

advertising_material_idstringrequired

The id of the advertising material. “Werbemittel”.

advertising_material_type_idstringrequired

The id of the advertising material type. “Werbemittelart”.

campaign_idsarray[string]

Campaigns of the discount that contains this event.

discount_idstring

The id of the discount this event is part of.

end_datestring(date-time)required

When the event ends.

event_idstringrequired

The id of the event.

product_idsarray[string]

List of product ids this event applies to.

publication_datestring(date-time)required

When the event was published online.

The API does not output events when the publication date is in the future.

start_datestring(date-time)required

When the event starts.

Example

DiscountReduction

object
amountnumber(float)required

Example:32.5

relativebooleanrequired
suffixstring

Example:günstiger

unitstring

Example:%

Example

EnergyEfficiency

object

Represents information about energy efficiency in the API.

arrowstring

(Rokka stack URL template)

arrow_alternativestring

(Rokka stack URL template)

category_codestring

Energy efficiency label which contains details about the energy efficiency of the product.

classobjectrequired
Show Child Parameters
imagestring

(Rokka stack URL template)

Example

EnergyEfficiencyClass

object
textstringrequired

The hexadecimal color code of the energy efficiency class to create your own arrows.

Example

ItemRatings

object

Represents the ratings of an item, e.g. product.

average_allnumber(float)required
count_allintegerrequired

Average rating.

Example