Reference · PATCH /v1/sites/:id
Update site
Update site
Modify a site you own. Send only the fields you want to change. Returns 204 No Content on success.
Request
curl -X PATCH -H "Authorization: Bearer fi_pk_…" \
-H "Content-Type: application/json" \
-d '{
"address": "198 Shirley Street, Pimpama QLD 4209",
"notes": "New gate code: 1742#"
}' \
https://<host>/v1/sites/3065756Response
HTTP/1.1 204 No Content
Fields
business_namestring
Replace the display name. ≤ 200 chars.
addressstring
Replace the address. Example: `"198 Shirley Street, Pimpama QLD 4209"`. ≤ 500 chars.
first_namestring
Replace the site contact’s first name. ≤ 100 chars.
last_namestring
≤ 100 chars.
mobile_numberstring
Replace the contact phone. ≤ 50 chars.
emailstring
Replace the contact email. ≤ 200 chars.
notesstring
Replace the notes (full overwrite). Example: `"New gate code: 1742#"`. ≤ 2000 chars.
urlstring
Replace the URL. ≤ 500 chars.
external_idstring
Replace your reference. ≤ 36 chars.
Errors
400 invalid-body401 unauthorized404 not-found429 rate-limited
A site’s customer can’t be reassigned via the API — create a new site under the right customer instead. 404 covers both 'no such site' and 'this site isn’t yours' — they look the same from the outside.