Members
Read a member's commerce profile by legacy customer id
Resolves the member by its legacy bigint customer id, within the caller’s company, and returns the same body as the member-id route. Points show a fraction only to a caller with the points.view permission. Requires a company admin token with the members view permission; a droplet token also needs it on its attached role. Not enabled unless the deployment turns the member-native gap routes on.
GET
/
api
/
v2025-06
/
members
/
commerce-profile
Read a member's commerce profile by legacy customer id
curl --request GET \
--url https://api.fluid.app/api/v2025-06/members/commerce-profile \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.fluid.app/api/v2025-06/members/commerce-profile"
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/members/commerce-profile', 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/members/commerce-profile",
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/members/commerce-profile"
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/members/commerce-profile")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fluid.app/api/v2025-06/members/commerce-profile")
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{
"commerce_profile": {
"id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
"member_id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
"legacy_customer_id": 4821907,
"legacy_user_company_id": 5510236,
"account_id": null,
"external_id": "DM-10442",
"first_name": "Holly",
"last_name": "Flax",
"full_name": "Holly Flax",
"email": "holly.flax@dundermifflin.com",
"phone": "+15705550142",
"created_at": "2026-03-14T16:20:41.512Z",
"is_discarded": false,
"active": true,
"is_rep": false,
"role": "customer",
"member_type_slug": "customer",
"username": "hollyflax",
"rank": null,
"language_code": "en",
"pending_email_change": null,
"default_address": {
"id": 88120431,
"uuid": "0192a3c5-1b2c-7d3e-8f40-516273849abc",
"address1": "1725 Slough Avenue",
"address2": "Suite 200",
"address3": null,
"city": "Scranton",
"state": "PA",
"postal_code": "18503",
"country_code": "US",
"country_id": 233,
"subdivision_code": "PA",
"name": "Holly Flax",
"first_name": "Holly",
"last_name": "Flax",
"phone": "+15705550142",
"default": true
},
"addresses": [
{
"id": 88120431,
"uuid": "0192a3c5-1b2c-7d3e-8f40-516273849abc",
"address1": "1725 Slough Avenue",
"address2": "Suite 200",
"address3": null,
"city": "Scranton",
"state": "PA",
"postal_code": "18503",
"country_code": "US",
"country_id": 233,
"subdivision_code": "PA",
"name": "Holly Flax",
"first_name": "Holly",
"last_name": "Flax",
"phone": "+15705550142",
"default": true
}
],
"fluid_pay_default_address_id": null,
"orders_count": 7,
"total_spent": 412.5,
"last_order_id": 9912034,
"first_order_at": "2026-03-20T14:05:12.000Z",
"first_subscription_order_at": null,
"tax_exempt": false,
"sales_tax_id": null,
"entity_use_code": null,
"email_marketing": true,
"sms_marketing": false,
"notes": "Prefers morning delivery.",
"customer_notes": [
{
"id": 3310,
"note": "Called about a late shipment.",
"created_at": "2026-04-02T13:11:09.000Z"
}
],
"active_subscriptions_count": 1,
"inactive_subscriptions_count": 0,
"metafields": [
{
"id": 7741,
"namespace": "profile",
"key": "favorite_flavor",
"value": "vanilla",
"value_type": "single_line_text_field"
}
],
"attributable_rep": {
"id": 5510001,
"member_id": "0192a3c4-1111-7f80-9a1b-2c3d4e5f6a7b",
"first_name": "Jim",
"last_name": "Halpert"
},
"sponsor": null,
"points": 1865,
"points_decimal": "1865.0000",
"agreement_acceptances": [
{
"id": 301,
"acceptance_method": "customer",
"accepted_at": "2026-03-14T16:25:00.000Z"
}
]
},
"status": 200,
"meta": {
"request_id": "3d9f2b7e-61c4-4a85-9e0b-7f1a2c8d5e63",
"timestamp": "2026-11-30T15:00:00Z"
}
}{
"message": "<string>",
"error_message": "<string>",
"errors": "<string>",
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"message": "<string>",
"error": "<string>",
"error_message": "<string>",
"errors": "<string>",
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"message": "<string>",
"error": "<string>",
"error_message": "<string>",
"errors": "<string>",
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"message": "<string>",
"error": "<string>",
"error_message": "<string>",
"errors": "<string>",
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}
}Authorizations
Query Parameters
⌘I
Read a member's commerce profile by legacy customer id
curl --request GET \
--url https://api.fluid.app/api/v2025-06/members/commerce-profile \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.fluid.app/api/v2025-06/members/commerce-profile"
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/members/commerce-profile', 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/members/commerce-profile",
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/members/commerce-profile"
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/members/commerce-profile")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fluid.app/api/v2025-06/members/commerce-profile")
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{
"commerce_profile": {
"id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
"member_id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
"legacy_customer_id": 4821907,
"legacy_user_company_id": 5510236,
"account_id": null,
"external_id": "DM-10442",
"first_name": "Holly",
"last_name": "Flax",
"full_name": "Holly Flax",
"email": "holly.flax@dundermifflin.com",
"phone": "+15705550142",
"created_at": "2026-03-14T16:20:41.512Z",
"is_discarded": false,
"active": true,
"is_rep": false,
"role": "customer",
"member_type_slug": "customer",
"username": "hollyflax",
"rank": null,
"language_code": "en",
"pending_email_change": null,
"default_address": {
"id": 88120431,
"uuid": "0192a3c5-1b2c-7d3e-8f40-516273849abc",
"address1": "1725 Slough Avenue",
"address2": "Suite 200",
"address3": null,
"city": "Scranton",
"state": "PA",
"postal_code": "18503",
"country_code": "US",
"country_id": 233,
"subdivision_code": "PA",
"name": "Holly Flax",
"first_name": "Holly",
"last_name": "Flax",
"phone": "+15705550142",
"default": true
},
"addresses": [
{
"id": 88120431,
"uuid": "0192a3c5-1b2c-7d3e-8f40-516273849abc",
"address1": "1725 Slough Avenue",
"address2": "Suite 200",
"address3": null,
"city": "Scranton",
"state": "PA",
"postal_code": "18503",
"country_code": "US",
"country_id": 233,
"subdivision_code": "PA",
"name": "Holly Flax",
"first_name": "Holly",
"last_name": "Flax",
"phone": "+15705550142",
"default": true
}
],
"fluid_pay_default_address_id": null,
"orders_count": 7,
"total_spent": 412.5,
"last_order_id": 9912034,
"first_order_at": "2026-03-20T14:05:12.000Z",
"first_subscription_order_at": null,
"tax_exempt": false,
"sales_tax_id": null,
"entity_use_code": null,
"email_marketing": true,
"sms_marketing": false,
"notes": "Prefers morning delivery.",
"customer_notes": [
{
"id": 3310,
"note": "Called about a late shipment.",
"created_at": "2026-04-02T13:11:09.000Z"
}
],
"active_subscriptions_count": 1,
"inactive_subscriptions_count": 0,
"metafields": [
{
"id": 7741,
"namespace": "profile",
"key": "favorite_flavor",
"value": "vanilla",
"value_type": "single_line_text_field"
}
],
"attributable_rep": {
"id": 5510001,
"member_id": "0192a3c4-1111-7f80-9a1b-2c3d4e5f6a7b",
"first_name": "Jim",
"last_name": "Halpert"
},
"sponsor": null,
"points": 1865,
"points_decimal": "1865.0000",
"agreement_acceptances": [
{
"id": 301,
"acceptance_method": "customer",
"accepted_at": "2026-03-14T16:25:00.000Z"
}
]
},
"status": 200,
"meta": {
"request_id": "3d9f2b7e-61c4-4a85-9e0b-7f1a2c8d5e63",
"timestamp": "2026-11-30T15:00:00Z"
}
}{
"message": "<string>",
"error_message": "<string>",
"errors": "<string>",
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"message": "<string>",
"error": "<string>",
"error_message": "<string>",
"errors": "<string>",
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"message": "<string>",
"error": "<string>",
"error_message": "<string>",
"errors": "<string>",
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"message": "<string>",
"error": "<string>",
"error_message": "<string>",
"errors": "<string>",
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}
}