cURL
curl --request GET \ --url https://app.getswipe.in/api/partner/v1/product/list \ --header 'Authorization: Bearer <token>'
{ "success": true, "message": "", "error_code": "", "errors": {}, "data": { "customers": [ { "customer_id": "CUST-2", "name": "Customer", "phone": "1234567890", "email": "[email protected]", "gstin": "", "swipe_id": "1" } ], "total_records": 10 } }
Bearer authentication header of the form Bearer , where is your auth token.
Number of records to fetch, default : all items will be sent in response
Page number
Item List fetched successfully
Success flag
true
Response message
""
Error Code
Errors
Show child attributes
Customer ID
"CUST-2"
Name of the Customer
"Customer"
Phone Number of the customer
"1234567890"
Email of the customer
"[email protected]"
GSTIN of the customer
Swipe ID assigned to the customer
"1"
Total Records available
10