View as Markdown
DigitalRiver icon

DigitalRiver ACTION

Update Customer Information

Updates the information for a customer in Digital River. See the documentation
  • Action
  • Writes data
  • Destructive
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's DigitalRiver account once, then configure and run Update Customer Information 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: "digitalriver-update-customer-information",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    digitalriver: { authProvisionId: "apn_xxxxxxx" },
    customerId: "Customer ID",
    email: "Email",
  },
})

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 Customer Information inputs
Property Type Description
customerId Customer ID string
The unique identifier for the customer
Required Dynamic
email Email string
The customer email address.
Optional
line1 Shipping Address Line 1 string
The first line of the address.
Optional
line2 Shipping Address Line 2 string
The second line of the address.
Optional
city Shipping Address City string
The city of the address.
Optional
postalCode Shipping Address Postal Code string
The postal code of the address.
Optional
state Shipping Address State string
The state, county, province, or region.
Optional
country Shipping Address Country string
A two-letter Alpha-2 country code as described in the ISO 3166 international standard.
Optional
name Shipping Name string
The recipient's name.
Optional
phone Shipping Phone string
The recipient's phone number.
Optional
shippingEmail Shipping Email string
The recipient's email address.
Optional
organization Shipping Organization string
The recipient's organization.
Optional
neighborhood Shipping Neighborhood string
The neighborhood of the address.
Optional
division Shipping Division string
A division within an organization.
Optional
phoneticName Shipping Phonetic Name string
The phonetic spelling of a name.
Optional
companyName Tax Certificate Company Name string
The name of the company that holds the certificate.
Optional
taxAuthority Tax Certificate Autority string
The issuing state.
Optional
startDate Tax Certificate Start Date string
Tax certificate start date.
Optional
endDate Tax Certificate End Date string
Tax certificate end date.
Optional
fileId Tax Certificate File Id string
The identifier of the file that contains the tax certificate.
Optional Dynamic
requestToBeForgotten Request To Be Forgotten boolean
If true, indicates this customer has submitted a request to be forgotten.
Optional
type Type string
The type of customer.
Optional
metadata Metadata object
Key-value pairs used to store additional data. Value can be string, boolean or integer types.
Optional
locale Locale string
A locale designator that combines the two-letter ISO 639-1 language code with the ISO 3166-1 alpha-2 country code.
Optional
enabled Enabled boolean
Usually used to disable the customer. The default is true. If false, attempts to create orders for the customer will fail.
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
digitalriver-update-customer-information
Version
0.0.2
App
DigitalRiver
Authentication
API key
Read-only
No
Destructive
Yes
Open world
Yes