Per-store sites
Per-store review-site CRUD.
Per-store review-site CRUD. Toggles scraper on / off for a single site, swaps credentials, updates the landing-page URL, and sends the public tokenized connect-link invitation.
Prerequisites
- A bearer token in the
Authorizationheader. Any endpoint that needs no token says so on its own page. - The id of each record the call targets. Every endpoint page lists the ids it needs.
Errors
| Status | Meaning |
|---|---|
401 | The bearer token is missing, expired or invalid |
403 | The token is valid but the record sits outside your account |
422 | The request failed validation — the response names the fields |
500 | Unexpected server error |
Individual endpoints may return more; each page lists its own.
Endpoints
POST — List every review site configured for a store, each with its URL, scraper flag, connection card-state and review-site metadata — drives the store's connection/listing page.
GET — Get the full detail bundle for one store-review-site row: the pivot record, its review-site, its store (+company), the non-LDE site map, hipages flag, and the latest cadence pull summary — drives the edit-site page.
POST — Update a single store-review-site row's URL, landing page, credentials and site-specific extras (BBB / Caring / SeniorAdvisor fields), enables its scraper when a URL is present on an active store, and dispatches a pull job.
POST — Clear the credentials and site-specific detail for a store-review-site row, turns its scraper off, marks it manually disconnected, and emails the account owner.
POST — Backfills landing-page URLs for several of a store's review sites in one call.
POST — Returns a paginated grid of store-review-site rows in the caller's accessible tree that are missing their review-site URL and/or landing-page URL — drives the URL backfill grid.
POST — Emails a tokenized review-site connection invite for a store and echoes the connect URL + token so the UI can also show copy/resend.
POST — Toggle url_status (enable/disable) of a store's landing-page URL — drives the "Enable URL" column on the Landing Page grid.
POST — Unified paginated URL grid that powers both the "Review Sites" and "Landing Page" pages, each with an All / Missing tab.
POST — Drives the MANAGER_INVITE publisher connect flow for one store-review-site row (Yelp / TripAdvisor / Expedia / Booking.com / DoorDash / …): requires a completed review-pull first, then calls ReviewData /get-publisher-info (cache hit) or /create-publisher-account (cache miss) and returns the business-manager alias plus the live connection status mirrored from RD.
POST — PUBLIC endpoint hit by recipients of the review-site invite email: lists a store's review sites identified solely by the invite hash, returning the same row shape as the authenticated list endpoint plus the store name/id.
POST — Non-production only** (returns 403 on production).
Updated 14 days ago
