Update metafield on customer model from checkout ui extension

I’m trying to add a metafield to the customer model from a checkout ui extension. It currently only adds metafiields to the order model.

How can I achieve this.

Thanks.

Hi Turbofan1178,

There is a useCustomer react hook, so you may be able to use this alongside the useApplyMetafieldsChange() function to achieve what you’re looking for.

Hope this helps!