PPylon Developers
ApiOrders

List current user's orders

GET
/api/v1/orders
AuthorizationBearer <token>

Enter your bearer token from the Pylon Auth API.

In: header

Query Parameters

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

Response Body

application/json

application/problem+json

curl -X GET "https://loading/api/v1/orders"
{
  "data": [
    {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "confirmationNumber": null,
      "status": "string",
      "totalAmount": 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
}
{
  "status": 0,
  "title": "string",
  "code": "string",
  "args": {},
  "errors": null
}