Creates a new product in Paddle. You must specify a name and tax category (chosen from a predefined set supported by Paddle).
paddle_create_product(
name,
tax_category,
description = NULL,
type = NULL,
image_url = NULL,
custom_data = NULL
)
Name of the product. Required.
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"`. Required.
Short description of the product. Optional.
Character. Type of product (one of `"standard"` and `"custom"`). Optional, defaults to `"standard`.
HTTPS URL for the product image (1:1 recommended). Optional.
Named list of your own structured key-value metadata. Optional.
A list representing the newly created product.
if (FALSE) { # paddle_has_token()
set_paddle_mode("sandbox")
result <- paddle_create_product(
name = "My Product",
tax_category = "digital-goods",
description = "A great product"
)
}