Create a Customer Contact
Create a new contact for the given customer ID. You can create a contact only for organization-type customers.
Method Type | URI |
---|---|
PUT | v90/ws/customer/{customerId}/contact.ws |
URI Parameters
Parameter | Description | Type |
---|---|---|
customerId | Identifier of the customer in the database. | Integer |
Sample Request
See Sample XML for Contact Web Services.
NOTE The XML must comply with the schema provided for Contact (see XSD for Contact Web Services).
Sample Response
Success
HTTP Status Code: 201
Header-Location: {contactId}
Failure
HTTP Status Code: 404
Response Body: The specified Customer with ID 3 was not found.