Locations

Update a location

Update one location. Send only the fields to change; the response is the updated location.

Requires an Idempotency-Key header.

patch/v1/locations/{locationId}

Request

  • Base URL: https://api.workwing.io
  • URL: https://api.workwing.io/v1/locations/{locationId}
  • Auth: HTTP bearer

Path parameters

locationIdstring uuid required

The location's id

Query parameters

selectstring

Comma-separated columns to return. Supports embedded resources: *,customer:customers(name,email)

Headers

Idempotency-Keystring required

Unique per write, 1-256 printable ASCII characters. Retrying with the same key and the same request replays the original response for 24 hours. See Idempotency.

Request body

address_line1string
address_line2string
premisestring
thoroughfarestring
sublocalitystring
localitystring
administrative_areastring
administrative_area_codestring
postal_codestring
countrystring
country_namestring
formatted_addressstring
location_typestring
location_notesstring
is_verifiedboolean

Response

The updated location

Changes

No recorded changes to this operation across all 1 revision of this API.