Customers
Customer management operations
Get all customers
Returns a paginated list of customers based on the provided request criteria
Create a new customer
Creates a new customer with the provided data
Delete a customer
Deletes an existing customer by its ID. Staff and M2M callers holding CUSTOMERS_DELETE may delete any customer. A portal member holding PORTAL_SELF_WRITE may delete only their own customer; the supplied customerId is ignored in favor of the caller's resolved customer identity.
Get a customer by ID
Returns a single customer by its ID. Note: when called by a portal member principal, the customerId is ignored and the caller's own customer record is always used instead.
Update a customer
Updates an existing customer with the provided data. Staff and M2M callers holding CUSTOMERS_WRITE may update any customer and field. A portal member holding PORTAL_SELF_WRITE may update only identity, postalAddresses, phoneNumbers, and emailAddresses on their own customer; the supplied customerId is ignored in favor of the caller's resolved customer identity.