Vendor V2

Get list of vendors

Changed on

Lists your vendors with their basic details.

get/v2/vendor/list

Request

  • Base URL
    https://app.getswipe.in/api/partner
  • URL
    https://app.getswipe.in/api/partner/v2/vendor/list
  • Auth
    HTTP bearer

Query parameters

num_recordsinteger

Number of records to fetch, default : all vendors will be sent in response

pageinteger

Page number

Response

Vendor List fetched successfully

successboolean

Success flag

messagestring

Response message

error_codestring

Error Code

errorsobject

Errors

Example response

{
  "success": true,
  "data": {
    "vendors": [
      {
        "vendor_id": "CUST-2",
        "name": "vendor",
        "phone": "1234567890",
        "email": "john@doe.com"
      }
    ],
    "total_records": 10
  }
}

Changes