Blog
    Shopify Plus

    Connecting GDI ERP to Shopify through middleware

    How GDI ERP and Shopify work through middleware: data ownership, orders, inventory, mapping, error handling and the PHARMOS NATUR case.

    See NICCOS more often on Google

    Add as preferred source on Google

    In brief

    • GDI ERP remains the operational system for inventory management and order processes, while Shopify owns storefront, checkout and commerce experience.
    • Middleware decouples both platforms, translates their data models and makes transfer failures controllable.
    • Before development starts, data ownership, direction, frequency and the error path must be defined for every object.
    • At PHARMOS NATUR, GDI ERP was integrated through middleware as part of the move from Shopware 6 to Shopify Plus.

    What does the GDI-Shopify integration do?

    The integration connects the Shopify sales channel to the operational processes in GDI ERP. Shopify is optimized for product presentation, customer journeys and checkout. The ERP coordinates inventory management, orders and downstream operations. Both systems need the same business events but model them differently.

    GDI describes its Vision Business-Line as an inventory-management platform for purchasing, warehousing, order processing and reporting. For ecommerce, GDI lists master data, prices, inventory, orders, delivery information and tracking among the relevant exchange objects. A specific Shopify setup only synchronizes the objects its operating model requires. Source: GDI Software on ecommerce integration.

    Why use middleware between GDI ERP and Shopify?

    Middleware prevents the store from depending directly on the ERP's availability and data model. It receives events, validates them, translates fields and statuses and hands them to the target system in a controlled way. Shopify can therefore remain available when GDI or one interface is temporarily unavailable.

    The integration layer also owns rules that do not belong in either standard platform: market and location mapping, payment and shipping mappings, bundle decomposition, status translation or excluding products that must not be sold online. Keeping this logic in one layer makes it traceable and testable.

    Which system owns which data?

    Every field needs exactly one system of record. Otherwise ERP and store overwrite each other. GDI commonly owns item numbers, operational prices, available inventory and order statuses. Shopify owns customer-facing content, media, metafields, navigation and checkout data. The exact split follows the existing operating processes.

    The key integration decision is not the endpoint. It is ownership: which system is allowed to change which value?

    Which data flows are typical?

    ObjectTypical directionKey decision
    Products and variantsGDI ERP → middleware → ShopifyWhich fields are master data and which remain commerce content?
    Prices and inventoryGDI ERP → middleware → ShopifyWhich price lists, locations and reservations count?
    OrdersShopify → middleware → GDI ERPWhen is an order ready and uniquely identifiable?
    Customer and address dataproject-specificHow are duplicates, guest orders and consent handled?
    Fulfillment and trackingGDI ERP → middleware → ShopifyHow are partial shipments and multiple parcels represented?
    Cancellations and returnsbidirectional by processWhich system triggers posting, inventory and refund?
    Reference model; the exact scope is defined during discovery and mapping.

    How does the integration stay reliable?

    Production middleware needs more than successful API calls. Orders must not disappear after a timeout or be created twice after a retry. The architecture therefore needs unique keys, idempotent processing, queues, retry rules, logging and a visible error state.

    • Every order receives a unique cross-system reference.
    • Failed transfers stay visible and can be repeated safely.
    • Mapping and validation errors are separated from temporary connection failures.
    • Monitoring checks business completeness, not just technical availability.
    • Changes to fields, rules and API versions go through tests and versioned releases.

    How does this work at PHARMOS NATUR?

    At PHARMOS NATUR, GDI ERP was connected through middleware during the replatforming from Shopware 6 to Shopify Plus. The ERP remains embedded in operational workflows, while Shopify Plus provides the new commerce platform. The integration layer separates these responsibilities and translates the required processes in a controlled way.

    This matters because the new store does more than sell products. It connects Green Luxury content, digital consultation, an international setup and a custom app for more than 400 partners. The GDI integration is therefore part of the wider commerce architecture rather than an isolated connector.

    How is an integration project delivered?

    1. Discovery: capture processes, data objects, volumes, exceptions and connected systems.
    2. Ownership matrix: define source, target, direction and write permissions for each field.
    3. Mapping: translate IDs, variants, prices, taxes, locations, payments, shipping and statuses.
    4. Technical build: implement endpoints, queue, validation, logging, retries and monitoring.
    5. Testing: cover standard cases, partial failures, retries, cancellations, returns and load peaks.
    6. Cutover: plan the data freeze, final synchronization, acceptance and monitored go-live.

    Frequently asked questions

    Can GDI ERP connect directly to Shopify?

    A direct connector can be enough for standardized processes. Custom data models, multiple systems and special business rules benefit from middleware that decouples both platforms.

    Which data typically flows between GDI and Shopify?

    Typical objects include products, prices, inventory, orders, addresses and fulfillment or tracking statuses. The exact scope depends on data ownership and business processes.

    How are duplicate orders prevented?

    A unique external order reference and idempotent processing ensure that repeated transfers never create a second order.

    What happens during an ERP outage?

    The middleware queues eligible events, logs the failure and retries according to defined rules without blocking the Shopify storefront.

    Clarity first. Decision second.

    30-minute first call. We listen, ask the right questions and give a clear assessment of data model, theme architecture, tracking and next steps.Free and non-binding · 30 min.

    You might also like.

    Shopify hreflang implementation

    September 26, 202610 min read

    Shopify Hreflang Implementation: Audit Markets, Theme Output and URLs First

    Read article
    Shopify multi location inventory

    September 26, 202615 min read

    Understand Shopify Multi Location Inventory Step by Step

    Read article
    Shopify Flow Automatisierung

    September 08, 202612 min read

    Shopify Flow Automation: Build Rules Teams Can Own

    Read article

    Trusted by Shopify brands

    NICCOS

    The page could not be loaded.

    Please reload the page. If an update has just gone live, this will load the latest version.