List authenticated user's orders
const url = 'https://www.eventpop.me/api/public/organizers/1/orders?order_by=id&order=asc&page=1&per_page=10';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Query Parameters
Section titled “Query Parameters”OAuth Token (alternative to Authorization header)
Responses
Section titled “Responses”Get user’s orders
PublicAPI_Entities_OrdersListResponse model
object
Operation success status
List of orders
object
Unique order identifier
Order status (e.g., “paid”, “pending”, “cancelled”)
Buyer first name
Buyer last name
Buyer email address
Buyer full phone number as stored
Buyer phone country ISO code (e.g., “TH”, “US”)
Buyer phone country dialing code without “+” (e.g., “66”, “1”)
Buyer phone in national format without country code
ID of the event this order is for
Custom form field responses for this order
Array of ticket IDs included in this order
Order creation timestamp (ISO 8601 format)
Last update timestamp (ISO 8601 format)
Payment completion timestamp (ISO 8601 format), null if not paid
Number of orders in current page
Total number of orders matching query
Current page number
Number of items per page
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
Forbidden - Missing public scope