curl --request GET \
--url https://api.exowpee.com/v1/order/orders \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.exowpee.com/v1/order/orders"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.exowpee.com/v1/order/orders', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.exowpee.com/v1/order/orders",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.exowpee.com/v1/order/orders"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.exowpee.com/v1/order/orders")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.exowpee.com/v1/order/orders")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": [
{
"id": "<string>",
"number": 123,
"customer_id": "<string>",
"customer_name": "<string>",
"currency_code": "<string>",
"items_net_total": 123,
"items_tax_total": 123,
"items_gross_total": 123,
"discount": 123,
"charge": 123,
"order_tax_total": 123,
"total": 123,
"discount_applications": [
"<unknown>"
],
"status": "<string>",
"payment_status": "<string>",
"seller_id": "<string>",
"cash_register_id": "<string>",
"cashier_id": "<string>",
"confirmed_cashier_shift_id": "<string>",
"confirmed_cash_register_instance_id": "<string>",
"completed_at": "2023-11-07T05:31:56Z",
"cancelled_at": "2023-11-07T05:31:56Z",
"rejected_at": "2023-11-07T05:31:56Z",
"approved_by": "<string>",
"rejected_by": "<string>",
"approved_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"tax_lines": "<array>",
"items": "<array>",
"payments": "<array>",
"seller": {},
"cash_register": {},
"cashier": {},
"is_credit": true,
"credit_detail": {},
"rendered_html": "<string>"
}
],
"meta": {
"per_page": 123,
"next_cursor": "<string>",
"prev_cursor": "<string>"
}
}{
"message": "<string>",
"errors": {}
}List orders
Lists orders over a date range, filterable by status, seller, register and cashier. Users without the right to see all see only orders they sold or cashed.
curl --request GET \
--url https://api.exowpee.com/v1/order/orders \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.exowpee.com/v1/order/orders"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.exowpee.com/v1/order/orders', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.exowpee.com/v1/order/orders",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.exowpee.com/v1/order/orders"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.exowpee.com/v1/order/orders")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.exowpee.com/v1/order/orders")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": [
{
"id": "<string>",
"number": 123,
"customer_id": "<string>",
"customer_name": "<string>",
"currency_code": "<string>",
"items_net_total": 123,
"items_tax_total": 123,
"items_gross_total": 123,
"discount": 123,
"charge": 123,
"order_tax_total": 123,
"total": 123,
"discount_applications": [
"<unknown>"
],
"status": "<string>",
"payment_status": "<string>",
"seller_id": "<string>",
"cash_register_id": "<string>",
"cashier_id": "<string>",
"confirmed_cashier_shift_id": "<string>",
"confirmed_cash_register_instance_id": "<string>",
"completed_at": "2023-11-07T05:31:56Z",
"cancelled_at": "2023-11-07T05:31:56Z",
"rejected_at": "2023-11-07T05:31:56Z",
"approved_by": "<string>",
"rejected_by": "<string>",
"approved_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"tax_lines": "<array>",
"items": "<array>",
"payments": "<array>",
"seller": {},
"cash_register": {},
"cashier": {},
"is_credit": true,
"credit_detail": {},
"rendered_html": "<string>"
}
],
"meta": {
"per_page": 123,
"next_cursor": "<string>",
"prev_cursor": "<string>"
}
}{
"message": "<string>",
"errors": {}
}orders.list, orders.view.past, orders.filter.user
Conditions
- Without the orders.view.past permission the list is limited to today’s orders, whatever from_date and to_date are.
- Without the orders.filter.user permission the list only contains orders where the caller is the seller or the cashier, and seller_id, cash_register_id and cashier_id are ignored.
- from_date is required when to_date is sent, and to_date must not be before from_date.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
iso 8601 date_format (e.g., 2026-01-29T18:02:00)
End of the date range on the creation time, ISO 8601 (Y-m-d or Y-m-dTH:i:s); the whole day is included. Needs from_date. When from_date is sent without to_date, the range ends today. Ignored without the orders.view.past permission.
Keeps only orders with this status: pending, rejected, completed, cancelled, updating, awaiting_approval, approved or unapproved.
pending, rejected, completed, cancelled, updating, awaiting_approval, approved, unapproved Keeps only orders sold by the person with this id: the identifier of the agent account or user profile behind the seller, not the seller record id. Needs the orders.filter.user permission.
27Keeps only orders of this register (27-character identifier). Needs the orders.filter.user permission.
27Keeps only orders cashed by the person with this id: the identifier of the agent account or user profile behind the cashier, not the cashier record id. Needs the orders.filter.user permission.
27Position in the list. Pass the meta.next_cursor or meta.prev_cursor value of the previous page; leave it out to get the first page.
Number of items per page.
1 <= x <= 100Field the list is sorted by.
2 - 30asc for ascending order, desc for descending order.
asc, desc Response mode. Default resource; none answers 204 No Content.
resource Comma-separated JSON keys of the root resource (id is always rendered). Available: id, number, customer_id, customer_name, currency_code, items_net_total, items_tax_total, items_gross_total, discount, charge, order_tax_total, total, discount_applications, status, payment_status, seller_id, cash_register_id, cashier_id, confirmed_cashier_shift_id, confirmed_cash_register_instance_id, completed_at, cancelled_at, rejected_at, approved_by, rejected_by, approved_at, created_at, updated_at, is_credit, credit_detail, rendered_html.
Comma-separated include paths, each optionally followed by its fields in parentheses: units(id,sku),units.uomUnit(id,name). Max depth 6, max 40 paths. Available: items, items.taxLines, items.allocations, taxLines, payments, seller, cashRegister, cashier.