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

Examples

Example 1

{
    "id": 10,
    "name": "...",
    "items": [
        {
            "type": "product",
            "item_id": 19,
            "percentage": 19,
            "minimum": 13
        },
        {
            "type": "product",
            "item_id": 19,
            "percentage": 12,
            "minimum": 13
        },
        {
            "type": "product",
            "item_id": 19,
            "percentage": 13,
            "minimum": 18
        }
    ]
}
Version update available Please adjust your integration to the latest stable version (1.9.0)
0.2.2 stable