Skip to main content
POST
Update Customer

Authorizations

x-api-key
string
header
required

Merchant API Key

x-signature
string
header
required

Generated request signature

Body

application/json
customerId
string
required

Customer ID provided when the customer was originally created.

name
string

Name of the customer.

phoneNo
string

The customer's Indian phone number in the format +91-XXXXXXXXXX.

country
string

Country of the customer.

taxIdentity
string

PAN number of the customer.

gstIdentity
string

If the customer is a business, GST can be used so that the business can get input credits.

shipTo
object

Shipping Details of the Customer

billTo
object

Billing Details of the customer

sameAsBilling
boolean

To make the shipping address the same as the billing address.

If sameAsBilling the parameter value is set as true then shipTo is not mandatory and the invoice will have the same shipping and billing address.

Response

200 - application/json

Contains the customer data

status
string

The response from the API

sub_status
string

Used for internal purposes only

data
object

Contains the customer data