Skip to content

List authenticated user's orders

GET
/organizers/{organizer_id}/orders
curl --request GET \
--url 'https://www.eventpop.me/api/public/organizers/1/orders?order_by=id&order=asc&page=1&per_page=10'

Returns a paginated list of orders belonging to the authenticated user for events within the specified organizer. Requires User Access Token with public scope. Only returns orders for events owned by the specified organizer.

organizer_id
required
integer format: int32
access_token
string

OAuth Token (alternative to Authorization header)

order_by
string
default: id
Allowed values: id created_at paid_at updated_at
order
string
default: asc
Allowed values: asc desc
page
integer format: int32
default: 1
per_page
integer format: int32
default: 10

Get user’s orders

Media typeapplication/json

PublicAPI_Entities_OrdersListResponse model

object
success

Operation success status

boolean
orders

List of orders

Array<object>
object
id

Unique order identifier

integer format: int32
status

Order status (e.g., “paid”, “pending”, “cancelled”)

string
buyer_firstname

Buyer first name

string
buyer_lastname

Buyer last name

string
buyer_email

Buyer email address

string
buyer_phone

Buyer full phone number as stored

string
buyer_phone_country

Buyer phone country ISO code (e.g., “TH”, “US”)

string
buyer_phone_country_code

Buyer phone country dialing code without “+” (e.g., “66”, “1”)

string
buyer_phone_local

Buyer phone in national format without country code

string
event_id

ID of the event this order is for

integer format: int32
forms

Custom form field responses for this order

array
ticket_ids

Array of ticket IDs included in this order

Array[Integer]
created_at

Order creation timestamp (ISO 8601 format)

string
updated_at

Last update timestamp (ISO 8601 format)

string
paid_at

Payment completion timestamp (ISO 8601 format), null if not paid

string
count

Number of orders in current page

integer format: int32
total

Total number of orders matching query

integer format: int32
page

Current page number

integer format: int32
per_page

Number of items per page

integer format: int32
Examplegenerated
{
"success": true,
"orders": [
{
"id": 1,
"status": "example",
"buyer_firstname": "example",
"buyer_lastname": "example",
"buyer_email": "example",
"buyer_phone": "example",
"buyer_phone_country": "example",
"buyer_phone_country_code": "example",
"buyer_phone_local": "example",
"event_id": 1,
"forms": [
"example"
],
"ticket_ids": "example",
"created_at": "example",
"updated_at": "example",
"paid_at": "example"
}
],
"count": 1,
"total": 1,
"page": 1,
"per_page": 1
}

Unauthorized - Invalid user token or organizer mismatch

Media typeapplication/json

Forbidden - Missing public scope

Media typeapplication/json