Read provider order totals
How many orders the provider (the commission engine) holds for a window and what they add up to per currency, as the integration service reads them from the provider, next to Fluid’s own count for the same window under fluid.
The provider dates each record by its own order date, while Fluid stamps an imported record when it reached Fluid, so the two counts can differ near the window’s edges. To find the records that really differ, read the reconciliation. Amounts are integer minor units per currency, never converted.
The window defaults to the hour ending 30 minutes ago and spans at most 31 days. A platform the integration service cannot read totals from yet answers 501 provider_totals_unsupported, and an entity the integration’s sync settings turn off answers 409 entity_not_synced.
Needs droplets.view and orders.view.
curl --request GET \
--url https://api.fluid.app/api/company/v2026-10/connect/integrations/{uuid}/provider/orders/totals \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.fluid.app/api/company/v2026-10/connect/integrations/{uuid}/provider/orders/totals"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.fluid.app/api/company/v2026-10/connect/integrations/{uuid}/provider/orders/totals', 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.fluid.app/api/company/v2026-10/connect/integrations/{uuid}/provider/orders/totals",
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.fluid.app/api/company/v2026-10/connect/integrations/{uuid}/provider/orders/totals"
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.fluid.app/api/company/v2026-10/connect/integrations/{uuid}/provider/orders/totals")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fluid.app/api/company/v2026-10/connect/integrations/{uuid}/provider/orders/totals")
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{
"provider_totals": {
"entity": "orders",
"since": "2026-10-24T13:00:00Z",
"until": "2026-10-24T14:00:00Z",
"count": 152,
"amounts": [
{
"currency": "USD",
"sum_cents": 1843250
}
],
"fluid": {
"count": 149,
"linked": 147,
"amounts": [
{
"currency": "USD",
"sum_cents": 1801990
}
]
},
"computed_at": "2026-10-24T14:31:02Z"
},
"status": 200,
"meta": {
"request_id": "7e2c9b41-3f8a-4d15-b6e0-9a4c21d7f583",
"timestamp": "2026-10-24T15:32:08Z"
}
}Authorizations
A company admin credential for your company. Droplet installation tokens are refused.
Path Parameters
The integration's droplet uuid, from uuid in the list.
Query Parameters
When the window opens, ISO 8601, inclusive. Defaults to one hour before until.
When the window closes, ISO 8601, exclusive. Defaults to 30 minutes ago.
Response
The provider's and Fluid's order totals.
curl --request GET \
--url https://api.fluid.app/api/company/v2026-10/connect/integrations/{uuid}/provider/orders/totals \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.fluid.app/api/company/v2026-10/connect/integrations/{uuid}/provider/orders/totals"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.fluid.app/api/company/v2026-10/connect/integrations/{uuid}/provider/orders/totals', 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.fluid.app/api/company/v2026-10/connect/integrations/{uuid}/provider/orders/totals",
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.fluid.app/api/company/v2026-10/connect/integrations/{uuid}/provider/orders/totals"
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.fluid.app/api/company/v2026-10/connect/integrations/{uuid}/provider/orders/totals")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fluid.app/api/company/v2026-10/connect/integrations/{uuid}/provider/orders/totals")
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{
"provider_totals": {
"entity": "orders",
"since": "2026-10-24T13:00:00Z",
"until": "2026-10-24T14:00:00Z",
"count": 152,
"amounts": [
{
"currency": "USD",
"sum_cents": 1843250
}
],
"fluid": {
"count": 149,
"linked": 147,
"amounts": [
{
"currency": "USD",
"sum_cents": 1801990
}
]
},
"computed_at": "2026-10-24T14:31:02Z"
},
"status": 200,
"meta": {
"request_id": "7e2c9b41-3f8a-4d15-b6e0-9a4c21d7f583",
"timestamp": "2026-10-24T15:32:08Z"
}
}