Returns the full list of parent categories of the specified subcategory.


  • id GET

    Id of the subcategory whose parent categories should be returned.

  • reverse GET Optional

    Whether list of parent categories must be returned in descending order (true). By default (false) parent categories are returned in ascending order.

  • access_token GET

    API auth token obtained during the API authorization.

  • format GET Optional

    Sets response format. Available options: json (default), xml.


Error codes

  • invalid_request

    Invalid formed request. Additional information about the error is available in error_description parameter.

  • access_denied

    Access to the specified API method for the current token is denied.

  • invalid_method

    Unknown API method.