Businesses

Set Google Lodging attributes for your business

Changed on

This endpoint allows you to partially set or update Google Lodging attributes for your business. Only lodging attributes included in the request body are updated. Other existing lodging attributes are left unchanged. The business Google location must be able to operate Lodging data. For each lodging attribute, provide either a value or an exception, but not both. Attributes returned by GET /v2/lodging/list with read_only: true cannot be modified. Sending a read-only lodging attribute in this request returns a 400 error.

post/business/{business_id}/lodging

Request

Path parameters

business_idstring required

Business id.

It may be replaced by c-{code} where code is the store code, which should be unique per organization. This can be used only for ORG_ADMIN, GROUP_MANAGER and BUSINESS_MANAGER users.

Request body

Example request

{
  "lodging": [
    {
      "gmb_id": "lodging.services.frontDesk",
      "type": "BOOL",
      "value": true,
      "exception": null
    },
    {
      "gmb_id": "lodging.property.roomCount",
      "type": "INTEGER",
      "value": 42,
      "exception": null
    },
    {
      "gmb_id": "lodging.property.checkinTime",
      "type": "TIME",
      "value": null,
      "exception": "LODGING_DEPENDENT_ON_SEASON"
    },
    {
      "gmb_id": "lodging.services.languagesSpoken",
      "type": "REPEATABLE_ENUM",
      "value": [
        "ENGLISH",
        "FRENCH"
      ],
      "exception": null
    }
  ]
}

Response

OK

status'success'

Request status

Changes

    • info

      added BOOL INTEGER TIME ENUM REPEATABLE_ENUM discriminator mapping keys to the / request property