Repository navigation
Open
Labels
e-commerceShopping, product catalog, store and marketplace connectorsenhancementNew feature or requestintegrationsSearch Console, Analytics, Composio, webhookssecurity-reviewTouches credentials, scopes or personal data; needs a security review before merge
Description
Summary
Connect a Shopify store to a brand and keep its catalog in Ansvisor. This is the first connector on the framework in #1263, and it writes into that issue's catalog model. It covers SHOP-002, SHOP-003 and SHOP-005 of #1265.
Scope
- App: a public Shopify app owned by the company.
- This issue needs only
read_products. read_orderscomes with the orders issue (feat(integrations): Shopify orders, with AI-referred revenue per product #1267), andwrite_productswith Push to Shopify.
- This issue needs only
- Install from two places, one connection:
- The two entry points are the Shopify App Store and "Connect Shopify" on the Shopping page.
- Both end in the same OAuth grant and one connection row for the brand.
- E-commerce brand on install:
- An install with no Ansvisor account goes through sign-up, then creates the brand.
- Either way, the brand is marked e-commerce with
markBrandAsEcommerce. It sets the industry when the brand has none and turns on Shopping mode (brands.shopping_mode_enabled), so the product views show in the menu.
- Credentials: the shop's access token is stored through the framework's credential store, never in logs, and is not readable by
authenticated. - Initial import:
- Products, variants, images, barcode (GTIN), SKU, price, availability and product URL.
- Collections become categories.
- Use the Admin GraphQL API, with bulk operations for large stores.
- Updates:
products/create,products/updateandproducts/deletewebhooks with HMAC verification. The framework's daily sync is the backstop. - Mandatory webhooks (SHOP-005):
app/uninstalleddeletes the credentials and stops syncs.customers/data_requestandcustomers/redactare answered. We store no customer data, so there is nothing to return or delete.shop/redactdeletes the store's catalog.
Acceptance criteria
- A development store with 1,000 products imports fully, with images, variants and categories.
- An edit in Shopify shows in Ansvisor within 5 minutes.
- Installing from the App Store and from the Shopping page gives the same single connection row.
- Uninstalling removes the credentials and stops syncs. A webhook with a bad HMAC is rejected.
- The mandatory webhooks pass Shopify's automated checks.
- No token appears in logs or is readable by
authenticated.
Metadata
Metadata
Assignees
Labels
e-commerceShopping, product catalog, store and marketplace connectorsenhancementNew feature or requestintegrationsSearch Console, Analytics, Composio, webhookssecurity-reviewTouches credentials, scopes or personal data; needs a security review before merge
Activity
cihan-gyk commentedon Oct 27, 2026
@gkhngyk A question on Send to CMS → Shopify (#1331), the next connector after WordPress (#1569–#1572). It touches this issue's app.
Pages would go to the store's blog as draft articles. That uses the Admin GraphQL
articleCreateandarticleUpdatewithisPublished: false, and needs thewrite_contentscope. It also needsread_content, to list the blogs and to read whether an article was published.catalog_source_credentials, if the store becomes ashopifycatalog source as in 00282. The CMS PRs would build on feat(integrations): Shopify app install (OAuth), catalog sync and mandatory webhooks #1266's install, and wait for it.read_contentandwrite_contentgo into the app's scopes from the start? Then the App Store review (feat(integrations): Shopify App Store listing and review #1269) covers them once. Shopify asks merchants to approve again when scopes are added after install. Send to CMS asks before it writes, and writes drafts only.Until you say, I'll do the Framer guide and Wix, and leave Shopify's code until #1266's install is there.
gkhngyk commentedon Oct 29, 2026
@cihan-gyk Yes, one install per brand: Send to CMS → Shopify uses this issue's app and connection, with no OAuth flow of its own, and reads the shop's token from there.
read_contentandwrite_contentgo into the app's scopes from the start, so the App Store review covers them once. Build the Shopify CMS PRs on top of this install.