Skip to main content
PATCH
Update a reward
Updates a custom reward; omitted fields stay unchanged. redemption_type and asset_id are immutable, and reward names must remain unique within the program (409 reward_name_already_exists).
  • Clearing optional fields: Send null for cost, max_total, max_per_participant, available_from, or available_until to clear the value. Raising max_total above committed inventory (or clearing it) restores an OUT_OF_STOCK reward to ACTIVE unless the same request sets status; see Inventory and status.
  • Managed rewards: Rewards synced from a fulfillment account (auto_managed: true) return 409 auto_managed_item. Update their reward source or product settings instead.
For usage patterns and examples, see the Rewards catalog 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.

reward_id
string<uuid>
required

The reward's id.

Body

application/json

Reward updates

Changes a reward in the catalog. Send only the fields to change.

available_from
string<date-time> | null

Start of the availability window (RFC 3339). A time sets it, null makes the reward available from any time, and omitting it leaves it unchanged.

Example:

"2027-01-01T00:00:00Z"

available_until
string<date-time> | null

End of the availability window (RFC 3339). A time sets it, null removes the end date, and omitting it leaves it unchanged.

Example:

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

category
string

Grouping label for organizing rewards in the catalog

Maximum string length: 100
Example:

"Merchandise"

cost
object | null

What one unit of a custom reward costs you in money. An object sets it, null clears it, and omitting it leaves it unchanged. Managed rewards cost their face value and take no cost.

description
string

Details about the reward

Maximum string length: 1000
Example:

"A stainless steel bottle with the Acme logo"

fulfillment_mode
enum<string> | null

Whether redeeming the reward holds the points until it is delivered. INSTANT completes the redemption at once. ASYNC leaves it pending with the points held. Null completes it at once, except a gift card Scrip orders, which always holds the points. Omitting it leaves the setting unchanged.

Available options:
INSTANT,
ASYNC,
null
Example:

"ASYNC"

max_per_participant
integer | null

Per-participant redemption limit (UNIT_BASED only). A number sets it, null removes the limit, and omitting it leaves it unchanged.

Example:

2

max_total
integer | null

Global inventory limit (UNIT_BASED only). A number sets it, null removes the limit, and omitting it leaves it unchanged. Raising it above the units already committed puts a sold-out reward back to ACTIVE, unless you also send status.

Example:

100

metadata
object

Custom key-value data attached to this reward

name
string

A new name for the reward.

Required string length: 1 - 255
Example:

"Insulated Water Bottle"

status
enum<string>

Lifecycle status: DRAFT, ACTIVE, OUT_OF_STOCK, or ARCHIVED

Available options:
DRAFT,
ACTIVE,
OUT_OF_STOCK,
ARCHIVED
Example:

"ACTIVE"

unit_cost
string

Cost per unit in the reward's asset (decimal string for precision, must be positive)

Example:

"1000.00"

values_per_unit
object[] | null

What one point is worth for this reward, at most one per currency. A list replaces all of them, an empty list or null clears them, and omitting it leaves them unchanged. Only a reward with redemption_type AMOUNT_BASED takes it.

Response

Reward updated

A reward with its pricing, inventory, availability, and metadata

asset_id
string<uuid>

Asset used to price this reward

Example:

"a3bb189e-8bf9-4c8b-9be0-6b5d2f4e7a02"

auto_managed
boolean

Whether the catalog sync manages this item's lifecycle automatically

Example:

false

available_from
string<date-time>

Start of the availability window (RFC 3339, null if always available)

Example:

"2027-01-01T00:00:00Z"

available_until
string<date-time>

End of the availability window (RFC 3339, null if no end date)

Example:

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

category
string

Grouping label for organizing rewards in the catalog

Example:

"Merchandise"

committed_units
integer | null

UNIT_BASED units currently consuming inventory. Includes delivered and pending units. Null for AMOUNT_BASED rewards.

Example:

42

cost
object | null

Monetary cost of one unit of a custom reward (null when unset or for managed rewards).

created_at
string<date-time>

When this reward was created (RFC 3339)

Example:

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

delivered_units
integer | null

UNIT_BASED units whose redemption has been completed. Null for AMOUNT_BASED rewards.

Example:

39

description
string

Details about the reward

Example:

"A stainless steel bottle with the Acme logo"

display
object

Product content for displaying the reward. Present for managed rewards (kind PROVIDER).

face_currency
string

ISO 4217 currency of the face value (PROVIDER items only)

Example:

"USD"

face_value
object

Pinned face value (fixed-denomination PROVIDER items only)

fulfillment
object

Supported values, currencies, delivery, and pricing. Present for managed rewards (kind PROVIDER).

fulfillment_mode
enum<string> | null

What a redemption of this reward does when the request omits capture. INSTANT completes the redemption at once. ASYNC leaves it pending with the points held. null completes it at once, except a gift card Scrip orders, which always holds the points.

Available options:
INSTANT,
ASYNC,
null
Example:

"ASYNC"

fulfillment_product_id
string<uuid>

Product ordered when this reward is redeemed. Present for managed rewards (kind PROVIDER).

Example:

"3f5b7d91-a2c4-4e68-8a0d-f1b3c5e7d927"

id
string<uuid>

Unique identifier for this reward

Example:

"2b7a9c4e-1f3d-4a8b-9e6c-5a1d3f7b8c08"

kind
string

Whether you created the reward directly (CUSTOM) or Scrip manages it through a reward source (PROVIDER)

Example:

"CUSTOM"

max_per_participant
integer | null

Per-participant redemption limit (UNIT_BASED only, null = unlimited)

Example:

2

max_total
integer | null

Global inventory limit (UNIT_BASED only, null = unlimited)

Example:

100

metadata
object

Custom key-value data attached to this reward

name
string

The name people see for the reward in the catalog.

Example:

"Insulated Water Bottle"

pending_units
integer | null

UNIT_BASED units awaiting fulfillment. Null for AMOUNT_BASED rewards.

Example:

3

program_id
string<uuid>

Program this reward belongs to

Example:

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

redemption_type
enum<string>

Whether the reward is redeemed in discrete units or in variable amounts.

Available options:
UNIT_BASED,
AMOUNT_BASED
Example:

"UNIT_BASED"

reward_source_id
string<uuid>

Reward source that supplies this reward. Present for managed rewards (kind PROVIDER).

Example:

"9a0c2e4b-6d81-4f35-a7c9-1b3d5f7e9a14"

status
enum<string>

The reward's lifecycle state.

Available options:
DRAFT,
ACTIVE,
OUT_OF_STOCK,
ARCHIVED
Example:

"ACTIVE"

unit_cost
string

Fixed price per unit (or use fulfillment.rate for variable-value managed rewards).

Example:

"1000.00"

updated_at
string<date-time>

When this reward was last modified (RFC 3339)

Example:

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

values_per_unit
object[]

What one point is worth for this reward, one per currency. Present for custom variable-amount rewards (redemption_type AMOUNT_BASED) that set them. A redemption of this reward with a face_value in one of these currencies converts it to points with this value instead of the asset's value_per_unit.