post https://api.juspay.in/customers/
This will update the identified Customer Object with the given Customer Data parameters, and respond with the customer entity.
Returns: Customer Object (click to view)
Field | Type | Description |
---|---|---|
customer_id | String | Customer ID generated by JUSPAY. |
object | String | Object type of entity, in this case it’ll be customer. |
object_reference_id | String | Customer ID defined by you. |
mobile_number | String | Customer’s mobile number. |
date_created | String | Date creation of customer entity. |
last_udpated | String | Last updated date of customer entity. |
email_address | String | Customer’s e-mail address. |
first_name | String | Customer’s first name. |
last_name | String | Customer’s last name. |
mobile_country_code | String | Mobile country code. |
Note 1:
A "customer_id" should be returned, not "id", as shown in the main document.
The request consists of a customer_id and any Customer Data parameters that need to be updated. (click to open table)
Each parameter in tables is listed below:⭣
Each parameter in tables is listed below:
⭣
Customer Data Parameters: (click to view)
Field | Type | Description | |
---|---|---|---|
mobile_number | * | String | Customer’s mobile number.wwwwwwwwww |
email_address | * | String | Customer’s e-mail address. |
first_name | String | Customer’s first name. | |
last_name | String | Customer’s last name. | |
mobile_country_code | String | Mobile country code. No need to prefix “+”. |
* = Required only for the Create Customer API
Path Parameter
Field | Type | Description | |
---|---|---|---|
customer_id | * | String | Use the ID that is generated by JUSPAY during customer creation. This could also be the value that you sent for object_reference_id when creating the customer. |
* = Required