Customer/Credit Card

Verify the Validity of the Password Setting Link

post

version=0.0.1 bizType=customer.app.CustomerWebApiService.checkToken Accessible to guests

Header parameters
versionstringRequired

Version Number

Example: 0.0.1
companyIdstringRequired

Company ID, obtained through environment variables

Example: {{company}}
tracestringRequired

Random Tracking Code UUID

Example: {{mock_trace}}
tokenstringRequired

Login Token

Example: {{LoginResult.data.token}}
langstringRequired

Language

Example: zh-CN
Body
companyIdinteger · longRequired

Environment variable configuration

checkTokenstring | nullableOptional

Token Information on the Email Link

Responses
200Success
application/json
post
/global/customer.app.CustomerWebApiService.checkToken
POST /api/global/customer.app.CustomerWebApiService.checkToken HTTP/1.1
Host: prewppc-3.cmfbl.com
version: text
companyId: text
trace: text
token: text
lang: text
Content-Type: application/json
Accept: */*
Content-Length: 213

{
  "companyId": 72,
  "country": "w",
  "customerId": 11,
  "customerNo": "86009002",
  "ip": "::1",
  "lang": "zh-CN",
  "trace": "ryder_test",
  "cardId": 1614830250530730000,
  "smsSendToken": "incididunt eiusmod nulla voluptate",
  "smsCode": "16"
}
200Success
{
  "msgParams": "dolore ad et",
  "tm": 99,
  "bizCode": "8",
  "code": "99",
  "msg": "pariatur",
  "ok": true,
  "data": {},
  "fail": true,
  "trace": "nisi eu pariatur"
}

Set password, verify phone number

post

version=0.0.1 bizType=customer.app.CustomerWebApiService.checkPhone Guest access

Header parameters
versionstringRequired

Version Number

Example: 0.0.1
companyIdstringRequired

Company ID, obtained through environment variables

Example: {{company}}
tracestringRequired

Random Tracking Code UUID

Example: {{mock_trace}}
tokenstringRequired

Login Token

Example: {{LoginResult.data.token}}
langstringRequired

Language

Example: zh-CN
Body
checkTokenstringRequired

Token Information on the Email Link

phonestringRequired
phoneAreastringRequired
smsVerifyCodestringRequired
smsSendTokenstringRequired
Responses
200Success
application/json
post
/global/customer.app.CustomerWebApiService.checkPhone
POST /api/global/customer.app.CustomerWebApiService.checkPhone HTTP/1.1
Host: prewppc-3.cmfbl.com
version: text
companyId: text
trace: text
token: text
lang: text
Content-Type: application/json
Accept: */*
Content-Length: 213

{
  "companyId": 72,
  "country": "w",
  "customerId": 11,
  "customerNo": "86009002",
  "ip": "::1",
  "lang": "zh-CN",
  "trace": "ryder_test",
  "cardId": 1614830250530730000,
  "smsSendToken": "incididunt eiusmod nulla voluptate",
  "smsCode": "16"
}
200Success
{
  "msgParams": "dolore ad et",
  "tm": 99,
  "bizCode": "8",
  "code": "99",
  "msg": "pariatur",
  "ok": true,
  "data": {},
  "fail": true,
  "trace": "nisi eu pariatur"
}

Forgot password, verify phone number

post

version=0.0.1 bizType=customer.app.CustomerWebApiService.checkPhoneForRetriedLoginPwd Accessible for guests

Header parameters
versionstringRequired

Version Number

Example: 0.0.1
companyIdstringRequired

Company ID, obtained through environment variables

Example: {{company}}
tracestringRequired

Random Tracking Code UUID

Example: {{mock_trace}}
tokenstringRequired

Login Token

Example: {{LoginResult.data.token}}
langstringRequired

Language

