Equipment

Duplicate an equipment item

Creates a copy of an existing Equipment item with the supplied fields applied on top of the source. Useful when seeding a new piece of kit off an existing one — for example cloning a treatment table to a second site without rebuilding it from scratch.

Fields omitted from the body are inherited from the source verbatim. Pass site_id to clone the equipment into a different site; omit it to keep the copy on the source site.

Requires the SETTINGS_MANAGE permission on the target site.

post/shop/equipment/{equipmentId}/copy

Request body

namestring

Display name for the new copy. Defaults to the source's name — usually you'll want to override this so the two entries are distinguishable.

descriptionstring

Override the long-form description on the copy. Defaults to the source's description.

quantitynumber

Override the unit count available at the site. Must be greater than zero. Defaults to the source's value.

site_idstring uuid

Override the site the copy belongs to. Defaults to the source's site. The calling user must belong to the target site.

Example request

{
  "name": "Massage Table (Site B)",
  "description": "Heated massage table for deep-tissue work.",
  "quantity": 4,
  "site_id": "00000000-0000-0000-0000-111111111111"
}

Response

A single Equipment item.

Example response

{
  "data": {
    "id": "5f1234567890abcdef123456",
    "name": "Steam Machine A",
    "description": "Lucas Champion steam unit serviced annually.",
    "quantity": 2,
    "site_id": "11111111-1111-1111-1111-111111111111",
    "organisation_id": "22222222-2222-2222-2222-222222222222"
  }
}

Changes

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