List orders
curl --request GET \
--url https://api.lulacommerce.com/v1/orders \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.lulacommerce.com/v1/orders"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.lulacommerce.com/v1/orders', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"has_more": true,
"next_cursor": "<string>",
"data": [
{
"id": "ord_01J9ZR8M3T5X",
"display_id": "4K7R",
"store_id": "<string>",
"channel": "lula_direct",
"channel_order_id": "<string>",
"external_order_id": "<string>",
"status": "placed",
"previous_status": "placed",
"fulfillment": {
"type": "delivery",
"scheduled_for": "2023-11-07T05:31:56Z",
"prep_time_minutes": 123,
"estimated_ready_at": "2023-11-07T05:31:56Z",
"courier": {
"name": "<string>",
"status": "assigned",
"estimated_arrival_at": "2023-11-07T05:31:56Z"
}
},
"customer": {
"first_name": "<string>",
"last_initial": "<string>"
},
"items": [
{
"id": "<string>",
"external_id": "<string>",
"name": "<string>",
"quantity": 123,
"unit_price": {
"amount": 249,
"currency": "USD"
},
"total_price": {
"amount": 249,
"currency": "USD"
},
"station": "kitchen",
"special_instructions": "<string>",
"modifiers": [
{
"group_name": "<string>",
"option_name": "<string>",
"quantity": 123,
"price": {
"amount": 249,
"currency": "USD"
}
}
],
"status": "ordered"
}
],
"totals": {
"subtotal": {
"amount": 249,
"currency": "USD"
},
"discount": {
"amount": 249,
"currency": "USD"
},
"tax": {
"amount": 249,
"currency": "USD"
},
"tip": {
"amount": 249,
"currency": "USD"
},
"delivery_fee": {
"amount": 249,
"currency": "USD"
},
"service_fee": {
"amount": 249,
"currency": "USD"
},
"total": {
"amount": 249,
"currency": "USD"
}
},
"payment": {
"status": "paid",
"collected_by": "channel",
"amount_paid": {
"amount": 249,
"currency": "USD"
},
"tenders": [
{
"type": "card",
"amount": {
"amount": 249,
"currency": "USD"
}
}
]
},
"notes": "<string>",
"age_verification_required": true,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
]
}Orders
List orders
Orders across every channel, newest first.
GET
/
orders
List orders
curl --request GET \
--url https://api.lulacommerce.com/v1/orders \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.lulacommerce.com/v1/orders"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.lulacommerce.com/v1/orders', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"has_more": true,
"next_cursor": "<string>",
"data": [
{
"id": "ord_01J9ZR8M3T5X",
"display_id": "4K7R",
"store_id": "<string>",
"channel": "lula_direct",
"channel_order_id": "<string>",
"external_order_id": "<string>",
"status": "placed",
"previous_status": "placed",
"fulfillment": {
"type": "delivery",
"scheduled_for": "2023-11-07T05:31:56Z",
"prep_time_minutes": 123,
"estimated_ready_at": "2023-11-07T05:31:56Z",
"courier": {
"name": "<string>",
"status": "assigned",
"estimated_arrival_at": "2023-11-07T05:31:56Z"
}
},
"customer": {
"first_name": "<string>",
"last_initial": "<string>"
},
"items": [
{
"id": "<string>",
"external_id": "<string>",
"name": "<string>",
"quantity": 123,
"unit_price": {
"amount": 249,
"currency": "USD"
},
"total_price": {
"amount": 249,
"currency": "USD"
},
"station": "kitchen",
"special_instructions": "<string>",
"modifiers": [
{
"group_name": "<string>",
"option_name": "<string>",
"quantity": 123,
"price": {
"amount": 249,
"currency": "USD"
}
}
],
"status": "ordered"
}
],
"totals": {
"subtotal": {
"amount": 249,
"currency": "USD"
},
"discount": {
"amount": 249,
"currency": "USD"
},
"tax": {
"amount": 249,
"currency": "USD"
},
"tip": {
"amount": 249,
"currency": "USD"
},
"delivery_fee": {
"amount": 249,
"currency": "USD"
},
"service_fee": {
"amount": 249,
"currency": "USD"
},
"total": {
"amount": 249,
"currency": "USD"
}
},
"payment": {
"status": "paid",
"collected_by": "channel",
"amount_paid": {
"amount": 249,
"currency": "USD"
},
"tenders": [
{
"type": "card",
"amount": {
"amount": 249,
"currency": "USD"
}
}
]
},
"notes": "<string>",
"age_verification_required": true,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
]
}
