CONNECT APP
Build with Paazl
Shipping software for the best delivery experience
Commerce
- OAuth
MCP
Give your agent Paazl tools
Every Paazl 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 Paazl 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": "paazl",
},
},
},
)
const mcp = new Client({ name: "my-agent", version: "1.0.0" })
await mcp.connect(transport)
const { tools } = await mcp.listTools()
// e.g. run Create Checkout Access Token:
const result = await mcp.callTool({
name: "paazl-create-checkout-token",
arguments: {
reference: "Reference",
},
})# 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": "paazl",
}
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 Create Checkout Access Token:
result = await session.call_tool("paazl-create-checkout-token", {
"reference": "Reference",
})SDK
Run Paazl actions from your backend
Connect a user's Paazl account once, then run Create Checkout Access Token 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: "paazl-create-checkout-token",
externalUserId: "{external_user_id}", // any stable ID for this user in your system
configuredProps: {
paazl: { authProvisionId: "apn_xxxxxxx" },
reference: "Reference",
},
})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="paazl-create-checkout-token",
external_user_id="{external_user_id}", # any stable ID for this user in your system
configured_props={
"paazl": {"authProvisionId": "apn_xxxxxxx"},
"reference": "Reference",
},
)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": "paazl-create-checkout-token",
"configured_props": {
"paazl": { "authProvisionId": "apn_xxxxxxx" },
"reference": "Reference"
}
}'TOOLS
Paazl actions
On-demand operations your product or agent can configure and run on behalf of a connected user.
-
Create Checkout Access Token
actionReturns an access token for a checkout session. This enables the Paazl checkout widget to access Paazl resources. See the documentationWritev0.0.3 -
Create Shipment For Order
actionGenerates a shipment at the carrier for the shipping option specified in POST order. See the documentationWritev0.0.2 -
Delete Order
actionDeletes an order. See the documentationWritev0.0.2 -
Get Checkout Session Data
actionGets your reference for a checkout session. See the documentationRead-onlyv0.0.2 -
Get Home Delivery Shipping Options
actionContains shipping options for your checkout page. See the documentationRead-onlyv0.0.2 -
Get Order Shipment Details
actionRetrieves an order's shipments details. See the documentationRead-onlyv0.0.2 -
Get Order Shipping Labels
actionRetrieves an order's labels. See the documentationRead-onlyv0.0.2 -
Get Pickup Location Shipping Options
actionContains pickup locations for your checkout page. See the documentationRead-onlyv0.0.2 -
Get Return Shipment Details
actionRetrieves an order's return shipments details. See the documentationRead-onlyv0.0.2 -
Get Specific Parcel Label
actionRetrieves a specific parcel's label. See the documentationRead-onlyv0.0.2 -
Get Specific Shipment Label
actionRetrieves a specific shipment's labels. See the documentationRead-onlyv0.0.2 -
Get Specific Shipment Tracking
actionRetrieves a specific shipment's tracking number details. See the documentationRead-onlyv0.0.2 -
List Pickup Location Code Options
actionRetrieves available options for the Pickup Location Code field.Read-onlyv0.0.1 -
Modify Order
actionModifies the information of an order with a specific reference in the Paazl database. The method overwrites the order. See the documentationWritev0.0.3 -
Save Checkout Session Data
actionSaves the most important information of a specific checkout session to the Paazl database. The information will be kept for 30 days. See the documentationWritev0.0.3 -
Save Order
actionSaves an order's most important information to the Paazl database once a customer has paid for their purchase. See the documentationWritev0.0.3
No Paazl triggers are available yet.
- App slug
- paazl
- Authentication
- OAuth
- Categories
- Commerce
- Actions
- 16
- Triggers
- 0
- API proxy
- Not available