Skip to content

Changelog & versioning

The operations API is versioned in its path (/v1) and its policy is additive-only within a version: new endpoints, new optional request fields, new optional response fields, and new code values can appear in v1 at any time without warning, and existing integrations must tolerate them (ignore fields you don’t recognize; fall back to generic handling for a code you don’t recognize yet — see Errors & the envelope).

A breaking change — removing a field, changing a field’s type or meaning, removing an endpoint, or tightening validation in a way that rejects previously-valid requests — always ships as a new version (/v2, when it exists) rather than mutating v1 underneath existing callers. v1 keeps working after v2 ships; there is no forced-migration deadline announced here — watch this page for a deprecation notice if that ever changes.

@tesseraloyalty/sdk is currently 0.x and targets the operations API’s v1 (exported from the package as API_VERSION). Within 0.x, the SDK follows the same additive-first spirit as the API it wraps — new resources, new optional inputs, and new typed error subclasses are additive; an unrecognized error code degrades gracefully to the base TesseraError rather than throwing (see SDK reference → Errors). A 1.0 release will mark the SDK’s public surface stable; until then, pin an exact or narrow version range rather than a wide ^0.x.

When a v1 endpoint or SDK method is superseded, it’s marked deprecated on this page and in its reference entry with what replaces it, and continues to function for a documented window before removal — deprecation is never silent and never immediate. Nothing in v1 is currently deprecated.

2026-11-15 — Show what a purchase will earn

Section titled “2026-11-15 — Show what a purchase will earn”

Additive. POST /v1/earn/preview takes an event body (the /v1/events fields, all optional, plus an optional program) and returns what the programme’s published rules would earn for it, without booking anything: the spendable and qualifying points, the rules that applied, the rules it could not judge for want of an input, and accrues_as_sent. Without external_id it is the programme’s generic answer and a publishable key may ask for it; with external_id it is that member’s, with their tier multiplier and cap headroom, and needs a secret key. It adds the codes program_not_published (404), preview_input_required and event_type_not_earnable (422). SDK 0.12.0 adds earn.preview(event) and program.earn.preview(event), and maps those codes, and the earn bases’ own, to NotFoundError / ValidationError on any call. See Show what a purchase will earn.

2026-11-05 — The rolling_12mo status period is retired

Section titled “2026-11-05 — The rolling_12mo status period is retired”

status_period in GET /v1/tiers is now calendar_year or anniversary. rolling_12mo behaved exactly as anniversary (both end 12 months after a member’s period starts), and every programme that held it now reports anniversary. No member’s tier period moves. SDK 0.11.0 narrows TierProgramRules['statusPeriod'] to those two values, so code that compares it with 'rolling_12mo' stops compiling; delete the branch.

2026-11-05 — Read a programme’s tier ladder, and the programme itself

Section titled “2026-11-05 — Read a programme’s tier ladder, and the programme itself”

Additive. GET /v1/tiers returns a programme’s tier rules and its tiers in display order, with each tier’s qualify and hold thresholds, earn multiplier, lifetime threshold and the reward ids it unlocks. GET /v1/programs/{ref} returns one programme (id, handle, name, points_label, active, is_default) by handle or id, and GET /v1/programs lists them all. A publishable key may call /v1/tiers and /v1/programs/{ref}; listing programmes needs a secret key. SDK 0.10.0 adds tiers.list() and programs.get() / programs.list(), which return a read-only Program bound to one programme. See Tier ladder and The Program object.

2026-11-04 — List a customer’s held checkout redemptions

Section titled “2026-11-04 — List a customer’s held checkout redemptions”

Additive. GET /v1/customers/{channel}/{externalId}/checkout-redemptions lists the checkout redemptions a customer holds now, oldest first, in the call’s program. It takes a secret key. Each entry carries its ref, program, kind, points, value_cents, created_at, expires_at and the idempotency_key it was placed with. Use it to find a redemption whose place response you lost, matching your own key exactly, then cancel its ref. SDK 0.9.0 adds checkoutRedemptions.list({ externalId }). See Redeem points on a headless cart.

Additive. get_rewards_catalogue, get_member_balance, get_member_status, get_member_history, get_top_members and search_customer take an optional program: a programme handle or its lower-case id. Omitted, each tool requests what it always did. On a workspace with two programmes the argument is required, and a call without it answers that the workspace has several programmes and needs program (the API’s 400 program_required). A programme the workspace does not have is answered as “No such programme”, not as a missing member. lookup_customer and get_customer_pii are unchanged. See AI / MCP.

