Create a Customer

Create a new customer.

Method Type URI
PUT v90/ws/customer.ws

Sample Request

A basic sample XML is provided at Sample XML for Customer Web Services.

The XML must comply with the schema Customer.xsd. The XML element names are self-explanatory. Some of the important elements are as follows:

XML Elements Description Type
type

(Optional) Refers to the customer type.

Valid values:

>ind - Individual Customer

>org - Organization-type Customer

Default value: org

String

Sample Response

Success

HTTP Status Code: 201

Header-Location: {customerId} (ID of the Customer created.)

Response Body:

Failure

HTTP Status Code: 400

Response Body: Customer already exists.