Legacy (v0)
Bundle subscriptions
Groups two or more of one customer’s subscriptions so they bill together as a single order. Every subscription moves to the given next_bill_date, which cannot be in the past or beyond any member plan’s bill-date limit, and to one shipping address and volume rep. address_id is required for physical subscriptions; digital and physical subscriptions, and subscriptions in different currencies, cannot be bundled. Requires a Bearer token for a company member with the subscriptions update permission, or a customer token for the customer’s own subscriptions. Returns 422 when subscription bundling is not enabled for the company.
POST
/
api
/
subscription_bundles
/
bundle
Bundle subscriptions
curl --request POST \
--url https://api.fluid.app/api/subscription_bundles/bundle \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"bundle": {
"subscription_tokens": [
"sb_4fKq9ZtW2xYbN8cRhJ3mLp",
"sb_9pRt3VxK7mQw2NbY5cLhZd"
],
"address_id": 66120,
"next_bill_date": "2026-10-01T00:00:00Z",
"volume_rep_id": 88213
}
}
'import requests
url = "https://api.fluid.app/api/subscription_bundles/bundle"
payload = { "bundle": {
"subscription_tokens": ["sb_4fKq9ZtW2xYbN8cRhJ3mLp", "sb_9pRt3VxK7mQw2NbY5cLhZd"],
"address_id": 66120,
"next_bill_date": "2026-10-01T00:00:00Z",
"volume_rep_id": 88213
} }
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: ['sb_4fKq9ZtW2xYbN8cRhJ3mLp', 'sb_9pRt3VxK7mQw2NbY5cLhZd'],
address_id: 66120,
next_bill_date: '2026-10-01T00:00:00Z',
volume_rep_id: 88213
}
})
};
fetch('https://api.fluid.app/api/subscription_bundles/bundle', 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/subscription_bundles/bundle",
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' => [
'sb_4fKq9ZtW2xYbN8cRhJ3mLp',
'sb_9pRt3VxK7mQw2NbY5cLhZd'
],
'address_id' => 66120,
'next_bill_date' => '2026-10-01T00:00:00Z',
'volume_rep_id' => 88213
]
]),
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/subscription_bundles/bundle"
payload := strings.NewReader("{\n \"bundle\": {\n \"subscription_tokens\": [\n \"sb_4fKq9ZtW2xYbN8cRhJ3mLp\",\n \"sb_9pRt3VxK7mQw2NbY5cLhZd\"\n ],\n \"address_id\": 66120,\n \"next_bill_date\": \"2026-10-01T00:00:00Z\",\n \"volume_rep_id\": 88213\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/subscription_bundles/bundle")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"bundle\": {\n \"subscription_tokens\": [\n \"sb_4fKq9ZtW2xYbN8cRhJ3mLp\",\n \"sb_9pRt3VxK7mQw2NbY5cLhZd\"\n ],\n \"address_id\": 66120,\n \"next_bill_date\": \"2026-10-01T00:00:00Z\",\n \"volume_rep_id\": 88213\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fluid.app/api/subscription_bundles/bundle")
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 \"sb_4fKq9ZtW2xYbN8cRhJ3mLp\",\n \"sb_9pRt3VxK7mQw2NbY5cLhZd\"\n ],\n \"address_id\": 66120,\n \"next_bill_date\": \"2026-10-01T00:00:00Z\",\n \"volume_rep_id\": 88213\n }\n}"
response = http.request(request)
puts response.read_body{
"subscription_bundle": {
"next_bill_date": "2026-10-01T00:00:00Z",
"volume_rep": {
"id": 88213,
"email": "dwight.schrute@dundermifflin.com",
"full_name": "Dwight Schrute",
"image_url": "https://cdn.fluid.app/avatars/dwight-schrute.jpg"
},
"volume_rep_member_id": "019ef5f2-1a23-7317-a2f2-60927fdb0921",
"address": {
"id": 66120,
"name": "Holly Flax",
"address1": "1725 Slough Avenue",
"address2": "Suite 200",
"city": "Scranton",
"state": "PA",
"postal_code": "18505",
"country_code": "US"
},
"subscription_count": 2,
"subscriptions": [
{
"id": 24310,
"subscription_token": "sb_4fKq9ZtW2xYbN8cRhJ3mLp",
"price": 49.49,
"quantity": 1,
"original_price": 54.99,
"subscription_plan_name": "Monthly Paper Refill",
"variant": {
"id": 70152,
"sku": "DM-20LB-CASE"
},
"currency": {
"id": 1,
"name": "United States Dollar",
"code": "USD",
"rate": "1.0",
"active": true,
"symbol": "$"
}
},
{
"id": 24311,
"subscription_token": "sb_9pRt3VxK7mQw2NbY5cLhZd",
"price": 12,
"quantity": 2,
"original_price": 12,
"subscription_plan_name": "Monthly Merch Drop",
"variant": {
"id": 70188,
"sku": "DM-MUG-SCR"
},
"currency": {
"id": 1,
"name": "United States Dollar",
"code": "USD",
"rate": "1.0",
"active": true,
"symbol": "$"
}
}
]
},
"meta": {
"request_id": "2e8c5a19-6f3d-4b70-9d41-a7c3e1b5f862",
"timestamp": "2026-09-20T08:16:42Z"
}
}{
"message": "<string>"
}{
"error_message": "Next bill date 2026-11-30 falls on a blackout day. The nearest allowed date is 2026-11-28.",
"errors": {
"next_bill_date": [
"2026-11-30 falls on a blackout day. The nearest allowed date is 2026-11-28."
]
},
"meta": {
"request_id": "2e8c5a19-6f3d-4b70-9d41-a7c3e1b5f862",
"timestamp": "2026-10-28T12:00:00Z",
"code": "next_bill_date_blackout",
"blocked_date": "2026-11-30",
"blocked_day": 30,
"allowed_date": "2026-11-28"
}
}⌘I
Bundle subscriptions
curl --request POST \
--url https://api.fluid.app/api/subscription_bundles/bundle \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"bundle": {
"subscription_tokens": [
"sb_4fKq9ZtW2xYbN8cRhJ3mLp",
"sb_9pRt3VxK7mQw2NbY5cLhZd"
],
"address_id": 66120,
"next_bill_date": "2026-10-01T00:00:00Z",
"volume_rep_id": 88213
}
}
'import requests
url = "https://api.fluid.app/api/subscription_bundles/bundle"
payload = { "bundle": {
"subscription_tokens": ["sb_4fKq9ZtW2xYbN8cRhJ3mLp", "sb_9pRt3VxK7mQw2NbY5cLhZd"],
"address_id": 66120,
"next_bill_date": "2026-10-01T00:00:00Z",
"volume_rep_id": 88213
} }
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: ['sb_4fKq9ZtW2xYbN8cRhJ3mLp', 'sb_9pRt3VxK7mQw2NbY5cLhZd'],
address_id: 66120,
next_bill_date: '2026-10-01T00:00:00Z',
volume_rep_id: 88213
}
})
};
fetch('https://api.fluid.app/api/subscription_bundles/bundle', 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/subscription_bundles/bundle",
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' => [
'sb_4fKq9ZtW2xYbN8cRhJ3mLp',
'sb_9pRt3VxK7mQw2NbY5cLhZd'
],
'address_id' => 66120,
'next_bill_date' => '2026-10-01T00:00:00Z',
'volume_rep_id' => 88213
]
]),
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/subscription_bundles/bundle"
payload := strings.NewReader("{\n \"bundle\": {\n \"subscription_tokens\": [\n \"sb_4fKq9ZtW2xYbN8cRhJ3mLp\",\n \"sb_9pRt3VxK7mQw2NbY5cLhZd\"\n ],\n \"address_id\": 66120,\n \"next_bill_date\": \"2026-10-01T00:00:00Z\",\n \"volume_rep_id\": 88213\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/subscription_bundles/bundle")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"bundle\": {\n \"subscription_tokens\": [\n \"sb_4fKq9ZtW2xYbN8cRhJ3mLp\",\n \"sb_9pRt3VxK7mQw2NbY5cLhZd\"\n ],\n \"address_id\": 66120,\n \"next_bill_date\": \"2026-10-01T00:00:00Z\",\n \"volume_rep_id\": 88213\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fluid.app/api/subscription_bundles/bundle")
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 \"sb_4fKq9ZtW2xYbN8cRhJ3mLp\",\n \"sb_9pRt3VxK7mQw2NbY5cLhZd\"\n ],\n \"address_id\": 66120,\n \"next_bill_date\": \"2026-10-01T00:00:00Z\",\n \"volume_rep_id\": 88213\n }\n}"
response = http.request(request)
puts response.read_body{
"subscription_bundle": {
"next_bill_date": "2026-10-01T00:00:00Z",
"volume_rep": {
"id": 88213,
"email": "dwight.schrute@dundermifflin.com",
"full_name": "Dwight Schrute",
"image_url": "https://cdn.fluid.app/avatars/dwight-schrute.jpg"
},
"volume_rep_member_id": "019ef5f2-1a23-7317-a2f2-60927fdb0921",
"address": {
"id": 66120,
"name": "Holly Flax",
"address1": "1725 Slough Avenue",
"address2": "Suite 200",
"city": "Scranton",
"state": "PA",
"postal_code": "18505",
"country_code": "US"
},
"subscription_count": 2,
"subscriptions": [
{
"id": 24310,
"subscription_token": "sb_4fKq9ZtW2xYbN8cRhJ3mLp",
"price": 49.49,
"quantity": 1,
"original_price": 54.99,
"subscription_plan_name": "Monthly Paper Refill",
"variant": {
"id": 70152,
"sku": "DM-20LB-CASE"
},
"currency": {
"id": 1,
"name": "United States Dollar",
"code": "USD",
"rate": "1.0",
"active": true,
"symbol": "$"
}
},
{
"id": 24311,
"subscription_token": "sb_9pRt3VxK7mQw2NbY5cLhZd",
"price": 12,
"quantity": 2,
"original_price": 12,
"subscription_plan_name": "Monthly Merch Drop",
"variant": {
"id": 70188,
"sku": "DM-MUG-SCR"
},
"currency": {
"id": 1,
"name": "United States Dollar",
"code": "USD",
"rate": "1.0",
"active": true,
"symbol": "$"
}
}
]
},
"meta": {
"request_id": "2e8c5a19-6f3d-4b70-9d41-a7c3e1b5f862",
"timestamp": "2026-09-20T08:16:42Z"
}
}{
"message": "<string>"
}{
"error_message": "Next bill date 2026-11-30 falls on a blackout day. The nearest allowed date is 2026-11-28.",
"errors": {
"next_bill_date": [
"2026-11-30 falls on a blackout day. The nearest allowed date is 2026-11-28."
]
},
"meta": {
"request_id": "2e8c5a19-6f3d-4b70-9d41-a7c3e1b5f862",
"timestamp": "2026-10-28T12:00:00Z",
"code": "next_bill_date_blackout",
"blocked_date": "2026-11-30",
"blocked_day": 30,
"allowed_date": "2026-11-28"
}
}