Skip to content

feat: add Shopify integration#83

Merged
Empreiteiro merged 1 commit intomainfrom
feature/shopify-integration
Mar 18, 2026
Merged

feat: add Shopify integration#83
Empreiteiro merged 1 commit intomainfrom
feature/shopify-integration

Conversation

@Empreiteiro
Copy link
Copy Markdown
Owner

Summary

  • Add Shopify as a new data source with 8 tables (orders, customers, products, variants, line_items, collections, inventory_items, refunds) and 5 report templates (Sales Overview, Product Performance, Customer Analytics, Inventory Health, Discounts & Refunds)
  • Backend: ask_shopify.py script with Shopify Admin API integration using Link header pagination, shopify_router.py with test-connection/discover/refresh-metadata endpoints
  • Frontend: ShopifySourceForm.tsx with store name + access token inputs, connection testing with shop info display, and resource count discovery

Test plan

  • Verify npm run typecheck passes (confirmed)
  • Test connection with a Shopify Custom App access token
  • Verify store discovery shows correct resource counts
  • Connect a Shopify source and ask questions about orders/products
  • Verify all 5 report templates load correctly
  • Check i18n strings render correctly in EN, PT, and ES

Closes #71

🤖 Generated with Claude Code

@Empreiteiro Empreiteiro force-pushed the feature/shopify-integration branch from cc13655 to c8d98a7 Compare March 18, 2026 21:54
Closes #71

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@Empreiteiro Empreiteiro force-pushed the feature/shopify-integration branch from c8d98a7 to 6987301 Compare March 18, 2026 22:07
@Empreiteiro Empreiteiro merged commit dde0d09 into main Mar 18, 2026
0 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: Shopify integration with fixed schema and report templates

1 participant