Skip to content

Command: customer.setDynamicFields

Back to Index

Sets dynamic fields of a customer. Non specified fields will be left unchanged. Set value to null to remove field.

Body
fieldsmap of string to any value

Examples

Set dynamic fields of an existing Customer
POST https://<hantera-hostname>/resources/actors/customer/d5559220-d7dc-4254-bdf8-625382d0794f
Authorization: Bearer <YOUR TOKEN>
Content-Type: application/json
[{
"type": "applyCommands",
"body": {
"commands": [{
"type": "setDynamicFields",
"fields": {
"name": "Jane Doe"
}
}
]
}
}]
Back to Index