Currency
Update Currency
Accounts
Realm-Members
Realms
Store
Currency
Raffle
Quests
Tasks
Triggers
Transitions
Conditions
- GETGet apiv1realms quests tasks conditions
- POSTPost apiv1realms quests tasks conditions
- GETGet apiv1realms quests tasks conditions 1
- DELDelete apiv1realms quests tasks conditions
- PATCHPatch apiv1realms quests tasks conditions
- POSTPost apiv1realms quests tasks conditions pre data
- POSTPost apiv1realms quests tasks conditions pre datasearch
Actions
Currency
Update Currency
PATCH
/
api
/
v1
/
currencies
/
{realmId}
/
currencies
/
{currencyId}
curl --request PATCH \
--url https://api.drip.re/api/v1/currencies/{realmId}/currencies/{currencyId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"emoji": "<string>",
"metadata": {},
"default": true
}'
{
"id": "<string>",
"realmId": "<string>",
"name": "<string>",
"emoji": "<string>",
"default": false,
"metadata": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"archived": false,
"archivedAt": "2023-11-07T05:31:56Z"
}
Authorizations
API Key
Path Parameters
Response
200
application/json
Default Response
The response is of type any
.
curl --request PATCH \
--url https://api.drip.re/api/v1/currencies/{realmId}/currencies/{currencyId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"emoji": "<string>",
"metadata": {},
"default": true
}'
{
"id": "<string>",
"realmId": "<string>",
"name": "<string>",
"emoji": "<string>",
"default": false,
"metadata": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"archived": false,
"archivedAt": "2023-11-07T05:31:56Z"
}