Product Bundles
Get bundle details by handle
Retrieves detailed information about a subscription product bundle including bundled items, pricing, and subscription plan details.
Key Information Returned:
- Bundle Configuration: Name, handle, description, status
- Bundled Items: Products included in the bundle with quantities
- Pricing: Total price, individual item prices, discounts
- Subscription Details: Associated membership plan, billing frequency
- Product Information: Variant details, images, availability
- Display Settings: How the bundle should be presented to customers
Bundle Components:
- Product handles and variant IDs
- Quantity per product in the bundle
- Bundle-level discounts or pricing rules
- Subscription plan associations
- Custom attributes and metadata
Use Cases:
- Display bundle details on product pages
- Retrieve bundle configuration for cart integration
- Show customers what’s included in a bundle
- Sync bundle data with external systems
- Build custom bundle selection interfaces
Authentication: Requires API key authentication via X-API-Key header or api_key parameter
GET
/
api
/
external
/
v2
/
subscription-bundlings
/
external
/
get-bundle
/
{handle}
Get bundle details by handle
curl --request GET \
--url https://membership-admin.appstle.com/api/external/v2/subscription-bundlings/external/get-bundle/{handle}import requests
url = "https://membership-admin.appstle.com/api/external/v2/subscription-bundlings/external/get-bundle/{handle}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://membership-admin.appstle.com/api/external/v2/subscription-bundlings/external/get-bundle/{handle}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const url = 'https://membership-admin.appstle.com/api/external/v2/subscription-bundlings/external/get-bundle/{handle}';
const options = {method: 'GET'};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://membership-admin.appstle.com/api/external/v2/subscription-bundlings/external/get-bundle/{handle}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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://membership-admin.appstle.com/api/external/v2/subscription-bundlings/external/get-bundle/{handle}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}require 'uri'
require 'net/http'
url = URI("https://membership-admin.appstle.com/api/external/v2/subscription-bundlings/external/get-bundle/{handle}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"bundle": {
"shop": "<string>",
"discount": 123,
"id": 123,
"maxProductCount": 123,
"minProductCount": 123,
"subscriptionBundlingEnabled": true,
"subscriptionId": 123,
"uniqueRef": "<string>"
},
"products": [
{
"shop": "<string>",
"id": 123,
"productHandle": "<string>",
"productId": 123,
"productTitle": "<string>"
}
],
"subscription": {
"shop": "<string>",
"customerTag": "<string>",
"formFieldsJson": "<string>",
"groupName": "<string>",
"id": 123,
"infoJson": "<string>",
"memberOrderTag": "<string>",
"orderTag": "<string>",
"planSequence": 123,
"productCount": 123,
"productIds": "<string>",
"productVariantCount": 123,
"rulesJson": "<string>",
"savedSearchId": "<string>",
"savedSegmentSearchId": "<string>",
"subscriptionId": 123,
"translations": "<string>",
"variantIds": "<string>",
"variantProductIds": "<string>"
},
"variants": [
"<string>"
]
}{
"bundle": {
"shop": "<string>",
"discount": 123,
"id": 123,
"maxProductCount": 123,
"minProductCount": 123,
"subscriptionBundlingEnabled": true,
"subscriptionId": 123,
"uniqueRef": "<string>"
},
"products": [
{
"shop": "<string>",
"id": 123,
"productHandle": "<string>",
"productId": 123,
"productTitle": "<string>"
}
],
"subscription": {
"shop": "<string>",
"customerTag": "<string>",
"formFieldsJson": "<string>",
"groupName": "<string>",
"id": 123,
"infoJson": "<string>",
"memberOrderTag": "<string>",
"orderTag": "<string>",
"planSequence": 123,
"productCount": 123,
"productIds": "<string>",
"productVariantCount": 123,
"rulesJson": "<string>",
"savedSearchId": "<string>",
"savedSegmentSearchId": "<string>",
"subscriptionId": 123,
"translations": "<string>",
"variantIds": "<string>",
"variantProductIds": "<string>"
},
"variants": [
"<string>"
]
}{
"bundle": {
"shop": "<string>",
"discount": 123,
"id": 123,
"maxProductCount": 123,
"minProductCount": 123,
"subscriptionBundlingEnabled": true,
"subscriptionId": 123,
"uniqueRef": "<string>"
},
"products": [
{
"shop": "<string>",
"id": 123,
"productHandle": "<string>",
"productId": 123,
"productTitle": "<string>"
}
],
"subscription": {
"shop": "<string>",
"customerTag": "<string>",
"formFieldsJson": "<string>",
"groupName": "<string>",
"id": 123,
"infoJson": "<string>",
"memberOrderTag": "<string>",
"orderTag": "<string>",
"planSequence": 123,
"productCount": 123,
"productIds": "<string>",
"productVariantCount": 123,
"rulesJson": "<string>",
"savedSearchId": "<string>",
"savedSegmentSearchId": "<string>",
"subscriptionId": 123,
"translations": "<string>",
"variantIds": "<string>",
"variantProductIds": "<string>"
},
"variants": [
"<string>"
]
}Headers
Path Parameters
Unique bundle identifier (handle/slug)
Query Parameters
API Key (Deprecated - Use Header X-API-Key instead)
⌘I
Get bundle details by handle
curl --request GET \
--url https://membership-admin.appstle.com/api/external/v2/subscription-bundlings/external/get-bundle/{handle}import requests
url = "https://membership-admin.appstle.com/api/external/v2/subscription-bundlings/external/get-bundle/{handle}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://membership-admin.appstle.com/api/external/v2/subscription-bundlings/external/get-bundle/{handle}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const url = 'https://membership-admin.appstle.com/api/external/v2/subscription-bundlings/external/get-bundle/{handle}';
const options = {method: 'GET'};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://membership-admin.appstle.com/api/external/v2/subscription-bundlings/external/get-bundle/{handle}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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://membership-admin.appstle.com/api/external/v2/subscription-bundlings/external/get-bundle/{handle}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}require 'uri'
require 'net/http'
url = URI("https://membership-admin.appstle.com/api/external/v2/subscription-bundlings/external/get-bundle/{handle}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"bundle": {
"shop": "<string>",
"discount": 123,
"id": 123,
"maxProductCount": 123,
"minProductCount": 123,
"subscriptionBundlingEnabled": true,
"subscriptionId": 123,
"uniqueRef": "<string>"
},
"products": [
{
"shop": "<string>",
"id": 123,
"productHandle": "<string>",
"productId": 123,
"productTitle": "<string>"
}
],
"subscription": {
"shop": "<string>",
"customerTag": "<string>",
"formFieldsJson": "<string>",
"groupName": "<string>",
"id": 123,
"infoJson": "<string>",
"memberOrderTag": "<string>",
"orderTag": "<string>",
"planSequence": 123,
"productCount": 123,
"productIds": "<string>",
"productVariantCount": 123,
"rulesJson": "<string>",
"savedSearchId": "<string>",
"savedSegmentSearchId": "<string>",
"subscriptionId": 123,
"translations": "<string>",
"variantIds": "<string>",
"variantProductIds": "<string>"
},
"variants": [
"<string>"
]
}{
"bundle": {
"shop": "<string>",
"discount": 123,
"id": 123,
"maxProductCount": 123,
"minProductCount": 123,
"subscriptionBundlingEnabled": true,
"subscriptionId": 123,
"uniqueRef": "<string>"
},
"products": [
{
"shop": "<string>",
"id": 123,
"productHandle": "<string>",
"productId": 123,
"productTitle": "<string>"
}
],
"subscription": {
"shop": "<string>",
"customerTag": "<string>",
"formFieldsJson": "<string>",
"groupName": "<string>",
"id": 123,
"infoJson": "<string>",
"memberOrderTag": "<string>",
"orderTag": "<string>",
"planSequence": 123,
"productCount": 123,
"productIds": "<string>",
"productVariantCount": 123,
"rulesJson": "<string>",
"savedSearchId": "<string>",
"savedSegmentSearchId": "<string>",
"subscriptionId": 123,
"translations": "<string>",
"variantIds": "<string>",
"variantProductIds": "<string>"
},
"variants": [
"<string>"
]
}{
"bundle": {
"shop": "<string>",
"discount": 123,
"id": 123,
"maxProductCount": 123,
"minProductCount": 123,
"subscriptionBundlingEnabled": true,
"subscriptionId": 123,
"uniqueRef": "<string>"
},
"products": [
{
"shop": "<string>",
"id": 123,
"productHandle": "<string>",
"productId": 123,
"productTitle": "<string>"
}
],
"subscription": {
"shop": "<string>",
"customerTag": "<string>",
"formFieldsJson": "<string>",
"groupName": "<string>",
"id": 123,
"infoJson": "<string>",
"memberOrderTag": "<string>",
"orderTag": "<string>",
"planSequence": 123,
"productCount": 123,
"productIds": "<string>",
"productVariantCount": 123,
"rulesJson": "<string>",
"savedSearchId": "<string>",
"savedSegmentSearchId": "<string>",
"subscriptionId": 123,
"translations": "<string>",
"variantIds": "<string>",
"variantProductIds": "<string>"
},
"variants": [
"<string>"
]
}