Delete a store (soft delete)

Soft-delete a store and its paired location-account record, closes any active/expired store plans (sets status close, plan_end + cancel_subscription_at = now), and cascade-soft-deletes the store's reviews, response_reviews, review_flag, and store_review_sites. All in one DB transaction.

Auth: Partner — authentication, under the partner/ group (partner-admin scope). The endpoint validates the URL id by the form request: an ownership check resolves the store to its company_id and confirms it sits inside the caller's company hierarchy, so a partner can only delete its own stores.

Rate limit: No rate limit.

Request

Response{ data. } envelope.

  • status (string) — success.
  • message (string) — Location has been deleted successfully!.
  • storeId (integer) — the deleted store's id.

Path params

ParameterTypeRequiredNotes
storeIdintegerRequiredDigits only.

Errors: 422 on validation failure.

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

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