curl --request PATCH \
--url http://{defaultHost}/api/v2/platform/vendors/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"contact_person_email": "<string>",
"invitation_message": "<string>",
"public_metadata": {},
"private_metadata": {},
"platform_fee": 5,
"state": "pending",
"contact_person_name": "<string>",
"contact_person_phone": "<string>"
}
'Updates a Vendor. Only available in Enterprise Edition
curl --request PATCH \
--url http://{defaultHost}/api/v2/platform/vendors/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"contact_person_email": "<string>",
"invitation_message": "<string>",
"public_metadata": {},
"private_metadata": {},
"platform_fee": 5,
"state": "pending",
"contact_person_name": "<string>",
"contact_person_phone": "<string>"
}
'Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Select which associated resources you would like to fetch, see: https://jsonapi.org/format/#fetching-includes
Record updated
Was this page helpful?