Locations

Create a location

Create a new location record.

Requires Idempotency-Key header. A location belongs to a customer, so customer_id is required.

post/v1/locations

Request

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

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

customer_idstring uuid required
address_line1string
address_line2string
premisestring
thoroughfarestring
sublocalitystring
localitystring
administrative_areastring
administrative_area_codestring
postal_codestring
countrystring
country_namestring
formatted_addressstring
location_typestring
location_notesstring

Response

Created location

Changes

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