Skip to main content
PUT

Authorizations

X-App-Id
string
header
required
X-App-Token
string
header
required

Path Parameters

tierStructureId
string
required

Identifies the tier structure. Format lts_[a-f0-9]+.

Pattern: ^lts_[a-f0-9]+$

Body

application/json

Request body schema for PUT /v2/loyalties/tier-structures/{tierStructureId}.

name
string

Sets the display name of the tier structure.

Required string length: 1 - 200
type
enum<string>

Sets the tier qualification tracking model. When provided, the matching tracking settings object (point_balance or point_earned) becomes required.

Available options:
POINT_BALANCE,
POINT_EARNED
point_balance
object | null
required if type = POINT_BALANCE

Sets point balance tracking settings. Required (non-null) when type is provided as POINT_BALANCE. Must be null when type is provided as POINT_EARNED. Without a type change, null is treated as omitted.

point_earned
object | null
required if type = POINT_EARNED

Sets points earned tracking settings. Required (non-null) when type is provided as POINT_EARNED. Must be null when type is provided as POINT_BALANCE. Without a type change, null is treated as omitted.

expiration
object | null

Sets tier membership expiration settings. null is treated as omitted and does not clear expiration.

downgrade
object | null

Sets downgrade behavior applied when tier membership expires. null is treated as omitted and does not clear downgrade.

metadata
object | null

Sets free-form key/value custom attributes. An object is shallow-merged with existing metadata. null clears metadata to {}.

Response

The updated tier structure.

Response body schema for PUT /v2/loyalties/tier-structures/{tierStructureId}.

id
string
required

Unique tier structure identifier.

Pattern: ^lts_[a-f0-9]+$
name
string
required

Display name of the tier structure.

type
enum<string>
required

Tier qualification tracking model.

Available options:
POINT_BALANCE,
POINT_EARNED
expiration
object
required

Tier membership expiration settings. Only the sub-object matching type is present; the others are omitted.

downgrade
object
required

Downgrade behavior applied when tier membership expires.

status
enum<string>
required

Current lifecycle status of the tier structure.

Available options:
DRAFT,
ACTIVE,
INACTIVE,
DELETED
object
string
required

Object type discriminator. Always tier_structure.

Allowed value: "tier_structure"
metadata
object
required

Free-form key/value object holding custom attributes. Defaults to {}.

created_at
string<date-time>
required

Creation timestamp (ISO 8601).

updated_at
string<date-time> | null
required

Last update timestamp (ISO 8601), or null if never updated.

point_balance
object | null

Point balance tracking settings. null when type is POINT_EARNED.

point_earned
object | null

Points earned tracking settings. null when type is POINT_BALANCE.