There is a newer version of the API available. To link to the newest API documentation, click here - Version 20110301
  1. Product API

Product API

 

getSuppliers

Retrieves a list of suppliers that the merchant has access to.

getSuppliers Request Parameters

getSuppliers Response Parameters

 

 

getSuppliers Example

getSuppliers Request Example - XML

<?php
$URL = "https://sandbox.doba.com/api/xml_partner_api.php";
$strRequest = "
<dce>
	<request>
		
<authentication>
<username>username</username>
<password>password</password>
</authentication>
<retailer_id>123456</retailer_id>


		<action>getSuppliers</action>
	</request>
</dce>
";
$connection = curl_init();
curl_setopt($connection, CURLOPT_URL, $URL );
curl_setopt($connection, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($connection, CURLOPT_SSL_VERIFYHOST, 0);
curl_setopt($connection, CURLOPT_POST, 1);
curl_setopt($connection, CURLOPT_POSTFIELDS, $strRequest);
curl_setopt($connection, CURLOPT_RETURNTRANSFER, 1);
set_time_limit(108000);
$strResponse = curl_exec($connection);
if(curl_errno($connection)) {
	print "Curl error: " . curl_error($connection);
} else {
	$info = curl_getinfo($connection);
	print "HTTP Response Code = ".$info["http_code"]."\n";
}
curl_close($connection);

print "URL = $URL\n\n";
print "Method = getSuppliers\n\n";
print "Request:\n=====================================================\n\n";
print_r($strRequest);
print "\n\nResponse:\n=====================================================\n\n";
print_r($strResponse);
?>

getSuppliers Response Example - XML

<?xml version="1.0"?>
<dce>
  <response>
    <outcome>success</outcome>
    <suppliers>
      <supplier>
        <supplier_id>22</supplier_id>
        <supplier_name>Action International</supplier_name>
        <supplier_is_pro/>
        <supplier_group>startup</supplier_group>
        <categories>
          <category>
            <id>32330</id>
            <name>apparel and fashion</name>
            <selected/>
            <count/>
          </category>
          <category>
            <id>30728</id>
            <name>computer and laptop</name>
            <selected/>
            <count/>
          </category>
          <category>
            <id>30480</id>
            <name>consumer electronics</name>
            <selected/>
            <count/>
          </category>
          <category>
            <id>33556</id>
            <name>gift, craft and hobby</name>
            <selected/>
            <count/>
          </category>
        </categories>
        <info/>
        <inventory_stats/>
        <is_active/>
        <supplier_alerts/>
        <supplier_description>refurbished computers, laptops, and electronics</supplier_description>
        <supplier_notes/>
        <inventory_information>Inventory is</inventory_information>
        <dropship_fee>5.00</dropship_fee>
        <average_qty_in_stock>163</average_qty_in_stock>
        <average_product_discount>30%</average_product_discount>
        <average_processing_time>1-4 business days to ship out &amp; receive tracking numbers</average_processing_time>
        <shipping_carriers>FedEx</shipping_carriers>
        <return_policy>Every product comes with our 100% satisfaction guarantee. If you are not happy after initial inspection with quality, materials, or workmanship, Please fill out an RMA request to have your order returned. A 25% restocking fee will be charged for all non-defective returns. The supplier must always have a model and serial number for their returns, if you could provide us with this by email or in your RMA request this would help the RMA process to go a little quicker. Returns must be received 15 days from ship date.

**This supplier does not reimburse for return shipping, no matter the reason (mis-shipment, defective, etc.). No call tags/return labels will be issued. The end buyer/member will be responsible for shipping back to the supplier.** 

Ricoh Products
Warranty is a 1 Year Warranty through Ricoh.
We do not accept Returns on these products. Ricoh will solve end-user\\\\\\\'s problem.
Customer must have model #, serial #, problem &amp; proof of purchase when calling.
Ricoh Tech Support # 1-800-RICOH38

Acer Products
RMA #\\\\\\\'s are only issued for DOA products within 15 days of purchase.
After 15 days, customer must contact Acer Repair direct for warranty.
Customer must have model #, serial #, problem &amp; proof of purchase when calling.
Acer Repair - (800) 816-2237 - End User Support Line

Vizio Products
Warranty is 90 days through Vizio.
We do not accept Returns on these products.
Call Vizio Repair Hotline for Technical Support.  If they are unable to fix the problem over the phone, they will issue a Repair Order.
Caller must state they purchased the product through Sun Enterprises when calling.
Vizio Repair - (888) 849-4623</return_policy>
      </supplier>
      <supplier>
        <supplier_id>93</supplier_id>
        <supplier_name>Alpha Shirt</supplier_name>
        <supplier_is_pro/>
        <supplier_group>startup</supplier_group>
        <categories>
          <category>
            <id>32330</id>
            <name>apparel and fashion</name>
            <selected/>
            <count/>
          </category>
          <category>
            <id>33028</id>
            <name>kitchen and housewares</name>
            <selected/>
            <count/>
          </category>
        </categories>
        <info/>
        <inventory_stats/>
        <is_active/>
        <supplier_alerts/>
        <supplier_description>country's largest wholesale distributor of blank apparel</supplier_description>
        <supplier_notes/>
        <inventory_information>Usually 90% of products are in-stock at anytime</inventory_information>
        <dropship_fee>0.00</dropship_fee>
        <average_qty_in_stock>50</average_qty_in_stock>
        <average_product_discount>60%</average_product_discount>
        <average_processing_time>4-7 business days to ship out &amp; receive tracking numbers</average_processing_time>
        <shipping_carriers>UPS</shipping_carriers>
        <return_policy>Please inspect your merchandise before printing. We cannot accept returns on decorated or washed garments under any circumstances. Defective merchandise must have tape placed over the flaw before returning. Returns due to customer error will be subject to a restocking fee based on the quantity and nature of the products. There is a minimum restocking fee of $5.00 per order. All refused and unclaimed shipments are subject to a $5 restocking fee in addition to shipping charges. All claims for shortages, damages, etc. must be made within 72 hours of receipt of merchandise. No goods will be accepted for return after two weeks from the date of invoice. It is the responsibility of the buyer to verify the accuracy of style, color, size and quantity on orders shipped to parties other than the buyer prior to decorating.

*Note: All returns are for refund only</return_policy>
      </supplier>
      <supplier>
        <supplier_id>6</supplier_id>
        <supplier_name>B &amp; F</supplier_name>
        <supplier_is_pro/>
        <supplier_group>free</supplier_group>
        <categories>
          <category>
            <id>32330</id>
            <name>apparel and fashion</name>
            <selected/>
            <count/>
          </category>
          <category>
            <id>30971</id>
            <name>automotive and tool</name>
            <selected/>
            <count/>
          </category>
          <category>
            <id>30931</id>
            <name>beauty and health</name>
            <selected/>
            <count/>
          </category>
          <category>
            <id>30888</id>
            <name>bed and bath</name>
            <selected/>
            <count/>
          </category>
          <category>
            <id>30480</id>
            <name>consumer electronics</name>
            <selected/>
            <count/>
          </category>
          <category>
            <id>33556</id>
            <name>gift, craft and hobby</name>
            <selected/>
            <count/>
          </category>
          <category>
            <id>33482</id>
            <name>home and garden</name>
            <selected/>
            <count/>
          </category>
          <category>
            <id>33430</id>
            <name>industrial supply</name>
            <selected/>
            <count/>
          </category>
          <category>
            <id>33103</id>
            <name>jewelry and watches</name>
            <selected/>
            <count/>
          </category>
          <category>
            <id>33028</id>
            <name>kitchen and housewares</name>
            <selected/>
            <count/>
          </category>
          <category>
            <id>32971</id>
            <name>leisure and sport</name>
            <selected/>
            <count/>
          </category>
          <category>
            <id>32802</id>
            <name>toys and collectables</name>
            <selected/>
            <count/>
          </category>
        </categories>
        <info/>
        <inventory_stats/>
        <is_active/>
        <supplier_alerts/>
        <supplier_description>general discount merchandise and gifts</supplier_description>
        <supplier_notes>This supplier does not ship to Hawaii or Alaska. This supplier does not ship to P.O./APO Boxes.</supplier_notes>
        <inventory_information>Usually 96% of products are</inventory_information>
        <dropship_fee>2.50</dropship_fee>
        <average_qty_in_stock>2625</average_qty_in_stock>
        <average_product_discount>75%</average_product_discount>
        <average_processing_time>4-7 business days to ship out &amp; receive tracking numbers</average_processing_time>
        <shipping_carriers>UPS</shipping_carriers>
        <return_policy>Every product comes with our 100% satisfaction guarantee. If you are not happy after initial inspection with quality, materials, or workmanship, Please fill out an RMA request to have your order returned. Manufacturers may change the look of a product at any time. A 15% restocking fee will be charged for all non-defective returns. Shipping to and from, plus restock, is also charged for undeliverable or refused packages. Shipping must be prepaid to the supplier. Supplier will issue call tags on some situations, but that is done per their discretion. The supplier may cancel an RMA request if enough notes are not provided. They need details of the damage or defectiveness of the products being returned. Please provide as much detail as possible for returns. 

**For non-defective returns: You will need to return for a refund minus shipping and restock. If replacement is wanted, once you receive your refund, you will need to re-order the new item.**

Please Note: Leather goods are only eligible for return within 10 days of receipt. Any requests that come through after that may be decined.

**Please note: any additional fees from UPS (ie refused packages, returns without an RMA, undeliverable packages, etc) will be deducted from the refund to our member.</return_policy>
      </supplier>
    </suppliers>
  </response>
</dce>

getSuppliers Request Example - SOAP

<?php
$URL = "https://sandbox.doba.com/soap/wsdl/ApiPartnerSearch.wsdl";
$client = new SoapClient($URL, array("trace" => 1));
$objAuth = new stdClass();
$objAuth->username = "username";
$objAuth->password = "password";
$objRequest = new stdClass();
$objRequest->authentication = $objAuth;
$objRequest->retailer_id="123";

try { $Response = $client->getSuppliers($objRequest); }
catch ( SOAPFault $e ) {$Response = ("Error ".$e->faultcode.": ".$e->faultstring); }

print "URL = $URL\n\n";
print "Method = getSuppliers\n\n";
print "Request:\n=====================================================\n\n";
print_r($objRequest);
print "\n\nResponse:\n=====================================================\n\n";
print_r($Response);
?>

getSuppliers Response Example - SOAP

Array
(
    [0] => stdClass Object
        (
            [average_processing_time] => 1-4 business days to ship out & receive tracking numbers
            [average_product_discount] => 45%
            [average_qty_in_stock] => 50
            [categories] => Array
                (
                    [0] => stdClass Object
                        (
                            [count] => 
                            [id] => 32330
                            [name] => apparel and fashion
                            [selected] => 
                        )

                    [1] => stdClass Object
                        (
                            [count] => 
                            [id] => 120241
                            [name] => kids and baby
                            [selected] => 
                        )

                )

            [dropship_fee] => 2
            [info] => 
            [inventory_information] => Usually 95% of products are in-stock at anytime
            [return_policy] => This supplier will gladly accept returns for the following reasons:

* Defective/Damaged
* Buyers Remorse (within the 30 day return policy)
* Supplier Data Error
* Supplier Mis-shipment
* Wrong Item Ordered
* Fraud

No restocking fees will be applied to the return, however the shipping will not be rehimbursed.  If the return follows any of the following reasons:

* Buyers Remorse (within the 30 day return policy)
* Supplier Data Error
* Supplier Mis-shipment
* Wrong Item Ordered
* Fraud

Then items must be in new condition and unused.  

The warranty does cover items that may have defects and break will in use, an RA can be set up for this reason as well. 

Please note: This supplier does not ship to Alaska or Hawaii and all returns are for refund only.
            [shipping_carriers] => DHL
            [supplier_alerts] => 
            [supplier_description] => womens fashion and accessories for the workplace
            [supplier_group] => basic
            [supplier_id] => 29
            [supplier_is_pro] => 
            [supplier_name] => Aspen
            [supplier_notes] => 
        )

    [1] => stdClass Object
        (
            [average_processing_time] => 2-5 business days to ship out & receive tracking numbers
            [average_product_discount] => 60%
            [average_qty_in_stock] => 25 items per in-stock product
            [categories] => Array
                (
                    [0] => stdClass Object
                        (
                            [count] => 
                            [id] => 32330
                            [name] => apparel and fashion
                            [selected] => 
                        )

                    [1] => stdClass Object
                        (
                            [count] => 
                            [id] => 30971
                            [name] => automotive and tool
                            [selected] => 
                        )

                    [2] => stdClass Object
                        (
                            [count] => 
                            [id] => 30480
                            [name] => consumer electronics
                            [selected] => 
                        )

                    [3] => stdClass Object
                        (
                            [count] => 
                            [id] => 32971
                            [name] => leisure and sport
                            [selected] => 
                        )

                )

            [dropship_fee] => 0
            [info] => 
            [inventory_information] => Usually 90% of products are in-stock at anytime
            [return_policy] => Every product comes with our 100% satisfaction guarantee. If you are not happy after initial inspection with quality, materials, or workmanship, Please fill out an RMA request to have your order returned. Non-defective returns will be assessed a 20% restocking fee if the item is received back in the original unopened manufacturers box (if applicable) and in good condition. Otherwise it will be returned to the customer and no credit will be given. Non-defective returns received back opened and used we will charge up to a 50% restocking fee. Shipping must be prepaid to the supplier. The supplier may cancel an RMA request if enough notes are not provided. They need details of the damage or defectiveness of the products being returned. Please provide as much detail as possible for returns. All returns must first receive an authorization number. Any items received back without such a number will not be credited. Defective returns initiated after 30 days will be referred to the Manufacturer in order to resolve any claim. Some items will come with no warranty. Each product page will indicate if the the item carries a warranty or not. Credits will only be issued when the item has been received back and inspected by our warehouse.

Note: All returns are for refund only
            [shipping_carriers] => UPS,USPS
            [supplier_alerts] => 
            [supplier_description] => Distributor
            [supplier_group] => basic
            [supplier_id] => 485
            [supplier_is_pro] => 
            [supplier_name] => Bauer
            [supplier_notes] => 
        )

    [2] => stdClass Object
        (
            [average_processing_time] => 2-3 business days to ship out & receive tracking numbers
            [average_product_discount] => 38%
            [average_qty_in_stock] => 6
            [categories] => Array
                (
                    [0] => stdClass Object
                        (
                            [count] => 
                            [id] => 32330
                            [name] => apparel and fashion
                            [selected] => 
                        )

                    [1] => stdClass Object
                        (
                            [count] => 
                            [id] => 30931
                            [name] => beauty and health
                            [selected] => 
                        )

                    [2] => stdClass Object
                        (
                            [count] => 
                            [id] => 30480
                            [name] => consumer electronics
                            [selected] => 
                        )

                    [3] => stdClass Object
                        (
                            [count] => 
                            [id] => 33482
                            [name] => home and garden
                            [selected] => 
                        )

                    [4] => stdClass Object
                        (
                            [count] => 
                            [id] => 33430
                            [name] => industrial supply
                            [selected] => 
                        )

                    [5] => stdClass Object
                        (
                            [count] => 
                            [id] => 33028
                            [name] => kitchen and housewares
                            [selected] => 
                        )

                    [6] => stdClass Object
                        (
                            [count] => 
                            [id] => 32971
                            [name] => leisure and sport
                            [selected] => 
                        )

                )

            [dropship_fee] => 2
            [info] => 
            [inventory_information] => Usually 73% of products are in-stock
            [return_policy] => Every product comes with our 100% satisfaction guarantee. If you are not happy after initial inspection with quality, materials, or workmanship, Please fill out an RMA request within 10 days to have your order returned. A 15% restocking fee will be charged for all non-defective returns. Shipping must be prepaid to the supplier. The supplier may cancel an RMA request if enough notes are not provided. They need details of the damage or defectiveness of the products being returned. Please provide as much detail as possible for returns. 

If the item is returned 30 days after you receive the RMA number, a 30% restock will be charged.

** Bravo reserves the right to evaluate product return conditions and assess restocking fees at its own discretion. **

Note: All returns are for credit only.
            [shipping_carriers] => FedEx,UPS
            [supplier_alerts] => 
            [supplier_description] => outdoor, home and garden, and health and beauty
            [supplier_group] => free
            [supplier_id] => 2
            [supplier_is_pro] => 
            [supplier_name] => Bravo
            [supplier_notes] => This supplier does not ship to Hawaii or Alaska.
        )


)

 

 

getBrands

Retrieves a list of brand names currently available to the merchant.

getBrands Request Parameters

getBrands Response Parameters

 

 

getBrands Example

getBrands Request Example - XML

<?php
$URL = "https://sandbox.doba.com/api/xml_partner_api.php";
$strRequest = "
<dce>
	<request>

<authentication>
<username>username</username>
<password>password</password>
</authentication>
<retailer_id>123456</retailer_id>


		<action>getBrands</action>
	</request>
</dce>
";
$connection = curl_init();
curl_setopt($connection, CURLOPT_URL, $URL );
curl_setopt($connection, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($connection, CURLOPT_SSL_VERIFYHOST, 0);
curl_setopt($connection, CURLOPT_POST, 1);
curl_setopt($connection, CURLOPT_POSTFIELDS, $strRequest);
curl_setopt($connection, CURLOPT_RETURNTRANSFER, 1);
set_time_limit(108000);
$strResponse = curl_exec($connection);
if(curl_errno($connection)) {
	print "Curl error: " . curl_error($connection);
} else {
	$info = curl_getinfo($connection);
	print "HTTP Response Code = ".$info["http_code"]."\n";
}
curl_close($connection);

print "URL = $URL\n\n";
print "Method = getBrands\n\n";
print "Request:\n=====================================================\n\n";
print_r($strRequest);
print "\n\nResponse:\n=====================================================\n\n";
print_r($strResponse);
?>

getBrands Response Example - XML

<?xml version="1.0"?>
<dce>
  <response>
    <outcome>success</outcome>
    <brands>
      <brand>
        <name>3M Company</name>
        <image_url>www.sandbox.doba.com/static/images/share/brand/3m.gif</image_url>
      </brand>
      <brand>
        <name>7 Gypsies</name>
        <image_url>www.sandbox.doba.com/static/images/share/brand/7gypsies.gif</image_url>
      </brand>
      <brand>
        <name>Absolute Nutrition</name>
        <image_url>www.sandbox.doba.com/static/images/share/brand/absolute_nutrition.gif</image_url>
      </brand>
      <brand>
        <name>Acer</name>
        <image_url>www.sandbox.doba.com/static/images/share/brand/acer.gif</image_url>
      </brand>
    </brands>
  </response>
</dce>

getBrands Request Example - SOAP

<?php
$URL = "https://sandbox.doba.com/soap/wsdl/ApiPartnerSearch.wsdl";
$client = new SoapClient($URL, array("trace" => 1));
$objAuth = new stdClass();
$objAuth->username = "username";
$objAuth->password = "password";
$objRequest = new stdClass();
$objRequest->authentication = $objAuth;
$objRequest->retailer_id="123";

try { $Response = $client->getBrands($objRequest); }
catch ( SOAPFault $e ) {$Response = ("Error ".$e->faultcode.": ".$e->faultstring); }

print "URL = $URL\n\n";
print "Method = getBrands\n\n";
print "Request:\n=====================================================\n\n";
print_r($objRequest);
print "\n\nResponse:\n=====================================================\n\n";
print_r($Response);
?>

getBrands Response Example - SOAP

Array
(
    [0] => stdClass Object
        (
            [image_url] => www.sandbox.doba.com/static/images/share/brand/3m.gif
            [name] => 3M Company
        )

    [1] => stdClass Object
        (
            [image_url] => www.sandbox.doba.com/static/images/share/brand/7gypsies.gif
            [name] => 7 Gypsies
        )

    [2] => stdClass Object
        (
            [image_url] => www.sandbox.doba.com/static/images/share/brand/absolute_nutrition.gif
            [name] => Absolute Nutrition
        )

)

 

 

getQtyOptions

Retrieves a list of quantity options used within some of the Product API methods.

getQtyOptions Request Parameters

getQtyOptions Response Parameters

 

 

getQtyOptions Example

getQtyOptions Request Example - XML

<?php
$URL = "https://sandbox.doba.com/api/xml_partner_api.php";
$strRequest = "
<dce>
	<request>
		
<authentication>
<username>username</username>
<password>password</password>
</authentication>
<retailer_id>123456</retailer_id>


		<action>getQtyOptions</action>
	</request>
</dce>
";
$connection = curl_init();
curl_setopt($connection, CURLOPT_URL, $URL );
curl_setopt($connection, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($connection, CURLOPT_SSL_VERIFYHOST, 0);
curl_setopt($connection, CURLOPT_POST, 1);
curl_setopt($connection, CURLOPT_POSTFIELDS, $strRequest);
curl_setopt($connection, CURLOPT_RETURNTRANSFER, 1);
set_time_limit(108000);
$strResponse = curl_exec($connection);
if(curl_errno($connection)) {
	print "Curl error: " . curl_error($connection);
} else {
	$info = curl_getinfo($connection);
	print "HTTP Response Code = ".$info["http_code"]."\n";
}
curl_close($connection);

print "URL = $URL\n\n";
print "Method = getQtyOptions\n\n";
print "Request:\n=====================================================\n\n";
print_r($strRequest);
print "\n\nResponse:\n=====================================================\n\n";
print_r($strResponse);
?>

getQtyOptions Response Example - XML

<?xml version="1.0"?>
<dce>
  <response>
    <outcome>success</outcome>
    <qty_options>
      <qty_option>
        <id>1</id>
        <name>5</name>
      </qty_option>
      <qty_option>
        <id>2</id>
        <name>25</name>
      </qty_option>
      <qty_option>
        <id>3</id>
        <name>50</name>
      </qty_option>
      <qty_option>
        <id>4</id>
        <name>100</name>
      </qty_option>
      <qty_option>
        <id>5</id>
        <name>250</name>
      </qty_option>
    </qty_options>
  </response>
</dce>

getQtyOptions Request Example - SOAP

<?php
$URL = "https://sandbox.doba.com/soap/wsdl/ApiPartnerSearch.wsdl";
$client = new SoapClient($URL, array("trace" => 1));
$objAuth = new stdClass();
$objAuth->username = "username";
$objAuth->password = "password";
$objRequest = new stdClass();
$objRequest->authentication = $objAuth;
$objRequest->retailer_id="123";

try { $Response = $client->getQtyOptions($objRequest); }
catch ( SOAPFault $e ) {$Response = ("Error ".$e->faultcode.": ".$e->faultstring); }

print "URL = $URL\n\n";
print "Method = getQtyOptions\n\n";
print "Request:\n=====================================================\n\n";
print_r($objRequest);
print "\n\nResponse:\n=====================================================\n\n";
print_r($Response);
?>

getQtyOptions Response Example - SOAP

Array
(
    [0] => stdClass Object
        (
            [id] => 1
            [name] => 5
        )

    [1] => stdClass Object
        (
            [id] => 2
            [name] => 25
        )

    [2] => stdClass Object
        (
            [id] => 3
            [name] => 50
        )

    [3] => stdClass Object
        (
            [id] => 4
            [name] => 100
        )

    [4] => stdClass Object
        (
            [id] => 5
            [name] => 250
        )

)

 

 

getPriceRanges

Retrieves a list of price range options used within some of the Product API methods.

getPriceRanges Request Parameters

getPriceRanges Response Parameters

 

 

getPriceRanges Example

getPriceRanges Request Example - XML
<?php
$URL = "https://sandbox.doba.com/api/xml_partner_api.php";
$strRequest = "
<dce>
<request>

<authentication>
<username>username</username>
<password>password</password>
</authentication>
<retailer_id>123456</retailer_id>

<action>getPriceRanges</action>

</request>
</dce>
";
$connection = curl_init();
curl_setopt($connection, CURLOPT_URL, $URL );
curl_setopt($connection, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($connection, CURLOPT_SSL_VERIFYHOST, 0);
curl_setopt($connection, CURLOPT_POST, 1);
curl_setopt($connection, CURLOPT_POSTFIELDS, $strRequest);
curl_setopt($connection, CURLOPT_RETURNTRANSFER, 1);
set_time_limit(108000);
$strResponse = curl_exec($connection);
if(curl_errno($connection)) {
	print "Curl error: " . curl_error($connection);
} else {
	$info = curl_getinfo($connection);
	print "HTTP Response Code = ".$info["http_code"]."\n";
}
curl_close($connection);

print "URL = $URL\n\n";
print "Method = getPriceRanges\n\n";
print "Request:\n=====================================================\n\n";
print_r($strRequest);
print "\n\nResponse:\n=====================================================\n\n";
print_r($strResponse);
?>

getPriceRanges Response Example - XML

<?xml version="1.0"?>
<dce>
  <response>
    <outcome>success</outcome>
    <price_ranges>
      <price_range>
        <id>1</id>
        <name>0 - 24.99</name>
      </price_range>
      <price_range>
        <id>2</id>
        <name>25 - 49.99</name>
      </price_range>
      <price_range>
        <id>3</id>
        <name>50 - 99.99</name>
      </price_range>
      <price_range>
        <id>4</id>
        <name>100 - 199.99</name>
      </price_range>
      <price_range>
        <id>5</id>
        <name>200 - 499.99</name>
      </price_range>
      <price_range>
        <id>6</id>
        <name>500 - 999.99</name>
      </price_range>
      <price_range>
        <id>7</id>
        <name>1000 - 1999.99</name>
      </price_range>
      <price_range>
        <id>8</id>
        <name>over 2000</name>
      </price_range>
    </price_ranges>
  </response>
</dce>
getPriceRanges Request Example - SOAP
<?php
$URL = "https://sandbox.doba.com/soap/wsdl/ApiPartnerSearch.wsdl";
$client = new SoapClient($URL, array("trace" => 1));
$objAuth = new stdClass();
$objAuth->username = "username";
$objAuth->password = "password";
$objRequest = new stdClass();
$objRequest->authentication = $objAuth;
$objRequest->retailer_id="123";

try { $Response = $client->getPriceRanges($objRequest); }
catch ( SOAPFault $e ) {$Response = ("Error ".$e->faultcode.": ".$e->faultstring); }

print "URL = $URL\n\n";
print "Method = getPriceRanges\n\n";
print "Request:\n=====================================================\n\n";
print_r($objRequest);
print "\n\nResponse:\n=====================================================\n\n";
print_r($Response);
?>

getPriceRanges Response Example - SOAP

Array
(
    [0] => stdClass Object
        (
            [id] => 1
            [name] => 0 - 24.99
        )

    [1] => stdClass Object
        (
            [id] => 2
            [name] => 25 - 49.99
        )

    [2] => stdClass Object
        (
            [id] => 3
            [name] => 50 - 99.99
        )

    [3] => stdClass Object
        (
            [id] => 4
            [name] => 100 - 199.99
        )

    [4] => stdClass Object
        (
            [id] => 5
            [name] => 200 - 499.99
        )

    [5] => stdClass Object
        (
            [id] => 6
            [name] => 500 - 999.99
        )

    [6] => stdClass Object
        (
            [id] => 7
            [name] => 1000 - 1999.99
        )

    [7] => stdClass Object
        (
            [id] => 8
            [name] => over 2000
        )

)

 

 

getProductSearch

The getItemSearch method supercedes this deprecated method. All new integrations should use getItemSearch instead of getProductSearch.

 

 

getItemSearch

This API method supercedes the getProductSearch method. All new API implimentations will need to use this method.

Searches and retrieves product information based on custom criteria.

The getItemSearch method can be used to build a replica of the Doba category tree. First, call the function with no parameters and the returned data will contain the top level category structure. From there you can specify the category_id on subsequent calls to obtain the sub-categories. A maximum of 50,000 items can be returned via getItemSearch.

Note: If no option arguments are provided, the response will not include product data. It will only include the filter information along with the top-level category structure.

getItemSearch Request Parameters

getItemSearch Response Parameters

 

 

getItemSearch Request Example - XML

<?php
$URL = "https://sandbox.doba.com/api/xml_partner_api.php";
$strRequest = "
<dce>
<request>

	<authentication>
		<username>username</username>
		<password>password</password>
	</authentication>

	<retailer_id>123456</retailer_id>

	<action>getItemSearch</action>

	<search_term>ipod</search_term>

	<display_count></display_count>
	<display_start></display_start>

	<filter>
		<facet>
			<name>f_cat</name>
			<ids>
				<id>10216</id>
			</ids>
		</facet>
		<facet>
			<name>f_supplier_id</name>
			<ids>
				<id>1</id>
			</ids>
		</facet>
		<facet>
			<name>f_stock</name>
			<ids>
				<id>in-stock</id>
			</ids>
		</facet>
	</filter>

</request>
</dce>
";
$connection = curl_init();
curl_setopt($connection, CURLOPT_URL, $URL );
curl_setopt($connection, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($connection, CURLOPT_SSL_VERIFYHOST, 0);
curl_setopt($connection, CURLOPT_POST, 1);
curl_setopt($connection, CURLOPT_POSTFIELDS, $strRequest);
curl_setopt($connection, CURLOPT_RETURNTRANSFER, 1);
set_time_limit(108000);
$strResponse = curl_exec($connection);
if(curl_errno($connection)) {
	print "Curl error: " . curl_error($connection);
} else {
	$info = curl_getinfo($connection);
	print "HTTP Response Code = ".$info["http_code"]."\n";
}
curl_close($connection);

print "URL = $URL\n\n";
print "Method = getItemSearch\n\n";
print "Request:\n=====================================================\n\n";
print_r($strRequest);
print "\n\nResponse:\n=====================================================\n\n";
print_r($strResponse);
?>

getItemSearch Response Example - XML

<?xml version="1.0"?>
<dce>
  <response>
    <outcome>success</outcome>
    <saved_searches>
      <saved_search>
        <criteria>O:8:"stdClass":5:{s:6:"filter";a:3:{i:0;O:8:"stdClass":2:{s:4:"name";s:7:"f_stock";s:3:"ids";a:1:{i:0;s:8:"in-stock";}}i:1;O:8:"stdClass":2:{s:4:"name";s:10:"f_hasImage";s:3:"ids";a:1:{i:0;i:1;}}i:2;O:8:"stdClass":2:{s:4:"name";s:13:"f_refurbished";s:3:"ids";a:2:{i:0;i:0;i:1;i:1;}}}s:11:"search_term";s:4:"ipod";s:12:"search_terms";a:1:{i:0;s:4:"ipod";}s:13:"display_start";i:0;s:13:"display_count";s:2:"20";}</criteria>
        <friendly_criteria>O:8:"stdClass":2:{s:6:"search";s:4:"ipod";s:7:"include";s:11:"refurbished";}</friendly_criteria>
        <name>ipod</name>
        <saved_search_id>13301</saved_search_id>
        <results_per_page>20</results_per_page>
        <view_option>gallery</view_option>
        <sort_order>1</sort_order>
        <date_created>2008-05-21 08:50:53</date_created>
      </saved_search>
      <saved_search>
        <criteria>O:8:"stdClass":5:{s:6:"filter";a:3:{i:0;O:8:"stdClass":2:{s:4:"name";s:7:"f_stock";s:3:"ids";a:1:{i:0;s:8:"in-stock";}}i:1;O:8:"stdClass":2:{s:4:"name";s:10:"f_hasImage";s:3:"ids";a:1:{i:0;i:1;}}i:2;O:8:"stdClass":2:{s:4:"name";s:13:"f_refurbished";s:3:"ids";a:2:{i:0;i:0;i:1;i:1;}}}s:11:"search_term";s:4:"golf";s:12:"search_terms";a:1:{i:0;s:4:"golf";}s:13:"display_start";i:0;s:13:"display_count";s:2:"20";}</criteria>
        <friendly_criteria>O:8:"stdClass":2:{s:6:"search";s:4:"golf";s:7:"include";s:11:"refurbished";}</friendly_criteria>
        <name>golf</name>
        <saved_search_id>13337</saved_search_id>
        <results_per_page>20</results_per_page>
        <view_option>gallery</view_option>
        <sort_order>2</sort_order>
        <date_created>2009-02-12 13:05:50</date_created>
      </saved_search>
      <saved_search>
        <criteria>O:8:"stdClass":7:{s:6:"filter";a:3:{i:0;O:8:"stdClass":2:{s:4:"name";s:7:"f_stock";s:3:"ids";a:1:{i:0;s:8:"in-stock";}}i:1;O:8:"stdClass":2:{s:4:"name";s:10:"f_hasImage";s:3:"ids";a:1:{i:0;i:1;}}i:2;O:8:"stdClass":2:{s:4:"name";s:13:"f_refurbished";s:3:"ids";a:2:{i:0;i:0;i:1;i:1;}}}s:11:"search_term";s:6:"basket";s:12:"search_terms";a:1:{i:0;s:6:"basket";}s:15:"price_range_min";i:100;s:15:"price_range_max";d:199.990000000000009094947017729282379150390625;s:13:"display_start";i:0;s:13:"display_count";s:2:"20";}</criteria>
        <friendly_criteria>O:8:"stdClass":3:{s:6:"search";s:6:"basket";s:11:"price_range";s:17:"$100.00 - $199.99";s:7:"include";s:11:"refurbished";}</friendly_criteria>
        <name>basket</name>
        <saved_search_id>13355</saved_search_id>
        <results_per_page>20</results_per_page>
        <view_option>gallery</view_option>
        <sort_order>3</sort_order>
        <date_created>2009-04-16 13:40:57</date_created>
      </saved_search>
      <saved_search>
        <criteria>O:8:"stdClass":5:{s:6:"filter";a:3:{i:0;O:8:"stdClass":2:{s:4:"name";s:7:"f_stock";s:3:"ids";a:1:{i:0;s:8:"in-stock";}}i:1;O:8:"stdClass":2:{s:4:"name";s:10:"f_hasImage";s:3:"ids";a:1:{i:0;i:1;}}i:2;O:8:"stdClass":2:{s:4:"name";s:13:"f_refurbished";s:3:"ids";a:2:{i:0;i:0;i:1;i:1;}}}s:11:"search_term";s:4:"tree";s:12:"search_terms";a:1:{i:0;s:4:"tree";}s:13:"display_start";i:0;s:13:"display_count";s:2:"20";}</criteria>
        <friendly_criteria>O:8:"stdClass":2:{s:6:"search";s:4:"tree";s:7:"include";s:11:"refurbished";}</friendly_criteria>
        <name>tree</name>
        <saved_search_id>13362</saved_search_id>
        <results_per_page>20</results_per_page>
        <view_option>gallery</view_option>
        <sort_order>4</sort_order>
        <date_created>2009-06-01 14:57:42</date_created>
      </saved_search>
      <saved_search>
        <criteria>O:8:"stdClass":5:{s:6:"filter";a:3:{i:0;O:8:"stdClass":2:{s:4:"name";s:7:"f_stock";s:3:"ids";a:1:{i:0;s:8:"in-stock";}}i:1;O:8:"stdClass":2:{s:4:"name";s:10:"f_hasImage";s:3:"ids";a:1:{i:0;i:1;}}i:2;O:8:"stdClass":2:{s:4:"name";s:13:"f_refurbished";s:3:"ids";a:2:{i:0;i:0;i:1;i:1;}}}s:11:"search_term";s:9:"peter pan";s:12:"search_terms";a:2:{i:0;s:5:"peter";i:1;s:3:"pan";}s:13:"display_start";i:0;s:13:"display_count";s:2:"20";}</criteria>
        <friendly_criteria>O:8:"stdClass":2:{s:6:"search";s:9:"peter pan";s:7:"include";s:11:"refurbished";}</friendly_criteria>
        <name>peter pan</name>
        <saved_search_id>13372</saved_search_id>
        <results_per_page>20</results_per_page>
        <view_option>gallery</view_option>
        <sort_order>5</sort_order>
        <date_created>2009-07-28 14:35:12</date_created>
      </saved_search>
      <saved_search>
        <criteria>O:8:"stdClass":5:{s:6:"filter";a:3:{i:0;O:8:"stdClass":2:{s:4:"name";s:7:"f_stock";s:3:"ids";a:1:{i:0;s:8:"in-stock";}}i:1;O:8:"stdClass":2:{s:4:"name";s:10:"f_hasImage";s:3:"ids";a:1:{i:0;i:1;}}i:2;O:8:"stdClass":2:{s:4:"name";s:13:"f_refurbished";s:3:"ids";a:2:{i:0;i:0;i:1;i:1;}}}s:11:"search_term";s:10:"basketball";s:12:"search_terms";a:1:{i:0;s:10:"basketball";}s:13:"display_start";i:0;s:13:"display_count";s:2:"20";}</criteria>
        <friendly_criteria>O:8:"stdClass":2:{s:6:"search";s:10:"basketball";s:7:"include";s:11:"refurbished";}</friendly_criteria>
        <name>basketball</name>
        <saved_search_id>13373</saved_search_id>
        <results_per_page>20</results_per_page>
        <view_option>gallery</view_option>
        <sort_order>6</sort_order>
        <date_created>2009-07-29 11:12:51</date_created>
      </saved_search>
    </saved_searches>
    <search_term>ipod</search_term>
    <parent_categories/>
    <facets>
      <ApiFacetInfo>
        <name>f_cat</name>
        <display_name>Categories</display_name>
        <values>
          <ApiFacetValuesInfo>
            <displayValue>Apparel, shoes &amp; jewelry</displayValue>
            <id>7913</id>
            <count>1</count>
            <selected/>
          </ApiFacetValuesInfo>
          <ApiFacetValuesInfo>
            <displayValue>Electronics &amp; computer</displayValue>
            <id>8336</id>
            <count>165</count>
            <selected/>
          </ApiFacetValuesInfo>
          <ApiFacetValuesInfo>
            <displayValue>Games, movies &amp; music</displayValue>
            <id>9343</id>
            <count>2</count>
            <selected/>
          </ApiFacetValuesInfo>
          <ApiFacetValuesInfo>
            <displayValue>Home, garden &amp; living</displayValue>
            <id>9821</id>
            <count>3</count>
            <selected/>
          </ApiFacetValuesInfo>
          <ApiFacetValuesInfo>
            <displayValue>Outdoor &amp; sports</displayValue>
            <id>10216</id>
            <count>2</count>
            <selected/>
          </ApiFacetValuesInfo>
          <ApiFacetValuesInfo>
            <displayValue>Unknown</displayValue>
            <id>3</id>
            <count>119</count>
            <selected/>
          </ApiFacetValuesInfo>
        </values>
      </ApiFacetInfo>
      <ApiFacetInfo>
        <name>f_supplier_id</name>
        <display_name>Suppliers</display_name>
        <values>
          <ApiFacetValuesInfo>
            <displayValue>DBL</displayValue>
            <id>1</id>
            <count>86</count>
            <selected/>
          </ApiFacetValuesInfo>
          <ApiFacetValuesInfo>
            <displayValue>D &amp; H</displayValue>
            <id>4</id>
            <count>85</count>
            <selected/>
          </ApiFacetValuesInfo>
          <ApiFacetValuesInfo>
            <displayValue>Petra Industries</displayValue>
            <id>109</id>
            <count>42</count>
            <selected/>
          </ApiFacetValuesInfo>
          <ApiFacetValuesInfo>
            <displayValue>Teledynamics</displayValue>
            <id>67</id>
            <count>29</count>
            <selected/>
          </ApiFacetValuesInfo>
          <ApiFacetValuesInfo>
            <displayValue>MRothman</displayValue>
            <id>92</id>
            <count>14</count>
            <selected/>
          </ApiFacetValuesInfo>
          <ApiFacetValuesInfo>
            <displayValue>Alpha Shirt</displayValue>
            <id>93</id>
            <count>9</count>
            <selected/>
          </ApiFacetValuesInfo>
          <ApiFacetValuesInfo>
            <displayValue>JR Sports</displayValue>
            <id>32</id>
            <count>5</count>
            <selected/>
          </ApiFacetValuesInfo>
          <ApiFacetValuesInfo>
            <displayValue>Viatek</displayValue>
            <id>1340</id>
            <count>3</count>
            <selected/>
          </ApiFacetValuesInfo>
          <ApiFacetValuesInfo>
            <displayValue>Speakal</displayValue>
            <id>1770</id>
            <count>3</count>
            <selected/>
          </ApiFacetValuesInfo>
          <ApiFacetValuesInfo>
            <displayValue>FHI</displayValue>
            <id>48</id>
            <count>3</count>
            <selected/>
          </ApiFacetValuesInfo>
          <ApiFacetValuesInfo>
            <displayValue>The Original Ballbag</displayValue>
            <id>566</id>
            <count>3</count>
            <selected/>
          </ApiFacetValuesInfo>
          <ApiFacetValuesInfo>
            <displayValue>HandStands</displayValue>
            <id>1583</id>
            <count>2</count>
            <selected/>
          </ApiFacetValuesInfo>
          <ApiFacetValuesInfo>
            <displayValue>Trademark Global</displayValue>
            <id>451</id>
            <count>2</count>
            <selected/>
          </ApiFacetValuesInfo>
          <ApiFacetValuesInfo>
            <displayValue>Blue Ridge Chair Works</displayValue>
            <id>825</id>
            <count>2</count>
            <selected/>
          </ApiFacetValuesInfo>
          <ApiFacetValuesInfo>
            <displayValue>CI-Dollar Days International, LLC</displayValue>
            <id>1063</id>
            <count>1</count>
            <selected/>
          </ApiFacetValuesInfo>
          <ApiFacetValuesInfo>
            <displayValue>MA Labs</displayValue>
            <id>206</id>
            <count>1</count>
            <selected/>
          </ApiFacetValuesInfo>
          <ApiFacetValuesInfo>
            <displayValue>IPC</displayValue>
            <id>423</id>
            <count>1</count>
            <selected/>
          </ApiFacetValuesInfo>
          <ApiFacetValuesInfo>
            <displayValue>The Speedydog Corporation</displayValue>
            <id>941</id>
            <count>1</count>
            <selected/>
          </ApiFacetValuesInfo>
        </values>
      </ApiFacetInfo>
      <ApiFacetInfo>
        <name>f_brand</name>
        <display_name>Brands</display_name>
        <values>
          <ApiFacetValuesInfo>
            <displayValue>belkin</displayValue>
            <id>belkin</id>
            <count>29</count>
            <selected/>
          </ApiFacetValuesInfo>
          <ApiFacetValuesInfo>
            <displayValue>jwin</displayValue>
            <id>jwin</id>
            <count>22</count>
            <selected/>
          </ApiFacetValuesInfo>
          <ApiFacetValuesInfo>
            <displayValue>iluv</displayValue>
            <id>iluv</id>
            <count>18</count>
            <selected/>
          </ApiFacetValuesInfo>
          <ApiFacetValuesInfo>
            <displayValue>macally</displayValue>
            <id>macally</id>
            <count>15</count>
            <selected/>
          </ApiFacetValuesInfo>
          <ApiFacetValuesInfo>
            <displayValue>griffin technology</displayValue>
            <id>griffin technology</id>
            <count>10</count>
            <selected/>
          </ApiFacetValuesInfo>
          <ApiFacetValuesInfo>
            <displayValue>180s</displayValue>
            <id>180s</id>
            <count>9</count>
            <selected/>
          </ApiFacetValuesInfo>
          <ApiFacetValuesInfo>
            <displayValue>emerson</displayValue>
            <id>emerson</id>
            <count>8</count>
            <selected/>
          </ApiFacetValuesInfo>
          <ApiFacetValuesInfo>
            <displayValue>dlo</displayValue>
            <id>dlo</id>
            <count>7</count>
            <selected/>
          </ApiFacetValuesInfo>
          <ApiFacetValuesInfo>
            <displayValue/>
            <id/>
            <count>6</count>
            <selected/>
          </ApiFacetValuesInfo>
          <ApiFacetValuesInfo>
            <displayValue>ihome</displayValue>
            <id>ihome</id>
            <count>6</count>
            <selected/>
          </ApiFacetValuesInfo>
          <ApiFacetValuesInfo>
            <displayValue>ilive</displayValue>
            <id>ilive</id>
            <count>6</count>
            <selected/>
          </ApiFacetValuesInfo>
          <ApiFacetValuesInfo>
            <displayValue>retrak / emerge</displayValue>
            <id>retrak / emerge</id>
            <count>6</count>
            <selected/>
          </ApiFacetValuesInfo>
          <ApiFacetValuesInfo>
            <displayValue>boss</displayValue>
            <id>boss</id>
            <count>5</count>
            <selected/>
          </ApiFacetValuesInfo>
          <ApiFacetValuesInfo>
            <displayValue>cyber acoustics</displayValue>
            <id>cyber acoustics</id>
            <count>5</count>
            <selected/>
          </ApiFacetValuesInfo>
          <ApiFacetValuesInfo>
            <displayValue>i.sound</displayValue>
            <id>i.sound</id>
            <count>5</count>
            <selected/>
          </ApiFacetValuesInfo>
          <ApiFacetValuesInfo>
            <displayValue>maxell</displayValue>
            <id>maxell</id>
            <count>5</count>
            <selected/>
          </ApiFacetValuesInfo>
          <ApiFacetValuesInfo>
            <displayValue>philips usa</displayValue>
            <id>philips usa</id>
            <count>5</count>
            <selected/>
          </ApiFacetValuesInfo>
          <ApiFacetValuesInfo>
            <displayValue>emerge tech</displayValue>
            <id>emerge tech</id>
            <count>4</count>
            <selected/>
          </ApiFacetValuesInfo>
          <ApiFacetValuesInfo>
            <displayValue>ifanatic</displayValue>
            <id>ifanatic</id>
            <count>4</count>
            <selected/>
          </ApiFacetValuesInfo>
          <ApiFacetValuesInfo>
            <displayValue>scosche</displayValue>
            <id>scosche</id>
            <count>4</count>
            <selected/>
          </ApiFacetValuesInfo>
        </values>
      </ApiFacetInfo>
      <ApiFacetInfo>
        <name>f_stock</name>
        <display_name>Stock</display_name>
        <values>
          <ApiFacetValuesInfo>
            <displayValue>in-stock</displayValue>
            <id>in-stock</id>
            <count>292</count>
            <selected/>
          </ApiFacetValuesInfo>
          <ApiFacetValuesInfo>
            <displayValue>discontinued</displayValue>
            <id>discontinued</id>
            <count/>
            <selected/>
          </ApiFacetValuesInfo>
          <ApiFacetValuesInfo>
            <displayValue>not-on-site</displayValue>
            <id>not-on-site</id>
            <count/>
            <selected/>
          </ApiFacetValuesInfo>
          <ApiFacetValuesInfo>
            <displayValue>out-of-stock</displayValue>
            <id>out-of-stock</id>
            <count/>
            <selected/>
          </ApiFacetValuesInfo>
        </values>
      </ApiFacetInfo>
      <ApiFacetInfo>
        <name>f_hasImage</name>
        <display_name>Has Image</display_name>
        <values>
          <ApiFacetValuesInfo>
            <displayValue>True</displayValue>
            <id>1</id>
            <count>292</count>
            <selected/>
          </ApiFacetValuesInfo>
          <ApiFacetValuesInfo>
            <displayValue>False</displayValue>
            <id/>
            <count/>
            <selected/>
          </ApiFacetValuesInfo>
        </values>
      </ApiFacetInfo>
      <ApiFacetInfo>
        <name>f_refurbished</name>
        <display_name>Refurbished</display_name>
        <values>
          <ApiFacetValuesInfo>
            <displayValue>False</displayValue>
            <id/>
            <count>292</count>
            <selected/>
          </ApiFacetValuesInfo>
          <ApiFacetValuesInfo>
            <displayValue>True</displayValue>
            <id>1</id>
            <count/>
            <selected/>
          </ApiFacetValuesInfo>
        </values>
      </ApiFacetInfo>
      <ApiFacetInfo>
        <name>f_attribute_l0</name>
        <display_name>Brands</display_name>
        <values/>
      </ApiFacetInfo>
    </facets>
    <total_search_results>292</total_search_results>
    <display_start/>
    <display_count>5</display_count>
    <products>
      <product>
        <item_id>603863</item_id>
        <item_sku>JWNJHE32</item_sku>
        <supplier_name>Petra Industries</supplier_name>
        <quantity_avail>5</quantity_avail>
        <in_warehouse/>
        <stats/>
        <product_id>366170</product_id>
        <title>EARPHONES FOR DIG DEVICES EARPHONES FOR DIG DEVICES</title>
        <price>2.04</price>
        <prepay_price>1.98</prepay_price>
        <msrp>3.15</msrp>
        <description>COMFORTABLE\, ULTRA-LIGHTWEIGHT DESIGN; IDEAL FOR DIGITAL DEVICES\, SUCH AS IPOD&reg;\, MINIDISC\, MP3 &amp; CD PLAYERS; WITH NECKLACE &amp; HIGH-PERFORMANCE SPEAKERS; WITHOUT IN-LINE VOLUME CONTROL&lt;br&gt;&lt;br&gt;</description>
        <image_url>http://d1k0ppjronk6up.cloudfront.net/products/109/images_prod_JWNJHE32.jpg</image_url>
        <image_height>300</image_height>
        <image_width>185</image_width>
        <thumb_url>http://d1k0ppjronk6up.cloudfront.net/products/109/images_prod_JWNJHE32.jpg</thumb_url>
        <thumb_width>0</thumb_width>
        <thumb_height>0</thumb_height>
        <in_stock>1</in_stock>
        <product_sku>JWNJHE32</product_sku>
        <brand>JWIN</brand>
        <product_group/>
      </product>
      <product>
        <item_id>604063</item_id>
        <item_sku>MXLP6</item_sku>
        <supplier_name>Petra Industries</supplier_name>
        <quantity_avail>12</quantity_avail>
        <in_warehouse/>
        <stats/>
        <product_id>366370</product_id>
        <title>UNIVERS HDPHONE SPLITR UNIVERS HDPHONE SPLITR</title>
        <price>2.77</price>
        <prepay_price>2.69</prepay_price>
        <msrp>4.28</msrp>
        <description>WORKS WITH ALL IPODS&reg; &amp; SHUFFLE ; ALLOWS CONNECTION OF 2 HEADPHONE SETS TO ALL IPODS&reg;\, MP3 PLAYERS\,;CD PLAYERS\, DVD PLAYERS &amp; OTHER;PORTABLE PLAYERS ; HIGH-SHIELDED CORD ;REDUCES INTERFERENCE; 24K GOLD-PLATED CONNECTOR;PROVIDES SUPERIOR CONTACT&lt;br&gt;&lt;br&gt;</description>
        <image_url>http://d1k0ppjronk6up.cloudfront.net/products/109/images_prod_MXLP6.jpg</image_url>
        <image_height>250</image_height>
        <image_width>216</image_width>
        <thumb_url>http://d1k0ppjronk6up.cloudfront.net/products/109/images_prod_MXLP6.jpg</thumb_url>
        <thumb_width>0</thumb_width>
        <thumb_height>0</thumb_height>
        <in_stock>1</in_stock>
        <product_sku>MXLP6</product_sku>
        <brand>MAXELL</brand>
        <product_group/>
      </product>
      <product>
        <item_id>603862</item_id>
        <item_sku>JWNJHE20WHT</item_sku>
        <supplier_name>Petra Industries</supplier_name>
        <quantity_avail>16</quantity_avail>
        <in_warehouse/>
        <stats/>
        <product_id>366169</product_id>
        <title>EARPHONES 4 PORTBLE AUDIO EARPHONES 4 PORTBLE AUDIO</title>
        <price>3.07</price>
        <prepay_price>2.98</prepay_price>
        <msrp>4.74</msrp>
        <description>COMFORTABLE\, ULTRA-LIGHTWEIGHT IN-EAR DESIGN; LEAD LENGTH ADJUSTS EASILY ; IDEAL FOR DIGITAL DEVICES\, SUCH AS IPOD&reg;\, MINIDISC\, MP3 &amp; CD PLAYERS; IN-LINE VOLUME CONTROL; HIGH-PERFORMANCE SPEAKERS; WHITE&lt;br&gt;&lt;br&gt;</description>
        <image_url>http://d1k0ppjronk6up.cloudfront.net/products/109/images_prod_JWNJHE20WHT.jpg</image_url>
        <image_height>300</image_height>
        <image_width>240</image_width>
        <thumb_url>http://d1k0ppjronk6up.cloudfront.net/products/109/images_prod_JWNJHE20WHT.jpg</thumb_url>
        <thumb_width>0</thumb_width>
        <thumb_height>0</thumb_height>
        <in_stock>1</in_stock>
        <product_sku>JWNJHE20WHT</product_sku>
        <brand>JWIN</brand>
        <product_group/>
      </product>
      <product>
        <item_id>652226</item_id>
        <item_sku>JP1413N</item_sku>
        <supplier_name>DBL</supplier_name>
        <quantity_avail>23</quantity_avail>
        <in_warehouse/>
        <stats/>
        <product_id>395213</product_id>
        <title>Breen Protective Silicone Skin For iPod&reg; nano 2G Breen Protective Silicone Skin For iPod&reg; nano 2G</title>
        <price>3.08</price>
        <prepay_price>2.99</prepay_price>
        <msrp>14.99</msrp>
        <description>&lt;li&gt;Hard case covers the screen for better all-around protection from fingerprints, nicks and scratches&lt;li&gt;Shock absorbing&lt;li&gt;Anti-dust; prevents ripping or tearing&lt;li&gt;2nd generation skin for remastered iPod&reg; nano&lt;li&gt;Includes lanyard</description>
        <image_url>http://d1k0ppjronk6up.cloudfront.net/products/1/images_catalog_xlarge_jp1413n.jpg</image_url>
        <image_height>250</image_height>
        <image_width>250</image_width>
        <thumb_url>http://d1k0ppjronk6up.cloudfront.net/products/1/_thumb/images_catalog_xlarge_jp1413n.jpg</thumb_url>
        <thumb_width>120</thumb_width>
        <thumb_height>120</thumb_height>
        <in_stock>1</in_stock>
        <product_sku>JP1413N</product_sku>
        <brand>Jensen</brand>
        <product_group/>
      </product>
      <product>
        <item_id>603753</item_id>
        <item_sku>JASAV23627</item_sku>
        <supplier_name>Petra Industries</supplier_name>
        <quantity_avail>37</quantity_avail>
        <in_warehouse/>
        <stats/>
        <product_id>366060</product_id>
        <title>CASSETTE ADAPTER CASSETTE ADAPTER</title>
        <price>3.49</price>
        <prepay_price>3.39</prepay_price>
        <msrp>5.39</msrp>
        <description>WORKS WITH ALL IPODS&reg; CD &amp; MP3 PLAYERS; QUICK &amp; EASY HOOK-UP; DIGITAL SOUND QUALITY; NO PERMANENT INSTALLATION REQUIRED; COMPATIBLE WITH CAR STEREOS\, HOME STEREOS\, MP3 PLAYERS &amp; ANY AUDIO SYSTEM WITH A CASSETTE DECK&lt;br&gt;&lt;br&gt;</description>
        <image_url>http://d1k0ppjronk6up.cloudfront.net/products/109/images_prod_JASAV23627.jpg</image_url>
        <image_height>121</image_height>
        <image_width>300</image_width>
        <thumb_url>http://d1k0ppjronk6up.cloudfront.net/products/109/images_prod_JASAV23627.jpg</thumb_url>
        <thumb_width>0</thumb_width>
        <thumb_height>0</thumb_height>
        <in_stock>1</in_stock>
        <product_sku>JASAV23627</product_sku>
        <brand>GE</brand>
        <product_group/>
      </product>
    </products>
    <exact_match>
      <product>
        <item_id>200</item_id>
        <item_sku>HC3000</item_sku>
        <supplier_name>Picksend</supplier_name>
        <quantity_avail/>
        <in_warehouse/>
        <stats/>
        <product_id>200</product_id>
        <title>Black &amp; Decker HC3000 Handychopper Plus Mincer/Chopper Black &amp; Decker HC3000 Handychopper Plus Mincer/Chopper</title>
        <price>11.68</price>
        <prepay_price>11.34</prepay_price>
        <msrp>22.68</msrp>
        <description/>
        <image_url>http://d1k0ppjronk6up.cloudfront.net/products/2/HC3000.jpg</image_url>
        <image_height>155</image_height>
        <image_width>200</image_width>
        <thumb_url>http://d1k0ppjronk6up.cloudfront.net/products/2/_thumb/HC3000.jpg</thumb_url>
        <thumb_width>120</thumb_width>
        <thumb_height>93</thumb_height>
        <in_stock/>
        <product_sku>HC3000</product_sku>
        <brand>Black &amp; Decker</brand>
        <product_group/>
      </product>
      <product>
        <item_id>9891</item_id>
        <item_sku>200-050</item_sku>
        <supplier_name>DBL</supplier_name>
        <quantity_avail>1880</quantity_avail>
        <in_warehouse/>
        <stats/>
        <product_id>9787</product_id>
        <title>F Coupler Female To Female - Nickel F Coupler Female To Female - Nickel</title>
        <price>0.1</price>
        <prepay_price>0.1</prepay_price>
        <msrp>0.95</msrp>
        <description>&lt;li&gt;Designed for joining 2 coaxial cables together</description>
        <image_url>http://d1k0ppjronk6up.cloudfront.net/products/1/200-050.jpg</image_url>
        <image_height>200</image_height>
        <image_width>240</image_width>
        <thumb_url>http://d1k0ppjronk6up.cloudfront.net/products/1/200-050.jpg</thumb_url>
        <thumb_width>0</thumb_width>
        <thumb_height>0</thumb_height>
        <in_stock>1</in_stock>
        <product_sku>200-050</product_sku>
        <brand>Steren</brand>
        <product_group/>
      </product>
    </exact_match>
  </response>
</dce>

getItemSearch Request Example - SOAP

<?php
$URL = "https://sandbox.doba.com/soap/wsdl/ApiPartnerSearch.wsdl";
$client = new SoapClient($URL, array("trace" => 1));
$objAuth = new stdClass();
$objAuth->username = "username";
$objAuth->password = "password";
$objRequest = new stdClass();
$objRequest->authentication = $objAuth;
$objRequest->retailer_id="12345";
$objRequest->virtual_warehouse="0";
$objRequest->user_folder_id="";
$objRequest->search_term="hammer";
$objRequest->saved_search_id="";
$objRequest->sort_column="price";
$objRequest->sort_direction="asc";
$objRequest->updated_within_last_days="0";
$objRequest->price_range_max="10";
$objRequest->price_range_min="5";
$objRequest->hide_descendents="0";
$objRequest->rollup_products="0";
$objRequest->display_count="10";
$objRequest->display_start="0";
$f_stock = new stdClass();
$f_stock->name = "f_stock";
$f_stock->ids = array("in-stock");
$objRequest->filter[]=$f_stock;
$f_cat = new stdClass();
$f_cat->name = "f_cat";
$f_cat->ids = array();
$objRequest->filter[]=$f_cat;
$f_supplier_id = new stdClass();
$f_supplier_id->name = "f_supplier_id";
$f_supplier_id->ids = array();
$objRequest->filter[]=$f_supplier_id;
$f_brand = new stdClass();
$f_brand->name = "f_brand";
$f_brand->ids = array();
$objRequest->filter[]=$f_brand;
$f_hasImage = new stdClass();
$f_hasImage->name = "f_hasImage";
$f_hasImage->ids = array("1");
$objRequest->filter[]=$f_hasImage;
$f_refurbished = new stdClass();
$f_refurbished->name = "f_refurbished";
$f_refurbished->ids = array("1","0");
$objRequest->filter[]=$f_refurbished;

try { $Response = $client->getItemSearch($objRequest); }
catch ( SOAPFault $e ) {$Response = ("Error ".$e->faultcode.": ".$e->faultstring); }

print "URL = $URL\n\n";
print "Method = getItemSearch\n\n";
print "Request:\n=====================================================\n\n";
print_r($objRequest);
print "\n\nResponse:\n=====================================================\n\n";
print_r($Response);
?>

getItemSearch Response Example - SOAP

stdClass Object
(
    [display_count] => 10
    [display_start] => 0
    [exact_match] => Array
        (
            [0] => stdClass Object
                (
                    [brand] => Steren
                    [description] => 
  • Designed for joining 2 coaxial cables together [image_height] => 200 [image_url] => http://d1k0ppjronk6up.cloudfront.net/products/1/200-050.jpg [image_width] => 240 [in_stock] => 1 [in_warehouse] => [item_id] => 9891 [item_sku] => 200-050 [msrp] => 0.95 [prepay_price] => 0.1 [price] => 0.1 [product_group] => [product_id] => 9787 [product_sku] => 200-050 [quantity_avail] => 1880 [stats] => [supplier_name] => Alpha [thumb_height] => 0 [thumb_url] => http://d1k0ppjronk6up.cloudfront.net/products/1/200-050.jpg [thumb_width] => 0 [title] => F Coupler Female To Female - Nickel F Coupler Female To Female - Nickel ) ) [facets] => Array ( [0] => stdClass Object ( [display_name] => Categories [name] => f_cat [values] => Array ( [0] => stdClass Object ( [count] => 3 [displayValue] => Apparel, shoes & jewelry [id] => 7913 [selected] => ) [1] => stdClass Object ( [count] => 8 [displayValue] => Automotive, tool & industrial [id] => 8071 [selected] => ) [2] => stdClass Object ( [count] => 15 [displayValue] => Books [id] => 8281 [selected] => ) [3] => stdClass Object ( [count] => 1 [displayValue] => Electronics & computer [id] => 8336 [selected] => ) [4] => stdClass Object ( [count] => 9 [displayValue] => Games, movies & music [id] => 9343 [selected] => ) [5] => stdClass Object ( [count] => 9 [displayValue] => Health & beauty [id] => 9679 [selected] => ) [6] => stdClass Object ( [count] => 20 [displayValue] => Unknown [id] => 3 [selected] => ) ) ) [1] => stdClass Object ( [display_name] => Suppliers [name] => f_supplier_id [values] => Array ( [0] => stdClass Object ( [count] => 17 [displayValue] => Baker and Taylor [id] => 474 [selected] => ) [1] => stdClass Object ( [count] => 11 [displayValue] => ISN Tools [id] => 21 [selected] => ) [2] => stdClass Object ( [count] => 9 [displayValue] => MDF Instruments Direct, Inc. [id] => 124 [selected] => ) [3] => stdClass Object ( [count] => 8 [displayValue] => Super D [id] => 476 [selected] => ) ) ) [2] => stdClass Object ( [display_name] => Brands [name] => f_brand [values] => Array ( [0] => stdClass Object ( [count] => 9 [displayValue] => mdf instruments usa [id] => mdf instruments usa [selected] => ) [1] => stdClass Object ( [count] => 4 [displayValue] => grip-on-tools [id] => grip-on-tools [selected] => ) [3] => stdClass Object ( [count] => 3 [displayValue] => melissa & doug [id] => melissa & doug [selected] => ) ) ) [3] => stdClass Object ( [display_name] => Stock [name] => f_stock [values] => Array ( [0] => stdClass Object ( [count] => 65 [displayValue] => in-stock [id] => in-stock [selected] => 1 ) [1] => stdClass Object ( [count] => 0 [displayValue] => [id] => [selected] => ) [2] => stdClass Object ( [count] => 0 [displayValue] => discontinued [id] => discontinued [selected] => ) [3] => stdClass Object ( [count] => 0 [displayValue] => not-on-site [id] => not-on-site [selected] => ) [4] => stdClass Object ( [count] => 0 [displayValue] => out-of-stock [id] => out-of-stock [selected] => ) ) ) [4] => stdClass Object ( [display_name] => Has Image [name] => f_hasImage [values] => Array ( [0] => stdClass Object ( [count] => 65 [displayValue] => True [id] => 1 [selected] => 1 ) [1] => stdClass Object ( [count] => 0 [displayValue] => False [id] => 0 [selected] => ) ) ) [5] => stdClass Object ( [display_name] => Refurbished [name] => f_refurbished [values] => Array ( [0] => stdClass Object ( [count] => 65 [displayValue] => False [id] => 0 [selected] => 1 ) [1] => stdClass Object ( [count] => 0 [displayValue] => True [id] => 1 [selected] => 1 ) ) ) [6] => stdClass Object ( [display_name] => Brands [name] => f_attribute_l0 [values] => ) ) [parent_categories] => Array ( ) [products] => Array ( [0] => stdClass Object ( [brand] => Melissa & Doug [description] => Two screwdrivers, a hammer and a saw are four of the essential seven tools in this collection. This extra thick wooden puzzle includes seven easy-grasp, chunky tool shaped pieces, each with a full-color, matching picture underneath. Tool pieces can stand on edges for pretend play. Encourages eye-hand, fine motor and creative expression skills.<br>Age Rating: 2 yrs + [image_height] => 627 [image_url] => http://d1k0ppjronk6up.cloudfront.net/products/2006/3731.jpg [image_width] => 830 [in_stock] => 1 [in_warehouse] => [item_id] => 4738905 [item_sku] => 3731 [msrp] => 9.99 [prepay_price] => 4.99 [price] => 5.12 [product_group] => [product_id] => 4185409 [product_sku] => 3731 [quantity_avail] => 55 [stats] => stdClass Object ( [item_count] => 1 [item_count_in_warehouse] => 0 [max_cost] => 5.12 [max_qty] => 55 [min_cost] => 5.12 [min_qty] => 55 ) [supplier_name] => Melissa & Doug [thumb_height] => 0 [thumb_url] => http://d1k0ppjronk6up.cloudfront.net/products/2006/ [thumb_width] => 0 [title] => Tools Chunky Puzzles Tools Chunky Puzzles ) [1] => stdClass Object ( [brand] => Melissa & Doug [description] => Pound the eight colorful wooden pegs into the wooden bench, then flip it over to repeat the activity again and again! Four pairs of pegs for color matching and wooden hammer included.<br>Age Rating: 2 yrs + [image_height] => 785 [image_url] => http://d1k0ppjronk6up.cloudfront.net/products/2006/0496.jpg [image_width] => 900 [in_stock] => 1 [in_warehouse] => [item_id] => 4739191 [item_sku] => 496 [msrp] => 9.99 [prepay_price] => 4.99 [price] => 5.12 [product_group] => [product_id] => 4185695 [product_sku] => 496 [quantity_avail] => 55 [stats] => stdClass Object ( [item_count] => 1 [item_count_in_warehouse] => 0 [max_cost] => 5.12 [max_qty] => 55 [min_cost] => 5.12 [min_qty] => 55 ) [supplier_name] => Melissa & Doug [thumb_height] => 0 [thumb_url] => http://d1k0ppjronk6up.cloudfront.net/products/2006/ [thumb_width] => 0 [title] => Pound-a-Peg Pound-a-Peg ) [2] => stdClass Object ( [brand] => Firepower [description] => [image_height] => 200 [image_url] => http://d1k0ppjronk6up.cloudfront.net/products/21/FPW1423-0086.jpg [image_width] => 200 [in_stock] => 1 [in_warehouse] => [item_id] => 209396 [item_sku] => FPW1423-0086 [msrp] => 7.8 [prepay_price] => 4.99 [price] => 5.14 [product_group] => [product_id] => 148373 [product_sku] => FPW1423-0086 [quantity_avail] => 11 [stats] => stdClass Object ( [item_count] => 1 [item_count_in_warehouse] => 0 [max_cost] => 5.14 [max_qty] => 11 [min_cost] => 5.14 [min_qty] => 11 ) [supplier_name] => ISN Tools [thumb_height] => 0 [thumb_url] => http://d1k0ppjronk6up.cloudfront.net/products/21/FPW1423-0086.jpg [thumb_width] => 0 [title] => Chipping Hammer Cone and Chisel, Coil Handle Chipping Hammer Cone and Chisel, Coil Handle ) [3] => stdClass Object ( [brand] => [description] => <p>The perfect first tool box for any child! This wooden tool set includes a saw, 3 kinds of wrenches, pliers, 2 screwdrivers, 2 hammers, an awl, and two “L” squares. Let their imagination run wild with a very fist tool set. Although most parts have been rounded or smoothed out, children should always be supervised when playing with any kind of tool. Comes with toolbox to keep all 12 tools in and the box measures 10 x 12.25 x 1.375 inches.</p> [image_height] => 700 [image_url] => http://d1k0ppjronk6up.cloudfront.net/products/451/website_home_large_80-25391.jpg [image_width] => 700 [in_stock] => 1 [in_warehouse] => [item_id] => 4878771 [item_sku] => 80-25391 [msrp] => 24.99 [prepay_price] => 5 [price] => 5.15 [product_group] => [product_id] => 4223382 [product_sku] => 80-25391 [quantity_avail] => 1901 [stats] => stdClass Object ( [item_count] => 1 [item_count_in_warehouse] => 0 [max_cost] => 5.15 [max_qty] => 1901 [min_cost] => 5.15 [min_qty] => 1901 ) [supplier_name] => Trademark Global [thumb_height] => 0 [thumb_url] => http://d1k0ppjronk6up.cloudfront.net/products/451/ [thumb_width] => 0 [title] => Child’s First Tool Set – All Wood in Toolbox with Re-Mailer Child’s First Tool Set – All Wood in Toolbox with Re-Mailer ) ) [saved_searches] => Array ( [0] => stdClass Object ( [criteria] => O:8:"stdClass":8:{s:13:"display_start";i:0;s:13:"display_count";i:20;s:11:"search_term";s:4:"ipod";s:11:"sort_column";s:0:"";s:14:"sort_direction";s:0:"";s:15:"rollup_products";i:0;s:16:"hide_descendents";i:0;s:12:"search_terms";a:1:{i:0;s:4:"ipod";}} [date_created] => 2008-11-14 13:50:00 [friendly_criteria] => O:8:"stdClass":1:{s:6:"search";s:4:"ipod";} [name] => ipod [results_per_page] => 20 [saved_search_id] => 37300 [sort_order] => 1 [view_option] => gallery ) ) [search_term] => hammer [total_search_results] => 65 )
  •  

     

    getProductDetail

    Starting August 31, 2009 this API method will begin returning the category information from our new taxonomy. No change to your code is required to accept the new category structure. As long as your currently updating new category information if the product changes categories, this update will not effect you.

    Retrieves detailed product information for the products requested.

    getProductDetail Request Parameters

    getProductDetail Response Parameters

    getProductDetail Example

    getProductDetail Request Example - XML

    <?php
    $URL = "https://sandbox.doba.com/api/xml_partner_api.php";
    $strRequest = "
    <dce>
    	<request>
    		
    <authentication>
    <username>username</username>
    <password>password</password>
    </authentication>
    <retailer_id>123456</retailer_id>
    
    
    		<action>getProductDetail</action>
    
    		<products>
    			<product>129935</product>
    			<product>137931</product>
    			<product>385982</product>
    		</products>
    
    		<items>
    			<item>422</item>
    		</items>
    				
    		<watchlists>
    			<watchlist>123</watchlist>
    		</watchlists>
    		
    	</request>
    </dce>
    ";
    $connection = curl_init();
    curl_setopt($connection, CURLOPT_URL, $URL );
    curl_setopt($connection, CURLOPT_SSL_VERIFYPEER, 0);
    curl_setopt($connection, CURLOPT_SSL_VERIFYHOST, 0);
    curl_setopt($connection, CURLOPT_POST, 1);
    curl_setopt($connection, CURLOPT_POSTFIELDS, $strRequest);
    curl_setopt($connection, CURLOPT_RETURNTRANSFER, 1);
    set_time_limit(108000);
    $strResponse = curl_exec($connection);
    if(curl_errno($connection)) {
    	print "Curl error: " . curl_error($connection);
    } else {
    	$info = curl_getinfo($connection);
    	print "HTTP Response Code = ".$info["http_code"]."\n";
    }
    curl_close($connection);
    
    print "URL = $URL\n\n";
    print "Method = getProductDetail\n\n";
    print "Request:\n=====================================================\n\n";
    print_r($strRequest);
    print "\n\nResponse:\n=====================================================\n\n";
    print_r($strResponse);
    ?>
    

    getProductDetail Response Example - XML

    <?xml version="1.0"?>
    <dce>
      <response>
        <outcome>success</outcome>
        <products>
          <product>
            <product_id>33491</product_id>
            <status>discontinued</status>
            <title>Jerzees heavyweight tee 100% cotton tee</title>
            <description>5.6oz., 100% preshrunk cotton tee (birch is 99% cotton, light oxford is 90/10 cotton/poly).Ribbed collar.Coverseamed neck front.Double-needle stitched hemmed sleeves and bottom.Taped shoulder to shoulder.</description>
            <additional_details/>
            <product_sku>03204</product_sku>
            <brand>Jerzees Activewear</brand>
            <condition>new</condition>
            <freight/>
            <ship_width>0</ship_width>
            <ship_length>0</ship_length>
            <ship_height>0</ship_height>
            <ship_weight>0.63</ship_weight>
            <ship_cost>6.50</ship_cost>
            <items>
              <item>
                <item_id>540248</item_id>
                <supplier_id>5</supplier_id>
                <name>Color: BLACK SM</name>
                <item_sku>03204~00A3</item_sku>
                <map>0.00</map>
                <price>1.86</price>
                <prepay_price>1.81</prepay_price>
                <msrp>4.45</msrp>
                <qty_avail>0</qty_avail>
                <stock>discontinued</stock>
                <last_update>2009-01-19 08:43:50</last_update>
                <in_warehouse/>
                <custom_fields/>
              </item>
            </items>
            <images>
              <image>
                <url>http://d1k0ppjronk6up.cloudfront.net/products/5/363M.jpg</url>
                <thumb_url>http://d1k0ppjronk6up.cloudfront.net/products/5/363M.jpg?maxX=120&amp;maxY=120</thumb_url>
                <image_height>250</image_height>
                <image_width>250</image_width>
                <default>1</default>
              </image>
            </images>
            <supplier_id>5</supplier_id>
            <supplier_name>Ruby</supplier_name>
            <supplier_processing>3-6 business days to ship out and receive tracking number.</supplier_processing>
            <supplier_alerts/>
            <upc/>
            <supplier_notes/>
            <supplier_drop_fee>0.00</supplier_drop_fee>
            <product_group>startup</product_group>
            <categories>
              <category>
                <id>33596</id>
                <name>Product Catalog</name>
                <selected/>
                <count/>
              </category>
              <category>
                <id>32330</id>
                <name>apparel and fashion</name>
                <selected/>
                <count/>
              </category>
              <category>
                <id>32778</id>
                <name>women's fitness apparel</name>
                <selected/>
                <count/>
              </category>
              <category>
                <id>32785</id>
                <name>active shirts</name>
                <selected/>
                <count/>
              </category>
              <category>
                <id>32792</id>
                <name>short sleeve shirts</name>
                <selected/>
                <count/>
              </category>
            </categories>
            <supplier>
              <id>5</id>
              <name>Ruby</name>
              <drop_ship_fee>0.00</drop_ship_fee>
              <visibility_group>startup</visibility_group>
              <date_active>2003-07-12</date_active>
              <allows_custom_branding>0</allows_custom_branding>
              <allows_direct_relationships>0</allows_direct_relationships>
              <product_alerts/>
              <classification/>
              <summary>Supplier Specification: DistributorPrimary Industry: Apparel and FashionServices and Products Offered: Americas largest wholesaler of imprint able apparel, and the largest distributor of sport shirts in the world. Their product selection includes recreation and casual clothing including: athletic, childrens, closeouts, fleece, head wear, ladies, t-shirts, short shirts, etc.Days to Ship Average:  0-3 Days:  65%4-7 Days:  35%8-10 Days:  0%over 10+ days:  0Overall Fulfillment %:  95%</summary>
              <alerts/>
              <avg_ship_time>1.23</avg_ship_time>
              <item_count>10787</item_count>
              <fulfillment_percentage>100</fulfillment_percentage>
              <rma_percentage>0</rma_percentage>
              <avg_item_lifespan>0</avg_item_lifespan>
              <num_in_stock>10161</num_in_stock>
              <num_out_of_stock/>
              <inventory_update_frequency>1.11</inventory_update_frequency>
              <avg_qty_in_stock>3607</avg_qty_in_stock>
              <notes/>
              <ship_price_strategy_class>Normal</ship_price_strategy_class>
            </supplier>
            <productStats/>
            <messages/>
          </product>
        </products>
      </response>
    </dce>
    

    getProductDetail Request Example - SOAP

    <?php
    $URL = "https://sandbox.doba.com/soap/wsdl/ApiPartnerSearch.wsdl";
    $client = new SoapClient($URL, array("trace" => 1));
    $objAuth = new stdClass();
    $objAuth->username = "username";
    $objAuth->password = "password";
    $objRequest = new stdClass();
    $objRequest->authentication = $objAuth;
    $objRequest->retailer_id="123456";
    $objRequest->products=Array( 1, 2, 3, 4, 5 );
    $objRequest->items=Array("114942");
    $objRequest->watchlists=Array();
    
    try { $Response = $client->getProductDetail($objRequest); }
    catch ( SOAPFault $e ) {$Response = ("Error ".$e->faultcode.": ".$e->faultstring); }
    
    print "URL = $URL\n\n";
    print "Method = getProductDetail\n\n";
    print "Request:\n=====================================================\n\n";
    print_r($objRequest);
    print "\n\nResponse:\n=====================================================\n\n";
    print_r($Response);
    ?>
    

    getProductDetail Response Example - SOAP

    Array
    (
        [0] => stdClass Object
            (
                [additional_details] => 
                [brand] => MacAlly
                [categories] => Array
                    (
                        [0] => stdClass Object
                            (
                                [count] => 
                                [id] => 33596
                                [name] => Product Catalog
                                [selected] => 
                            )
    
                        [1] => stdClass Object
                            (
                                [count] => 
                                [id] => 30480
                                [name] => consumer electronics
                                [selected] => 
                            )
    
                        [2] => stdClass Object
                            (
                                [count] => 
                                [id] => 120094
                                [name] => ipod
                                [selected] => 
                            )
    
                        [3] => stdClass Object
                            (
                                [count] => 
                                [id] => 128304
                                [name] => ipod docks and speakers
                                [selected] => 
                            )
    
                    )
    
                [condition] => new
                [description] => Tiny, portable, battery-operated stereo speakers.  Enjoy your iPod music without headsets or large wired external speakers.  On/Off switch to save battery life while not in use.  Works with iPod mini, iPod or any audio players with a 3.5mm jack.
                [freight] => 
                [images] => Array
                    (
                        [0] => stdClass Object
                            (
                                [default] => 1
                                [image_height] => 300
                                [image_width] => 300
                                [thumb_url] => http://d1k0ppjronk6up.cloudfront.net/products/4/PODWAVE.jpg?maxX=120&maxY=120
                                [url] => http://d1k0ppjronk6up.cloudfront.net/products/4/PODWAVE.jpg
                            )
    
                    )
    
                [items] => Array
                    (
                        [0] => stdClass Object
                            (
                                [custom_fields] => Array
                                    (
                                    )
    
                                [in_warehouse] => 
                                [item_id] => 114942
                                [item_sku] => PODWAVE
                                [last_update] => 2009-02-10 13:05:11
                                [map] => 0
                                [msrp] => 19.99
                                [name] => iPod Speakers IP-A111
                                [prepay_price] => 13.29
                                [price] => 13.68
                                [qty_avail] => 21
                                [stock] => in-stock
                                [supplier_id] => 4
                            )
    
                    )
    
                [messages] => 
                [productStats] => 
                [product_group] => free_member
                [product_id] => 88028
                [product_sku] => PODWAVE
                [ship_cost] => 6.6
                [ship_height] => 0
                [ship_length] => 0
                [ship_weight] => 0.2
                [ship_width] => 0
                [status] => available
                [supplier] => stdClass Object
                    (
                        [alerts] => 
                        [allows_custom_branding] => 
                        [allows_direct_relationships] => 1
                        [avg_item_lifespan] => 15
                        [avg_qty_in_stock] => 139
                        [avg_ship_time] => 1.5
                        [classification] => Distributor
                        [date_active] => 2003-07-11
                        [drop_ship_fee] => 0
                        [fulfillment_percentage] => 90.31
                        [id] => 4
                        [inventory_update_frequency] => 1.07
                        [item_count] => 25823
                        [name] => Diamond
                        [notes] => This supplier does not ship to Hawaii or Alaska. For most home entertainment, video games, and opened software the supplier cannot accept the return, please check with customer service if you are having troubles with an RMA request for one of these.
                        [num_in_stock] => 17693
                        [num_out_of_stock] => 
                        [product_alerts] => 
                        [rma_percentage] => 2.42
                        [ship_price_strategy_class] => FedEx
                        [summary] => Supplier Specification: Distributor Primary Industry: Computer and LaptopServices and Products Offered: One of Americas oldest & largest computer, consumer electronics and small appliance distributors.  They offer a  great selection of products like computers, audio and video products, printers, hard drives, mp3 players, watches, projectors, organizers, digital security, and more.Days to Ship Average:  0-3 Days:  91%4-7 Days:  8%8-10 Days:  0%over 10+ days:  0Overall Fulfillment %:  98%
    
    *This supplier does not ship to HI & AK.*
                        [visibility_group] => free
                    )
    
                [supplier_alerts] => 
                [supplier_drop_fee] => 0.00
                [supplier_id] => 4
                [supplier_name] => Diamond
                [supplier_notes] => This supplier does not ship to Hawaii or Alaska. For most home entertainment, video games, and opened software the supplier cannot accept the return, please check with customer service if you are having troubles with an RMA request for one of these.
                [supplier_processing] => 2-5 business days to ship out and receive tracking number.
                [title] => iPod Speakers IP-A111
                [upc] => 701107486055
            )
    
    )
    

     

     

    getProductInventory

    Retrieves current inventory information for the requested products.

    getProductInventory Request Parameters

    getProductInventory Response Parameters

     

     

    getProductInventory Example

    getProductInventory Request Example - XML

    <?php
    $URL = "https://sandbox.doba.com/api/xml_partner_api.php";
    $strRequest = "
    <dce>
    	<request>
    		
    <authentication>
    <username>username</username>
    <password>password</password>
    </authentication>
    <retailer_id>123456</retailer_id>
    
    
    		<action>getProductInventory</action>
    
    		<products>
    			<product>405</product>
    		</products>
    
    		<items>
    			<item>422</item>
    		</items>
    				
    		<watchlists>
    			<watchlist>123</watchlist>
    		</watchlists>
    		
    	</request>
    </dce>
    ";
    $connection = curl_init();
    curl_setopt($connection, CURLOPT_URL, $URL );
    curl_setopt($connection, CURLOPT_SSL_VERIFYPEER, 0);
    curl_setopt($connection, CURLOPT_SSL_VERIFYHOST, 0);
    curl_setopt($connection, CURLOPT_POST, 1);
    curl_setopt($connection, CURLOPT_POSTFIELDS, $strRequest);
    curl_setopt($connection, CURLOPT_RETURNTRANSFER, 1);
    set_time_limit(108000);
    $strResponse = curl_exec($connection);
    if(curl_errno($connection)) {
    	print "Curl error: " . curl_error($connection);
    } else {
    	$info = curl_getinfo($connection);
    	print "HTTP Response Code = ".$info["http_code"]."\n";
    }
    curl_close($connection);
    
    print "URL = $URL\n\n";
    print "Method = getProductInventory\n\n";
    print "Request:\n=====================================================\n\n";
    print_r($strRequest);
    print "\n\nResponse:\n=====================================================\n\n";
    print_r($strResponse);
    ?>
    

    getProductInventory Response Example - XML

    <?xml version="1.0"?>
    <dce>
      <response>
        <outcome>success</outcome>
        <items>
          <item>
            <item_id>405</item_id>
            <product_id>405</product_id>
            <stock>in-stock</stock>
            <qty_avail>1</qty_avail>
            <price>56.44</price>
            <prepay_price>56.44</prepay_price>
          </item>
          <item>
            <item_id>422</item_id>
            <product_id>422</product_id>
            <stock>discontinued</stock>
            <qty_avail>0</qty_avail>
            <price>15.93</price>
            <prepay_price>15.93</prepay_price>
          </item>
        </items>
      </response>
    </dce>
    

    getProductInventory Request Example - SOAP

    <?php
    $URL = "https://sandbox.doba.com/soap/wsdl/ApiPartnerSearch.wsdl";
    $client = new SoapClient($URL, array("trace" => 1));
    $objAuth = new stdClass();
    $objAuth->username = "username";
    $objAuth->password = "password";
    $objRequest = new stdClass();
    $objRequest->authentication = $objAuth;
    $objRequest->retailer_id="123456";
    $objRequest->products=Array();
    $objRequest->items=Array("880705","150073");
    $objRequest->watchlists=Array();
    
    try { $Response = $client->getProductInventory($objRequest); }
    catch ( SOAPFault $e ) {$Response = ("Error ".$e->faultcode.": ".$e->faultstring); }
    
    print "URL = $URL\n\n";
    print "Method = getProductInventory\n\n";
    print "Request:\n=====================================================\n\n";
    print_r($objRequest);
    print "\n\nResponse:\n=====================================================\n\n";
    print_r($Response);
    ?>
    

    getProductInventory Response Example - SOAP

    Array
    (
        [0] => stdClass Object
            (
                [item_id] => 150073
                [prepay_price] => 2.53
                [price] => 2.6
                [product_id] => 106044
                [qty_avail] => 0
                [stock] => discontinued
            )
    
        [1] => stdClass Object
            (
                [item_id] => 880705
                [prepay_price] => 101.5
                [price] => 104.5
                [product_id] => 591594
                [qty_avail] => 78
                [stock] => in-stock
            )
    
    )
    

     

     

    getWatchlists

    Retrieves a list of watch lists currently saved within a merchants account. Watch lists can be created and managed at http://www.doba.com

    If you don't have access to watch lists, but instead have access to Warehouse Folders, you should be using the getWarehouseFolders method.

    getWatchlists Request Parameters

    getWatchlists Response Parameters

     

     

    getWatchlists Example

    getWatchlists Request Example - XML

    <?php
    $URL = "https://sandbox.doba.com/api/xml_partner_api.php";
    $strRequest = "
    <dce>
    	<request>
    		
    <authentication>
    <username>username</username>
    <password>password</password>
    </authentication>
    <retailer_id>123456</retailer_id>
    
    
    		<action>getWatchlists</action>
    	</request>
    </dce>
    ";
    $connection = curl_init();
    curl_setopt($connection, CURLOPT_URL, $URL );
    curl_setopt($connection, CURLOPT_SSL_VERIFYPEER, 0);
    curl_setopt($connection, CURLOPT_SSL_VERIFYHOST, 0);
    curl_setopt($connection, CURLOPT_POST, 1);
    curl_setopt($connection, CURLOPT_POSTFIELDS, $strRequest);
    curl_setopt($connection, CURLOPT_RETURNTRANSFER, 1);
    set_time_limit(108000);
    $strResponse = curl_exec($connection);
    if(curl_errno($connection)) {
    	print "Curl error: " . curl_error($connection);
    } else {
    	$info = curl_getinfo($connection);
    	print "HTTP Response Code = ".$info["http_code"]."\n";
    }
    curl_close($connection);
    
    print "URL = $URL\n\n";
    print "Method = getWatchlists\n\n";
    print "Request:\n=====================================================\n\n";
    print_r($strRequest);
    print "\n\nResponse:\n=====================================================\n\n";
    print_r($strResponse);
    ?>
    

    getWatchlists Response Example - XML

    <?xml version="1.0"?>
    <dce>
      <response>
        <outcome>success</outcome>
        <watchlists>
          <watchlist>
            <watchlist_id>109587</watchlist_id>
            <retailer_id>1227885</retailer_id>
            <name>iPod Shuffle Dynamic</name>
            <default>1</default>
            <send_callback>1</send_callback>
            <item_count>143</item_count>
          </watchlist>
          <watchlist>
            <watchlist_id>177477</watchlist_id>
            <retailer_id>1227885</retailer_id>
            <name>2009-02-11 14:42:02</name>
            <default>0</default>
            <send_callback>0</send_callback>
            <item_count>2575</item_count>
            <type>dynamic</type>
          </watchlist>
        </watchlists>
      </response>
    </dce>
    

    getWatchlists Request Example - SOAP

    <?php
    $URL = "https://sandbox.doba.com/soap/wsdl/ApiPartnerSearch.wsdl";
    $client = new SoapClient($URL, array("trace" => 1));
    $objAuth = new stdClass();
    $objAuth->username = "username";
    $objAuth->password = "password";
    $objRequest = new stdClass();
    $objRequest->authentication = $objAuth;
    $objRequest->retailer_id="1223418";
    
    try { $Response = $client->getWatchlists($objRequest); }
    catch ( SOAPFault $e ) {$Response = ("Error ".$e->faultcode.": ".$e->faultstring); }
    
    print "URL = $URL\n\n";
    print "Method = getWatchlists\n\n";
    print "Request:\n=====================================================\n\n";
    print_r($objRequest);
    print "\n\nResponse:\n=====================================================\n\n";
    print_r($Response);
    ?>
    

    getWatchlists Response Example - SOAP

    Array
    (
        [0] => stdClass Object
            (
                [default] => 1
                [item_count] => 58
                [name] => ipod
                [retailer_id] => 1223418
                [send_callback] => 1
                [watchlist_id] => 94250
                [type] => dynamic
            )
    
        [1] => stdClass Object
            (
                [default] => 
                [item_count] => 99
                [name] => 2008-05-23 14:34:14
                [retailer_id] => 1223418
                [send_callback] => 1
                [watchlist_id] => 94251
                [type] => static
            )
    
        [2] => stdClass Object
            (
                [default] => 
                [item_count] => 2
                [name] => Golf
                [retailer_id] => 1223418
                [send_callback] => 1
                [watchlist_id] => 94252
                [type] => static
            )
    
    )
    

     

     

    getWatchlistProducts

    Retrieves basic product detail for the requested watch list. Only one watch list can be retrieved per request.

    getWatchlistProducts Request Parameters

    getWatchlistProducts Response Parameters

     

     

    getWatchlistProducts Example

    getWatchlistProducts Request Example - XML

    <?php
    $URL = "https://sandbox.doba.com/api/xml_partner_api.php";
    $strRequest = "
    <dce>
    	<request>
    		
    <authentication>
    <username>username</username>
    <password>password</password>
    </authentication>
    <retailer_id>123456</retailer_id>
    
    
    		<action>getWatchlistProducts</action>
    		<watchlist_id>123</watchlist_id>
    		<limit>10000</limit>
    		<offset>0</offset>
    		<changes_only>0</changes_only>
    	</request>
    </dce>
    ";
    $connection = curl_init();
    curl_setopt($connection, CURLOPT_URL, $URL );
    curl_setopt($connection, CURLOPT_SSL_VERIFYPEER, 0);
    curl_setopt($connection, CURLOPT_SSL_VERIFYHOST, 0);
    curl_setopt($connection, CURLOPT_POST, 1);
    curl_setopt($connection, CURLOPT_POSTFIELDS, $strRequest);
    curl_setopt($connection, CURLOPT_RETURNTRANSFER, 1);
    set_time_limit(108000);
    $strResponse = curl_exec($connection);
    if(curl_errno($connection)) {
    	print "Curl error: " . curl_error($connection);
    } else {
    	$info = curl_getinfo($connection);
    	print "HTTP Response Code = ".$info["http_code"]."\n";
    }
    curl_close($connection);
    
    print "URL = $URL\n\n";
    print "Method = getWatchlistProducts\n\n";
    print "Request:\n=====================================================\n\n";
    print_r($strRequest);
    print "\n\nResponse:\n=====================================================\n\n";
    print_r($strResponse);
    ?>
    

    getWatchlistProducts Response Example - XML

    <?xml version="1.0"?>
    <dce>
      <response>
        <outcome>success</outcome>
        <ApiGetWatchlistProductsResponse>
          <result_total>3</result_total>
          <watchlist_id>124673</watchlist_id>
          <products>
            <watchlist_items>
              <event/>
              <item_id>198047</item_id>
              <stock>in-stock</stock>
              <qty_avail>294</qty_avail>
              <item_name>PowerBlock/iPod AC Adapter</item_name>
              <product_id>137931</product_id>
              <price>19.28</price>
              <msrp>29.99</msrp>
              <last_update>2009-02-20 13:00:39</last_update>
            </watchlist_items>
            <watchlist_items>
              <event/>
              <item_id>501219</item_id>
              <stock>in-stock</stock>
              <qty_avail>17</qty_avail>
              <item_name>Black Noise Isolating Earphones</item_name>
              <product_id>299366</product_id>
              <price>86.26</price>
              <msrp>149.95</msrp>
              <last_update>2009-02-11 09:45:17</last_update>
            </watchlist_items>
            <watchlist_items>
              <event/>
              <item_id>206025</item_id>
              <stock>out-of-stock</stock>
              <qty_avail>0</qty_avail>
              <item_name>iPod Video 30GB Aluminum Case</item_name>
              <product_id>145317</product_id>
              <price>18.27</price>
              <msrp>34.95</msrp>
              <last_update>2009-02-11 09:45:16</last_update>
            </watchlist_items>
          </products>
        </ApiGetWatchlistProductsResponse>
      </response>
    </dce>
    

    getWatchlistProducts Request Example - SOAP

    <?php
    $URL = "https://sandbox.doba.com/soap/wsdl/ApiPartnerSearch.wsdl";
    $client = new SoapClient($URL, array("trace" => 1));
    $objAuth = new stdClass();
    $objAuth->username = "username";
    $objAuth->password = "password";
    $objRequest = new stdClass();
    $objRequest->authentication = $objAuth;
    $objRequest->retailer_id="123456";
    $objRequest->offset="0";
    $objRequest->limit="10000";
    $objRequest->watchlist_id="654321";
    $objRequest->changes_only="0";
    
    try { $Response = $client->getWatchlistProducts($objRequest); }
    catch ( SOAPFault $e ) {$Response = ("Error ".$e->faultcode.": ".$e->faultstring); }
    
    print "URL = $URL\n\n";
    print "Method = getWatchlistProducts\n\n";
    print "Request:\n=====================================================\n\n";
    print_r($objRequest);
    print "\n\nResponse:\n=====================================================\n\n";
    print_r($Response);
    ?>
    

    getWatchlistProducts Response Example - SOAP

    stdClass Object
    (
        [products] => Array
            (
                [0] => stdClass Object
                    (
                        [event] => 
                        [price] => 19.28
                        [item_id] => 198047
                        [item_name] => PowerBlock/iPod AC Adapter
                        [last_update] => 2009-02-20 13:00:39
                        [msrp] => 29.99
                        [product_id] => 137931
                        [qty_avail] => 294
                        [stock] => in-stock
                    )
    
                [1] => stdClass Object
                    (
                        [event] => 
                        [price] => 86.26
                        [item_id] => 501219
                        [item_name] => Black Noise Isolating Earphones
                        [last_update] => 2009-02-11 09:45:17
                        [msrp] => 149.95
                        [product_id] => 299366
                        [qty_avail] => 17
                        [stock] => in-stock
                    )
    
                [2] => stdClass Object
                    (
                        [event] => 
                        [price] => 18.27
                        [item_id] => 206025
                        [item_name] => iPod Video 30GB Aluminum Case
                        [last_update] => 2009-02-11 09:45:16
                        [msrp] => 34.95
                        [product_id] => 145317
                        [qty_avail] => 0
                        [stock] => out-of-stock
                    )
    
            )
    
        [result_total] => 3
        [watchlist_id] => 125467
    )
    

     

     

    editWatchlist

    Adds or removes items from a specified watchlist.

    There can be only one API call per action, meaning that if a retailer wants to add and remove products from a watchlist, one API call should be issued for adding products and another API call should be issued for the removal.

    New watchlists can be created using this method. To create a new watchlist, simply include all of the item_id's you wish to add to the new watchlist, or the saved_search_id's, and provide a watchlist_name, but do not specify the watchlist_id or watchlist_ids. If watchlist_id or watchlist_ids is specified it will search the watchlists for the watchlist_id and attempt to update it. If none is provided, it will create a new watchlist.

    editWatchlist Request Parameters

    editWatchlist Response Parameters

    editWatchlist Request Example - XML

    <?php
    $URL = "https://sandbox.doba.com/api/xml_partner_api.php";
    $strRequest = "
    <dce>
    	<request>
    		
    <authentication>
    <username>password</username>
    <password>password</password>
    </authentication>
    <retailer_id>123456</retailer_id>
    
    
    		<action>editWatchlist</action>
    		
    		<watchlist_id>654</watchlist_id>
    		<item_ids>
    			<item>22043</item>
    		</item_ids>
    		
    	</request>
    </dce>
    ";
    $connection = curl_init();
    curl_setopt($connection, CURLOPT_URL, $URL );
    curl_setopt($connection, CURLOPT_SSL_VERIFYPEER, 0);
    curl_setopt($connection, CURLOPT_SSL_VERIFYHOST, 0);
    curl_setopt($connection, CURLOPT_POST, 1);
    curl_setopt($connection, CURLOPT_POSTFIELDS, $strRequest);
    curl_setopt($connection, CURLOPT_RETURNTRANSFER, 1);
    set_time_limit(108000);
    $strResponse = curl_exec($connection);
    if(curl_errno($connection)) {
    	print "Curl error: " . curl_error($connection);
    } else {
    	$info = curl_getinfo($connection);
    	print "HTTP Response Code = ".$info["http_code"]."\n";
    }
    curl_close($connection);
    
    print "URL = $URL\n\n";
    print "Method = editWatchlist\n\n";
    print "Request:\n=====================================================\n\n";
    print_r($strRequest);
    print "\n\nResponse:\n=====================================================\n\n";
    print_r($strResponse);
    ?>
    

    editWatchlist Response Example - XML

    <?xml version="1.0"?>
    <dce>
      <response>
        <outcome>success</outcome>
        <ApiEditWatchlistResponse>
          <watchlist_id>12345</watchlist_id>
          <num_added>1</num_added>
          <num_removed/>
        </ApiEditWatchlistResponse>
      </response>
    </dce>
    

    editWatchlist Request Example - SOAP

    <?php
    $URL = "https://sandbox.doba.com/soap/wsdl/ApiPartnerSearch.wsdl";
    $client = new SoapClient($URL, array("trace" => 1));
    $objAuth = new stdClass();
    $objAuth->username = "username";
    $objAuth->password = "password";
    $objRequest = new stdClass();
    $objRequest->authentication = $objAuth;
    $objRequest->retailer_id="1223418";
    $objRequest->item_ids=Array("22044");
    
    try { $Response = $client->editWatchlist($objRequest); }
    catch ( SOAPFault $e ) {$Response = ("Error ".$e->faultcode.": ".$e->faultstring); }
    
    print "URL = $URL\n\n";
    print "Method = editWatchlist\n\n";
    print "Request:\n=====================================================\n\n";
    print_r($objRequest);
    print "\n\nResponse:\n=====================================================\n\n";
    print_r($Response);
    ?>
    

    editWatchlist Response Example - SOAP

    stdClass Object
    (
        [num_added] => 1
        [num_removed] => 0
        [watchlist_id] => 12345
    )