Talon.One Customer sessions API

Represents the data related to a customer session. Typically, a customer session is the value and content of the customer's cart. Sessions can be anonymous or linked to a customer profile and they have a life cycle from `open` to `closed`. In general, a session is closed when the customer completes the checkout step. Sessions are a key concept of Talon.One. We strongly recommend you read the [documentation about customer sessions](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions).

Operations 4

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

PUT /v2/customer_sessions/{customerSessionId} Update a cart session and get promotion effects · Update customer session #
Ask an LLM
“How do I send a shopper's cart and get back the discounts that apply?”
“Can I evaluate a cart with a dry run so nothing is saved?”
Tell an agent
Update customer session {customerSessionId} with {customerSession}.
Dry-run session {customerSessionId} with cart data {customerSession}, dry {dry}.
GET /v2/customer_sessions/{customerSessionId} Get a customer session · Get customer session #
Ask an LLM
“What's currently in a shopper's session, without changing it?”
“Can I read a customer session's cart and state by its ID?”
Tell an agent
Get customer session {customerSessionId}.
Show the cart and state of session {customerSessionId}.
POST /v2/customer_sessions/{customerSessionId}/returns Return items from a closed session · Return cart items #
Ask an LLM
“How do I process a return and roll back the discounts on those items?”
“What state does a session move to after items are returned?”
Tell an agent
Return cart items {return} from session {customerSessionId}.
Create a return request of {return} for closed session {customerSessionId} as a dry run {dry}.
PUT /v2/customer_sessions/{customerSessionId}/reopen Reopen a closed customer session · Reopen customer session #
Ask an LLM
“Can I edit an order after its session was closed?”
“What happens to effects when a closed session is reopened?”
Tell an agent
Reopen customer session {customerSessionId}.
Set closed session {customerSessionId} back to open so it can be edited.

Documentation

Specifications

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/talon-one:talon-one-customer-sessions-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

talon-one-customer-sessions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Integration Customer sessions API
  version: ''
  description: Use the Integration API for user-facing, real time, high-traffic flows.
servers:
- url: https://yourbaseurl.talon.one
security:
- api_key_v1: []
tags:


# --- truncated at 32 KB (183 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/talon-one/refs/heads/main/openapi/talon-one-customer-sessions-api-openapi.yml