CyberStore Visitor Web Service
MethodGetAccountProfile
CyberStore Visitor Web Service > All Operations Resource Group : GetAccountProfile (Method)
Description
Get the current shopper's account profile data. Introduced in 2.19.4.
Request (GetAccountProfileSoapIn)

The request body is of type GetAccountProfile.

Example
The following example shows how to perform the web operation in CyberStore.
// Example: Get the data profile describing the currently active account

MakeAJAXCall("Visitor.GetAccountProfile",{}, console.log);
200 Response (GetAccountProfileSoapOut)

The response body is of type GetAccountProfileResponse.

Response Body Parameters

NameDescriptionData Type

A string value containing a JSON object. 

{
    "Data": {
        "Name": "Bayside Bikes",
        "CustomerNumber": "000000000000001",
        "Telephone": "206-555-4562",
        "Contact": "Karen Saunders",
        "Fax": null,
        "CustomeronHold": false,
        "FreeShipping": false,
        "CreateDate": "2017-09-20T14:27:45.057",
        "CurrencyCode": "$",
        "PunchOutInvoice": "OFF",
        "PunchOutInvoiceUrl": "",
        "PunchOutLoginReturnUrl": "",
        "PunchOutOrderAddressIDIsMultiShipCode": false,
        "InvoiceXmlXsltFile": "",
        "CustomerClass": "Wholesaler",
        "Email": "sbrown@bikesblades.com",
        "FirstName": "Susan",
        "LastName": "Brown",
        "CompanyName": "",
        "PrimaryPhone": "",
        "PrimaryPhoneExt": "",
        "AlternatePhone": "",
        "AlternatePhoneExt": "",
        "PrimaryPhoneonFile": "",
        "PrimaryContactonFile": "",
        "OnFile": true,
        "Approved": true,
        "LastLoginDate": "2022-10-04T16:57:58.827",
        "EmailMarketingOptInStatus": false,
        "EmailMarketingOptInStatusChangeDate": "2022-10-04T17:13:18.95",
        "IsLocked": false,
        "NumLoginAttempts": 0,
        "UnlockDateTime": null,
        "MobilePhone": null,
        "PreferredWarehouse": null,
        "MobileNumber": "15555551212",
        "SMSMultiFactorOptIn": true,
        "SMSVerified": false,
        "EnableWarehouseSelection": true,
        "DefaultApproved": true,
        "UserStatus": "B2B",
        "HasSavedCarts": true,
        "CartItemCount": 0,
        "BillingAddress": {
            "Address1": "P O Box 8",
            "Address2": "2001 Ocean Avenue",
            "Address3": "",
            "FirstName": "Bayside Bikes",
            "LastName": "",
            "City": "Santa Monica",
            "State": "LA County",
            "Zip": "A2B 4C6",
            "Country": "CA",
            "Phone": "206-555-4562"
        },
        "ShippingAddress": {
            "Address1": "3 Beach Road",
            "Address2": "Bayside North",
            "Address3": "",
            "FirstName": "Bayside Bikes",
            "LastName": "",
            "City": "Seattle",
            "State": "WA",
            "Zip": "98101",
            "Country": "United States",
            "Phone": "206-555-4562"
        }
    },
    "Result": {
        "Success": true,
        "Message": "The account profile was retrieved successfully.",
        "ElapsedTime": "780 ms"
    }
}

 

xml:string
See Also
All Operations Resource GroupCyberStore Visitor Web Service