Data Flow

Shop and marketplace integrations handle data flowing in two directions: outbound (ERP to platform) and inbound (platform to ERP). Understanding these patterns is key to building a reliable integration.

Overview

                    OUTBOUND (ERP β†’ Platform)
              β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
              β”‚  Articles, Stock, Prices,        β”‚
              β”‚  Order Status, Fulfillment       β”‚
              β”‚                                  β”‚
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚          │──┼─►│  Fetch    │─►│ Transform  │──┼─►│          β”‚
β”‚  VARIO   β”‚  β”‚  β”‚  from ERP β”‚  β”‚ to Platformβ”‚  β”‚  β”‚ External β”‚
β”‚  ERP     β”‚  β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β”‚  β”‚ Platform β”‚
β”‚          β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β”‚          β”‚
β”‚          β”‚                                        β”‚          β”‚
β”‚          β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”‚          β”‚
β”‚          β”‚β—„β”€β”Όβ”€β”€β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  │◄─│          β”‚
β”‚          β”‚  β”‚  β”‚  Import   │◄─│ Transform  β”‚  β”‚  β”‚          β”‚
β”‚          β”‚  β”‚  β”‚  to ERP   β”‚  β”‚ to ERP fmt β”‚  β”‚  β”‚          β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
              β”‚                                  β”‚
              β”‚  Orders, Customers, Products     β”‚
              β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                    INBOUND (Platform β†’ ERP)

Outbound Data Flow (ERP to Platform)

Outbound synchronization pushes data from VARIO ERP to the external platform. This is typically triggered by changes in the ERP β€” when a product is updated, stock levels change, or an order is fulfilled.

Trigger

A webhook from VARIO ERP notifies your app about the change. Common outbound triggers:

Webhook Event
Data Synced

article.update

Product master data, descriptions, images

stock.update

Inventory levels

article-price.update

Prices and price tiers

Document status change

Order fulfillment, tracking numbers

Flow

  1. Webhook received β€” VARIO ERP sends a notification to your app with the entity ID

  2. Queue β€” Your app adds the item to a processing queue (see Queue-Based Processing)

  3. Fetch β€” The queue processor retrieves the full entity data from VARIO ERP using VQL or the REST API

  4. Transform β€” Your app maps the ERP data structure to the platform's expected format

  5. Push β€” Your app sends the transformed data to the platform's API

Example: Outbound Article Sync

Inbound Data Flow (Platform to ERP)

Inbound synchronization pulls data from the external platform into VARIO ERP. The most common inbound flow is order import β€” pulling new orders from the shop into the ERP for processing.

Trigger

Inbound flows are typically triggered by:

  • Polling β€” Your app periodically checks the platform for new data (e.g., new orders since the last check)

  • Platform webhooks β€” The external platform notifies your app about changes (if the platform supports webhooks)

  • Manual trigger β€” A user clicks a button in your app's UI to start an import

Flow

  1. Fetch β€” Your app retrieves data from the platform's API

  2. Transform β€” Map the platform data to VARIO ERP's expected format

  3. Import β€” Use the MultiPart Importarrow-up-right API to push data into the ERP

Example: Inbound Order Import

Choosing the Right Pattern

Scenario
Recommended Pattern

Product data to platform

Outbound, webhook-triggered

Stock levels to platform

Outbound, webhook-triggered

Prices to platform

Outbound, webhook-triggered

Orders from platform

Inbound, polling or platform webhooks

Customers from platform

Inbound, alongside order import

Order status to platform

Outbound, webhook-triggered

Incremental vs. Full Sync

Incremental sync processes only the data that changed since the last sync. This is the default approach for ongoing operations β€” webhooks naturally deliver only changed entities.

Full sync processes all data regardless of change status. This is useful for:

  • Initial setup (first-time sync of the entire product catalog)

  • Recovery after errors

  • Periodic reconciliation

For full syncs, consider performance implications and rate limiting.

Last updated

Was this helpful?