Business Edge ACTION
Get Products
Retrieve products from Business Edge via
POST /masterfiles/productV3/export.json. See the documentation- Action
- Read only
- API key
- SDK
- MCP
IMPLEMENTATION
Call this tool
Connect a user's Business Edge account once, then configure and run Get Products 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: "business_edge-get-products",
externalUserId: "{external_user_id}", // any stable ID for this user in your system
configuredProps: {
business_edge: { authProvisionId: "apn_xxxxxxx" },
entity: "Entity",
dateFormatOpt: "Date Format (DateFormatOpt)",
},
})
console.log(result)curl -X POST https://api.pipedream.com/v1/connect/{project_id}/actions/run \
-H "Content-Type: application/json" \
-H "X-PD-Environment: production" \
-H "Authorization: Bearer {access_token}" \
-d '{
"external_user_id": "{external_user_id}",
"id": "business_edge-get-products",
"configured_props": {
"business_edge": { "authProvisionId": "apn_xxxxxxx" },
"entity": "Entity",
"dateFormatOpt": "Date Format (DateFormatOpt)"
}
}'// accessToken: mint a short-lived token with the Connect SDK — see the MCP guide
const transport = new StreamableHTTPClientTransport(
new URL("https://remote.mcp.pipedream.net/v3"),
{
requestInit: {
headers: {
Authorization: `Bearer ${accessToken}`,
"x-pd-project-id": "{project_id}",
"x-pd-environment": "production",
"x-pd-external-user-id": "{external_user_id}", // any stable ID for this user in your system
"x-pd-app-slug": "business_edge",
},
},
},
)
const mcp = new Client({ name: "my-agent", version: "1.0.0" })
await mcp.connect(transport)
const { tools } = await mcp.listTools()
// listTools() hands your model this tool's input schema, so it can
// fill the arguments itself:
const result = await mcp.callTool({
name: "business_edge-get-products",
arguments: {
entity: "Entity",
dateFormatOpt: "Date Format (DateFormatOpt)",
},
})SCHEMA
Inputs
Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.
| Property | Type | Description |
|---|---|---|
entity Entity | string | Entity for this request. Options load from customer V3 args.json when available; otherwise numeric codes 1–20 are shown (configurable fallback). Required Dynamic |
dateFormatOpt Date Format (DateFormatOpt) | string | A=mm-dd-yy; B=yy-mm-dd; C=yyyy-mm-dd; D=mmddyy; E=yymmdd; F=yyyymmdd; G=dd-mm-yy; H=ddmmyy Optional |
dateDelim Date Delimiter (DateDelim) | string | Optional delimiter used with formatted dates in the API request Optional |
savedSchemaId Saved Schema ID (SavedSchemaID) | string | Optional saved API schema ID for returned data (use with or instead of schema code) Optional |
savedSchemaCode Saved Schema Code (SavedSchemaCode) | string | Optional saved API schema code for returned data (use with or instead of schema ID) Optional |
branchCode Branch Code (BranchCode) | string | Optional branch code filter. Options load from the branch export when Entity is set; use List Branches to retrieve all branches. Optional Dynamic |
branchId Branch ID (BranchID) | string | Optional branch ID filter. Options load from the branch export when Entity is set; use List Branches to retrieve all branches. Optional Dynamic |
availBom Include Bill of Materials in Available (AvailBOM) | boolean | When true, include bill of materials in availability-related export output Optional |
chooseOne Choose One (ChooseOne) | object | Search, Range, or List per API (Range wins over list over search). Example: { "Search": "bolt" } 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
- business_edge-get-products
- Version
- 0.0.2
- App
- Business Edge
- Authentication
- API key
- Read-only
- Yes
- Destructive
- No
- Open world
- Yes
- Source
- View on GitHub ↗