Creating contact
POST {{api-url}}/customer-management/{{tenant}}/contacts
Creates a new contact for the tenant. A contact represents an employee of the Company that may or may not also be a user of the system.
### Required scopes
* clientmanagement.contact_manage
Request Body
{"name"=>"John", "surname"=>"Doe", "customer"=>{"id"=>"john-doe-customer-id"}, "contactDetails"=>{"emails"=>["jon.doe@example.com", "adam.smith@sample.org"], "phones"=>[1234567890, "0123456789"], "addressLine1"=>"W Sample St", "addressLine2"=>"3601-3799", "city"=>"South Bend", "state"=>"Indiana", "postcode"=>"46619", "countryCode"=>"US"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: Created
{"id":"53ac81fd0cce8b26b36f3492"}