Set participant tier
State
Set participant tier
Directly set a participant’s tier to a specific level, optionally with an expiration.
PUT
Set participant tier
Sets a participant’s tier level directly. TheDocumentation Index
Fetch the complete documentation index at: https://docs.scrip.dev/llms.txt
Use this file to discover all available pages before exploring further.
key path parameter identifies which tier to update (e.g., status), and program_id is required as a query parameter.
The request body must include a level matching a defined level key on the tier. You can optionally provide an expires_at timestamp (RFC 3339) to schedule automatic removal of the tier assignment. Any existing expiration task for this tier is replaced.
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.
For usage patterns and examples, see the Tiers guide.
Authorizations
API key passed in the X-API-Key header.
Query Parameters
Program ID
Body
application/json
Tier level to set
Response
Updated tier state
When this tier level was earned
Example:
"2024-06-01T00:00:00Z"
Benefits granted by this tier level
Example:
{ "discount_pct": 10, "free_shipping": true }When this tier level expires
Example:
"2025-06-01T00:00:00Z"
Current tier level name
Example:
"gold"
Numeric rank within the tier (higher = better)
Example:
2