I'm having trouble finding documentation that makes me think that you can make requests with PHP to retrieve product listing from SalesForce. I see plenty of information about getting contacts, but not products. Is it possible to get p开发者_运维技巧roducts? If so, can you point to where I can learn about this.
You want to read the docs on the Salesforce PHP Toolkit and the Salesforce WS API documentation.
All the objects in the following url can be accessed by the API. Search here for Product, you will see all the related info: http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_objects_list.htm
To retrieve product listing from SalesForce
$queryString = 'SELECT Id, Name, ProductCode FROM Product2 ORDER BY Name LIMIT 10'; $products= $mySforceConnection -> query($queryString); print_r($products);
精彩评论