Skip to navigation

Upload your light logo

Partner key only. multipart/form-data with the field file: PNG, JPEG or WebP (read from the file’s bytes), at most 2 MB. A light version of your logo for the dark sidebar of your restaurant owners’ dashboard; without one, the dashboard shows your normal logo inverted. The file is stored at LettBestilt and becomes logoLightUrl in the same call. The previous light logo file is removed only if it was itself uploaded here by you (through the API or LettBestilt MCP), and never while the normal logo uses the same file.

An optional text field expectedUpdatedAt gives 409 CHANGED instead of overwriting a change made in between. Content-Length is required. At most 10 uploads per hour per partner, shared by both logos. The key must be created by an owner or administrator (403 KEY_ROLE_FORBIDDEN).

Authentication

AuthorizationBearer

The partner key (lbp_test_… or lbp_live_…), sent as Authorization: Bearer lbp_… and created in LettBestilt Partner under Partner key. It belongs to the whole partner, not to a restaurant, and only works against /api/v1/partner. Server to server only: a request with an Origin header is rejected with 403 FORBIDDEN, and the key must never be in a browser. A TEST key sees and creates only sandboxes; LIVE keys work once LettBestilt Partner is open. A suspended or archived partner, a revoked key and a restaurant key (lbs_…) here give 401 UNAUTHORIZED; an expired key gives 401 KEY_EXPIRED.

Request

This endpoint expects a multipart form containing a file.
filefileRequired
expectedUpdatedAtdatetimeOptional

Optional text field: updatedAt from GET /brand. If the partner has changed since, 409 CHANGED, and the file is not stored.

Response

The brand with the new light logo.
dataobject

Errors

401
Unauthorized Error
403
Forbidden Error
409
Conflict Error
411
Length Required Error
413
Content Too Large Error
422
Unprocessable Entity Error
429
Too Many Requests Error
502
Bad Gateway Error