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

Endpoints.saveCart() method

Saves cart.

Signature:

saveCart(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 saving the cart.

Returns:

Promise<SaveCartResult>