Home > @poq/sdk-sfcc > IProductsClient
Signature:
export interface IProductsClient
| Method | Description |
|---|---|
| getProductsByID(id, expand, inventoryIds, currency, locale, allImages, options) | To access single products resource, you construct a URL using the template shown below. This template requires you to specify an Id (typically a SKU) for a product. In response, the server returns a corresponding Product document, provided the product is online and assigned to site catalog. The document contains variation attributes (including values) and the variant matrix; this data is provided for both the master and for the variant. |
| getProductsByIDAvailability(id, inventoryIds, locale, options) | Access product availability information of products that are online and assigned to site catalog. |
| getProductsByIDBundledProducts(id, locale, options) | Access bundled product information of products that are online and assigned to site catalog. |
| getProductsByIDImages(id, viewType, allImages, variationAttribute, locale, options) | Access product image information of products that are online and assigned to site catalog. Filter the result by view type and variation values. |
| getProductsByIDLinks(id, type, direction, locale, options) | Access product link information of products that are online and assigned to site catalog. Filter the result by link type and link direction. |
| getProductsByIDOptions(id, locale, options) | Access product option information of products that are online and assigned to site catalog. |
| getProductsByIDPrices(id, locale, options) | Access product price information of products that are online and assigned to site catalog. |
| getProductsByIDPromotions(id, currency, locale, options) | Access product promotion information of products that are online and assigned to site catalog. |
| getProductsByIDRecommendations(id, recommendationType, locale, options) | Access product recommendation information of products that are online and assigned to site catalog. |
| getProductsByIDs(ids, expand, inventoryIds, currency, locale, allImages, options) | |
| getProductsByIDSetProducts(id, locale, options) | Access product set information of products that are online and assigned to site catalog. |
| getProductsByIDShippingMethods(id, options) | Retrieves the applicable shipping methods for a certain product. |
| getProductsByIDVariations(id, locale, options) | Access product variation information of products that are online and assigned to site catalog. |