> ## 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.

# List discount rules applicable to bundles



## OpenAPI

````yaml /subscription/storefront-api-swagger.json get /subscriptions/cp/api/bundle-discount-rules
openapi: 3.0.1
info:
  description: >-
    Comprehensive API documentation for the customer-facing subscription portal.
    These APIs enable customers to manage their subscriptions, update billing
    information, modify delivery schedules, and access their account details
    through your storefront.


    **Important**: These APIs must be called from your shop's domain (e.g.,
    https://www.myshop.com/apps/subscriptions/cp/api/**) and require customer
    authentication. Unauthenticated requests will return a 401 Unauthorized
    error.
  title: Storefront APIs
  version: 0.0.1
servers:
  - url: https://www.myshop.com/apps
security: []
tags:
  - description: >-
      Core customer portal APIs for managing customer account settings,
      authentication, and portal configurations.
    name: Customer Portal
  - description: >-
      APIs for customers to view and manage their subscription contracts
      including status updates, frequency changes, and cancellations.
    name: Subscription Management
  - description: >-
      APIs for retrieving and updating subscription contract details — delivery
      schedules, line items, addresses, billing cycles.
    name: Subscription Contracts
  - description: >-
      APIs for retrieving available subscription plans and selling plan
      configurations exposed to customers.
    name: Subscription Plans
  - description: >-
      APIs for managing one-time add-on products that can be purchased alongside
      recurring subscription items.
    name: Subscription One-Time Products
  - description: >-
      APIs for retrieving aggregated subscription data and account-level
      subscription information for the signed-in customer.
    name: Subscription Data
  - description: >-
      APIs for managing customizable product boxes and bundles where customers
      can select multiple items.
    name: Build-a-Box & Bundles
  - description: >-
      APIs for managing payment methods, billing information, and processing
      subscription payments.
    name: Billing & Payments
  - description: >-
      APIs for retrieving product information, selling plans, variant data, and
      subscription-enabled products available to customers.
    name: Product Catalog
  - description: >-
      APIs for managing delivery schedules, shipping addresses, delivery
      methods, and tracking order status.
    name: Delivery & Shipping
  - description: >-
      APIs for handling subscription cancellations, retention activities, and
      customer feedback management.
    name: Customer Retention
  - description: >-
      APIs for integrating loyalty programs with subscriptions including points
      redemption and earning options.
    name: Loyalty Integration
  - description: >-
      APIs for accessing portal customization settings, translations, and theme
      configurations.
    name: Customization
  - description: >-
      APIs for retrieving promotional campaigns shown in the customer portal,
      tracking banner engagement, and redeeming campaign offers.
    name: Campaigns
  - description: >-
      APIs for local pickup and click-and-collect — listing pickup locations and
      resolving eligible pickup dates and time slots.
    name: Store Pickup
paths:
  /subscriptions/cp/api/bundle-discount-rules:
    get:
      tags:
        - Product Catalog
      summary: List discount rules applicable to bundles
      operationId: getBundleDiscountRules
      responses:
        '200':
          content:
            '*/*':
              schema:
                items:
                  $ref: '#/components/schemas/BundleDiscountRuleDTO'
                type: array
          description: OK
