Questions tagged [api]

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

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

In addition to accessing databases or computer hardware, such as hard disk drives or video cards, an API can be used to ease the work of programming graphical user interface components. In practice, many times an API comes in the form of a library that includes specifications for routines, data structures, object classes, and variables. In some other cases, notably for SOAP and REST services, an API comes as just a specification of remote calls exposed to the API consumers.

1706 questions
7
votes
1 answer

API call to get a list of products and their attributes in one call

I am currently using a foreach loop to iterate through the products and then retrieving the attribute I need. This is very slow, because it makes a call for each product to the API and retrieves the attributes values. Is there a way to get all…
Sonu Kapoor
  • 171
  • 1
  • 4
5
votes
1 answer

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, but upon the initial connection process (it…
kalenjordan
  • 3,545
  • 4
  • 28
  • 59
4
votes
1 answer

_retrieveCollection Return Formatting

I'm trying to return a collection of the products that meets an input criteria using Magento api2. Everything is working as expected other than how Magento formats the final JSON. What i basically want to do is to return a json with two keys, one is…
Yehia A.Salam
  • 429
  • 1
  • 9
  • 29
3
votes
1 answer

customer address API

I'm a bit embarrassed at posting this because I think I must be doing something really stupid, but seeing as I'm completely stuck, no choice. My simple use case is: Grab orders through the SOAP API. The results include [billing_address_id] and…
flarpy
  • 33
  • 2
3
votes
1 answer

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( 'username' => 'api_consumer', 'firstname' => 'fist', …
Henry
  • 33
  • 3
2
votes
2 answers

How does one extend magento. Not build an extesion, but acutally fix magento

I've found a smidge of a hole in some of the core magento api. There doesn't seem to be a way to create configurable products. Now I know there's a way to extend magento on my system, or install any number of plug-ins. I however am a simple man,…
baash05
  • 153
  • 8
2
votes
2 answers

Magento API speed

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, however it is taking a very long time to complete even…
Boots
  • 21
  • 1
  • 2
2
votes
2 answers

API searchCriteria not filter properly in status orders

I am calling orders using REST API, when I call this url: rest/V1/orders?searchCriteria It works fine, and return all orders to me... but I need to filter by status, I am…
2
votes
2 answers

Magento API Documentation

Where can I found a Magento API documentation that list all Magento technical functions? I found this link http://docs.magentocommerce.com, however this documentation is not complete and not very detail. For instance, I could not find this function…
Leongelis
  • 585
  • 8
  • 21
2
votes
1 answer

3rd Party API integration

Fairly new to Magento and still learning the inner workings. I've been given the task of importing Best Buy's large array of product catalog into our existing magento installation. However i dont know where to begin. Just looking for a roadmap of…
user2414
  • 21
  • 3
1
vote
1 answer

import images from a 3rd party system via api

Before I start pulling my hair out with this one as I think its going to be a complicated one I would really appreciate someones advice. i try to import image to magento store but i don't know how. so i want to create plugin to import images from…
1
vote
2 answers

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 cannot get Coupons to work. The code I'm using is…
Hyarion
  • 113
  • 5
1
vote
0 answers

Bing API for Create Update Delete/Close Places in Bing Using PHP

Can we create update and delete places from Bing API?
madu
  • 41
  • 1
  • 3
1
vote
1 answer

API Product with multiple words

I dont know how can I add multiple words search using magento 2 product api. Example…
David
  • 90
  • 1
  • 6
1
vote
0 answers

Can we implement Alexa Skill to use with our Amazon pay Account in magento 1

In Magento 1 websites, we want to implement Alexa Skills to use our amazon payment account. Can anybody please share knowledge/steps/guide, how we can implement alexa skill to use our amazon pay account to enable purchases on our website through…
Vikas Gupta
  • 151
  • 2
  • 7
1
2 3