Skip to content

Connectors / Supply chain · HTTP Connector

UPS integration and API

Create a shipment in UPS and start a workflow when UPS sends “Tracking event”. Connect UPS to the rest of your supply chain stack with Tray.ai.

What can you do with UPS on Tray.ai?

UPS is a global parcel carrier whose developer APIs cover shipment creation and labels, rate quotes, package tracking, address validation, and pickups. Tray.ai connects to UPS through the HTTP Connector, so your workflows can call the UPS API alongside the rest of your stack.

  • Create a shipment when an order is ready to pick in your warehouse system.
  • When UPS sends “Tracking event”, update the order status in your e-commerce platform.
  • Get a rate quote at checkout so customers see the real shipping cost.
  • Track a package when a customer opens a where-is-my-order ticket in your help desk.
Connects through
HTTP Connector
Authentication
OAuth 2.0
Base URL
https://onlinetools.ups.com/api

Set it up

Connect UPS to Tray.ai

Each step uses UPS's own API details, from its documentation.

Sign in to UPS with OAuth 2.0

Set up an OAuth 2.0 authentication with the client ID and secret of an OAuth app you register with UPS. Sign in once and every step reads the token from there.

Point the HTTP Client at the API

Add an HTTP Client step and use https://onlinetools.ups.com/api as the base URL. Or paste a cURL example from UPS's API docs, and Tray.ai fills in the method, URL, and headers.

Start with “Get a rate quote”

It's one of 9 documented actions, under Rates. The response comes back as data the next step can map into your other apps.

Start workflows from UPS events

Give UPS the URL of a Tray.ai webhook trigger. “Tracking event” can then start a workflow.

Workflows to build with UPS

Connect UPS with Shopify, Zendesk and NetSuite

Each one uses actions and events from UPS's own API documentation.

Create UPS labels for fulfilled Shopify orders

When

An order is ready to ship in Shopify

Then

  1. Create a shipment with the order address
  2. Add the tracking number to the order in Shopify

With Shopify

Update Zendesk tickets with UPS tracking events

When

Tracking event

Then

  1. Find the open ticket for the tracking number in Zendesk
  2. Add a note with the latest status to the ticket

With Zendesk

Add UPS rate quotes to NetSuite sales orders

When

A sales order is created in NetSuite

Then

  1. Shop rates across services for the package
  2. Save the cheapest rate on the sales order in NetSuite

With NetSuite

Apps you can build on UPS data

Internal tools your team can build with an AI assistant, each one using UPS calls from its API documentation.

Shipment tracking lookup

Tracks a package by tracking or reference number and shows each package's status for support agents.

Shipping rate comparison

Shops rates across UPS services with time in transit so a warehouse team can pick a service and create the label.

Give your AI agents UPS tools

Build an MCP server on UPS in Agent Gateway and choose which actions your agents can call. Every call runs with access control and an audit trail. How Agent Gateway works

  • Create a shipment
  • Track a package
  • Get a rate quote
  • Void a shipment
  • Recover a label
  • Track by reference number
  • Track each package in a shipment
  • Shop rates across services

What the UPS API covers

3 resources and 9 documented actions, each one a call the HTTP Connector can make from a Tray.ai workflow. Connecting it takes a few clicks: here's how.

Shipments

  • Create a shipment
  • Void a shipment
  • Recover a label

Tracking

  • Track a package
  • Track by reference number
  • Track each package in a shipment

Rates

  • Get a rate quote
  • Shop rates across services
  • Get time in transit

Events UPS can send to a Tray.ai webhook trigger

  • Tracking event

Checked against UPS's own documentation on 2026-10-22

github.com/UPS-API/api-documentation

Frequently asked questions

What can a Tray.ai workflow do in UPS?

The UPS API documents 9 actions across 3 resources (Shipments, Tracking, Rates). For example: Create a shipment; Track a package; Get a rate quote. A workflow can make any documented call through the HTTP Connector.

How does Tray.ai authenticate with UPS?

The UPS API uses OAuth 2.0. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.

Which UPS events can start a Tray.ai workflow?

UPS sends one event to a webhook URL, for example: Tracking event. A Tray.ai webhook trigger receives them and starts a workflow.

See UPS working against your stack.

We'll walk through a tailored demo with your systems plugged in.

Great, a couple more details

This helps us connect you with the right person. Optional, and you can skip it.