Upload Vendor Logo
Upload Vendor Logo — vendor REST API endpoint.
/vendor/me/logoVendor bearer token requiredUpload Vendor Logo
Upload a logo image for your vendor profile (multipart/form-data).
Upload a logo image file for your vendor store. Requires OWNER, ADMIN, or EDITOR role.
When to use this
- Set or replace the vendor store logo.
- Updating store branding after a rebrand.
Request body
| Name | Type | Required | Description |
|---|---|---|---|
| file | file | Yes | Image file (jpeg, png, gif, or webp). |
Request example
curl -X POST 'https://api.next.gcommerce.glass/api/v1/vendor/me/logo' \
-d '{
"file": "logo.png"
}'Response examples
{
"id": "550e8400-e29b-41d4-a716-446655440010",
"status": "ACTIVE",
"name": "Jane's Store",
"slug": "janes-store",
"code": "JNS01",
"dba": null,
"restrictProducts": false,
"leadTime": 4,
"description": "Premium supplier catalog",
"image": "https://api.next.gcommerce.glass/assets/vendors/logos/janes-store.png",
"supportEmail": "support@janes-store.com",
"publicLocationCity": "Austin",
"publicLocationRegion": "TX",
"publicLocationCountry": "US",
"address": "123 Commerce Blvd",
"additionalAddress": "Suite 400",
"zipcode": "78701",
"phone": "+1-512-555-0100",
"contactPersonFullName": "Jane Vendor",
"contactPersonRole": "Owner",
"website": "https://janes-store.com",
"yearEstablished": 2015,
"businessNumber": "BN-123456",
"sbuei": "ABC123DEF456",
"taxNumber": "12-3456789",
"last_login_at": "2026-06-15T14:30:00.000Z",
"createdAt": "2025-01-10T09:00:00.000Z",
"updatedAt": "2026-06-15T14:30:00.000Z",
"shippingMethods": [
{
"id": "550e8400-e29b-41d4-a716-446655440060",
"name": "Standard Shipping",
"isActive": true,
"pricingType": "FLAT_RATE",
"weightLimitMin": null,
"weightLimitMax": null,
"currency": "USD",
"description": "5-7 business days",
"createdAt": "2025-03-01T10:00:00.000Z",
"updatedAt": "2025-03-01T10:00:00.000Z"
}
],
"documents": []
}Status codes
OK
Request succeeded.
Unauthorized
Missing or invalid bearer token.
Forbidden
Insufficient permissions for this action.
Bad Request
Validation failed or invalid parameters.
Not Found
Resource not found.
Too Many Requests
Global rate limit exceeded (10,000 requests per 10 minutes per IP).
Internal Server Error
Unexpected server error.
Forbidden
No vendor membership, or insufficient vendor role (requires OWNER, ADMIN, or EDITOR for write operations).
Try it
Edit values below to generate a cURL command. This endpoint requires multipart upload — run in your terminal.
Copy-only