Questions tagged [api]

An application programming interface (API) specifies how some software components should interact with each other.

Filter by
Sorted by
Tagged with
1
vote
2answers
9k views

Magento soap api login failed using PHP

I am working with magento soap api and it's works fine in my local machine and development server but when i moved my code to production server i found the following error: Fatal error: Uncaught ...
2
votes
1answer
136 views

Logging in using the API

I've been poking around the web looking for a solution to this, but I can't seem to find anything concrete. I have a site that has a non-Magento frontend. We're using the cart, checkout, and users ...
1
vote
2answers
2k views

Magento API gives Access Denied when trying to add a coupon

I am using the SOAP API for Magento (v1.5.1.0) and have managed to get the entire process of creating a cart, adding user, adding billing/shipping addresses, payment methods, etc. working, however I ...
2
votes
2answers
4k views

Magento API speed [duplicate]

Does anyone know any techniques for speeding up Magento's API? We have recently been working on an integration that is heavily dependant on a variety of API calls running at a reasonable speed, ...
1
vote
2answers
740 views

Magento API V2 catalogProductAttributeAddOption (with compliance mode) - add attribute

I am trying to call catalogProductAttributeAddOption with V2 of Magento's API with compliance mode enabled but am getting: call to undefined method stdClass::catalogProductAttributeAddOption() My ...
16
votes
1answer
9k views

Why are my SOAP v2 WS-I calls so slow (7-10 sec. per product update)?

We're using the Magento SOAP v2 API with WS-I. The problem is, that the SOAP calls are extremly slow (7-10 seconds per product!). We're calling catalogProductUpdate without images. The shop itself ...
10
votes
1answer
7k views

Where do you put modified WSDL files for the API to override the core definitions?

We've updated the standard WSDL definitions to support bundled product attributes for sku_type and price_type. I've tried putting the updated WSDL and WSI files in app/code/local/Mage/Catalog/etc/, ...
4
votes
1answer
2k views

Multidimensional Arrays in Magento WSDL file (WSI compliant)

Have been working to get an API call working to edit an order via API, and remove items or quantity from a current order and save as a new order. My issue is with passed an array of items & qty's ...
0
votes
2answers
1k views

How do I list all adresses changed after a certain date in a multi call?

I'm using the magento soap v1 api, and I wish to get all the adresses changed after a certain datetime. I’m using php to setup the connection and fetch the data. I have the following users to play ...
4
votes
2answers
1k views

Magento Credit memo before invoice captured

The client I am working with has a requirement that they are able to give credit memos before either full or partial capture of an invoice (i.e. money is authorized but not paid). The idea being that ...
1
vote
1answer
292 views

soap api v1 way to request customer_adress.list for all customers who updated after xxx date

Is there a way to retrieve the entire list of adresses that have changed after a given datetime? It now fails because it wishes an user id. I'd hate have to loop through all the adresses(which are ...
1
vote
1answer
30 views

last_update flag of user data also changed when user changes address details?

I'm accessing the magento store via v1 soap api. User details have a last_update flag that tells me when the last change has been. Does anyone here know if this flag also changes if a user changes ...
5
votes
1answer
2k views

Empty SOAP response for customer.list or order.list

Has anyone seen this before where Magento's order.list call returns valid SOAP Response Headers but an empty Response? And the worst part is that subsequent calls with the same from/to range succeed, ...
10
votes
2answers
6k views

Speed up magento soap v1

I have multiple questions for experienced magento developers: Is it possible to improve the speed of the magento v1 soap api? When requesting data it quickly costs 1.5 seconds for magento to compile ...
3
votes
1answer
3k views

Magento WSDL not Wsi Compliant

I have an issue with the compiled WSDL file not being standard compliant with 3rd party system, SAP. A base magento install with WS-I compliance turned on in the admin is causing errors within SAP as ...
4
votes
1answer
1k views

How do you deal with the Sales Order API not having a limit capability?

Working on an Order API integration for a community module. Wanted to avoid rewriting the Mage_Sales_Model_Order_Api model, so instead I implemented an observer of the ...
9
votes
1answer
6k views

How to access the Magento API from native client with JavaScript

I need to access the Magento API from a local JavaScript based application (Titanium Desktop) and wondering what's the best way to do so. What I found out so far: The only authentication mechanism ...