Search.../
  1. Home
  2. Getting Started
  3. Overview
Generate a test token to explore our APIs

List Categories

Developer Preview

Lists all categories.

Permissions
This endpoint requires the Read Bookings - Public Data or the Read Bookings - Including Participants permissions scope

Authorization

This endpoint requires an authorization header - pass the access token from the OAuth installation flow.

GET

https://www.wixapis.com/bookings/v1/categories

Query Params

NAME
TYPE
DESCRIPTION
categoryIds

Array<string>

Category IDs.

includeDeleted

boolean

Whether deleted categories are included. Defaults to false.

Response Object

NAME
TYPE
DESCRIPTION
categories

Array<object>

Category data.

Status/Error Codes

The response will include an HTTP status code.

Was this helpful?

List Deleted Categories

List all the categories in the site, including categories that were deleted

Request

curl

Copy Code
1curl -X GET \
2 'https://www.wixapis.com/bookings/v1/categories?includeDeleted=true' \
3 -H 'Authorization: <AUTH>'

Response

json

1
2{"categories": [
3 {
4 "id": "442d101a-37b1-4769-81e5-4e7f809585e8",
5 "name": "categ2",
6 "customProperties": {"order": "1"},
7 "status": "CREATED",
8 "sortOrder": 1
9 },
10 {
11 "id": "77dff5ea-792a-4a3c-a49d-8b19124083d1",
12 "name": "Wix Docs Creation!!!",
13 "customProperties": {"order": "2"},
14 "status": "CREATED",
15 "sortOrder": 2
16 },
17 {
18 "id": "6a2a6800-4514-42df-abae-89c0f37eaf19",
19 "name": "wix docs",
20 "customProperties": {"order": "2"},
21 "status": "DELETED",
22 "sortOrder": 2
23 },
24 {
25 "id": "ce22f433-2f7c-4c47-afbe-19cd426fd95d",
26 "name": "Our Services",
27 "customProperties": {"order": "0"},
28 "status": "DELETED",
29 "sortOrder": 0
30 }
31]}
List Categories
List categories by Ids