List order destinations
curl --request GET \
--url https://api.lulacommerce.com/v1/order-destinations \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.lulacommerce.com/v1/order-destinations"
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/order-destinations', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"url": "<string>",
"auth": {
"type": "oauth2_client_credentials",
"token_url": "<string>",
"client_id": "<string>",
"scope": "<string>"
},
"id": "dest_01JA0D4G6J8K",
"health": {
"status": "healthy",
"success_rate_24h": 0.999,
"median_latency_ms": 180,
"last_delivered_at": "2023-11-07T05:31:56Z"
},
"name": "Remote Order API",
"payload_format": "lula_order_v1",
"order_id_path": "$.orderNumber",
"store_ids": [
"<string>"
],
"channels": [
"lula_direct"
],
"stations": [
"kitchen"
],
"enabled": true
}
]
}Order Destinations
List order destinations
GET
/
order-destinations
List order destinations
curl --request GET \
--url https://api.lulacommerce.com/v1/order-destinations \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.lulacommerce.com/v1/order-destinations"
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/order-destinations', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"url": "<string>",
"auth": {
"type": "oauth2_client_credentials",
"token_url": "<string>",
"client_id": "<string>",
"scope": "<string>"
},
"id": "dest_01JA0D4G6J8K",
"health": {
"status": "healthy",
"success_rate_24h": 0.999,
"median_latency_ms": 180,
"last_delivered_at": "2023-11-07T05:31:56Z"
},
"name": "Remote Order API",
"payload_format": "lula_order_v1",
"order_id_path": "$.orderNumber",
"store_ids": [
"<string>"
],
"channels": [
"lula_direct"
],
"stations": [
"kitchen"
],
"enabled": true
}
]
}
