paddle_create_product: Create a Paddle Product

View source: R/products.R

paddle_create_productR Documentation

Create a Paddle Product

Description

Creates a new product in Paddle. You must specify a name and tax category (chosen from a predefined set supported by Paddle).

Usage

paddle_create_product(
  name,
  tax_category,
  description = NULL,
  type = NULL,
  image_url = NULL,
  custom_data = NULL
)

Arguments

name

Name of the product. Required.

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"'. Required.

description

Short description of the product. Optional.

type

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

image_url

HTTPS URL for the product image (1:1 recommended). Optional.

custom_data

Named list of your own structured key-value metadata. Optional.

Value

A list representing the newly created product.

Examples


set_paddle_mode("sandbox")
result <- paddle_create_product(
 name = "My Product",
 tax_category = "digital-goods",
 description = "A great product"
 )


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