DataMagik icon

DataMagik

DataMagik Manufacturing & Document Automation API

Lookup Table → Update Data

AI-generated

Summary

Update an existing entry in a lookup table by data ID, lookup key, and new value.

Inputs

  • tableId (required) — The ID of the lookup table
  • dataId — The ID of the data entry
  • lookupKey (required) — The key to look up
  • lookupValue — The value to store (JSON object), defaults to {}

Output shape

The HTTP response from the DataMagik API, reflecting the updated lookup table data entry.

The operation sends a PUT request to /api/lookup-tables/{tableId}/data/{dataId} with body { lookup_key: , lookup_value: }. Both lookupKey and lookupValue are required for the API call; dataId is used in the URL path.

Discussion