The customer-update action allows updating or adding values to a customer record based on the schema from customers/crm/authvia
The customer-update action enables users to update or add values to a customer record as defined by the schema from customers/crm/authvia. This action is dependent on the customers/crm products being added to the merchant; if not present, the associated business process will fail to create.
In order to use this action the merchant account must have a product of the following type enabled.
Union
Determines the behavior of the action:
- When
unioned
, no submit button will be shown, and the customer record will
be updated automatically when the unioned action resolves. - When
not unioned
, a submit button will appear, allowing the user to
acknowledge that the form data is complete and should be saved.
Macro level details for how union attribute behaves can be found within the Union documentation.
Example
Below is an example payload for adding an action to a business process or blueprint.
{
"type": "customer-update",
"union": 1
}