🪙 Economy

Shop Anlegen

Einen Artikel in den Shop stellen.

Legt Artikel und Shop-Eintrag zusammen an - getrennt waeren es zwei Aufrufe, zwischen denen ein Artikel ohne Shop-Eintrag entstehen kann, den danach niemand mehr findet.

post/api/v1/servers/{server_id}/economy/shop

Request

  • Base URL: https://api.notoq.xyz (the document declares no server; this is the origin it was published from)
  • URL: https://api.notoq.xyz/api/v1/servers/{server_id}/economy/shop
  • Auth: HTTP bearer

Path parameters

server_idstring required

Discord Server ID

Request body

namestring nullable
descriptionstring nullable
emojistring nullable
item_typestring nullable
rarity'common' | 'rare' | 'epic' | 'legendary' nullable
priceinteger nullable
currency_type'coins' | 'gems' | 'tokens' nullable
stock_quantityinteger nullable
purchase_limit_per_userinteger nullable
is_availableboolean nullable
is_tradeableboolean nullable
is_sellableboolean nullable

Response

Successful Response

successboolean required
dataobject required
messagestring nullable

Changes

No recorded changes to this operation across all 1 revision of this API.