PPylon Developers
ApiOrders

Get order by ID

Returns detailed information about a specific order. Users can only view their own orders unless they are admins.

GET
/api/v1/orders/{id}
AuthorizationBearer <token>

Enter your bearer token from the Pylon Auth API.

In: header

Path Parameters

id*string
Formatuuid

Response Body

application/json

application/json

application/problem+json

curl -X GET "https://loading/api/v1/orders/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "orderNumber": "string",
  "status": "string",
  "paymentStatus": "string",
  "buyerEmail": "string",
  "buyerFirstName": null,
  "buyerLastName": null,
  "eventId": null,
  "sessionId": null,
  "currency": "string",
  "subtotal": 0.1,
  "discountAmount": 0.1,
  "feesAmount": 0.1,
  "total": 0.1,
  "refundedAmount": 0.1,
  "createdAt": "2019-08-24T14:15:22Z",
  "confirmedAt": "2019-08-24T14:15:22Z",
  "fulfilledAt": "2019-08-24T14:15:22Z",
  "lineItems": [
    {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "itemType": "string",
      "referenceId": "8502eb05-558d-4480-8511-c1011710b340",
      "itemName": "string",
      "seatLabel": null,
      "quantity": 0,
      "unitPrice": 0.1,
      "lineTotal": 0.1,
      "currency": "string",
      "fulfilledCount": 0
    }
  ]
}
{
  "code": "string",
  "message": "string"
}
{
  "code": "string",
  "message": "string"
}