paddle_create_customer_business | R Documentation |
Creates a new business entity associated with a specific customer in the Paddle API.
paddle_create_customer_business(
id,
name,
company_number = NULL,
tax_identifier = NULL,
contacts = NULL,
custom_data = NULL
)
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. |
A list containing the created business entity and metadata.
result <- paddle_create_customer_business(
id = "ctm_123",
name = "Acme Inc.",
tax_identifier = "123456789",
contacts = list(list(email = "ceo@acme.com") )
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.