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
| Environment | URL |
|---|---|
| Production | https://production-api.shoutaboutus.com |
| Development | https://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), andstore_idmust pass an ownership check. -
With a
hash(tokenless),store_idcomes from the hash inprepareForValidation. Any client-suppliedstore_idis ignored. -
It differs per role only by reachable scope (Partner vs Account tree).
Rate limit
- 30 requests/min.
Request body
- Body:
| Field | Type | Required | Description |
|---|---|---|---|
review_site_id | integer | yes | Must be an existing review site. |
store_id | integer | yes (token flow) | Must be an existing location inside your own account tree; ignored/overridden in the hash flow. |
sendto_scrapper | string (Y/N) | yes | Enable/disable pulling. |
review_site_url | string (url) | conditional | Persisted to the row. Required when enabling (sendto_scrapper=Y) if the row has no stored URL — else 422. |
hash | string | hash flow only | Invite 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 successfullyorReview site disabled successfully. Returns 400No Record Found!if no matching (store, review-site) row exists.
200 OK · 200
200{ "data": { "status": "success", "message": "Review site enabled successfully" } }Errors
| Status | Meaning |
|---|---|
400 | Returned No Record Found! if no matching (store, review-site) row exists |
401 | The bearer token is missing, expired or invalid |
422 | The request failed validation — includes "The review site URL is required when enabling the review site." |
500 | Unexpected 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"}'Updated 9 days ago
Did this page help you?
