Home > @vsf-enterprise/sapcc-api > Endpoints > cloneCart

Endpoints.cloneCart() method

Clones cart.

Signature:

cloneCart(context: SapccIntegrationContext, props: SaveCartProps): Promise<SaveCartResult>;

Parameters

Parameter Type Description
context SapccIntegrationContext An auto-generated value prepended to the method as a first parameter.
props SaveCartProps An object which contains necessary properties for cloning the cart.

Returns:

Promise<SaveCartResult>