PUT   private-location/update/{location_id}

Updates an existing private location for the current customer.

URL Parameters

NameDescription
location_id

The ID of the location to edit.

Remarks

Use GET private locations route to get the list of private locations and values applicable for location_id.


Use Country Details route to get the list of Country object having values applicable for Country, State, City.


The Name field in the request body should contain a string without spaces./// The Name field in the request body must only contain alphanumeric characters and hyphens (-) with no spaces. Any other characters will result in an "Invalid input" error.

Request example and description

curl --request PUT "https://api-asm1.apica.io/v3/private-location/update/{"{"}location_id{"}"}?auth_ticket=C471ADC4-19B4-4219-BBF4-671A97EC653E" --header "Content-Type: application/json" --data-raw "{
  "Enabled": true,
  "Name": "sample-string",
  "Country": "Sweden",
  "State": "NA",
  "City": "sample-string"
}"
NameType Required Description
EnabledBooleanNo

Indicates whether the private location is enabled.

NameStringYes

The name of the private location.

CountryStringYes

The country of the private location.

StateStringNo

The state of the private location.

CityStringYes

The city of the private location.

Response body model example and description

Response indicating the result of the operation.