Update location

Update a location under the specific license_number.

SecurityApiKeyAuth and CustomAuth
Request
path Parameters
id
required
string

id of the location

Example: a521f55de4394f4f99c282be687e63aa
state
required
string

Lower case ANSI standard 38:2009 USPS codes of the US state where licensee is operating.

Enum: "ca" "il" "wa" "ma" "md" "mi" "wv" "co" "ok" "oh"
header Parameters
x-api-key
required
string

Trace API key header

Example: b123x21wbHlkYXBpa2V5
Authorization
required
string

Company and user credentials authentication

Example: KMP-JSON token=dmVuZG9yLWFwaS1rZXk6dX12312sdfs2V5
Request Body schema: application/json
required
object (license_base)
name
string

location name.

parent_id
string or null

reference (entity_ID) for the parent location entity which allows you to have segregation of the location in smaller sections.

object

location type as specified by the state and retrieved via location/types

Array of objects (entity_state_required)

A list of state changes made to the entity. Entity states for location [active, inactive].

Responses
200

OK

400

Bad Request

put/{state}/v1/config/locations/{id}
Request samples
application/json
{
  • "license": {
    },
  • "type": {
    }
}
Response samples
application/json
{
  • "results": {
    },
  • "warnings": [ ]
}