Skip to main content
PATCH
Update badge reward

Authorizations

X-Api-Key
string
header
required

Path Parameters

id
string
required

Community ID

badgeId
string
required

Badge ID

rewardId
string
required

Reward ID

Body

application/json
name
string
image
string
provider
enum<string>
Available options:
Vault
type
enum<string>
Available options:
native,
erc20,
erc721,
erc1155,
points
status
enum<string>
Available options:
open,
pending,
sent
vaultId
string
contract
string
chainId
string
amount
string[]
description
string
endDate
string<date-time>
maxSpend
number
transactionHash
string

Response

200 - application/json

Badge reward updated successfully

id
string
required
image
string
required
provider
enum<string>
required
Available options:
Vault
providerImage
string
required
name
string
required
type
enum<string>
required
Available options:
native,
erc20,
erc721,
erc1155,
points
status
enum<string>
required
Available options:
open,
pending,
sent
amount
number[]
required
description
string
required
endDate
string<date-time>
required
maxSpend
number
required
vaultId
string
contract
string
chainId
string
transactionHash
string
deletedAt
string<date-time>
sentAt
string<date-time>