Skip to main content
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

Details for changing a Discord invite after placing member marketplace order

ref
string
required

The Order reference you would like to change Discord invite for. NOT the same as Order ID, see the response of Buy Members for the "reference" field

Example:

"c444b1c9fa354ffcbf3b6c99300fc0d9"

invite
string
required

The Discord invite code you want the order changed to

Example:

"dyno"

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

success
boolean
Example:

true

message
string
Example:

"Updated invite code!"

I