Product Bundles
List product bundles
Returns a paginated list of product bundles.
GET
/
bundles
List product bundles
curl --request GET \
--url https://api.alguna.io/bundles \
--header 'Alguna-Version: <alguna-version>' \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.alguna.io/bundles"
headers = {
"Alguna-Version": "<alguna-version>",
"Authorization": "Bearer <token>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {'Alguna-Version': '<alguna-version>', Authorization: 'Bearer <token>'}
};
fetch('https://api.alguna.io/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.alguna.io/bundles",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Alguna-Version: <alguna-version>",
"Authorization: Bearer <token>"
],
]);
$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.alguna.io/bundles"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Alguna-Version", "<alguna-version>")
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.alguna.io/bundles")
.header("Alguna-Version", "<alguna-version>")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.alguna.io/bundles")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Alguna-Version"] = '<alguna-version>'
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": [
{
"id": "bnd_01H1VECT",
"name": "Standard Plan",
"prices": [
{
"billing_direction": "arrears",
"charge_on_contract_start": true,
"created_at": "2023-11-07T05:31:56Z",
"currency": "USD",
"fee_type": "fixed",
"id": "<string>",
"product": {
"description": "<string>",
"fee_type": "fixed",
"id": "<string>",
"name": "Platform Fee",
"payment_terms": "arrears",
"metric_ids": [
"<string>"
]
},
"product_id": "<string>",
"type": "unit",
"updated_at": "2023-11-07T05:31:56Z",
"billing_frequency": "recurring",
"billing_interval": "monthly",
"billing_interval_count": 3,
"billing_interval_unit": "month",
"discount": {
"amount": "<string>",
"duration_unit": "<string>",
"duration_value": 123
},
"display_order": 123,
"expression_pricing_model": {
"charges": [
{
"description": "<string>",
"quantity_expression": "<string>",
"unit_price_expression": "<string>"
}
],
"metric_bindings": [
{
"alias": "api_calls",
"metric_id": "<string>"
}
]
},
"fixed_pricing_model": {
"price_per_unit": "<string>",
"total": "<string>",
"units": 123
},
"graduated_percentage_pricing_model": {
"tiers": [
{
"min_units": 123,
"fixed_fee": "<string>",
"max_units": 123,
"percentage": "<string>"
}
]
},
"graduated_tiered_pricing_model": {
"tiers": [
{
"min_units": 123,
"fixed_fee": "<string>",
"max_units": 123,
"price_per_unit": "<string>"
}
],
"units": 123
},
"maximum_spend": {
"amount": "<string>",
"period": "<string>"
},
"metric_ids": [
"<string>"
],
"minimum_spend": {
"amount": "<string>",
"period": "<string>"
},
"prepaid_fixed_tiered_pricing_model": {
"overages_charge_interval": "<string>",
"prepaid_units": 123,
"tiers": [
{
"min_units": 123,
"fixed_fee": "<string>",
"max_units": 123,
"price_per_unit": "<string>"
}
]
},
"prepaid_tiered_pricing_model": {
"prepaid_units": 123,
"tiers": [
{
"min_units": 123,
"fixed_fee": "<string>",
"max_units": 123,
"price_per_unit": "<string>"
}
]
},
"tiered_percentage_pricing_model": {
"tiers": [
{
"min_units": 123,
"fixed_fee": "<string>",
"max_units": 123,
"percentage": "<string>"
}
]
},
"tiered_pricing_model": {
"tiers": [
{
"min_units": 123,
"fixed_fee": "<string>",
"max_units": 123,
"price_per_unit": "<string>"
}
],
"units": 123
},
"trial_period_days": 123,
"unit_pricing_model": {
"price_per_unit": "<string>"
},
"volume_percentage_pricing_model": {
"percentage": "<string>",
"price_per_unit": "<string>",
"fixed_fee": "<string>"
}
}
],
"description": "Our standard plan bundle"
}
],
"pagination": {
"per_page": 20,
"total_pages": 5
}
}{
"detail": "<string>",
"status": 123
}{
"detail": "<string>",
"status": 123
}{
"detail": "<string>",
"status": 123
}{
"detail": "<string>",
"status": 123
}{
"detail": "<string>",
"status": 123
}Authorizations
API key authentication. Pass your API key as a Bearer token.
Headers
Available options:
2026-04-01 Query Parameters
Number of items to return per page
Example:
20
Number of items to skip
Example:
0
Previous
Create a product bundleCreates a new product bundle. Product bundles group multiple priced products together so they can be referenced by a single ID in subscriptions, plans, and quotes.
Next
⌘I
List product bundles
curl --request GET \
--url https://api.alguna.io/bundles \
--header 'Alguna-Version: <alguna-version>' \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.alguna.io/bundles"
headers = {
"Alguna-Version": "<alguna-version>",
"Authorization": "Bearer <token>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {'Alguna-Version': '<alguna-version>', Authorization: 'Bearer <token>'}
};
fetch('https://api.alguna.io/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.alguna.io/bundles",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Alguna-Version: <alguna-version>",
"Authorization: Bearer <token>"
],
]);
$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.alguna.io/bundles"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Alguna-Version", "<alguna-version>")
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.alguna.io/bundles")
.header("Alguna-Version", "<alguna-version>")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.alguna.io/bundles")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Alguna-Version"] = '<alguna-version>'
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": [
{
"id": "bnd_01H1VECT",
"name": "Standard Plan",
"prices": [
{
"billing_direction": "arrears",
"charge_on_contract_start": true,
"created_at": "2023-11-07T05:31:56Z",
"currency": "USD",
"fee_type": "fixed",
"id": "<string>",
"product": {
"description": "<string>",
"fee_type": "fixed",
"id": "<string>",
"name": "Platform Fee",
"payment_terms": "arrears",
"metric_ids": [
"<string>"
]
},
"product_id": "<string>",
"type": "unit",
"updated_at": "2023-11-07T05:31:56Z",
"billing_frequency": "recurring",
"billing_interval": "monthly",
"billing_interval_count": 3,
"billing_interval_unit": "month",
"discount": {
"amount": "<string>",
"duration_unit": "<string>",
"duration_value": 123
},
"display_order": 123,
"expression_pricing_model": {
"charges": [
{
"description": "<string>",
"quantity_expression": "<string>",
"unit_price_expression": "<string>"
}
],
"metric_bindings": [
{
"alias": "api_calls",
"metric_id": "<string>"
}
]
},
"fixed_pricing_model": {
"price_per_unit": "<string>",
"total": "<string>",
"units": 123
},
"graduated_percentage_pricing_model": {
"tiers": [
{
"min_units": 123,
"fixed_fee": "<string>",
"max_units": 123,
"percentage": "<string>"
}
]
},
"graduated_tiered_pricing_model": {
"tiers": [
{
"min_units": 123,
"fixed_fee": "<string>",
"max_units": 123,
"price_per_unit": "<string>"
}
],
"units": 123
},
"maximum_spend": {
"amount": "<string>",
"period": "<string>"
},
"metric_ids": [
"<string>"
],
"minimum_spend": {
"amount": "<string>",
"period": "<string>"
},
"prepaid_fixed_tiered_pricing_model": {
"overages_charge_interval": "<string>",
"prepaid_units": 123,
"tiers": [
{
"min_units": 123,
"fixed_fee": "<string>",
"max_units": 123,
"price_per_unit": "<string>"
}
]
},
"prepaid_tiered_pricing_model": {
"prepaid_units": 123,
"tiers": [
{
"min_units": 123,
"fixed_fee": "<string>",
"max_units": 123,
"price_per_unit": "<string>"
}
]
},
"tiered_percentage_pricing_model": {
"tiers": [
{
"min_units": 123,
"fixed_fee": "<string>",
"max_units": 123,
"percentage": "<string>"
}
]
},
"tiered_pricing_model": {
"tiers": [
{
"min_units": 123,
"fixed_fee": "<string>",
"max_units": 123,
"price_per_unit": "<string>"
}
],
"units": 123
},
"trial_period_days": 123,
"unit_pricing_model": {
"price_per_unit": "<string>"
},
"volume_percentage_pricing_model": {
"percentage": "<string>",
"price_per_unit": "<string>",
"fixed_fee": "<string>"
}
}
],
"description": "Our standard plan bundle"
}
],
"pagination": {
"per_page": 20,
"total_pages": 5
}
}{
"detail": "<string>",
"status": 123
}{
"detail": "<string>",
"status": 123
}{
"detail": "<string>",
"status": 123
}{
"detail": "<string>",
"status": 123
}{
"detail": "<string>",
"status": 123
}