supply-chain-optimization-shopify
Supply Chain Optimization — Shopify/DTC 📦
Supply chain bottleneck analyzer for Shopify and Direct-to-Consumer stores. Diagnose cash flow, inventory, shipping, and customer acquisition costs.
Installation
npx skills add nexscope-ai/eCommerce-Skills --skill supply-chain-optimization-shopify -g
Platform Characteristics
| Feature | Shopify/DTC | vs Amazon |
|---|---|---|
| Fulfillment | Self-select (ShipBob/self) | FBA |
| Platform fee | None | 8-15% |
| Payment fee | 2.9% + $0.30 | Included in fee |
| Payment cycle | 2-3 days | 14 days |
| Traffic cost | High (self-built) | Low (platform) |
| Data ownership | Full | Limited |
Cost Structure (Shopify/DTC)
Selling Price $XX
├── Product Cost
├── Inbound Shipping (to warehouse)
├── 3PL Storage Fee (e.g., ShipBob)
├── 3PL Fulfillment Fee
├── Payment Processing (2.9% + $0.30)
├── Shopify Subscription (allocated)
├── Advertising (Meta/Google/TikTok) ← Key Cost
└── Net Profit
Benchmark Configuration
BENCHMARKS = {
"shopify": {
"gross_margin": {
"healthy": 0.60, # DTC needs high margin for ads
"warning": 0.50,
"danger": 0.40
},
"shipping_ratio": {
"healthy": 0.08, # 3PL fees
"warning": 0.12,
"danger": 0.18
},
"inventory_days": {
"healthy": 45,
"warning": 60,
"danger": 90
},
"cash_cycle": {
"healthy": 45, # Fast payment
"warning": 70,
"danger": 100
},
"net_margin": {
"healthy": 0.20,
"warning": 0.12,
"danger": 0.05
},
# DTC-specific metrics
"cac": { # Customer Acquisition Cost
"healthy": 0.25, # CAC < 25% of price
"warning": 0.35,
"danger": 0.50
},
"ltv_cac_ratio": { # LTV/CAC
"healthy": 3.0, # LTV > 3x CAC
"warning": 2.0,
"danger": 1.0
},
"ad_spend_ratio": { # Ad spend ratio
"healthy": 0.25,
"warning": 0.35,
"danger": 0.45
}
}
}
DTC-Specific Costs
Advertising Costs (Critical!)
Meta Ads (Facebook/Instagram): CPM $10-30
Google Ads: CPC $1-5
TikTok Ads: CPM $5-15
Influencer Marketing: Variable
DTC ad spend typically 20-40% of revenue
3PL Logistics Costs
Common 3PL Options:
├── ShipBob
├── Deliverr
├── ShipMonk
└── Red Stag
Fee Structure:
├── Receiving: $2-5/case
├── Storage: $0.5-1/cubic ft/month
├── Pick & Pack: $2-4/order
└── Shipping: By weight/zone
Payment Processing Fees
Shopify Payments: 2.9% + $0.30
PayPal: 2.9% + $0.30
Stripe: 2.9% + $0.30
High AOV: Ratio acceptable
Low AOV: Erodes profit
Input Data
**Sales (Shopify-specific)**
• Average Selling Price: $___
• Average Order Value (AOV): $___
• Payment Fee: 2.9% + $0.30
**Logistics (3PL)**
• 3PL Fulfillment Fee: $___/order
• 3PL Storage Fee: $___/unit/month
• Receiving Fee: $___/case
**Marketing (Critical!)**
• Ad Spend Ratio: ___%
• Customer Acquisition Cost (CAC): $___
• Customer Lifetime Value (LTV): $___
• Repeat Purchase Rate: ___%
API Integration
Shopify Admin API
export SHOPIFY_STORE_URL="xxx.myshopify.com"
export SHOPIFY_ACCESS_TOKEN="xxx"
Available Data
| Data | API |
|---|---|
| Orders | Orders API |
| Products | Products API |
| Inventory | Inventory API |
| Customers | Customers API |
3PL API (e.g., ShipBob)
export SHIPBOB_API_TOKEN="xxx"
Bottleneck Diagnosis Focus
DTC-specific bottlenecks:
- High CAC → Low ad efficiency, acquisition cost eating profit
- LTV/CAC < 3 → Customer value insufficient to support CAC
- High 3PL costs → Poor logistics choice
- Low repeat rate → Reliant on new customers, high cost
- Low gross margin → Cannot support ad spend
DTC Health Formula
Net Profit = Price - Product Cost - Shipping - Payment Fee - Ad Spend - Ops Cost
DTC Golden Ratios:
├── Gross Margin > 60%
├── Ad Spend < 30%
├── Shipping < 15%
├── Net Margin > 15%
└── LTV/CAC > 3
vs Amazon Comparison
| Item | Amazon | Shopify/DTC |
|---|---|---|
| Platform fee | 8-15% | 0% |
| Payment fee | Included | 2.9% + $0.30 |
| Payment cycle | 14 days | 2-3 days |
| Ad spend | 10-20% | 20-40% |
| Traffic | Platform | Self-built |
| Margin need | 40%+ | 60%+ |
| Data | Limited | Full ownership |
Part of Nexscope AI — AI tools for e-commerce sellers.
More from nexscope-ai/ecommerce-skills
dropshipping-product-research
Product research for dropshipping businesses. Identify profitable products with reliable suppliers, healthy margins, and manageable competition. Evaluates shipping times, return risk, and marketing viability.
153cross-border-ecommerce
Cross-border e-commerce expansion advisor. Scores target markets on 8 weighted dimensions (market size, ecommerce penetration, competition, regulatory complexity, logistics infrastructure, payment ecosystem, cultural distance, IP protection), compares 5 fulfillment models with cost and transit data, provides country-by-country tax/duty compliance guides (EU VAT/IOSS, UK VAT, US sales tax, CA GST, AU GST, JP consumption tax), maps local payment preferences by market, and builds a phased expansion roadmap. No API key required.
144product-description-generator
E-commerce product description generator for any platform. Generates optimized titles, bullet points, descriptions, and backend keywords using competitor research + keyword scoring + FABE copywriting. Two modes: (A) Create — generate listing from product specs with optional competitor analysis, (B) Optimize — improve existing listing with keyword gap analysis. Supports Amazon, eBay, Walmart, Shopify, Etsy, TikTok Shop, Lazada, Shopee. No API key required. Use when: (1) writing a new product listing, (2) analyzing what makes competitors rank, (3) improving an underperforming listing.
130etsy-seo
Etsy SEO analyzer and optimizer. Improve search visibility with title optimization, tag analysis, description scoring, and keyword research. Includes SEO scoring (0-100), long-tail keyword suggestions, and prioritized action plans. No API key required.
112ecommerce-marketing-strategy-builder
Full-stack e-commerce marketing strategy builder. Analyzes your product, market, and competitors, then builds a complete omnichannel marketing plan covering paid ads, SEO, email/SMS, content marketing, social media, influencer partnerships, and referral programs. Includes target audience persona, competitive landscape, channel prioritization with budget allocation, content direction, and a 90-day action plan. Works for any e-commerce platform — Shopify, Amazon, Etsy, WooCommerce, TikTok Shop, and more. No API key required.
106ecommerce-growth-strategy
E-commerce growth strategy advisor. Diagnoses current business health using unit economics (CAC, LTV, AOV, contribution margin), identifies the highest-impact growth opportunities across 5 levers (traffic, conversion, AOV, retention, expansion), and builds a prioritized 90-day growth roadmap. Uses the Ansoff Matrix adapted for e-commerce to evaluate market penetration, channel expansion, product expansion, and new market entry. Includes multichannel readiness assessment (Amazon, Walmart, TikTok Shop, Etsy, DTC/Shopify/Shopify) and product line expansion analysis. No API key required. Use when: (1) planning next phase of e-commerce growth, (2) deciding whether to expand to new channels or products, (3) diagnosing why growth has stalled, (4) prioritizing what to fix or build next.
97