Member API
Save an address
Saves an address to the member’s book. An identical saved address is
reused and returned with 200 instead of creating a duplicate; a new
one returns 201. Use POST /addresses/{id}/default to make it the
default. Requires a writable member credential.
POST
/
api
/
member
/
v2026-10
/
addresses
Save an address
curl --request POST \
--url https://api.fluid.app/api/member/v2026-10/addresses \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "Casey Brooks",
"address1": "742 Evergreen Terrace",
"city": "Springfield",
"state": "IL",
"postal_code": "62704",
"country_code": "US"
}
'import requests
url = "https://api.fluid.app/api/member/v2026-10/addresses"
payload = {
"name": "Casey Brooks",
"address1": "742 Evergreen Terrace",
"city": "Springfield",
"state": "IL",
"postal_code": "62704",
"country_code": "US"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: 'Casey Brooks',
address1: '742 Evergreen Terrace',
city: 'Springfield',
state: 'IL',
postal_code: '62704',
country_code: 'US'
})
};
fetch('https://api.fluid.app/api/member/v2026-10/addresses', 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/member/v2026-10/addresses",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'name' => 'Casey Brooks',
'address1' => '742 Evergreen Terrace',
'city' => 'Springfield',
'state' => 'IL',
'postal_code' => '62704',
'country_code' => 'US'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.fluid.app/api/member/v2026-10/addresses"
payload := strings.NewReader("{\n \"name\": \"Casey Brooks\",\n \"address1\": \"742 Evergreen Terrace\",\n \"city\": \"Springfield\",\n \"state\": \"IL\",\n \"postal_code\": \"62704\",\n \"country_code\": \"US\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.fluid.app/api/member/v2026-10/addresses")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"Casey Brooks\",\n \"address1\": \"742 Evergreen Terrace\",\n \"city\": \"Springfield\",\n \"state\": \"IL\",\n \"postal_code\": \"62704\",\n \"country_code\": \"US\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fluid.app/api/member/v2026-10/addresses")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"Casey Brooks\",\n \"address1\": \"742 Evergreen Terrace\",\n \"city\": \"Springfield\",\n \"state\": \"IL\",\n \"postal_code\": \"62704\",\n \"country_code\": \"US\"\n}"
response = http.request(request)
puts response.read_body{
"status": 200,
"data": {
"id": "0192f4f0-7a8b-7c9d-8e0f-1a2b3c4d5e6f",
"name": "Casey Brooks",
"address1": "1 Lakeshore Dr",
"address2": null,
"city": "Chicago",
"state": "IL",
"postal_code": "60601",
"country_code": "US",
"phone": "+13125550188",
"default_shipping": false,
"created_at": "2026-09-30T15:14:09.512088Z",
"updated_at": "2026-09-30T15:14:09.512088Z"
},
"meta": {
"request_uuid": "0192f520-1a2b-7c3d-8e4f-5a6b7c8d9e0f",
"timestamp": "2026-09-30T15:20:00Z"
}
}{
"status": 201,
"data": {
"id": "0192f4f0-7a8b-7c9d-8e0f-1a2b3c4d5e6f",
"name": "Casey Brooks",
"address1": "1 Lakeshore Dr",
"address2": null,
"city": "Chicago",
"state": "IL",
"postal_code": "60601",
"country_code": "US",
"phone": "+13125550188",
"default_shipping": false,
"created_at": "2026-09-30T15:14:09.512088Z",
"updated_at": "2026-09-30T15:14:09.512088Z"
},
"meta": {
"request_uuid": "0192f520-1a2b-7c3d-8e4f-5a6b7c8d9e0f",
"timestamp": "2026-09-30T15:20:00Z"
}
}{
"status": 123,
"error": {
"message": "<string>",
"details": {}
},
"meta": {
"request_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"status": 123,
"error": {
"message": "<string>",
"details": {}
},
"meta": {
"request_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"status": 123,
"error": {
"message": "<string>",
"details": {}
},
"meta": {
"request_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"status": 123,
"error": {
"message": "<string>",
"details": {}
},
"meta": {
"request_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"timestamp": "2023-11-07T05:31:56Z"
}
}Authorizations
A member credential in the Authorization: Bearer header: a member
session JWT, a portal JWT whose login is linked to a membership in
that company, or a member token. The credential alone
identifies the member and company.
Body
application/json
A new saved address. Fields sit at the top level; any other field is refused.
Required string length:
1 - 255Required string length:
1 - 255Required string length:
1 - 255Required string length:
1 - 32Pattern:
^[A-Z]{2}$Maximum string length:
255Maximum string length:
255Maximum string length:
64⌘I
Save an address
curl --request POST \
--url https://api.fluid.app/api/member/v2026-10/addresses \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "Casey Brooks",
"address1": "742 Evergreen Terrace",
"city": "Springfield",
"state": "IL",
"postal_code": "62704",
"country_code": "US"
}
'import requests
url = "https://api.fluid.app/api/member/v2026-10/addresses"
payload = {
"name": "Casey Brooks",
"address1": "742 Evergreen Terrace",
"city": "Springfield",
"state": "IL",
"postal_code": "62704",
"country_code": "US"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: 'Casey Brooks',
address1: '742 Evergreen Terrace',
city: 'Springfield',
state: 'IL',
postal_code: '62704',
country_code: 'US'
})
};
fetch('https://api.fluid.app/api/member/v2026-10/addresses', 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/member/v2026-10/addresses",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'name' => 'Casey Brooks',
'address1' => '742 Evergreen Terrace',
'city' => 'Springfield',
'state' => 'IL',
'postal_code' => '62704',
'country_code' => 'US'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.fluid.app/api/member/v2026-10/addresses"
payload := strings.NewReader("{\n \"name\": \"Casey Brooks\",\n \"address1\": \"742 Evergreen Terrace\",\n \"city\": \"Springfield\",\n \"state\": \"IL\",\n \"postal_code\": \"62704\",\n \"country_code\": \"US\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.fluid.app/api/member/v2026-10/addresses")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"Casey Brooks\",\n \"address1\": \"742 Evergreen Terrace\",\n \"city\": \"Springfield\",\n \"state\": \"IL\",\n \"postal_code\": \"62704\",\n \"country_code\": \"US\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fluid.app/api/member/v2026-10/addresses")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"Casey Brooks\",\n \"address1\": \"742 Evergreen Terrace\",\n \"city\": \"Springfield\",\n \"state\": \"IL\",\n \"postal_code\": \"62704\",\n \"country_code\": \"US\"\n}"
response = http.request(request)
puts response.read_body{
"status": 200,
"data": {
"id": "0192f4f0-7a8b-7c9d-8e0f-1a2b3c4d5e6f",
"name": "Casey Brooks",
"address1": "1 Lakeshore Dr",
"address2": null,
"city": "Chicago",
"state": "IL",
"postal_code": "60601",
"country_code": "US",
"phone": "+13125550188",
"default_shipping": false,
"created_at": "2026-09-30T15:14:09.512088Z",
"updated_at": "2026-09-30T15:14:09.512088Z"
},
"meta": {
"request_uuid": "0192f520-1a2b-7c3d-8e4f-5a6b7c8d9e0f",
"timestamp": "2026-09-30T15:20:00Z"
}
}{
"status": 201,
"data": {
"id": "0192f4f0-7a8b-7c9d-8e0f-1a2b3c4d5e6f",
"name": "Casey Brooks",
"address1": "1 Lakeshore Dr",
"address2": null,
"city": "Chicago",
"state": "IL",
"postal_code": "60601",
"country_code": "US",
"phone": "+13125550188",
"default_shipping": false,
"created_at": "2026-09-30T15:14:09.512088Z",
"updated_at": "2026-09-30T15:14:09.512088Z"
},
"meta": {
"request_uuid": "0192f520-1a2b-7c3d-8e4f-5a6b7c8d9e0f",
"timestamp": "2026-09-30T15:20:00Z"
}
}{
"status": 123,
"error": {
"message": "<string>",
"details": {}
},
"meta": {
"request_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"status": 123,
"error": {
"message": "<string>",
"details": {}
},
"meta": {
"request_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"status": 123,
"error": {
"message": "<string>",
"details": {}
},
"meta": {
"request_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"status": 123,
"error": {
"message": "<string>",
"details": {}
},
"meta": {
"request_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"timestamp": "2023-11-07T05:31:56Z"
}
}