Category Archives: xml-rpc

How to create Magento’s Custom API?

It is not in-depth tutorial but description on how I tackled creation of custom API for magento. There are still vast fields of unknown but at least this will let you start building your own API and let you learn, … Continue reading

Posted in magento, php, xml-rpc | Tagged , , | 17 Comments

Where is Varien_Object?

While battling with the Custom API I tried to locate Varien_Object class, I couldn’t locate it nowhere within the “app” folder, when I looked again at the magento’s root folder I have noticed “lib” folder, bingo, I have found it, … Continue reading

Posted in magento, xml-rpc | Tagged , | Comments Off on Where is Varien_Object?

Things to remember when calling API methods

It’s been frustrating hour, I’ve been sitting and trying to figure it out why my call to sales_order.list doesn’t work, I thought “it can’t be” everything is fine (looks like) but it returns faultCode=620 faultMessage=”Method “sales_order.list” does not exist”

Posted in magento, xml-rpc | Tagged , | Comments Off on Things to remember when calling API methods

Magento API – resources method

Still didn’t gave up on this, following is the update on my progress. I have created in magento 3 types of roles, admin, read only and customer. I wanted to check what is the difference from the API point of … Continue reading

Posted in magento, xml-rpc | Tagged , , | Comments Off on Magento API – resources method

2nd Post From Flash!

And another sent from flash, I have used the metaWeblog.newPost(string blogid, string username, string password, struct content, bool publish) Following is the structure passed as a third argument:

Posted in flash, xml-rpc | Tagged , , | Comments Off on 2nd Post From Flash!