Example: zh-CN
Body
phonestringRequired
phoneAreastringRequired
smsVerifyCodestringRequired
smsSendTokenstringRequired
Responses
200Success
application/json
post
/global/customer.app.CustomerWebApiService.checkPhoneForRetriedLoginPwd
POST /api/global/customer.app.CustomerWebApiService.checkPhoneForRetriedLoginPwd HTTP/1.1
Host: prewppc-3.cmfbl.com
version: text
companyId: text
trace: text
token: text
lang: text
Content-Type: application/json
Accept: */*
Content-Length: 94

{
  "phone": "13512331033",
  "phoneArea": "18163849750",
  "smsVerifyCode": "51",
  "smsSendToken": "cillum"
}
200Success
{
  "msgParams": "dolore ad et",
  "tm": 99,
  "bizCode": "8",
  "code": "99",
  "msg": "pariatur",
  "ok": true,
  "data": {},
  "fail": true,
  "trace": "nisi eu pariatur"
}

Retrieve password

post

version=0.0.1 bizType=customer.app.CustomerWebApiService.retrieveLoginPwd Accessible to guests

Header parameters
versionstringRequired

Version Number

Example: 0.0.1
companyIdstringRequired

Company ID, obtained through environment variables

Example: {{company}}
tracestringRequired

Random Tracking Code UUID

Example: {{mock_trace}}
langstringRequired

Language

Example: zh-CN
Body
newPwdstring · min: 6 · max: 50Required
validTokenstringRequired

Generate token in the previous step

Responses
200Success
application/json
post
/global/customer.app.CustomerWebApiService.retrieveLoginPwd
POST /api/global/customer.app.CustomerWebApiService.retrieveLoginPwd HTTP/1.1
Host: prewppc-3.cmfbl.com
version: text
companyId: text
trace: text
lang: text
Content-Type: application/json
Accept: */*
Content-Length: 213

{
  "companyId": 72,
  "country": "w",
  "customerId": 11,
  "customerNo": "86009002",
  "ip": "::1",
  "lang": "zh-CN",
  "trace": "ryder_test",
  "cardId": 1614830250530730000,
  "smsSendToken": "incididunt eiusmod nulla voluptate",
  "smsCode": "16"
}
200Success
{
  "msgParams": "dolore ad et",
  "tm": 99,
  "bizCode": "8",
  "code": "99",
  "msg": "pariatur",
  "ok": true,
  "data": {},
  "fail": true,
  "trace": "nisi eu pariatur"
}

Set password for the first time

post

version=0.0.1 bizType=customer.app.CustomerWebApiService.firstSetLoginPwd Guests can access, automatically log in after successful setting

Header parameters
versionstringRequired

Version Number

Example: 0.0.1
companyIdstringRequired

Company ID, obtained through environment variables

Example: {{company}}
tracestringRequired

Random Tracking Code UUID

Example: {{mock_trace}}
tokenstringRequired

Login Token

Example: {{LoginResult.data.token}}
langstringRequired

Language

Example: zh-CN
Body
newPwdstring · min: 6 · max: 50Required
deviceintegerRequired

Login Device: 1=Mobile Web: H5, 2=PC Web: PC_Web, 3=System & Backend Registration: System, 4=Android Native App: Android, 5=iOS Native App: iOS, 6=HarmonyOS: HOS, 7=PC Windows Client: PC_Win, 8=PC Mac Client: PC_Mac, 9=Others

validTokenstringOptional

Generate token in the previous step

Responses
200Success
application/json
post
/global/customer.app.CustomerWebApiService.firstSetLoginPwd
POST /api/global/customer.app.CustomerWebApiService.firstSetLoginPwd HTTP/1.1
Host: prewppc-3.cmfbl.com
version: text
companyId: text
trace: text
token: text
lang: text
Content-Type: application/json
Accept: */*
Content-Length: 213

{
  "companyId": 72,
  "country": "w",
  "customerId": 11,
  "customerNo": "86009002",
  "ip": "::1",
  "lang": "zh-CN",
  "trace": "ryder_test",
  "cardId": 1614830250530730000,
  "smsSendToken": "incididunt eiusmod nulla voluptate",
  "smsCode": "16"
}
200Success
{
  "data": {
    "id": 61,
    "thirdServerCode": "48",
    "token": "velit eiusmod",
    "companyId": 67,
    "relationCustomerId": 6,
    "country": "commodo ex culpa ea",
    "associationCompanyId": 19,
    "source": "sit velit tempor et enim",
    "companyType": "eiusmod",
    "customerNo": "cillum tempor sed aute aliquip",
    "customerGroupId": 67
  },
  "fail": true,
  "code": "54",
  "bizCode": "23",
  "msg": "tempor incididunt eu laborum",
  "msgParams": "quis",
  "ok": false,
  "trace": "cillum",
  "tm": 29
}

Last updated