Retrieve properties for a specific customer. This is a definition of the Customer attributes method used to retrieve customer properties.
Authorization
Available access type | Permissions needed |
---|---|
Private access | Customer properties > Get |
Attributes object definition for Customer properties
Each property attribute object in the Customer attributes method must have type
and property
properties.
Parameter | Value |
---|---|
type | "property" |
property | The name of the property you want to retrieve. |
Payload example
{
"customer_ids": {
"registered": "[email protected]"
},
"attributes": [
{
"type": "property",
"property": "first_name"
}
]
}
{
"results": [
{
"success": true,
"value": "Marian"
}
],
"success": true
}
{
"results": [
{
"error": "No permission",
"success": false
}
],
"success": true
}