Download OpenAPI specification:Download
The Cloudline integration API is for industry partners to access and interact with Cloudline platform data such as making orders for our kitchen management system, generating custom menus from our Menu management system and/or custom reporting solutions.
Gets a list of organizations you have access to based on your api key
Success
Bad Request
Unauthorized
Forbidden
Internal Server Error
[- {
- "id": "1337-1337-1337-1337",
- "name": "Cloud9"
}
]Gets a list of sites you have access to based on your api key
Success
Bad Request
Unauthorized
Forbidden
Internal Server Error
[- {
- "id": "1337-1337-1337-1337",
- "name": "Cloud9",
- "organization_id": "1337-1337-1337-1337"
}
]Get a single activity based on its unique ID.
Success
Bad Request
Unauthorized
Forbidden
Internal Server Error
{- "id": "1337-1337-1337-1337",
- "name": "Relax on Cloud9",
- "description": "Come on down to the Cloud9 Relax Zone and chill.",
- "type": "POI",
- "site_id": "1337-1337-1337-1337"
}Gets a list of activities which you have access to.
Success
Bad Request
Unauthorized
Forbidden
Internal Server Error
[- {
- "id": "1337-1337-1337-1337",
- "name": "Relax on Cloud9",
- "description": "Come on down to the Cloud9 Relax Zone and chill.",
- "type": "POI",
- "site_id": "1337-1337-1337-1337"
}
]Get a single order based on its unique ID.
Success
Bad Request
Unauthorized
Forbidden
Internal Server Error
{- "id": "1337-1337-1337-1337",
- "organization_id": "1337-1337-1337-1337",
- "site_id": "1337-1337-1337-1337",
- "activity_id": "1337-1337-1337-1337",
- "state": "BASKET",
- "price": 420,
- "fee": 42,
- "discounted_price": 0,
- "submitted": "2022-05-14:20:40.20Z",
- "type": "DELIVERY",
- "customer": {
- "id": "1337-1337-1337-1337",
- "first_name": "Hugh",
- "last_name": "Jackman",
- "email": "hugh.jackman@example.com",
- "phone_number": "+421111111111"
}, - "items": [
- {
- "name": "Cloud9 Fries",
- "price": "420,",
- "menu_item_id": "1337-1337-1337-1337",
- "order_item_id": "1337-1337-1337-1337",
- "order_item_state": "DELIVERED"
}
], - "external_reference_id": "1337-1337-1337-1337",
- "integration_partner_id": "1337-1337-1337-1337",
- "integration_device_id": "1337-1337-1337-1337",
- "integration_device_operator_id": "1337-1337-1337-1337",
- "last_updated": "2022-05-14:20:40.20Z"
}Gets a list of orders from an Restaurant type Activity or across a whole Site.
Orders can be queried for a period of up to one month at a time.
Please be aware that querying for a large number of orders across a large number of Restaurant times will take a while if the query has not been made recently and cached.
Defaults: If no States are explicitly included or excluded then by default only COMPLETE and ARCHIVED orders will be returned.
Success
Bad Request
Unauthorized
Forbidden
Internal Server Error
[- {
- "id": "1337-1337-1337-1337",
- "organization_id": "1337-1337-1337-1337",
- "site_id": "1337-1337-1337-1337",
- "activity_id": "1337-1337-1337-1337",
- "state": "BASKET",
- "price": 420,
- "fee": 42,
- "discounted_price": 0,
- "submitted": "2022-05-14:20:40.20Z",
- "type": "DELIVERY",
- "customer": {
- "id": "1337-1337-1337-1337",
- "first_name": "Hugh",
- "last_name": "Jackman",
- "email": "hugh.jackman@example.com",
- "phone_number": "+421111111111"
}, - "items": [
- {
- "name": "Cloud9 Fries",
- "price": "420,",
- "menu_item_id": "1337-1337-1337-1337",
- "order_item_id": "1337-1337-1337-1337",
- "order_item_state": "DELIVERED"
}
], - "external_reference_id": "1337-1337-1337-1337",
- "integration_partner_id": "1337-1337-1337-1337",
- "integration_device_id": "1337-1337-1337-1337",
- "integration_device_operator_id": "1337-1337-1337-1337",
- "last_updated": "2022-05-14:20:40.20Z"
}
]Create an order which will appear in the Cloudline Kitchen Management System.
Please be aware that currently the Cloudline platform only supports Custom Order Items and does not support referencing existing menu items within the Cloudline platform. Support for referencing menu items within the Cloudline platform will be released in an upcoming update.
This means that when creating an order you should include a list of custom_order_items as listed below in the parameters. Any reference ID's which are included in that data will be reflected in the list Orders endpoint and can be matched up with any external ordering system's own ID's.
This is the order information required to create an order.
Success
Bad Request
Unauthorized
Forbidden
Internal Server Error
{- "activity_id": "string",
- "type": "DELIVERY",
- "state": "ACCEPTED",
- "integration_device_id": "string",
- "integration_partner_id": "string",
- "custom_order_items": [
- {
- "name": "Cloud9 Fries",
- "price": 420,
- "type": "KITCHEN",
- "order_item_state": "PREPARED"
}
]
}{- "id": "1337-1337-1337-1337",
- "organization_id": "1337-1337-1337-1337",
- "site_id": "1337-1337-1337-1337",
- "activity_id": "1337-1337-1337-1337",
- "state": "BASKET",
- "price": 420,
- "fee": 42,
- "discounted_price": 0,
- "submitted": "2022-05-14:20:40.20Z",
- "type": "DELIVERY",
- "customer": {
- "id": "1337-1337-1337-1337",
- "first_name": "Hugh",
- "last_name": "Jackman",
- "email": "hugh.jackman@example.com",
- "phone_number": "+421111111111"
}, - "items": [
- {
- "name": "Cloud9 Fries",
- "price": "420,",
- "menu_item_id": "1337-1337-1337-1337",
- "order_item_id": "1337-1337-1337-1337",
- "order_item_state": "DELIVERED"
}
], - "external_reference_id": "1337-1337-1337-1337",
- "integration_partner_id": "1337-1337-1337-1337",
- "integration_device_id": "1337-1337-1337-1337",
- "integration_device_operator_id": "1337-1337-1337-1337",
- "last_updated": "2022-05-14:20:40.20Z"
}Returns the reconciliation report available in cl-corp, with order rows and report-level totals. Selects the latest COMPLETE/ARCHIVED order versions with recorded PAID/CLOUDLINE payments from ClickHouse and resolves reference data from Postgres. API-key organisation, site and activity permissions apply.
Amounts are integer pennies and submission timestamps use RFC3339, matching the orders API. VAT breakdowns contain numeric amounts by tax percentage. Totals are calculated before rounding; summing rows can give different net/VAT totals. Dates filter order submission time. Empty reports have rows: [] and totals: null.
Complete reconciliation report.
Missing or invalid scope/date/timezone parameters.
Invalid or missing API key.
Unauthorized scope, or organisation/site/activity mismatch.
Report configuration, source, payload or reference lookup failed. No partial report is returned.
{- "rows": [
- {
- "gross": 2140,
- "net_ex_vat": 2140,
- "vat": 2140,
- "vat_breakdown": [
- {
- "percentage": 20,
- "gross": 2140,
- "net_ex_vat": 2140,
- "vat": 2140
}
], - "food": 2140,
- "food_discount": 2140,
- "hot_drinks": 2140,
- "hot_drinks_discount": 2140,
- "beverage": 2140,
- "beverage_discount": 2140,
- "vending": 2140,
- "vending_discount": 2140,
- "other": 2140,
- "other_discount": 2140,
- "discount_total": 2140,
- "order_id": "string",
- "order_submitted_at": "2026-09-28T11:43:11.385Z",
- "activity": "string",
- "activity_id": "string",
- "discount_group": "string",
- "refund_requested": true
}
], - "totals": {
- "gross": 2140,
- "net_ex_vat": 2140,
- "vat": 2140,
- "vat_breakdown": [
- {
- "percentage": 20,
- "gross": 2140,
- "net_ex_vat": 2140,
- "vat": 2140
}
], - "food": 2140,
- "food_discount": 2140,
- "hot_drinks": 2140,
- "hot_drinks_discount": 2140,
- "beverage": 2140,
- "beverage_discount": 2140,
- "vending": 2140,
- "vending_discount": 2140,
- "other": 2140,
- "other_discount": 2140,
- "discount_total": 2140
}
}Get a menu item based on its ID
Success
Bad Request
Unauthorized
Forbidden
Internal Server Error
{- "id": "1asdlkfja-1asdlkfja-1asdlkfja-1asdlkfja",
- "name": "Cloud9 Fries",
- "price": 420
}Gets a list of devices which you have access to based on your api key
Success
Bad Request
Unauthorized
Forbidden
Internal Server Error
[- {
- "id": "1337-1337-1337-1337",
- "name": "Till 42",
- "description": "Till number 42 located in the play barn.",
- "external_id": "4242-4242-4242-4242",
- "partner_id": "4242-4242-4242-4242"
}
]Creates a new device. The device ID can then be used to interact with the Cloudline platform. Platform devices are used to trace the origin of a request primarily for debugging and logging purposes.
A good example of this is tracking a Create Order request back to the Till or POS device which performed the transaction.
This is the information required to create a device.
Success
Bad Request
Unauthorized
Forbidden
Internal Server Error
{- "name": "Till 42",
- "partner_id": "1337-1337-1337-1337",
- "description": "Till number 42 located in the play barn.",
- "external_id": "4242-4242-4242-4242"
}{- "id": "1337-1337-1337-1337",
- "name": "Till 42",
- "description": "Till number 42 located in the play barn.",
- "external_id": "4242-4242-4242-4242",
- "partner_id": "4242-4242-4242-4242"
}