# BaseLinker — Pipedream Connect

> Integrate your e-commerce workflow in one place.

- API slug: `baselinker` (use in MCP headers and tool keys)
- Auth: API key (Pipedream-managed)
- Categories: Commerce
- Website: https://baselinker.com/
- This page (HTML): https://pipedream.com/apps/baselinker
- Tools: 7 actions · 2 triggers

## Connect via MCP (recommended)

- Endpoint: `https://remote.mcp.pipedream.net/v3`
- Headers: `Authorization: Bearer <token>` · `x-pd-project-id` · `x-pd-environment` · `x-pd-external-user-id` · `x-pd-app-slug: baselinker`

```ts
import { Client } from "@modelcontextprotocol/sdk/client/index.js"
import { StreamableHTTPClientTransport } from "@modelcontextprotocol/sdk/client/streamableHttp.js"
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 accessToken = await pd.rawAccessToken

const transport = new StreamableHTTPClientTransport(
  new URL("https://remote.mcp.pipedream.net/v3"),
  {
    requestInit: {
      headers: {
        Authorization: `Bearer ${accessToken}`,
        "x-pd-project-id": process.env.PIPEDREAM_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": "baselinker",
      },
    },
  },
)

const mcp = new Client({ name: "my-agent", version: "1.0.0" })
await mcp.connect(transport)

const { tools } = await mcp.listTools()

// e.g. run Create Or Update Inventory Product:
const result = await mcp.callTool({
  name: "baselinker-create-or-update-inventory-product",
  arguments: {
    inventoryId: "Inventory ID",
    productId: "Product ID",
  },
})
```

Docs: [MCP guide](https://pipedream.com/docs/connect/mcp/developers.md)

## API proxy

For a BaseLinker endpoint with no pre-built tool, the proxy forwards your request with the connected user's credentials attached.

```bash
# The path segment is the target URL, URL-safe base64 encoded:
# https://api.baselinker.com/connector.php

curl "https://api.pipedream.com/v1/connect/{project_id}/proxy/aHR0cHM6Ly9hcGkuYmFzZWxpbmtlci5jb20vY29ubmVjdG9yLnBocA?external_user_id={external_user_id}&account_id=apn_xxxxxxx" \
  -H "Authorization: Bearer {access_token}" \
  -H "x-pd-environment: production"
```

Docs: [API proxy guide](https://pipedream.com/docs/connect/api-proxy.md)

## SDK

```ts
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: "baselinker-create-or-update-inventory-product",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    baselinker: { authProvisionId: "apn_xxxxxxx" },
    inventoryId: "Inventory ID",
    productId: "Product ID",
  },
})
```

Docs: [Managed auth guide](https://pipedream.com/docs/connect/managed-auth/quickstart.md) · [Tools guide](https://pipedream.com/docs/connect/components.md)

## Actions (7)

### `baselinker-create-or-update-inventory-product` — Create Or Update Inventory Product (Write)

It allows you to add a new product to BaseLinker catalog. Entering the product with the ID updates previously saved product. See the Documentation.

Full schema: https://pipedream.com/apps/baselinker/actions/create-or-update-inventory-product.md

### `baselinker-create-order` — Create Order (Write)

It allows adding a new order to the BaseLinker order manager. See the Documentation.

Full schema: https://pipedream.com/apps/baselinker/actions/create-order.md

### `baselinker-delete-inventory-product` — Delete Inventory Product (Write)

It allows you to remove the product from BaseLinker catalog. See the Documentation.

Full schema: https://pipedream.com/apps/baselinker/actions/delete-inventory-product.md

### `baselinker-list-inventory-id-options` — List Inventory ID Options (Read-only)

Retrieves available options for the Inventory ID field.

Full schema: https://pipedream.com/apps/baselinker/actions/list-inventory-id-options.md

### `baselinker-list-order-id-options` — List Order ID Options (Read-only)

Retrieves available options for the Order ID field.

Full schema: https://pipedream.com/apps/baselinker/actions/list-order-id-options.md

### `baselinker-list-order-status-id-options` — List Order Status ID Options (Read-only)

Retrieves available options for the Order Status ID field.

Full schema: https://pipedream.com/apps/baselinker/actions/list-order-status-id-options.md

### `baselinker-update-order-status` — Update Order Status (Write)

It allows you to change order status. See the Documentation.

Full schema: https://pipedream.com/apps/baselinker/actions/update-order-status.md

## Triggers (2)

### `baselinker-new-order-created` — New Order Created (Polling)

Emit new event when a new order is created in BaseLinker. See the Documentation.

Full schema: https://pipedream.com/apps/baselinker/triggers/new-order-created.md

### `baselinker-order-status-updated` — Order Status Updated (Polling)

Emit new event when an order status changes in BaseLinker. See the Documentation.

Full schema: https://pipedream.com/apps/baselinker/triggers/order-status-updated.md

---

- All apps: https://pipedream.com/apps — index: https://pipedream.com/llms.txt
- Pipedream docs for agents: https://pipedream.com/docs/llms.txt
