CONNECT APP
Build with PlentyONE
The cloud-based e-commerce platform that transforms complexity and dynamism into scalable solutions and speed – across the entire value chain.
Commerce
- OAuth
MCP
Give your agent PlentyONE tools
Every PlentyONE action is exposed as an MCP tool on Pipedream's remote server. Point a client at it with your end user's ID and Connect resolves that user's PlentyONE account for each tool call — you store no tokens.
// 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": "plentyone",
},
},
},
)
const mcp = new Client({ name: "my-agent", version: "1.0.0" })
await mcp.connect(transport)
const { tools } = await mcp.listTools()
// e.g. run Add Order Note:
const result = await mcp.callTool({
name: "plentyone-add-order-note",
arguments: {
orderId: "Order ID",
text: "Note Text",
},
})# access_token: mint a short-lived token with the Connect SDK — see the MCP guide
headers = {
"Authorization": f"Bearer {access_token}",
"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": "plentyone",
}
async with streamablehttp_client("https://remote.mcp.pipedream.net/v3", headers=headers) as (read, write, _):
async with ClientSession(read, write) as session:
await session.initialize()
tools = await session.list_tools()
# e.g. run Add Order Note:
result = await session.call_tool("plentyone-add-order-note", {
"orderId": "Order ID",
"text": "Note Text",
})SDK
Run PlentyONE actions from your backend
Connect a user's PlentyONE account once, then run Add Order Note on their behalf from your own code — TypeScript, Python, or plain HTTP.
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: "plentyone-add-order-note",
externalUserId: "{external_user_id}", // any stable ID for this user in your system
configuredProps: {
plentyone: { authProvisionId: "apn_xxxxxxx" },
orderId: "Order ID",
text: "Note Text",
},
})from pipedream import Pipedream
pd = Pipedream(
client_id="{oauth_client_id}",
client_secret="{oauth_client_secret}",
project_id="{project_id}",
project_environment="production",
)
result = pd.actions.run(
id="plentyone-add-order-note",
external_user_id="{external_user_id}", # any stable ID for this user in your system
configured_props={
"plentyone": {"authProvisionId": "apn_xxxxxxx"},
"orderId": "Order ID",
"text": "Note Text",
},
)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": "plentyone-add-order-note",
"configured_props": {
"plentyone": { "authProvisionId": "apn_xxxxxxx" },
"orderId": "Order ID",
"text": "Note Text"
}
}'TOOLS
PlentyONE actions
On-demand operations your product or agent can configure and run on behalf of a connected user.
-
Add Order Note
actionAdds a note to an order in PlentyONE. See the documentationWritev0.0.2 -
Create Order
actionCreates a new order in PlentyONE. See the documentationWritev0.0.2 -
Get Order
actionRetrieves a specific order by ID from PlentyONE. See the documentationRead-onlyv0.0.2 -
Get Order Documents
actionRetrieves documents for a specific order from PlentyONE. See the documentationRead-onlyv0.0.2 -
Get Order Items
actionRetrieves items for a specific order from PlentyONE See the documentationRead-onlyv0.0.2 -
Get Order Properties
actionRetrieves properties for a specific order from PlentyONE See the documentationRead-onlyv0.0.2 -
Get Orders
actionRetrieves a list of orders from PlentyONE. See the documentationRead-onlyv0.0.2 -
List Contact ID Options
actionRetrieves available options for the Contact ID field.Read-onlyv0.0.1 -
List Country ID Options
actionRetrieves available options for the Country ID field.Read-onlyv0.0.1 -
List Order ID Options
actionRetrieves available options for the Order ID field.Read-onlyv0.0.1 -
List Status ID Options
actionRetrieves available options for the Status ID field.Read-onlyv0.0.1 -
List Warehouse ID Options
actionRetrieves available options for the Warehouse ID field.Read-onlyv0.0.1
EVENTS
PlentyONE triggers
Event sources your backend can deploy for users and receive through a webhook.
No PlentyONE triggers are available yet.
- App slug
- plentyone
- Authentication
- OAuth
- Categories
- Commerce
- Actions
- 12
- Triggers
- 0
- API proxy
- Not available