Skip to main content
GET
/
v1
/
transactions
List transactions
curl --request GET \
  --url https://clientapi.retailgrid.io/v1/transactions
import requests

url = "https://clientapi.retailgrid.io/v1/transactions"

response = requests.get(url)

print(response.text)
const options = {method: 'GET'};

fetch('https://clientapi.retailgrid.io/v1/transactions', 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://clientapi.retailgrid.io/v1/transactions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);

$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://clientapi.retailgrid.io/v1/transactions"

req, _ := http.NewRequest("GET", url, nil)

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.get("https://clientapi.retailgrid.io/v1/transactions")
.asString();
require 'uri'
require 'net/http'

url = URI("https://clientapi.retailgrid.io/v1/transactions")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
Returns sales transactions visible to your API key. Pair with List products to assemble a catalog-plus-sales view in your warehouse without going through the in-app CSV export flow.

Authentication

Bearer token. See Authentication.

Query parameters

NameTypeRequiredDescription
limitintegerNoPage size, default 1000, max 10000.
cursorstringNoOpaque pagination cursor returned by a previous response.
from_datestring (ISO-8601, UTC)NoEarliest transaction timestamp to include.
to_datestring (ISO-8601, UTC)NoLatest transaction timestamp to include.
product_idstringNoFilter to a single product.
store_idstringNoFilter to a single store.
updated_afterstring (ISO-8601, UTC)NoOnly return transactions updated at or after this timestamp - useful for incremental sync.

Response

{
  "data": [
    {
      "transaction_id": "txn_01HX9R5M",
      "product_id": "SKU-12345",
      "store_id": "STORE-007",
      "timestamp": "2026-05-21T16:42:09Z",
      "quantity": "2",
      "price": "1.49",
      "revenue": "2.98",
      "currency": "EUR",
      "is_promo": false,
      "updated_at": "2026-05-21T16:42:09Z"
    }
  ],
  "next_cursor": "eyJvZmZzZXQiOjEwMDB9"
}
Numeric values are returned as strings - see Conventions.

Incremental pulls

For downstream sync jobs, store the highest updated_at you’ve seen and pass it as updated_after on the next run. This is more efficient than re-reading the full window and lets you catch late-arriving corrections to existing transactions.

Large windows

For wide date ranges across high-volume accounts, narrow the window with from_date / to_date and page with limit=10000. Pulling many months in a single call is supported but slow and more likely to hit a retry.

Example request

curl -s "https://clientapi.retailgrid.io/v1/transactions?from_date=2026-05-01T00:00:00Z&to_date=2026-05-22T00:00:00Z&limit=10000" \
  -H "Authorization: Bearer rg_live_xxx"