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

Endpoints.restoreCart() method

Restores cart.

Signature:

restoreCart(context: SapccIntegrationContext, props: RestoreCartProps): Promise<SaveCartResult>;

Parameters

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

Returns:

Promise<SaveCartResult>