magento-client-php
magento-client-php copied to clipboard
A PHP client library that consumes Magento's REST and XMLRPC APIs
e.g. for uploading images, other request types then GET (such as POST, DELETE, HEAD,...) must be done. The Readme.md should be updated to cover at least the POST case.
if the "base_url" contains path components (because Magento is not installed in "/" on the web server, this part of the path is stripped, resulting in a 404. This should...
Are there any plans to update this project to be compatible with Guzzle 6 and PHP 7.2+?
As I understand it Magento uses three-legged OAuth 1.0a (source: http://devdocs.magento.com/guides/m1x/api/rest/introduction.html#RESTAPIIntroduction-CreateasimpleproductasanAdminuserwithOAuthauthentication). In three-legged OAuth 1.0a you start with a key / secret and get the token from the service (http://oauthbible.com/#oauth-10a-three-legged)....
ResponseException in ResponseException.php line 33: Invalid option type. in ResponseException.php line 33 at ResponseException::fault(array('faultCode' => '104', 'faultString' => 'Invalid option type.')) in Client.php line 162 at Client->call('call', array('d308853df3d0ebedb21ce35a4195d15c', 'product_custom_option_value.list', array('4')))...
I tried to use the put function to update my products in magento, but it doesn't work. Can you help me? $result = $client->put('/api/rest/products/1333', null, ["price" => "50"])->send();
I've found it easy to make GET requests using the client, but having problems trying to fire a products object onto a POST request. Something like: $product = [ "description"...