Home > @vue-storefront/magento-api > getAvailableCustomerShippingMethods
getAvailableCustomerShippingMethods() function
Retrive available shipping methods for current customer
Signature:
export default function getAvailableCustomerShippingMethods(context: Context, customQuery?: CustomQuery, customHeaders?: CustomHeaders): Promise<ApolloQueryResult<CustomerAvailableShippingMethodsQuery>>;
Parameters
| Parameter | Type | Description |
|---|---|---|
| context | Context | VSF Context |
| customQuery | CustomQuery | (Optional) (optional) - custom GraphQL query that extends the default one |
| customHeaders | CustomHeaders | (Optional) (optional) - custom headers that extends the default headers |
Returns:
Promise<ApolloQueryResult<CustomerAvailableShippingMethodsQuery>>