1. Home
  2. Blog
  3. Integration

Integration

What Is Shipping Integration and How Is It Done? A Guide to Shipments, Labels and Tracking for E-commerce

What is shipping integration and how does it work? Shipment records, labels, desi calculation, cash on delivery reconciliation, returns and a six-step setup.

Contents 14 sections
  1. What Is Shipping Integration?
  2. How Does Shipping Integration Work?
  3. What Data Does Shipping Integration Carry?
  4. How Are Desi and Shipping Charges Handled in the Integration?
  5. How Do You Work with More Than One Carrier?
  6. How Is Tracking Information Passed to the Customer and the Marketplace?
  7. How Are Cash on Delivery Collection and Reconciliation Done?
  8. How Are Returns and Damaged Shipments Managed?
  9. What Are the Routes for Shipping Integration?
  10. What Problems Come Up Most Often in Shipping Integration?
  11. What Should You Ask When Choosing a Shipping Integration?
  12. How Is Shipping Integration Set Up? A Six-Step Plan
  13. Shipping Integration with İnovabil
  14. Frequently Asked Questions

The order is confirmed, and now someone logs in to the carrier's panel, retypes the recipient's address, calculates the volume weight for the parcel, opens the shipment record, prints the label and sends the tracking number to the customer. With ten shipments a day that is a habit; with a hundred it is a whole shift of work. Shipping integration is the software connection that opens the shipment record, prints the label and writes the tracking information back to your system automatically from the order.

In this guide we explain how shipping integration works, what data it carries, how volume weight (desi) and charges are handled, working with more than one carrier, cash on delivery and the returns flow, integration routes, common problems and a six-step setup. Example figures are illustrative.

Key takeawayThe purpose of shipping integration is not to print labels faster, but to build one chain of records from order to delivery. The same shipment should be traceable by the same number on the order, shipment, collection and return sides.

What Is Shipping Integration?

Shipping integration is your e-commerce site, ERP or admin panel talking to a carrier's system through an API. Your system sends the shipment details to the carrier, the carrier returns the shipment record and tracking number, the label is printed from your system, and delivery status is written back to you over time.

Without integration, each shipment is entered by hand on a separate screen; the address, phone and desi information are typed a second time. With integration, order data turns directly into a shipment and the tracking information goes to the customer automatically.

We recommend reading: Our integration and API development service

How Does Shipping Integration Work?

It works in six steps: the order is confirmed, the carrier is chosen, the shipment record is opened, the barcode and label are printed, the tracking information is passed to the customer, and the delivery status is written back to the system.

Shipping integration flow: a confirmed order starts carrier selection, the shipment record is opened, the barcode and label are printed and tracking information is written back
One flow from order to label and tracking.
  1. Order approval: An order that is paid or confirmed triggers the shipping process.
  2. Carrier selection: The carrier is picked by rules such as desi, region or cash on delivery.
  3. Shipment record: Recipient, address and parcel details are sent to the carrier's API; the carrier returns the shipment and tracking numbers.
  4. Barcode and label: The label is printed from your system; the warehouse team labels the package and hands it over.
  5. Customer notification: The tracking number and link go to the customer and, if needed, to the marketplace.
  6. Status write-back: Events such as in transit, delivered, return or damage are posted to the order.
Tip: Put a price on manual shipping workA team that prepares 150 shipments a day at 1.5 minutes each spends 225 minutes, or about 3.75 hours, a day. The figure is illustrative; multiply by your own shipment count and you will see the first gain from integration.

What Data Does Shipping Integration Carry?

A shipment consists of four data groups: recipient, parcel, service and reference. Most rejected shipments and delivery problems come from this data being missing or wrong.

Data groupFieldsCommon problem
RecipientFull name, phone, province, district, neighborhood, street addressThe province and district names do not match the carrier's list; the phone is in the wrong format
ParcelNumber of pieces, dimensions, desi, actual weightDesi missing or wrongly calculated, creating a charge difference
ServiceCash on delivery amount, insurance, delivery type, carrier and service codeThe cash on delivery amount does not match the order
ReferenceOrder number, shipment number, tracking number, barcodeReturn and collection records cannot be tied to the shipment

That is why the reference fields matter: the order number, shipment number and tracking number should be kept linked in your system. Returns, damage and collection records are matched through that link.

