Poq.SDK.Node

Home > @poq/sdk-sfcc > ICartTransferService > transferCartToSfcc

ICartTransferService.transferCartToSfcc() method

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>>;

Parameters

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>>

Cart transfer response.

Remarks

This method does not perform authentication. It is suitable for use only with valid JWT