Update a supplier
PATCH/api/v1/suppliers/:id
Updates an existing supplier. Authorization is based on the OAuth application's tenant access.
Request
Responses
- 200
- 401
- 404
- 422
The supplier was updated and is returned with its new attribute values.
The request is missing a bearer token, or the token is invalid or expired.
The supplier does not exist, or it belongs to a workspace the OAuth application cannot access.
The supplier payload failed validation (for example an invalid SIRET or VAT identifier); the response body lists each invalid attribute and the reason under errors.