Get cart

Retrieve the checkout cart by its session.

GET https://api.eventgoose.com/v1/checkouts/{session}/cart

Authentication

Authenticate yourself using your organisation api token

Parameters

None

Response

200 application/json

A cart object is returned.

    HTTP/1.1 200 OK
Content-Type: application/json

{
    "tickets": [
        {
            "ticket": "Regular",
            "price": "20.00"
        },
        {
            "ticket": "Regular",
            "price": "20.00"
        }
    ],
    "sub_total": 40,
    "fee": 0,
    "discount": {
        "total": 0
    }
}