Happpi PHP Library

resetToList()

resets the price to list price.

Return Type

CurtSimplePricing

Required Parameters

    resetToList(int $partID)

Optional Parameters

    None

Dependencies

    Configuration->$CustomerID
    Configuration->$Key

Example:

<!-- resetToList() -->
<?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->resetToList(11000); // reset part 11000 to list price.

?>