Home > @poq/sdk-sfcc > ICartContractMigrator > generateSfccProductItem
Method transform cart request into product item.
Signature:
generateSfccProductItem(appIdentifier: any, addToCartParam: AddToCartRequest): Promise<ProductItem>;
Parameter | Type | Description |
---|---|---|
appIdentifier | any | The unique guid v4 app identifier. |
addToCartParam | AddToCartRequest | Cart params. |
Returns:
Promise<ProductItem>
Transformed product item.