Updates a business entity linked to a specific customer using the Paddle API.
paddle_update_customer_business(
id,
business_id,
name = NULL,
company_number = NULL,
tax_identifier = NULL,
status = NULL,
contacts = NULL,
custom_data = NULL
)
Character. Paddle customer ID (e.g., "ctm_123"). Required.
Character. Paddle business ID (e.g., "biz_456"). Required.
Character. Updated name of the business. Optional.
Character. Updated company number. Optional.
Character. Numeric VAT/tax ID. Optional.
Character. Status of the customer (one of `"active"` or `"archived"`). Optional.
List of contact objects (named list with at least `"email"`). Optional.
Named list of custom metadata. Optional.
A list containing the updated business entity and metadata.
if (FALSE) { # paddle_has_token()
set_paddle_mode("sandbox")
result <- paddle_update_customer_business(
id = "ctm_123",
business_id = "biz_123",
name = "Acme International"
)
}