Product Bundles
Generate bundle-specific discount code
Creates a Shopify discount code specifically for a subscription bundle. This endpoint generates unique, single-use or multi-use discount codes tied to bundle purchases.
Full behavior, validation rules, and side effects
Key Features:
- Bundle-Specific Codes: Discounts that apply only to specific bundles
- Flexible Discount Types: Percentage off, fixed amount off, or free shipping
- Usage Limits: Single-use, limited use, or unlimited codes
- Expiration Dates: Set validity periods for promotional campaigns
- Minimum Requirements: Minimum purchase amount or quantity thresholds
- Customer Eligibility: Restrict to specific customer segments or tags
Discount Configuration:
- Code Format: Custom code or auto-generated random code
- Discount Value: Percentage (e.g., 15%) or fixed amount (e.g., $10)
- Start/End Dates: Campaign duration controls
- Usage Limit: Max number of times code can be used
- Once Per Customer: Prevent code reuse by same customer
- Bundle Association: Links discount to specific bundle token
Use Cases:
- Create promotional codes for bundle launches
- Generate unique codes for influencer campaigns
- Offer first-time subscriber discounts on bundles
- Seasonal or holiday bundle promotions
- Referral program discount codes
- Partner/affiliate exclusive bundle offers
Authentication: Requires API key authentication via X-API-Key header or api_key parameter
PUT
Generate bundle-specific discount code
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
Path Parameters
Bundle token identifier
Query Parameters
API Key (Deprecated - Use Header X-API-Key instead)
Body
application/json
Discount code configuration including code, value, type, and validity