Method |
Description |
|
all ( array $parameters = [] ) : array |
Lists all customers. |
|
applyDiscount ( string $customerId, string $couponId ) : array |
Applies the given discount on the given customer. |
|
create ( array $parameters = [] ) : array |
Creates a new customer. |
|
delete ( string $customerId ) : array |
Deletes an existing customer. |
|
deleteDiscount ( string $customerId ) : array |
Deletes an existing customer discount. |
|
find ( string $customerId ) : array |
Retrieves an existing customer. |
|
update ( string $customerId, array $parameters = [] ) : array |
Updates an existing customer. |
|