GET /allChannels

Retrieve a list of all integrated channels in the Deliverect system to identify the ordering platform from which an order originated by it's unique channelId This ID directly corresponds to the channel attribute in the order payload.

Responses

  • 200 application/json
  • 400 application/json

    Bad Request

GET /allChannels
curl \
 --request GET 'https://api.staging.deliverect.com/allChannels' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
[
  {
    "name": "DELIVEROO",
    "channelId": 2
  },
  {
    "name": "UBER_EATS",
    "channelId": 7
  },
  {
    "name": "DOORDASH",
    "channelId": 12
  },
  {
    "name": "JUST_EAT",
    "channelId": 9
  },
  {
    "name": "GRUBHUB",
    "channelId": 42
  },
  {
    "name": "WOLT",
    "channelId": 16
  },
  {
    "name": "MENULOG",
    "channelId": 26
  },
  {
    "name": "HUNGER_STATION",
    "channelId": 40
  },
  {
    "name": "PEDIDOSYA_DH",
    "channelId": 54
  },
  {
    "name": "MEITUAN",
    "channelId": 53
  }
]
Response examples (400)
{}