components:
  schemas:
    BundleDiscountRuleDTO:
      properties:
        allowedCountries:
          type: string
        allowedTags:
          type: string
        announcementBarMessage:
          type: string
        appliesOn:
          enum:
            - PRODUCT
            - COLLECTION
            - BOTH
            - ONE_TIME
            - SUBSCRIPTION
          type: string
        automaticDiscountNodeId:
          type: string
        automaticShippingDiscountNodeId:
          type: string
        averageOrderValue:
          format: double
          type: number
        badgesBackgroundColor:
          type: string
        badgesStyles:
          enum:
            - TRIANGLES
            - NORMAL
          type: string
        badgesTextColor:
          type: string
        blockTitleColor:
          type: string
        blockTitleFontSize:
          format: int32
          type: integer
        blockTitleFontStyle:
          type: string
        borderRadius:
          format: int32
          type: integer
        bundleHtml:
          type: string
        bundlePageBackgroundColor:
          type: string
        bundleProductId:
          format: int64
          type: integer
        bundleRedirect:
          enum:
            - CART
            - CHECKOUT
            - CUSTOM
            - NONE
          type: string
        bundleSubType:
          enum:
            - BUY_X_GET_Y
          type: string
        bundleType:
          enum:
            - MIX_AND_MATCH
            - CLASSIC
            - INFINITE
            - CUSTOMIZE_BUNDLE
            - CLASSIC_BUILD_A_BOX
            - SINGLE_PRODUCT_BUILD_A_BOX
            - VOLUME_DISCOUNT
            - DISCOUNTED_PRICING
            - SHIPPING_DISCOUNT
            - BUY_X_GET_Y
            - SECTIONED_BUNDLE
            - COMBO_BUNDLE
          type: string
        bundleVariantId:
          type: string
        buttonBackgroundColor:
          type: string
        cardBackgroundColor:
          type: string
        cardBorderColor:
          type: string
        cardGap:
          format: int32
          type: integer
        cardHoverColor:
          type: string
        clearCart:
          enum:
            - DEFAULT
            - ENABLED
            - DISABLED
          type: string
        collectionData:
          type: string
        combinedWithOrderDiscount:
          type: boolean
        combinedWithProductDiscount:
          type: boolean
        combinedWithShippingDiscount:
          type: boolean
        combos:
          type: string
        conversionRate:
          format: int64
          type: integer
        countrySelectionType:
          enum:
            - ALL_COUNTRY
            - SELECTED_COUNTRY
          type: string
        customRedirectURL:
          type: string
        customerIncludeTags:
          type: string
        dedicatedSubscriptionLayout:
          enum:
            - LAYOUT_ONE
            - LAYOUT_TWO
            - LAYOUT_THREE
          type: string
        description:
          type: string
        disabledTextColor:
          type: string
        discountAppliesOn:
          enum:
            - PER_QUANTITY
            - PER_ORDER
            - PER_LINE_ITEM
          type: string
        discountApplyApproach:
          enum:
            - SHOPIFY_DISCOUNT_FUNCTION
            - SHOPIFY_DISCOUNT_API
          type: string
        discountId:
          type: string
        discountName:
          type: string
        discountTargetType:
          enum:
            - PRODUCT
            - VARIANT
            - ANY
          type: string
        discountType:
          enum:
            - PERCENTAGE
            - FIXED_AMOUNT
            - FIXED_BUNDLE_AMOUNT
            - TIERED_DISCOUNT
            - NO_DISCOUNT
            - FREE_GIFT
          type: string
        discountValue:
          format: double
          type: number
        discountedProductChooseType:
          enum:
            - CHOOSE_ALL
            - CHOOSE_ONE
            - CHOOSE_SPECIFIC
          type: string
        discountedVariantSelectionLimit:
          format: int32
          type: integer
        discountedVariants:
          type: string
        enableAnnouncementBar:
          type: boolean
        enableSequentialProductLoading:
          type: boolean
        enableSubscription:
          type: boolean
        enableVolumeDiscountUpsell:
          type: boolean
        excludeSubscriptionPlans:
          type: string
        externalBuildABoxId:
          format: int64
          type: integer
        fieldDisabledBackgroundColor:
          type: string
        freeShipping:
          type: boolean
        getYAppliesOn:
          enum:
            - PRODUCT
            - COLLECTION
            - BOTH
            - ONE_TIME
            - SUBSCRIPTION
          type: string
        hasOptionChanges:
          type: boolean
        hasProductChanges:
          type: boolean
        headingTextColor:
          type: string
        hideOneTimePurchase:
          type: boolean
        hideSubscriptionPurchase:
          type: boolean
        id:
          format: int64
          type: integer
        includedSubscriptionPlans:
          type: string
        internalName:
          type: string
        labels:
          type: string
        layoutType:
          enum:
            - LAYOUT_ONE
            - LAYOUT_TWO
            - LAYOUT_THREE
            - LAYOUT_FOUR
          type: string
        limitToUsePerCustomer:
          format: int32
          type: integer
        maxOrderAmount:
          format: double
          type: number
        maxPrice:
          format: double
          type: number
        maxProductCount:
          format: int32
          type: integer
        minOrderAmount:
          format: double
          type: number
        minPrice:
          format: double
          type: number
        minProductCount:
          format: int32
          type: integer
        name:
          type: string
        numberOfProducts:
          format: int32
          type: integer
        oneTimeSubtitle:
          type: string
        oneTimeTitle:
          type: string
        otherProductsButtonBackgroundColor:
          type: string
        otherProductsButtonTextColor:
          type: string
        otherProductsImageSize:
          format: int32
          type: integer
        otherProductsModalButtonBackgroundColor:
          type: string
        otherProductsModalButtonTextColor:
          type: string
        otherProductsModalFullPriceColor:
          type: string
        otherProductsModalHeadingLabelColor:
          type: string
        otherProductsModalImageSize:
          format: int32
          type: integer
        otherProductsModalOverlayColor:
          type: string
        otherProductsModalPriceColor:
          type: string
        otherProductsModalProductPriceTextSize:
          format: int32
          type: integer
        otherProductsModalProductTitleColor:
          type: string
        otherProductsModalProductTitleTextSize:
          format: int32
          type: integer
        otherProductsModalSubtitleLabel:
          type: string
        otherProductsProductTitleColor:
          type: string
        otherProductsProductTitleSize:
          format: int32
          type: integer
        perRowItem:
          enum:
            - TWO
            - THREE
          type: string
        price:
          format: double
          type: number
        primaryColor:
          type: string
        primaryDisabledColor:
          type: string
        primaryDisabledTextColor:
          type: string
        primaryHoverColor:
          type: string
        primaryTextColor:
          type: string
        productCardBackgroundColor:
          type: string
        productChooseType:
          enum:
            - CHOOSE_ALL
            - CHOOSE_ONE
            - CHOOSE_SPECIFIC
          type: string
        productDiscountType:
          enum:
            - SELECTED_PRODUCT
            - EACH_PRODUCT
          type: string
        productHandle:
          type: string
        productSelectionType:
          enum:
            - PRODUCT
            - COLLECTION
          type: string
        productViewStyle:
          enum:
            - QUICK_ADD
            - VIEW_DETAILS
          type: string
        products:
          type: string
        purchaseRequirement:
          enum:
            - MINIMUM_AMOUNT
            - MINIMUM_QUANTITY
            - NO_REQUIREMENT
          type: string
        recurringCycleLimit:
          format: int32
          type: integer
        restrictTags:
          type: string
        saveBadgeBackgroundColor:
          type: string
        saveBadgeFontSize:
          format: int32
          type: integer
        saveBadgeFontStyle:
          type: string
        saveBadgeTextColor:
          type: string
        scheduledBundleRule:
          type: boolean
        secondaryTextColor:
          type: string
        sections:
          type: string
        selectedCardBackgroundColor:
          type: string
        selectedCardBorderColor:
          type: string
        selectionType:
          enum:
            - FIXED
            - FLEXIBLE
          type: string
        sellingPlanType:
          enum:
            - BUNDLE_LEVEL
            - PRODUCT_LEVEL
          type: string
        sequenceNo:
          format: int32
          type: integer
        sequentialProductsPerBatch:
          format: int32
          type: integer
        settings:
          type: string
        shop:
          type: string
        showBundleInProductPage:
          type: boolean
        showClassicBundleWidgetInChildProduct:
          type: boolean
        showPriceOfChosenProductsOnly:
          type: boolean
        showPriceWithSubscriptionPrice:
          type: boolean
        showPricesWithoutDecimal:
          type: boolean
        showUnitPrice:
          type: boolean
        singleProductSettings:
          type: string
        status:
          enum:
            - ACTIVE
            - PAUSED
            - DRAFT
          type: string
        style:
          type: string
        subTitle:
          type: string
        subscribeSubtitle:
          type: string
        subscribeTitle:
          type: string
        subscriptionBundleLink:
          type: string
        subscriptionBundlingEnabled:
          type: boolean
        subscriptionId:
          format: int64
          type: integer
        subscriptionPreselected:
          type: boolean
        subscriptionSubTitleFontSize:
          format: int32
          type: integer
        subscriptionSubTitleTextColor:
          type: string
        subscriptionTitleFontSize:
          format: int32
          type: integer
        subscriptionTitleTextColor:
          type: string
        subscriptionWidgetPosition:
          enum:
            - ABOVE
            - BELOW
          type: string
        tag:
          type: string
        themeType:
          enum:
            - THEME_ONE
            - THEME_TWO
          type: string
        tierFreeGiftBackgroundColor:
          type: string
        tierFreeGiftPriceFontSize:
          format: int32
          type: integer
        tierFreeGiftPriceFontStyle:
          type: string
        tierFreeGiftTextColor:
          type: string
        tierFreeGiftTitleFontSize:
          format: int32
          type: integer
        tierFreeGiftTitleFontStyle:
          type: string
        tierFullPriceColor:
          type: string
        tierFullPriceFontSize:
          format: int32
          type: integer
        tierFullPriceFontStyle:
          type: string
        tierPriceColor:
          type: string
        tierPriceFontSize:
          format: int32
          type: integer
        tierPriceFontStyle:
          type: string
        tierSubTitleColor:
          type: string
        tierSubTitleFontSize:
          format: int32
          type: integer
        tierSubTitleFontStyle:
          type: string
        tierTitleColor:
          type: string
        tierTitleFontSize:
          format: int32
          type: integer
        tierTitleFontStyle:
          type: string
        tierUnitLabelFontSize:
          format: int32
          type: integer
        tierUnitLabelFontStyle:
          type: string
        tieredDiscount:
          type: string
        topBarDiscountRequiredAmountMessage:
          type: string
        topBarDiscountRequiredQuantityMessage:
          type: string
        topBarDiscountUnlockTitlePrefix:
          type: string
        topBarFixedDiscountMessage:
          type: string
        topBarFreeShippingMessage:
          type: string
        topBarPercentDiscountMessage:
          type: string
        totalOrderValue:
          format: double
          type: number
        totalVisitor:
          format: int64
          type: integer
        trackInventory:
          type: boolean
        uniqueRef:
          type: string
        unitLabel:
          type: string
        upsells:
          type: string
        variantSelectionLimit:
          format: int32
          type: integer
        variantVisibilityType:
          enum:
            - SHOW_VARIANTS_AS_INDIVIDUAL
            - SHOW_VARIANTS_AS_OPTIONS
          type: string
        variants:
          type: string
      type: object

````