Retrieve a category

This API helps you to retrieve the details of a category.

You must specify the unique identifier of the location (center) as center_id and the unique identifier of the category as category_id in the API request. The API then retrieves the details of the category.

Response Details

NameTypeDescription
idguidUnique 32-character identifier of the category.
codestringUnique code set for the category.
namestringName of the category.
parent_category_idstringUnique identifier of the parent category.
descriptionstringString that describes the category.
html_descriptionstringHTML string that describes the category.
show_in_catalogbooleanIndicates whether the category is enabled or disabled in the catalog.
display_orderintOrder in which this category appears on the Webstore and on the Customer Mobile App (CMA).
errorobjectObject that contains error message and error code details. For more information, refer to the error Object table.

error Object

codemessage
401Authorization has been denied for this request.
502invalid center_id.
400The request is invalid.
Language
Authorization
Header
Click Try It! to start a request and see the response here!