{"uid":"cap_C4O7RIJfcY7jaW7ZV3o9Y","slug":"dtc-multi-pack-bundle-pricing-contribution-margin-optimizer-d11c7c23","name":"DTC Multi-Pack Bundle Pricing & Contribution Margin Optimizer","description":"Deterministic 1-pack / 2-pack / 3-pack DTC bundle pricing & shipping-amortization calculator. Pass ?anchor_price_usd=24.00&unit_cogs_usd=4.50&shipping_usd=5.00. Returns compare-at price, bundle discount price, processing fee, net contribution dollars/margin per tier, and extra CPA headroom unlocked by multi-packs.","url":"https://x402-niche-briefs.fly.dev/v1/bundle-pricing-optimizer?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["anchor_price_usd","unit_cogs_usd","shipping_usd"],"properties":{"shipping_usd":{"type":"string","description":"Base outbound fulfillment/shipping cost for 1 unit in USD"},"unit_cogs_usd":{"type":"string","description":"Per-unit landed COGS in USD"},"anchor_price_usd":{"type":"string","description":"Single-unit retail anchor price in USD"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["as_of","inputs","tiers","profit_lift_vs_single"],"properties":{"as_of":{"type":"string"},"tiers":{"type":"object","required":["single_1_pack","duo_2_pack","family_3_pack"],"properties":{"duo_2_pack":{"type":"object","required":["units","customer_discount_pct","compare_at_usd","bundle_price_usd","per_unit_effective_price_usd","total_cogs_usd","estimated_shipping_usd","payment_processing_fee_usd","contribution_profit_usd","contribution_margin_pct"],"properties":{"units":{"type":"number"},"compare_at_usd":{"type":"number"},"total_cogs_usd":{"type":"number"},"bundle_price_usd":{"type":"number"},"customer_discount_pct":{"type":"number"},"estimated_shipping_usd":{"type":"number"},"contribution_margin_pct":{"type":"number"},"contribution_profit_usd":{"type":"number"},"payment_processing_fee_usd":{"type":"number"},"per_unit_effective_price_usd":{"type":"number"}}},"family_3_pack":{"type":"object","required":["units","customer_discount_pct","compare_at_usd","bundle_price_usd","per_unit_effective_price_usd","total_cogs_usd","estimated_shipping_usd","payment_processing_fee_usd","contribution_profit_usd","contribution_margin_pct"],"properties":{"units":{"type":"number"},"compare_at_usd":{"type":"number"},"total_cogs_usd":{"type":"number"},"bundle_price_usd":{"type":"number"},"customer_discount_pct":{"type":"number"},"estimated_shipping_usd":{"type":"number"},"contribution_margin_pct":{"type":"number"},"contribution_profit_usd":{"type":"number"},"payment_processing_fee_usd":{"type":"number"},"per_unit_effective_price_usd":{"type":"number"}}},"single_1_pack":{"type":"object","required":["units","customer_discount_pct","compare_at_usd","bundle_price_usd","per_unit_effective_price_usd","total_cogs_usd","estimated_shipping_usd","payment_processing_fee_usd","contribution_profit_usd","contribution_margin_pct"],"properties":{"units":{"type":"number"},"compare_at_usd":{"type":"number"},"total_cogs_usd":{"type":"number"},"bundle_price_usd":{"type":"number"},"customer_discount_pct":{"type":"number"},"estimated_shipping_usd":{"type":"number"},"contribution_margin_pct":{"type":"number"},"contribution_profit_usd":{"type":"number"},"payment_processing_fee_usd":{"type":"number"},"per_unit_effective_price_usd":{"type":"number"}}}}},"inputs":{"type":"object","required":["anchor_price_usd","unit_cogs_usd","shipping_usd"],"properties":{"shipping_usd":{"type":"number"},"unit_cogs_usd":{"type":"number"},"anchor_price_usd":{"type":"number"}}},"profit_lift_vs_single":{"type":"object","required":["two_pack_extra_contribution_usd","three_pack_extra_contribution_usd","max_additional_cpa_headroom_on_2_pack_usd"],"properties":{"two_pack_extra_contribution_usd":{"type":"number"},"three_pack_extra_contribution_usd":{"type":"number"},"max_additional_cpa_headroom_on_2_pack_usd":{"type":"number"}}}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_75KL2yVX3bityNTDHkIHc","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Calculates 1-pack, 2-pack, and 3-pack DTC bundle prices with shipping amortization, contribution margins, and CPA headroom for each tier","exampleAgentPrompt":"My product retails for $24.00 with a unit COGS of $4.50 and shipping costs me $5.00 — can you run the bundle pricing optimizer to show me the 1-pack, 2-pack, and 3-pack prices with contribution margins and how much extra CPA headroom the multi-packs unlock?","exampleUseCases":[{"title":"Supplement brand multi-pack pricing","prompt":"I'm launching a collagen supplement DTC and my single unit sells for $39.00 with a COGS of $7.00 and $6.50 shipping — show me the optimal 2-pack and 3-pack bundle prices with contribution margins and what CPA headroom each tier gives me."},{"title":"Evaluating ad spend budget by bundle tier","prompt":"My skincare serum anchor price is $29.00, unit COGS is $5.50, and shipping is $4.75 — can you calculate how much more I can spend on Facebook ads if I push customers toward the 3-pack instead of the 1-pack?"},{"title":"Comparing gross margin across pack sizes","prompt":"I need to know my contribution margin and net profit dollars for 1-pack, 2-pack, and 3-pack versions of my pet supplement — anchor price is $22.00, COGS per unit is $3.80, and fulfillment cost is $5.25."}],"resultDescription":"Returns a structured breakdown for three bundle tiers (1-pack, 2-pack, 3-pack): compare-at price, bundle price, customer discount percentage, per-unit effective price, total COGS, estimated shipping (amortized), payment processing fee, contribution profit in dollars, contribution margin percentage, and an overall profit lift metric versus single-unit sales — plus additional CPA headroom unlocked by each multi-pack tier.","failureModes":["Missing required query parameters (anchor_price_usd, unit_cogs_usd, or shipping_usd) returns a 400 error","Non-numeric or negative values for price/COGS/shipping may return validation errors","COGS exceeding anchor price may produce negative margin outputs or error","Payment failure via x402 protocol returns 402 Payment Required","Service unavailability on fly.dev host returns 503 or timeout"],"whenToPreferThis":"Choose this endpoint when you need a fast, deterministic multi-pack bundle pricing calculation for a DTC product and have the three core inputs (anchor price, unit COGS, shipping cost) ready. It is purpose-built for ecommerce operators who want to understand contribution margin, shipping amortization, and CPA headroom across 1/2/3-pack tiers without building a custom spreadsheet model. Prefer it over general-purpose calculators or LLM-generated estimates when you need consistent, reproducible outputs tied to a specific pricing methodology.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T19:06:26.339Z","isFirstParty":false,"canonicalSlug":"dtc-multi-pack-bundle-pricing-contribution-margin-optimizer-d11c7c23"}