Skip to main content
PATCH
Update badge attribution

Authorizations

X-Api-Key
string
header
required

Path Parameters

id
string
required

Community ID

badgeId
string
required

Query Parameters

conditionKey
string

Optional condition key used to prevent invalid metadata updates

condition
enum<string>

Optional condition used to determine the comparison of the new metadata value to the current value

Available options:
gt,
lt

Body

application/json
wallet
string
required

Wallet address (if not using a claim code)

metadata
object

Metadata to be included in the badge attribution

Response

200 - application/json
id
string
required
badgeId
string
required
earnedAt
string<date-time>
required
claimedAt
string<date-time>
required
transactionHash
string
required
tokenId
string
required
chainId
number
required
contract
string
required
metadata
object
required
metadata.[key]
object
required