Store
Post apiv1realms store purchase
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
Store
Post apiv1realms store purchase
POST
/
api
/
v1
/
realms
/
{realmId}
/
store
/
{itemId}
/
purchase
curl --request POST \
--url https://api.drip.re/api/v1/realms/{realmId}/store/{itemId}/purchase \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"quantity": 2,
"metadata": {},
"accountId": "<string>"
}'
{
"data": {
"id": "<string>",
"quantity": 123,
"totalPrice": 123,
"status": "<string>",
"memberId": "<string>",
"storeItem": {
"id": "<string>",
"item": {
"name": "<string>",
"type": "<string>"
},
"realmPoint": {
"id": "<string>",
"name": "<string>"
}
}
}
}
Authorizations
API Key
Response
200
application/json
Default Response
curl --request POST \
--url https://api.drip.re/api/v1/realms/{realmId}/store/{itemId}/purchase \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"quantity": 2,
"metadata": {},
"accountId": "<string>"
}'
{
"data": {
"id": "<string>",
"quantity": 123,
"totalPrice": 123,
"status": "<string>",
"memberId": "<string>",
"storeItem": {
"id": "<string>",
"item": {
"name": "<string>",
"type": "<string>"
},
"realmPoint": {
"id": "<string>",
"name": "<string>"
}
}
}
}