Parrot External API
  1. Endpoints
Parrot External API
  • Home
  • Changelog
  • Authentication and Usage
  • Endpoints
    • Inventory Management
      • List Suppliers
      • List Supplies
    • List All Stores
      GET
    • List Order Items
      GET
    • List Order Payments
      GET
    • List Orders
      GET
    • List Cashier Sessions
      GET
    • List Store Users
      GET
    • List Order Invoices
      GET
  1. Endpoints

List Order Invoices

Testing
GET
/v1/order-invoices
This endpoint retrieves order invoices (facturas) by a given time range. NOTE, this will only include order invoices that users generated via Parrot's invoicing portal.
Note: startTimestamp and endTimestamp must be at most 48 hours apart.

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Query Params
startTimestamp
string 
required
Example:
2024-03-27T19:00:00-06:00
endTimestamp
string 
required
Example:
2024-03-28T19:00:00-06:00
pageSize
integer 
optional
Example:
100
page
string 
optional
Example:
0
storeUUID
array[string]
optional
Example:
["a2f09385-7f1b-436c-9baa-bb9cf1174c25","206b8416-c3c8-4053-9bdf-a11f3ddd7da1"]

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/v1/order-invoices?startTimestamp=2024-03-27T19:00:00-06:00&endTimestamp=2024-03-28T19:00:00-06:00&pageSize=100&page=0&storeUUID=a2f09385-7f1b-436c-9baa-bb9cf1174c25&storeUUID=206b8416-c3c8-4053-9bdf-a11f3ddd7da1'

Responses

🟢200OK
application/json
Body
pagination
object 
required
next
null 
required
previous
null 
required
count
integer 
required
current
integer 
required
pageSize
integer 
required
data
array [object {7}] 
required
uuid
string 
required
orderUuid
string 
required
createdAt
integer 
required
total
integer 
required
taxId
string 
required
name
string 
required
email
string 
required
datetime
string 
required
Example
{
  "pagination": {
    "next": null,
    "previous": null,
    "count": 1,
    "current": 0,
    "pageSize": 100
  },
  "data": [
    {
      "uuid": "d8d4fd9b-a70c-477f-aac5-9e6bc8d05aa6",
      "orderUuid": "04f7865e-7ed3-4c9f-b277-9fc8a24b132d",
      "createdAt": 1738620585,
      "total": 137,
      "taxId": "MMDG750726LF9",
      "name": "MAYRA MIRIAM MARTINEZ VILLARREAL",
      "email": "mayravillarreal@gmail.com"
    },
    {
      "uuid": "7a4b4e89-20b8-4a31-b080-f6c17790ca95",
      "orderUuid": "24feb928-8fbf-4a4d-a7bc-7f62c734493a",
      "createdAt": 1738710387,
      "total": 72,
      "taxId": "DDDL891817IZ9",
      "name": "LUIS DANIEL LEON MARTINEZ",
      "email": "luisdaniel@gmail.com"
    }
  ],
  "datetime": "2025-05-12T14:40:18-06:00"
}
Modified at 2025-05-13 22:05:54
Previous
List Store Users
Built with