Skip to main content
PUT
Set participant tier
Sets a participant’s level for tier_key in the specified program_id. If you pass an optional expires_at, Scrip applies the tier’s downgrade policy when that time arrives (or removes the level if the tier has no retention mode) and replaces any existing expiration task for this tier. On a PERIODIC tier, period checks leave the level alone until expires_at. The participant must be active and enrolled in the specified program. The program must also be active. Inactive participants return 409 Conflict with code participant_inactive. An archived tier returns 409 Conflict with code 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

participant_id
string
required

The participant's id, or ext: followed by the participant's external_id.

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}|ext:.{1,255})$
tier_key
string
required

The tier's key, such as status.

Query Parameters

program_id
string<uuid>
required

Program ID

Body

application/json

Tier level to set

Assigns a tier level to a participant, optionally until a date.

level
string
required

Key of the level to assign (e.g., gold)

Required string length: 1 - 100
Example:

"gold"

expires_at
string<date-time>

When this tier assignment expires (RFC 3339, null for no expiration)

Example:

"2027-12-31T23:59:59Z"

Response

Updated tier state

A participant's or group's standing in one tier: the level, its rank, and when they earned it and when it ends.

acquired_at
string<date-time>

When this tier level was earned

Example:

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

benefits
object

Benefits granted by this tier level

Example:
expires_at
string<date-time>

When this tier level expires

Example:

"2027-12-31T23:59:59Z"

level
string

Current tier level name

Example:

"gold"

progress
object

Progress to the next level. Only GET /v1/participants/{participant_id}/state/tiers/{tier_key} returns it. Absent when no level above the current one has qualification criteria, or the tier is archived.

rank
integer

Numeric rank within the tier (higher = better)

Example:

2