Skip to main content
PUT
/
api
/
external
/
v2
/
subscription-bundling
/
update
Update subscription bundling configuration
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://appstleinc-aeca3e0a.mintlify.app/llms.txt

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

Headers

X-API-Key
string

Body

application/json
babHandle
string
sourceProducts
object[]

Response

Subscription bundling successfully updated

shop
string
required
id
integer<int64>
subscriptionBundlingEnabled
boolean
subscriptionId
integer<int64>
minProductCount
integer<int32>
maxProductCount
integer<int32>
discount
number<double>
uniqueRef
string
groupName
string
bundleRedirect
enum<string>
Available options:
CART,
CHECKOUT,
CUSTOM,
NONE
customRedirectURL
string
minOrderAmount
number<double>
tieredDiscount
string
productViewStyle
enum<string>
Available options:
QUICK_ADD,
VIEW_DETAILS
buildABoxType
enum<string>
Available options:
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
singleProductSettings
string
subscriptionGroup
string
bundleTopHtml
string
bundleBottomHtml
string
proceedToCheckoutButtonText
string
chooseProductsText
string
name
string
trackInventory
boolean
allowOneTimePurchase
boolean
thirdPartyRule
boolean
selectionType
enum<string>
Available options:
FIXED,
FLEXIBLE
variants
string
discountedVariants
string
sections
string
appliesOn
enum<string>
Available options:
PRODUCT,
COLLECTION,
BOTH,
ONE_TIME,
SUBSCRIPTION
productDiscountType
enum<string>
Available options:
SELECTED_PRODUCT,
EACH_PRODUCT
collectionData
string
productSelectionType
enum<string>
Available options:
PRODUCT,
COLLECTION
sellingPlanIds
string
minUniqueProductCheck
boolean