Skip to content

List customers​

GET
/api/v2/customers

Get a list of customers

Authorizations​

bearerAuth
Type
HTTP (bearer)

Parameters​

Query Parameters

limit
Type
integer
Default
10
offset
Type
integer
Default
0
name
Type
string
email
Type
string
phone
Type
string
min_spent
Type
number
max_spent
Type
number
event
Type
integer

Responses​

A list of customers

application/json
JSON
{
  
"count": 10,
  
"totalCount": 25,
  
"limit": 50,
  
"offset": 25,
  
"data": [
  
]
}

Playground​

Authorization
Variables
Key
Value

Samples​


Create customer​

POST
/api/v2/customers

Create a new customer

Authorizations​

bearerAuth
Type
HTTP (bearer)

Request Body​

application/json
JSON
"string"

Responses​

Created customer

application/json
JSON
{
  
"data": "string"
}

Playground​

Authorization
Body

Samples​


Get customer​

GET
/api/v2/customers/{id}

Get a customer by ID

Authorizations​

bearerAuth
Type
HTTP (bearer)

Parameters​

Path Parameters

id*
Type
integer
Required

Responses​

Customer details

application/json
JSON
{
  
"data": "string"
}

Playground​

Authorization
Variables
Key
Value

Samples​


Delete customer​

DELETE
/api/v2/customers/{id}

Delete a customer

Authorizations​

bearerAuth
Type
HTTP (bearer)

Parameters​

Path Parameters

id*
Type
integer
Required

Responses​

Customer deleted

Playground​

Authorization
Variables
Key
Value

Samples​


Update customer​

PATCH
/api/v2/customers/{id}

Update an existing customer

Authorizations​

bearerAuth
Type
HTTP (bearer)

Parameters​

Path Parameters

id*
Type
integer
Required

Request Body​

application/json
JSON
"string"

Responses​

Updated customer

application/json
JSON
{
  
"data": "string"
}

Playground​

Authorization
Variables
Key
Value
Body

Samples​


Bulk delete customers​

POST
/api/v2/customers/bulk-delete

Delete multiple customers

Authorizations​

bearerAuth
Type
HTTP (bearer)

Request Body​

application/json
JSON
{
  
"ids": [
  
  
0
  
]
}

Responses​

Customers deleted

Playground​

Authorization
Body

Samples​


Export customers as CSV​

GET
/api/v2/customers/export

Downloads a CSV file containing customer details matching the given filters.

Authorizations​

bearerAuth
Type
HTTP (bearer)

Parameters​

Query Parameters

type

Filter by customer type (regular, guest, prospect)

Type
string
Valid values
"regular""guest""prospect"
eventType

Filter by event status (purchased, unpurchased)

Type
string
Valid values
"purchased""unpurchased"
eventSelection

Event IDs filter (upcoming, elapsed, or comma-separated IDs)

Type
string

Responses​

CSV file download with customer details.

text/csv
JSON
"string"

Playground​

Authorization
Variables
Key
Value

Samples​


Powered by VitePress OpenAPI