Skip to content

Sellers API

Access seller profile information, listings, and reviews.

Public Endpoints

MethodEndpointDescriptionAuth
GET/api/sellers/:slugGet seller profile by slugNo
GET/api/sellers/:slug/listingsGet seller's active listingsNo
GET/api/sellers/:slug/reviewsGet seller reviewsNo
POST/api/sellers/:slug/reviewsCreate a reviewRequired
POST/api/sellers/:slug/reviews/:reviewId/respondRespond to reviewSeller

Authenticated Seller Endpoints

MethodEndpointDescriptionAuth
GET/api/sellers/meGet own seller profileSeller
PUT/api/sellers/meUpdate own profileSeller
GET/api/seller/dashboardSeller dashboard statsSeller
GET/api/seller/analyticsSeller analyticsSeller
GET/api/seller/profileGet seller profileSeller
PUT/api/seller/profileUpdate seller profileSeller

List Sellers

Retrieve a list of sellers.

Request

bash
GET /v1/sellers
Authorization: Bearer YOUR_API_KEY

Query Parameters

ParameterTypeDescription
pageintegerPage number
limitintegerItems per page
typestringindividual, business
verifiedbooleanOnly verified sellers
countrystringFilter by country
sortstringSort field

Response

json
{
  "success": true,
  "data": {
    "sellers": [
      {
        "id": "sel_abc123",
        "name": "ABC Trucks GmbH",
        "type": "business",
        "logo": "https://cdn.menonmobility.com/sellers/abc.jpg",
        "location": {
          "country": "Germany",
          "city": "Munich"
        },
        "verified": true,
        "trust_score": 92,
        "listing_count": 45,
        "rating": {
          "average": 4.8,
          "count": 127
        },
        "member_since": "2020-03-15"
      }
    ],
    "pagination": {
      "page": 1,
      "limit": 20,
      "total": 1250
    }
  }
}

Get Seller Profile

Retrieve detailed seller information.

Request

bash
GET /v1/sellers/sel_abc123
Authorization: Bearer YOUR_API_KEY

Response

json
{
  "success": true,
  "data": {
    "id": "sel_abc123",
    "name": "ABC Trucks GmbH",
    "type": "business",
    "description": "Leading commercial vehicle dealer...",
    "logo": "https://cdn.menonmobility.com/sellers/abc.jpg",
    "cover_image": "https://cdn.menonmobility.com/sellers/abc_cover.jpg",
    "contact": {
      "phone": "+49 123 456789",
      "email": "contact@abctrucks.com",
      "website": "https://www.abctrucks.com",
      "whatsapp": "+49 123 456789"
    },
    "location": {
      "country": "Germany",
      "country_code": "DE",
      "region": "Bavaria",
      "city": "Munich",
      "address": "123 Example Street",
      "coordinates": {
        "lat": 48.1351,
        "lng": 11.5820
      }
    },
    "business_info": {
      "registration_number": "HRB 123456",
      "tax_id": "DE123456789",
      "founded": 2010
    },
    "verification": {
      "email": true,
      "phone": true,
      "identity": true,
      "business": true
    },
    "trust_score": 92,
    "badges": ["verified", "business", "top_rated"],
    "statistics": {
      "listing_count": 45,
      "total_sales": 320,
      "response_rate": 98,
      "response_time": "< 1 hour"
    },
    "rating": {
      "average": 4.8,
      "count": 127,
      "distribution": {
        "5": 98,
        "4": 22,
        "3": 5,
        "2": 1,
        "1": 1
      }
    },
    "hours": {
      "monday": { "open": "08:00", "close": "18:00" },
      "tuesday": { "open": "08:00", "close": "18:00" },
      "wednesday": { "open": "08:00", "close": "18:00" },
      "thursday": { "open": "08:00", "close": "18:00" },
      "friday": { "open": "08:00", "close": "17:00" },
      "saturday": { "open": "09:00", "close": "13:00" },
      "sunday": null
    },
    "social": {
      "facebook": "https://facebook.com/abctrucks",
      "instagram": "https://instagram.com/abctrucks",
      "linkedin": "https://linkedin.com/company/abctrucks"
    },
    "member_since": "2020-03-15",
    "last_active": "2024-01-15T14:30:00Z"
  }
}

