CatalogRoleDTO Object


The REST API makes extensive use of the CatalogRoleDTO object whenever working with a single catalog role.  This article will help you to know the various members of this object.


The following pre-requisites will be necessary to accomplish the goals of this article:

  • General understanding of REST and API’s
  • Understanding of C# and/or JavaScript

Getting Started

There are no tasks needed to get started with understanding this object. 


The CatalogRoleDTO object will contain all of the details of a single catalog role for your Hotcakes Commerce store.


The following table gives you details on the various members of the CatalogRoleDTO object.  The descriptions are based upon default functionality and the default Viewset included with Hotcakes.

Member Default Description
CatalogRoleId Null Long The unique ID or primary key of the catalog role.
ReferenceId Null Guid The unique ID or primary key of one of following entities: product, category, product type.
RoleName (empty string) The name of the security role as it appears in the CMS.
RoleType 0 This property specifies what object will be linked with catalog role. The possible values are:
  • ProductRole = 0
  • CategoryRole = 1
  • ProductTypeRole = 2


Example of CatalogRoleDTO


      "RoleName":"Registered Users",
Have more questions? Submit a request

Need More Help?

Do you need more assistance with this article? Please review your support options.