Skip to main content
Available to all Platform customers. Users with the Administrator or Parcel Creation role can create and edit shipments in the portal. API credentials are issued per account.

Summary

Data Integration is how your shipment and order data reaches Perform.AI and how the tracked result comes back to your own systems: by portal, CSV file, SFTP, the Public API, incoming webhooks or a Shopify store. Whatever the way in, Perform.AI turns each carrier’s updates into normalized tracking data and keeps one shipment record, a single source of truth for shipments that your webhooks, API calls, portal exports and MCP assistant all read.

Who it’s for

Operations, IT and integration teams who need multi-carrier tracking without building a pipeline per carrier, and who need the tracked result back in the warehouse system, helpdesk or order system where their colleagues work. The question it answers is “how do we get our data in, and how do we get it out again”.

Key benefits

  • More than one way in. Create shipments in the portal, upload a CSV, drop files on SFTP, call the tracking API, push data through incoming webhooks, or connect a Shopify store. The method is chosen per account, to fit your technical setup.
  • Standardised shipping events across carriers. Each carrier’s raw update is mapped to a standard event and location, and the shipment’s status is recomputed from those events, so a delay means the same thing on every carrier you ship with.
  • One record comes back out. Whatever the input method, you get the same shipment record with its standardised event history, through webhooks, the API, the portal and the MCP server.
  • Push, not poll. Outgoing webhooks deliver a Shipment update when Perform.AI processes new events, one message per update cycle.
  • Mistakes are reported, not dropped. Every CSV upload produces a processed file report that says, row by row, whether the shipment was accepted, rejected or accepted with warnings, and why.

How it works

Ways to send data in

Carrier integrations and carrier references

Whichever method you use, Perform.AI identifies the carrier from the carrier_reference you send and starts retrieving tracking events. Configure your carriers under Settings > Carriers before you upload, and include the reference on every shipment. A shipment with no carrier reference, or a wrong one, takes longer to assign and may not receive tracking updates until it is on the right carrier. Shipments from a 3PL or a dropship partner that arrive with an unknown carrier are identified and assigned by Perform.AI, but the reference is always the faster route. See Carrier Integration.

Choose a workflow

What a shipment needs

Every shipment_id must be unique in your account. Some fields travel in pairs: an order[order_reference] needs an order[order_id], and an event with a time and a location also needs an event description or event key. Dates and times must follow the format in the template guide, and fields with a character limit are rejected when they exceed it.

Multi-leg shipments

A parcel often passes through more than one carrier, each with its own tracking number and its own updates. Linked Shipments combine the updates from every carrier into one view. For some carriers, mostly postal carriers, Perform.AI links the next carrier automatically from event locations or the destination country. You can also define linked shipments yourself when you create a shipment through the API, a CSV upload or another creation method: up to 10 additional tracking numbers, each with its carrier. Linked shipments are add-only on update, and appear in the linked_shipments array of webhooks.

File upload status report

Every CSV you upload, through the portal or an SFTP folder, produces a processed file report in the processed_file_report/ folder of your SFTP space. The report mirrors your upload with two added columns. The Errors/Warnings column names the problem for each row, such as a missing field or a wrong format, so you can correct the affected rows and upload them again.

Updating shipments

Update Shipment changes an existing shipment identified by shipment_uuid or shipment_id. Most fields replace the stored value. Four are add-only: tags, events, linked_shipments and documents. tracking_number and carrier_reference can change only while the shipment has no tracking events, and shipment_id can be set once on a shipment created without one. A Return Shipment can no longer be updated once it has been booked with a carrier through Booking. In the portal, addresses, order information, custom data, tags, notifications and notes can be edited from Parcel Details; line items, documents and events are updated through the API.

Tags and custom fields

  • Tags are free-text labels for your own business logic, stored lowercase, up to 100 characters each. Set them on create, through Update Shipment, in bulk from Shipment Overview with Add Tags, or automatically on every shipment from a Shopify store. In v5.0 and in the portal, tags are added, never removed. The v5.2 Update Shipment adds tags_action: add (the default), remove or replace; system-generated tags are kept on replace.
  • Custom fields go in the additional_info object, on the shipment, its events and its documents. Keys are up to 50 characters and values up to 150. They come back in the additional_info field of webhooks and API responses, and can be edited as custom data in Parcel Details.
You can filter Shipment Overview and List Shipments by tag.

Your own events

Create Events adds milestones that carriers never report, such as packed, quality-checked or refunded, to an outbound or Return Shipment. The events are stored in the shipment’s history and appear wherever carrier events do: on the Tracking Page, in Delivery Notifications, in webhooks and in the Parcel Details timeline. Events are added, never edited or deleted.

Data harmonisation: what Perform.AI does with the data

Raw carrier updates are mapped to a standard event type and location before anything reads them, and the shipment’s status is recomputed from the mapped events rather than taken from the carrier’s wording. The result is written as one shipment record. The Tracking Page, Delivery Notifications, Shipment Overview and reporting all read that same record, so your customer, your agents and your reports see the same state. In each event, event_key, phase and phase_key carry the standard mapping. They can be null when a carrier sends a new event that is not mapped yet; event then carries the carrier’s original description.

