---
title: "Set the commercial status of a group."
method: PUT
path: "/booking/v0-nsfw/group-actions/{id}/set-commercial-status"
tags: ["GroupActions"]
---

# Set the commercial status of a group.

`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`

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'.

## Path parameters

- `id` string, required

## Request body

- SetCommercialStatusModel: Request to set or clear the commercial status of a group.
  - `commercialStatusId` string, nullable: The commercial status id to assign. Omit or set to null to clear the commercial status.
  - `comment` string, nullable: An optional comment recorded in the group's activity log alongside this change.

## Response `204`

Setting the commercial status was successful.

## Other responses

- `400`: Bad request.
- `401`: You are unauthorized.
- `403`: Forbidden.
- `404`: The Request-URI could not be found.
- `415`: Unsupported media type.
- `422`: Validation errors in the request body or query params.
- `499`: Client closed request.
- `500`: An unexpected error occurred.
- `503`: The server is currently unavailable. Please try later.

---

[API](https://skmtc.dev/apaleo/apis/apaleo-booking-api-not-safe-for-work.md) - [All operations](https://skmtc.dev/apaleo/apis/apaleo-booking-api-not-safe-for-work/llms.txt) - [OpenAPI document](https://skmtc.dev/apaleo/apis/apaleo-booking-api-not-safe-for-work/revisions/a1b6a2f6b879?raw)
