Product

Create Product

Create a new product. If successful, returns the product_id of the newly created product.

Request

<?xml version="1.0" encoding="utf-8"?>
<request method="createProduct">
	<name>New115%#@%#@%#@%@%^$#&$&2</name>
	<quantity>112</quantity>
	<unitcost>1002</unitcost>
	<description>test2</description>
</request>

			 

Response

<?xml version="1.0" encoding="utf-8"?>
 
 2632
  

Update Product

Update an existing product with the given product_id.

Request

<?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>
			 

Response

<?xml version="1.0" encoding="utf-8"?>
 
 7985

Delete Product

Delete an existing product.

Request

<?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>

			 

Response

<?xml version="1.0" encoding="utf-8"?>

List Product

Returns a list of product summaries. Results are ordered by descending product number.

Request

<?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>
			 

Response

<?xml version="1.0" encoding="utf-8"?>
    
        
            
                8554
                6p1
                10
                1
                2010-11-27 10:31:21
                Active
            
            .
            .
            .
        
    

Get Product

Return the complete product details associated with the given product_id.

Request

<?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>
			 

Response

<?xml version="1.0" encoding="utf-8"?>
    
        
            7985
                6p1
                10
                1
                2010-11-27 10:31:21
                 Active
        
    

Get Started for FREE

Over 3 Million Users Have Chosen Invoicera

No credit card required. Cancel anytime REQUEST A FREE DEMO