Create a new product. If successful, returns the product_id of the newly created product.
<?xml version="1.0" encoding="utf-8"?> <request method="createProduct"> <name>New115%#@%#@%#@%@%^$#&$&2</name> <quantity>112</quantity> <unitcost>1002</unitcost> <description>test2</description> </request>
<?xml version="1.0" encoding="utf-8"?>2632
Update an existing product with the given product_id.
<?xml version="1.0" encoding="utf-8"?> <request method="updateProduct"> <product_id>17664</product_id> <name>PR-0075</name> <quantity>7</quantity> <unitcost>111.56</unitcost> <description>test_description</description> </request>
<?xml version="1.0" encoding="utf-8"?>7985
Delete an existing product.
<?xml version="1.0" encoding="utf-8"?>
<request method="deleteProduct">
<product_id>17626</product_id> <!-- This is product unique id at Invoicera database. You can use more than one row for delete -->
</request>
<?xml version="1.0" encoding="utf-8"?>
Returns a list of product summaries. Results are ordered by descending product number.
<?xml version="1.0" encoding="utf-8"?>
<request method="listProduct">
<filter> <!-- Pass search parameters here -->
<product_id></product_id> <!-- This is product unique id at Invoicera database -->
<item_name></item_name> <!-- This is product name -->
<item_cost></item_cost> <!-- This is product unit cost -->
<item_status></item_status> <!-- Status are Active, Archive, deleted. Only Active records will be displayed if no value defined -->
<page></page> <!-- This is page number -->
<per_page_record></per_page_record> <!-- This is number of records per page -->
</filter> <!-- search parameters ends here -->
<!-- We provide export of <product_id>, <product_name>, <unit_cost>, <quantity>, <date>, <status> -->
</request>
<?xml version="1.0" encoding="utf-8"?>
8554
6p1
10
1
2010-11-27 10:31:21
Active
.
.
.
Return the complete product details associated with the given product_id.
<?xml version="1.0" encoding="utf-8"?>
<request method="getProduct">
<product_id></product_id> <!-- This is product unique id at Invoicera database. Only one ID can be pass at a time. -->
</request>
<?xml version="1.0" encoding="utf-8"?>
7985
6p1
10
1
2010-11-27 10:31:21
Active