Multiple Shipments Integration
The ESW SFCC Cartridge provides the capability to handle multiple shipments for a single order. This allows retailers to send multiple shipment packages for an order to ESW.
The ESW SFCC Cartridge provides the capability to handle multiple shipments for a single order. This allows retailers to send multiple shipment packages for an order to ESW.
The relevant shipment payload information is stored in SFCC custom order attributes, which can be used to synchronize with downstream systems such as OMS, WMS, or customer notification services.
Enabling the Feature
To enable or disable the multiple shipments feature:
- Go to the Business Manager
- Open Merchant Tools → Custom Preferences
- Open the ESW General Configuration preference group
- Scroll to the preference:
- Select:
Yesto enable the featureNoto disable the feature
Note:
By default, this preference is set toNo.
How to Test Multiple Shipments
Step 1: Create a Multi-Shipment Order
- Create an order containing multiple shipments in the storefront or Business Manager.
Step 2: Ship Each Shipment in Business Manager
For each shipment:
- Open the order in Business Manager
- Click the Shipment
link - Click Shipping status
- Change the status to:
- Apply the changes
Repeat these steps for each shipment in the order.
Step 3: Run the Package Feed Job
- Navigate to Administration → Jobs
- Select the job:
- Run the job
Step 4: Verify ESW Package Response
Once the job completes successfully:
- The ESW package response is saved on the order in the custom order attribute:
Screenshot Code Snippet – ESW Package JSON (Order Attribute)
The following example reflects the ESW Package JSON stored against the order, as shown in the Business Manager screenshot.
This JSON represents:
- Multiple packages generated for a single order
- Each package mapped to a shipment
- Individual tracking numbers per shipment
Storefront Behaviour
Once multiple shipments are processed:
- The shopper will see multiple tracking numbers
- Each tracking number corresponds to a separate package
- Tracking details are displayed on the Order Confirmation / Receipt page
Example behaviour:
- Shipment 1 → Tracking Number A
- Shipment 2 → Tracking Number B
- Shipment 3 → Tracking Number C
Key Notes
- Each shipment is treated as an individual package by ESW
- Tracking numbers are returned per package
- The ESW Package JSON attribute can be used for:
- Customer notifications
- OMS/WMS synchronization
- Shipment reconciliation
- Support and tracking visibility