Loading

How to Retrieve All Products Using Cursor-Based Pagination in Product List API

Дата публикации: Jul 2, 2026
Описание

When using the Product List API (/services/data/vXX.0/connect/cpq/products), the response returns a limited set of products per request. If the catalog contains more products than the response limit, a "PartialProductsList" warning is returned indicating not all results are included. This article explains how to use cursor-based pagination to retrieve the entire product list.

Решение

The Product List API supports cursor-based pagination to retrieve all products across multiple requests.

  1. Send the initial request with a reasonable limit value (e.g., 100-200). Avoid setting very high limits like 10000.

  2. In the response, look for the cursor value. This indicates there are more results available.

  3. Include the cursor value from the previous response in the next request to fetch the next set of results.

Important Notes:

  • Always use cursor pagination for catalogs with large product counts.
  • The cursor approach is the standard and recommended pattern for handling large datasets with this API.
Дополнительные ресурсы

Revenue Cloud Product Search API Documentation

Номер статьи базы знаний

005388356

 
Загрузка
Salesforce Help | Article