Sets the customer's part.
<!-- setCustomerPart() --> <?php require_once('libraries/happpi/LoadAll.php'); // points to the LoadAll.php file for loading the library. // once the library is required, you can now use one of the main "interaction" classes. // These interaction classes contain methods that get information from our REST API and // converts them to PHP objects for you to use. $Customer = new CurtCustomer(); // create a new customer object to gain access to its functions. // make sure you set the required dependencies (customerID and key) in the Configuration file located in the happpi lib folder. $Customer->setCustomerPart(11000, "abc123"); // set the CURT part number and the ID of the part in your shopping cart. ?>