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": 18,
    "name": "...",
    "items": [
        {
            "type": "product",
            "item_id": 15,
            "percentage": 12,
            "minimum": 10
        },
        {
            "type": "product",
            "item_id": 12,
            "percentage": 17,
            "minimum": 18
        },
        {
            "type": "product",
            "item_id": 18,
            "percentage": 15,
            "minimum": 15
        }
    ]
}
Version update available Please adjust your integration to the latest stable version (1.9.0)
0.2.0 stable