Shopify integration in Spain
Sync products, orders and shipments between Corp-Merch and Shopify for Spain — built around VAT 21% via FACe/SII.
Architecture — Shopify as the storefront
Connect your Shopify store to Corp-Merch with the official app, scoped to read products and write orders. New orders in Shopify are mirrored to our fulfillment pipeline; shipments and tracking flow back. The SKU map is maintained in the dashboard with per-variant overrides so packs and bundles in Spain reconcile cleanly. VAT 21% is computed server-side using Shopify tax classes and FACe/SII mapping, with the gross/net split visible before each push.
How to wire it up — Webhooks and the Shopify Admin API
Install the Corp-Merch app from the Shopify store, then authorise the scopes: read_products, read_orders, write_orders, write_fulfillments. We subscribe to orders/create, orders/paid and orders/cancelled. Outbound webhooks from Corp-Merch (order.shipped, return.received, invoice.issued) post back to your endpoint or directly to the order timeline as notes — including the FACe/SII invoice id so AP in Spain can reconcile.
Operations and edge cases — Refunds, returns, custom items
Custom items (made-to-order merch) skip the Shopify inventory engine and go straight to our production queue; tracking back-references the original Shopify order. Refunds and returns are mirrored both ways so finance sees one source of truth. Idempotency keys derived from Shopify order ids prevent duplicates across retries. VAT 21% adjustments on partial refunds are recomputed and re-issued via FACe/SII.
FAQ
Which plan of Shopify do we need?
Any paid plan that supports custom apps. Enterprise plans get sandbox + production environments and SSO.
Can we keep Shopify as the source of truth for orders?
Yes — Corp-Merch is the fulfillment side. Orders, customers and addresses stay in Shopify; we only push status and tracking back.
How are taxes handled?
VAT 21% is computed against Shopify tax classes; invoices are issued via FACe/SII after fulfillment.
Do you support multi-currency?
Yes — Corp-Merch follows Shopify's presentment currency; settlement is EUR for Spain.
Where is VAT 21% shown?
On the order line in Shopify admin and in the Corp-Merch dashboard before push, itemised so finance can validate.