Connectors / E-commerce · HTTP Connector
Loyverse integration and API
Create a sales receipt, create or update an item and create or update a customer in Loyverse.
What can you do with Loyverse on Tray.ai?
Loyverse is a point of sale system for shops, cafes and restaurants that records sales receipts, tracks inventory and manages customers and loyalty. Tray.ai connects to Loyverse through the HTTP Connector, so your workflows can call the Loyverse API alongside the rest of your stack.
- When Loyverse sends “Receipt updated”, post the sale to your accounting system.
- When Loyverse sends “Inventory levels updated”, sync stock counts to your online store.
- Create or update an item when a new product is added in your inventory system.
- When Loyverse sends “Shift created”, share the shift details with managers in your team chat.
- Connects through
- HTTP Connector
- Authentication
- A bearer token or OAuth 2.0
- Base URL
- https://api.loyverse.com/v1.0
Set it up
Connect Loyverse to Tray.ai
Each step uses Loyverse's own API details, from its documentation.
Save Loyverse's API token
Save the token Loyverse 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.
Point the HTTP Client at the API
Add an HTTP Client step and use https://api.loyverse.com/v1.0 as the base URL. Or paste a cURL example from Loyverse's API docs, and Tray.ai fills in the method, URL, and headers.
Start with “List receipts”
It's one of 20 documented actions, under Receipts. The response comes back as data the next step can map into your other apps.
Start workflows from Loyverse events
Give Loyverse the URL of a Tray.ai webhook trigger. “Inventory levels updated” can then start a workflow, and so can 4 other events.
Workflows to build with Loyverse
Connect Loyverse with Xero, Slack and Shopify
Each one uses actions and events from Loyverse's own API documentation.
Post daily Loyverse sales to Xero
When
On a schedule
Then
- List receipts from the past day in Loyverse
- Record the daily sales totals in Xero
With Xero
Post low Loyverse stock alerts to Slack
When
Inventory levels updated
Then
- Get inventory levels for the changed items
- Post items below their reorder level to the store channel in Slack
With Slack
Update Loyverse stock when Shopify orders are paid
When
An order is paid in Shopify
Then
- Get inventory levels for the ordered items
- Update inventory levels in Loyverse
With Shopify
Apps you can build on Loyverse data
Internal tools your team can build with an AI assistant, each one using Loyverse calls from its API documentation.
Daily sales dashboard
Shows sales receipts by item and category for each day.
Stock count tool
Lists items with inventory levels and lets staff update counts after a stocktake.
Customer purchase lookup
Finds a customer and shows their receipts so staff can answer questions about past purchases.
Give your AI agents Loyverse tools
Build an MCP server on Loyverse 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 receipts
- List items
- List customers
- Get inventory levels
- List categories
- List webhooks
- Get a receipt
- Create a sales receipt
What the Loyverse 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.
Receipts
- List receipts
- Get a receipt
- Create a sales receipt
- Create a refund receipt
Items
- List items
- Get an item
- Create or update an item
- Delete an item
Customers
- List customers
- Get a customer
- Create or update a customer
- Delete a customer
Inventory
- Get inventory levels
- Update inventory levels
Categories
- List categories
- Create or update a category
- Delete a category
Webhooks
- List webhooks
- Create or update a webhook
- Delete a webhook
Events Loyverse can send to a Tray.ai webhook trigger
- Inventory levels updated
- Item updated
- Customer updated
- Receipt updated
- Shift created
Checked against Loyverse's own documentation on 2026-10-22
How Tray.ai makes this work
Loyverse 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 Loyverse, with a person's approval on any tool you choose.
Learn moreAgent Gateway for MCP
Expose Loyverse actions as governed MCP tools: observable, rate-limited and authenticated.
Learn moreTray Helix
Build apps on Loyverse 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 Loyverse?
The Loyverse API documents 20 actions across 6 resources (Receipts, Items, Customers, Inventory, Categories, Webhooks). For example: List receipts; List items; List customers. A workflow can make any documented call through the HTTP Connector.
How does Tray.ai authenticate with Loyverse?
The Loyverse API uses a bearer token and OAuth 2.0. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.
Which Loyverse events can start a Tray.ai workflow?
Loyverse sends 5 events to a webhook URL, for example: Inventory levels updated; Item updated; Customer updated; Receipt updated; Shift created. A Tray.ai webhook trigger receives them and starts a workflow.
See Loyverse 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.