Cart sms consent
Get the subscription texts disclosure
Returns the current disclosure a shopper must see before agreeing to
recurring subscription texts from the cart’s company: its version and
its rendered text, with the company name and the terms and privacy
links filled in. Show the text next to an unchecked checkbox and send
its version back with the shopper’s choice. The response never carries
the stored choice, a phone number, an IP address or a user agent.
Returns 404 when Subscription Pro text reminders are not available to
the cart’s company. The 404 is the same as for an unknown cart token.
GET
/
api
/
checkout
/
v2026-04
/
carts
/
{cart_token}
/
sms-consent
Get the subscription texts disclosure
curl --request GET \
--url https://api.fluid.app/api/checkout/v2026-04/carts/{cart_token}/sms-consentimport requests
url = "https://api.fluid.app/api/checkout/v2026-04/carts/{cart_token}/sms-consent"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.fluid.app/api/checkout/v2026-04/carts/{cart_token}/sms-consent', 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/checkout/v2026-04/carts/{cart_token}/sms-consent",
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://api.fluid.app/api/checkout/v2026-04/carts/{cart_token}/sms-consent"
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://api.fluid.app/api/checkout/v2026-04/carts/{cart_token}/sms-consent")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fluid.app/api/checkout/v2026-04/carts/{cart_token}/sms-consent")
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{
"disclosure": {
"version": "2026-10-draft-1",
"text": "I agree to get recurring automated texts about your subscription from Dunder Mifflin Alerts, up to 3/day. Msg & data rates may apply. Reply STOP to cancel, HELP for help. Consent is not a condition of purchase. Terms https://dundermifflin.example/terms-conditions Privacy https://dundermifflin.example/privacy-policy"
},
"meta": {
"request_id": "6f1c2a9e-3b7d-4e58-9a21-c4d8e0b7f312",
"timestamp": "2026-10-12T15:22:08Z"
}
}{
"error_message": "<string>",
"errors": "<string>",
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"code": "<string>",
"payment_uuid": "<string>",
"error_details": [
{
"code": "<string>",
"field": "<string>",
"payment": "not_attempted",
"message": "<string>"
}
],
"coded_recovery": true
}
}⌘I
Get the subscription texts disclosure
curl --request GET \
--url https://api.fluid.app/api/checkout/v2026-04/carts/{cart_token}/sms-consentimport requests
url = "https://api.fluid.app/api/checkout/v2026-04/carts/{cart_token}/sms-consent"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.fluid.app/api/checkout/v2026-04/carts/{cart_token}/sms-consent', 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/checkout/v2026-04/carts/{cart_token}/sms-consent",
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://api.fluid.app/api/checkout/v2026-04/carts/{cart_token}/sms-consent"
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://api.fluid.app/api/checkout/v2026-04/carts/{cart_token}/sms-consent")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fluid.app/api/checkout/v2026-04/carts/{cart_token}/sms-consent")
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{
"disclosure": {
"version": "2026-10-draft-1",
"text": "I agree to get recurring automated texts about your subscription from Dunder Mifflin Alerts, up to 3/day. Msg & data rates may apply. Reply STOP to cancel, HELP for help. Consent is not a condition of purchase. Terms https://dundermifflin.example/terms-conditions Privacy https://dundermifflin.example/privacy-policy"
},
"meta": {
"request_id": "6f1c2a9e-3b7d-4e58-9a21-c4d8e0b7f312",
"timestamp": "2026-10-12T15:22:08Z"
}
}{
"error_message": "<string>",
"errors": "<string>",
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"code": "<string>",
"payment_uuid": "<string>",
"error_details": [
{
"code": "<string>",
"field": "<string>",
"payment": "not_attempted",
"message": "<string>"
}
],
"coded_recovery": true
}
}