Skip to main content
GET
/
api
/
external
/
v2
/
build-a-box
/
{handle}
Retrieve Build-A-Box bundle details by handle for customer storefront
curl --request GET \
  --url https://subscription-admin.appstle.com/api/external/v2/build-a-box/{handle}
{
  "bundle": {
    "id": 45678,
    "shop": "example-shop.myshopify.com",
    "bundleName": "Premium Coffee Selection",
    "bundleHandle": "premium-coffee-selection",
    "uniqueRef": "bab_abc123xyz",
    "description": "Choose your favorite coffee blends for monthly delivery",
    "buildABoxType": "SINGLE_PRODUCT",
    "buildBoxVersion": "V2",
    "minProductCount": 2,
    "maxProductCount": 5,
    "discount": 10,
    "discountType": "PERCENTAGE",
    "allowOneTimePurchase": true,
    "active": true,
    "products": [
      {
        "productId": 111111,
        "variantId": 222222,
        "title": "Medium Roast Coffee - 12oz",
        "price": "14.99",
        "imageUrl": "https://cdn.shopify.com/coffee-medium.jpg"
      }
    ]
  },
  "subscription": {
    "subscriptionPlanId": 98765,
    "sellingPlanGroupId": "gid://shopify/SellingPlanGroup/123456",
    "frequencies": [
      {
        "interval": "MONTH",
        "intervalCount": 1,
        "displayName": "Deliver every month"
      },
      {
        "interval": "WEEK",
        "intervalCount": 2,
        "displayName": "Deliver every 2 weeks"
      }
    ],
    "deliveryPolicy": {
      "type": "RECURRING",
      "anchors": []
    }
  },
  "createdAt": "2024-03-15T10:30:00Z",
  "updatedAt": "2024-03-20T14:45:00Z"
}

Documentation Index

Fetch the complete documentation index at: https://developers.appstle.com/llms.txt

Use this file to discover all available pages before exploring further.

Headers

X-API-Key
string

Path Parameters

handle
string
required

Bundle Handle

Query Parameters

api_key
string

API Key (Deprecated - Use Header X-API-Key instead)

Response

Bundle and subscription details successfully retrieved

bundle
object
subscriptionPlanProductInfoMap
object
subscriptionPlanVariantMap
object
subscriptionGroupPlans
object[]
subscription
object
products
object[]
variants
string[]