curl --request GET \
--url https://api.chift.eu/consumers/{consumer_id}/pms/orders \
--header 'Authorization: Bearer <token>'
{
"items": [
{
"id": "123",
"source_ref": {
"id": "<string>",
"model": "<string>"
},
"order_number": "1",
"creation_date": "2025-01-01T00:00:00Z",
"closing_date": "2025-01-01T00:00:00Z",
"service_date": "2025-01-01T00:00:00Z",
"device_id": "device-123",
"total": 11,
"tax_amount": 1,
"total_discount": 10,
"total_refund": 5,
"total_tip": 1,
"delivery_fee": 1,
"currency": "EUR",
"country": "FR",
"loyalty": 100,
"customer_id": "customer-123",
"location_id": "location-123",
"taxes": [
{
"tax_rate": "10",
"tax_amount": "1",
"total": "11"
}
],
"guests": 1,
"items": [
{
"id": "123",
"source_ref": {
"id": "<string>",
"model": "<string>"
},
"type": "product",
"menu_id": "456",
"quantity": 1,
"unit_price": 10,
"total": 11,
"tax_amount": 1,
"tax_rate": 10,
"description": "Pizza",
"discounts": [],
"product_id": "789",
"accounting_category_id": "123"
}
],
"service_id": "<string>",
"reservation": {
"id": "<string>",
"source_ref": {
"id": "<string>",
"model": "<string>"
},
"start_date": "2024-10-01T12:00:00",
"end_date": "2024-10-10T12:00:00",
"creation_date": "2024-09-25T12:00:00",
"resource_id": {
"id": "<string>",
"source_ref": {
"id": "<string>",
"model": "<string>"
}
},
"resource_name": "Room 101",
"resource_identifier": "R101"
},
"bills": [
{
"id": "<string>",
"source_ref": {
"id": "<string>",
"model": "<string>"
},
"invoice_number": "INV-12345",
"creation_date": "2023-10-01T12:00:00",
"closing_date": "2023-10-10T12:00:00",
"partners": [
{
"id": "<string>",
"source_ref": {
"id": "<string>",
"model": "<string>"
},
"type": "account",
"address": {
"address_type": "home",
"name": "Home",
"street": "Main Street",
"number": "123",
"box": "A",
"city": "Paris",
"postal_code": "75000",
"country": "FR"
},
"first_name": "John",
"last_name": "Doe",
"company_name": "Acme Corp"
}
]
}
]
}
],
"total": 1,
"page": 2,
"size": 2
}
Returns a list of the orders
curl --request GET \
--url https://api.chift.eu/consumers/{consumer_id}/pms/orders \
--header 'Authorization: Bearer <token>'
{
"items": [
{
"id": "123",
"source_ref": {
"id": "<string>",
"model": "<string>"
},
"order_number": "1",
"creation_date": "2025-01-01T00:00:00Z",
"closing_date": "2025-01-01T00:00:00Z",
"service_date": "2025-01-01T00:00:00Z",
"device_id": "device-123",
"total": 11,
"tax_amount": 1,
"total_discount": 10,
"total_refund": 5,
"total_tip": 1,
"delivery_fee": 1,
"currency": "EUR",
"country": "FR",
"loyalty": 100,
"customer_id": "customer-123",
"location_id": "location-123",
"taxes": [
{
"tax_rate": "10",
"tax_amount": "1",
"total": "11"
}
],
"guests": 1,
"items": [
{
"id": "123",
"source_ref": {
"id": "<string>",
"model": "<string>"
},
"type": "product",
"menu_id": "456",
"quantity": 1,
"unit_price": 10,
"total": 11,
"tax_amount": 1,
"tax_rate": 10,
"description": "Pizza",
"discounts": [],
"product_id": "789",
"accounting_category_id": "123"
}
],
"service_id": "<string>",
"reservation": {
"id": "<string>",
"source_ref": {
"id": "<string>",
"model": "<string>"
},
"start_date": "2024-10-01T12:00:00",
"end_date": "2024-10-10T12:00:00",
"creation_date": "2024-09-25T12:00:00",
"resource_id": {
"id": "<string>",
"source_ref": {
"id": "<string>",
"model": "<string>"
}
},
"resource_name": "Room 101",
"resource_identifier": "R101"
},
"bills": [
{
"id": "<string>",
"source_ref": {
"id": "<string>",
"model": "<string>"
},
"invoice_number": "INV-12345",
"creation_date": "2023-10-01T12:00:00",
"closing_date": "2023-10-10T12:00:00",
"partners": [
{
"id": "<string>",
"source_ref": {
"id": "<string>",
"model": "<string>"
},
"type": "account",
"address": {
"address_type": "home",
"name": "Home",
"street": "Main Street",
"number": "123",
"box": "A",
"city": "Paris",
"postal_code": "75000",
"country": "FR"
},
"first_name": "John",
"last_name": "Doe",
"company_name": "Acme Corp"
}
]
}
]
}
],
"total": 1,
"page": 2,
"size": 2
}
This access token needs to be included in each of your request to the Chift API.
Page number
x >= 1
Page size
1 <= x <= 100
consumed
, closed
Successful Response
The response is of type object
.