Beta
Not authenticated — log in first
VendorProfile

Update My Vendor Profile

Update My Vendor Profile — vendor REST API endpoint.

PATCH/vendor/me/profileVendor bearer token required

Update Vendor Profile

Update your vendor profile fields.

What this means in plain English

Partially update your vendor profile. Requires OWNER, ADMIN, or EDITOR role.

When to use this

  • Updating store description or contact information.

Request body

NameTypeRequiredDescription
namestringNoDisplay name.
descriptionstringNoStore description.
supportEmailstringNoSupport email.
leadTimeintegerNoDefault product lead time in days (min 0). Used when creating products that omit leadTime (fallback 4).

Request example

curl -X PATCH 'https://api.next.gcommerce.glass/api/v1/vendor/me/profile' \
  -H 'Content-Type: application/json'

Response examples

200Success
{
  "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

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.

429

Too Many Requests

Global rate limit exceeded (10,000 requests per 10 minutes per IP).

500

Internal Server Error

Unexpected server error.

403

Forbidden

No vendor membership, or insufficient vendor role (requires OWNER, ADMIN, or EDITOR for write operations).

Try it

Uses your saved session from login. Edit values and send a live request, or copy the cURL command.