How Are Desi and Shipping Charges Handled in the Integration?

Carriers charge the larger of desi (volume weight) and actual weight. For domestic shipments, desi is found by dividing the parcel's volume by 3000; the divisor can vary by carrier and service, so use the value in your agreement.

Desi and chargeable weightDesi = width (cm) × length (cm) × height (cm) ÷ 3000. Chargeable weight = the larger of desi and actual weight.

Example: a 40 × 30 × 25 cm parcel is 30,000 ÷ 3000 = 10 desi. Even if the parcel weighs 4.5 kg, the carrier charges for 10. A 30 × 20 × 15 cm parcel is 9,000 ÷ 3000 = 3 desi, and a 50 × 40 × 30 cm parcel is 60,000 ÷ 3000 = 20 desi.

In an integration, a product's dimensions and weight are kept on the product card; the system works out the parcel and desi from the cart, writes it to the shipment and derives the expected charge from the tariff. A product with missing dimensions means a wrong charge and an invoice difference from the carrier. To try desi and shipping cost quickly, you can use our desi calculator and shipping cost calculator (Turkish interface).

How Do You Work with More Than One Carrier?

Working with several carriers means picking the carrier for each shipment by a rule. Instead of applying the rule by hand, the integration does it automatically.

RuleExample
Desi bandSmall parcels go with one carrier, larger ones with the carrier whose agreement is better
RegionThe carrier strong in delivery to certain cities is chosen
Cash on deliveryCash-on-delivery orders are routed to the carrier that offers the service
Order amountHigh-value orders are shipped insured
Marketplace requirementIf a marketplace asks for a contracted carrier code, the shipment is opened with that code

Rules have priorities; a rule can also define a backup carrier for when a carrier cannot be reached. That way, when one carrier's API is down for a short time, shipments do not wait.

We recommend reading: What is marketplace integration? A guide to managing products, stock and orders in one place

How Is Tracking Information Passed to the Customer and the Marketplace?

Tracking information should reach the customer the moment the shipment record is opened; the customer should not have to ask "where is my parcel?" The integration sends the tracking number and link together with the order status by email, SMS or the account page.

For marketplace orders, the tracking number and the carrier are also written back to the marketplace. An order that is not reported in time can hurt the seller's performance, so the write-back is not left to polling but done automatically as soon as the shipment record succeeds. When the delivered status arrives, the order closes automatically and, if wanted, the customer receives an invitation to leave a review.

How Are Cash on Delivery Collection and Reconciliation Done?

In cash-on-delivery shipments the carrier collects the payment and pays you later, so shipments and collections must be matched one by one. Reconciliation is comparing the expected collection with the payment that comes from the carrier.

Example (illustrative): in a period, 40 cash-on-delivery shipments went out, 38 were delivered and 2 came back as returns. If each delivered one was ₺850, the expected collection is 38 × 850 = ₺32,300. If the payment from the carrier is also ₺32,300, you are reconciled; if there is a difference, the shipment number is used to find which record is missing or in excess.

Because the integration writes the delivery status back, which shipments were collected and which were returned shows up automatically, and the collection is matched to the customer account. For how to book this in accounting, consult your financial advisor (certified accountant).

How Are Returns and Damaged Shipments Managed?

A return is an extra shipment and needs its own record. When the customer opens a return request, a return shipment code is created, the carrier picks up the package, and when it is delivered the stock and customer account records are corrected.

  • Return shipment: Linked to the original order and shipment; the return reason is recorded.
  • Stock decision: When the package reaches the warehouse and passes inspection it is added to stock; if damaged, it is kept apart.
  • Damage and loss: Reported to the carrier with the shipment number and damage photos; the amount is settled through shipping insurance or by agreement with the carrier.

What Are the Routes for Shipping Integration?

There are three: connecting directly to a carrier's own API, using a ready-made shipping tool that gathers several carriers in one interface, or building a custom integration. The choice depends on shipment volume and the number of your systems.

RouteHow it worksWhen it suits
Carrier's panelShipments are opened by hand or by bulk upload in the carrier's own panelFew shipments; small businesses that need no system integration
Ready-made shipping toolSeveral carriers are managed from one panel; orders come in from the siteMedium volume; a standard flow and a few carriers
Custom integrationYour system talks directly to the carriers' APIs; rules are written around your business rulesHigh volume; businesses whose shipping must move in the same flow as ERP, warehouse, invoice and marketplace

