Locations Run in API Explorer
Ask AI
Per physical restaurant location, there will be a Location. This endpoint can be used to query them. You can have to specify an account, otherwise the locations of your own account will be returned
GET
/locations
curl \
--request GET 'https://api.staging.deliverect.com/locations' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
generated
{
"_items": [
{
"_id": "61********************a4",
"posSettings": {
"generic": {
"locationId": "29**10",
"setDefaultPriceLevelOnSync": false,
"anonymizeCustomer": false,
"sendStreetNumber": false,
"hasDirectTableIntegration": false,
"sendDiscount": true,
"sendDeliveryFee": true,
"sendServiceCharge": true,
"sendDeliveryFeeCondition": 0,
"forcePayment": 0,
"sendTip": true,
"sendRebate": true,
"sortModifiers": 0,
"bufferOrders": false,
"deliveryByChannelIsPickup": false,
"ignoreUnknownOrderStatuses": false,
"recalcPriceOverrides": false,
"dontSendCancel": false,
"readonly": false,
"logOps": true,
"orderItemRemarks": "intactItemRemarks",
"alwaysSendAllSnoozedProducts": true,
"ordersWebhookURL": "https://{{YourSetwebhookUrl}}/orders",
"registerUrl": "https://{{YourSetwebhookUrl}}/orders/register",
"operationsWebhookURL": "https://{{YourSetwebhookUrl}}/orders/operations",
"storeStatusURL": "https://{{YourSetwebhookUrl}}/orders/storeStatus",
"syncProductsURL": "https://{{YourSetwebhookUrl}}/syncProducts",
"syncTablesURL": "https://{{YourSetwebhookUrl}}/syncTables",
"syncFloorsURL": "https://{{YourSetwebhookUrl}}/syncFloors",
"syncBillsURL": "https://{{YourSetwebhookUrl}}/syncBills",
"billPaymentURL": "https://{{YourSetwebhookUrl}}/billPayments"
}
},
"name": "La Famiglia",
"status": "SUBSCRIBED",
"posSystemId": 10000,
"subscriptions": [
{
"brandId": "61********************9e"
}
],
"address": {
"phoneNumber": "+445556665555",
"houseNumber": "78",
"street": "Main St",
"postalCode": "FX19ST",
"city": "Pleasantville",
"stateOrProvince": "TX",
"restaurantName": "La Famiglia Restaurant",
"coordinates": {
"type": "Point",
"coordinates": [
-20.34974509999999,
11.0110892
]
},
"country": "FR"
},
"contact": {
"phoneNumber": "+445556665555"
},
"timezone": "Asia/Dubai",
"taxExcl": false,
"enableOutOfStock": false,
"enablePickupScreenQR": false,
"ignorePOSOrderStatuses": false,
"enableWorkstations": false,
"splitOrderItems": false,
"account": "61********************8d",
"region": "Latin America",
"_updated": "2022-12-28T08:38:13.710000Z",
"_created": "2022-11-17T05:43:05.000000Z",
"_deleted": false,
"_etag": "fc9144bc1b9ef7e67378d3e0c77279691c1bc3a8",
"channelLinks": [
"63********************45",
"63********************22",
"63********************12",
"63********************1e",
"63********************90"
],
"deliverySystemSettings": {
"generic": {
"externalReference": "123",
"validateUrl": "https://mock-dsp.staging.deliverect.com/api/jobs/validate",
"createUrl": "https://mock-dsp.staging.deliverect.com/api/jobs/create",
"cancelUrl": "https://mock-dsp.staging.deliverect.com/api/jobs/cancel",
"registerUrl": "https://mock-dsp.staging.deliverect.com/api/register",
"active": false
}
},
"openingHours": [
{
"dayOfWeek": 1,
"startTime": "00:00",
"endTime": "23:59"
},
{
"dayOfWeek": 2,
"startTime": "00:00",
"endTime": "23:59"
},
{
"dayOfWeek": 3,
"startTime": "00:00",
"endTime": "23:59"
},
{
"dayOfWeek": 4,
"startTime": "00:00",
"endTime": "23:59"
},
{
"dayOfWeek": 5,
"startTime": "00:00",
"endTime": "23:59"
},
{
"dayOfWeek": 6,
"startTime": "00:00",
"endTime": "23:59"
},
{
"dayOfWeek": 7,
"startTime": "00:00",
"endTime": "23:59"
}
],
"lastProductSync": "2022-12-28T21:05:27.668000Z",
"_links": {
"self": {
"title": "Locations",
"href": "locations/63********************e4"
},
"related": {
"account": {
"title": "accounts",
"href": "accounts/63********************8d"
},
"channelLinks": [
{
"title": "channelLink",
"href": "channelLinks/63********************45"
},
{
"title": "channelLink",
"href": "channelLinks/63********************22"
},
{
"title": "channelLink",
"href": "channelLinks/63********************12"
},
{
"title": "channelLink",
"href": "channelLinks/63********************1e"
},
{
"title": "channelLink",
"href": "channelLinks/63********************90"
}
]
}
},
"channelLinksDetails": {
"63********************22": {
"channel": "DoorDash",
"channelId": 12,
"name": "DoorDash"
},
"63********************12": {
"channel": "Generic Channel",
"channelId": 10057,
"name": "Custom Channnel"
},
"63********************1e": {
"channel": "Uber Eats",
"channelId": 7,
"name": "Uber Eats"
},
"63********************90": {
"channel": "Deliverect",
"channelId": 1,
"name": "Test channel"
}
}
},
{
"_id": "63********************67",
"posSettings": "................"
}
],
"_links": {
"parent": {
"title": "home",
"href": "/"
},
"self": {
"title": "locations",
"href": "locations?where={\"account\":\"63********************8d\"}"
},
"next": {
"title": "next page",
"href": "locations?where={\"account\":\"63********************8d\"}&page=2"
},
"last": {
"title": "last page",
"href": "locations?where={\"account\":\"63********************8d\"}&page=26"
}
},
"_meta": {
"page": 1,
"max_results": 25,
"total": 501
}
}
{
"_items": [
{
"_id": "61********************a4",
"posSettings": {
"generic": {
"locationId": "29**10",
"setDefaultPriceLevelOnSync": false,
"anonymizeCustomer": false,
"sendStreetNumber": false,
"hasDirectTableIntegration": false,
"sendDiscount": true,
"sendDeliveryFee": true,
"sendServiceCharge": true,
"sendDeliveryFeeCondition": 0,
"forcePayment": 0,
"sendTip": true,
"sendRebate": true,
"sortModifiers": 0,
"bufferOrders": false,
"deliveryByChannelIsPickup": false,
"ignoreUnknownOrderStatuses": false,
"recalcPriceOverrides": false,
"dontSendCancel": false,
"readonly": false,
"logOps": true,
"orderItemRemarks": "intactItemRemarks",
"alwaysSendAllSnoozedProducts": true,
"ordersWebhookURL": "https://{{YourSetwebhookUrl}}/orders",
"registerUrl": "https://{{YourSetwebhookUrl}}/orders/register",
"operationsWebhookURL": "https://{{YourSetwebhookUrl}}/orders/operations",
"storeStatusURL": "https://{{YourSetwebhookUrl}}/orders/storeStatus",
"syncProductsURL": "https://{{YourSetwebhookUrl}}/syncProducts",
"syncTablesURL": "https://{{YourSetwebhookUrl}}/syncTables",
"syncFloorsURL": "https://{{YourSetwebhookUrl}}/syncFloors",
"syncBillsURL": "https://{{YourSetwebhookUrl}}/syncBills",
"billPaymentURL": "https://{{YourSetwebhookUrl}}/billPayments"
}
},
"name": "La Famiglia",
"status": "SUBSCRIBED",
"posSystemId": 10000,
"subscriptions": [
{
"brandId": "61********************9e"
}
],
"address": {
"phoneNumber": "+445556665555",
"houseNumber": "78",
"street": "Main St",
"postalCode": "FX19ST",
"city": "Pleasantville",
"stateOrProvince": "TX",
"restaurantName": "La Famiglia Restaurant",
"coordinates": {
"type": "Point",
"coordinates": [
-20.34974509999999,
11.0110892
]
},
"country": "FR"
},
"contact": {
"phoneNumber": "+445556665555"
},
"timezone": "Asia/Dubai",
"taxExcl": false,
"enableOutOfStock": false,
"enablePickupScreenQR": false,
"ignorePOSOrderStatuses": false,
"enableWorkstations": false,
"splitOrderItems": false,
"account": "61********************8d",
"region": "Latin America",
"_updated": "2022-12-28T08:38:13.710000Z",
"_created": "2022-11-17T05:43:05.000000Z",
"_deleted": false,
"_etag": "fc9144bc1b9ef7e67378d3e0c77279691c1bc3a8",
"channelLinks": [
"63********************45",
"63********************22",
"63********************12",
"63********************1e",
"63********************90"
],
"deliverySystemSettings": {
"generic": {
"externalReference": "123",
"validateUrl": "https://mock-dsp.staging.deliverect.com/api/jobs/validate",
"createUrl": "https://mock-dsp.staging.deliverect.com/api/jobs/create",
"cancelUrl": "https://mock-dsp.staging.deliverect.com/api/jobs/cancel",
"registerUrl": "https://mock-dsp.staging.deliverect.com/api/register",
"active": false
}
},
"openingHours": [
{
"dayOfWeek": 1,
"startTime": "00:00",
"endTime": "23:59"
},
{
"dayOfWeek": 2,
"startTime": "00:00",
"endTime": "23:59"
},
{
"dayOfWeek": 3,
"startTime": "00:00",
"endTime": "23:59"
},
{
"dayOfWeek": 4,
"startTime": "00:00",
"endTime": "23:59"
},
{
"dayOfWeek": 5,
"startTime": "00:00",
"endTime": "23:59"
},
{
"dayOfWeek": 6,
"startTime": "00:00",
"endTime": "23:59"
},
{
"dayOfWeek": 7,
"startTime": "00:00",
"endTime": "23:59"
}
],
"lastProductSync": "2022-12-28T21:05:27.668000Z",
"_links": {
"self": {
"title": "Locations",
"href": "locations/63********************e4"
},
"related": {
"account": {
"title": "accounts",
"href": "accounts/63********************8d"
},
"channelLinks": [
{
"title": "channelLink",
"href": "channelLinks/63********************45"
},
{
"title": "channelLink",
"href": "channelLinks/63********************22"
},
{
"title": "channelLink",
"href": "channelLinks/63********************12"
},
{
"title": "channelLink",
"href": "channelLinks/63********************1e"
},
{
"title": "channelLink",
"href": "channelLinks/63********************90"
}
]
}
},
"channelLinksDetails": {
"63********************22": {
"channel": "DoorDash",
"channelId": 12,
"name": "DoorDash"
},
"63********************12": {
"channel": "Generic Channel",
"channelId": 10057,
"name": "Custom Channnel"
},
"63********************1e": {
"channel": "Uber Eats",
"channelId": 7,
"name": "Uber Eats"
},
"63********************90": {
"channel": "Deliverect",
"channelId": 1,
"name": "Test channel"
}
}
},
{
"_id": "63********************67",
"posSettings": "................"
}
],
"_links": {
"parent": {
"title": "home",
"href": "/"
},
"self": {
"title": "locations",
"href": "locations?where={\"account\":\"63********************8d\"}"
},
"next": {
"title": "next page",
"href": "locations?where={\"account\":\"63********************8d\"}&page=2"
},
"last": {
"title": "last page",
"href": "locations?where={\"account\":\"63********************8d\"}&page=26"
}
},
"_meta": {
"page": 1,
"max_results": 25,
"total": 501
}
}