Home > @poq/sdk-sfcc > ICartTransferService > transferCartToSfcc
Transfers items from provided cartTransferRequest object to SfccBasket. Basket is created with provided token.
Signature:
transferCartToSfcc(authInfo: AuthInfo, cartTransferPayload: CartTransferRequest, isRegisteredUser: boolean): Promise<PoqResponse<CartTransferResponse>>;
Parameter | Type | Description |
---|---|---|
authInfo | AuthInfo | Auth information required to complete the request. |
cartTransferPayload | CartTransferRequest | Cart transfer data. |
isRegisteredUser | boolean | Guest users baskets require extra handling. |
Returns:
Promise<PoqResponse<CartTransferResponse>>
This method does not perform authentication. It is suitable for use only with valid JWT