Shipping Integration for Online Stores: Rates, Carriers, Labels and Tracking
A customer finds the right product, adds it to the cart and discovers that shipping information is missing or unclear. Meanwhile, the store team copies addresses into a carrier portal, creates labels and emails tracking
A customer finds the right product, adds it to the cart and discovers that shipping information is missing or unclear. Meanwhile, the store team copies addresses into a carrier portal, creates labels and emails tracking numbers individually. Handling a few orders this way may be manageable, but the process becomes expensive and prone to errors as sales grow. E-commerce shipping integration connects the checkout, fulfilment operation and carrier systems so that customers can choose practical delivery options and staff can process orders efficiently.
What does shipping integration actually mean?
Adding a carrier name to a checkout menu is not the same as integrating its services. A complete setup may retrieve delivery options, calculate rates, find pickup locations, create shipments, print labels and obtain tracking events. The available features depend on the carrier, account, service agreement, platform and integration software. Some plugins only display rates; others automate fulfilment after an order has been placed.
An application programming interface (API) enables the store to exchange structured data with another system. For example, the store sends destination details and package dimensions to a carrier's rating service. The carrier returns eligible options and prices. A separate request may create a shipment later. The payment record, transport label and tracking status are distinct objects, even when they appear together in the administration panel.
The store connects the buyer, fulfilment operation and carrier.
Choosing carriers for your target markets
For merchants in North America, UPS and FedEx are examples of carriers with documented rating and tracking interfaces. USPS may also be relevant for eligible US businesses. In Europe, delivery networks such as DHL, DPD, GLS and InPost can offer different combinations of courier delivery, pickup locations or parcel lockers, depending on the country. For cross-border sales, DHL Express is one example of an international service with an integration API.
Choose services based on actual routes, package specifications, reliability, returns and contract pricing. A carrier that works well for small accessories may be unsuitable for bulky furniture. In some countries, customers routinely use lockers; in others, home delivery is more common. If you sell to multiple countries, configure methods for each destination rather than displaying one global list.
Carriers typically require their own account credentials, and particular operations may require a commercial agreement. Check which API features you can access before buying a plugin or commissioning custom implementation. The official UPS developer resources, FedEx developer portal, DHL API catalogue and InPost documentation are useful starting points.
Flat rates, conditional rules and live carrier quotes
Flat rates are straightforward: a merchant decides how much customers pay for each destination or delivery method. Conditional rates use factors such as order value, total weight or shipping class. Live carrier quotes request eligible services and prices using actual shipment information. A store may combine all three models, for example offering a standard rate for local parcels and calculated rates for international delivery.
Consider a hypothetical market where standard delivery costs the customer €6, free delivery applies to eligible orders over €100, and express delivery is calculated separately. These are illustrative business rules, not actual carrier tariffs. If a parcel costs the merchant €8 to ship but the buyer pays €6, the business absorbs €2. A free-shipping promotion is still a real expense for the merchant.
Accurate estimates require packaging data, including dimensions and weight of the packed shipment rather than the products alone. Carriers may use dimensional weight, surcharges or negotiated rates. A checkout quote is therefore not necessarily identical to the eventual carrier invoice. Decide whether mixed carts will ship together, in several boxes or from different warehouses.
Making checkout convenient
Customers should be able to see the available shipping options, cost and relevant delivery estimate before committing to the order. Address-based delivery requires validated destination details. Pickup and locker services need an up-to-date location list, search functionality and the storage of a stable location identifier. A mobile shopper should not have to scan hundreds of pickup points manually.
Consider accessibility, address formats and local postal code requirements. Avoid promising delivery on a specific date merely because a carrier provides transit time. The store's handling time, holidays and stock availability can change the actual arrival date. Make sure payment and shipping methods remain compatible, particularly for cash on delivery or restricted products. Our guide to online payment integration covers the payment side of the customer journey.
Shipment creation, labels, tracking and returns
Once an order is ready for dispatch, the fulfilment team can create a shipment in the store administration area or a connected warehouse or CRM system. A successful request returns a reference that should be saved against the order. Depending on the service, the integration can also obtain a PDF or thermal printer label. A label being created is not proof that a parcel has been handed to the carrier.
Design the process to avoid duplicate shipments. If a request times out, determine whether the carrier already created a shipment before trying again. Use unique references and any supported idempotency mechanism. Tracking events may be received by webhook or requested periodically. Map carrier-specific events to clear customer communications, and do not send repetitive notifications whenever the same event arrives. Keep separate states for dispatch, delivery, return and refund; a returned parcel does not automatically settle the financial side of the transaction.
Start with checkout rules, then add fulfilment and full automation as justified.
WooCommerce and Shopify shipping integration
WooCommerce provides shipping zones and basic methods such as flat rate, free shipping and local pickup. Advanced carrier integrations typically use extensions or custom server-side development. Check compatibility with the current WooCommerce version, order storage, checkout blocks, payment methods and your actual carrier account. Avoid choosing an extension based solely on the number of carriers listed on a sales page.
Shopify supports shipping profiles, rates and carrier or app integrations. However, calculated rates, label purchases and pickup functionality can depend on the merchant's plan, location and selected service. Verify each required feature before deciding on a subscription or app. A store with complicated packing rules or multiple warehouses may need additional fulfilment software even if the basic checkout is simple.
Launch checklist and reliability
- Confirm eligible services, regions, delivery addresses and pickup locations.
- Test standard, oversized, mixed and free-shipping carts with actual packaging assumptions.
- Verify label creation, cancellation, tracking, returns and customer notification templates.
- Test API failures. Provide a clear manual review or fallback method, rather than silently treating a failed quote as free shipping.
- Keep credentials server-side, grant restricted permissions when possible and avoid exposing customer information in logs.
- Decide which system owns shipment creation. Two independent systems must not create a label for the same order.
Test on desktop and mobile, with realistic order data and any carrier sandbox available. An integration needs monitoring after launch because carrier API versions, credentials, platform updates and delivery restrictions can change. If the store already uses a business management system, a CRM integration may reduce the need for duplicated work.
Our approach at CianBay Studio
We plan shipping alongside store architecture, payments and inventory when building a WooCommerce store or a Shopify store. The appropriate scope depends on the business: a small brand might need only basic delivery rules, while a multi-market merchant could require automatic label creation, several warehouses and consolidated tracking. Carrier accounts and commercial software licences belong to the client. Integration costs depend on the required workflow and the documented capabilities of the selected services.
Frequently asked questions
Do I need a separate plugin for every carrier?
Not necessarily. Some integrations are designed for multiple carriers or a shipping aggregator. Check the carrier coverage, account requirements, supported operations and ongoing costs.
Can I provide free shipping without a live carrier API?
Yes. Free or fixed rates can be configured independently. You still need a realistic way to account for actual transport expenses and restrictions at fulfilment.
What happens if a carrier API is down?
A store should have explicit fallback rules, a manual fulfilment procedure or a different eligible delivery method. Do not send an incomplete shipment or display an invented price.
What is different about international shipping?
Cross-border shipments may need product classification, customs details, declared values, duties and country-specific restrictions. Confirm requirements with the carrier and qualified customs specialists where applicable.
Official documentation
- WooCommerce: shipping zones
- WooCommerce: shipping classes
- Shopify: shipping zones and rates
- Shopify: pickup points
- UPS: developer resource centre
- FedEx: official API catalogue
- DHL: developer API catalogue
Originally published at CianBay Studio.
Disclosure: This article was prepared with AI assistance.
Originally published by Dev.to WebDev. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.