- Store order and shipment identifiers separately.
- Treat booking and label readiness as distinct states.
- Reprint existing labels instead of creating another booking.
Give each record a clear purpose
An order records what a customer purchased. A shipment records what leaves an origin for a destination. A label identifies a physical package within the shipping workflow. Treating all three as one record makes partial fulfilment and recovery harder.
Start with a relationship between your order ID and each shipment ID. Preserve the package information used for that shipment. If an order ships in two boxes together, retain the package-level detail. If part of the order ships later, create a separate shipment record rather than overwriting the first one.
Validate before submitting a booking
Confirm the recipient address, packed dimensions, weight and selected service. Check the intended shipping date and any applicable pickup requirements. Your backend should also know which account and payment configuration apply. Treat configuration as a controlled part of the integration, not an editable checkout field.
Keep a reviewable snapshot of the final shipment. It helps your support team explain why a particular service was selected. Redact credentials and avoid placing personal address details in broad application logs. Store operational information only where the people handling the shipment need access.
Handle booking and label readiness separately
Freightcom documents asynchronous work in its API. A request being accepted does not mean every downstream document is already available. Your application needs a state between “booking submitted” and “ready to print.” Keep the returned identifiers and retrieve the shipment as instructed by the official documentation.
Show staff a status they understand. “Preparing shipping documents” gives a more accurate picture than “Failed” when a request is still processing. If processing stops or returns an error, show the next action and preserve the reference needed to investigate.
Make printing repeatable
Choose the available label format suited to your printing setup. Verify paper size, scaling and barcode readability with the actual printer used by the team. A successful file download does not prove a usable label will emerge from a thermal printer.
- Keep the label associated with its shipment and package.
- Provide a reprint action for an existing label.
- Distinguish reprinting from booking another shipment.
- Record a cancelled shipment so staff do not reuse its label.
Where a booking response is uncertain, reconcile its status before attempting another booking. A timeout in your application is not evidence the carrier-side action never happened.
Review the handoff with your packing team
Run a test order from order entry to the packing station. Confirm the operator selects the correct shipment, sees the expected destination and prints the appropriate label. Test a printer failure and a delayed document so recovery is part of the rehearsal.
Keep shipment tracking and invoice references attached after dispatch. The benefit of the integration continues beyond the label. Customer service should retrieve the shipment from the order, and finance should find the related shipping record without searching unrelated systems.
Common questions
Should reprinting a label create a new shipment?
No. Retrieve or reuse the label for the existing shipment. A new booking is a separate action.
Is an accepted booking immediately ready to print?
Not necessarily. Follow the documented shipment retrieval process and check document readiness.
References & next steps
This article provides integration planning guidance. Confirm endpoint fields and behaviour in the official documentation before implementation.

