Home > @vue-storefront/magento-api > updateCustomer

updateCustomer variable

Updates the data of the current customer. To override the default query, use the updateCustomer query key.

Signature:

_default: (context: Context, input: CustomerUpdateInput, customQuery?: CustomQuery, customHeaders?: CustomHeaders) => Promise<FetchResult<UpdateCustomerMutation>>