paddle_update_product: Update a Paddle Product

View source: R/products.R

paddle_update_productR Documentation

Update a Paddle Product

Description

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.

Usage

paddle_update_product(
  id,
  name = NULL,
  description = NULL,
  type = NULL,
  tax_category = NULL,
  image_url = NULL,
  custom_data = NULL,
  status = NULL
)

Arguments

id

The Paddle product ID (e.g., '"pro_abc123"'). Required.

name

Updated product name. Optional.

description

Updated product description. Optional (use 'NULL' to clear).

type

Character. Type of product (one of '"standard"' and '"custom"'). Optional, defaults to '"standard'.

tax_category

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.

image_url

HTTPS image URL. Optional (use 'NULL' to clear).

custom_data

Named list of key-value metadata. Optional (use 'NULL' to clear).

status

Character vector of statuses (e.g., '"active"', '"archived"'). Optional.

Value

A list representing the updated product.

Examples


set_paddle_mode("sandbox")
result <- paddle_update_product(
  id = "pro_123",
  name = "Updated Product Name"
)


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