View as Markdown
Billbee icon

Billbee ACTION

Update Order

Partially update an existing order. See the documentation
  • Action
  • Writes data
  • Destructive
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Billbee account once, then configure and run Update Order 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: "billbee-update-order",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    billbee: { authProvisionId: "apn_xxxxxxx" },
    orderId: "Order ID",
    orderNumber: "Order Number",
  },
})

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.

Update Order inputs
Property Type Description
orderId Order ID string
The ID of the order
Required Dynamic
orderNumber Order Number string
The order number
Optional
vatMode VAT Mode integer
VAT mode for the order
Optional
shippedAt Shipped At string
Order shipped date (ISO format). Eg. 2025-01-01T00:00:00.000Z
Optional
payedAt Payed At string
Order payment date (ISO format). Eg. 2025-01-01T00:00:00.000Z
Optional
sellerComment Seller Comment string
Comment from the seller
Optional
invoiceNumber Invoice Number integer
The invoice number
Optional
invoiceDate Invoice Date string
Invoice date (ISO format). Eg. 2025-01-01T00:00:00.000Z
Optional
shippingCost Shipping Cost string
Shipping cost for the order
Optional
taxRate1 Tax Rate 1 string
First tax rate
Optional
taxRate2 Tax Rate 2 string
Second tax rate
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
billbee-update-order
Version
0.0.3
App
Billbee
Authentication
API key
Read-only
No
Destructive
Yes
Open world
Yes