ApiOrders
List current user's orders
Authorization
Bearer AuthorizationBearer <token>
Enter your bearer token from the Pylon Auth API.
In: header
Query Parameters
page?integer
Default
1Format
int32pageSize?integer
Default
20Format
int32sort?string
q?string
status?unknown
Value in
"Pending" | "Confirmed" | "Cancelled" | "Refunded" | nullissuedOnly?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
}