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

Endpoints.replaceCartDeliveryMode() method

Assigns the delivery mode with a given identifier for the cart.

Signature:

replaceCartDeliveryMode(context: SapccIntegrationContext, props: ReplaceCartDeliveryModeProps): Promise<void>;

Parameters

Parameter Type Description
context SapccIntegrationContext An auto-generated value prepended to the method as a first parameter.
props ReplaceCartDeliveryModeProps An object containing necessary props for setting cart delivery options.

Returns:

Promise<void>