Query parameters
-
discordid
string Required User Discord ID
-
type
string Required Type of trade
Values are
Supply
orDemand
. -
resource
string Required Type of resource. Example Aloe
-
amount
integer Amount of the resource
-
quality
integer Quality of the resource. Max 100
-
region
string Required Region of the trade. EU, NA, SA , ASIA, OCE
-
price
integer Required Price per resource
POST
/bot/trades
curl \
--request POST 'http://api.example.com/bot/trades?discordid=string&type=Supply&resource=string®ion=string&price=42' \
--header "apiKey: $API_KEY"
Response examples (201)
{
"message": "string"
}
Response examples (400)
string
Response examples (401)
string
Response examples (503)
string