Loading

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

Veröffentlichungsdatum: Jul 2, 2026
Beschreibung

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.

Lösung

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.
Nummer des Knowledge-Artikels

005388356

 
Laden
Salesforce Help | Article