Home > @shopware-pwa/shopware-6-client > getAvailableShippingMethods
# getAvailableShippingMethods() function
Signature:
export declare function getAvailableShippingMethods(contextInstance?: ShopwareApiInstance, params?: {
onlyAvailable?: boolean;
}): Promise<EntityResult<"shipping_method", ShippingMethod[]>>;
# Parameters
Parameter | Type | Description |
---|---|---|
contextInstance | ShopwareApiInstance | |
params | { onlyAvailable?: boolean; } |
Returns:
Promise<EntityResult<"shipping_method", ShippingMethod[]>>
# Exceptions
ClientApiError