SAP Spartacus shipping address页面请求1 - Address

前三个CMS page请求可以忽略:


请求path:/occ/v2/electronics-spa/users/current/addresses?lang=en&curr=USD

current是user id.

响应结果:

{
   "type" : "userWsDTO",
   "name" : "Jerry Wang",
   "uid" : "[email protected]",
   "active" : false,
   "currency" : {
      "active" : true,
      "isocode" : "USD",
      "name" : "US Dollar",
      "symbol" : "$"
   },
   "customerId" : "38c6e026-4765-49b6-a8b9-bfa4b46ef059",
   "defaultAddress" : {
      "country" : {
         "isocode" : "CN"
      },
      "defaultAddress" : false,
      "firstName" : "Jerry",
      "formattedAddress" : "天府软件园, , Beijing, Yueyang, 610093",
      "id" : "8796483878935",
      "lastName" : "Wang",
      "line1" : "天府软件园",
      "line2" : "",
      "phone" : "13981888888",
      "postalCode" : "610093",
      "region" : {
         "isocode" : "CN-11"
      },
      "town" : "Yueyang"
   },
   "displayUid" : "[email protected]",
   "firstName" : "Jerry",
   "language" : {
      "active" : true,
      "isocode" : "en",
      "name" : "English",
      "nativeName" : "English"
   },
   "lastName" : "Wang",
   "selected" : false,
   "title" : "Mr.",
   "titleCode" : "mr"
}

发起的数据源在这行代码里:

你可能感兴趣的:(SAP Spartacus shipping address页面请求1 - Address)