Naar inhoud

The review widget listing object

Attributes

iduuid
product_iduuid
products.id

Identifier of the related unit

review_widget_iduuid
review_widgets.id

Identifier of the related review widget

created_atread-onlytimestamp with time zone

Creation timestamp

Related resources

Embed related resources in the response with the select parameter, for example select=*,products(*). Resources related through more than one column need the column as a hint, like table!column(*).

products(*)object | null
products

The product referenced by product_id.

review_widgets(*)object | null
review_widgets

The review widget referenced by review_widget_id.

The review widget listing object
JSON
{
  "id": "00000000-0000-0000-0000-000000000000",
  "product_id": "00000000-0000-0000-0000-000000000000",
  "review_widget_id": "00000000-0000-0000-0000-000000000000",
  "created_at": "2026-11-14T15:13:51.362Z"
}
Including related resources
curl "https://api.bookingmood.com/v1/review_widget_listings?limit=10&select=*,products(*),review_widgets(*)" \
  -H "Authorization: Bearer YOUR_API_KEY"

List review widget listings

Requireschannels:read

Filters

idFilter<uuid>
product_idFilter<uuid>
products.id

Identifier of the related unit

review_widget_idFilter<uuid>
review_widgets.id

Identifier of the related review widget

created_atFilter<timestamp with time zone>

Creation timestamp

Responses

200

A list of review widget listings with the selected columns

206

Partial Content

400

The request is malformed, for example an unknown column or an invalid filter.

401

The API key is missing or invalid.

403

The API key or access token doesn't have the scope this request needs.

429

The API key made more requests per minute than its rate limit allows. Retry after the number of seconds in the `Retry-After` header.

Error responses have a JSON body with a code, message, details and hint. See the introduction for more on errors.
GET/review_widget_listings
curl "https://api.bookingmood.com/v1/review_widget_listings?select=*&limit=10" \
  -H "Authorization: Bearer YOUR_API_KEY"
Example
JSON
[
  {
    "id": "00000000-0000-0000-0000-000000000000",
    "product_id": "00000000-0000-0000-0000-000000000000",
    "review_widget_id": "00000000-0000-0000-0000-000000000000",
    "created_at": "2026-11-14T15:13:51.362Z"
  }
]

Create review widget listings

Requireschannels:write

Body

Partial<ReviewWidgetListing> | Array<Partial<ReviewWidgetListing>>

Read-only attributes are set by the database and can't be written.

Responses

201

The newly created review widget listings with the selected columns

400

The request is malformed, for example an unknown column, an invalid filter or an invalid body.

401

The API key is missing or invalid.

403

The API key or access token doesn't have the scope this request needs, or no permission for this change, for example when writing rows of another organization.

409

The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.

429

The API key made more requests per minute than its rate limit allows. Retry after the number of seconds in the `Retry-After` header.

Error responses have a JSON body with a code, message, details and hint. See the introduction for more on errors.
POST/review_widget_listings
curl "https://api.bookingmood.com/v1/review_widget_listings" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "product_id": "00000000-0000-0000-0000-000000000000",
    "review_widget_id": "00000000-0000-0000-0000-000000000000"
  }'
Example
JSON
[
  {
    "id": "00000000-0000-0000-0000-000000000000",
    "product_id": "00000000-0000-0000-0000-000000000000",
    "review_widget_id": "00000000-0000-0000-0000-000000000000",
    "created_at": "2026-11-14T15:13:51.362Z"
  }
]

Delete review widget listings

Requireschannels:write

Filters

Without filters, this request deletes all review widget listings you have access to. Always filter on at least one column, e.g. id=eq.{id}.

idFilter<uuid>
product_idFilter<uuid>
products.id

Identifier of the related unit

review_widget_idFilter<uuid>
review_widgets.id

Identifier of the related review widget

created_atFilter<timestamp with time zone>

Creation timestamp

Responses

200

The deleted review widget listings with the selected columns. Returns 204 without a body when sending the header Prefer: return=minimal.

400

The request is malformed, for example an unknown column or an invalid filter.

401

The API key is missing or invalid.

403

The API key or access token doesn't have the scope this request needs, or no permission for this change, for example when writing rows of another organization.

429

The API key made more requests per minute than its rate limit allows. Retry after the number of seconds in the `Retry-After` header.

Error responses have a JSON body with a code, message, details and hint. See the introduction for more on errors.
DELETE/review_widget_listings
curl -X DELETE "https://api.bookingmood.com/v1/review_widget_listings?id=eq.00000000-0000-0000-0000-000000000000" \
  -H "Authorization: Bearer YOUR_API_KEY"
Example
JSON
[
  {
    "id": "00000000-0000-0000-0000-000000000000",
    "product_id": "00000000-0000-0000-0000-000000000000",
    "review_widget_id": "00000000-0000-0000-0000-000000000000",
    "created_at": "2026-11-14T15:13:51.362Z"
  }
]

Update review widget listings

Requireschannels:write

Filters

Without filters, this request updates all review widget listings you have access to. Always filter on at least one column, e.g. id=eq.{id}.

idFilter<uuid>
product_idFilter<uuid>
products.id

Identifier of the related unit

review_widget_idFilter<uuid>
review_widgets.id

Identifier of the related review widget

created_atFilter<timestamp with time zone>

Creation timestamp

Body

Partial<ReviewWidgetListing>

Read-only attributes are set by the database and can't be written.

Responses

200

The updated review widget listings with the selected columns. Returns 204 without a body when sending the header Prefer: return=minimal.

400

The request is malformed, for example an unknown column, an invalid filter or an invalid body.

401

The API key is missing or invalid.

403

The API key or access token doesn't have the scope this request needs, or no permission for this change, for example when writing rows of another organization.

409

The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.

429

The API key made more requests per minute than its rate limit allows. Retry after the number of seconds in the `Retry-After` header.

Error responses have a JSON body with a code, message, details and hint. See the introduction for more on errors.
PATCH/review_widget_listings
curl -X PATCH "https://api.bookingmood.com/v1/review_widget_listings?id=eq.00000000-0000-0000-0000-000000000000" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
Example
JSON
[
  {
    "id": "00000000-0000-0000-0000-000000000000",
    "product_id": "00000000-0000-0000-0000-000000000000",
    "review_widget_id": "00000000-0000-0000-0000-000000000000",
    "created_at": "2026-11-14T15:13:51.362Z"
  }
]

Neem de controle over je boekingen. Bouw een bedrijf dat van jou is.

Sluit je aan bij 1200+ onafhankelijke vakantieverhuurbedrijven die Bookingmood gebruiken om hun directe boekingen te vergroten en een sterkere band met hun gasten op te bouwen.

Start je gratis 14-daagse proefperiode