Newer Version Available

This content describes an older version of this product. View Latest

VPL360_ExtractAccountForUser

This Integration Procedure fetches the account address, payment method, case details and user details for the specified user.

Sample Input

1{
2	"userId": "0054W00000CRwmKQAT"
3}

Parameter

Required/Optional

UserId

Required

Sample Output

1{
2  "Account": {
3    "shipping": {
4      "street": "3493,County Road 4100,Montgomery County",
5      "state": "Kansas",
6      "postalCode": "67301",
7      "country": "United States",
8      "city": "Independence"
9    },
10    "billing": {
11      "street": "224,South 16th Street,Montgomery County",
12      "state": "Kansas",
13      "postalCode": "67301",
14      "country": "United States",
15      "city": "Independence"
16    },
17    "phone": "+1-515-516-0624"
18  },
19  "Payment": [
20    {
21      "PaymentId": "a3Q4W000000gXzSUAU"
22    }
23  ],
24  "Case": [
25    {
26      "Subject": "Problem with device",
27      "Status": "New",
28      "CreatedDate": "2020-11-11T14:38:37.000Z",
29      "CaseReason": "Wrong set-up",
30      "CaseNumber": "00001030"
31    }
32  ],
33  "User": {
34    "lastName": "Smith",
35    "firstName": "John",
36    "email": "johnsmith@example.com",
37    "Id": "0054W00000CRxFqQAL",
38    "ContactId": "0034W00002IRPRSQA5",
39    "AccountId": "0014W00002AFIFRQA5"
40  }
41}

Called By

  • Flows:

    • Web Shop: Post user registration

    • Self Care: Self care landing page

  • Components:

    • LWC: vplS360AccountSignup.js

    • LWC: vplS360SelfCareAccountDetails.js

    • LWC: vplS360SelfCareConfirmOtc.js

Calls

  • Data Mapper: FetchAccountMasterDetails