View as Markdown
Modelry icon

Modelry ACTION

Create Product

Create a new product. See the documentation
  • Action
  • Writes data
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Modelry account once, then configure and run Create Product 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: "modelry-create-product",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    modelry: { authProvisionId: "apn_xxxxxxx" },
    sku: "SKU",
    title: "Title",
  },
})

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.

Create Product inputs
Property Type Description
sku SKU string
SKU of the product
Required
title Title string
Name or title of the product
Required
batchId Batch ID string
Identifier of the product's batch
Optional
description Description string
Description of the product
Optional
tags Tags string[]
Keywords associated with the product
Optional
dimensions Dimensions string
Dimensions of the product
Optional
externalUrl External URL string
External URL of the product
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
modelry-create-product
Version
0.0.2
App
Modelry
Authentication
API key
Read-only
No
Destructive
No
Open world
Yes