Skip to main content
POST
Redeem Product Item

Authorizations

Authorization
string
header
required

A JWT Access Token obtained from Google Cloud.

Path Parameters

id
string<uuid>
required

The product ID.

Body

application/json

The ID of the product item to redeem. Product items can only be redeemed once.

product_item_id
string<uuid>
required

The ID of the product item to redeem.

Response

A product item was successfully redeemed.

id
string<uuid>
required

The ID of the product item.

created_at
string<date-time>
required

The date and time the product item was created.

updated_at
string<date-time>
required

The date and time the product item was last updated.

product_id
string<uuid>
required

The ID of the product.

item_id
integer
required

The unique item ID as an integer of the product item. If NFT, this is the NFT ID too.

redemption_count
integer
required

How many times this item has been redeemed.

redemption_quantity
integer
required

How many times this item can be redeemed in total.

is_fully_redeemed
boolean
required

Whether this item has been fully redeemed.

user
object
required

The current owner of the product item.

product
object
required

The product this item belongs to.

redeemed_at
integer | null

The UNIX timestamp when the product item was fully redeemed. Null if not fully redeemed.