Transmission of orders to the WMS
The ecommerce store captures the order and the data of the customer. The WMS, or warehouse management system, orchestrates the inventory and the operations. The 3PL provider then executes the receiving, storage, preparation, handover to the carrier, and returns, according to the contractual scope of a 3PL in Switzerland [1].
Frequently Asked Questions
The e-commerce store captures the order and the data of the customer. The WMS, or warehouse management system, orchestrates the inventory and operations. The 3PL provider then executes the receiving, storage, preparation, handover to the carrier, and returns, according to the contractual scope of a 3PL in Switzerland [1].
Shopify, WooCommerce, or PrestaShop generally transmits the order via API or webhook. An API allows one system to query the other, while a webhook sends a notification when a specific event occurs, such as the validation of an order.
A WMS e-commerce integration flow then controls the minimum data: order ID, SKU, quantity, address, delivery method, and payment [2]. The WMS creates or updates the order, then makes it available for preparation.
At Emaloja, an order validated on an e-commerce site or a marketplace is immediately processed in the WMS.
The validation, modification, or cancellation of an order can trigger an exchange. A stock variation, a shipment, or a return can also cause an update from WMS to store.
Each event must have a clear rule: data transmitted, responsible system, applicable controls, and behavior in case of failure. This framework prevents a late change of address or quantity from going directly into preparation without verification.
Stock synchronization and prevention of overselling
The physical stock corresponds to the units present in the warehouse. The reserved stock covers the units allocated to orders that have not yet been fulfilled. The stock available for sale results from the rules of availability, after accounting for reservations and any safety stock.
The store must therefore receive a calculated availability, and not a theoretical total. Emaloja announces automatic updates in real time between its WMS and the store on its page dedicated to logistics integration.
The cycle to define includes:
- the receipt or adjustment of stock;
- the reservation upon validation;
- the decrementing at preparation or shipping;
- the release after cancellation;
- the distinct processing of a return after physical inspection.
▣ Platform
↓ Data to the WMS
↑ Data to the store
✓ Controls
▣ Shopify
↓ Product ID, SKU, order, quantity, destination
↑ Availability, shipping status, tracking, synchronization error
✓ Mapping of SKUs, reservations, location, duplicate management
▣ WooCommerce
↓ Product ID, SKU, order, quantity, destination
↑ Available stock, order status, shipping tracking, synchronization errors
✓ SKU and variant mapping, stock synchronization, webhooks, duplicate prevention, error recovery
▣ PrestaShop
↓ Product ID, SKU, order, quantity, destination
↑ Availability, shipping status, tracking, synchronization error
✓ SKU mapping, decrement rules, location, error recovery
Frequently Asked Questions
The WMS calculates availability according to the selected rules, and then publishes it via API or through an event-triggered mechanism. The frequency, affected locations, and failure handling must be defined in the integration architecture.
As a third-party example, WMS documentation for Shopify describes the automatic sending of stock movements and the import of orders via webhook [3].
Designate the WMS as the operational source of stock and deduct reservations before any publication. Each receipt, order, cancellation, transfer, or adjustment must trigger a controlled update on the affected channels.
The system can then suspend sales or reduce availability when data remains uncertain.
Multi-warehouse routing for Swiss fulfillment
Routing is a business rule executed after the availability check. It assigns the order to the site that meets the defined conditions, rather than allowing each operator to manually choose a warehouse.
Criteria must be prioritized:
- stock actually available at each site ;
- country or delivery area ;
- required transport service ;
- storage or handling constraints of the product ;
- preparation capacity ;
- policy applicable to returns.
In an illustrative scenario, an order destined for Geneva is assigned to the site that holds the available stock and complies with the destination rule. If no site meets the conditions, the WMS places the order in an exception queue instead of automatically confirming it.
Emaloja presents an integrated ecommerce and e-logistics solution for Switzerland, France, and the European Union.
Frequently Asked Questions
The WMS compares the order to the rules of availability, destination, transport, and product processing. It selects the eligible site or reports an exception when no assignment is valid.
The digital system applies the rules and transmits the order. STAR Logistics performs the physical operations within its scope, including preparation, packaging, shipping, and processing of returns.
Statuses, tracking and handling of synchronization errors
A reliable integration retains the last validated data
and records each error with its context. It also uses a
stable order identifier to avoid duplicate creation.
Errors to cover include an unmapped SKU,
unavailable stock, a duplicate order, an incomplete address,
a failure of authentication, or temporary unavailability of a system.
Frequently Asked Questions
The system retains the last confirmed information, logs the incident, and blocks the action that depends on uncertain data. It then restarts the exchange in a controlled manner, without recreating the order using its unique identifier.
If the error persists, the order joins an operational intervention queue. The team can then correct the SKU, complete the address, adjust the allocation, or wait for the restoration of the concerned system.
The WMS successively returns the pickup, the preparation, the shipping, the tracking number, and, if applicable, the return. Emaloja indicates that its WMS allows you to manage orders, inventory, and returns from a single digital interface..
The Emaloja WMS also ensures real-time tracking of shipments. This does not guarantee that each status is immediately replicated across any Shopify or PrestaShop configuration.
Before going live, check:
- the matching of SKUs;
- the reservation rules;
- the matching of warehouses;
- the cancellation and return scenarios;
- the error log;
- a complete test, from order to tracking.