Store
Post apiv1realms store
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
POST
/
api
/
v1
/
realms
/
{realmId}
/
store
curl --request POST \
--url https://api.drip.re/api/v1/realms/{realmId}/store \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"description": "<string>",
"image": "<string>",
"type": "DIGITAL",
"metadata": {},
"price": 123,
"stock": 123,
"maxPerUser": 123,
"currencyId": "<string>",
"requiredMetadata": []
}'
{
"data": {
"id": "<string>",
"item": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"image": "<string>",
"type": "<string>",
"metadata": {},
"requiredMetadata": []
},
"realmPoint": {
"id": "<string>",
"name": "<string>"
},
"price": 123,
"stock": 123,
"maxPerUser": 123
}
}
Authorizations
API Key
Body
application/json
Available options:
DIGITAL
, PHYSICAL
, NFT
Response
201
application/json
Default Response
curl --request POST \
--url https://api.drip.re/api/v1/realms/{realmId}/store \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"description": "<string>",
"image": "<string>",
"type": "DIGITAL",
"metadata": {},
"price": 123,
"stock": 123,
"maxPerUser": 123,
"currencyId": "<string>",
"requiredMetadata": []
}'
{
"data": {
"id": "<string>",
"item": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"image": "<string>",
"type": "<string>",
"metadata": {},
"requiredMetadata": []
},
"realmPoint": {
"id": "<string>",
"name": "<string>"
},
"price": 123,
"stock": 123,
"maxPerUser": 123
}
}