Skip to main content
PUT
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.

Body

application/json
accrualPointsPerCent
number
required
Required range: x >= 0
redemptionCentsPerPoint
number
required
Required range: x >= 0
tiers
object[]
required
Minimum array length: 1
expiry
object

Response

The saved program rules.

The saved program rules.

accrualPointsPerCent
number
required
Required range: x >= 0
redemptionCentsPerPoint
number
required
Required range: x >= 0
tiers
object[]
required
Minimum array length: 1
expiry
object