Toggle scraper

Overview

Toggle data-pulling (sendto_scrapper Y/N) for a store's review site. Turning it off marks the row disconnected (data-pulling paused) and emails the owner, turning it on clears the pause.

Prerequisites

  • A bearer token. Callable with Partner and Account tokens.

Base URL

EnvironmentURL
Productionhttps://production-api.shoutaboutus.com
Developmenthttps://development-api.shoutaboutus.com

Endpoint

POST /api/v1/store-review-site/change-scrapper-status

Authentication

  • Requires a bearer token in the Authorization: Bearer <bearer-token> header.

  • Who can call it: Partner and Account tokens.

  • Authenticate with a bearer token OR an invite hash.

  • Authenticated callers send store_id (+ review_site_id), and store_id must pass an ownership check.

  • With a hash (tokenless), store_id comes from the hash in prepareForValidation. Any client-supplied store_id is ignored.

  • It differs per role only by reachable scope (Partner vs Account tree).

Rate limit

  • 30 requests/min.

Request body

  • Body:
FieldTypeRequiredDescription
review_site_idintegeryesMust be an existing review site.
store_idintegeryes (token flow)Must be an existing location inside your own account tree; ignored/overridden in the hash flow.
sendto_scrapperstring (Y/N)yesEnable/disable pulling.
review_site_urlstring (url)conditionalPersisted to the row. Required when enabling (sendto_scrapper=Y) if the row has no stored URL — else 422.
hashstringhash flow onlyInvite hashid [store_id, 15]; supplies store_id and grants tokenless access.
{
  "review_site_id": 123,
  "store_id": 123,
  "sendto_scrapper": "Y",
  "review_site_url": "https://maps.google.com/?cid=6987565896915883812"
}

Response

  • data.status (string) — success.
  • data.message (string) — Review site enabled successfully or Review site disabled successfully. Returns 400 No Record Found! if no matching (store, review-site) row exists.

200 OK · 200

{ "data": { "status": "success", "message": "Review site enabled successfully" } }

Errors

StatusMeaning
400Returned No Record Found! if no matching (store, review-site) row exists
401The bearer token is missing, expired or invalid
422The request failed validation — includes "The review site URL is required when enabling the review site."
500Unexpected server error

Example request

curl --request POST \
  --url "https://production-api.shoutaboutus.com/api/v1/store-review-site/change-scrapper-status" \
  --header 'Authorization: Bearer <bearer-token>' \
  --header 'Accept: application/json' \
  --header 'Content-Type: application/json' \
  --data '{"review_site_id": 123, "store_id": 123, "sendto_scrapper": "Y", "review_site_url": "https://maps.google.com/?cid=6987565896915883812"}'

Did this page help you?