post Territories

POST {{HostName}}/crm/config/v1/territories

The Preference Group will need to already exist, to then create a prefernce code and associate it with that Group.

Request Params

KeyDatatypeRequiredDescription
codesnumber

Request Body

{"territories"=>[{"inactive"=>false, "code"=>"AP", "description"=>{"defaultText"=>"Asia Pacific"}, "displayOrder"=>"3"}]}

HEADERS

KeyDatatypeRequiredDescription
x-app-keystring
x-hotelidstring