Subscriptions
Create subscription bundle
Creates a subscription bundle from the supplied bundle definition.
Requires a bearer token. Returns 422 on validation failure and 401
when unauthenticated.
POST
/
api
/
checkout
/
v2026-04
/
subscription_bundles
Create subscription bundle
curl --request POST \
--url https://api.fluid.app/api/checkout/v2026-04/subscription_bundles \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"bundle": {
"subscription_tokens": [
"sub_7Hk2Rm9Qx4Tw6Lb3Nc8Vd",
"sub_4Mw9Tc2Kd7Rx5Hb8Lq3Pn"
],
"address_id": 73018,
"next_bill_date": "2026-10-14T00:00:00Z",
"volume_rep_id": 88214
}
}
'import requests
url = "https://api.fluid.app/api/checkout/v2026-04/subscription_bundles"
payload = { "bundle": {
"subscription_tokens": ["sub_7Hk2Rm9Qx4Tw6Lb3Nc8Vd", "sub_4Mw9Tc2Kd7Rx5Hb8Lq3Pn"],
"address_id": 73018,
"next_bill_date": "2026-10-14T00:00:00Z",
"volume_rep_id": 88214
} }
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({
bundle: {
subscription_tokens: ['sub_7Hk2Rm9Qx4Tw6Lb3Nc8Vd', 'sub_4Mw9Tc2Kd7Rx5Hb8Lq3Pn'],
address_id: 73018,
next_bill_date: '2026-10-14T00:00:00Z',
volume_rep_id: 88214
}
})
};
fetch('https://api.fluid.app/api/checkout/v2026-04/subscription_bundles', 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/subscription_bundles",
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([
'bundle' => [
'subscription_tokens' => [
'sub_7Hk2Rm9Qx4Tw6Lb3Nc8Vd',
'sub_4Mw9Tc2Kd7Rx5Hb8Lq3Pn'
],
'address_id' => 73018,
'next_bill_date' => '2026-10-14T00:00:00Z',
'volume_rep_id' => 88214
]
]),
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/checkout/v2026-04/subscription_bundles"
payload := strings.NewReader("{\n \"bundle\": {\n \"subscription_tokens\": [\n \"sub_7Hk2Rm9Qx4Tw6Lb3Nc8Vd\",\n \"sub_4Mw9Tc2Kd7Rx5Hb8Lq3Pn\"\n ],\n \"address_id\": 73018,\n \"next_bill_date\": \"2026-10-14T00:00:00Z\",\n \"volume_rep_id\": 88214\n }\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/checkout/v2026-04/subscription_bundles")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"bundle\": {\n \"subscription_tokens\": [\n \"sub_7Hk2Rm9Qx4Tw6Lb3Nc8Vd\",\n \"sub_4Mw9Tc2Kd7Rx5Hb8Lq3Pn\"\n ],\n \"address_id\": 73018,\n \"next_bill_date\": \"2026-10-14T00:00:00Z\",\n \"volume_rep_id\": 88214\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fluid.app/api/checkout/v2026-04/subscription_bundles")
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 \"bundle\": {\n \"subscription_tokens\": [\n \"sub_7Hk2Rm9Qx4Tw6Lb3Nc8Vd\",\n \"sub_4Mw9Tc2Kd7Rx5Hb8Lq3Pn\"\n ],\n \"address_id\": 73018,\n \"next_bill_date\": \"2026-10-14T00:00:00Z\",\n \"volume_rep_id\": 88214\n }\n}"
response = http.request(request)
puts response.read_body{
"subscription_bundle": {
"next_bill_date": "2026-10-14",
"volume_rep": {
"id": 88214,
"email": "dwight.schrute@dundermifflin.com",
"full_name": "Dwight Schrute",
"image_url": "https://cdn.fluid.app/companies/1405/members/dwight-schrute/avatar.jpg"
},
"volume_rep_member_id": "5c9a1e37-2b8d-4f64-a0c3-9e7d2b1f4a86",
"address": {
"id": 73018,
"name": "Holly Flax",
"address1": "1725 Slough Avenue",
"address2": "Suite 200",
"address3": null,
"city": "Scranton",
"state": "PA",
"postal_code": "18505",
"country_code": "US",
"country_num_code": 840,
"subdivision_code": "US-PA",
"phone": "+15705550142",
"default": true
},
"subscription_count": 2,
"subscriptions": [
{
"id": 27431,
"subscription_token": "sub_7Hk2Rm9Qx4Tw6Lb3Nc8Vd",
"subscription_plan_name": "Monthly",
"quantity": 2,
"price": 54.99,
"original_price": 54.99,
"currency": {
"id": 1,
"active": true,
"code": "USD",
"name": "United States Dollar",
"rate": 1,
"symbol": "$"
},
"variant": {
"id": 51207,
"title": "Dunder Mifflin 20lb Copy Paper",
"display_name": "Dunder Mifflin 20lb Copy Paper - Case of 10 reams",
"sku": "DM-20LB-CASE",
"currency_code": "USD",
"price": 54.99,
"price_in_currency": "$54.99",
"image_path": "companies/1405/products/20lb-copy-paper/main.jpg",
"image_url": "https://cdn.fluid.app/companies/1405/products/20lb-copy-paper/main.jpg",
"primary_image": "https://cdn.fluid.app/companies/1405/products/20lb-copy-paper/main.jpg",
"options": [
{
"title": "Pack size",
"value": "Case of 10 reams"
}
],
"product": {
"id": 18342,
"title": "Dunder Mifflin 20lb Copy Paper",
"sku": "DM-20LB-CASE",
"canonical_url": "https://shop.dundermifflin.com/products/20lb-copy-paper",
"introduction": "Bright, jam-free 20lb copy paper trusted by the Scranton branch.",
"external_id": null,
"image_path": "companies/1405/products/20lb-copy-paper/main.jpg",
"image_url": "https://cdn.fluid.app/companies/1405/products/20lb-copy-paper/main.jpg",
"price": 54.99,
"price_in_currency": "$54.99",
"tax": 0,
"tax_in_currency": "$0.00",
"cv": "50.0",
"cv_in_currency": "$50.00",
"metadata": {},
"metafields": []
}
}
},
{
"id": 27433,
"subscription_token": "sub_4Mw9Tc2Kd7Rx5Hb8Lq3Pn",
"subscription_plan_name": "Monthly",
"quantity": 1,
"price": 18.99,
"original_price": 18.99,
"currency": {
"id": 1,
"active": true,
"code": "USD",
"name": "United States Dollar",
"rate": 1,
"symbol": "$"
},
"variant": {
"id": 51288,
"title": "Schrute Farms Beet Box",
"display_name": "Schrute Farms Beet Box",
"sku": "SF-BEET-BOX",
"currency_code": "USD",
"price": 18.99,
"price_in_currency": "$18.99",
"image_path": "companies/1405/products/schrute-farms-beet-box/main.jpg",
"image_url": "https://cdn.fluid.app/companies/1405/products/schrute-farms-beet-box/main.jpg",
"primary_image": "https://cdn.fluid.app/companies/1405/products/schrute-farms-beet-box/main.jpg",
"options": [],
"product": {
"id": 18377,
"title": "Schrute Farms Beet Box",
"sku": "SF-BEET-BOX",
"canonical_url": "https://shop.dundermifflin.com/products/schrute-farms-beet-box",
"introduction": "A monthly box of farm-fresh beets from Schrute Farms.",
"external_id": null,
"image_path": "companies/1405/products/schrute-farms-beet-box/main.jpg",
"image_url": "https://cdn.fluid.app/companies/1405/products/schrute-farms-beet-box/main.jpg",
"price": 18.99,
"price_in_currency": "$18.99",
"tax": 0,
"tax_in_currency": "$0.00",
"cv": "15.0",
"cv_in_currency": "$15.00",
"metadata": {},
"metafields": []
}
}
}
]
},
"meta": {
"request_id": "0d6c3f92-8b1e-4a75-9d2c-4f7e1a5b8c30",
"timestamp": "2026-09-30T14:05:22Z"
}
}{
"message": "<string>"
}{
"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": "<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": "<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
Create subscription bundle
curl --request POST \
--url https://api.fluid.app/api/checkout/v2026-04/subscription_bundles \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"bundle": {
"subscription_tokens": [
"sub_7Hk2Rm9Qx4Tw6Lb3Nc8Vd",
"sub_4Mw9Tc2Kd7Rx5Hb8Lq3Pn"
],
"address_id": 73018,
"next_bill_date": "2026-10-14T00:00:00Z",
"volume_rep_id": 88214
}
}
'import requests
url = "https://api.fluid.app/api/checkout/v2026-04/subscription_bundles"
payload = { "bundle": {
"subscription_tokens": ["sub_7Hk2Rm9Qx4Tw6Lb3Nc8Vd", "sub_4Mw9Tc2Kd7Rx5Hb8Lq3Pn"],
"address_id": 73018,
"next_bill_date": "2026-10-14T00:00:00Z",
"volume_rep_id": 88214
} }
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({
bundle: {
subscription_tokens: ['sub_7Hk2Rm9Qx4Tw6Lb3Nc8Vd', 'sub_4Mw9Tc2Kd7Rx5Hb8Lq3Pn'],
address_id: 73018,
next_bill_date: '2026-10-14T00:00:00Z',
volume_rep_id: 88214
}
})
};
fetch('https://api.fluid.app/api/checkout/v2026-04/subscription_bundles', 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/subscription_bundles",
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([
'bundle' => [
'subscription_tokens' => [
'sub_7Hk2Rm9Qx4Tw6Lb3Nc8Vd',
'sub_4Mw9Tc2Kd7Rx5Hb8Lq3Pn'
],
'address_id' => 73018,
'next_bill_date' => '2026-10-14T00:00:00Z',
'volume_rep_id' => 88214
]
]),
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/checkout/v2026-04/subscription_bundles"
payload := strings.NewReader("{\n \"bundle\": {\n \"subscription_tokens\": [\n \"sub_7Hk2Rm9Qx4Tw6Lb3Nc8Vd\",\n \"sub_4Mw9Tc2Kd7Rx5Hb8Lq3Pn\"\n ],\n \"address_id\": 73018,\n \"next_bill_date\": \"2026-10-14T00:00:00Z\",\n \"volume_rep_id\": 88214\n }\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/checkout/v2026-04/subscription_bundles")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"bundle\": {\n \"subscription_tokens\": [\n \"sub_7Hk2Rm9Qx4Tw6Lb3Nc8Vd\",\n \"sub_4Mw9Tc2Kd7Rx5Hb8Lq3Pn\"\n ],\n \"address_id\": 73018,\n \"next_bill_date\": \"2026-10-14T00:00:00Z\",\n \"volume_rep_id\": 88214\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fluid.app/api/checkout/v2026-04/subscription_bundles")
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 \"bundle\": {\n \"subscription_tokens\": [\n \"sub_7Hk2Rm9Qx4Tw6Lb3Nc8Vd\",\n \"sub_4Mw9Tc2Kd7Rx5Hb8Lq3Pn\"\n ],\n \"address_id\": 73018,\n \"next_bill_date\": \"2026-10-14T00:00:00Z\",\n \"volume_rep_id\": 88214\n }\n}"
response = http.request(request)
puts response.read_body{
"subscription_bundle": {
"next_bill_date": "2026-10-14",
"volume_rep": {
"id": 88214,
"email": "dwight.schrute@dundermifflin.com",
"full_name": "Dwight Schrute",
"image_url": "https://cdn.fluid.app/companies/1405/members/dwight-schrute/avatar.jpg"
},
"volume_rep_member_id": "5c9a1e37-2b8d-4f64-a0c3-9e7d2b1f4a86",
"address": {
"id": 73018,
"name": "Holly Flax",
"address1": "1725 Slough Avenue",
"address2": "Suite 200",
"address3": null,
"city": "Scranton",
"state": "PA",
"postal_code": "18505",
"country_code": "US",
"country_num_code": 840,
"subdivision_code": "US-PA",
"phone": "+15705550142",
"default": true
},
"subscription_count": 2,
"subscriptions": [
{
"id": 27431,
"subscription_token": "sub_7Hk2Rm9Qx4Tw6Lb3Nc8Vd",
"subscription_plan_name": "Monthly",
"quantity": 2,
"price": 54.99,
"original_price": 54.99,
"currency": {
"id": 1,
"active": true,
"code": "USD",
"name": "United States Dollar",
"rate": 1,
"symbol": "$"
},
"variant": {
"id": 51207,
"title": "Dunder Mifflin 20lb Copy Paper",
"display_name": "Dunder Mifflin 20lb Copy Paper - Case of 10 reams",
"sku": "DM-20LB-CASE",
"currency_code": "USD",
"price": 54.99,
"price_in_currency": "$54.99",
"image_path": "companies/1405/products/20lb-copy-paper/main.jpg",
"image_url": "https://cdn.fluid.app/companies/1405/products/20lb-copy-paper/main.jpg",
"primary_image": "https://cdn.fluid.app/companies/1405/products/20lb-copy-paper/main.jpg",
"options": [
{
"title": "Pack size",
"value": "Case of 10 reams"
}
],
"product": {
"id": 18342,
"title": "Dunder Mifflin 20lb Copy Paper",
"sku": "DM-20LB-CASE",
"canonical_url": "https://shop.dundermifflin.com/products/20lb-copy-paper",
"introduction": "Bright, jam-free 20lb copy paper trusted by the Scranton branch.",
"external_id": null,
"image_path": "companies/1405/products/20lb-copy-paper/main.jpg",
"image_url": "https://cdn.fluid.app/companies/1405/products/20lb-copy-paper/main.jpg",
"price": 54.99,
"price_in_currency": "$54.99",
"tax": 0,
"tax_in_currency": "$0.00",
"cv": "50.0",
"cv_in_currency": "$50.00",
"metadata": {},
"metafields": []
}
}
},
{
"id": 27433,
"subscription_token": "sub_4Mw9Tc2Kd7Rx5Hb8Lq3Pn",
"subscription_plan_name": "Monthly",
"quantity": 1,
"price": 18.99,
"original_price": 18.99,
"currency": {
"id": 1,
"active": true,
"code": "USD",
"name": "United States Dollar",
"rate": 1,
"symbol": "$"
},
"variant": {
"id": 51288,
"title": "Schrute Farms Beet Box",
"display_name": "Schrute Farms Beet Box",
"sku": "SF-BEET-BOX",
"currency_code": "USD",
"price": 18.99,
"price_in_currency": "$18.99",
"image_path": "companies/1405/products/schrute-farms-beet-box/main.jpg",
"image_url": "https://cdn.fluid.app/companies/1405/products/schrute-farms-beet-box/main.jpg",
"primary_image": "https://cdn.fluid.app/companies/1405/products/schrute-farms-beet-box/main.jpg",
"options": [],
"product": {
"id": 18377,
"title": "Schrute Farms Beet Box",
"sku": "SF-BEET-BOX",
"canonical_url": "https://shop.dundermifflin.com/products/schrute-farms-beet-box",
"introduction": "A monthly box of farm-fresh beets from Schrute Farms.",
"external_id": null,
"image_path": "companies/1405/products/schrute-farms-beet-box/main.jpg",
"image_url": "https://cdn.fluid.app/companies/1405/products/schrute-farms-beet-box/main.jpg",
"price": 18.99,
"price_in_currency": "$18.99",
"tax": 0,
"tax_in_currency": "$0.00",
"cv": "15.0",
"cv_in_currency": "$15.00",
"metadata": {},
"metafields": []
}
}
}
]
},
"meta": {
"request_id": "0d6c3f92-8b1e-4a75-9d2c-4f7e1a5b8c30",
"timestamp": "2026-09-30T14:05:22Z"
}
}{
"message": "<string>"
}{
"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": "<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": "<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
}
}