What Problems Come Up Most Often in Shipping Integration?

ProblemWhy it happensFix
The shipment record is rejectedProvince-district names do not match, or a required field is missingValidate the address against the carrier's list; let it land in the error list and be fixed
The same shipment is opened twiceA request whose answer never arrived is retriedMark each shipment with a unique identifier; do not process a processed identifier twice
The carrier's API goes downMaintenance or an outageQueue the requests and retry; define a backup carrier rule
Tracking status arrives lateNo notification, infrequent pollingUse notifications and regular polling together
A charge difference appearsDesi or dimensions are wrongVerify the dimensions on the product card; report differences per shipment

Tracking the shipment-record success rate shows data quality. Example: if 985 of 1,000 shipments are accepted on the first try, the rate is 985 ÷ 1,000 = 98.5%; the other 15 shipments wait in the error list and their causes are classified.

What Should You Ask When Choosing a Shipping Integration?

  • Which carriers does it connect to? Are the carriers you have agreements with on the list?
  • Does it support cash on delivery and return shipments?
  • Can carrier selection rules be written? Is there automatic selection by desi, region and amount?
  • Where do errors show up? Are rejected shipments listed and is the owner alerted?
  • Are the label formats suitable? Does it work with the label printer you use?
  • Does it support marketplace carrier codes?
  • Does tracking information go to the customer automatically? By email, SMS or through the marketplace.
  • Is adding a new carrier easy? Is the integration flexible when an agreement changes?

How Is Shipping Integration Set Up? A Six-Step Plan

A healthy setup starts with getting API access from the carrier and moves on by clarifying the data fields.

Six steps of a shipping integration setup: carrier, data, rules, build, test and monitoring
The six steps of shipping integration.
  1. Carrier: Decide the contracted carriers and get API access and a test account for each.
  2. Data: Define the sources of the address, parcel and desi fields; complete the dimensions on product cards.
  3. Rules: Write the carrier selection, cash on delivery, return shipment and backup carrier rules.
  4. Build: Set up shipment records, labels, tracking, the error queue and retries.
  5. Test: In the test environment try standard, bad-address, cash-on-delivery and return shipments.
  6. Monitoring: After go-live, watch the record success rate, the error list and late tracking.
We recommend reading: How to Build an E-commerce Website: Platform, Legal Requirements, Cost and Break-Even Guide
We recommend reading: How to secure an API: authentication, authorization, tokens and rate limiting
We recommend reading: What is shipment planning software? Routes, vehicle load and proof of delivery

Shipping Integration with İnovabil

At İnovabil we design shipping integration not merely as label printing but as part of the chain that runs from order to collection. We start a project with a data map and shipping rules and build the integration with an error queue, retries, logging and monitoring.

We built Kredili Kargo, a prepaid shipping system for Sürat Kargo, and in Faprika, NetKasam and custom e-commerce projects we have built payment, shipping, e-invoice and marketplace connections. Tell us in a few sentences which carriers you use and how your shipping process runs, and we will prepare a custom integration roadmap.

We recommend reading: E-commerce software: with marketplace, shipping and payment integrations

Frequently Asked Questions

What is shipping integration, in short, and what is it for?

Shipping integration automatically opens the shipment record, prints the label and writes the tracking information back between your system and the carrier's system. The address and parcel details are not typed a second time.

How is desi calculated?

Desi is found by multiplying the parcel's width, length and height (cm) and dividing by 3000; the divisor can vary by carrier and service. The carrier charges the larger of desi and actual weight.

Can you integrate with more than one carrier?

Yes. For each shipment the carrier can be picked automatically by rules such as desi, region, cash on delivery or order amount, and a backup carrier can be defined for when one carrier's API is down.

How is cash on delivery collection tracked?

The total of delivered cash-on-delivery shipments gives the expected collection; you compare it with the payment from the carrier through the shipment number. Because the integration writes the delivery status back, this matching becomes automatic.

How long does it take to set up shipping integration?

It depends on the number of carriers, the quality of the API documentation and the complexity of the rules. With a test account and a data map ready, integration with a single carrier reaches testing quickly, and adding each new carrier is faster after that.

Let's talk about your project

Tell us briefly about the software you have in mind; we'll listen and prepare a tailored roadmap and proposal.

Get a quote