Carts
Shipping Address Change shipping address change
Called by Fluid checkout when the buyer changes their shipping address inside the PayPal window. Writes the address to the cart as the ship-to address (and uses it for billing), reprices shipping and tax, then patches the PayPal order so its amount matches the cart. No Bearer token; the cart is addressed by cart_token. Returns 422 when order_id or shipping_address is missing, order_id is not an order this cart opened, or the repricing could not finish (the PayPal order is left unchanged), 404 when the cart or its PayPal payment account is not found, and 400 when PayPal rejects the update. Used by Fluid checkout and the FairShare SDK; direct REST integrations should use checkout-v2026-04.
POST
/
api
/
v202506
/
carts
/
{cart_token}
/
paypal
/
shipping_address_change
Shipping Address Change shipping address change
curl --request POST \
--url https://api.fluid.app/api/v202506/carts/{cart_token}/paypal/shipping_address_change \
--header 'Content-Type: application/json' \
--data '
{
"order_id": "5O190127TN364715T",
"shipping_address": {
"address_line_1": "1725 Slough Avenue",
"city": "Scranton",
"state": "PA",
"postal_code": "18505",
"country_code": "US"
}
}
'import requests
url = "https://api.fluid.app/api/v202506/carts/{cart_token}/paypal/shipping_address_change"
payload = {
"order_id": "5O190127TN364715T",
"shipping_address": {
"address_line_1": "1725 Slough Avenue",
"city": "Scranton",
"state": "PA",
"postal_code": "18505",
"country_code": "US"
}
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
order_id: '5O190127TN364715T',
shipping_address: {
address_line_1: '1725 Slough Avenue',
city: 'Scranton',
state: 'PA',
postal_code: '18505',
country_code: 'US'
}
})
};
fetch('https://api.fluid.app/api/v202506/carts/{cart_token}/paypal/shipping_address_change', 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/v202506/carts/{cart_token}/paypal/shipping_address_change",
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([
'order_id' => '5O190127TN364715T',
'shipping_address' => [
'address_line_1' => '1725 Slough Avenue',
'city' => 'Scranton',
'state' => 'PA',
'postal_code' => '18505',
'country_code' => 'US'
]
]),
CURLOPT_HTTPHEADER => [
"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/v202506/carts/{cart_token}/paypal/shipping_address_change"
payload := strings.NewReader("{\n \"order_id\": \"5O190127TN364715T\",\n \"shipping_address\": {\n \"address_line_1\": \"1725 Slough Avenue\",\n \"city\": \"Scranton\",\n \"state\": \"PA\",\n \"postal_code\": \"18505\",\n \"country_code\": \"US\"\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
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/v202506/carts/{cart_token}/paypal/shipping_address_change")
.header("Content-Type", "application/json")
.body("{\n \"order_id\": \"5O190127TN364715T\",\n \"shipping_address\": {\n \"address_line_1\": \"1725 Slough Avenue\",\n \"city\": \"Scranton\",\n \"state\": \"PA\",\n \"postal_code\": \"18505\",\n \"country_code\": \"US\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fluid.app/api/v202506/carts/{cart_token}/paypal/shipping_address_change")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"order_id\": \"5O190127TN364715T\",\n \"shipping_address\": {\n \"address_line_1\": \"1725 Slough Avenue\",\n \"city\": \"Scranton\",\n \"state\": \"PA\",\n \"postal_code\": \"18505\",\n \"country_code\": \"US\"\n }\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"order_id": "5O190127TN364715T",
"meta": {
"request_id": "9d4b1e72-6c3a-4f85-b0e9-2a7d5c8f1b63",
"timestamp": "2026-09-14T15:34:02Z"
}
}{
"message": "<string>",
"error": "<string>",
"error_message": "<string>",
"errors": "<string>",
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"shop_url": "<string>",
"cart": {
"enrollment": true,
"id": 123,
"cart_token": "<string>",
"state": "<string>",
"state_revision": 1,
"population_status": "pending",
"email": "<string>",
"phone": "<string>",
"phone_dialable": true,
"sms_marketing_preselected": true,
"language_iso": "<string>",
"currency_code": "<string>",
"currency_symbol": "<string>",
"currency_decimal_places": 123,
"type": "<string>",
"buyer_rep_id": 123,
"customer_id": 123,
"enrollment_pack_id": 123,
"enrollment_member_type": {
"id": "22c58158-7f6c-4f33-a033-32e259941684",
"slug": "rep",
"name": "Representative"
},
"email_marketing": true,
"sms_marketing": true,
"auto_apply_points": true,
"processed": true,
"payment_in_progress": true,
"payment_resume_url": "<string>",
"valid_for_checkout": true,
"valid_for_checkout_pre_payment": true,
"checkout_blockers": [
{
"code": "<string>",
"message": "<string>",
"field": "<string>",
"payment": "not_attempted"
}
],
"contains_subscription": true,
"vault_without_charge": true,
"payment_method_auto_assignable": true,
"requires_payment_method": true,
"requires_3ds": true,
"immutable_items": true,
"digital_only": true,
"points_enabled": true,
"messages": {},
"metadata": {},
"cv_total": "<string>",
"qv_total": "<string>",
"amount_total": 123,
"amount_total_in_currency": "<string>",
"sub_total": 123,
"sub_total_in_currency": "<string>",
"tax_total": 123,
"tax_exempt": true,
"tax_total_in_currency": "<string>",
"tax_total_for_display": "<string>",
"inclusive_shipping_tax": 123,
"shipping_total": 123,
"shipping_total_in_currency": "<string>",
"shipping_total_for_display": "<string>",
"discount_total": 123,
"discount_total_in_currency": "<string>",
"subtotal_after_discounts": 123,
"subtotal_after_discounts_in_currency": "<string>",
"price_inclusive_of_tax": true,
"price_inclusive_tax_name": "<string>",
"totals": {
"gross_subtotal": "<string>",
"gross_subtotal_in_currency": "<string>",
"net_subtotal": "<string>",
"net_subtotal_in_currency": "<string>",
"item_tax": "<string>",
"item_tax_in_currency": "<string>",
"shipping_net": "<string>",
"shipping_net_in_currency": "<string>",
"shipping_tax": "<string>",
"shipping_tax_in_currency": "<string>",
"total_tax": "<string>",
"total_tax_in_currency": "<string>",
"price_inclusive_of_tax": true,
"tax_label": "<string>"
},
"enrollment_fee": 123,
"enrollment_fee_in_currency": "<string>",
"transaction_fee": 123,
"transaction_fee_in_currency": "<string>",
"shipping_discount": 123,
"discount_codes": [
"<string>"
],
"product_discount_codes": [
"<string>"
],
"shipping_discount_codes": [
"<string>"
],
"customer_total_points": 123,
"customer_total_points_decimal": "120.0000",
"customer_total_points_in_currency": "<string>",
"points_applied": 123,
"points_applied_decimal": "120.0000",
"points_applied_amount_in_currency": "<string>",
"remaining_customer_points": 123,
"remaining_customer_points_decimal": "120.0000",
"remaining_customer_points_amount_in_currency": "<string>",
"remaining_cart_amount_after_points": 123,
"remaining_cart_amount_after_points_in_currency": "<string>",
"max_applicable_points": 123,
"points_unavailable_in_market": true,
"max_applicable_points_decimal": "120.0000",
"total_creditable_points": 123,
"total_creditable_points_decimal": "120.0000",
"shipping_address": {},
"billing_address": {},
"discount_breakdown": {
"internal_discounts": 123,
"external_discounts": 123,
"total_discounts": 123
},
"external_discount": {},
"buyer_rep": {
"id": 123,
"email": "<string>",
"full_name": "<string>",
"image_url": "<string>",
"external_id": "<string>"
},
"buyer_rep_member_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"volume_rep": {
"id": 123,
"email": "<string>",
"full_name": "<string>",
"image_url": "<string>"
},
"volume_rep_member_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"available_shipping_methods": [
{
"id": "<string>",
"title": "<string>",
"price": 123,
"delivery_time_estimate": "<string>",
"price_label": "<string>"
}
],
"available_payment_methods": [
{}
],
"payment_unavailable_reason": "no_gateway_for_country",
"payment_account": {},
"shipping_method": {
"id": "<string>",
"name": "<string>"
},
"payment_method": {},
"items": [
{
"id": 123,
"title": "<string>",
"quantity": 123,
"price": "<string>",
"price_in_currency": "<string>",
"discount_amount": "<string>",
"discount_amount_in_currency": "<string>",
"tax": "<string>",
"tax_in_currency": "<string>",
"cv": "<string>",
"qv": "<string>",
"cv_total": "<string>",
"qv_total": "<string>",
"total": "<string>",
"total_in_currency": "<string>",
"line_total_in_currency": "<string>",
"total_after_discounts": "<string>",
"total_after_discounts_in_currency": "<string>",
"line_total_after_discounts_in_currency": "<string>",
"regular_line_total_in_currency": "<string>",
"unit_price_display_authoritative": true,
"price_unavailable": true,
"subscription_start_notice": {
"message": "We never bill on the 29th to the 31st, so your first order bills on the 28th.",
"moved_from": "2026-11-30"
},
"enrollment_pack_id": 123,
"subscription": true,
"subscription_plan_id": 123,
"subscription_plans": [
{}
],
"subscription_only": true,
"subscription_interval": 123,
"subscription_interval_unit": "<string>",
"subscription_interval_unit_identifier": "<string>",
"subscription_price": "<string>",
"subscription_price_in_currency": "<string>",
"subscription_start": "<string>",
"subscribe_and_save": "<string>",
"subscribe_and_save_in_currency": "<string>",
"subscribe_and_save_for_display": "<string>",
"display_to_customer": true,
"metadata": {},
"image_url": "<string>",
"free_item": true,
"allow_subscription": true,
"enrollment": true,
"errors": [
"<string>"
],
"creditable_points": 123,
"product": {},
"variant": {
"id": 123,
"title": "<string>",
"display_name": "<string>",
"image_url": "<string>",
"image_path": "<string>",
"sku": "<string>",
"primary_image": "<string>",
"price": 123,
"price_in_currency": "<string>",
"currency_code": "<string>",
"options": [
{
"title": "<string>",
"value": "<string>"
}
],
"physical": true,
"unit_of_size": "<string>",
"height": 123,
"width": 123,
"length": 123,
"unit_of_weight": "<string>",
"weight": "<string>",
"hs_code": "<string>"
},
"bundled_items": [
{}
],
"product_title": "<string>"
}
],
"ship_to": {
"id": 123,
"name": "<string>",
"address1": "<string>",
"address2": "<string>",
"address3": "<string>",
"city": "<string>",
"state": "<string>",
"subdivision_code": "<string>",
"postal_code": "<string>",
"country_code": "<string>",
"phone": "<string>",
"country_num_code": 123,
"default": true
},
"bill_to": {},
"attribution": {},
"agreements": [
{
"id": 123,
"title": "<string>",
"show_at_checkout": true,
"default_checked": true,
"subscription_only": true,
"standalone_on_checkout": true,
"show_path": "<string>",
"enrollment_pack_id": 123,
"required": true,
"content_digest": "<string>"
}
],
"country": {
"id": 123,
"name": "<string>",
"iso": "<string>",
"iso_name": "<string>",
"iso3": "<string>",
"currency_code": "<string>",
"currency_symbol": "<string>",
"province_required": true,
"tax_enabled": true,
"price_inclusive_of_tax": true,
"price_inclusive_tax_name": "<string>",
"tax_standard_rate": 123
},
"company": {
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"identity_sign_in_enabled": true,
"checkout_identity_enabled": true,
"id": 123,
"name": "<string>",
"favicon_url": "<string>",
"primary_domain_hostname": "<string>",
"subdomain": "<string>",
"logo_url": "<string>",
"fluid_shop": "<string>",
"collect_phone": true,
"require_phone": true,
"require_billing_zip": true,
"checkout_primary_button_color": "<string>",
"checkout_primary_text_color": "<string>",
"checkout_secondary_button_color": "<string>",
"checkout_secondary_text_color": "<string>",
"order_on_behalf": true,
"reward_points_enabled": true,
"reward_points_apply_to_subtotal": true,
"reward_points_label_singular": "<string>",
"reward_points_label_plural": "<string>",
"collect_sms_marketing": true,
"sms_terms_url": "<string>",
"sms_privacy_policy_url": "<string>",
"collect_email_marketing": true,
"bundle_subscriptions": true,
"hide_volume_on_customer_surfaces": true,
"isolated_payment_tokens": true,
"kount_environment": "sandbox",
"kount_client_id": "150953359757648"
},
"enrollment_pack": {},
"recurring": [
{
"subtotal": 123,
"subtotal_in_currency": "<string>",
"interval": 123,
"interval_unit": "<string>",
"interval_unit_identifier": "day",
"subtotal_for_display": "<string>",
"start_date": "<string>",
"subscription_start_notice": {
"message": "We never bill on the 29th to the 31st, so your first order bills on the 28th.",
"moved_from": "2026-11-30"
}
}
]
},
"code": "<string>",
"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": {
"enrollment": true,
"id": 123,
"cart_token": "<string>",
"state": "<string>",
"state_revision": 1,
"population_status": "pending",
"email": "<string>",
"phone": "<string>",
"phone_dialable": true,
"sms_marketing_preselected": true,
"language_iso": "<string>",
"currency_code": "<string>",
"currency_symbol": "<string>",
"currency_decimal_places": 123,
"type": "<string>",
"buyer_rep_id": 123,
"customer_id": 123,
"enrollment_pack_id": 123,
"enrollment_member_type": {
"id": "22c58158-7f6c-4f33-a033-32e259941684",
"slug": "rep",
"name": "Representative"
},
"email_marketing": true,
"sms_marketing": true,
"auto_apply_points": true,
"processed": true,
"payment_in_progress": true,
"payment_resume_url": "<string>",
"valid_for_checkout": true,
"valid_for_checkout_pre_payment": true,
"checkout_blockers": [
{
"code": "<string>",
"message": "<string>",
"field": "<string>",
"payment": "not_attempted"
}
],
"contains_subscription": true,
"vault_without_charge": true,
"payment_method_auto_assignable": true,
"requires_payment_method": true,
"requires_3ds": true,
"immutable_items": true,
"digital_only": true,
"points_enabled": true,
"messages": {},
"metadata": {},
"cv_total": "<string>",
"qv_total": "<string>",
"amount_total": 123,
"amount_total_in_currency": "<string>",
"sub_total": 123,
"sub_total_in_currency": "<string>",
"tax_total": 123,
"tax_exempt": true,
"tax_total_in_currency": "<string>",
"tax_total_for_display": "<string>",
"inclusive_shipping_tax": 123,
"shipping_total": 123,
"shipping_total_in_currency": "<string>",
"shipping_total_for_display": "<string>",
"discount_total": 123,
"discount_total_in_currency": "<string>",
"subtotal_after_discounts": 123,
"subtotal_after_discounts_in_currency": "<string>",
"price_inclusive_of_tax": true,
"price_inclusive_tax_name": "<string>",
"totals": {
"gross_subtotal": "<string>",
"gross_subtotal_in_currency": "<string>",
"net_subtotal": "<string>",
"net_subtotal_in_currency": "<string>",
"item_tax": "<string>",
"item_tax_in_currency": "<string>",
"shipping_net": "<string>",
"shipping_net_in_currency": "<string>",
"shipping_tax": "<string>",
"shipping_tax_in_currency": "<string>",
"total_tax": "<string>",
"total_tax_in_currency": "<string>",
"price_inclusive_of_tax": true,
"tax_label": "<string>"
},
"enrollment_fee": 123,
"enrollment_fee_in_currency": "<string>",
"transaction_fee": 123,
"transaction_fee_in_currency": "<string>",
"shipping_discount": 123,
"discount_codes": [
"<string>"
],
"product_discount_codes": [
"<string>"
],
"shipping_discount_codes": [
"<string>"
],
"customer_total_points": 123,
"customer_total_points_decimal": "120.0000",
"customer_total_points_in_currency": "<string>",
"points_applied": 123,
"points_applied_decimal": "120.0000",
"points_applied_amount_in_currency": "<string>",
"remaining_customer_points": 123,
"remaining_customer_points_decimal": "120.0000",
"remaining_customer_points_amount_in_currency": "<string>",
"remaining_cart_amount_after_points": 123,
"remaining_cart_amount_after_points_in_currency": "<string>",
"max_applicable_points": 123,
"points_unavailable_in_market": true,
"max_applicable_points_decimal": "120.0000",
"total_creditable_points": 123,
"total_creditable_points_decimal": "120.0000",
"shipping_address": {},
"billing_address": {},
"discount_breakdown": {
"internal_discounts": 123,
"external_discounts": 123,
"total_discounts": 123
},
"external_discount": {},
"buyer_rep": {
"id": 123,
"email": "<string>",
"full_name": "<string>",
"image_url": "<string>",
"external_id": "<string>"
},
"buyer_rep_member_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"volume_rep": {
"id": 123,
"email": "<string>",
"full_name": "<string>",
"image_url": "<string>"
},
"volume_rep_member_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"available_shipping_methods": [
{
"id": "<string>",
"title": "<string>",
"price": 123,
"delivery_time_estimate": "<string>",
"price_label": "<string>"
}
],
"available_payment_methods": [
{}
],
"payment_unavailable_reason": "no_gateway_for_country",
"payment_account": {},
"shipping_method": {
"id": "<string>",
"name": "<string>"
},
"payment_method": {},
"items": [
{
"id": 123,
"title": "<string>",
"quantity": 123,
"price": "<string>",
"price_in_currency": "<string>",
"discount_amount": "<string>",
"discount_amount_in_currency": "<string>",
"tax": "<string>",
"tax_in_currency": "<string>",
"cv": "<string>",
"qv": "<string>",
"cv_total": "<string>",
"qv_total": "<string>",
"total": "<string>",
"total_in_currency": "<string>",
"line_total_in_currency": "<string>",
"total_after_discounts": "<string>",
"total_after_discounts_in_currency": "<string>",
"line_total_after_discounts_in_currency": "<string>",
"regular_line_total_in_currency": "<string>",
"unit_price_display_authoritative": true,
"price_unavailable": true,
"subscription_start_notice": {
"message": "We never bill on the 29th to the 31st, so your first order bills on the 28th.",
"moved_from": "2026-11-30"
},
"enrollment_pack_id": 123,
"subscription": true,
"subscription_plan_id": 123,
"subscription_plans": [
{}
],
"subscription_only": true,
"subscription_interval": 123,
"subscription_interval_unit": "<string>",
"subscription_interval_unit_identifier": "<string>",
"subscription_price": "<string>",
"subscription_price_in_currency": "<string>",
"subscription_start": "<string>",
"subscribe_and_save": "<string>",
"subscribe_and_save_in_currency": "<string>",
"subscribe_and_save_for_display": "<string>",
"display_to_customer": true,
"metadata": {},
"image_url": "<string>",
"free_item": true,
"allow_subscription": true,
"enrollment": true,
"errors": [
"<string>"
],
"creditable_points": 123,
"product": {},
"variant": {
"id": 123,
"title": "<string>",
"display_name": "<string>",
"image_url": "<string>",
"image_path": "<string>",
"sku": "<string>",
"primary_image": "<string>",
"price": 123,
"price_in_currency": "<string>",
"currency_code": "<string>",
"options": [
{
"title": "<string>",
"value": "<string>"
}
],
"physical": true,
"unit_of_size": "<string>",
"height": 123,
"width": 123,
"length": 123,
"unit_of_weight": "<string>",
"weight": "<string>",
"hs_code": "<string>"
},
"bundled_items": [
{}
],
"product_title": "<string>"
}
],
"ship_to": {
"id": 123,
"name": "<string>",
"address1": "<string>",
"address2": "<string>",
"address3": "<string>",
"city": "<string>",
"state": "<string>",
"subdivision_code": "<string>",
"postal_code": "<string>",
"country_code": "<string>",
"phone": "<string>",
"country_num_code": 123,
"default": true
},
"bill_to": {},
"attribution": {},
"agreements": [
{
"id": 123,
"title": "<string>",
"show_at_checkout": true,
"default_checked": true,
"subscription_only": true,
"standalone_on_checkout": true,
"show_path": "<string>",
"enrollment_pack_id": 123,
"required": true,
"content_digest": "<string>"
}
],
"country": {
"id": 123,
"name": "<string>",
"iso": "<string>",
"iso_name": "<string>",
"iso3": "<string>",
"currency_code": "<string>",
"currency_symbol": "<string>",
"province_required": true,
"tax_enabled": true,
"price_inclusive_of_tax": true,
"price_inclusive_tax_name": "<string>",
"tax_standard_rate": 123
},
"company": {
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"identity_sign_in_enabled": true,
"checkout_identity_enabled": true,
"id": 123,
"name": "<string>",
"favicon_url": "<string>",
"primary_domain_hostname": "<string>",
"subdomain": "<string>",
"logo_url": "<string>",
"fluid_shop": "<string>",
"collect_phone": true,
"require_phone": true,
"require_billing_zip": true,
"checkout_primary_button_color": "<string>",
"checkout_primary_text_color": "<string>",
"checkout_secondary_button_color": "<string>",
"checkout_secondary_text_color": "<string>",
"order_on_behalf": true,
"reward_points_enabled": true,
"reward_points_apply_to_subtotal": true,
"reward_points_label_singular": "<string>",
"reward_points_label_plural": "<string>",
"collect_sms_marketing": true,
"sms_terms_url": "<string>",
"sms_privacy_policy_url": "<string>",
"collect_email_marketing": true,
"bundle_subscriptions": true,
"hide_volume_on_customer_surfaces": true,
"isolated_payment_tokens": true,
"kount_environment": "sandbox",
"kount_client_id": "150953359757648"
},
"enrollment_pack": {},
"recurring": [
{
"subtotal": 123,
"subtotal_in_currency": "<string>",
"interval": 123,
"interval_unit": "<string>",
"interval_unit_identifier": "day",
"subtotal_for_display": "<string>",
"start_date": "<string>",
"subscription_start_notice": {
"message": "We never bill on the 29th to the 31st, so your first order bills on the 28th.",
"moved_from": "2026-11-30"
}
}
]
}
}
}{
"message": "<string>",
"error": "<string>",
"error_message": "<string>",
"errors": "<string>",
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"shop_url": "<string>",
"cart": {
"enrollment": true,
"id": 123,
"cart_token": "<string>",
"state": "<string>",
"state_revision": 1,
"population_status": "pending",
"email": "<string>",
"phone": "<string>",
"phone_dialable": true,
"sms_marketing_preselected": true,
"language_iso": "<string>",
"currency_code": "<string>",
"currency_symbol": "<string>",
"currency_decimal_places": 123,
"type": "<string>",
"buyer_rep_id": 123,
"customer_id": 123,
"enrollment_pack_id": 123,
"enrollment_member_type": {
"id": "22c58158-7f6c-4f33-a033-32e259941684",
"slug": "rep",
"name": "Representative"
},
"email_marketing": true,
"sms_marketing": true,
"auto_apply_points": true,
"processed": true,
"payment_in_progress": true,
"payment_resume_url": "<string>",
"valid_for_checkout": true,
"valid_for_checkout_pre_payment": true,
"checkout_blockers": [
{
"code": "<string>",
"message": "<string>",
"field": "<string>",
"payment": "not_attempted"
}
],
"contains_subscription": true,
"vault_without_charge": true,
"payment_method_auto_assignable": true,
"requires_payment_method": true,
"requires_3ds": true,
"immutable_items": true,
"digital_only": true,
"points_enabled": true,
"messages": {},
"metadata": {},
"cv_total": "<string>",
"qv_total": "<string>",
"amount_total": 123,
"amount_total_in_currency": "<string>",
"sub_total": 123,
"sub_total_in_currency": "<string>",
"tax_total": 123,
"tax_exempt": true,
"tax_total_in_currency": "<string>",
"tax_total_for_display": "<string>",
"inclusive_shipping_tax": 123,
"shipping_total": 123,
"shipping_total_in_currency": "<string>",
"shipping_total_for_display": "<string>",
"discount_total": 123,
"discount_total_in_currency": "<string>",
"subtotal_after_discounts": 123,
"subtotal_after_discounts_in_currency": "<string>",
"price_inclusive_of_tax": true,
"price_inclusive_tax_name": "<string>",
"totals": {
"gross_subtotal": "<string>",
"gross_subtotal_in_currency": "<string>",
"net_subtotal": "<string>",
"net_subtotal_in_currency": "<string>",
"item_tax": "<string>",
"item_tax_in_currency": "<string>",
"shipping_net": "<string>",
"shipping_net_in_currency": "<string>",
"shipping_tax": "<string>",
"shipping_tax_in_currency": "<string>",
"total_tax": "<string>",
"total_tax_in_currency": "<string>",
"price_inclusive_of_tax": true,
"tax_label": "<string>"
},
"enrollment_fee": 123,
"enrollment_fee_in_currency": "<string>",
"transaction_fee": 123,
"transaction_fee_in_currency": "<string>",
"shipping_discount": 123,
"discount_codes": [
"<string>"
],
"product_discount_codes": [
"<string>"
],
"shipping_discount_codes": [
"<string>"
],
"customer_total_points": 123,
"customer_total_points_decimal": "120.0000",
"customer_total_points_in_currency": "<string>",
"points_applied": 123,
"points_applied_decimal": "120.0000",
"points_applied_amount_in_currency": "<string>",
"remaining_customer_points": 123,
"remaining_customer_points_decimal": "120.0000",
"remaining_customer_points_amount_in_currency": "<string>",
"remaining_cart_amount_after_points": 123,
"remaining_cart_amount_after_points_in_currency": "<string>",
"max_applicable_points": 123,
"points_unavailable_in_market": true,
"max_applicable_points_decimal": "120.0000",
"total_creditable_points": 123,
"total_creditable_points_decimal": "120.0000",
"shipping_address": {},
"billing_address": {},
"discount_breakdown": {
"internal_discounts": 123,
"external_discounts": 123,
"total_discounts": 123
},
"external_discount": {},
"buyer_rep": {
"id": 123,
"email": "<string>",
"full_name": "<string>",
"image_url": "<string>",
"external_id": "<string>"
},
"buyer_rep_member_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"volume_rep": {
"id": 123,
"email": "<string>",
"full_name": "<string>",
"image_url": "<string>"
},
"volume_rep_member_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"available_shipping_methods": [
{
"id": "<string>",
"title": "<string>",
"price": 123,
"delivery_time_estimate": "<string>",
"price_label": "<string>"
}
],
"available_payment_methods": [
{}
],
"payment_unavailable_reason": "no_gateway_for_country",
"payment_account": {},
"shipping_method": {
"id": "<string>",
"name": "<string>"
},
"payment_method": {},
"items": [
{
"id": 123,
"title": "<string>",
"quantity": 123,
"price": "<string>",
"price_in_currency": "<string>",
"discount_amount": "<string>",
"discount_amount_in_currency": "<string>",
"tax": "<string>",
"tax_in_currency": "<string>",
"cv": "<string>",
"qv": "<string>",
"cv_total": "<string>",
"qv_total": "<string>",
"total": "<string>",
"total_in_currency": "<string>",
"line_total_in_currency": "<string>",
"total_after_discounts": "<string>",
"total_after_discounts_in_currency": "<string>",
"line_total_after_discounts_in_currency": "<string>",
"regular_line_total_in_currency": "<string>",
"unit_price_display_authoritative": true,
"price_unavailable": true,
"subscription_start_notice": {
"message": "We never bill on the 29th to the 31st, so your first order bills on the 28th.",
"moved_from": "2026-11-30"
},
"enrollment_pack_id": 123,
"subscription": true,
"subscription_plan_id": 123,
"subscription_plans": [
{}
],
"subscription_only": true,
"subscription_interval": 123,
"subscription_interval_unit": "<string>",
"subscription_interval_unit_identifier": "<string>",
"subscription_price": "<string>",
"subscription_price_in_currency": "<string>",
"subscription_start": "<string>",
"subscribe_and_save": "<string>",
"subscribe_and_save_in_currency": "<string>",
"subscribe_and_save_for_display": "<string>",
"display_to_customer": true,
"metadata": {},
"image_url": "<string>",
"free_item": true,
"allow_subscription": true,
"enrollment": true,
"errors": [
"<string>"
],
"creditable_points": 123,
"product": {},
"variant": {
"id": 123,
"title": "<string>",
"display_name": "<string>",
"image_url": "<string>",
"image_path": "<string>",
"sku": "<string>",
"primary_image": "<string>",
"price": 123,
"price_in_currency": "<string>",
"currency_code": "<string>",
"options": [
{
"title": "<string>",
"value": "<string>"
}
],
"physical": true,
"unit_of_size": "<string>",
"height": 123,
"width": 123,
"length": 123,
"unit_of_weight": "<string>",
"weight": "<string>",
"hs_code": "<string>"
},
"bundled_items": [
{}
],
"product_title": "<string>"
}
],
"ship_to": {
"id": 123,
"name": "<string>",
"address1": "<string>",
"address2": "<string>",
"address3": "<string>",
"city": "<string>",
"state": "<string>",
"subdivision_code": "<string>",
"postal_code": "<string>",
"country_code": "<string>",
"phone": "<string>",
"country_num_code": 123,
"default": true
},
"bill_to": {},
"attribution": {},
"agreements": [
{
"id": 123,
"title": "<string>",
"show_at_checkout": true,
"default_checked": true,
"subscription_only": true,
"standalone_on_checkout": true,
"show_path": "<string>",
"enrollment_pack_id": 123,
"required": true,
"content_digest": "<string>"
}
],
"country": {
"id": 123,
"name": "<string>",
"iso": "<string>",
"iso_name": "<string>",
"iso3": "<string>",
"currency_code": "<string>",
"currency_symbol": "<string>",
"province_required": true,
"tax_enabled": true,
"price_inclusive_of_tax": true,
"price_inclusive_tax_name": "<string>",
"tax_standard_rate": 123
},
"company": {
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"identity_sign_in_enabled": true,
"checkout_identity_enabled": true,
"id": 123,
"name": "<string>",
"favicon_url": "<string>",
"primary_domain_hostname": "<string>",
"subdomain": "<string>",
"logo_url": "<string>",
"fluid_shop": "<string>",
"collect_phone": true,
"require_phone": true,
"require_billing_zip": true,
"checkout_primary_button_color": "<string>",
"checkout_primary_text_color": "<string>",
"checkout_secondary_button_color": "<string>",
"checkout_secondary_text_color": "<string>",
"order_on_behalf": true,
"reward_points_enabled": true,
"reward_points_apply_to_subtotal": true,
"reward_points_label_singular": "<string>",
"reward_points_label_plural": "<string>",
"collect_sms_marketing": true,
"sms_terms_url": "<string>",
"sms_privacy_policy_url": "<string>",
"collect_email_marketing": true,
"bundle_subscriptions": true,
"hide_volume_on_customer_surfaces": true,
"isolated_payment_tokens": true,
"kount_environment": "sandbox",
"kount_client_id": "150953359757648"
},
"enrollment_pack": {},
"recurring": [
{
"subtotal": 123,
"subtotal_in_currency": "<string>",
"interval": 123,
"interval_unit": "<string>",
"interval_unit_identifier": "day",
"subtotal_for_display": "<string>",
"start_date": "<string>",
"subscription_start_notice": {
"message": "We never bill on the 29th to the 31st, so your first order bills on the 28th.",
"moved_from": "2026-11-30"
}
}
]
},
"code": "<string>",
"payment_uuid": "<string>",
"error_details": [
{
"code": "<string>",
"field": "<string>",
"payment": "not_attempted",
"message": "<string>"
}
],
"coded_recovery": true
}
}Path Parameters
Body
application/json
⌘I
Shipping Address Change shipping address change
curl --request POST \
--url https://api.fluid.app/api/v202506/carts/{cart_token}/paypal/shipping_address_change \
--header 'Content-Type: application/json' \
--data '
{
"order_id": "5O190127TN364715T",
"shipping_address": {
"address_line_1": "1725 Slough Avenue",
"city": "Scranton",
"state": "PA",
"postal_code": "18505",
"country_code": "US"
}
}
'import requests
url = "https://api.fluid.app/api/v202506/carts/{cart_token}/paypal/shipping_address_change"
payload = {
"order_id": "5O190127TN364715T",
"shipping_address": {
"address_line_1": "1725 Slough Avenue",
"city": "Scranton",
"state": "PA",
"postal_code": "18505",
"country_code": "US"
}
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
order_id: '5O190127TN364715T',
shipping_address: {
address_line_1: '1725 Slough Avenue',
city: 'Scranton',
state: 'PA',
postal_code: '18505',
country_code: 'US'
}
})
};
fetch('https://api.fluid.app/api/v202506/carts/{cart_token}/paypal/shipping_address_change', 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/v202506/carts/{cart_token}/paypal/shipping_address_change",
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([
'order_id' => '5O190127TN364715T',
'shipping_address' => [
'address_line_1' => '1725 Slough Avenue',
'city' => 'Scranton',
'state' => 'PA',
'postal_code' => '18505',
'country_code' => 'US'
]
]),
CURLOPT_HTTPHEADER => [
"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/v202506/carts/{cart_token}/paypal/shipping_address_change"
payload := strings.NewReader("{\n \"order_id\": \"5O190127TN364715T\",\n \"shipping_address\": {\n \"address_line_1\": \"1725 Slough Avenue\",\n \"city\": \"Scranton\",\n \"state\": \"PA\",\n \"postal_code\": \"18505\",\n \"country_code\": \"US\"\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
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/v202506/carts/{cart_token}/paypal/shipping_address_change")
.header("Content-Type", "application/json")
.body("{\n \"order_id\": \"5O190127TN364715T\",\n \"shipping_address\": {\n \"address_line_1\": \"1725 Slough Avenue\",\n \"city\": \"Scranton\",\n \"state\": \"PA\",\n \"postal_code\": \"18505\",\n \"country_code\": \"US\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fluid.app/api/v202506/carts/{cart_token}/paypal/shipping_address_change")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"order_id\": \"5O190127TN364715T\",\n \"shipping_address\": {\n \"address_line_1\": \"1725 Slough Avenue\",\n \"city\": \"Scranton\",\n \"state\": \"PA\",\n \"postal_code\": \"18505\",\n \"country_code\": \"US\"\n }\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"order_id": "5O190127TN364715T",
"meta": {
"request_id": "9d4b1e72-6c3a-4f85-b0e9-2a7d5c8f1b63",
"timestamp": "2026-09-14T15:34:02Z"
}
}{
"message": "<string>",
"error": "<string>",
"error_message": "<string>",
"errors": "<string>",
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"shop_url": "<string>",
"cart": {
"enrollment": true,
"id": 123,
"cart_token": "<string>",
"state": "<string>",
"state_revision": 1,
"population_status": "pending",
"email": "<string>",
"phone": "<string>",
"phone_dialable": true,
"sms_marketing_preselected": true,
"language_iso": "<string>",
"currency_code": "<string>",
"currency_symbol": "<string>",
"currency_decimal_places": 123,
"type": "<string>",
"buyer_rep_id": 123,
"customer_id": 123,
"enrollment_pack_id": 123,
"enrollment_member_type": {
"id": "22c58158-7f6c-4f33-a033-32e259941684",
"slug": "rep",
"name": "Representative"
},
"email_marketing": true,
"sms_marketing": true,
"auto_apply_points": true,
"processed": true,
"payment_in_progress": true,
"payment_resume_url": "<string>",
"valid_for_checkout": true,
"valid_for_checkout_pre_payment": true,
"checkout_blockers": [
{
"code": "<string>",
"message": "<string>",
"field": "<string>",
"payment": "not_attempted"
}
],
"contains_subscription": true,
"vault_without_charge": true,
"payment_method_auto_assignable": true,
"requires_payment_method": true,
"requires_3ds": true,
"immutable_items": true,
"digital_only": true,
"points_enabled": true,
"messages": {},
"metadata": {},
"cv_total": "<string>",
"qv_total": "<string>",
"amount_total": 123,
"amount_total_in_currency": "<string>",
"sub_total": 123,
"sub_total_in_currency": "<string>",
"tax_total": 123,
"tax_exempt": true,
"tax_total_in_currency": "<string>",
"tax_total_for_display": "<string>",
"inclusive_shipping_tax": 123,
"shipping_total": 123,
"shipping_total_in_currency": "<string>",
"shipping_total_for_display": "<string>",
"discount_total": 123,
"discount_total_in_currency": "<string>",
"subtotal_after_discounts": 123,
"subtotal_after_discounts_in_currency": "<string>",
"price_inclusive_of_tax": true,
"price_inclusive_tax_name": "<string>",
"totals": {
"gross_subtotal": "<string>",
"gross_subtotal_in_currency": "<string>",
"net_subtotal": "<string>",
"net_subtotal_in_currency": "<string>",
"item_tax": "<string>",
"item_tax_in_currency": "<string>",
"shipping_net": "<string>",
"shipping_net_in_currency": "<string>",
"shipping_tax": "<string>",
"shipping_tax_in_currency": "<string>",
"total_tax": "<string>",
"total_tax_in_currency": "<string>",
"price_inclusive_of_tax": true,
"tax_label": "<string>"
},
"enrollment_fee": 123,
"enrollment_fee_in_currency": "<string>",
"transaction_fee": 123,
"transaction_fee_in_currency": "<string>",
"shipping_discount": 123,
"discount_codes": [
"<string>"
],
"product_discount_codes": [
"<string>"
],
"shipping_discount_codes": [
"<string>"
],
"customer_total_points": 123,
"customer_total_points_decimal": "120.0000",
"customer_total_points_in_currency": "<string>",
"points_applied": 123,
"points_applied_decimal": "120.0000",
"points_applied_amount_in_currency": "<string>",
"remaining_customer_points": 123,
"remaining_customer_points_decimal": "120.0000",
"remaining_customer_points_amount_in_currency": "<string>",
"remaining_cart_amount_after_points": 123,
"remaining_cart_amount_after_points_in_currency": "<string>",
"max_applicable_points": 123,
"points_unavailable_in_market": true,
"max_applicable_points_decimal": "120.0000",
"total_creditable_points": 123,
"total_creditable_points_decimal": "120.0000",
"shipping_address": {},
"billing_address": {},
"discount_breakdown": {
"internal_discounts": 123,
"external_discounts": 123,
"total_discounts": 123
},
"external_discount": {},
"buyer_rep": {
"id": 123,
"email": "<string>",
"full_name": "<string>",
"image_url": "<string>",
"external_id": "<string>"
},
"buyer_rep_member_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"volume_rep": {
"id": 123,
"email": "<string>",
"full_name": "<string>",
"image_url": "<string>"
},
"volume_rep_member_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"available_shipping_methods": [
{
"id": "<string>",
"title": "<string>",
"price": 123,
"delivery_time_estimate": "<string>",
"price_label": "<string>"
}
],
"available_payment_methods": [
{}
],
"payment_unavailable_reason": "no_gateway_for_country",
"payment_account": {},
"shipping_method": {
"id": "<string>",
"name": "<string>"
},
"payment_method": {},
"items": [
{
"id": 123,
"title": "<string>",
"quantity": 123,
"price": "<string>",
"price_in_currency": "<string>",
"discount_amount": "<string>",
"discount_amount_in_currency": "<string>",
"tax": "<string>",
"tax_in_currency": "<string>",
"cv": "<string>",
"qv": "<string>",
"cv_total": "<string>",
"qv_total": "<string>",
"total": "<string>",
"total_in_currency": "<string>",
"line_total_in_currency": "<string>",
"total_after_discounts": "<string>",
"total_after_discounts_in_currency": "<string>",
"line_total_after_discounts_in_currency": "<string>",
"regular_line_total_in_currency": "<string>",
"unit_price_display_authoritative": true,
"price_unavailable": true,
"subscription_start_notice": {
"message": "We never bill on the 29th to the 31st, so your first order bills on the 28th.",
"moved_from": "2026-11-30"
},
"enrollment_pack_id": 123,
"subscription": true,
"subscription_plan_id": 123,
"subscription_plans": [
{}
],
"subscription_only": true,
"subscription_interval": 123,
"subscription_interval_unit": "<string>",
"subscription_interval_unit_identifier": "<string>",
"subscription_price": "<string>",
"subscription_price_in_currency": "<string>",
"subscription_start": "<string>",
"subscribe_and_save": "<string>",
"subscribe_and_save_in_currency": "<string>",
"subscribe_and_save_for_display": "<string>",
"display_to_customer": true,
"metadata": {},
"image_url": "<string>",
"free_item": true,
"allow_subscription": true,
"enrollment": true,
"errors": [
"<string>"
],
"creditable_points": 123,
"product": {},
"variant": {
"id": 123,
"title": "<string>",
"display_name": "<string>",
"image_url": "<string>",
"image_path": "<string>",
"sku": "<string>",
"primary_image": "<string>",
"price": 123,
"price_in_currency": "<string>",
"currency_code": "<string>",
"options": [
{
"title": "<string>",
"value": "<string>"
}
],
"physical": true,
"unit_of_size": "<string>",
"height": 123,
"width": 123,
"length": 123,
"unit_of_weight": "<string>",
"weight": "<string>",
"hs_code": "<string>"
},
"bundled_items": [
{}
],
"product_title": "<string>"
}
],
"ship_to": {
"id": 123,
"name": "<string>",
"address1": "<string>",
"address2": "<string>",
"address3": "<string>",
"city": "<string>",
"state": "<string>",
"subdivision_code": "<string>",
"postal_code": "<string>",
"country_code": "<string>",
"phone": "<string>",
"country_num_code": 123,
"default": true
},
"bill_to": {},
"attribution": {},
"agreements": [
{
"id": 123,
"title": "<string>",
"show_at_checkout": true,
"default_checked": true,
"subscription_only": true,
"standalone_on_checkout": true,
"show_path": "<string>",
"enrollment_pack_id": 123,
"required": true,
"content_digest": "<string>"
}
],
"country": {
"id": 123,
"name": "<string>",
"iso": "<string>",
"iso_name": "<string>",
"iso3": "<string>",
"currency_code": "<string>",
"currency_symbol": "<string>",
"province_required": true,
"tax_enabled": true,
"price_inclusive_of_tax": true,
"price_inclusive_tax_name": "<string>",
"tax_standard_rate": 123
},
"company": {
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"identity_sign_in_enabled": true,
"checkout_identity_enabled": true,
"id": 123,
"name": "<string>",
"favicon_url": "<string>",
"primary_domain_hostname": "<string>",
"subdomain": "<string>",
"logo_url": "<string>",
"fluid_shop": "<string>",
"collect_phone": true,
"require_phone": true,
"require_billing_zip": true,
"checkout_primary_button_color": "<string>",
"checkout_primary_text_color": "<string>",
"checkout_secondary_button_color": "<string>",
"checkout_secondary_text_color": "<string>",
"order_on_behalf": true,
"reward_points_enabled": true,
"reward_points_apply_to_subtotal": true,
"reward_points_label_singular": "<string>",
"reward_points_label_plural": "<string>",
"collect_sms_marketing": true,
"sms_terms_url": "<string>",
"sms_privacy_policy_url": "<string>",
"collect_email_marketing": true,
"bundle_subscriptions": true,
"hide_volume_on_customer_surfaces": true,
"isolated_payment_tokens": true,
"kount_environment": "sandbox",
"kount_client_id": "150953359757648"
},
"enrollment_pack": {},
"recurring": [
{
"subtotal": 123,
"subtotal_in_currency": "<string>",
"interval": 123,
"interval_unit": "<string>",
"interval_unit_identifier": "day",
"subtotal_for_display": "<string>",
"start_date": "<string>",
"subscription_start_notice": {
"message": "We never bill on the 29th to the 31st, so your first order bills on the 28th.",
"moved_from": "2026-11-30"
}
}
]
},
"code": "<string>",
"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": {
"enrollment": true,
"id": 123,
"cart_token": "<string>",
"state": "<string>",
"state_revision": 1,
"population_status": "pending",
"email": "<string>",
"phone": "<string>",
"phone_dialable": true,
"sms_marketing_preselected": true,
"language_iso": "<string>",
"currency_code": "<string>",
"currency_symbol": "<string>",
"currency_decimal_places": 123,
"type": "<string>",
"buyer_rep_id": 123,
"customer_id": 123,
"enrollment_pack_id": 123,
"enrollment_member_type": {
"id": "22c58158-7f6c-4f33-a033-32e259941684",
"slug": "rep",
"name": "Representative"
},
"email_marketing": true,
"sms_marketing": true,
"auto_apply_points": true,
"processed": true,
"payment_in_progress": true,
"payment_resume_url": "<string>",
"valid_for_checkout": true,
"valid_for_checkout_pre_payment": true,
"checkout_blockers": [
{
"code": "<string>",
"message": "<string>",
"field": "<string>",
"payment": "not_attempted"
}
],
"contains_subscription": true,
"vault_without_charge": true,
"payment_method_auto_assignable": true,
"requires_payment_method": true,
"requires_3ds": true,
"immutable_items": true,
"digital_only": true,
"points_enabled": true,
"messages": {},
"metadata": {},
"cv_total": "<string>",
"qv_total": "<string>",
"amount_total": 123,
"amount_total_in_currency": "<string>",
"sub_total": 123,
"sub_total_in_currency": "<string>",
"tax_total": 123,
"tax_exempt": true,
"tax_total_in_currency": "<string>",
"tax_total_for_display": "<string>",
"inclusive_shipping_tax": 123,
"shipping_total": 123,
"shipping_total_in_currency": "<string>",
"shipping_total_for_display": "<string>",
"discount_total": 123,
"discount_total_in_currency": "<string>",
"subtotal_after_discounts": 123,
"subtotal_after_discounts_in_currency": "<string>",
"price_inclusive_of_tax": true,
"price_inclusive_tax_name": "<string>",
"totals": {
"gross_subtotal": "<string>",
"gross_subtotal_in_currency": "<string>",
"net_subtotal": "<string>",
"net_subtotal_in_currency": "<string>",
"item_tax": "<string>",
"item_tax_in_currency": "<string>",
"shipping_net": "<string>",
"shipping_net_in_currency": "<string>",
"shipping_tax": "<string>",
"shipping_tax_in_currency": "<string>",
"total_tax": "<string>",
"total_tax_in_currency": "<string>",
"price_inclusive_of_tax": true,
"tax_label": "<string>"
},
"enrollment_fee": 123,
"enrollment_fee_in_currency": "<string>",
"transaction_fee": 123,
"transaction_fee_in_currency": "<string>",
"shipping_discount": 123,
"discount_codes": [
"<string>"
],
"product_discount_codes": [
"<string>"
],
"shipping_discount_codes": [
"<string>"
],
"customer_total_points": 123,
"customer_total_points_decimal": "120.0000",
"customer_total_points_in_currency": "<string>",
"points_applied": 123,
"points_applied_decimal": "120.0000",
"points_applied_amount_in_currency": "<string>",
"remaining_customer_points": 123,
"remaining_customer_points_decimal": "120.0000",
"remaining_customer_points_amount_in_currency": "<string>",
"remaining_cart_amount_after_points": 123,
"remaining_cart_amount_after_points_in_currency": "<string>",
"max_applicable_points": 123,
"points_unavailable_in_market": true,
"max_applicable_points_decimal": "120.0000",
"total_creditable_points": 123,
"total_creditable_points_decimal": "120.0000",
"shipping_address": {},
"billing_address": {},
"discount_breakdown": {
"internal_discounts": 123,
"external_discounts": 123,
"total_discounts": 123
},
"external_discount": {},
"buyer_rep": {
"id": 123,
"email": "<string>",
"full_name": "<string>",
"image_url": "<string>",
"external_id": "<string>"
},
"buyer_rep_member_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"volume_rep": {
"id": 123,
"email": "<string>",
"full_name": "<string>",
"image_url": "<string>"
},
"volume_rep_member_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"available_shipping_methods": [
{
"id": "<string>",
"title": "<string>",
"price": 123,
"delivery_time_estimate": "<string>",
"price_label": "<string>"
}
],
"available_payment_methods": [
{}
],
"payment_unavailable_reason": "no_gateway_for_country",
"payment_account": {},
"shipping_method": {
"id": "<string>",
"name": "<string>"
},
"payment_method": {},
"items": [
{
"id": 123,
"title": "<string>",
"quantity": 123,
"price": "<string>",
"price_in_currency": "<string>",
"discount_amount": "<string>",
"discount_amount_in_currency": "<string>",
"tax": "<string>",
"tax_in_currency": "<string>",
"cv": "<string>",
"qv": "<string>",
"cv_total": "<string>",
"qv_total": "<string>",
"total": "<string>",
"total_in_currency": "<string>",
"line_total_in_currency": "<string>",
"total_after_discounts": "<string>",
"total_after_discounts_in_currency": "<string>",
"line_total_after_discounts_in_currency": "<string>",
"regular_line_total_in_currency": "<string>",
"unit_price_display_authoritative": true,
"price_unavailable": true,
"subscription_start_notice": {
"message": "We never bill on the 29th to the 31st, so your first order bills on the 28th.",
"moved_from": "2026-11-30"
},
"enrollment_pack_id": 123,
"subscription": true,
"subscription_plan_id": 123,
"subscription_plans": [
{}
],
"subscription_only": true,
"subscription_interval": 123,
"subscription_interval_unit": "<string>",
"subscription_interval_unit_identifier": "<string>",
"subscription_price": "<string>",
"subscription_price_in_currency": "<string>",
"subscription_start": "<string>",
"subscribe_and_save": "<string>",
"subscribe_and_save_in_currency": "<string>",
"subscribe_and_save_for_display": "<string>",
"display_to_customer": true,
"metadata": {},
"image_url": "<string>",
"free_item": true,
"allow_subscription": true,
"enrollment": true,
"errors": [
"<string>"
],
"creditable_points": 123,
"product": {},
"variant": {
"id": 123,
"title": "<string>",
"display_name": "<string>",
"image_url": "<string>",
"image_path": "<string>",
"sku": "<string>",
"primary_image": "<string>",
"price": 123,
"price_in_currency": "<string>",
"currency_code": "<string>",
"options": [
{
"title": "<string>",
"value": "<string>"
}
],
"physical": true,
"unit_of_size": "<string>",
"height": 123,
"width": 123,
"length": 123,
"unit_of_weight": "<string>",
"weight": "<string>",
"hs_code": "<string>"
},
"bundled_items": [
{}
],
"product_title": "<string>"
}
],
"ship_to": {
"id": 123,
"name": "<string>",
"address1": "<string>",
"address2": "<string>",
"address3": "<string>",
"city": "<string>",
"state": "<string>",
"subdivision_code": "<string>",
"postal_code": "<string>",
"country_code": "<string>",
"phone": "<string>",
"country_num_code": 123,
"default": true
},
"bill_to": {},
"attribution": {},
"agreements": [
{
"id": 123,
"title": "<string>",
"show_at_checkout": true,
"default_checked": true,
"subscription_only": true,
"standalone_on_checkout": true,
"show_path": "<string>",
"enrollment_pack_id": 123,
"required": true,
"content_digest": "<string>"
}
],
"country": {
"id": 123,
"name": "<string>",
"iso": "<string>",
"iso_name": "<string>",
"iso3": "<string>",
"currency_code": "<string>",
"currency_symbol": "<string>",
"province_required": true,
"tax_enabled": true,
"price_inclusive_of_tax": true,
"price_inclusive_tax_name": "<string>",
"tax_standard_rate": 123
},
"company": {
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"identity_sign_in_enabled": true,
"checkout_identity_enabled": true,
"id": 123,
"name": "<string>",
"favicon_url": "<string>",
"primary_domain_hostname": "<string>",
"subdomain": "<string>",
"logo_url": "<string>",
"fluid_shop": "<string>",
"collect_phone": true,
"require_phone": true,
"require_billing_zip": true,
"checkout_primary_button_color": "<string>",
"checkout_primary_text_color": "<string>",
"checkout_secondary_button_color": "<string>",
"checkout_secondary_text_color": "<string>",
"order_on_behalf": true,
"reward_points_enabled": true,
"reward_points_apply_to_subtotal": true,
"reward_points_label_singular": "<string>",
"reward_points_label_plural": "<string>",
"collect_sms_marketing": true,
"sms_terms_url": "<string>",
"sms_privacy_policy_url": "<string>",
"collect_email_marketing": true,
"bundle_subscriptions": true,
"hide_volume_on_customer_surfaces": true,
"isolated_payment_tokens": true,
"kount_environment": "sandbox",
"kount_client_id": "150953359757648"
},
"enrollment_pack": {},
"recurring": [
{
"subtotal": 123,
"subtotal_in_currency": "<string>",
"interval": 123,
"interval_unit": "<string>",
"interval_unit_identifier": "day",
"subtotal_for_display": "<string>",
"start_date": "<string>",
"subscription_start_notice": {
"message": "We never bill on the 29th to the 31st, so your first order bills on the 28th.",
"moved_from": "2026-11-30"
}
}
]
}
}
}{
"message": "<string>",
"error": "<string>",
"error_message": "<string>",
"errors": "<string>",
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"shop_url": "<string>",
"cart": {
"enrollment": true,
"id": 123,
"cart_token": "<string>",
"state": "<string>",
"state_revision": 1,
"population_status": "pending",
"email": "<string>",
"phone": "<string>",
"phone_dialable": true,
"sms_marketing_preselected": true,
"language_iso": "<string>",
"currency_code": "<string>",
"currency_symbol": "<string>",
"currency_decimal_places": 123,
"type": "<string>",
"buyer_rep_id": 123,
"customer_id": 123,
"enrollment_pack_id": 123,
"enrollment_member_type": {
"id": "22c58158-7f6c-4f33-a033-32e259941684",
"slug": "rep",
"name": "Representative"
},
"email_marketing": true,
"sms_marketing": true,
"auto_apply_points": true,
"processed": true,
"payment_in_progress": true,
"payment_resume_url": "<string>",
"valid_for_checkout": true,
"valid_for_checkout_pre_payment": true,
"checkout_blockers": [
{
"code": "<string>",
"message": "<string>",
"field": "<string>",
"payment": "not_attempted"
}
],
"contains_subscription": true,
"vault_without_charge": true,
"payment_method_auto_assignable": true,
"requires_payment_method": true,
"requires_3ds": true,
"immutable_items": true,
"digital_only": true,
"points_enabled": true,
"messages": {},
"metadata": {},
"cv_total": "<string>",
"qv_total": "<string>",
"amount_total": 123,
"amount_total_in_currency": "<string>",
"sub_total": 123,
"sub_total_in_currency": "<string>",
"tax_total": 123,
"tax_exempt": true,
"tax_total_in_currency": "<string>",
"tax_total_for_display": "<string>",
"inclusive_shipping_tax": 123,
"shipping_total": 123,
"shipping_total_in_currency": "<string>",
"shipping_total_for_display": "<string>",
"discount_total": 123,
"discount_total_in_currency": "<string>",
"subtotal_after_discounts": 123,
"subtotal_after_discounts_in_currency": "<string>",
"price_inclusive_of_tax": true,
"price_inclusive_tax_name": "<string>",
"totals": {
"gross_subtotal": "<string>",
"gross_subtotal_in_currency": "<string>",
"net_subtotal": "<string>",
"net_subtotal_in_currency": "<string>",
"item_tax": "<string>",
"item_tax_in_currency": "<string>",
"shipping_net": "<string>",
"shipping_net_in_currency": "<string>",
"shipping_tax": "<string>",
"shipping_tax_in_currency": "<string>",
"total_tax": "<string>",
"total_tax_in_currency": "<string>",
"price_inclusive_of_tax": true,
"tax_label": "<string>"
},
"enrollment_fee": 123,
"enrollment_fee_in_currency": "<string>",
"transaction_fee": 123,
"transaction_fee_in_currency": "<string>",
"shipping_discount": 123,
"discount_codes": [
"<string>"
],
"product_discount_codes": [
"<string>"
],
"shipping_discount_codes": [
"<string>"
],
"customer_total_points": 123,
"customer_total_points_decimal": "120.0000",
"customer_total_points_in_currency": "<string>",
"points_applied": 123,
"points_applied_decimal": "120.0000",
"points_applied_amount_in_currency": "<string>",
"remaining_customer_points": 123,
"remaining_customer_points_decimal": "120.0000",
"remaining_customer_points_amount_in_currency": "<string>",
"remaining_cart_amount_after_points": 123,
"remaining_cart_amount_after_points_in_currency": "<string>",
"max_applicable_points": 123,
"points_unavailable_in_market": true,
"max_applicable_points_decimal": "120.0000",
"total_creditable_points": 123,
"total_creditable_points_decimal": "120.0000",
"shipping_address": {},
"billing_address": {},
"discount_breakdown": {
"internal_discounts": 123,
"external_discounts": 123,
"total_discounts": 123
},
"external_discount": {},
"buyer_rep": {
"id": 123,
"email": "<string>",
"full_name": "<string>",
"image_url": "<string>",
"external_id": "<string>"
},
"buyer_rep_member_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"volume_rep": {
"id": 123,
"email": "<string>",
"full_name": "<string>",
"image_url": "<string>"
},
"volume_rep_member_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"available_shipping_methods": [
{
"id": "<string>",
"title": "<string>",
"price": 123,
"delivery_time_estimate": "<string>",
"price_label": "<string>"
}
],
"available_payment_methods": [
{}
],
"payment_unavailable_reason": "no_gateway_for_country",
"payment_account": {},
"shipping_method": {
"id": "<string>",
"name": "<string>"
},
"payment_method": {},
"items": [
{
"id": 123,
"title": "<string>",
"quantity": 123,
"price": "<string>",
"price_in_currency": "<string>",
"discount_amount": "<string>",
"discount_amount_in_currency": "<string>",
"tax": "<string>",
"tax_in_currency": "<string>",
"cv": "<string>",
"qv": "<string>",
"cv_total": "<string>",
"qv_total": "<string>",
"total": "<string>",
"total_in_currency": "<string>",
"line_total_in_currency": "<string>",
"total_after_discounts": "<string>",
"total_after_discounts_in_currency": "<string>",
"line_total_after_discounts_in_currency": "<string>",
"regular_line_total_in_currency": "<string>",
"unit_price_display_authoritative": true,
"price_unavailable": true,
"subscription_start_notice": {
"message": "We never bill on the 29th to the 31st, so your first order bills on the 28th.",
"moved_from": "2026-11-30"
},
"enrollment_pack_id": 123,
"subscription": true,
"subscription_plan_id": 123,
"subscription_plans": [
{}
],
"subscription_only": true,
"subscription_interval": 123,
"subscription_interval_unit": "<string>",
"subscription_interval_unit_identifier": "<string>",
"subscription_price": "<string>",
"subscription_price_in_currency": "<string>",
"subscription_start": "<string>",
"subscribe_and_save": "<string>",
"subscribe_and_save_in_currency": "<string>",
"subscribe_and_save_for_display": "<string>",
"display_to_customer": true,
"metadata": {},
"image_url": "<string>",
"free_item": true,
"allow_subscription": true,
"enrollment": true,
"errors": [
"<string>"
],
"creditable_points": 123,
"product": {},
"variant": {
"id": 123,
"title": "<string>",
"display_name": "<string>",
"image_url": "<string>",
"image_path": "<string>",
"sku": "<string>",
"primary_image": "<string>",
"price": 123,
"price_in_currency": "<string>",
"currency_code": "<string>",
"options": [
{
"title": "<string>",
"value": "<string>"
}
],
"physical": true,
"unit_of_size": "<string>",
"height": 123,
"width": 123,
"length": 123,
"unit_of_weight": "<string>",
"weight": "<string>",
"hs_code": "<string>"
},
"bundled_items": [
{}
],
"product_title": "<string>"
}
],
"ship_to": {
"id": 123,
"name": "<string>",
"address1": "<string>",
"address2": "<string>",
"address3": "<string>",
"city": "<string>",
"state": "<string>",
"subdivision_code": "<string>",
"postal_code": "<string>",
"country_code": "<string>",
"phone": "<string>",
"country_num_code": 123,
"default": true
},
"bill_to": {},
"attribution": {},
"agreements": [
{
"id": 123,
"title": "<string>",
"show_at_checkout": true,
"default_checked": true,
"subscription_only": true,
"standalone_on_checkout": true,
"show_path": "<string>",
"enrollment_pack_id": 123,
"required": true,
"content_digest": "<string>"
}
],
"country": {
"id": 123,
"name": "<string>",
"iso": "<string>",
"iso_name": "<string>",
"iso3": "<string>",
"currency_code": "<string>",
"currency_symbol": "<string>",
"province_required": true,
"tax_enabled": true,
"price_inclusive_of_tax": true,
"price_inclusive_tax_name": "<string>",
"tax_standard_rate": 123
},
"company": {
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"identity_sign_in_enabled": true,
"checkout_identity_enabled": true,
"id": 123,
"name": "<string>",
"favicon_url": "<string>",
"primary_domain_hostname": "<string>",
"subdomain": "<string>",
"logo_url": "<string>",
"fluid_shop": "<string>",
"collect_phone": true,
"require_phone": true,
"require_billing_zip": true,
"checkout_primary_button_color": "<string>",
"checkout_primary_text_color": "<string>",
"checkout_secondary_button_color": "<string>",
"checkout_secondary_text_color": "<string>",
"order_on_behalf": true,
"reward_points_enabled": true,
"reward_points_apply_to_subtotal": true,
"reward_points_label_singular": "<string>",
"reward_points_label_plural": "<string>",
"collect_sms_marketing": true,
"sms_terms_url": "<string>",
"sms_privacy_policy_url": "<string>",
"collect_email_marketing": true,
"bundle_subscriptions": true,
"hide_volume_on_customer_surfaces": true,
"isolated_payment_tokens": true,
"kount_environment": "sandbox",
"kount_client_id": "150953359757648"
},
"enrollment_pack": {},
"recurring": [
{
"subtotal": 123,
"subtotal_in_currency": "<string>",
"interval": 123,
"interval_unit": "<string>",
"interval_unit_identifier": "day",
"subtotal_for_display": "<string>",
"start_date": "<string>",
"subscription_start_notice": {
"message": "We never bill on the 29th to the 31st, so your first order bills on the 28th.",
"moved_from": "2026-11-30"
}
}
]
},
"code": "<string>",
"payment_uuid": "<string>",
"error_details": [
{
"code": "<string>",
"field": "<string>",
"payment": "not_attempted",
"message": "<string>"
}
],
"coded_recovery": true
}
}