GroupActions

Set the commercial status of a group.

Assigns or clears the commercial status of a specific group. Commercial status must be enabled for the account, and the referenced commercial status must exist and not be archived.<br>You must have at least one of these scopes: 'groups.manage, reservations.manage'.<br>For fine-grained clients, you must have this permission: 'core.groups.modify'.

put/booking/v0-nsfw/group-actions/{id}/set-commercial-status

Request

  • Base URL
    https://api.apaleo.com (the document declares no server; this is the origin it was published from)
  • URL
    https://api.apaleo.com/booking/v0-nsfw/group-actions/{id}/set-commercial-status
  • Auth
    OAuth 2
    Implicit: https://identity.apaleo.com/connect/authorize
    Scopes: groups.manage, reservations.manage, admin

Path parameters

idstring required

Id of the group that should be processed.

Request body

commercialStatusIdstring nullable

The commercial status id to assign. Omit or set to null to clear the commercial status.

commentstring nullable

An optional comment recorded in the group's activity log alongside this change.

Response

Setting the commercial status was successful.

Changes

No operation changes recorded.