Back to workWork / MySellerHub

MySellerHub

A shared model across independent commerce channels

Multichannel architecture and integrations

The outcome

The architecture supported a connected path from publishing a product in another channel to returning its fulfillment status; the current public product emphasizes Shopify and Amazon inventory.

Multichannel commerce · Igor Bartenev

What I owned and delivered

My responsibility

I designed a multichannel commerce model and the synchronization paths connecting listings, inventory, orders and fulfillment.

Delivered capability

  • Channel-specific products and identifiers map into a common model for publishing and stock synchronization.

  • Orders connect to the relevant fulfillment source, with shipment tracking returned to the originating channel.

Public product context

Sources checked
products ready to list
10,000+

The current product website reports this catalog figure. Its present offering is separate from the broader multichannel model I worked on.

Explore this project

All public links
01 / The challenge

The challenge

Each sales channel described the same product and order differently, making synchronization a domain problem rather than a simple API call.

02 / How I approached it

How I approached it

I separated products from channel listings and mapped external identifiers into a shared model. Shopify sales-channel and supplier operations follow separate paths. Order import connects to warehouse assignment, while stock synchronization tracks the desired quantity, its version and what was last sent.

System flow
  1. Sales channels

  2. Shared product model

  3. Inventory & routing

  4. Fulfillment & reconciliation

What that means in practice

Architecture & decisions

01

Sales channel and supplier

Shopify can be a sales channel receiving products and sending customer orders, or a supplier providing a catalog and fulfilling purchase orders. These roles use separate workflows around a shared product and listing model. Supplier orders carry a local reference used to look for an existing external order before creating another.

02

Stock can change during an update

Each stock target has a desired quantity and version. After sending an update, the worker checks whether that version is still current. If stock changed in the meantime, the item stays pending for another attempt. Buffer and stock-cap rules adjust the target before it is sent to the channel.

03

Continuing an order import

Imported orders are matched by store, integration and external ID, then their lines are matched to listings. A later sync can revisit warehouse assignment for existing lines and update fulfillment and tracking. This keeps a partially processed order within the same model instead of creating an unrelated copy.

Inside the implementation

Architecture in practice

Temporary data with an expiryMySellerHub uses Redis for temporary reference-data caching and short-lived state during store connections.
  1. Read cached data
  2. Load on a miss
  3. Store with TTL
  4. Invalidate after changes

JSON data is stored with SETEX and restored into response models. Categories and brands use a 20-minute TTL; category searches can bypass the cache. Selected updates explicitly invalidate entries. OAuth state has a separate 10-minute lifetime and is removed after processing the connection response.

Webhooks connected to operationsShopify fulfillment callbacks connect external events to internal orders, line items and warehouse fulfillment data.
  1. Verify raw-body HMAC
  2. Identify the event
  3. Map fulfillment lines
  4. Update operational data

The handler checks the signature against the raw request body before parsing JSON. Fulfillment requests are accepted and mapped to internal line items with external fulfillment IDs and quantities. When the event lacks an order object, the workflow synchronizes requested fulfillment orders for that store.

Stored notifications and live signalsMySellerHub stores user notifications separately from the lightweight signals that announce updates through PostgreSQL NOTIFY.
  1. Identify user and object
  2. Store the notification
  3. Publish a user signal

A notification record connects the user, affected object, notification type, status and display flag. A separate operation publishes a JSON signal to that user’s PostgreSQL channel. The saved record and the transient signal serve different purposes: keeping a notification available and announcing that something has changed.

04 / Tools & technologies

Tools & technologies

Explore all skills (35)
Continue exploring

Onlihub Catalog

Contact / Kraków, Poland

A role or a project? Let’s talk.

Hiring for your team or looking for help with a product? Tell me about the role or the problem. A name, contact and short outline are enough to start.

The portfolio, inside TelegramBrowse projects and send an offer in the Mini App. Open the bot, then choose the app.Open the bot

Start a conversation

A role, a product, or a technical challenge. Share a little context.

To use the form, enable JavaScript. You can also write to me directly on Telegram.

Write on Telegram