SOONEASY星移物流
中文Request a review

BATCH & API

Multi-carrier shipping label API

Prepare a warehouse shipping-label integration: agree on fields, units, duplicate protection, timeout recovery and acceptance tests before moving from spreadsheets to an API.

Start with a spreadsheet if your parcel fields and routing decisions are still changing. Evaluate a shipping-label API when the warehouse can consistently identify each parcel, recover an uncertain request and assign someone to handle exceptions. Automating an unclear workflow can create duplicate labels faster than it saves work.

This is an integration-readiness guide, not a public SOONEASY API specification. Endpoint availability, authentication, supported services, voids, tracking and billing outputs must be confirmed for the selected channel and system; the checks below are recommendations, not claims that those capabilities are already available.

Choose the next step around your bottleneck

Current situationPractical next step
Staff are still correcting units or deciding which service to useUse a controlled spreadsheet and review failed rows before creating labels
Repeated imports and result downloads are the main bottleneckMap the existing process and evaluate API automation
The system cannot tell whether a timed-out request created a labelAgree on lookup and recovery before enabling automatic retries
Several warehouses share orders or billingVerify warehouse identifiers, access boundaries and record ownership before scaling

UPS's official batch-file workflow includes a preview and individual error correction. A file-based workflow still needs validation and a channel-specific format; it is not a universal file that every carrier accepts unchanged.

Agree on the data contract before writing requests

Treat these as discussion fields, not SOONEASY request parameter names. Record which system supplies each value, its unit or allowed format, and what happens when it is missing.

Field groupWhat to agreeWhat to check
Parcel identityInternal order, parcel identifier and warehouse referenceOne order with multiple parcels must not be treated as one label
Packed measurementsWeight, length, width, height and explicit unitsMeasurements describe the finished package, not the unboxed product
Service decisionSelected product, routing reason and fallback processA carrier brand alone is not a service code
Address dataRequired fields, validation responsibility and correction processPreserve confirmed values and flag unresolved addresses
Label outputFile type, label stock, printer and storage locationTest the actual warehouse print, not just whether the file opens
Result recordStatus, tracking number, errors and timestampsResults can be found again using the original parcel identifier

FedEx's Ship API documentation separately specifies service, packaging, parcel weight and label configuration, and describes tracking and label information in a successful creation response. It also explicitly says its shipment-validation request does not validate street-address details. Do not confuse a valid request with a verified delivery address or physical carrier acceptance.

A timeout is an unknown outcome, not a safe retry

The following is a recommended recovery design to agree with the integration provider:

  1. Store the internal parcel reference and submission attempt before sending the request.
  2. If the connection times out, mark the outcome as unknown rather than immediately creating another shipment.
  3. Use the agreed lookup or support process to determine whether a label already exists. Do not assume every provider exposes the same lookup mechanism.
  4. Retry only when the result is known or the documented duplicate-protection behavior makes it safe.
  5. Record the resolution, including which tracking number and label remain valid. Keep the parcel on hold if the outcome cannot be confirmed.

Reprinting a known label and creating a new shipment are different actions. Agree on which action each warehouse button performs, who can void a label and how the result is recorded. Void and refund conditions depend on the confirmed product; do not promise automatic reversal.

Test the failure paths as well as the happy path

Use this as an acceptance checklist. For each row, save the expected result, actual result, evidence reference and named owner in the agreed test environment.

TestEvidence to retain
Normal requestInternal parcel reference, service, tracking number and matching label
Missing or inconsistent unitsUnderstandable validation error and no unintended label
Duplicate submissionDocumented handling without an unintended second valid label
Lost response or timeoutRecoverable outcome without blind recreation
Incorrect warehouse accessVisible rejection and no exposure of another warehouse's data
Reprint or voidOriginal parcel association, operation result and timestamp
Printer checkReadable barcode and correct stock on the actual device

Not every channel supports every operation. Mark unsupported or unverified cases explicitly instead of treating a demo as proof. Begin with representative parcels under an agreed test plan; before increasing volume, connect the label result to the warehouse's handoff and later billing records. The fulfillment warehouse workflow explains those operational checks, while the US service guide covers the parcel profile needed for channel review.

What to send for an initial integration review

  • Approximate warehouse location, primary parcel groups and original measurement units.
  • The WMS, ERP or current label workflow and the step consuming the most staff time.
  • Required label format and printer type, if known.
  • A technical contact, an operations owner and the unresolved capabilities to verify.

Use field names and synthetic examples first. Never send real recipient records, passwords or production API keys through the public inquiry form. Request an initial review; production data and credentials should follow only through an agreed secure process.

Official references and scope

These references describe the carriers' own tools. They do not establish SOONEASY endpoint compatibility, performance, account access or an official carrier relationship. Recovery steps and acceptance tests on this page are practical recommendations to confirm with the responsible teams.

Share the warehouse location and parcel profile. We will identify channels worth testing first.

Request a channel review