The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
16 views

Get the number of orders with status 'processing'

I am trying to get the number of orders with status 'processing' and below is the code. $countProcessingOrders = 0; $processingOrders = Mage::getModel('sales/order')->getCollection() ...
0
votes
1answer
12 views

OAuth: How to add magento product using oauth rest api from external php script

I'm new in Magento, I want to add Magento product from my CodeIgniter (external php script). I have created Web_Services->OAuth_Consumers and get key and Secret. what is the next step? (also set ...
0
votes
1answer
18 views

Magento store API for mobile apps

I am new to Magento and learing it. I am working on a Magento store and I have been successful in creating store with required features. But now i was asked to create an REST API for mobile ...
0
votes
0answers
22 views

How do I get custom variable, billing address, shipping address in Invoice using SOAP API of magento1.7?

I am using SOAP API in Magento 1.7 Its easy pretty to fetch Invoice details using invoice id. But it provide billing_address_id and shipping_address_id only How I can fetch corresponding addresses ...
0
votes
1answer
46 views

Howto read/update newly created custom category attribute via SOAP API V2 - ASP.NET/C#

I managed to create a custom attribute for a category using custom module and following 'sqlscript': $installer = $this; $installer->startSetup(); $attribute = array( 'type' => 'varchar', ...
1
vote
1answer
66 views

Securing add to cart http request

I have a Magento site which integrates with a Javascript based product configurator using reverse proxy on a specific CMS page. The user configures their product and then hits 'Add to Cart' at which ...
0
votes
1answer
36 views

Send a Magento order to third-party API when placed

I'm looking on an example of where I should place for magento orders to be sent to a third-party API. I have all documentation and all proper code that I've tested. I just don't know where these API ...
0
votes
1answer
99 views

Help connecting Magento to a third-party REST API

I need to update Magento products using a third party API. What is the best method of doing so. Should I trigger an API call when an event/observer hits on product detail page? There is no OAuth yet, ...
1
vote
1answer
102 views

Programmatically Update Image Labels

I'm trying to update my product images' labels. I want them to be the same as the name of the product. What I've tried $mediaModel = Mage::getModel("catalog/product_attribute_backend_media"); ...
2
votes
1answer
133 views

Creating filterable selectbox attribute using SOAP API v2

I am creating attributes using the Magento SOAP API V2, and need a few filterable attributes. I am using the following array: $array = array( "attribute_code" => "testattribute", ...
1
vote
0answers
44 views

How to override the graph in dashboard

I have a table included some data about warehouse operation (order_id, phase, duration, datetime, order_canceled), so I need to draw a graph to present these data for performance management. I tried ...
2
votes
1answer
60 views

Meaning of EnvironmentEmulation

Can anyone tell me the exact meaning of EnvironmentEmulation? One usecase can be found in Mage_ProductAlert_Model_Email $initialEnvironmentInfo = ...
3
votes
2answers
364 views

Programatically created order not adding bundle products correctly

I have an order flow outside of Magento that uses both Magento's direct methods and API SOAP methods to create an order. (The API was used completely at first until we found out it wouldn't pass the ...
0
votes
1answer
44 views

Programmatically create api user does not persist apikey

For an extension I need to create an api user programmatically using php. I use the following code: $apiKey = '12345678'; $user = Mage::getModel('api/user'); $user->setData(array( ...
0
votes
1answer
32 views

Multi site API, localized endpoint

Here's one for the gurus here. By default, Magento's WSDL provides a single endpoint (mainstore.com). The issue is, for multisite installs, there's no way to provide localized info (different prices, ...
0
votes
1answer
44 views

Setting data on Session not working ( different behavior on 2 server)

I need to store some data on Session during a call to Magento API, so I have overwritten Mage_Checkout_Model_Cart_Customer_Api and added this: ...
0
votes
0answers
31 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
141 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 ...
1
vote
2answers
113 views

Magento API speed [duplicate]

Does anyone know any techniques for speeding up Mageto'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, ...
0
votes
2answers
121 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 ...
2
votes
2answers
227 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 ...
0
votes
1answer
64 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/, ...
2
votes
1answer
180 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
57 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 ...
0
votes
0answers
22 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 ...
0
votes
1answer
12 views

last_update flag of user data also changed when user changes adress 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 ...
2
votes
0answers
229 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, ...
1
vote
2answers
418 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 ...
2
votes
1answer
230 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 ...
3
votes
1answer
91 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 ...
1
vote
1answer
463 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 ...