LoginRequest
Supports multiple custom parameters to invoke hooks in B2C Commerce API. Multiple custom parameters can be added. Use the `c_` prefix to distinguish custom query parameters from standard query parameters, for example: c_captcha=true If there is a validation error, a 400 Bad_Request with the details of the error is thrown.
Properties
| Name | Type | Description |
|---|---|---|
| client_id | string | SLAS client ID. Required when the grant type is `authorization_code_pkce`. |
| response_type | object | Must be `code`. Indicates that the client wants an authorization code (when the grant type is `authorization_code`). |
| redirect_uri | string | The URI to which the server redirects the browser after the user grants the authorization. The URI must be registered with the SLAS client. A variety of URI formats and wildcards for host are supporte |
| state | string | Value to be sent by the client to determine the state between the authorization request and the server response. Optional, but strongly recommended. |
| scope | string | Scopes to limit an application's access to a user's account. |
| usid | string | The unique shopper ID. |
| channel_id | string | The channel that the request is for. For a B2C Commerce request, this is angalous to the site ID. |
| code_challenge | string | PKCE code verifier. Created by the client calling the `login` endpoint. The `code_challenge` is created by SHA256 hashing the `code_verifier` and Base64 encoding the resulting hash. The `code_verifier |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/demandware/json-schema/demandware-login-request-schema.json",
"title": "LoginRequest",
"description": "Supports multiple custom parameters to invoke hooks in B2C Commerce API. Multiple custom parameters can be added. Use the `c_` prefix to distinguish custom query parameters from standard query parameters, for example: c_captcha=true\nIf there is a validation error, a 400 Bad_Request with the details of the error is thrown.",
"x-generated": "2026-11-25",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/demandware-auth-v1-openapi.yml#/components/schemas/LoginRequest",
"type": "object",
"required": [
"redirect_uri",
"channel_id"
],
"additionalProperties": {
"title": "Additional Property Support",
"description": "This type supports additional properties passed along with the defined properties of this API.\nTo indicate that the properties were defined and expected to be handled as additional properties, they are expected to be prefixed with a `c_`.\nThe type will reject any property that does not fit this pattern, only allowing additional properties beginning with the known prefix."
},
"properties": {
"client_id": {
"description": "SLAS client ID. Required when the grant type is `authorization_code_pkce`.",
"type": "string",
"maxLength": 40
},
"response_type": {
"description": "Must be `code`. Indicates that the client wants an authorization code (when the grant type is `authorization_code`).",
"allOf": [
{
"$ref": "#/$defs/ResponseType"
}
]
},
"redirect_uri": {
"description": "The URI to which the server redirects the browser after the user grants the authorization. The URI must be registered with the SLAS client. A variety of URI formats and wildcards for host are supported, but app links like airbnb:// or fb:// are not. Examples of supported URIs: \n\nExamples of supported URIs:\n - `http://localhost:3000/callback`\n - `https://example.com/callback`\n - `com.example.app:redirect_uri_path`\n - ` *.subdomain.topleveldomain.com`\n",
"maxLength": 256,
"type": "string"
},
"state": {
"description": "Value to be sent by the client to determine the state between the authorization request and the server response. Optional, but strongly recommended.",
"type": "string",
"maxLength": 512
},
"scope": {
"description": "Scopes to limit an application's access to a user's account.",
"type": "string",
"maxLength": 256
},
"usid": {
"description": "The unique shopper ID.",
"type": "string",
"maxLength": 128
},
"channel_id": {
"description": "The channel that the request is for. For a B2C Commerce request, this is angalous to the site ID.",
"type": "string",
"maxLength": 100
},
"code_challenge": {
"description": "PKCE code verifier. Created by the client calling the `login` endpoint.\n\nThe `code_challenge` is created by SHA256 hashing the `code_verifier` and Base64 encoding the resulting hash.\n\nThe `code_verifier` should be a high entropy cryptographically random string with a minimum of 43 characters and a maximum of 128 characters.\n\nThe `code_challenge` is optional when using a private client id for the token request.",
"type": "string",
"minLength": 43,
"maxLength": 128
}
},
"$defs": {
"ResponseType": {
"type": "string",
"description": "Response Type",
"enum": [
"code"
]
}
}
}
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.
Call it yourself
curl for this page
curl "https://apis.io/api/v1/json-schemas/demandware-login-request"
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.