v1

latestOpenAPI 3.0.12026-07-26381328555.2 KB
CustomerAccount

Add Login To Existing Customer

Creates a login for an existing customer and logs them in automatically.

post/commerce/customer/accounts/{accountId}/Create-Login

Path parameters

accountIdinteger required

Query parameters

responseFieldsstring

limits which fields are returned in the response body

Request body

authTicketTtlMinutesinteger nullable

Optional requested duration for the authentication ticket in minutes. Must not exceed tenant configuration or platform hard caps. Requires 'customer-auth:configure-token-durations' behavior.

emailAddressstring nullable
externalPasswordstring nullable
fingerprintstring nullable

Specifies the fingerprint of the user for two-factor authentication.

isImportboolean nullable
passwordstring nullable
refreshTokenTtlMinutesinteger nullable

Optional requested duration for the refresh token in minutes. Must not exceed tenant configuration or platform hard caps. Requires 'customer-auth:configure-token-durations' behavior.

regionstring nullable

Specifies the region of the user for two-factor authentication.

usernamestring nullable

Response

OK

accessTokenstring nullable
accessTokenExpirationstring date-time
jwtAccessTokenstring nullable
refreshTokenstring nullable
refreshTokenExpirationstring date-time
requires2FAboolean
userIdstring nullable