Item Catalog
The Item Catalog service is a key component of the Item Management system. All items to be managed (i.e. awarded, purchased, sold, traded, etc.) must be first defined in the Item Catalog.
Items in the catalog can be in one of four states:
- DRAFT - item is currently still be defined. Cannot be purchased or awarded
- PUBLISHED - item is now available for award, purchase and trading.
- RETIRED - item is no longer available for purchase or awarding, but a user can still keep it in their inventory. And the item can still be traded or sold.
- REVOKED - the item has being removed from circulation. Will be deleted from user's inventory upon refresh.
Items are normally defined and published via the Design | Item Management | Item Catalog screen of the Design Portal.
This service is primarily used to retrieve lists of items from the catalog for display in store purchase screens. Items are then awarded/purchased/traded via the User Items service.
API Summary
Get
- SysGetCatalogItemsPage - Retrieves page of catalog items from the server, with full language fields mappings.
- SysGetCatalogItemsPageOffset - Gets the page of catalog items from the server based on the encoded context and specified page offset, with full language fields mappings.
- SysGetCatalogItemDefinition - Reads an existing item definition from the server, with full language fields mappings.
Create
- SysAddCatalogItem - Create a new catalog item on the server.
Edit
- SysEditCatalogItem - Update a catalog item on the server.
- SysDeleteCatalogItem - Delete an exsiting catalog item catalog.
- SysCopyItemImageFromUserFile - Copy item image from global file.
- SysCopyItemImageFromGlobalFile - Copy item image from global file.
Life Cycle
- SysPublishCatalogItem - Publish the specified catalog item on the server.
- SysSetInvisibleCatalogItem - Set the specified catalog item to invisible on the server.
- SysRetireCatalogItem - Retire the specified catalog item on the server.
- SysRevokeCatalogItem - Revoke the specified catalog item on the server.
All the client APIs that the names beigin with "Sys" are also available to S2S. For the usages of the S2S customEntity APIs (if they are not listed at this section), refer to brainCloud client itemCatalog APIs.
📄️ SysAddCatalogItem
Create a new catalog item on the server.
📄️ SysEditCatalogItem
Update a catalog item on the server.
📄️ SysGetCatalogItemDefinition
Reads an existing item definition from the server, with full language fields mappings.
📄️ SysGetCatalogItemsPage
Retrieves page of catalog items from the server, with full language fields mappings.
📄️ SysGetCatalogItemsPageOffset
Gets the page of catalog items from the server based on the encoded context and specified page offset, with full language fields mappings.
📄️ SysPublishCatalogItem
Publish the specified catalog item on the server.
📄️ SysRetireCatalogItem
Retire the specified catalog item on the server.
📄️ SysRevokeCatalogItem
Revoke the specified catalog item on the server.
📄️ SysSetInvisibleCatalogItem
Set the specified catalog item to invisible on the server.