PATCH
/
api
/
v2
/
platform
/
vendors
/
{id}
curl --request PATCH \
  --url http://{defaultHost}/api/v2/platform/vendors/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "invitation_message": "<string>",
  "public_metadata": {},
  "private_metadata": {},
  "platform_fee": 5,
  "state": "pending",
  "contact_person_email": "<string>",
  "contact_person_name": "<string>",
  "contact_person_phone": "<string>"
}'

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Query Parameters

include
string

Select which associated resources you would like to fetch, see: <a href="https://jsonapi.org/format/#fetching-includes">https://jsonapi.org/format/#fetching-includes</a>

Body

application/json
name
string
required
contact_person_email
string
required
invitation_message
string
public_metadata
object
private_metadata
object
platform_fee
number
default:5
state
string
default:pending
contact_person_name
string
contact_person_phone
string

Response

200
_mintlify/placeholder

Record updated