machines

PATCH /api/machines/{id}

Update a machines record

Request

  • Base URL
    https://api.buildoapp.com (the document declares no server; this is the origin it was published from)
  • Auth
    none declared

Path parameters

idstring uuid required

Request body

namestring
unitOfMeasurestring nullable
defaultUnitPricenumber double nullable
typestring nullable
mongodbIdstring nullable

Example request

{
  "defaultUnitPrice": 25.5
}

Response

Default Response

idstring uuid required
companyIdstring uuid required
namestring required
unitOfMeasurestring nullable required
defaultUnitPricenumber double nullable
typestring nullable required
serverVersioninteger required
createdAtstring date-time
updatedAtstring date-time
deletedAtstring date-time nullable
mongodbIdstring nullable required

Example response

{
  "defaultUnitPrice": 25.5,
  "serverVersion": 1,
  "createdAt": "2026-03-26T14:00:00Z",
  "updatedAt": "2026-03-26T14:00:00Z",
  "deletedAt": "2026-03-26T14:00:00Z"
}

Changes

No recorded changes to this operation across all 7 revisions of this API.