Offer.detailed

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
items [OfferItem.simple] Array of OfferItem.simple

Examples

Example 1

{
    "id": 13,
    "name": "Black Friday",
    "from_date": "2019-01-31",
    "until_date": "2019-01-31",
    "valid_for": "order",
    "recurring": 10,
    "recurring_on": {
        "day_1": 17,
        "day_2": 15,
        "day_3": 10,
        "day_4": 15,
        "day_5": 10,
        "day_6": 17,
        "day_7": 13
    },
    "items": [
        {
            "type": "percentage",
            "x": 10,
            "y": 18,
            "percentage": 17,
            "minimum": 14,
            "applies_to": "category",
            "item_id": 13
        },
        {
            "type": "percentage",
            "x": 11,
            "y": 14,
            "percentage": 13,
            "minimum": 19,
            "applies_to": "category",
            "item_id": 15
        },
        {
            "type": "percentage",
            "x": 15,
            "y": 13,
            "percentage": 14,
            "minimum": 19,
            "applies_to": "category",
            "item_id": 13
        }
    ]
}
Version update available Please adjust your integration to the latest stable version (1.9.0)
1.8.0 stable