MarketPe APIs
Vendor

Vendor Get

vendor/get

POST /vendor/get

Fetch a single vendor by its marketpe id.

Request Body

{
  "id": "marketpe1234"
}

Request Parameters

ParameterTypeRequiredDescription
idstringYesmarketpe generated vendor id.

Response

status: "success"

{
  "status": "success",
  "data": {
    "id": "marketpe1234",
    "autoIdentifier": "VEN-001",
    "identifier": "your-vendor-ref",
    "name": "Ramesh Kumar",
    "phone": "9876543210",
    "type": "DRIVER",
    ...
  }
}

status: "error"

{
  "status": "error",
  "message": "Vendor not found"
}

Last updated on