Set Property Value
PUT /locations/{locationId}/properties/{propertyId}
/locations/{locationId}/properties/{propertyId}Sets one property value on a location, or clears it when value is null. The value is typed by the property's kind: a string for Text and Link (500 characters at most), a TipTap document for RichText, a number for Number and Currency, yyyy-MM-dd for Date, an ISO UTC timestamp for DateTime, true or false for Checkbox, an id string for Select, File, Collaborator and Crew, and an array of ids for the multi kinds (a read returns a File as { id, name } and a MultiFile as a list of them). A wrong shape, an option id the property lacks or an archived option the location does not already hold is a 400 naming the property. propertyId comes from Locations_GetLocationProperties. Needs Location.Edit on the location.
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| locationId | uuid | Required | |
| propertyId | uuid | Required |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| value | JsonElement | Optional |