cURL
curl --request GET \ --url https://app.getswipe.in/api/partner/v1/customer/{customer_id} \ --header 'Authorization: Bearer <token>'
{ "success": true, "customer_details": { "customer_id": "123", "name": "TATA RATAN", "phone": "1234567890", "email": "reddi@reddi.reddi", "discount": 10, "gstin": "27AARCS7202C1ZD", "company_name": "GSTN", "opening_balance": "1245", "credit_limit": 200, "billing_address": [ { "state": "State Name", "address_line1": "", "address_line2": "", "pincode": "500075", "city": "", "country": "India" } ], "shipping_address": [ { "state": "State Name", "address_line1": "", "address_line2": "", "pincode": "500075", "city": "", "country": "India" } ], "opening_balance_type": 1, "dial_code": "91", "profile_image": "", "pan": "ABCD1234F", "notes": "Testing api", "cc_emails": "reddi@reddi.reddi,acb.a@bcd.con", "status": "Active" } }
Documentation IndexFetch the complete documentation index at: https://developers.getswipe.in/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://developers.getswipe.in/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer , where is your auth token.
The customer ID to be fetched
Success
Success flag
true
Show child attributes