Code Commit and Pull Request Approach

This section covers endpoints used for fetching, creating & updating Category list and details.


GET/api/v1/category

Get Categories

This endpoint is used to get category list in a tree format. All the sub-categories are nested inside their respective parent categories.

Request Parameters

NA - No request parameters required for this endpoint

Sample Request

Request

GET
/api/v1/category
curl --location '<api_url>/api/v1/category' \
--header 'Accept: text/plain' \
--header 'Authorization: bearer {{apiKey}}'