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 thecarrier_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 thelinked_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 theprocessed_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 byshipment_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),removeorreplace; system-generated tags are kept onreplace. - Custom fields go in the
additional_infoobject, on the shipment, its events and its documents. Keys are up to 50 characters and values up to 150. They come back in theadditional_infofield of webhooks and API responses, and can be edited as custom data in Parcel Details.
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
limitfrom 25 to 100 (default 25), sendnext_page=0for the first page, then pass thenext_pagevalue from each response. The last page has nonext_page. - No match. A valid search with no results returns HTTP 404 with
api_response4041, not an empty list.
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 fromPOST /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
- Go to Shipment Overview and select Add Parcels, then File Upload.
- 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]andshipment[tracking_number], and thecarrier_referenceof a configured carrier. - Enter one shipment per row and save the file as CSV.
- Drop the file into the upload box and select Confirm.
- Check the processed file report for rejected rows, correct them and upload again.
Request API credentials
- Go to Settings > Integrations > API and select Request Credentials. Your Client ID and Client Secret are shown.
- Generate a Bearer token with
POST /auth/oauth/token/onhttps://api.perform.ai. Tokens last one hour. - Call
GET /v5/carrier-configs/to find yourcarrier_referencevalues, then create your first shipment. See the Quickstart.
Register a webhook endpoint
- Go to Settings > Integrations > Webhooks and register your HTTPS endpoint with a name and URL.
- Copy the Authentication Key. It is the key for the HMAC-SHA256 signature on every webhook.
- 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.
- 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
- Guides: Create Shipment, Update Shipment, List Shipments, Retrieve Shipment, Create Events, Webhooks, Create Return, Shopify integration.
- API reference: Create Shipment, Update Shipment and v5.2, List Shipments, Retrieve Shipment Details and v5.2, Create Events.
- Webhook payloads: format 5.0, format 5.2, format 5.3.
- MCP tools:
list_shipmentsandget_shipment_detailsread the shipments your integrations created. Documented on the MCP tools page.
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. Onlyshipment_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 configuredcarrier_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 byupdated_date.