Poq.SDK.Node

Home > @poq/sdk-sfcc > ICartContractMigrator > generateSfccProductItem

ICartContractMigrator.generateSfccProductItem() method

Method transform cart request into product item.

Signature:

generateSfccProductItem(appIdentifier: any, addToCartParam: AddToCartRequest): Promise<ProductItem>;

Parameters

Parameter Type Description
appIdentifier any The unique guid v4 app identifier.
addToCartParam AddToCartRequest Cart params.

Returns:

Promise<ProductItem>

Transformed product item.