update - Customer Module Reference
This documentation provides a reference to the update
method. This belongs to the Customer Module.
update(customerId, data, sharedContext?): Promise<CustomerDTO>
This method updates an existing customer.
Example
Parameters
customerId
stringRequiredThe customer's ID.
The updatable fields of a customer.
Returns
The updated customer.
update(customerIds, data, sharedContext?): Promise<CustomerDTO[]>
This method updates existing customers.
Example
Parameters
customerIds
string[]RequiredThe IDs of customers to update.
The attributes to update in the customers.
Returns
The updated customers.
update(selector, data, sharedContext?): Promise<CustomerDTO[]>
This method updates existing customers.
Example
Parameters
The filters that specify which API keys should be updated.
The attributes to update in the customers.
Returns
The updated customers.
Was this section helpful?