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.
Knowledge 기사 번호

005388356

 
로드 중
Salesforce Help | Article