Contractors.es icon

Contractors.es

Interact with Contractors.es API

Actions995

Inventory Purchase Notes Relation Api → Patch Api Assets Inventory Purchases Inventory Purchase Notes Note

AI-generated

Summary

Update fields of a specific note linked to an inventory purchase by providing its identifiers and desired field changes.

Inputs

  • Inventory Purchase (required) — ID of the inventory purchase to which the note is linked.
  • Note (required) — ID of the note associated with the inventory purchase to update.
  • Title — New title for the note. Set to 'DO_NOT_UPDATE' to leave unchanged.
  • Note — New content of the note. Set to 'DO_NOT_UPDATE' to leave unchanged.
  • Files — JSON array of attachments to associate with the note. Each item can be a form-data upload file or a base64 string in various supported formats. Use 'DO_NOT_UPDATE' to leave unchanged.
  • Permission — Permission level for the note: 1 for public, 2 for public read-only, 3 for private. Use 'DO_NOT_UPDATE' to leave unchanged.
  • Sticky — Sticky flag value for the note. Use 'DO_NOT_UPDATE' to leave unchanged.
  • Category Id — Category identifier for the note. Use 'DO_NOT_UPDATE' to leave unchanged.
  • Alert — Alert text associated with the note. Use 'DO_NOT_UPDATE' to leave unchanged.
  • Alert Grid — Alert grid information related to the note. Use 'DO_NOT_UPDATE' to leave unchanged.
  • Alert To — Target of the alert for the note. Use 'DO_NOT_UPDATE' to leave unchanged.
  • Alert Type — Type of alert for the note. Use 'DO_NOT_UPDATE' to leave unchanged.
  • External Id — External identifier for integration purposes. Use 'DO_NOT_UPDATE' to leave unchanged.

Output shape

a single updated note record reflecting changes.

Fields set to 'DO_NOT_UPDATE' or 'DO_NOT_SET' are excluded from the update and remain unchanged. The operation requires the inventory purchase ID and note ID to locate the specific note to patch.

Examples

Example 1: Update the title and content of a note attached to a specific inventory purchase

Provide the inventory purchase ID, note ID, and set the 'Title' and 'Note' fields with new string values. Leave other fields as 'DO_NOT_UPDATE' or unset.

Links

Discussion