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.
| Input | Type | Description |
|---|---|---|
productIds | string array[] | Required. The collection of IDs of the product records to be fetched. |
| Output | Type | Description |
|---|---|---|
productList | Apex[] | The list of product records that are fetched for the provided IDs. |
isSuccess | boolean | Indicates whether the process to fetch product records was executed. |
errorCode | string | The code of the error if the action fails. |
errorMessage | string | The 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.