GET

Get Category


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 category.

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
GET
https://www.wixapis.com/categories/v1/categories/{categoryId}

Path Params
categoryIdstringRequired

Category ID.

Query Params
treeReference.appNamespacestringminLength 4maxLength 150

Namespace of the app that manages the tree.

For example, "@wix/stores", "@bookings/bookingslist", "@achievements/quizzes".


treeReference.treeKeystringminLength 1maxLength 44

Tree key. You must pass this when a single app manages more than one tree.


fieldsArray <string>

Fields to include in the response.

Response Object
categoryCategory

Category.

Get a category by ID in the specified tree

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?