Categories and parameters

Get IDs of Allegro categories

Use this resource to traverse the Allegro categories tree. It returns the list of the given category's children or a list of the main Allegro categories. Read more: <a href="../../tutorials/jak-jednym-requestem-wystawic-oferte-powiazana-z-produktem-D7Kj9gw4xFA#kategorie-oraz-parametry" target="_blank">PL</a> / <a href="../../tutorials/list-offer-assigned-product-one-request-D7Kj9M71Bu6#categories-and-parameters" target="_blank">EN</a>.

get/sale/categories

Request

  • Base URL: https://api.allegro.pl
  • URL: https://api.allegro.pl/sale/categories
  • Auth: one of:
    • OAuth 2 (client credentials, token URL https://allegro.pl/auth/oauth/token)
    • OAuth 2 (authorization code, authorization URL https://allegro.pl/auth/oauth/authorize, token URL https://allegro.pl/auth/oauth/token)

Query parameters

parent.idstring

The ID of the category which children should be returned. If omitted, the list of main Allegro categories will be returned.

Headers

Accept-Language'en-US' | 'pl-PL' | 'uk-UA' | 'sk-SK' | 'cs-CZ' | 'hu-HU' BCP-47 language code

Expected language of messages.

Response

The list of categories returned successfully.

Changes

No recorded changes to this operation across all 1 revision of this API.