Creating location
POST {{api-url}}/customer-management/{{tenant}}/locations
Creates a new location for the tenant. A location represents address information about a legal entity of the Company.
### Required scopes
* clientmanagement.location_manage
Request Body
{"name"=>"Main HQ", "type"=>"HEADQUARTER", "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":"53ac81fd0cce8b26b36f1234"}