PPylon Developers
ApiOrder Administration

List orders for event

Returns a paginated list of orders for a specific event. Admin access required.

GET
/api/v1/events/{eventId}/orders
AuthorizationBearer <token>

Enter your bearer token from the Pylon Auth API.

In: header

Path Parameters

eventId*string
Formatuuid

Query Parameters

page?integer
Default1
Formatint32
pageSize?integer
Default20
Formatint32
sort?string
q?string
status?unknown
Value in"Pending" | "Confirmed" | "Failed" | "Cancelled" | "Fulfilled" | "Refunded" | "Completed" | null

Response Body

application/json

application/json

curl -X GET "https://loading/api/v1/events/497f6eca-6276-4993-bfeb-53cbbbba6f08/orders"
{
  "data": [
    {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "orderNumber": "string",
      "status": "string",
      "eventId": null,
      "total": 0.1,
      "currency": "string",
      "createdAt": "2019-08-24T14:15:22Z",
      "buyerEmail": null,
      "issuanceReason": null,
      "issuedByUserId": null
    }
  ],
  "meta": {
    "totalCount": 0,
    "page": 0,
    "pageSize": 0,
    "totalPages": 0,
    "hasNext": true,
    "hasPrevious": true
  },
  "links": null
}
{
  "code": "string",
  "message": "string"
}