Facility discounts
Last updated
Last updated
Facility discounts determine the value by which the of the facility's listings is reduced for a specific group. Discounts can be defined for a facility, a or a group of articles (). The scope of application can be extended or reduced with the help of AND, OR, NOT
operators. The contexts set in the discount (e.g., facility groups) are matched with the corresponding context of the . If all contexts were matching the discount is applied to the sales price of the item.
Discounts can be added to an existing facility by performing the following POST call with the below JSON body. The below example applies a discount of 5€ to articles that do NOT belong to the category "pet food" and/or that belong to the facility groups "CGN" or "DUS".