Get Seller Listings

Retrieve listings from a specific seller.

Request

bash
GET /v1/sellers/sel_abc123/listings
Authorization: Bearer YOUR_API_KEY

Query Parameters

ParameterTypeDescription
pageintegerPage number
limitintegerItems per page
statusstringactive, sold (public only shows active)
categorystringFilter by category
sortstringSort field

Response

json
{
  "success": true,
  "data": {
    "listings": [
      {
        "id": "lst_123",
        "title": "2021 Volvo FH 500",
        "price": 85000,
        "currency": "EUR",
        "thumbnail": "https://cdn.menonmobility.com/thumb.jpg",
        "year": 2021,
        "mileage": 245000,
        "category": "trucks",
        "featured": true
      }
    ],
    "pagination": {
      "page": 1,
      "limit": 20,
      "total": 45
    }
  }
}

Get Current Seller (Me)

Get the authenticated seller's profile.

Request

bash
GET /v1/sellers/me
Authorization: Bearer YOUR_API_KEY

Returns full seller profile with additional private fields.

Update Seller Profile

Update the authenticated seller's profile.

Request

bash
PUT /v1/sellers/me
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json

Body

json
{
  "name": "ABC Trucks GmbH",
  "description": "Updated description...",
  "contact": {
    "phone": "+49 123 456789",
    "website": "https://www.abctrucks.com"
  },
  "location": {
    "address": "New Address 456"
  },
  "hours": {
    "saturday": { "open": "10:00", "close": "14:00" }
  }
}

Response

json
{
  "success": true,
  "data": {
    "id": "sel_abc123",
    "name": "ABC Trucks GmbH",
    "updated_at": "2024-01-15T16:30:00Z"
  }
}

Seller Reviews

Get Seller Reviews

bash
GET /v1/sellers/sel_abc123/reviews
Authorization: Bearer YOUR_API_KEY

Query Parameters

ParameterTypeDescription
pageintegerPage number
limitintegerItems per page
ratingintegerFilter by rating
sortstringrecent, rating_high, rating_low

Response

json
{
  "success": true,
  "data": {
    "reviews": [
      {
        "id": "rev_123",
        "rating": 5,
        "title": "Excellent experience",
        "comment": "Professional and helpful...",
        "reviewer": {
          "name": "John D.",
          "verified": true
        },
        "listing": {
          "id": "lst_456",
          "title": "2021 Volvo FH 500"
        },
        "response": {
          "comment": "Thank you for your feedback!",
          "date": "2024-01-10"
        },
        "created_at": "2024-01-08"
      }
    ],
    "summary": {
      "average": 4.8,
      "count": 127,
      "distribution": {
        "5": 98,
        "4": 22,
        "3": 5,
        "2": 1,
        "1": 1
      }
    }
  }
}

Upload Seller Images

bash
POST /v1/sellers/me/logo
Authorization: Bearer YOUR_API_KEY
Content-Type: multipart/form-data

logo: [file]

Upload Cover Image

bash
POST /v1/sellers/me/cover
Authorization: Bearer YOUR_API_KEY
Content-Type: multipart/form-data

cover: [file]

Seller Statistics

Get Statistics

bash
GET /v1/sellers/me/statistics
Authorization: Bearer YOUR_API_KEY

Query Parameters

ParameterTypeDescription
periodstring7d, 30d, 90d, 1y

Response

json
{
  "success": true,
  "data": {
    "period": "30d",
    "views": {
      "total": 12500,
      "change": 15.5
    },
    "inquiries": {
      "total": 320,
      "change": 8.2
    },
    "favorites": {
      "total": 450,
      "change": 12.1
    },
    "response_rate": 98,
    "response_time_hours": 0.8,
    "top_listings": [
      {
        "id": "lst_123",
        "title": "2021 Volvo FH 500",
        "views": 850,
        "inquiries": 24
      }
    ]
  }
}

Commercial Vehicle Marketplace