Skip to content

Creating a new Account Location

Request

This endpoint returns structured Account Location objects. As with all Kantata OX API endpoints, the returned data will be referenced in sorted order in the results array and will be indexed by ID in the account_locations top-level JSON key. Please see our Response Format section for more information.

Bodyapplication/jsonrequired
account_locationobject
{ "account_location": { "name": "string", "archived": true } }

Responses

Account Location has been created.

Bodyapplication/json
countinteger, (int32)
metaobject
resultsArray of objects
account_locationsobject
Response
{ "count": 0, "meta": { "count": 0, "page_count": 0, "page_number": 0, "page_size": 0 }, "results": [ { "key": "string", "id": "string" } ], "account_locations": { "property1": { "archived": true, "in_use": true, "name": "string" }, "property2": { "archived": true, "in_use": true, "name": "string" } } }