Connectors / E-commerce · HTTP Connector
Mirakl integration and API
Update tracking information, create or update offers and upload order documents in Mirakl.
What can you do with Mirakl on Tray.ai?
Mirakl runs the online marketplaces of retailers such as Tesco, B&Q, John Lewis, Carrefour and Leroy Merlin, where sellers manage their offers, orders, shipments and returns. Tray.ai connects to Mirakl through the HTTP Connector, so your workflows can call the Mirakl API alongside the rest of your stack.
- List orders every few minutes and create them in your warehouse system for fulfillment.
- Update tracking information once your shipping system prints the label.
- Create or update offers whenever prices or stock change in your product catalog.
- Refund order lines when a return is received and checked in your warehouse.
- Connects through
- HTTP Connector
- Authentication
- An API key in a request header
- Base URL
- https://{instance}.mirakl.net
Set it up
Connect Mirakl to Tray.ai
Each step uses Mirakl's own API details, from its documentation.
Save Mirakl's API key
Save the key as a Tray.ai authentication. The HTTP Client puts it in the request header, read from $.auth. The key stays out of the workflow and out of the logs.
Point the HTTP Client at the API
Add an HTTP Client step and use https://{instance}.mirakl.net as the base URL. Or paste a cURL example from Mirakl's API docs, and Tray.ai fills in the method, URL, and headers.
Start with “List orders”
It's one of 13 documented actions, under Orders. The response comes back as data the next step can map into your other apps.
Hand it to an AI agent
Wrap “Accept or refuse order lines” and “Update tracking information” in workflows, and Tray.ai's Agent Gateway for MCP publishes them as governed tools Claude and other AI agents can call.
Workflows to build with Mirakl
Connect Mirakl with NetSuite and Shopify
Each one uses actions and events from Mirakl's own API documentation.
Push Shopify stock and prices to Mirakl offers
When
A product is updated in Shopify
Then
- Get an offer for the matching SKU
- Create or update offers with the new price and quantity
With Shopify
Send Mirakl orders to NetSuite
When
On a schedule
Then
- List orders waiting for acceptance
- Accept or refuse order lines based on stock
- Create a sales order in NetSuite for accepted lines
With NetSuite
Upload NetSuite invoices to Mirakl orders
When
An invoice is created in NetSuite
Then
- Get the invoice PDF from NetSuite
- Upload order documents with the invoice PDF to the Mirakl order
With NetSuite
Apps you can build on Mirakl data
Internal tools your team can build with an AI assistant, each one using Mirakl calls from its API documentation.
Order acceptance queue
Lists new marketplace orders so a seller can accept or refuse order lines and add tracking once shipped.
Offer catalog review
Lists active offers with price and stock and lets a merchandiser update offers in bulk.
Refund and cancellation desk
Looks up an order and its documents and lets support refund order lines or cancel the order.
Give your AI agents Mirakl tools
Build an MCP server on Mirakl 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
- List orders
- List offers
- List order documents
- Accept or refuse order lines
- Update tracking information
- Validate an order shipment
- Cancel an order
- Refund order lines
What the Mirakl API covers
3 resources and 13 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
- List orders
- Accept or refuse order lines
- Update tracking information
- Validate an order shipment
- Cancel an order
- Refund order lines
Offers
- List offers
- Get an offer
- Create or update offers
- Import an offers file
Order documents
- List order documents
- Upload order documents
- Delete an order document
Checked against Mirakl's own documentation on 2026-10-22
How Tray.ai makes this work
Mirakl plugs into the whole Tray.ai platform
Tray iPaaS
Integrate and automate across 12,000+ apps, databases, APIs, and services with visual workflows, error handling, and observability.
Learn moreTray Helix agents
Agents in the apps your teams run on Tray Helix that read, write, and act in Mirakl, with a person's approval on any tool you choose.
Learn moreAgent Gateway for MCP
Expose Mirakl actions as governed MCP tools: observable, rate-limited and authenticated.
Learn moreTray Helix
Build apps on Mirakl data with your AI assistant, then deploy, run, and govern them on Tray.ai.
Learn moreMore E-commerce apps on Tray.ai
Dedicated connectors and other apps Tray.ai reaches in the same category. See every e-commerce connector →
Frequently asked questions
What can a Tray.ai workflow do in Mirakl?
The Mirakl API documents 13 actions across 3 resources (Orders, Offers, Order documents). For example: List orders; List offers; List order documents. A workflow can make any documented call through the HTTP Connector.
How does Tray.ai authenticate with Mirakl?
The Mirakl API uses an API key in a request header. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.
See Mirakl 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.