The product object
string
Unique identifier with
prod_ prefix (e.g., prod_abc123def456).string
The product’s name. Leading and trailing whitespace is automatically trimmed.
string
When the product was created (ISO 8601).
string
When the product was last updated (ISO 8601).
List products
integer
default:"1"
Page number for pagination. Results are returned 25 items per page.
Response
Get product
string
required
The product’s ID (e.g.,
prod_abc123def456).Response
Create product
string
required
The product’s name. Whitespace is automatically trimmed. Cannot be blank.
Response
Validation errors
Name cannot be blank
Update product
string
required
The product’s ID (e.g.,
prod_abc123def456).string
The product’s name. Whitespace is automatically trimmed.
Response
Delete product
string
required
The product’s ID (e.g.,
prod_abc123def456).204 No Content on successful deletion.
Product features
Automatic name trimming
Product names automatically have leading and trailing whitespace removed during validation. This ensures consistent formatting and prevents issues with extra spaces.Associated prices
Products can have multiple associated prices for different pricing models (one-time payments, subscriptions, etc.). When a product is deleted, all associated prices are automatically removed.Name validation
Product names have the following validation rules:- Required: Every product must have a name.
- Trimmed: Leading and trailing whitespace is automatically removed.
- Flexible: Names can contain special characters, unicode, and emojis.
- No uniqueness constraint: Multiple products can have the same name within an account.
Pagination
By default, the API returns 25 products per page. Use thepage query parameter to navigate through pages.
Integration example
Sandbox support
The API respects sandbox scoping. If your API token is associated with a sandbox, you can only access products created in that sandbox. Product names can be duplicated across different accounts and sandboxes.