List all products
Returns a paginated list of your products, newest first, including archived products.
/v1/products/Authorization
api_key_auth API key authentication. Use "Bearer YOUR_API_KEY" format.
In: header
Query Parameters
The number of results per page. Minimum value is 1 and maximum is 100. Defaults to 20.
A cursor value specifying the id of a resource to start before. Retrieves items that appear after this cursor in the list. Cannot be used together with ending_before.
^[0-9a-fA-F]{24}$
A cursor value specifying the id of a resource to end after. Retrieves items that appear before this cursor in the list. Cannot be used together with starting_after.
^[0-9a-fA-F]{24}$
Case-insensitive contains match against the product title and SKU.
1 to 200 characters
Returns
Products retrieved successfully
- idstring
Unique identifier for the product.
- titlestring
Product title.
- description?string, nullable
Product description as rendered HTML.
- shortDescription?string, nullable
Plain-text one-liner, shown where the full description is too long.
- callToActionText?string, nullable
Accept copy shown on an order-bump card, e.g. "Yes! Add gift wrapping".
- headingText?string, nullable
Heading shown above an order-bump card, e.g. "Special one time offer".
Short list of what the customer gets, shown on an order-bump card above the description.
- calloutText?string, nullable
Call out box shown on an order-bump card under the description. Sanitised HTML: links and inline emphasis only.
- calloutIcon?string, nullable
Icon leading the call out box on an order-bump card.
starsparklesfireboltrockettrophycheckx-mark - sku?string, nullable
Stock keeping unit.
Prices configured for this product. Disabled prices are filtered from customer-facing reads.
- defaultPriceId?string, nullable
The price pre-selected at checkout: the saved default while it is enabled, or the only enabled price. Null when the product has several prices and no default, so the buyer chooses one.
Price-picker presentation config.
- taxBehavior?string, nullable
Tax calculation behavior.
inclusiveexclusiveautomatic - taxCode?string, nullable
Stripe tax code.
- fixedTaxRateIds?string[], nullable
List of Tax Rate IDs applied to this product. Empty when tax mode is "none" or "stripe", or when "fixed" with no rate configured.
max 1 items
Product main image and gallery.
- fileIds?string[], nullable
List of file ids attached to this product.
Product variants and options.
Bulk discounts configured for the product.
- generateLicenseKeys?boolean, nullable
Whether license keys are generated for purchases of this product.
Duplicate-subscription prevention settings for this product.
Duplicate-payment prevention settings for this product. Applies to one-time payments only.
- enableFileAccessForInactiveSubscriptions?boolean, nullable
Whether customers with inactive subscriptions can still access file downloads.
- variantsRequired?boolean, nullable
Whether variant selection is required.
- stock?number, nullable
Available stock quantity.
- hasUnlimitedStock?boolean, nullable
Whether stock is unlimited.
- createdAtstring
When the product was created.
- updatedAtstring
When the product was last updated.
- idstring
- has_moreboolean
- totalnumber
Bad request - Invalid request parameters
- statusstring
Indicates the request failed.
error - typestring
Machine-readable error category.
- messagestring
Human-readable error message.
Optional validation details for invalid requests.
Unauthorized - Missing or invalid API key
- statusstring
Indicates the request failed.
error - typestring
Machine-readable error category.
- messagestring
Human-readable error message.
Optional validation details for invalid requests.
Forbidden - Insufficient permissions or validation error
- statusstring
Indicates the request failed.
error - typestring
Machine-readable error category.
- messagestring
Human-readable error message.
Optional validation details for invalid requests.
Rate Limit Exceeded - Please try again later.
- messagestring
Human-readable error message.
Internal server error
- statusstring
Indicates the request failed.
error - typestring
Machine-readable error category.
- messagestring
Human-readable error message.
Optional validation details for invalid requests.
import { createCheckoutPageClient } from '@checkoutpage/sdk';const checkoutpage = createCheckoutPageClient({ apiKey: process.env.CHECKOUTPAGE_API_KEY!,});const response = await checkoutpage.products.list();{
"data": [
{
"id": "507f1f77bcf86cd799439011",
"title": "Premium Course",
"description": "string",
"shortDescription": "string",
"callToActionText": "string",
"headingText": "string",
"features": [
{
"text": "string",
"icon": "star"
}
],
"calloutText": "string",
"calloutIcon": "star",
"sku": "string",
"prices": [
{
"amount": 4900,
"currency": "usd",
"payWhatYouWant": true,
"discountedFromPrice": 0,
"setupFee": 0,
"setupFeeMultipliesWithQuantity": true,
"recurring": {
"interval": "month",
"intervalCount": 1,
"trialPeriodDays": 0,
"billingCycleAnchorConfig": {
"enabled": true,
"dayOfMonth": 1,
"month": 1
},
"startDate": "2026-02-25T06:40:09.463Z"
},
"paymentPlan": {
"interval": "month",
"intervalCount": 1,
"trialPeriodDays": 0,
"billingCycleAnchorConfig": {
"enabled": true,
"dayOfMonth": 1,
"month": 1
},
"startDate": "2026-02-25T06:40:09.463Z",
"planIterations": 0
},
"id": "507f1f77bcf86cd799439011",
"label": "string",
"description": "string",
"badge": "string",
"badgeIcon": "star",
"reference": "string",
"order": 0,
"enabled": true,
"hidden": true,
"isDefault": true,
"billingType": "one_time",
"pwywSuggestedPrice": 0
}
],
"defaultPriceId": "string",
"pricePicker": {
"title": "string",
"description": "string",
"shortenDescription": true,
"priceDisplayLabels": {
"property1": {
"property1": "string",
"property2": "string"
},
"property2": {
"property1": "string",
"property2": "string"
}
},
"priceDisplayDefaults": {
"property1": "string",
"property2": "string"
},
"priceDisplayTabOrder": {
"property1": [
"string"
],
"property2": [
"string"
]
}
},
"taxBehavior": "exclusive",
"taxCode": "string",
"fixedTaxRateIds": [
"string"
],
"media": [
{
"fileId": "507f1f77bcf86cd799439011",
"url": "https://bucket-name.s3.amazonaws.com/image.jpg",
"name": "product-image.jpg",
"size": 245678,
"width": 1920,
"height": 1080
}
],
"fileIds": [
"507f1f77bcf86cd799439011"
],
"variants": [
{
"id": "507f1f77bcf86cd799439011",
"name": "Plan Type",
"required": true,
"status": "enabled",
"options": [
{
"id": "507f1f77bcf86cd799439011",
"name": "Basic",
"status": "enabled",
"description": "string",
"image": {
"fileId": "507f1f77bcf86cd799439011",
"url": "https://cdn.example.com/image.png",
"name": "product-image.png",
"width": 0,
"height": 0,
"size": 0
},
"additionalChargeAmount": 1000,
"sku": "string",
"stock": 0,
"type": "one_time",
"payWhatYouWant": false,
"pwywSuggestedPrice": 2500,
"fileIds": [
"65f4a1c2e4a9f3d2b1c0a9e8"
]
}
],
"order": 0,
"reference": "fd3136f8-da1f-4a4c-b381-32a097b60c38",
"selectionType": "single",
"increasesWithQuantity": true,
"useVariantOptionSkus": true,
"manageVariantOptionStock": true,
"priceIds": [
"string"
],
"hidden": true,
"preselect": {
"enabled": true,
"optionId": "pro-option",
"quantity": 1
},
"showHideLogic": {
"enabled": true,
"comparison": "is",
"value": "pro-option",
"element": {
"elementId": "select-package-tier"
}
},
"layout": {
"variantOptionLayout": "list",
"collapseVariantOptions": false,
"variantOptionColumns": 2,
"showVariantName": true,
"showVariantOptionNames": true,
"showVariantOptionPrices": true,
"showVariantOptionPriceSign": true,
"showPwywPlaceholder": true,
"textAlign": "left",
"spacing": "comfortable",
"imageSize": "small"
}
}
],
"discounts": [
{
"quantityCondition": "checkout_quantity",
"variantOptionIds": [
"507f1f77bcf86cd799439011"
],
"minQuantity": 5,
"maxQuantity": 10,
"percentOff": 10,
"amountOff": 500
}
],
"generateLicenseKeys": true,
"limitSubscriptions": {
"enabled": true,
"limitSubscriptionsStripe": {
"enabled": true
}
},
"limitPayments": {
"enabled": true,
"enabledAt": "string"
},
"enableFileAccessForInactiveSubscriptions": true,
"variantsRequired": true,
"stock": 0,
"hasUnlimitedStock": true,
"createdAt": "2024-01-15T10:30:00.000Z",
"updatedAt": "2024-01-15T10:30:00.000Z"
}
],
"has_more": true,
"total": 0
}{
"status": "error",
"type": "ValidationError",
"message": "Bad request - Invalid body: Field 'email' must be a valid email address",
"errors": [
{
"param": "email",
"message": "must be a valid email address"
}
]
}{
"status": "error",
"type": "error",
"message": "Missing or invalid API key"
}{
"status": "error",
"type": "error",
"message": "Insufficient permissions requires: BOOKINGS_WRITE"
}{
"message": "API key rate limit exceeded. Please try again later."
}{
"status": "error",
"type": "error",
"message": "Internal server error"
}