Creation

Customer Profiles can also be created without a workflow, either manually in your portal or via the API.

📘

Reference IDs are unique across customer Profiles in One Stop as they should map back to your users. We recommend using your internal user ID as the reference ID.

curl --location 'https://sandbox-oop-api.advai.net/openapi/onestop/customer-profile/create' \
--header 'Content-Type: application/json' \
--data '{
    "referenceId": "string",
    "gender": "string",
    "dob": "string",
    "primaryName": {
        "name": "string"
    },
    "aliasName": [
        {
            "name": "string",
            "nameType": "string"
        }
    ],
    "productLine": "string",
    "transactionAmount": "string",
    "monitorFlag": "Enable"
}'

Update

Customer Profiles can also be update without a workflow, either manually in your portal or via the API.

curl --location 'https://sandbox-oop-api.advai.net/openapi/onestop/customer-profile/update
' \
--header 'Content-Type: application/json' \
--data '{
    "referenceId": "string",
    "gender": "string",
    "dob": "string",
    "primaryName": {
        "name": "string"
    },
    "aliasName": [
        {
            "name": "string",
            "nameType": "string"
        }
    ],
    "productLine": "string",
    "transactionAmount": "string",
    "monitorFlag": "Enable"
}'

Retrievement

curl --request GET \
     --url 'https://sandbox-oop-api.advai.net/openapi/onestop/customer-profile/detail?referenceId=string' \
     --header 'accept: application/json'