Get Product Records By Product IDs Action

Fetch a list of product records based on a provided list of product IDs.

This action is available in API version 68.0 and later.

To access this action, ensure that you have the Media Cloud Base user permission set enabled.

URI: /services/data/v68.0/actions/standard/getProdtRecByProdtIds

Formats: JSON, XML

HTTP Methods: POST

Authentication: Authorization: Bearer TOKEN

Where TOKEN is a variable.

InputTypeDescription
productIdsstring array[]Required.
The collection of IDs of the product records to be fetched.
OutputTypeDescription
productListApex[]The list of product records that are fetched for the provided IDs.
isSuccessbooleanIndicates whether the process to fetch product records was executed.
errorCodestringThe code of the error if the action fails.
errorMessagestringThe error message if the action fails.
POST

This sample request is for the Get Product Records By Product IDs action.

This sample response is for the Get Product Records By Product IDs action.