Intelup icon

Intelup

Interact with the Intelup API

Actions335

maintenance → Put Maintenance Materials Services By Id

AI-generated

Summary

Updates an existing maintenance material or service record in Intelup by its ID, sending a JSON body with the new field values via an HTTP PUT request.

Inputs

  • version — Intelup API version to target (3.42.3 default, 3.41.6, 3.41.5). Selects the endpoint definition used.
  • id (required) — ID of the maintenance material/service to update. It is URL-encoded and substituted into the request path.
  • body__putPublicMaintenanceMaterialsServicesById (required) — JSON request body. The template includes id_unit_measurement, codigo (material code), descricao (description), tipo_material (1 piece, 2 lubricant, 3 external service), preco_ultima_compra (last purchase price), quantidade_estoque (stock quantity), quantidade_reservada (reserved quantity), centro (center) and deposito (deposit). Must be valid JSON or the node errors.

Output shape

One output item per input item, with the Intelup API's JSON response in the item's json field.

The request is sent once per input item using the fenixApi credentials (base URL, token, code, unit-code headers). If Continue On Fail is enabled, failed items return json with an error message instead of stopping the workflow. The response schema is not defined in the node source.

Examples

Example 1: Update stock and reserved quantities for a material after an inventory count.

Set id to the material's ID and body to {"codigo":"MATCODE","descricao":"Material description","tipo_material":"1","quantidade_estoque":"25","quantidade_reservada":"5"}.

Example 2: Sync material records from an ERP, updating each one by its ID.

Use an expression for id (e.g. {{$json.materialId}}) and an expression building the JSON body from the incoming item fields.

Links

Discussion