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": 12,
    "name": "Black Friday",
    "from_date": "2019-01-31",
    "until_date": "2019-01-31",
    "valid_for": "order",
    "recurring": 13,
    "recurring_on": {
        "day_1": 15,
        "day_2": 13,
        "day_3": 14,
        "day_4": 12,
        "day_5": 19,
        "day_6": 16,
        "day_7": 14
    }
}
Version update available Please adjust your integration to the latest stable version (1.9.0)
1.8.0 stable