Update a customer
Updates an existing customer’s details. Changes propagate to the documents linked to this customer.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is an API key from the API Integration section of your dashboard. Keys are scoped to the company they are generated in — for testing, add a separate test company and generate the key there, so requests never touch your real books.
Body
Your Customer ID
"123"
Customer name
"TATA RATAN"
Phone number
1234567890
Email address
"reddi@reddi.reddi"
CC email addresses, comma-separated
"a@example.com,b@example.com"
Discount
10
GSTIN
"27AARCS7202C1ZD"
Company name
"GSTN"
Opening balance
"1245"
Credit limit
200
List of billing addresses
List of shipping addresses
Credit[0] / Debit[1]
1
Dial code
"91"
Profile image URL
""
PAN
"ABCD1234F"
Notes
"Testing api"
List of tags
Customer Custom Fields. Custom fields should already be added in Swipe Portal.
Customer visibility status: If the value is 1, the customer will be visible to all branches; otherwise, it will only be visible in the main branch.
1

