You are reading the documentation for Vue Storefront v2. See the latest docs.

Home > @vue-storefront/core > UseUserShippingFactoryParams > setDefaultAddress

UseUserShippingFactoryParams.setDefaultAddress property

Signature:

setDefaultAddress: (context: Context, params: {
        address: Readonly<USER_SHIPPING_ITEM>;
        shipping: Readonly<USER_SHIPPING>;
        customQuery?: CustomQuery;
    }) => Promise<USER_SHIPPING>;