Edit location

Update a store and its paired location-account record together (name, storeid, client_location_id, address, zip, city, site_url, phone, company_phone). Self-heals by backfilling any missing store_review_site rows for the store (safe to repeat) and reports how many were created. Rejects duplicates (same name+address+zip+city under another bundle_id=2 row). Cannot move a store between accounts.

Auth: Partner — authentication, under the partner/ group. The endpoint enforces ownership inside the controller (not the form request): it walks and canManageStore confirms the caller's partner matches (super admin bypasses); otherwise 403. Carries no ownership rule — only field validation.

Rate limit: No rate limit.

Request

  • Body:
FieldTypeRequiredNotes
namestringrequiredmax 255; NameNoAngleBrackets
storeidstringoptionalmax 100; NameNoAngleBrackets
client_location_idstringoptionalmax 100; NameNoAngleBrackets (defaults to '' if null)
addressstringrequiredmax 255; NameNoAngleBrackets
city_idintrequiredmust exist:city,id
postal_codestringrequiredmin 3, max 12; NameNoAngleBrackets (saved to location zip)
site_urlstringoptionalmust be a valid URL
phonestringoptionalmin 9, max 15 digits — secondary line
company_phonestringoptionalmin 9, max 15 digits — primary business phone

Response{ data. } envelope.

  • status (string) — success.
  • message (string) — Location has been updated successfully!.
  • storeId (integer) — the updated store id.
  • review_sites_backfilled (integer) — count of store_review_site rows created by the self-heal (often 0).

Path params

ParameterTypeRequiredNotes
storeIdintegerRequiredDigits only.

Errors: 422 on validation failure.

Errors: 403 when you do not have access to the store; 404 when the store id does not exist or its data is incomplete.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
Body Params
string
string
string
string
integer
string
string
string
string
Response

Language
Credentials
Bearer
JWT
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json