VendorProfile
Upload Vendor Logo
Upload Vendor Logo — vendor REST API endpoint.
POST
/vendor/me/logoVendor bearer token requiredUpload Vendor Logo
Upload a logo image for your vendor profile (multipart/form-data).
What this means in plain English
Upload a logo image file for your vendor store. Requires OWNER, ADMIN, or EDITOR role.
When to use this
- Branding your vendor storefront.
Headers
| Name | Type | Required | Description |
|---|---|---|---|
| X-Vendor-Id | string (UUID) | Yes | UUID of the vendor context. Required for vendor-scoped endpoints when your account has multiple vendor memberships. Use the vendor.id from the login response. |
Request example
curl -X POST 'http://localhost:8080/api/v1/vendor/me/logo' \
-H 'X-Vendor-Id: 550e8400-e29b-41d4-a716-446655440010'Response examples
200Success
{
"id": "550e8400-e29b-41d4-a716-446655440010",
"name": "Jane's Store",
"slug": "janes-store",
"status": "ACTIVE",
"description": "Premium supplier catalog",
"supportEmail": "support@janes-store.com"
}Status codes
200
OK
Request succeeded.
401
Unauthorized
Missing or invalid bearer token.
403
Forbidden
Insufficient permissions for this action.
400
Bad Request
Validation failed or invalid parameters.
404
Not Found
Resource not found.
500
Internal Server Error
Unexpected server error.
403
Forbidden
Invalid X-Vendor-Id, no vendor membership, or insufficient vendor role (requires OWNER, ADMIN, or EDITOR for write operations).
Send as multipart/form-data with a single file field.
Example: curl -X POST .../vendor/me/logo -H "Authorization: Bearer TOKEN" -H "X-Vendor-Id: UUID" -F "file=@logo.png"
Try it
Edit values below to generate a cURL command. This endpoint requires multipart upload — run in your terminal.
Copy-only
Multipart and file-download endpoints cannot be executed from the browser panel. Copy the cURL command and run it in your terminal.