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": "string",
            "nr": "string",
            "zipcode": "string",
            "city": "string",
            "country": "BE"
        },
        "notes": "string",
        "end_time": "12:00"
    },
    "takeout": {
        "shops": {
            "string": {
                "id": 12,
                "date": "2019-01-31",
                "time": "12:00"
            }
        }
    },
    "latch": {
        "latch_id": 12,
        "telephone": "+32 475 00 00 00",
        "date": "2019-01-31",
        "time": "12:00",
        "notification_method": "email"
    },
    "isop": {
        "origin": "in-store",
        "customer_id": 12,
        "employee_id": 12
    },
    "warranty": {
        "bank": "string"
    },
    "invoice": {
        "company": {
            "name": "string",
            "vat": "string",
            "address": {
                "street": "string",
                "nr": "string",
                "zipcode": "string",
                "city": "string",
                "country": "BE"
            }
        }
    },
    "config": {
        "askInvoice": true,
        "askIsop": true
    },
    "coupons": [
        {
            "code": "string"
        },
        {
            "code": "string"
        },
        {
            "code": "string"
        }
    ]
}
1.5.0 stable