Loading

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

Date de publication: Jul 2, 2026
Description

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.

Résolution

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.
Numéro d’article de la base de connaissances

005388356

 
Chargement
Salesforce Help | Article