Updates the configuration for one or more subscription bundles (Build-a-Box). This endpoint allows bulk updates to bundle product selections, quantities, and configurations.
Subscription Bundling/Build-a-Box: Subscription bundling allows customers to create custom product bundles that are delivered on a recurring basis. Customers can select multiple products to be included in each delivery, creating a personalized subscription box.
Update Capabilities:
Use Cases:
Important Notes:
Authentication: Requires valid X-API-Key header
curl --request PUT \
--url https://subscription-admin.appstle.com/api/external/v2/subscription-bundling/update \
--header 'Content-Type: application/json' \
--data '
[
{
"babHandle": "<string>",
"sourceProducts": [
{
"sourceProductId": 123,
"addSubProductIds": [
123
],
"addSubVariantIds": [
123
],
"deleteSubProductIds": [
123
],
"deleteSubVariantIds": [
123
]
}
]
}
]
'{
"id": 12345,
"shop": "example-shop.myshopify.com",
"token": "abc123xyz",
"bundleName": "My Custom Coffee Bundle",
"bundleHandle": "custom-coffee-bundle-123",
"products": [
{
"variantId": 11111,
"productTitle": "Medium Roast Coffee",
"quantity": 2
},
{
"variantId": 22222,
"productTitle": "Dark Roast Coffee",
"quantity": 1
}
],
"frequency": "MONTH",
"frequencyCount": 1,
"active": true
}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.
Subscription bundling successfully updated
CART, CHECKOUT, CUSTOM, NONE QUICK_ADD, VIEW_DETAILS CLASSIC, SINGLE_PRODUCT, MIX_AND_MATCH, INFINITE, CUSTOMIZE_BUNDLE, CLASSIC_BUILD_A_BOX, SINGLE_PRODUCT_BUILD_A_BOX, VOLUME_DISCOUNT, DISCOUNTED_PRICING, SHIPPING_DISCOUNT, BUY_X_GET_Y, SECTIONED_BUNDLE FIXED, FLEXIBLE PRODUCT, COLLECTION, BOTH, ONE_TIME, SUBSCRIPTION SELECTED_PRODUCT, EACH_PRODUCT PRODUCT, COLLECTION curl --request PUT \
--url https://subscription-admin.appstle.com/api/external/v2/subscription-bundling/update \
--header 'Content-Type: application/json' \
--data '
[
{
"babHandle": "<string>",
"sourceProducts": [
{
"sourceProductId": 123,
"addSubProductIds": [
123
],
"addSubVariantIds": [
123
],
"deleteSubProductIds": [
123
],
"deleteSubVariantIds": [
123
]
}
]
}
]
'{
"id": 12345,
"shop": "example-shop.myshopify.com",
"token": "abc123xyz",
"bundleName": "My Custom Coffee Bundle",
"bundleHandle": "custom-coffee-bundle-123",
"products": [
{
"variantId": 11111,
"productTitle": "Medium Roast Coffee",
"quantity": 2
},
{
"variantId": 22222,
"productTitle": "Dark Roast Coffee",
"quantity": 1
}
],
"frequency": "MONTH",
"frequencyCount": 1,
"active": true
}