Order and Customer Data Synchronization
Inbound order sync is the most critical integration path. When a customer places an order on Shopify, Magento, or WooCommerce, the integration must create a customer order (SLCos), populate line items (SLCoitems), resolve or create the customer record (SLCustomers), and set the correct ship-to address (SLCustaddr). Order acknowledgment flows back to the e-commerce platform to confirm receipt and provide an estimated ship date.
- Webhook-triggered order sync from Shopify/Magento to SLCos via REST API with sub-second processing
- Customer resolution logic: match by email in SLCustomers, create new customer record if no match found
- Map e-commerce line items to SLCoitems using SKU-to-item cross-reference in SLItemCustXref table
- Populate SLCustaddr with shipping address, creating new ship-to records when address is not on file
- Return order confirmation with SyteLine CO number and estimated ship date to the e-commerce platform
Inventory and Pricing Synchronization
Real-time inventory availability prevents overselling by pushing SyteLine's on-hand quantities from SLWhseitems to the e-commerce product catalog. Pricing sync ensures that price list changes in SLItemprice reflect immediately on the storefront. For B2B scenarios, customer-specific pricing from SLCustPrice must be resolved at login and applied to the customer's session.
- Push inventory updates from SLWhseitems.qty_on_hand to e-commerce on inventory transaction events via ION
- Calculate available-to-promise (ATP) from SLWhseitems considering allocations, safety stock, and in-transit quantities
- Sync price list changes from SLItemprice to e-commerce catalog via scheduled batch or event-driven updates
- Implement B2B customer-specific pricing by querying SLCustPrice IDO on customer login and caching per session
- Handle multi-warehouse scenarios by aggregating availability across SLWhseitems rows for the same item
Shipping, Returns, and Post-Order Workflows
After SyteLine processes and ships an order, the shipment confirmation from SLShipments with carrier tracking information must flow back to the e-commerce platform for customer notification. Returns initiated on the e-commerce side must create RMA records in SyteLine via SLRmas and SLRmaItems, triggering the returns receiving and credit memo workflow.
- Push shipment confirmation from SLShipments with tracking number and carrier code to e-commerce order status
- Map SyteLine pack/ship events to Shopify Fulfillment API or Magento Shipment API for customer notification
- Create SLRmas and SLRmaItems from e-commerce return requests with reason codes and return authorization numbers
- Sync credit memo generation from SLCrMemoHdr back to e-commerce for refund processing
- Implement order status webhook that queries SyteLine co.stat and ships updates to e-commerce order timeline
Try it here, free
SyteLine Job and Order Status Codes Reference
Look up what Planned, Firm Planned, Released, Stopped, Complete and the other SyteLine status codes mean and how they behave in planning and shipping.
Connect your e-commerce platform to SyteLine seamlessly: Netray's integration agents handle the complexity. Request a demo.