curl --request GET \
--url https://api.artisn.desarrollo-redbrand.com/api/admin/orders \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.artisn.desarrollo-redbrand.com/api/admin/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.artisn.desarrollo-redbrand.com/api/admin/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.artisn.desarrollo-redbrand.com/api/admin/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.artisn.desarrollo-redbrand.com/api/admin/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.artisn.desarrollo-redbrand.com/api/admin/orders")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.artisn.desarrollo-redbrand.com/api/admin/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{
"items": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"orderId": "<string>",
"status": "<string>",
"payload": {},
"enrichedPayload": {},
"webhookAttempts": 123,
"storeId": "<string>",
"source": "<string>",
"webhookLastResponse": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"total": 1,
"page": 2,
"pageSize": 2,
"totalPages": 1
}{
"message": "<string>",
"error": "<string>"
}{
"message": "<string>",
"error": "<string>"
}{
"message": "<string>",
"error": "<string>"
}Listar órdenes persistidas (paginado)
Orden por created_at descendente. Filtros opcionales por tienda, origen, estado, texto en order_id,
rango de fechas de creación e intentos de webhook.
curl --request GET \
--url https://api.artisn.desarrollo-redbrand.com/api/admin/orders \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.artisn.desarrollo-redbrand.com/api/admin/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.artisn.desarrollo-redbrand.com/api/admin/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.artisn.desarrollo-redbrand.com/api/admin/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.artisn.desarrollo-redbrand.com/api/admin/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.artisn.desarrollo-redbrand.com/api/admin/orders")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.artisn.desarrollo-redbrand.com/api/admin/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{
"items": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"orderId": "<string>",
"status": "<string>",
"payload": {},
"enrichedPayload": {},
"webhookAttempts": 123,
"storeId": "<string>",
"source": "<string>",
"webhookLastResponse": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"total": 1,
"page": 2,
"pageSize": 2,
"totalPages": 1
}{
"message": "<string>",
"error": "<string>"
}{
"message": "<string>",
"error": "<string>"
}{
"message": "<string>",
"error": "<string>"
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Página (base 1).
x >= 1Tamaño de página (máximo 100).
1 <= x <= 100Filtrar por store_id.
Filtrar por origen (ej. pos).
Filtrar por estado (ej. ENRICHED).
Subcadena en order_id (búsqueda case-insensitive; % y _ literales escapados).
Inclusive: filtra created_at >= este instante. Usar ISO 8601 con zona explícita
(ej. 2025-06-15T00:00:00.000Z) para evitar ambigüedad local vs UTC.
Si se envían createdFrom y createdTo, debe cumplirse createdFrom <= createdTo (si no, 400).
Inclusive: filtra created_at <= este instante. Un día calendario completo suele requerir
el fin del día en UTC (ej. 2025-06-15T23:59:59.999Z), no solo T00:00:00, para no excluir
órdenes creadas después de medianoche ese día. Misma regla de orden que createdFrom.
Mínimo de webhook_attempts.
x >= 0Máximo de webhook_attempts.
x >= 0Response
Página de resultados
Show child attributes
Show child attributes
Total de filas que cumplen los filtros (sin paginar).
x >= 0x >= 1x >= 1Número de páginas; 0 si no hay resultados.
x >= 0
