List Main Category by Article ID

v2

EndpointId: API-GAR-0016

Returns the main category associated with a specific article ID.

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-category/article-id/6159438/lang-id/4
curl -X GET 'https://auto-parts-catalog.apiprofile.com/api/articles/get-article-category/article-id/6159438/lang-id/4' \
  -H 'Accept: application/json' \
  -H 'x-apiprofile-key: YOUR_API_KEY'