---
title: "Update group"
method: PATCH
path: "/properties-api/groups/group/{id}"
tags: ["Groups [Pilot]"]
---

# Update group

`PATCH /properties-api/groups/group/{id}`

Modify a combo property or property variant (group) by adding or removing members, or changing the primary listing. Provide the complete list of members after the update. The term group refers to both types: COMBO (combo properties) and DUPLICATES (property variants).

Check out our [Help Center](https://help.guesty.com/hc/en-gb/articles/33014581967901-Pilot-Managing-combo-properties-and-property-variants) to learn more about these property types.

## Path parameters

- `id` string, required

## Request body

- object
  - `primary` string — Primary listing ID (optional - only required when changing primary)
  - `members` string[], required — Array of listing IDs representing all members after update

## Response `200`

Group was successfully updated

- object
  - `groupId` string
  - `type` 'COMBO' | 'DUPLICATES'
  - `primary` string
  - `members` string[]

## Other responses

- `400` — Invalid request data or business rule violation
- `403` — Insufficient permissions
- `404` — Group not found

---

[API](https://skmtc.net/guesty/apis/guesty-open-api.md) · [All operations](https://skmtc.net/guesty/apis/guesty-open-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/guesty/guesty-open-api/versions/7c62644070f2/schema)
