curl --request PATCH \
--url http://{defaultHost}/api/v2/platform/vendors/{id}/suspend \
--header 'Authorization: Bearer <token>'Marks Vendor as suspended, and triggers an approval email send out to the vendor’s contact person. Also the vendor’s products will become unavailable for purchase and will be hidden from the storefront. Only available in Enterprise Edition
curl --request PATCH \
--url http://{defaultHost}/api/v2/platform/vendors/{id}/suspend \
--header 'Authorization: Bearer <token>'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?