View as Markdown
CodeREADr icon

CodeREADr ACTION

Add or Update Barcode Value

Adds or updates a barcode value in the selected database. See the documentation
  • Action
  • Writes data
  • Destructive
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's CodeREADr account once, then configure and run Add or Update Barcode Value from your backend or agent.

import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "codereadr-add-update-barcode-value",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    codereadr: { authProvisionId: "apn_xxxxxxx" },
    databaseId: "Database ID",
    value: "Value",
  },
})

console.log(result)

SCHEMA

Inputs

Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.

Add or Update Barcode Value inputs
Property Type Description
databaseId Database ID string
Select the database to add or update a barcode value
Required Dynamic
value Value string
A string which specifies your desired barcode value. Must be 100 characters or less.
Required
responseStr Response string
A string which specifies the barcode value's associated response text.
Optional

REFERENCE

Tool details

Behavior hints are published with the component in the Pipedream registry and surface as MCP tool annotations, so an agent can reason about a tool before it calls it.

Registry key
codereadr-add-update-barcode-value
Version
0.0.2
App
CodeREADr
Authentication
API key
Read-only
No
Destructive
Yes
Open world
Yes