Skip to main content
GET
/
api
/
v1
/
orders
List Orders
curl --request GET \
  --url https://api.example.com/api/v1/orders \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "<string>",
    "pump_id": 123,
    "client_bill_choice": "<string>",
    "date": "2023-11-07T05:31:56Z",
    "amount": "<string>",
    "quantity": "<string>",
    "ppu": "<string>",
    "status": "<string>",
    "created_at": "2023-11-07T05:31:56Z",
    "user_id": "<string>",
    "client_tax_id": "<string>",
    "client_email": "<string>",
    "updated_at": "2023-11-07T05:31:56Z"
  }
]

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Query Parameters

pump_id
integer | null

Response

Successful Response

id
string
required
pump_id
integer
required
client_bill_choice
string
required
date
string<date-time>
required
amount
string
required
quantity
string
required
ppu
string
required
status
string
required
created_at
string<date-time>
required
user_id
string | null
client_tax_id
string | null
client_email
string | null
updated_at
string<date-time> | null