GET
/channelLinks
curl \
--request GET 'https://api.staging.deliverect.com/channelLinks' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"_items": [
{
"_id": "65********************07",
"name": "Test channel",
"tags": [],
"_etag": "db********************0f",
"APIKey": "",
"_links": {
"self": {
"href": "channelLinks/65********************07",
"title": "channelLink"
},
"related": {
"account": {
"href": "accounts/65********************6f",
"title": "accounts"
},
"brandId": {
"href": "accounts/65********************6e",
"title": "accounts"
},
"location": {
"href": "locations/65********************fd",
"title": "Locations"
}
}
},
"logPOS": true,
"status": 2,
"account": "65********************6f",
"brandId": "65********************6e",
"channel": 1,
"menuUrl": "",
"mockPOS": false,
"taxExcl": false,
"_created": "YYYY-MM-DDTHH:mm:ss.SSSSSSZ",
"_deleted": false,
"_updated": "YYYY-MM-DDTHH:mm:ss.SSSSSSZ",
"location": "65********************fd",
"timezone": "",
"kdsSystem": 0,
"posSystem": "Generic POS",
"enabledDMA": false,
"application": "",
"kdsSettings": {},
"mockChannel": false,
"posSettings": {
"generic": {
"logOps": true,
"sendTip": true,
"readonly": false,
"bagFeePLU": "",
"locationId": "",
"sendRebate": false,
"discountPLU": "",
"registerUrl": "",
"bufferOrders": false,
"forcePayment": 0,
"sendDiscount": true,
"customHeaders": "",
"sortModifiers": 0,
"dontSendCancel": false,
"sendDeliveryFee": true,
"syncProductsURL": "",
"orderItemRemarks": "intactItemRemarks",
"ordersWebhookURL": "",
"sendStreetNumber": false,
"anonymizeCustomer": false,
"orderNoteTemplate": "",
"sendServiceCharge": true,
"averageDeliveryTime": 15,
"separateSameProducts": false,
"averagePreparationTime": 15,
"priceLevelSettingsEatIn": "lvl_2",
"sendDeliveryFeeCondition": 0,
"deliveryByChannelIsPickup": false,
"hasDirectTableIntegration": true,
"ignoreUnknownOrderStatuses": false,
"priceLevelSettingsDelivery": "lvl_1",
"priceLevelSettingsTakeaway": "lvl_3",
"alwaysSendAllSnoozedProducts": true
}
},
"posSystemId": 10000,
"bufferOrders": false,
"openingHours": [
{
"endTime": "23:59",
"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"
}
],
"isTestChannel": true,
"posLocationId": "",
"sortModifiers": 0,
"validationInfo": {
"lastResult": {
"connectionOK": false,
"sampleCallOK": false,
"credentialsOK": false,
"connectionResponse": "",
"sampleCallResponse": "",
"credentialsResponse": ""
},
"isUnHealthy": false
},
"channelSettings": {
"locationId": "",
"coreFlatten": false,
"defaultTableId": "123",
"sendRejectStatus": false,
"snoozeBatchWindow": 0,
"isSnoozeRestricted": false,
"applyDefaultTableId": false,
"isMenuPushRestricted": false,
"allowUpdateMenuPrepTime": true,
"insertPosOrderAfterDmaAccept": false
},
"discountMapping": [],
"externalMenuIds": [],
"sendOrdersToKDS": false,
"isLoyaltyEnabled": false,
"ssuLinkedMenuIds": [],
"anonymizeCustomer": false,
"orderNoteTemplate": "",
"fulfillmentEnabled": false,
"priceLevelSettings": {
"eatIn": "lvl_0",
"delivery": "lvl_1",
"takeaway": "lvl_1"
},
"reportingEndpoints": [],
"averageDeliveryTime": 15,
"storeConfigurations": {},
"defaultPreparationTime": 15,
"ignorePOSOrderStatuses": false,
"rejectOnDispatchFailure": false,
"sendCourierUpdatesToChannel": false,
"useIntegratedOOFulfilmentFlow": false
}
]
}