---
title: "POST /market/update-invite"
method: POST
path: "/market/update-invite"
---

# POST /market/update-invite

`POST /market/update-invite`

Update Discord invite

## Request body

- object
  - `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
  - `invite` string, required — The Discord invite code you want the order changed to

## Response `200`

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

- object
  - `success` boolean
  - `message` string

---

[API](https://skmtc.dev/vaultcord/apis/vaultcord-developers-api.md) · [All operations](https://skmtc.dev/vaultcord/apis/vaultcord-developers-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/vaultcord/vaultcord-developers-api/revisions/7790bd606410/schema)
