Zones

Duplicate a Zone

Creates a copy of an existing Zone. Any properties supplied in the request body are overlaid on the source values, letting you rename the copy or move it to a different site without rebuilding from scratch. Properties omitted from the body are inherited from the original verbatim.

Requires the SETTINGS_MANAGE permission on the target site.

post/shop/zones/{zoneId}/copy

Request body

idstring object-id required

Unique identifier for the zone.

namestring required

Display name for the zone, shown wherever zones are listed or filtered. Plain text only.

organisation_idstring uuid required

ID of the organisation that owns this zone. Inherited from the site on create.

site_idstring uuid required

ID of the site this zone belongs to.

Example request

{
  "id": "5f1234567890abcdef123456",
  "name": "Pool Deck",
  "organisation_id": "22222222-2222-2222-2222-222222222222",
  "site_id": "11111111-1111-1111-1111-111111111111"
}

Response

A single Zone.

Example response

{
  "data": {
    "id": "5f1234567890abcdef123456",
    "name": "Pool Deck",
    "organisation_id": "22222222-2222-2222-2222-222222222222",
    "site_id": "11111111-1111-1111-1111-111111111111"
  }
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.