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

Endpoints.getCartDeliveryModes() method

Returns all delivery modes supported for the current base store and cart delivery address. A delivery address must be set for the cart, otherwise an empty list will be returned.

Signature:

getCartDeliveryModes(context: SapccIntegrationContext, props: GetCartDeliveryModesProps): Promise<DeliveryModeList>;

Parameters

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

Returns:

Promise<DeliveryModeList>