List Categories by Article ID

v2

EndpointId: API-GAR-0015

Returns all category assignments associated with a specific article ID, including each category’s ID, name, parent category ID, and parent category names, allowing you to understand how the article is classified across different category trees.

Method: get

Parameters Specification

Parameter Field Type Constraints Description / Default Value Param Location
langId int Required

Example Value: 4
path
articleId int Required

Example Value: 6159438
path

Use this endpoint

GET https://auto-parts-catalog.apiprofile.com/api/articles/get-article-categories/article-id/6159438/lang-id/4
curl -X GET 'https://auto-parts-catalog.apiprofile.com/api/articles/get-article-categories/article-id/6159438/lang-id/4' \
  -H 'Accept: application/json' \
  -H 'x-apiprofile-key: YOUR_API_KEY'