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

Endpoints.replaceCartAddress() method

Sets a delivery address for the cart.

Signature:

replaceCartAddress(context: SapccIntegrationContext, props: ReplaceCartAddressProps): Promise<void>;

Parameters

Parameter Type Description
context SapccIntegrationContext An auto-generated value prepended to the method as a first parameter.
props ReplaceCartAddressProps An object containing required structure for replacing cart delivery address.

Returns:

Promise<void>