Overview
A home fragrance brand based in Ireland sells to wholesale (B2B) customers and to consumers through its WooCommerce store, and runs its business on NetSuite. It wanted one shipping process for both channels, run from NetSuite. Its shipping platform, ShipMate, had no NetSuite plugin or connector, so we built a custom integration.
The challenge
ShipMate was connected only to the web store, which left wholesale orders without a proper shipping process:- No way to choose carriers and services from NetSuite, or to route them by destination and weight.
- No package-level control over which products go in which carton.
- Labels, commercial invoices, freight costs and tracking numbers lived outside the ERP.
- Correcting a shipment meant working directly in ShipMate.
- No off-the-shelf NetSuite connector for ShipMate existed.
The solution
We built a custom NetSuite–ShipMate integration in SuiteScript 2.1, centered on the item fulfillment record. The core actions are workflow action scripts, so the brand's admins control when each one runs and how it behaves from NetSuite's workflow and script settings, without code changes.
Packages built inside NetSuite
Users choose ShipMate packaging (boxes, envelopes and cartons with their real dimensions and weights) on the Packages tab and assign each item line to a package. A line can be split across several packages in a pop-up editor that checks the quantities add up. Every parcel gets a unique reference, and the packing slip shows which package each item is in.
One click to ship
Send to ShipMate creates the shipment from the fulfillment, with the mapped carrier and service and one parcel per package. The shipment ID, per-parcel tracking references and freight cost are stored back on the fulfillment. Shipping labels and commercial invoices print straight from NetSuite, and a shipment can be cancelled, corrected and resent without opening ShipMate.
Customs handled automatically
Every international shipment carries a customs declaration built from the order. Freight and handling values can be calculated automatically and prorated across split shipments by value, weight or quantity, in the order's own currency.
Shipping methods managed in NetSuite
A cross-reference record maps each NetSuite shipping method to a ShipMate carrier and service, including An Post, DPD and FedEx, so routing changes don't need code. On the sales order, the integration rate-shops ShipMate and selects the cheapest service that is allowed from the shipping location and meets the order's item rules.
Tracking for B2B and B2C orders
Package-level tracking numbers and links appear on the item fulfillment. For web orders, tracking is pushed back to the WooCommerce order automatically, skipping numbers it already has, so customers see it without manual updates.
Built to run unattended
Scheduled scripts keep ShipMate services, packaging options and collection locations in sync. Authentication refreshes itself, generated documents are cleaned up automatically, and a sandbox safety switch stops test tracking from reaching live web orders.
The outcome
Shipping for both channels now runs from NetSuite. Wholesale and web orders are packed, labeled, documented for customs and tracked from the item fulfillment. Carrier and service choices are managed in NetSuite, and shipment problems are fixed without leaving the ERP.
Conclusion
When a platform has no NetSuite connector, a custom integration can make NetSuite the center of the process instead of one more system to re-key into. Because this one is built from configurable workflow actions, it can change with the business without new code.