Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

productsReturnRate(pageParam, pageSize)

Gets pages of data showing the return rates of products that are calculated by the Customer Data Platform. Return data is paginated in descending order.

API Version

59.0

Requires Chatter

No

Signature

public static ConnectApi.ProductReturnRateListOutputRepresentation productsReturnRate(Integer pageParam, Integer pageSize)

Parameters

page
Type: String
The page number for the list of products. Starts at 0.
products
Type: List )String)
A list of IDs to fetch details for.
pageSize
Type: List )Integer)
The number of products that are returned on each page.

Example

ConnectApi.ProductReturnRateListOutputRepresentation output = ConnectApi.OMSAnalytics.productsReturnRate(page, pageSize);