v1

latestSwagger 2.02026-07-13137761.0 MB
Channel

Get a channel

This endpoint allows you to get the information about a given channel.

get/api/rest/v1/channels/{code}

Path parameters

codestring required

Code of the resource

Response

OK

codestring required

Channel code

localesstring[] required

Codes of activated locales for the channel

currenciesstring[] required

Codes of activated currencies for the channel

category_treestring required

Code of the category tree linked to the channel

Example response

{
  "code": "ecommerce",
  "currencies": [
    "USD",
    "EUR"
  ],
  "locales": [
    "de_DE",
    "en_US",
    "fr_FR"
  ],
  "category_tree": "master",
  "conversion_units": {
    "weight": "KILOGRAM"
  },
  "labels": {
    "en_US": "Ecommerce",
    "de_DE": "Ecommerce",
    "fr_FR": "Ecommerce"
  }
}