Poq.SDK.Node

Home > @poq/sdk > IProductClient

IProductClient interface

IProductClient can be helpful in cases when user wants to get single product item by id or collection of products by unique identifiers such as: product ids, listing ids or variant ids.

Signature:

export interface IProductClient 

Methods

Method Description
getById(appIdentifier, currencyIdentifier, id) Method returns a specific product by id.
getByIds(appIdentifier, currencyIdentifier, ids) Method returns list of products specified by list of ids.
getByListingIds(appIdentifier, currencyIdentifier, listingIds) Method returns list of products specified by list of listing ids.
getByVariantIds(appIdentifier, currencyIdentifier, variantIds) Method returns list of products specified by list of variant ids.