paddle_create_customer_business: Create a Business for a Customer

View source: R/customers.R

paddle_create_customer_businessR Documentation

Create a Business for a Customer

Description

Creates a new business entity associated with a specific customer in the Paddle API.

Usage

paddle_create_customer_business(
  id,
  name,
  company_number = NULL,
  tax_identifier = NULL,
  contacts = NULL,
  custom_data = NULL
)

Arguments

id

Character. Paddle customer ID (e.g., "ctm_123"). Required.

name

Character. Name of the business. Required.

company_number

Character. Optional company number.

tax_identifier

Character. Optional tax/VAT ID.

contacts

List of contact objects (each a named list with '"name"' and required '"email"'). Optional.

custom_data

Named list of additional custom fields. Optional.

Value

A list containing the created business entity and metadata.

Examples


result <- paddle_create_customer_business(
  id = "ctm_123",
  name = "Acme Inc.",
  tax_identifier = "123456789",
  contacts = list(list(email = "ceo@acme.com") )
)


paddleR documentation built on June 24, 2025, 9:07 a.m.