cURL
curl --request GET \ --url https://app.getswipe.in/api/partner/v2/vendor/list \ --header 'Authorization: <api-key>'
{ "success": true, "message": "", "error_code": "", "errors": {}, "data": { "vendors": [ { "vendor_id": "CUST-2", "name": "vendor", "phone": "1234567890", "email": "john@doe.com", "gstin": "", "swipe_id": "1" } ], "total_records": 10 } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Number of records to fetch, default : all vendors will be sent in response
Page number
Vendor List fetched successfully
The response is of type object.
object