POST
/
market
/
update-invite
cURL
curl --request POST \
  --url https://api.vaultcord.com/market/update-invite \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "ref": "c444b1c9fa354ffcbf3b6c99300fc0d9",
  "invite": "dyno"
}'
{
  "success": true,
  "message": "Updated invite code!"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

JSON for updating Discord invite

The body is of type object.

Response

200 - application/json

This only succeeds if you haven't started the pull yet. Don't include the "discord.gg" portion of the invite link. Only the end invite code. Example: "dyno". Also remember the reference is NOT the same as Order ID, see the response of Buy Members for the "reference" field

The response is of type object.