v1

latestOpenAPI 3.0.22026-07-223907721.1 MB
Meta

Category Tree

Returns JSON by default. Response can be gzipped if Accept header is set to "application/gzip".

get/v1/seller/meta/{channel}/categories

Path parameters

channelstring required

Channel name whose category tree should be returned.

Headers

Accept'application/json' | 'application/gzip'

Preferred response encoding. Use application/gzip to receive the response gzip-compressed.

Response

Channel category tree (JSON, optionally gzip-compressed)

categoryIdstring required

Channel category Id.

displayNamestring required

Category display name.

listingAllowedboolean

Mark a categoryId as leaf. Only leaf categories can list offers.

parentCategoryIdstring

Parent category Id. If category is 0 the current category is considered as root category.

Example response

[
  {
    "categoryId": "4711",
    "displayName": "Beer",
    "parentCategoryId": "2343"
  }
]