Home > @vsf-enterprise/sap-commerce-webservices-sdk > SaveCartApi

SaveCartApi class

SaveCartApi - object-oriented interface SaveCartApi {BaseAPI}

Signature:

export declare class SaveCartApi extends BaseAPI 

Extends: BaseAPI

Methods

Method Modifiers Description
doCartClone(baseSiteId, cartId, userId, description, fields, name, options) Explicitly clones a cart. Explicitly clones a cart.
doSaveCart(baseSiteId, cartId, userId, fields, saveCartDescription, saveCartName, options) Explicitly saves a cart. Explicitly saves a cart.
doUpdateFlagForDeletion(baseSiteId, cartId, userId, fields, options) Flags a cart for deletion (the cart doesn't have corresponding save cart attributes anymore). The cart is not actually deleted from the database. But with the removal of the saved cart attributes, this cart will be taken care of by the cart removal job just like any other cart. Flag a cart for deletion.
doUpdateSavedCart(baseSiteId, cartId, userId, fields, options) Restore a saved cart. Restore a saved cart.
getSavedCart(baseSiteId, cartId, userId, fields, options) Returns a saved cart for an authenticated user. The cart is identified using the "cartId" parameter. Get a saved cart.