List credited orders for a rep
Lists orders credited to the rep, newest first. Filter with start_date, end_date, status, customer_id, subscription_id, search_query, within_days, unfulfilled, unpaid, type, cart_source, country_isos, or metadata. Uses offset pagination with page and per_page (default 10). meta also carries order statistics for the filtered set (average and total CV, average and total amount in base currency, fulfilled order count); when the set is larger than 10,000 orders the statistics are skipped unless force_stats=true. Requires a company admin-tier Bearer token with orders view permission.
curl --request GET \
--url https://api.fluid.app/api/v2025-06/reps/{rep_id}/credited_orders \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.fluid.app/api/v2025-06/reps/{rep_id}/credited_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.fluid.app/api/v2025-06/reps/{rep_id}/credited_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.fluid.app/api/v2025-06/reps/{rep_id}/credited_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.fluid.app/api/v2025-06/reps/{rep_id}/credited_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.fluid.app/api/v2025-06/reps/{rep_id}/credited_orders")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fluid.app/api/v2025-06/reps/{rep_id}/credited_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{
"orders": [
{
"id": 730512,
"first_name": "Holly",
"last_name": "Flax",
"email": "holly.flax@dundermifflin.com",
"order_number": "DM104827",
"status": "shipped",
"amount": "54.99",
"amount_in_base": "54.99",
"base_to_currency_rate": "1.0",
"currency_code": "USD",
"created_at": "2026-09-08T16:21:09Z",
"updated_at": "2026-09-10T08:14:52Z",
"order_status": "completed",
"fulfillment_status": "fulfilled",
"financial_status": "paid",
"currency_symbol": "$",
"items_count": 1,
"quantity_count": 1,
"order_on_behalf_of": false,
"sale_date": "2026-09-08T16:21:09Z",
"total_display_amount": "$54.99",
"total_cv": "38.5",
"total_qv": "38.5",
"customer": {
"id": 90522,
"full_name": "Holly Flax",
"email": "holly.flax@dundermifflin.com",
"external_id": "CUST-2291",
"orders_count": 4,
"active_subscriptions_count": 1,
"inactive_subscriptions_count": 0
},
"first_item": {
"title": "Dunder Mifflin 20lb Copy Paper",
"image_url": "https://cdn.fluid.app/dunder-mifflin/products/20lb-copy-paper.jpg"
}
}
],
"meta": {
"request_id": "2b5e8c1f-7d3a-4096-8e42-c1f9a6d3b750",
"timestamp": "2026-09-15T14:40:22Z",
"pagination": {
"current_page": 1,
"total_pages": 1,
"total_count": 1,
"per_page": 10
},
"average_cv": "38.5",
"total_cv": "38.5",
"average_amount_base": 54.99,
"total_amount_base": 54.99,
"fulfilled_orders_count": 1
}
}{
"message": "<string>",
"error_message": "<string>",
"errors": "<string>",
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"pagination": {
"cursor": "<string>",
"limit": 123,
"prev_cursor": "<string>",
"next_cursor": "<string>",
"total_count": 123
}
}
}{
"error_message": "<string>",
"errors": "<string>",
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"pagination": {
"cursor": "<string>",
"limit": 123,
"prev_cursor": "<string>",
"next_cursor": "<string>",
"total_count": 123
}
}
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Query Parameters
Page number (offset pagination, starting at 1).
x >= 1Orders per page. Defaults to 10.
Only orders on or after this date.
Only orders on or before this date.
Order status to filter by, or all.
Free-text search across the order and customer.
Calculate meta statistics even when the filtered set exceeds 10,000 orders.
curl --request GET \
--url https://api.fluid.app/api/v2025-06/reps/{rep_id}/credited_orders \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.fluid.app/api/v2025-06/reps/{rep_id}/credited_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.fluid.app/api/v2025-06/reps/{rep_id}/credited_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.fluid.app/api/v2025-06/reps/{rep_id}/credited_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.fluid.app/api/v2025-06/reps/{rep_id}/credited_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.fluid.app/api/v2025-06/reps/{rep_id}/credited_orders")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fluid.app/api/v2025-06/reps/{rep_id}/credited_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{
"orders": [
{
"id": 730512,
"first_name": "Holly",
"last_name": "Flax",
"email": "holly.flax@dundermifflin.com",
"order_number": "DM104827",
"status": "shipped",
"amount": "54.99",
"amount_in_base": "54.99",
"base_to_currency_rate": "1.0",
"currency_code": "USD",
"created_at": "2026-09-08T16:21:09Z",
"updated_at": "2026-09-10T08:14:52Z",
"order_status": "completed",
"fulfillment_status": "fulfilled",
"financial_status": "paid",
"currency_symbol": "$",
"items_count": 1,
"quantity_count": 1,
"order_on_behalf_of": false,
"sale_date": "2026-09-08T16:21:09Z",
"total_display_amount": "$54.99",
"total_cv": "38.5",
"total_qv": "38.5",
"customer": {
"id": 90522,
"full_name": "Holly Flax",
"email": "holly.flax@dundermifflin.com",
"external_id": "CUST-2291",
"orders_count": 4,
"active_subscriptions_count": 1,
"inactive_subscriptions_count": 0
},
"first_item": {
"title": "Dunder Mifflin 20lb Copy Paper",
"image_url": "https://cdn.fluid.app/dunder-mifflin/products/20lb-copy-paper.jpg"
}
}
],
"meta": {
"request_id": "2b5e8c1f-7d3a-4096-8e42-c1f9a6d3b750",
"timestamp": "2026-09-15T14:40:22Z",
"pagination": {
"current_page": 1,
"total_pages": 1,
"total_count": 1,
"per_page": 10
},
"average_cv": "38.5",
"total_cv": "38.5",
"average_amount_base": 54.99,
"total_amount_base": 54.99,
"fulfilled_orders_count": 1
}
}{
"message": "<string>",
"error_message": "<string>",
"errors": "<string>",
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"pagination": {
"cursor": "<string>",
"limit": 123,
"prev_cursor": "<string>",
"next_cursor": "<string>",
"total_count": 123
}
}
}{
"error_message": "<string>",
"errors": "<string>",
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"pagination": {
"cursor": "<string>",
"limit": 123,
"prev_cursor": "<string>",
"next_cursor": "<string>",
"total_count": 123
}
}
}