Demandware · Schema

PasswordlessLoginRequest

A request for a passwordless login token. This is only available for registered users using B2C Commerce.

CompanyCommerceE-CommerceRetailCommerce CloudStorefrontShopperCatalogOrderSoftware-as-a-ServiceSalesforce

Properties

Name Type Description
user_id string User ID for logging in.
mode string Password Action delivery modes
locale string The locale of the template. Required when the mode is `email` or `sms`.
usid string The shopper's unique identifier, if known. If not provided, a new USID is generated.
channel_id string The channel (B2C Commerce site) that the user is associated with.
callback_uri string The callback URI. Required when the mode is `callback`. The `callback_uri` property will be validated against the callback URIs that have been registered with the SLAS client. The callback URI _must_
last_name string The user's last name. Required when `register_customer` is `true`. The `last_name` parameter is not used when `register_customer` parameter is not added or is `false`.
email string The user's email address. Required when `register_customer` is `true` and `user_id` is not an email address. The `email` parameter is not used when `register_customer` parameter is not added or is `fa
first_name string The user's first name. Optional when `register_customer` is `true`. The `first_name` parameter is not used when `register_customer` parameter is not added or is `false`.
phone_number string The user's phone number. Optional when `register_customer` is `true`. The `phone_number` parameter is not used when `register_customer` parameter is not added or is `false`.
customer_no string The customer number assigned to the shopper profile when `register_customer` is set to `true`. If the `customer_no` already exists, the request fails. The `customer_no` parameter is optional and only
View JSON Schema on GitHub

JSON Schema

demandware-passwordless-login-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/demandware/json-schema/demandware-passwordless-login-request-schema.json",
  "title": "PasswordlessLoginRequest",
  "description": "A request for a passwordless login token. This is only available for registered users using B2C Commerce.",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/demandware-auth-v1-openapi.yml#/components/schemas/PasswordlessLoginRequest",
  "required": [
    "channel_id",
    "mode",
    "user_id"
  ],
  "type": "object",
  "properties": {
    "user_id": {
      "maxLength": 128,
      "type": "string",
      "description": "User ID for logging in."
    },
    "mode": {
      "type": "string",
      "description": "Password Action delivery modes",
      "enum": [
        "callback",
        "sms",
        "email"
      ]
    },
    "locale": {
      "type": "string",
      "description": "The locale of the template. Required when the mode is `email` or `sms`."
    },
    "usid": {
      "type": "string",
      "description": "The shopper's unique identifier, if known. If not provided, a new USID is generated."
    },
    "channel_id": {
      "maxLength": 100,
      "type": "string",
      "description": "The channel (B2C Commerce site) that the user is associated with."
    },
    "callback_uri": {
      "type": "string",
      "description": "The callback URI. Required when the mode is `callback`. The `callback_uri` property will be validated against the callback URIs that have been registered with the SLAS client. The callback URI _must_ be a `POST` endpoint because the token will be included in the body.\n\nWildcards are not allowed in the callback_uri because this is a security risk that can expose the token. This is not considered an OAuth2 callback_url."
    },
    "last_name": {
      "maxLength": 100,
      "type": "string",
      "description": "The user's last name. Required when `register_customer` is `true`. \nThe `last_name` parameter is not used when `register_customer` parameter is not added or is `false`."
    },
    "email": {
      "maxLength": 128,
      "type": "string",
      "description": "The user's email address. Required when `register_customer` is `true` and `user_id` is not an email address. \nThe `email` parameter is not used when `register_customer` parameter is not added or is `false`."
    },
    "first_name": {
      "maxLength": 100,
      "type": "string",
      "description": "The user's first name. Optional when `register_customer` is `true`. \nThe `first_name` parameter is not used when `register_customer` parameter is not added or is `false`."
    },
    "phone_number": {
      "maxLength": 48,
      "type": "string",
      "description": "The user's phone number. Optional when `register_customer` is `true`. \nThe `phone_number` parameter is not used when `register_customer` parameter is not added or is `false`."
    },
    "customer_no": {
      "maxLength": 100,
      "type": "string",
      "description": "The customer number assigned to the shopper profile when `register_customer` is set to `true`. \nIf the `customer_no` already exists, the request fails. \nThe `customer_no` parameter is optional and only used when `register_customer` is set to `true`."
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/demandware-passwordless-login-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.