---
title: "POST /api/public/v1/customers/tillOrderEarn"
method: POST
path: "/api/public/v1/customers/tillOrderEarn"
---

# POST /api/public/v1/customers/tillOrderEarn

`POST /api/public/v1/customers/tillOrderEarn`

## Request

- Base URL: `https://app.fortuneos.ai`
- URL: `https://app.fortuneos.ai/api/public/v1/customers/tillOrderEarn`
- Auth: none declared

What a paid order earned its loyalty member: the points and their balance after it, the stamps it earned over every row (`stampsEarned`) and the reward names of the rewards its earn filled, in row order (`rewardsReady`); a stamps-only earn answers `earnedHundredths` 0. Null when it earned neither points nor stamps, and while the plan lacks Loyalty under enforcement. Refused with FORBIDDEN as `paywallLocked` when the caller is an Owner or Manager of a business the merchant Paywall locks: one with no verified subscription that has taken 5 orders while the Paywall's rollout reaches it, an order counting from its first saved line, whether or not it is paid or completed, until it is archived or cancelled before activation. Nothing is read or written; a verified subscription lifts the lock.

## Request body

- object
  - `orderId` string, required

## Response `200`

OK

- object, nullable
  - `firstName` string, nullable, required
  - `earnedHundredths` integer, required
  - `balanceHundredths` integer, required
  - `stampsEarned` integer, required
  - `rewardsReady` string[], required

## Changes

- **2026-11-30** `af5a4f3ebc04`: 2 info
  - added the required property `anyOf[subschema #1]/rewardsReady` to the response with the `200` status
  - added the required property `anyOf[subschema #1]/stampsEarned` to the response with the `200` status
- **2026-10-15** `19805e19664f`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/fortis/apis/fortune-os-api/changes/api/public/v1/customers/tillOrderEarn/post.md)

---

[API](https://skmtc.dev/fortis/apis/fortune-os-api.md) - [All operations](https://skmtc.dev/fortis/apis/fortune-os-api/llms.txt) - [OpenAPI document](https://skmtc.dev/fortis/apis/fortune-os-api/revisions/522f3cea550d?raw)
