Updates an address for a specific customer using Paddle's API.
paddle_update_customer_address(
id,
address_id,
country_code = NULL,
description = NULL,
first_line = NULL,
second_line = NULL,
city = NULL,
postal_code = NULL,
region = NULL,
custom_data = NULL,
status = NULL
)
Character. Paddle customer ID (e.g., "ctm_123"). Required.
Character. Paddle address ID (e.g., "add_456"). Required.
Character. Optional. Two-letter ISO 3166-1 alpha-2 country code.
Character. Optional. Internal reference.
Character. Optional. First line of address.
Character. Optional. Second line of address.
Character. Optional. City name.
Character. Optional. ZIP or postal code.
Character. Optional. Region, state, or county.
Named list. Optional structured metadata.
Character. Status of the customer (`"active"` or `"archived"`). Optional.
A list containing the updated address entity and metadata.
if (FALSE) { # paddle_has_token()
set_paddle_mode("sandbox")
result <- paddle_update_customer_address(
id = "ctm_123",
address_id = "add_123",
city = "San Francisco",
region = "CA"
)
}