Home > @poq/sdk-sfcc > ICartTransferService
Service helps to transfer items from cart transfer request to sfcc basket.
Signature:
export interface ICartTransferService
Method | Description |
---|---|
transferCartToSfcc(authInfo, authRequest, cartTransferPayload) | Transfers items from provided cartTransferRequest object to SfccBasket. Basket is created for authenticated or guest user based on parameter authRequest. |
transferCartToSfcc(authInfo, cartTransferPayload, isRegisteredUser) | Transfers items from provided cartTransferRequest object to SfccBasket. Basket is created with provided token. |