Customer
Get a customer
Changed onv1 is deprecated — use the v2 endpoint instead. Returns one customer's details by your customer_id.
get/v1/customer/{customer_id}
Request
- Base URLhttps://app.getswipe.in/api/partner
- URLhttps://app.getswipe.in/api/partner/v1/customer/{customer_id}
- AuthHTTP bearer
Path parameters
customer_idstring required
The customer ID to be fetched
Response
Success
Example response
{
"success": true,
"customer_details": {
"customer_id": "123",
"name": "TATA RATAN",
"email": "reddi@reddi.reddi",
"discount": 10,
"gstin": "27AARCS7202C1ZD",
"company_name": "GSTN",
"opening_balance": "1245",
"credit_limit": 200,
"billing_address": [
{
"pincode": "500075",
"state": "State Name",
"country": "India"
}
],
"shipping_address": [
{
"pincode": "500075",
"state": "State Name",
"country": "India"
}
],
"opening_balance_type": 1,
"dial_code": "91",
"pan": "ABCD1234F",
"notes": "Testing api",
"cc_emails": "reddi@reddi.reddi,acb.a@bcd.con"
}
}Changes
- info
endpoint added
- info