Poq.SDK.Node

Home > @poq/sdk > ProductClient > getById

ProductClient.getById() method

Method returns a specific product by id.

Signature:

getById(appIdentifier: string, currencyIdentifier: string, id: string): Promise<PoqResponse<Product>>;

Parameters

Parameter Type Description
appIdentifier string The unique guid v4 app identifier.
currencyIdentifier string The ISO currency code is the three-letter alphabetic code that represent the various currencies used throughout the world.
id string The unique product identifier.

Returns:

Promise<PoqResponse<Product>>

The specific product.