Skip to main content
GET
Error

Authorizations

Authorization
string
header
required

Authorization: Bearer <token>. Accepts EITHER a Keycloak access token (scopes-in-token) OR an opaque POS session token; both resolve to the same pos.* scope vocabulary the route guards enforce.

Path Parameters

id
string
required
Minimum string length: 1

Response

The traced applied discount, with its attribution and signed reduction.

The traced applied discount, with its attribution and signed reduction.

id
string
required
scope
enum<string>
required
Available options:
line,
ticket
lineId
string | null
required
basis
enum<string>
required
Available options:
percent,
amount
baseCents
integer
required
Required range: -9007199254740991 <= x <= 9007199254740991
amountCents
integer
required
Required range: -9007199254740991 <= x <= 9007199254740991
effectiveBps
integer
required
Required range: -9007199254740991 <= x <= 9007199254740991
reason
enum<string>
required
Available options:
manual_markdown,
promotional,
loyalty_reward,
damaged_goods,
manager_goodwill
actorId
string
required
at
string
required
note
string