The Business Reviews Settings entity

Entity description

A BusinessReviewSharing entity defines how a business shares client reviews with external platforms. It includes details about the external site, sharing consent, and platform-specific parameters for routing the review correctly.

Properties

NameDescriptionTypeExample
business_uidThe unique identifier (UID) of the businessstringd290f1ee26c54
external_review_site_urlSpecifies the external review site URL where the review will be sharedstringhttps://external_review_site_url.com
external_review_site_display_nameSpecifies the display name of the external review site receiving the reviewstringlocal.ch
display_review_sharing_consentEnables the client to decide whether their review is shared with that external review sitebooleantrue
platform_url_business_paramsDefines the selected platform and its required routing parameters (e.g., Google place_id, Facebook yourbusiness)objectSee Platform Parameters Example below

Platform Parameters

Google

{
  "id": 1,
  "name": "Google",
  "params": {
    "place_id": 173897183
  }
}

Facebook

{
  "id": 1,
  "name": "Facebook",
  "params": {
    "yourbusiness": 173897183
  }
}

Example

{
  "business_uid": "d290f1ee26c54",
  "display_review_sharing_consent": true,
  "platform_url_business_params": {
    "id": 1,
    "name": "Google",
    "params": {
      "place_id": 173897183
    }
  },
  "external_review_site_url": "https://external_review_site_url.com",
  "external_review_site_display_name": "local.ch",
  "created_at": "2021-07-20T14:00:00.000Z",
  "updated_at": "2021-07-20T14:00:00.000Z"
}