Register a storefront customer account

Starts account creation for an email address. Send `email` and an optional `locale` for the activation email. Returns 200 `{ ok: true }` whether or not the address is registered, and 422 for an invalid `email`. An address with no account yet receives an activation link, valid for 24 hours, unless the store changed that customer's email in the last 72 hours. A repeat call sends no new link while the previous one is still valid. The buyer completes the account with `POST /customers/activation/confirm`, which collects the password, terms acceptance, profile and marketing consent. > **Note:** Available only on sites with e-commerce enabled.

Required access
Send
  • Publishable keyX-Lynkow-Pk
Site access
POST/customers/register
Base URLhttps://api.lynkow.com/storefront/{siteId}

Request body
required

  • email
    string
    required

    Required. Valid email address

  • _hp
    string

    Spam-trap field that must remain empty when the site uses honeypot protection.

  • _ts
    integer

    Form-load Unix timestamp in milliseconds when the site uses honeypot protection.

  • locale
    string

    Language of the activation email, never rejected; the site default when omitted. Not stored: send `locale` again at activation. Unsupported email languages fall back to the base language (`pt-BR` to `pt`), then English.

  • recaptchaToken
    string

    Verification token, required when the site uses CAPTCHA. A v3 token needs this operation's action.

Feedback

Was this page helpful?