Home > @poq/sdk-sfcc > CartContractMigrator > generateSfccProductItem
Method transform cart request into product item.
Signature:
generateSfccProductItem(_appIdentifier: string, addToCartParam: AddToCartRequest): Promise<SfccProductItem>;
Parameter | Type | Description |
---|---|---|
_appIdentifier | string | |
addToCartParam | AddToCartRequest | Cart params. |
Returns:
Promise<SfccProductItem>
Transformed product item.