As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [rest-api]

Magento REST API defines a set of functions that a developer can use to perform requests and receive responses. These interactions are performed using the HTTP protocol.

Filter by
Sorted by
Tagged with
0 votes
2 answers
1k views

How to obtain a JSON order rendered by the REST API in the sales_order_place_after event observer

I have an observer for the event "sales_order_place_after" that needs to take the order and transform it into a JSON object to be sent to an external system (over REST). However the JSON ...
Saul Karl's user avatar
  • 305
0 votes
1 answer
434 views

Retrieve via javascript/jquery/ajax/ReST the category tree

I was looking for a way to get the category tree via ReST API. I looked here but it doesn't seem to show how to fetch the category tree (it has an entry point which lists a product's assigned ...
Luis Masuelli's user avatar
1 vote
1 answer
2k views

Extending Magento REST API V2 breaks existing API

I am trying to extend the Magento CE (version 1.8.1.0) REST API V2 for orders. I want to customize the original order query so that the response includes an additional attribute "multifees". ...
Saul Karl's user avatar
  • 305
1 vote
1 answer
202 views

How to return a response from _create api rest method

By default this method returns an empty JSON , i want to how to return some response such as "correct" or "fail" , for example
MaynorSong's user avatar
5 votes
1 answer
5k views

Invalid Signature - add a product using Magento REST API

i have created AccessToken and AccessTokenSecret as mentioned in the Oauth Rest API Documentation and I am able to retrieve the products using GET Request. But when i try to Create a new product (POST ...
Velu's user avatar
  • 151
4 votes
2 answers
848 views

Getting http code 400 on Magento REST API call where token has 'admin' & 'all' privileges

I'm trying to create a customer using the Magento REST API. I can use my token to retrieve/update data just fine, but for whatever reason I am unable to create an account, regardless of the ...
john's user avatar
  • 201
1 vote
1 answer
804 views

use magento rest api to manage attribute sets

i want to manage attribute sets of magento using rest api like i use to manage products (insert, update and delete). The resources in the rest api documentation http://www.magentocommerce.com/api/rest/...
bruno agalliu's user avatar
0 votes
1 answer
91 views

is there any difference in authorization between Magento.RestAPI 1.8 and 1.6

I'm using magento.restAPI and i'm very new to magento and i havent used any previous version of magento. Currently i'm having a magento rest Api i want to know whether its the same authentication ...
Sanu Antony's user avatar
2 votes
2 answers
5k views

Rest Api - call custom rest api function

i am beginner in creating Rest api, i dont know from where to start. till now am able to pull products list using http://my_host.com/api/rest/products. but am confused what will my url for calling ...
Deepak Mallah's user avatar
5 votes
2 answers
4k views

Magento REST API: What populates the api2_acl_attribute Table?

I'm trying to run through the oAuth/REST examples on the Magento website and I'm hitting a snag. I've successfully created a consumer key and a consumer secret, and used these to fetch an ...
Alana Storm's user avatar
  • 44.1k
9 votes
2 answers
22k views

How to integrate magento REST API with third party?

I was just trying to find information about REST API. There are some examples at Magento resource and some private blogs. All are the same!! As basic info, I found if I want to update products through ...
Akhilesh Patel's user avatar
2 votes
1 answer
265 views

Magento 1.7 doesn't return token key

I installed magento 1.7 and test for rest api according to this link. http://www.aschroder.com/2012/04/introduction-to-the-magento-rest-apis-with-oauth-in-version-1-7/ When I request to this http:/...
ZMH's user avatar
  • 21
5 votes
1 answer
3k views

API working but doesn't return any data?

For testing purposes I've setup a REST Guest role with "All" access across the Catalog in my store, so I can throw some queries at the API whilst I find my feet. Using Simple REST client in Chrome ...
Steve's user avatar
  • 51
3 votes
1 answer
1k views

How to get a Product ID after a product post via REST api to update product category

I want to insert products from a csv-file into the Magento DB via the REST API. First I try to update one single product. The product is inserted into the db but this product needs to be assigned to ...
Stephan van der Leij's user avatar

1
33 34 35 36
37