Updates an existing product using its Paddle ID. You can update any combination of fields, such as name, description, tax category, type, image URL, custom metadata, and status.
paddle_update_product(
id,
name = NULL,
description = NULL,
type = NULL,
tax_category = NULL,
image_url = NULL,
custom_data = NULL,
status = NULL
)
The Paddle product ID (e.g., `"pro_abc123"`). Required.
Updated product name. Optional.
Updated product description. Optional (use `NULL` to clear).
Character. Type of product (one of `"standard"` and `"custom"`). Optional, defaults to `"standard`.
Character vector of tax categories to filter. One of `"digital-goods"`, `"ebooks`, `"implementation-services"`, `"professional-services"`, `"saas"`, `"software-programming-services"`, `"standard"`, `"training-services"`, and `"website-hosting"`. Optional.
HTTPS image URL. Optional (use `NULL` to clear).
Named list of key-value metadata. Optional (use `NULL` to clear).
Character vector of statuses (e.g., `"active"`, `"archived"`). Optional.
A list representing the updated product.
if (FALSE) { # paddle_has_token()
set_paddle_mode("sandbox")
result <- paddle_update_product(
id = "pro_123",
name = "Updated Product Name"
)
}