Overview of Customers sample response object.
Shown below are the sample response returned through our Customers APIs.
{
"customer_id": "cust-v1-0811030624-aa-RBDgpR",
"merchant_customer_reference": "",
"first_name": "Kevin",
"last_name": "Bob",
"country_code": "91",
"mobile_number": "9876543210",
"email_id": "[email protected]",
"billing_address": {
"address1": "10 Downing Street Westminster London",
"address2": "Oxford Street Westminster London",
"address3": "Baker Street Westminster London",
"pincode": "51524036",
"city": "Westminster",
"state": "Westminster",
"country": "London"
},
"shipping_address": {
"address1": "10 Downing Street Westminster London",
"address2": "Oxford Street Westminster London",
"address3": "Baker Street Westminster London",
"pincode": "51524036",
"city": "Westminster",
"state": "Westminster",
"country": "London"
},
"gstin": "",
"merchant_metadata": {
"key1": "XX",
"key2": "DOF"
},
"status": "INACTIVE",
"created_at": "2024-10-04T13:11:29.645591Z",
"updated_at": "2024-10-04T13:11:29.645657Z"
}
The table below lists the various parameters returned in the orders response objects.
Parameter | Type | Description |
---|---|---|
customer_id | string | Unique identifier of the customer in the Plural database.
cust-v1-0811030624-aa-RBDgpR |
merchant_customer_reference | string | Unique identifier entered while creating a customer.
82d57572-057c-4826-5775-385a52150554 |
first_name | string | Customer's first name.
Kevin |
last_name | string | Customer's last name.
Bob |
country_code | string | Country code of the registered mobile number. Example: 91 |
mobile_number | string | Customer's mobile number.
9876543210 Supported characters:
|
billing_address | object | An object that contains the details of the billing address. Learn more about the billing_address child object. |
shipping_address | object | An object that contains the shipping address details. Learn more about the shipping_address child object. |
gstin | boolean | Customers unique GSTIN. Example: 28ABCDE1234F2Z6 |
merchant_metadata | object | An object of key-value pair that can be used to store additional information. Example: "key1": "DD" |
status | object | Customer status. Possible values:
|
created_at | string | The ISO 8601 UTC Timestamp, when the create customer request was received by Plural. Example: 2024-10-04T13:11:29.645591Z |
updated_at | string | The ISO 8601 UTC Timestamp, when the customer object is updated. Example: 2024-10-04T13:11:29.645657Z |
Billing Address [Child Object]
The table below lists the various parameters in the billing_address
child object. This is part of the customer
object.
Parameter | Type | Description |
---|---|---|
address1 | string | Customer's billing address1.
10 Downing Street Westminster London |
address2 | string | Customer's billing address2.
Oxford Street Westminster London |
address3 | string | Customer's billing address3.
Baker Street Westminster London |
pincode | string | Pincode of the billing address.
51524036 Supported characters:
|
city | string | City of the billing address.
Westminster |
state | string | State of the billing address.
Westminster |
country | string | Country of the billing address.
London |
Shipping Address [Child Object]
The table below lists the various parameters in the shipping_address
child object. This is part of the customer
object.
Parameter | Type | Description |
---|---|---|
address1 | string | Customer's shipping address1.
10 Downing Street Westminster London |
address2 | string | Customer's shipping address2.
Oxford Street Westminster London |
address3 | string | Customer's shipping address3.
Baker Street Westminster London |
pincode | string | Pincode of the shipping address.
51524036 Supported characters:
|
city | string | City of the shipping address.
Westminster |
state | string | State of the shipping address.
Westminster |
country | string | Country of the shipping address.
London |