Documentation

setAttributes()

Auth: Browser SDK

Update unverified browser-side attributes (e.g. cart value, page context). For trusted data, use identify() or the REST API.

Body parameters

NameTypeDescription
attributesrequiredobjectKey-value pairs. Keys: [a-zA-Z0-9_]{1,40}. Max 50 keys, 8 KB total.