Cart sign-in
Logout from cart
Public, cart-token–scoped. Ends the customer session associated with the
cart and returns the updated cart auth state. Authorization is by the
cart_token in the path; no bearer token is required. Returns 410 when
the cart is a locked/authorized enrollment cart and 404 when the cart
token is unknown.
DELETE
/
api
/
checkout
/
v2026-04
/
carts
/
{cart_token}
/
auth
Logout from cart
curl --request DELETE \
--url https://api.fluid.app/api/checkout/v2026-04/carts/{cart_token}/authimport requests
url = "https://api.fluid.app/api/checkout/v2026-04/carts/{cart_token}/auth"
response = requests.delete(url)
print(response.text)const options = {method: 'DELETE'};
fetch('https://api.fluid.app/api/checkout/v2026-04/carts/{cart_token}/auth', 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}/auth",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "DELETE",
]);
$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}/auth"
req, _ := http.NewRequest("DELETE", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.delete("https://api.fluid.app/api/checkout/v2026-04/carts/{cart_token}/auth")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fluid.app/api/checkout/v2026-04/carts/{cart_token}/auth")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Delete.new(url)
response = http.request(request)
puts response.read_body{
"cart": {
"enrollment_member_type": null,
"agreements": [
{
"default_checked": false,
"subscription_only": false,
"standalone_on_checkout": false,
"content_digest": "4f7f9a2d0c6b1e8e3a5d9c7b2f1e0d4c8b6a5f3e2d1c0b9a8f7e6d5c4b3a2918",
"enrollment_pack_id": null,
"id": 3187,
"required": true,
"show_at_checkout": true,
"show_path": "/api/agreements/3187",
"title": "Terms of Sale"
}
],
"amount_total": 119.93,
"amount_total_in_currency": "$119.93",
"attribution": null,
"available_payment_methods": [
{
"apple_pay": false,
"apple_pay_merchant_identifier": null,
"collect_billing_address": true,
"customer_details_schema": {},
"id": 5521,
"image_url": "https://cdn.fluid.app/payment-methods/credit-card.svg",
"name": "Credit Card",
"sandbox": false,
"test": false,
"type": "credit_card",
"uuid": "0b6f2c1e-8a47-4d3b-9c5e-2f7a1d9e4b60"
}
],
"available_shipping_methods": [
{
"delivery_time_estimate": "3-5 business days",
"id": "771",
"price": 9.95,
"price_label": "$9.95",
"title": "Standard Ground"
}
],
"bill_to": null,
"billing_address": null,
"buyer_rep": null,
"buyer_rep_id": null,
"buyer_rep_member_id": null,
"cart_token": "ct_9Hq2LmXv4RtY7wBz3KdN",
"company": {
"bundle_subscriptions": false,
"checkout_primary_button_color": "#1F3A93",
"checkout_primary_text_color": "#FFFFFF",
"checkout_secondary_button_color": "#E5E7EB",
"checkout_secondary_text_color": "#111827",
"collect_email_marketing": true,
"collect_phone": true,
"collect_sms_marketing": false,
"favicon_url": "https://cdn.fluid.app/companies/1405/favicon.png",
"fluid_shop": "dunder-mifflin.fluid.app",
"hide_volume_on_customer_surfaces": false,
"id": 1405,
"isolated_payment_tokens": false,
"kount_environment": "production",
"kount_client_id": null,
"logo_url": "https://cdn.fluid.app/companies/1405/logo.png",
"name": "Dunder Mifflin Paper Company",
"order_on_behalf": true,
"primary_domain_hostname": "shop.dundermifflin.com",
"require_billing_zip": true,
"require_phone": false,
"reward_points_apply_to_subtotal": true,
"reward_points_enabled": true,
"reward_points_label_singular": "Schrute Buck",
"reward_points_label_plural": "Schrute Bucks",
"subdomain": "dunder-mifflin"
},
"country": {
"currency_code": "USD",
"currency_symbol": "$",
"id": 214,
"iso": "US",
"iso3": "USA",
"iso_name": "UNITED STATES",
"name": "United States",
"price_inclusive_of_tax": false,
"price_inclusive_tax_name": "Sales Tax",
"province_required": true,
"tax_enabled": true,
"tax_standard_rate": null
},
"currency_code": "USD",
"currency_decimal_places": 2,
"currency_symbol": "$",
"customer_id": null,
"customer_total_points": 0,
"customer_total_points_decimal": "0.0000",
"customer_total_points_in_currency": "$0.00",
"cv_total": "80.00",
"digital_only": false,
"discount_breakdown": {
"external_discounts": 0,
"internal_discounts": 0,
"total_discounts": 0
},
"discount_codes": [],
"discount_total": 0,
"discount_total_in_currency": "$0.00",
"email": null,
"email_marketing": null,
"enrollment": false,
"enrollment_fee": null,
"enrollment_fee_in_currency": "$0.00",
"enrollment_pack": null,
"enrollment_pack_id": null,
"external_discount": {
"calculated_at": null,
"sources": {},
"total": 0
},
"id": 48213,
"immutable_items": false,
"inclusive_shipping_tax": 0,
"items": [
{
"id": 912734,
"title": "Dunder Mifflin 20lb Copy Paper",
"product_title": "Dunder Mifflin 20lb Copy Paper",
"quantity": 2,
"price": "54.99",
"price_in_currency": "$54.99",
"total": "109.98",
"total_in_currency": "$109.98",
"image_url": "https://cdn.fluid.app/companies/1405/products/20lb-copy-paper.jpg"
}
],
"language_iso": null,
"max_applicable_points": 0,
"points_unavailable_in_market": false,
"max_applicable_points_decimal": "0.0000",
"messages": {},
"metadata": {
"available_shipping_methods": [
{
"delivery_time_estimate": "3-5 business days",
"id": 771,
"price": 9.95,
"price_label": "$9.95",
"priority": 1,
"title": "Standard Ground"
}
],
"shipping": {
"delivery_time_estimate": "3-5 business days",
"id": 771,
"price": 9.95,
"title": "Standard Ground"
},
"total_creditable_points": 0
},
"payment_account": null,
"payment_method": null,
"payment_method_auto_assignable": false,
"payment_unavailable_reason": null,
"phone": null,
"points_applied": 0,
"points_applied_decimal": "0.0000",
"points_applied_amount_in_currency": "$0.00",
"points_enabled": true,
"price_inclusive_of_tax": false,
"price_inclusive_tax_name": null,
"processed": false,
"product_discount_codes": [],
"qv_total": "80.00",
"recurring": [],
"remaining_cart_amount_after_points": 119.93,
"remaining_cart_amount_after_points_in_currency": "$119.93",
"remaining_customer_points": 0,
"remaining_customer_points_decimal": "0.0000",
"remaining_customer_points_amount_in_currency": "$0.00",
"requires_3ds": false,
"requires_payment_method": true,
"ship_to": null,
"shipping_address": null,
"shipping_discount": 0,
"shipping_discount_codes": [],
"shipping_method": {
"id": "771",
"name": "Standard Ground"
},
"shipping_total": 9.95,
"shipping_total_for_display": "$9.95",
"shipping_total_in_currency": "$9.95",
"sms_marketing": null,
"auto_apply_points": false,
"state": "start",
"state_revision": 7,
"population_status": "complete",
"sub_total": 109.98,
"sub_total_in_currency": "$109.98",
"subtotal_after_discounts": 109.98,
"subtotal_after_discounts_in_currency": "$109.98",
"tax_total": 0,
"tax_exempt": false,
"tax_total_for_display": "$0.00",
"tax_total_in_currency": "$0.00",
"total_creditable_points": 0,
"total_creditable_points_decimal": "0.0000",
"totals": {
"gross_subtotal": "109.98",
"gross_subtotal_in_currency": "$109.98",
"net_subtotal": "109.98",
"net_subtotal_in_currency": "$109.98",
"item_tax": "0.00",
"item_tax_in_currency": "$0.00",
"shipping_net": "9.95",
"shipping_net_in_currency": "$9.95",
"shipping_tax": "0.00",
"shipping_tax_in_currency": "$0.00",
"total_tax": "0.00",
"total_tax_in_currency": "$0.00",
"price_inclusive_of_tax": false,
"tax_label": null
},
"transaction_fee": 0,
"transaction_fee_in_currency": "$0.00",
"type": "regular",
"valid_for_checkout": false,
"valid_for_checkout_pre_payment": false,
"checkout_blockers": [
{
"code": "email",
"message": "Email can't be blank",
"field": "email",
"payment": "not_attempted"
},
{
"code": "shipping_address",
"message": "Shipping address can't be blank",
"field": "shipping_address",
"payment": "not_attempted"
}
],
"contains_subscription": false,
"vault_without_charge": false,
"volume_rep": null,
"volume_rep_member_id": null
},
"meta": {
"checkout_url": "https://shop.dundermifflin.com/checkout/ct_9Hq2LmXv4RtY7wBz3KdN",
"request_id": "4f1d2b7a-9c3e-4a8f-b6d1-7e2c9a5f0b34",
"shop_url": "https://shop.dundermifflin.com",
"timestamp": "2026-09-14T15:32:08Z"
}
}{
"error_message": "<string>",
"errors": "<string>",
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"code": "<string>",
"blocked_date": "2026-11-30",
"blocked_day": 30,
"allowed_date": "2026-11-28",
"payment_uuid": "<string>",
"error_details": [
{
"code": "<string>",
"field": "<string>",
"payment": "not_attempted",
"message": "<string>"
}
],
"coded_recovery": true
}
}{
"error_message": "<string>",
"errors": "<string>",
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"code": "payment_in_progress",
"shop_url": "<string>",
"cart": "<unknown>",
"error_details": [
{
"code": "<string>",
"field": "<string>",
"payment": "not_attempted",
"message": "<string>"
}
],
"coded_recovery": true
}
}{
"error_message": "<string>",
"errors": "<string>",
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"shop_url": "<string>",
"cart": "<unknown>"
}
}{
"error_message": "<string>",
"errors": "<string>",
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"code": "<string>",
"blocked_date": "2026-11-30",
"blocked_day": 30,
"allowed_date": "2026-11-28",
"payment_uuid": "<string>",
"error_details": [
{
"code": "<string>",
"field": "<string>",
"payment": "not_attempted",
"message": "<string>"
}
],
"coded_recovery": true
}
}⌘I
Logout from cart
curl --request DELETE \
--url https://api.fluid.app/api/checkout/v2026-04/carts/{cart_token}/authimport requests
url = "https://api.fluid.app/api/checkout/v2026-04/carts/{cart_token}/auth"
response = requests.delete(url)
print(response.text)const options = {method: 'DELETE'};
fetch('https://api.fluid.app/api/checkout/v2026-04/carts/{cart_token}/auth', 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}/auth",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "DELETE",
]);
$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}/auth"
req, _ := http.NewRequest("DELETE", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.delete("https://api.fluid.app/api/checkout/v2026-04/carts/{cart_token}/auth")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fluid.app/api/checkout/v2026-04/carts/{cart_token}/auth")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Delete.new(url)
response = http.request(request)
puts response.read_body{
"cart": {
"enrollment_member_type": null,
"agreements": [
{
"default_checked": false,
"subscription_only": false,
"standalone_on_checkout": false,
"content_digest": "4f7f9a2d0c6b1e8e3a5d9c7b2f1e0d4c8b6a5f3e2d1c0b9a8f7e6d5c4b3a2918",
"enrollment_pack_id": null,
"id": 3187,
"required": true,
"show_at_checkout": true,
"show_path": "/api/agreements/3187",
"title": "Terms of Sale"
}
],
"amount_total": 119.93,
"amount_total_in_currency": "$119.93",
"attribution": null,
"available_payment_methods": [
{
"apple_pay": false,
"apple_pay_merchant_identifier": null,
"collect_billing_address": true,
"customer_details_schema": {},
"id": 5521,
"image_url": "https://cdn.fluid.app/payment-methods/credit-card.svg",
"name": "Credit Card",
"sandbox": false,
"test": false,
"type": "credit_card",
"uuid": "0b6f2c1e-8a47-4d3b-9c5e-2f7a1d9e4b60"
}
],
"available_shipping_methods": [
{
"delivery_time_estimate": "3-5 business days",
"id": "771",
"price": 9.95,
"price_label": "$9.95",
"title": "Standard Ground"
}
],
"bill_to": null,
"billing_address": null,
"buyer_rep": null,
"buyer_rep_id": null,
"buyer_rep_member_id": null,
"cart_token": "ct_9Hq2LmXv4RtY7wBz3KdN",
"company": {
"bundle_subscriptions": false,
"checkout_primary_button_color": "#1F3A93",
"checkout_primary_text_color": "#FFFFFF",
"checkout_secondary_button_color": "#E5E7EB",
"checkout_secondary_text_color": "#111827",
"collect_email_marketing": true,
"collect_phone": true,
"collect_sms_marketing": false,
"favicon_url": "https://cdn.fluid.app/companies/1405/favicon.png",
"fluid_shop": "dunder-mifflin.fluid.app",
"hide_volume_on_customer_surfaces": false,
"id": 1405,
"isolated_payment_tokens": false,
"kount_environment": "production",
"kount_client_id": null,
"logo_url": "https://cdn.fluid.app/companies/1405/logo.png",
"name": "Dunder Mifflin Paper Company",
"order_on_behalf": true,
"primary_domain_hostname": "shop.dundermifflin.com",
"require_billing_zip": true,
"require_phone": false,
"reward_points_apply_to_subtotal": true,
"reward_points_enabled": true,
"reward_points_label_singular": "Schrute Buck",
"reward_points_label_plural": "Schrute Bucks",
"subdomain": "dunder-mifflin"
},
"country": {
"currency_code": "USD",
"currency_symbol": "$",
"id": 214,
"iso": "US",
"iso3": "USA",
"iso_name": "UNITED STATES",
"name": "United States",
"price_inclusive_of_tax": false,
"price_inclusive_tax_name": "Sales Tax",
"province_required": true,
"tax_enabled": true,
"tax_standard_rate": null
},
"currency_code": "USD",
"currency_decimal_places": 2,
"currency_symbol": "$",
"customer_id": null,
"customer_total_points": 0,
"customer_total_points_decimal": "0.0000",
"customer_total_points_in_currency": "$0.00",
"cv_total": "80.00",
"digital_only": false,
"discount_breakdown": {
"external_discounts": 0,
"internal_discounts": 0,
"total_discounts": 0
},
"discount_codes": [],
"discount_total": 0,
"discount_total_in_currency": "$0.00",
"email": null,
"email_marketing": null,
"enrollment": false,
"enrollment_fee": null,
"enrollment_fee_in_currency": "$0.00",
"enrollment_pack": null,
"enrollment_pack_id": null,
"external_discount": {
"calculated_at": null,
"sources": {},
"total": 0
},
"id": 48213,
"immutable_items": false,
"inclusive_shipping_tax": 0,
"items": [
{
"id": 912734,
"title": "Dunder Mifflin 20lb Copy Paper",
"product_title": "Dunder Mifflin 20lb Copy Paper",
"quantity": 2,
"price": "54.99",
"price_in_currency": "$54.99",
"total": "109.98",
"total_in_currency": "$109.98",
"image_url": "https://cdn.fluid.app/companies/1405/products/20lb-copy-paper.jpg"
}
],
"language_iso": null,
"max_applicable_points": 0,
"points_unavailable_in_market": false,
"max_applicable_points_decimal": "0.0000",
"messages": {},
"metadata": {
"available_shipping_methods": [
{
"delivery_time_estimate": "3-5 business days",
"id": 771,
"price": 9.95,
"price_label": "$9.95",
"priority": 1,
"title": "Standard Ground"
}
],
"shipping": {
"delivery_time_estimate": "3-5 business days",
"id": 771,
"price": 9.95,
"title": "Standard Ground"
},
"total_creditable_points": 0
},
"payment_account": null,
"payment_method": null,
"payment_method_auto_assignable": false,
"payment_unavailable_reason": null,
"phone": null,
"points_applied": 0,
"points_applied_decimal": "0.0000",
"points_applied_amount_in_currency": "$0.00",
"points_enabled": true,
"price_inclusive_of_tax": false,
"price_inclusive_tax_name": null,
"processed": false,
"product_discount_codes": [],
"qv_total": "80.00",
"recurring": [],
"remaining_cart_amount_after_points": 119.93,
"remaining_cart_amount_after_points_in_currency": "$119.93",
"remaining_customer_points": 0,
"remaining_customer_points_decimal": "0.0000",
"remaining_customer_points_amount_in_currency": "$0.00",
"requires_3ds": false,
"requires_payment_method": true,
"ship_to": null,
"shipping_address": null,
"shipping_discount": 0,
"shipping_discount_codes": [],
"shipping_method": {
"id": "771",
"name": "Standard Ground"
},
"shipping_total": 9.95,
"shipping_total_for_display": "$9.95",
"shipping_total_in_currency": "$9.95",
"sms_marketing": null,
"auto_apply_points": false,
"state": "start",
"state_revision": 7,
"population_status": "complete",
"sub_total": 109.98,
"sub_total_in_currency": "$109.98",
"subtotal_after_discounts": 109.98,
"subtotal_after_discounts_in_currency": "$109.98",
"tax_total": 0,
"tax_exempt": false,
"tax_total_for_display": "$0.00",
"tax_total_in_currency": "$0.00",
"total_creditable_points": 0,
"total_creditable_points_decimal": "0.0000",
"totals": {
"gross_subtotal": "109.98",
"gross_subtotal_in_currency": "$109.98",
"net_subtotal": "109.98",
"net_subtotal_in_currency": "$109.98",
"item_tax": "0.00",
"item_tax_in_currency": "$0.00",
"shipping_net": "9.95",
"shipping_net_in_currency": "$9.95",
"shipping_tax": "0.00",
"shipping_tax_in_currency": "$0.00",
"total_tax": "0.00",
"total_tax_in_currency": "$0.00",
"price_inclusive_of_tax": false,
"tax_label": null
},
"transaction_fee": 0,
"transaction_fee_in_currency": "$0.00",
"type": "regular",
"valid_for_checkout": false,
"valid_for_checkout_pre_payment": false,
"checkout_blockers": [
{
"code": "email",
"message": "Email can't be blank",
"field": "email",
"payment": "not_attempted"
},
{
"code": "shipping_address",
"message": "Shipping address can't be blank",
"field": "shipping_address",
"payment": "not_attempted"
}
],
"contains_subscription": false,
"vault_without_charge": false,
"volume_rep": null,
"volume_rep_member_id": null
},
"meta": {
"checkout_url": "https://shop.dundermifflin.com/checkout/ct_9Hq2LmXv4RtY7wBz3KdN",
"request_id": "4f1d2b7a-9c3e-4a8f-b6d1-7e2c9a5f0b34",
"shop_url": "https://shop.dundermifflin.com",
"timestamp": "2026-09-14T15:32:08Z"
}
}{
"error_message": "<string>",
"errors": "<string>",
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"code": "<string>",
"blocked_date": "2026-11-30",
"blocked_day": 30,
"allowed_date": "2026-11-28",
"payment_uuid": "<string>",
"error_details": [
{
"code": "<string>",
"field": "<string>",
"payment": "not_attempted",
"message": "<string>"
}
],
"coded_recovery": true
}
}{
"error_message": "<string>",
"errors": "<string>",
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"code": "payment_in_progress",
"shop_url": "<string>",
"cart": "<unknown>",
"error_details": [
{
"code": "<string>",
"field": "<string>",
"payment": "not_attempted",
"message": "<string>"
}
],
"coded_recovery": true
}
}{
"error_message": "<string>",
"errors": "<string>",
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"shop_url": "<string>",
"cart": "<unknown>"
}
}{
"error_message": "<string>",
"errors": "<string>",
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"code": "<string>",
"blocked_date": "2026-11-30",
"blocked_day": 30,
"allowed_date": "2026-11-28",
"payment_uuid": "<string>",
"error_details": [
{
"code": "<string>",
"field": "<string>",
"payment": "not_attempted",
"message": "<string>"
}
],
"coded_recovery": true
}
}