
Connectors / Supply chain · HTTP Connector
Automate ShipHero with Tray.ai
Create an order, create a product and generate an inventory snapshot in ShipHero, and start a workflow when ShipHero sends “Inventory updated”.
What can you do with ShipHero on Tray.ai?
ShipHero is a warehouse management system for ecommerce brands and 3PLs that handles inventory, order picking and packing, purchase orders, returns and shipping. Tray.ai connects to ShipHero through the HTTP Connector, so your workflows can call the ShipHero API alongside the rest of your stack.
- When ShipHero sends “Inventory updated”, sync stock levels to your online store so you don't oversell.
- Create an order in ShipHero for each paid order from your storefront.
- When ShipHero sends “Order canceled”, update the ticket in your help desk so support can confirm the refund.
- Create a purchase order when your ERP approves a restock from a supplier.
- Connects through
- HTTP Connector
- Authentication
- A bearer token
- Base URL
- https://public-api.shiphero.com/graphql
Set it up
Connect ShipHero to Tray.ai
Each step uses ShipHero's own API details, from its documentation.
Step 1
Save ShipHero's API token
Save the token ShipHero issues as a Tray.ai authentication. The HTTP Client sends it as a bearer token on every call. The token stays out of the workflow and out of the logs.
Step 2
Point the HTTP Client at the API
Add an HTTP Client step and use https://public-api.shiphero.com/graphql as the base URL. Or paste a cURL example from ShipHero's API docs, and Tray.ai fills in the method, URL, and headers.
Step 3
Start with “Get orders”
It's one of 20 documented actions, under Orders. The response comes back as data the next step can map into your other apps.
Step 4
Start workflows from ShipHero events
Give ShipHero the URL of a Tray.ai webhook trigger. “Inventory updated” can then start a workflow, and so can 7 other events.
Workflows to build with ShipHero
Each one uses actions and events from ShipHero's own API documentation.
Sync ShipHero inventory changes to NetSuite
When
Inventory updated
Then
- Get products for the changed SKU
- Update the item quantity in NetSuite
With NetSuite
Create ShipHero purchase orders from approved Coupa orders
When
A purchase order is approved in Coupa
Then
- Create a purchase order in ShipHero for the expected stock
- Update a purchase order when the supplier confirms dates
With Coupa
Open Zendesk tickets when ShipHero orders are canceled
When
Order canceled
Then
- Get order history for the reason
- Create a ticket for the customer team in Zendesk
With Zendesk
Apps you can build on ShipHero data
Internal tools your team can build with an AI assistant, each one using ShipHero calls from its API documentation.
Order history lookup
Looks up orders and shows their full history so support can answer status questions.
Return receiving station
Lets warehouse staff receive return items and update the return status.
Inventory adjustment log
Shows products with inventory changes and lets staff add or remove stock.
Give your AI agents ShipHero tools
Build an MCP server on ShipHero 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
- Get orders
- Get products
- Add inventory
- Create a purchase order
- Create a return
- Create a location
- Create an order
- Update an order
What the ShipHero API covers
6 resources and 20 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.
Orders
- Get orders
- Create an order
- Update an order
- Get order history
Products
- Get products
- Create a product
- Update a product
Inventory
- Add inventory
- Remove inventory
- Replace inventory
- Generate an inventory snapshot
Purchase orders
- Create a purchase order
- Update a purchase order
- Close a purchase order
Returns
- Create a return
- Update a return status
- Receive a return line item
Locations
- Create a location
- Update a location
- Delete a location
Events ShipHero can send to a Tray.ai webhook trigger
- Inventory updated
- Shipment updated
- Order canceled
- Order allocated
- Order packed out
- Purchase order updated
- Return updated
- Product updated
Checked against ShipHero's own documentation on 2026-10-22
How Tray.ai makes this work
ShipHero plugs into the whole Tray.ai platform
Intelligent Integration
Integrate and automate across 12,000+ apps, databases, APIs, and services with visual workflows, error handling, and observability.
Learn more →Agent Builder
Build AI agents that read, write, and take action in ShipHero — with guardrails, audit, and human-in-the-loop.
Learn more →Agent Gateway for MCP
Expose ShipHero actions as governed MCP tools — observable, rate-limited, authenticated.
Learn more →Tray Helix
Build apps on ShipHero data with your AI assistant, then deploy, run, and govern them on Tray.ai.
Learn more →More supply chain apps on Tray.ai
Dedicated connectors and other apps Tray.ai reaches in the same category. See every supply chain connector →
Frequently asked questions
What can a Tray.ai workflow do in ShipHero?
+
The ShipHero API documents 20 actions across 6 resources (Orders, Products, Inventory, Purchase orders, Returns, Locations). For example: Get orders; Get products; Add inventory. A workflow can make any documented call through the HTTP Connector.
How does Tray.ai authenticate with ShipHero?
+
The ShipHero API uses a bearer token. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.
Which ShipHero events can start a Tray.ai workflow?
+
ShipHero sends 8 events to a webhook URL, for example: Inventory updated; Shipment updated; Order canceled; Order allocated; Order packed out; Purchase order updated; Return updated; Product updated. A Tray.ai webhook trigger receives them and starts a workflow.
See ShipHero working against your stack.
We'll walk through a tailored demo with your systems plugged in.
Thanks — someone from our team will be in touch soon.