# Orderspace — Pipedream Connect

> Wholesale Ordering Software, Online B2B Ordering Software

- API slug: `orderspace` (use in MCP headers and tool keys)
- Auth: OAuth (Pipedream-managed)
- Categories: Commerce
- Website: https://www.orderspace.com
- This page (HTML): https://pipedream.com/apps/orderspace
- Tools: 10 actions · 8 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: orderspace`

```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": "orderspace",
      },
    },
  },
)

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

const { tools } = await mcp.listTools()

// e.g. run Create Customer:
const result = await mcp.callTool({
  name: "orderspace-create-customer",
  arguments: {
    companyName: "Company Name",
    contactName: "Contact Name",
  },
})
```

Docs: [MCP guide](https://pipedream.com/docs/connect/mcp/developers.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: "orderspace-create-customer",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    orderspace: { authProvisionId: "apn_xxxxxxx" },
    companyName: "Company Name",
    contactName: "Contact Name",
  },
})
```

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

## Actions (10)

### `orderspace-create-customer` — Create Customer (Write)

Create a new customer. See the documentation

Full schema: https://pipedream.com/apps/orderspace/actions/create-customer.md

### `orderspace-create-dispatch` — Create Dispatch (Write)

Create a new dispatch. See the documentation

Full schema: https://pipedream.com/apps/orderspace/actions/create-dispatch.md

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

Create a new order. See the documentation

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

### `orderspace-list-customer-group-id-options` — List Customer Group ID Options (Read-only)

Retrieves available options for the Customer Group ID field.

Full schema: https://pipedream.com/apps/orderspace/actions/list-customer-group-id-options.md

### `orderspace-list-customers` — List Customers (Read-only)

List a list of customers. See the documentation

Full schema: https://pipedream.com/apps/orderspace/actions/list-customers.md

### `orderspace-list-orders` — List Orders (Read-only)

List a list of orders. See the documentation

Full schema: https://pipedream.com/apps/orderspace/actions/list-orders.md

### `orderspace-list-payment-term-id-options` — List Payment Term ID Options (Read-only)

Retrieves available options for the Payment Term ID field.

Full schema: https://pipedream.com/apps/orderspace/actions/list-payment-term-id-options.md

### `orderspace-list-price-list-id-options` — List Price List ID Options (Read-only)

Retrieves available options for the Price List ID field.

Full schema: https://pipedream.com/apps/orderspace/actions/list-price-list-id-options.md

### `orderspace-list-products` — List Products (Read-only)

List a list of products. See the documentation

Full schema: https://pipedream.com/apps/orderspace/actions/list-products.md

### `orderspace-update-inventory-level` — Update Inventory Level (Write)

Update an inventory level. See the documentation

Full schema: https://pipedream.com/apps/orderspace/actions/update-inventory-level.md

## Triggers (8)

### `orderspace-customer-updated` — Customer Updated (Instant) (Instant)

Emit new event when a customer is updated

Full schema: https://pipedream.com/apps/orderspace/triggers/customer-updated.md

### `orderspace-inventory-level-updated` — Inventory Level Updated (Instant) (Instant)

Emit new event when an inventory level is updated

Full schema: https://pipedream.com/apps/orderspace/triggers/inventory-level-updated.md

### `orderspace-new-customer-created` — New Customer Created (Instant) (Instant)

Emit new event when a customer is created

Full schema: https://pipedream.com/apps/orderspace/triggers/new-customer-created.md

### `orderspace-new-dispatch-created` — New Dispatch Created (Instant) (Instant)

Emit new event when a dispatch is created

Full schema: https://pipedream.com/apps/orderspace/triggers/new-dispatch-created.md

### `orderspace-new-invoice-created` — New Invoice Created (Instant) (Instant)

Emit new event when an invoice is created

Full schema: https://pipedream.com/apps/orderspace/triggers/new-invoice-created.md

### `orderspace-new-order-created` — New Order Created (Instant) (Instant)

Emit new event when an order is created

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

### `orderspace-new-payment-created` — New Payment Created (Instant) (Instant)

Emit new event when a payment is created

Full schema: https://pipedream.com/apps/orderspace/triggers/new-payment-created.md

### `orderspace-new-product-created` — New Product Created (Instant) (Instant)

Emit new event when a product is created

Full schema: https://pipedream.com/apps/orderspace/triggers/new-product-created.md

---

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