Rentman icon

Rentman

Interact with the Rentman rental management API

Actions206

Cost → Update

AI-generated

Summary

Update an existing cost entry by specifying its ID, the associated subproject path, and optional fields to modify such as name and remark.

Inputs

  • Cost ID (required) — The ID of the cost to update.
  • Subproject (Path) (required) — The resource path of the subproject that the cost belongs to, required for the API update call.
  • Update Fields — Optional fields to update on the cost, including name and remark.

Output shape

a single updated cost record as returned from the Rentman API

The operation sends a PATCH request to the /costs/{costId} endpoint with the provided subproject and update fields in the request body. Only fields specified in 'Update Fields' are changed. The output contains the updated cost information from the API response.

Links

Discussion