Get Product
AI-generatedSummary
Retrieve product details from the PEAK API by specifying either a Product ID or Product Code, choosing the server environment (UAT or Production), and optionally overriding the client token for authorization.
Inputs
- Server Environment (required) — Select 'UAT' or 'Production' to choose which PEAK API server environment to query.
- Product ID — Specify the product's unique identifier to retrieve its details.
- Product Code — Specify the product's code to retrieve its details.
- Client Token (override) — Optionally provide a client token to override the stored credential token, useful for tokens that refresh frequently.
Output shape
a single JSON object containing success status, HTTP status code (200), product data from the PEAK API response, and request headers used for the call.
The operation returns an array with one item containing the JSON in its 'json' property. On failure, if 'Continue On Fail' is enabled, the error message is returned in the JSON with a paired item index; otherwise the node errors. The API request uses GET and includes HMAC authentication headers.