Skip to main content
PATCH
Update a tier
Updates a tier’s display_name, status, lifecycle, or levels.
  • Levels: Existing levels in levels match by key and update in place; new key values create levels (rank required) and return 409 on a key or rank conflict.
  • Qualification edits: Updated thresholds apply to future checks and do not re-check existing holders, except on PERIODIC tiers, where Scrip runs a one-time check after a qualification or lifecycle change (DROP_ONE tiers skip participants already checked in the current period).
  • Clearing blocks: On lifecycle and level qualification, omitting the field or passing null keeps the stored configuration; passing {} clears it ("lifecycle": {} makes the tier rules-only, "qualification": {} removes auto-advancement). Passing a populated object replaces that block in full.
  • Archived tiers: An ARCHIVED tier accepts only {"status": "ACTIVE"} to restore it; any other change returns 409 tier_archived.
For usage patterns and examples, see the Tiers guide.

Authorizations

Authorization
string
header
default:sk_...
required

Send your API key as Authorization: Bearer <key>.

Path Parameters

program_id
string<uuid>
required

The program's id.

tier_key
string
required

The tier's key, such as status.

Body

application/json

Fields to update

Changes a tier's name, status, lifecycle or levels.

display_name
string

Human-readable name shown in dashboards and reports

Maximum string length: 255
Example:

"Loyalty Status"

levels
object[]

Levels to upsert. Existing levels (matched by key) are updated; new keys create new levels.

lifecycle
object

Lifecycle configuration updates (retention mode, its period, downgrade policy)

status
enum<string>

Set to ARCHIVED to archive the tier, or back to ACTIVE to restore it; send status without other fields.

Available options:
ACTIVE,
ARCHIVED
Example:

"ARCHIVED"

Response

Updated tier

A tier definition with its levels, lifecycle configuration, and metadata

archived_at
string<date-time>

When the tier was archived (RFC 3339); absent while the tier is ACTIVE

Example:

"2027-01-15T10:30:00Z"

created_at
string<date-time>

When this tier was created (RFC 3339)

Example:

"2027-01-15T10:30:00Z"

display_name
string

The name people see for the tier, such as Loyalty status.

Example:

"Loyalty Status"

id
string<uuid>

Unique identifier for this tier

Example:

"e0a4c6b2-8d13-4f57-9b6a-3c5e7a9d1b22"

key
string

Tier key used in API calls and rule actions

Example:

"status"

levels
object[]

Ordered list of levels within this tier

lifecycle
object

Lifecycle configuration (retention mode, its period, downgrade policy)

program_id
string<uuid>

Program this tier belongs to

Example:

"8f14e45f-ceea-4e70-9df8-2a7d1b3c9f01"

status
enum<string>

The tier's lifecycle state.

Available options:
ACTIVE,
ARCHIVED
Example:

"ACTIVE"

updated_at
string<date-time>

When this tier was last modified (RFC 3339)

Example:

"2027-01-15T10:30:00Z"