Checkout.Checkout

Field Type Description
method String Optional. String enumarion of 'delivery', 'takeout', 'latch'
delivery Checkout.Delivery Optional.
takeout Checkout.Takeout Optional.
latch Checkout.Latch Optional.
isop Checkout.ISOP Optional.
warranty Checkout.Warranty Optional.
invoice Checkout.Invoice Optional.
config Checkout.Configuration Optional.
coupons [Checkout.Coupon] Optional. Array of Checkout.Coupon

Examples

Example 1

{
    "method": "delivery",
    "delivery": {
        "date": "2019-01-31",
        "time": "12:00",
        "address": {
            "street": "Sint-Denijslaan",
            "nr": "96",
            "zipcode": "9000",
            "city": "Gent",
            "country": "BE"
        },
        "notes": "...",
        "end_time": "12:00"
    },
    "takeout": {
        "shops": {
            "...": {
                "id": 19,
                "date": "2019-01-31",
                "time": "12:00"
            }
        }
    },
    "latch": {
        "latch_id": 10,
        "telephone": "+32 475 00 00 00",
        "date": "2019-01-31",
        "time": "12:00",
        "notification_method": "email"
    },
    "isop": {
        "origin": "in-store",
        "customer_id": 14,
        "employee_id": 10
    },
    "warranty": {
        "bank": "ING. Bank"
    },
    "invoice": {
        "company": {
            "name": "...",
            "vat": "BE0123456789",
            "address": {
                "street": "Sint-Denijslaan",
                "nr": "96",
                "zipcode": "9000",
                "city": "Gent",
                "country": "BE"
            }
        }
    },
    "config": {
        "askInvoice": false,
        "askIsop": false
    },
    "coupons": [
        {
            "code": "..."
        },
        {
            "code": "..."
        },
        {
            "code": "..."
        }
    ]
}
Version update available Please adjust your integration to the latest stable version (1.9.0)
1.1.0 stable