logoutCustomer (JS API v2)

Version 2 API only.

logoutCustomer

This call is nearly identical to the legacy method logoutCustomerProfile, but if this call is successful, it automatically updates the cart to reflect any pricing changes so a second call isn't needed.

Method Signature

boolean ultraCart.logoutCustomer(opts);

Description

Logout a customer

Parameter

opts - see Making an Asynchronous Call

Result

true if successful, otherwise false




see loginCustomer for an excellent example.