# Smootify.setCustomerMetafields()

> The setCustomerMetafields method of window.Smootify.

Status: Ready (Smootify 2.0)  
URL: https://www.smootify.io/docs/reference/api/methods/setcustomermetafields  
Updated: 2026-10-13

Since 1.x.

```ts
setCustomerMetafields( ...metafields: { key: string; namespace?: string; ownerId?: string; type?: string; value: string }[] ): Promise<unknown>
```
