
Connectors / E-commerce · HTTP Connector
Automate commercetools with Tray.ai
Create a product, create a cart and create an order from a cart in commercetools. Connect commercetools to the rest of your e-commerce stack with Tray.ai.
What can you do with commercetools on Tray.ai?
commercetools is a headless commerce platform that stores products, carts, orders, and customer accounts behind an API for online storefronts. Tray.ai connects to commercetools through the HTTP Connector, so your workflows can call the commercetools API alongside the rest of your stack.
- Create a product for each new item your merchandising team approves in your product information system.
- Query orders every hour and send new ones to your ERP for fulfilment.
- Update a product with price changes from your pricing team's spreadsheet.
- Create a customer when someone signs up through your loyalty program.
- Connects through
- HTTP Connector
- Authentication
- OAuth 2.0 or a bearer token
- Base URL
- https://api.{region}.commercetools.com
Set it up
Connect commercetools to Tray.ai
Each step uses commercetools's own API details, from its documentation.
Step 1
Sign in to commercetools with OAuth 2.0
Set up an OAuth 2.0 authentication with the client ID and secret of an OAuth app you register with commercetools. Sign in once and every step reads the token from there.
Step 2
Point the HTTP Client at the API
Add an HTTP Client step and use https://api.{region}.commercetools.com as the base URL. Or paste a cURL example from commercetools's API docs, and Tray.ai fills in the method, URL, and headers.
Step 3
Start with “Query products”
It's one of 20 documented actions, under Products. The response comes back as data the next step can map into your other apps.
Step 4
Hand it to an AI agent
Wrap “Get a product” and “Create a product” 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 commercetools
Each one uses actions and events from commercetools's own API documentation.
Send new commercetools orders to NetSuite
When
On a schedule
Then
- Query orders in commercetools
- Create a sales order for each new order in NetSuite
With NetSuite
Update commercetools products from NetSuite item changes
When
An item is updated in NetSuite
Then
- Get a product in commercetools
- Update a product with the new details
With NetSuite
Sync commercetools customers to Salesforce
When
On a schedule
Then
- Query customers in commercetools
- Create or update the contacts in Salesforce
With Salesforce
Apps you can build on commercetools data
Internal tools your team can build with an AI assistant, each one using commercetools calls from its API documentation.
Open cart follow-up list
Lists open carts with the customer on each so a sales team can follow up.
Order support desk
Looks up a customer's orders and lets support update an order.
Product catalog editor
Lists products and lets merchandisers update product details.
Give your AI agents commercetools tools
Build an MCP server on commercetools 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
- Query products
- Query carts
- Query orders
- Query customers
- Get a product
- Create a product
- Update a product
- Delete a product
What the commercetools API covers
4 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.
Products
- Query products
- Get a product
- Create a product
- Update a product
- Delete a product
Carts
- Query carts
- Get a cart
- Create a cart
- Update a cart
- Delete a cart
Orders
- Query orders
- Get an order
- Create an order from a cart
- Update an order
- Delete an order
Customers
- Query customers
- Get a customer
- Create a customer
- Update a customer
- Delete a customer
Checked against commercetools's own documentation on 2026-10-22
How Tray.ai makes this work
commercetools 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 commercetools — with guardrails, audit, and human-in-the-loop.
Learn more →Agent Gateway for MCP
Expose commercetools actions as governed MCP tools — observable, rate-limited, authenticated.
Learn more →Tray Helix
Build apps on commercetools data with your AI assistant, then deploy, run, and govern them on Tray.ai.
Learn more →More 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 commercetools?
+
The commercetools API documents 20 actions across 4 resources (Products, Carts, Orders, Customers). For example: Query products; Query carts; Query orders. A workflow can make any documented call through the HTTP Connector.
How does Tray.ai authenticate with commercetools?
+
The commercetools API uses OAuth 2.0 and a bearer token. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.
See commercetools 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.