Use this API to create an individual, corporate and group customer.
Actor | Permission |
---|---|
User | All of the following are required:
|
Client Application | No additional permission is required. |
The request body is mandatory. Request body can be in either XML or JSON format. The request body is mandatory. Request body can be in either XML or JSON format.
Name | Description | Customer Type |
---|---|---|
department.name | Name of the department in which the customer should be created. Department name is required only If "Customer departmentalization" setting is enabled in the application. |
|
type.value | Customer type. |
|
contacts.contact | Only one contact can be created for an individual customer. For required and optional elements of contact, refer create contact. |
|
customerName | Name of the customer. |
|
type.group.type.value | Type of group of the customer. Must be one of the values configured in application. |
|
Name | Description | Customer Type |
---|---|---|
level.value | Level of the customer. Must be one of the values configured in application. |
|
role.value | Role of the customer. |
|
pin | Customer pin information. |
|
howReferred.value | Specifies how the customer was referred |
|
industry.value | Industry that this customer belongs to. Must match the value configured in application. |
|
marketSegment | Market segment of the customer |
|
entitlements | Entitlements of the customer. |
|
customAttributes | Name must match one of the custom attributes configured in application. If the custom attribute is configured as an enumeration, the value must be one of the predefined values.For string type of custom attribute that is not configured as an enumeration, refer list of Allowed Characters For Custom Attributes. |
|
contacts.contact | One or more contact persons can be provided. For required and optional elements of contact, refer create contact. |
|
type.group.region | Region of operation of the group customer |
|
type.group.numberOfMembers | Number of members in the group |
|
type.group.income | Income of the group customer |
|
type.group.currency | Currency used while dealing with the group customer |
|
type.group.registrationNumber | Registration number of the group customer |
|
type.group.affiliation | Affiliation of the group customer |
|
type.corporate.region | Region of operation of corporate customer. Must be one of the values configured in application. |
|
type.corporate.numberOfEmployees | Number of employees in the organization |
|
type.corporate.revenues | Revenue of the corporate customer |
|
type.corporate.currency | Currency used while dealing with the corporate customer |
|
type.corporate.registrationNumber | Registration number of the corporate customer |
|
type.corporate.sector | Sector of the corporate customer |
|
When created successfully
Bad Request
Unauthorized
Forbidden
Internal server error
{- "type": {
- "value": "individual"
}, - "contacts": {
- "contact": [
- {
- "firstName": "Jack"
}
]
}
}
{- "code": "400-101",
- "developerMessage": "Unsupported query parameter(s) supplied: '<query_parameter>'."
}