curl --request GET \
--url https://api-v2.riqra.com/public/v1/orders \
--header 'Authorization: Bearer <token>'import requests
url = "https://api-v2.riqra.com/public/v1/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-v2.riqra.com/public/v1/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-v2.riqra.com/public/v1/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-v2.riqra.com/public/v1/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-v2.riqra.com/public/v1/orders")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-v2.riqra.com/public/v1/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>",
"code": "<string>",
"status": "PLACED",
"paymentStatus": "UNPAID",
"fulfillmentStatus": "UNFULFILLED",
"source": "STOREFRONT",
"createdAt": "2026-06-30T14:12:00Z",
"updatedAt": "2026-06-30T14:12:00Z",
"placedAt": "2026-06-30T14:12:00Z",
"cancelledAt": "2026-06-30T14:12:00Z",
"placedAsGuest": true,
"comment": "<string>",
"currencyCode": "USD",
"subtotal": "1234.56",
"taxTotal": "1234.56",
"taxLines": [
{
"name": "<string>",
"code": "<string>",
"ratePercent": "19.00",
"base": "1234.56",
"amount": "1234.56"
}
],
"shippingTotal": "1234.56",
"shippingTaxTotal": "1234.56",
"discountTotal": "1234.56",
"total": "1234.56",
"priceList": {
"id": "<string>",
"name": "<string>"
},
"location": {
"id": "<string>",
"name": "<string>"
},
"shippingMethod": {
"id": "<string>",
"type": "DELIVERY",
"label": "<string>"
},
"buyer": {
"firstName": "<string>",
"lastName": "<string>",
"email": "<string>",
"phone": "<string>",
"code": "<string>",
"customerId": "<string>",
"documentType": "<string>",
"documentNumber": "<string>"
},
"billing": {
"documentType": "<string>",
"documentNumber": "<string>",
"legalName": "<string>",
"businessActivity": "<string>",
"geoDivisionId": "<string>",
"geoDivisionName": "<string>",
"geoDivisionCode": "<string>",
"geoDivisionDisplayPath": "<string>",
"addressLine": "<string>"
},
"shippingAddress": {
"addressLine1": "<string>",
"addressLine2": "<string>",
"geoLevel1": {
"name": "Miraflores",
"code": "150122"
},
"geoLevel2": {
"name": "Miraflores",
"code": "150122"
},
"geoLevel3": {
"name": "Miraflores",
"code": "150122"
},
"geoLevel4": {
"name": "Miraflores",
"code": "150122"
},
"coordinates": {
"latitude": -12.046374,
"longitude": -77.042793
},
"recipientName": "<string>",
"recipientPhone": "<string>",
"instructions": "<string>",
"customerAddressId": "<string>"
},
"payment": {
"methodKind": "MANUAL",
"methodName": "<string>",
"paidVia": "CARD",
"installments": 12,
"installmentsInterest": "WITH_INTEREST",
"reference": "<string>",
"paidAt": "2026-06-30T14:12:00Z",
"amountPaid": "1234.56"
},
"cancellation": {
"reason": "<string>",
"note": "<string>",
"byMemberId": "<string>",
"byName": "<string>"
},
"fulfillments": [
{
"carrier": "<string>",
"trackingNumber": "<string>",
"trackingUrl": "<string>",
"preparingAt": "2026-06-30T14:12:00Z",
"fulfilledAt": "2026-06-30T14:12:00Z",
"deliveredAt": "2026-06-30T14:12:00Z"
}
],
"invoiceStatus": "NOT_INVOICED",
"invoices": [
{
"id": "<string>",
"number": "<string>",
"issuedAt": "2026-06-30T14:12:00Z",
"registeredAt": "2026-06-30T14:12:00Z"
}
],
"promotions": [
{
"id": "<string>",
"code": "<string>",
"title": "<string>",
"class": "GOODS",
"amount": "1234.56"
}
],
"items": [
{
"id": "<string>",
"variantId": "<string>",
"variantSku": "<string>",
"productId": "<string>",
"productName": "<string>",
"productImageUrl": "<string>",
"quantity": 2,
"price": "1234.56",
"listPrice": "1234.56",
"discountTotal": "1234.56",
"discountAllocations": [
{
"promotionId": "<string>",
"amount": "1234.56"
}
],
"taxName": "<string>",
"taxCode": "<string>",
"taxRatePercent": "18.00",
"subtotal": "1234.56",
"taxTotal": "1234.56",
"total": "1234.56",
"components": [
{
"id": "<string>",
"variantId": "<string>",
"variantSku": "<string>",
"productId": "<string>",
"productName": "<string>",
"quantityPerBundle": 3
}
]
}
],
"transactions": [
{
"id": "<string>",
"kind": "AUTHORIZATION",
"status": "PENDING",
"amount": "1234.56",
"provider": "OPENPAY",
"gatewayTransactionId": "<string>",
"cardBrand": "<string>",
"cardLast4": "<string>",
"cardType": "CREDIT",
"installments": 12,
"installmentsInterest": "WITH_INTEREST",
"authorizationCode": "<string>",
"gatewayResultCode": "<string>",
"errorCode": "<string>",
"test": true,
"processedAt": "2026-06-30T14:12:00Z",
"createdAt": "2026-06-30T14:12:00Z"
}
]
}
],
"hasMore": true,
"nextCursor": "<string>"
}{
"error": {
"code": "<string>",
"message": "<string>",
"requestId": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"requestId": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"requestId": "<string>"
}
}List orders
Cursor-paginated orders for the authenticated organization, newest first by default. Filter by status, payment status, fulfillment status, invoice status, source, customer, display code, and created/updated ranges; sort by createdAt or updatedAt for incremental sync. Requires the orders:read scope.
curl --request GET \
--url https://api-v2.riqra.com/public/v1/orders \
--header 'Authorization: Bearer <token>'import requests
url = "https://api-v2.riqra.com/public/v1/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-v2.riqra.com/public/v1/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-v2.riqra.com/public/v1/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-v2.riqra.com/public/v1/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-v2.riqra.com/public/v1/orders")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-v2.riqra.com/public/v1/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>",
"code": "<string>",
"status": "PLACED",
"paymentStatus": "UNPAID",
"fulfillmentStatus": "UNFULFILLED",
"source": "STOREFRONT",
"createdAt": "2026-06-30T14:12:00Z",
"updatedAt": "2026-06-30T14:12:00Z",
"placedAt": "2026-06-30T14:12:00Z",
"cancelledAt": "2026-06-30T14:12:00Z",
"placedAsGuest": true,
"comment": "<string>",
"currencyCode": "USD",
"subtotal": "1234.56",
"taxTotal": "1234.56",
"taxLines": [
{
"name": "<string>",
"code": "<string>",
"ratePercent": "19.00",
"base": "1234.56",
"amount": "1234.56"
}
],
"shippingTotal": "1234.56",
"shippingTaxTotal": "1234.56",
"discountTotal": "1234.56",
"total": "1234.56",
"priceList": {
"id": "<string>",
"name": "<string>"
},
"location": {
"id": "<string>",
"name": "<string>"
},
"shippingMethod": {
"id": "<string>",
"type": "DELIVERY",
"label": "<string>"
},
"buyer": {
"firstName": "<string>",
"lastName": "<string>",
"email": "<string>",
"phone": "<string>",
"code": "<string>",
"customerId": "<string>",
"documentType": "<string>",
"documentNumber": "<string>"
},
"billing": {
"documentType": "<string>",
"documentNumber": "<string>",
"legalName": "<string>",
"businessActivity": "<string>",
"geoDivisionId": "<string>",
"geoDivisionName": "<string>",
"geoDivisionCode": "<string>",
"geoDivisionDisplayPath": "<string>",
"addressLine": "<string>"
},
"shippingAddress": {
"addressLine1": "<string>",
"addressLine2": "<string>",
"geoLevel1": {
"name": "Miraflores",
"code": "150122"
},
"geoLevel2": {
"name": "Miraflores",
"code": "150122"
},
"geoLevel3": {
"name": "Miraflores",
"code": "150122"
},
"geoLevel4": {
"name": "Miraflores",
"code": "150122"
},
"coordinates": {
"latitude": -12.046374,
"longitude": -77.042793
},
"recipientName": "<string>",
"recipientPhone": "<string>",
"instructions": "<string>",
"customerAddressId": "<string>"
},
"payment": {
"methodKind": "MANUAL",
"methodName": "<string>",
"paidVia": "CARD",
"installments": 12,
"installmentsInterest": "WITH_INTEREST",
"reference": "<string>",
"paidAt": "2026-06-30T14:12:00Z",
"amountPaid": "1234.56"
},
"cancellation": {
"reason": "<string>",
"note": "<string>",
"byMemberId": "<string>",
"byName": "<string>"
},
"fulfillments": [
{
"carrier": "<string>",
"trackingNumber": "<string>",
"trackingUrl": "<string>",
"preparingAt": "2026-06-30T14:12:00Z",
"fulfilledAt": "2026-06-30T14:12:00Z",
"deliveredAt": "2026-06-30T14:12:00Z"
}
],
"invoiceStatus": "NOT_INVOICED",
"invoices": [
{
"id": "<string>",
"number": "<string>",
"issuedAt": "2026-06-30T14:12:00Z",
"registeredAt": "2026-06-30T14:12:00Z"
}
],
"promotions": [
{
"id": "<string>",
"code": "<string>",
"title": "<string>",
"class": "GOODS",
"amount": "1234.56"
}
],
"items": [
{
"id": "<string>",
"variantId": "<string>",
"variantSku": "<string>",
"productId": "<string>",
"productName": "<string>",
"productImageUrl": "<string>",
"quantity": 2,
"price": "1234.56",
"listPrice": "1234.56",
"discountTotal": "1234.56",
"discountAllocations": [
{
"promotionId": "<string>",
"amount": "1234.56"
}
],
"taxName": "<string>",
"taxCode": "<string>",
"taxRatePercent": "18.00",
"subtotal": "1234.56",
"taxTotal": "1234.56",
"total": "1234.56",
"components": [
{
"id": "<string>",
"variantId": "<string>",
"variantSku": "<string>",
"productId": "<string>",
"productName": "<string>",
"quantityPerBundle": 3
}
]
}
],
"transactions": [
{
"id": "<string>",
"kind": "AUTHORIZATION",
"status": "PENDING",
"amount": "1234.56",
"provider": "OPENPAY",
"gatewayTransactionId": "<string>",
"cardBrand": "<string>",
"cardLast4": "<string>",
"cardType": "CREDIT",
"installments": 12,
"installmentsInterest": "WITH_INTEREST",
"authorizationCode": "<string>",
"gatewayResultCode": "<string>",
"errorCode": "<string>",
"test": true,
"processedAt": "2026-06-30T14:12:00Z",
"createdAt": "2026-06-30T14:12:00Z"
}
]
}
],
"hasMore": true,
"nextCursor": "<string>"
}{
"error": {
"code": "<string>",
"message": "<string>",
"requestId": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"requestId": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"requestId": "<string>"
}
}Autorizaciones
Public API key presented as Authorization: Bearer rq_live_….
Parámetros de consulta
Max items to return, 1–100. Defaults to 20.
x <= 10020
Cursor from the previous page's nextCursor. Omit for the first page.
Filter by order status.
PLACED, CANCELLED Filter by payment status.
UNPAID, PARTIALLY_PAID, PAID, PENDING, ERROR Filter by fulfillment status.
UNFULFILLED, IN_PROGRESS, FULFILLED, DELIVERED Filter by invoicing state. NOT_INVOICED is the queue of orders still needing a fiscal document.
NOT_INVOICED, INVOICED Filter by the channel the order came from.
STOREFRONT, PURCHASE_ORDER, MIGRATION Filter to one customer (UUID), matching buyer.customerId. Guest checkouts are included — they are linked to a customer record too.
Filter by display code (exact match).
1"#1042"
Only orders created at or after this instant (ISO-8601 with timezone).
Only orders created before this instant (ISO-8601 with timezone).
Only orders updated at or after this instant. Pair with sort=updatedAt for incremental sync.
Only orders updated before this instant (ISO-8601 with timezone).
Field to sort by. Use updatedAt for incremental sync.
createdAt, updatedAt Sort direction.
asc, desc