POST

List Categories For Item


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Retrieves a list of categories that contain the specified item.

Permissions
Read categories
Manage Stores - all permissions
Read Stores - all read permissions
Manage Orders
Manage Products
Read Products
Manage Restaurants - all permissions
Read v3 catalog
Manage v3 catalog
Learn more about app permissions.
Endpoint
POST
https://www.wixapis.com/categories/v1/categories/list-categories-for-item

Body Params
itemItemRequired

Item reference info.


treeReferenceTreeReferenceRequired

Category tree reference details.

Response Object
directCategoryIdsArray <string>format GUIDmaxItems 1000

List of IDs of categories that directly contain this item.


allCategoryIdsArray <string>format GUIDmaxItems 1000

List of IDs of categories that directly contain this item, and their parent category IDs.

List categories for item

List all categories that contain the item and their parent category.

Request
cURL
Response
JSON
Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?