Skip to content
repliyo

Order status

Let customers ask where their order is and get a live answer from your order system, with identity checks built in.

What customers can ask

“Where's my order #48291?” is usually the most common support message a store gets. With an order endpoint connected, repliyo understands the question, pulls the order number out of it, calls your order system and replies with the live status — no ticket, no waiting. For the overview of how this looks to customers, see order tracking.

There are two related question types: Order status (one specific order) and Order list (“what have I ordered recently?”).


Set it up

Under Endpoints, add one endpoint per type you want. Order status can use the {order_id} placeholder; order list can use {user_id}.

Order status
Question type:  Order status
Method:         GET
URL template:   https://shop.example.com/api/orders/{order_id}
Response path:  (blank, or $.status)
Order list
Question type:  Order list
Method:         GET
URL template:   https://shop.example.com/api/customers/{user_id}/orders

The general steps are in Connect your API.


What your API should return

Example response
{
  "order_id": "48291",
  "status": "shipped",
  "estimated_delivery": "2026-10-02",
  "tracking_url": "https://carrier.example.com/track/48291"
}

With no response path set, repliyo reads a sensible summary out of this. With $.status it replies with just “shipped”. On Professional and above, repliyo also recognises status, delivered_at, estimated_delivery and tracking_url (or tracking_link) to show an order status card alongside the text reply.

For short questions like “when will it arrive?” repliyo may phrase a one-line answer from the record. The details behind this are in Request & response mapping.


Keeping order data private

Order questions are treated as sensitive. An anonymous visitor is first asked for the email address on their account, which repliyo doesn't verify itself. A visitor your site has identified with a signed token is not asked, and their ID is available to your endpoint as {user_id}. To make sure customers can only see their own orders, identify your logged-in visitors and have your API check that the order belongs to that ID.

If your API returns a 403 or 404 for an order that shouldn't be shown, the customer gets the same generic “couldn't find that” reply whether or not the order exists.

Details are in Authentication.

We use essential cookies to run this site, and analytics cookies to understand how visitors use it. Analytics only loads if you accept. Learn more