Przejdź do głównej zawartości

Interface: NewsletterResult

Properties

accepted

accepted: boolean

True when the request was accepted. False when it was rejected or failed.


error?

optional error?: StorefrontError

Transport-level failure (rate limit, bot protection, network, server error). Set only when the request never produced a verdict — mutually exclusive with a non-empty userErrors. Carries no user-facing copy: supply your own.


userErrors

userErrors: UserError[]

Address rejections carrying a stable code. Empty unless the address was rejected.