Upload Dropship Logo
POST/api/admin/portal/accounts/:customer/dropship-profile/logo
Upload the retailer's logo for its blind packing slips, replacing any existing logo. Send as multipart/form-data. Requires the portal.manage permission; limited to 20 uploads per minute. Creates the profile with defaults if the account has none yet. Returns the profile with the new logo_path / logo_url.
This endpoint currently requires session authentication; Personal Access Token scope support is in progress.
Request fields
logo(file, required): PNG, JPG or SVG, at most 1 MB and at most 2000 px on either side. SVGs with scripts, event handlers, external references or other active content are rejected; a safe SVG is converted to PNG when the server can rasterise it.
Errors. 422 errors.logo when the file is missing, too large, the wrong type, too many pixels or an unsafe SVG.
Request
Responses
- 200
- 401
- 403
- 404
- 422
- 429
OK
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Not found — no record with the given identifier (or the route does not exist). Verify the ID before retrying.
Unprocessable Content
Response Headers
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.