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 Authorization header. 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

StatusMeaning
401The bearer token is missing, expired or invalid
403The token is valid but the record sits outside your account
422The request failed validation — the response names the fields
500Unexpected server error

Individual endpoints may return more; each page lists its own.

Endpoints

MethodEndpointDescription
POSTList review sites for a storeList 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.
GETShow single store-review-siteGet 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.
POSTUpdate store-review-siteUpdate 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.
POSTRemove credentialsClear 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.
POSTToggle scraperToggle data-pulling (sendto_scrapper Y/N) for a store's review site.
POSTBulk landing-page URL updateBackfills landing-page URLs for several of a store's review sites in one call.
POSTMissing URLs backfill gridReturns 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.
POSTSend review-site connection-request inviteEmails a tokenized review-site connection invite for a store and echoes the connect URL + token so the UI can also show copy/resend.
POSTChange URL Status (enable/disable landing page)Toggle url_status (enable/disable) of a store's landing-page URL — drives the "Enable URL" column on the Landing Page grid.
POSTList Store Review Site URLs (Review Sites / Landing Page grids)Unified paginated URL grid that powers both the "Review Sites" and "Landing Page" pages, each with an All / Missing tab.
POSTConnect Review Site (MANAGER_INVITE publisher flow)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.
POSTList Review Sites by Invite Hash (PUBLIC)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.
POSTChange display-connected flag (non-prod)Non-production only** (returns 403 on production).