Offer.simple

A special discount for one or multiple products of the shop

Field Type Description
id Int An integer value
name String A String value
from_date Date Date in YYYY-MM-DD
until_date Date Date in YYYY-MM-DD
valid_for String String enumarion of 'order', 'acquire'
recurring Int An integer value
recurring_on Dictionary A dictionary with fields

Examples

Example 1

{
    "id": 18,
    "name": "Black Friday",
    "from_date": "2019-01-31",
    "until_date": "2019-01-31",
    "valid_for": "order",
    "recurring": 10,
    "recurring_on": {
        "day_1": 16,
        "day_2": 15,
        "day_3": 14,
        "day_4": 10,
        "day_5": 18,
        "day_6": 13,
        "day_7": 13
    }
}
This is a development version Do not use this version in production
1.10.0 development