2026-10-31 — Create programmes in the console

Section titled “2026-10-31 — Create programmes in the console”

Additive. The console’s Programmes page has a Create programme button, so a workspace can now have more than one programme. Only owners and admins can create one; other seats see the page read-only.

  • A workspace can have up to ten programmes. The console disables the button at ten, and the database refuses an eleventh.
  • A handle is 1 to 40 characters: lowercase letters, digits and hyphens, not starting with a hyphen. It cannot be shaped like a UUID. A handle another programme in the workspace uses is refused, and so is one that a Shopify discount node still carries after another programme was renamed off it (the console asks you to try again in a minute).
  • A new programme is not the default and claims no sales channel, so it is inactive until you claim a sales channel for it or make it the default. The console selects it after it is created.

Once this workspace has two programmes, API, SDK and MCP calls that take a programme but name none are refused with program_required. See Working with more than one programme.

2026-10-29 — Redeem points on a headless Shopify cart

Section titled “2026-10-29 — Redeem points on a headless Shopify cart”

Additive. POST /v1/checkout-redemptions places a redemption a Shopify checkout applies, and POST /v1/checkout-redemptions/{ref}/cancel releases it. Both take a secret key, and the place call requires the cart’s lines (a body without them is a 400). New error codes: not_enrolled (404), shopify_not_connected (409) and redemption_unavailable (503, whose Idempotency-Key is spent: retry with a new one). See Redeem points on a headless cart.

2026-10-26 — Name the programme on /v1 calls

Section titled “2026-10-26 — Name the programme on /v1 calls”

Additive. For a workspace with more than one programme, the programme-scoped calls take a program: a query parameter on GET /v1/rewards (and /v1/catalogue), the three GET /v1/customers/{channel}/{externalId} reads (balance, status, history), the three GET /v1/members/{uuid} reads, GET /v1/members/top and GET /v1/customers/search, and a body field on POST /v1/redemptions and POST /v1/discounts/evaluate. It is a programme handle or its lower-case id. Omitted, a call behaves as before on a workspace with one programme, and is 400 program_required on a workspace with several. A malformed value is 400 invalid_request; a programme that is not the workspace’s is 404 not_found. See Working with more than one programme.

Two behaviours to tolerate:

  • A NUL character or an unpaired surrogate is now refused where it reaches a channel, an external id or a source reference: 422 invalid_payload on POST /v1/events (any text field of the event), 400 invalid_request on the other /v1 bodies, paths and filters that carry one.
  • A programme handle can no longer be shaped like a programme id (a UUID).

The sales_channel fallback is now documented exactly: a channel that already fits the key shape is the key unchanged; any other is lowercased, runs of characters outside a-z 0-9 . _ - become one -, leading non-alphanumerics and trailing - characters are dropped, and an empty result is unknown. See Routing an order to a programme.

SDK @tesseraloyalty/sdk 0.8.0 carries program, withProgram, cartAttributes(), events.ingest({ salesChannel }), checkoutRedemptions.place / cancel and cartAttributes({ ref }). It is unreleased until it is published to npm.

2026-10-03 — Place a Fixed reward through POST /v1/redemptions

Section titled “2026-10-03 — Place a Fixed reward through POST /v1/redemptions”

Additive. requested_points is now an optional request field on POST /v1/redemptions. It is still required for a Points value card and whenever option_id is absent, so every request that worked before gets the same response. Omit it, and send the card’s option_id, to place a Fixed reward card at the card’s own price; the 201 shape is unchanged (amount is the card’s points cost). See Redemptions & holds.

Two behaviours to tolerate:

  • GET /v1/rewards and POST /v1/discounts/evaluate now list a Fixed reward card whose price the programme can compute with placeable: true. Code that picks the first placeable card and sends requested_points can now pick a Fixed card and get a 422 option_not_eligible (details.reason card_not_placeable). Choose by kind, as the guides now do.
  • option_not_eligible gains the details.reason values card_unpriceable and not_offered, and card_not_placeable now means “this request body does not place that card’s kind”.

SDK @tesseraloyalty/sdk 0.7.0 carries the matching input type.

Initial public release of this documentation site: the API reference (generated from the live /v1 OpenAPI document), core concepts, task guides, the SDK reference, and this AI/MCP integration page.