开发者

Accessing SalesForce products with PHP

开发者 https://www.devze.com 2023-03-22 07:39 出处:网络
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 n

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);

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号