Set the logo of a manufacturer
PUT/v1/manufacturers/:id/logo
Stores the manufacturer's logo, or puts another one in its place. Send a form (multipart/form-data) with a JPEG, PNG or WebP of at most 5 MB in file. Sending the logo it has changes nothing. Requires the write:manufacturers scope.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 413
- 415
- 429
- 500
The logo.
validation_error: the body is no form, the file is missing or empty, or a field is not valid. message names the problem.
missing_api_key or invalid_api_key: no API key was sent, or it is wrong, expired or revoked.
insufficient_scope: the API key does not have the scope this endpoint needs. required names it.
not_found: there is no such record in your company.
file_too_large: the picture has more than 5 MB.
file_type_not_allowed: the file is no JPEG, PNG or WebP.
rate_limited: the API key has stored 1000 files within the hour. Try again after the seconds in the Retry-After header.
Response Headers
db_error: the database refused or failed the request. storage_error: the file could not be stored. message has the details.