What comes back

List, search and bulk look-up

List Shipments needs one date range: created, updated or latest-event date, with both ends, no more than 13 months back. On top of it you can filter by tracking number, shipment or order reference, carrier, status, phase, tag, country, linked shipment and more.
  • Bulk look-up. Filters marked AND/OR take a list. tracking_number=[['00340434616780000001','00340434616780000002']] matches either value; field=['a','b'] matches both. Use the OR form to look up a batch of tracking numbers or order IDs in one call.
  • Pagination. Results are cursor-based. Set limit from 25 to 100 (default 25), send next_page=0 for the first page, then pass the next_page value from each response. The last page has no next_page.
  • No match. A valid search with no results returns HTTP 404 with api_response 4041, not an empty list.
For the full record of one shipment, call Retrieve Shipment Details by shipment_uuid or shipment_id.

Stop tracking a shipment

In Shipment Overview, select shipments and choose Archive to remove them from your overview, for example shipments added by mistake.

Webhook formats and API versions

The format is set per account, not per endpoint. Formats are additive, so build your parser to ignore unknown fields; the exception is 5.3, which restructures expected_delivery. Two API endpoints have a v5.2 variant next to v5.0: Update Shipment adds tags_action, and Retrieve Shipment Details adds returns, line items and event geolocation. The v5.0 versions stay available and unchanged. Webhook triggers are all_events or specific milestones: picked up, out for delivery, delivered, failed delivery attempt, customs, delay and exception. Your endpoint must answer HTTP 200. Anything else, including a timeout, is retried three times, five minutes apart, then dropped. Missed webhooks are not replayed; reconcile gaps with List Shipments filtered by updated_date.

Authentication, errors and rate limits

Every call needs a Bearer token from POST /auth/oauth/token/, generated with your Client ID and Client Secret. Tokens last one hour, and several can be valid at once, so you can request a new one before the old one expires.

How to set it up

Upload a CSV file

  1. Go to Shipment Overview and select Add Parcels, then File Upload.
  2. Select Create Shipment Template to download the CSV template, or build your own file with the fields from the template field guide. Include at least shipment[shipment_id] and shipment[tracking_number], and the carrier_reference of a configured carrier.
  3. Enter one shipment per row and save the file as CSV.
  4. Drop the file into the upload box and select Confirm.
  5. Check the processed file report for rejected rows, correct them and upload again.
Always include the carrier reference. It assigns the carrier at once and starts tracking immediately, instead of leaving the shipment to be identified later.

Request API credentials

  1. Go to Settings > Integrations > API and select Request Credentials. Your Client ID and Client Secret are shown.
  2. Generate a Bearer token with POST /auth/oauth/token/ on https://api.perform.ai. Tokens last one hour.
  3. Call GET /v5/carrier-configs/ to find your carrier_reference values, then create your first shipment. See the Quickstart.

Register a webhook endpoint

  1. Go to Settings > Integrations > Webhooks and register your HTTPS endpoint with a name and URL.
  2. Copy the Authentication Key. It is the key for the HMAC-SHA256 signature on every webhook.
  3. Save, then activate the endpoint and the triggers you want. Perform.AI sends a sample payload to validate the endpoint before the setup is final.
  4. Confirm the payload format version for your account with your account team.

Connect a Shopify store

Go to Settings > Integrations and select Add Store in the Shopify tile. The steps are on the Shopify page.

Use via API and MCP

FAQ

Do you support my carrier?

Check the carrier list when you add a carrier under Settings > Carriers > Add Carrier, or send your carrier list to your account team. See Carrier Integration.

What happens when we are adding a new carrier or entering a new market?

If the carrier is in the list, add it under Settings > Carriers with a carrier reference and use that reference on your shipments. Carrier onboarding for a carrier that is not yet integrated is work on the Perform.AI side; your account team gives you the timeline.

Do I need a tracking number to create a shipment?

Not through the API. Only shipment_id is required; a shipment without a tracking number and carrier is an Open Shipment that you complete later or book through Booking. A CSV upload needs both shipment[shipment_id] and shipment[tracking_number].

How do 3PL tracking and dropship tracking work when the carrier is unknown?

Send them through any input method. Perform.AI identifies and assigns the carrier, which takes longer than a configured carrier_reference. If a shipment lands on the wrong carrier, reassign it from Parcel Details while it is Pending or Expired.

Why does Perform.AI show tracking gaps or missing scans compared with the carrier’s site?

Carrier data quality varies: the number of events, timestamps and descriptions depend on what the carrier shares through the integration in place. Private integrations (API, webhook or SFTP) often provide more detail than the carrier’s public tracking page. See Carrier Integration.

What happens if my endpoint is down when a webhook fires?

Perform.AI retries three times, five minutes apart, then stops. Reconcile with List Shipments filtered by updated_date.

Troubleshooting