All Questions
590 questions
0
votes
1
answer
53
views
Front End and Backend Login Doesnt work Magento 1.9.3
My magento site is at this link:
http://frisbeemarketing.com/mom2b/customer/account/login/
the login page does not work and it does not send an error it just reloads
It seems like a problem with ...
2
votes
1
answer
614
views
Cannot Create OAuth Consumer
I am trying to set up OAuth access to an API for a site running 1.9.3.2. All of the Magento instructions say:
You can register your application by selecting System > Web Services > REST - OAuth ...
10
votes
2
answers
2k
views
Magento 2: Creating configurable product using the REST API
In order to create configurable product I need to create configurable product, virtual product and finally connect them.
Example of json request got from here: How do I create a configurable product ...
5
votes
1
answer
3k
views
Magento 2: Setting the product url key with REST API
Is it possible? I see no mention of a url_key in the Swagger docs.
I have a large database of product I need to import, and the names (which seem to determine the url) are not unique.
2
votes
2
answers
1k
views
Magento 2 : How to clear cache using REST?
How can I clear the Magento 2 page cache using REST API after updating the product quantity from 0 to 10?
2
votes
3
answers
94
views
How to create REST API's in Magento 2?
I have to create a REST API that can be used in android phone to list all the products including product image using category id ?
7
votes
1
answer
4k
views
How do I consume the REST API in Magento 2, using AJAX with session-based authentication?
I am having issues successfully making an AJAX call to Magento 2 REST API endpoints, using session-based authentication.
When I run the following javascript, I always receive a 401 (Not Authorized) ...
0
votes
1
answer
1k
views
Sample files to use Magento 2 API REST and SOAP
How can I use the REST and SOAP?
I'd like to have sample PHP files to use each one.
I'm using the Magento 2.1.
Thanks
7
votes
3
answers
12k
views
Get Token Authentication For Customer Logged With Facebook & Twitter : Magento 2
Dears, I created a custom REST API, So customer can login Via facebook and twitter through mobile app. The API consists of one service which take some parameters and email parameter and check if this ...
0
votes
1
answer
253
views
API call on */V1/products/:SKU return wrong values for yes/no fields
I have a strange Problem
Magento version : 2.1.6
PHP: PHP 7.0.15-0ubuntu0.16.04.4 (cli) ( NTS )
If I send a REST call to mydomain/index.php/rest/de/V1/products/:SKU I get a result which looks fine ...
0
votes
1
answer
526
views
Magento 2: Add color option to cart REST API
I am calling this API to get product details:
GET https://domain.com/index.php/rest/V1/products/:SKU
and get this response:
<id>678</id>
<sku>Mysku</sku>
<name>...
0
votes
1
answer
175
views
Magento Integration with Solr
I have integrated Solr with Magento EE. Solr logs whatever I search in Magento fronted search box.
I'd like to know if Magento will also use Solr engine if the search REST API is called?
Endpoints-
...
0
votes
1
answer
455
views
Magento2 soap/rest api for third-party consumer
I'm trying to create a webservice client for Magento2 api. I would like to know whether Magento2 supports oauth2 or oauth1.0. Could someone clarify if Magento2 SOAP API also requires oauth process?
0
votes
0
answers
66
views
Add order pragmatically REST API
I'm supposed to:
Receive payment tokenization from mobile.
Save tokenize for the customer.
Use tokenize to add an order.
Do payment process.
How can I achieve these steps?
Please help.
3
votes
0
answers
369
views
Magento2 rest api error on product search on extension attribute
I've an extension attribute on products, declared in the following way:
<attribute code="stock_item" type="Magento\CatalogInventory\Api\Data\StockItemInterface">
<resources>
&...
2
votes
2
answers
2k
views
Magento2 REST API products list and out of stock
In the api call V1/products i get also out of stock products, even though I've set in Stores->configuration->catalog->inventory "Display out of stock products" to No.
there's a way to get rid of this ...
0
votes
1
answer
503
views
What would be authorization endpoint for oauth in magento 2
I am trying to build an api that delivers magento resources to a third party and for that I am using oauth for authentication purpose. On the third-party side the application asks for a authorization ...
0
votes
0
answers
558
views
How to place order through rest API magento 1
I want to place an order as a guest user through rest API in Magento 1.Can anyone help me on this?
2
votes
1
answer
404
views
Move HTTP GET request into a JSON array in Magento 2 REST API (V1/customers/search)
Is it possible to put the content of this rest api in a json array to put in GET parameters instead ? And if yes, what should the code look like ?
curl_init("http://my.website.com/index.php/rest/V1/...
1
vote
1
answer
2k
views
Magento 2.1.5 : Reviews REST API
I looked for reviews REST API and I found this link:
http://www.ipragmatech.com/products/reviews-rest-api-magento/
I tried to add review via it using :
POST http://domain.com/index.php/rest/V1/...
1
vote
2
answers
3k
views
Magento 2: Problem creating search request with REST API : V1/customers/search
I'm trying to make a search request which returns all the customers, but the php script below returns :
[message] => %fieldName is a required field.
[parameters] => Array
(
[...
4
votes
1
answer
5k
views
Magento2: Add a New Customer Address
I'm trying to add a new customer address using Magento 2 REST API in C#. I'm using POST /V1/customers/:id. I keep getting the below error. Where do I find the regionId? Is there another API I can use ...
3
votes
1
answer
2k
views
Magento 2: SMS Integration REST API
I have an API URL of SMS Gateway :
https://smsexample.net/test/api.php?username=xxxx&password=xxxx&from=xxxx&to=xxxx&text=xxxx
How can I make REST API using this gateway, so can call ...
2
votes
1
answer
8k
views
Get list of ALL customers using REST API
I know I can get a specific customer by running:
curl -X GET "http://127.0.0.1:32769/index.php/rest/V1/customers/2" -H "Authorization: Bearer token"
How do I get the list of ALL customers?..
GET "...
3
votes
3
answers
7k
views
How to get Custom HTTP header in Magento2 controller?
I'm accessing my controller via postman tool (Postman)
I've passed custom header as shown in image and trying to access it in controller through this code:
$this->_response->getHeader('APP_ID'...
0
votes
1
answer
2k
views
Magento 1.9 REST API - updating/creating products with custom attributes
Is it possible to use Magento 1.9 REST API to create or update products that have custom attributes?
example:
http://magentohost/api/rest/products/8
Request Example: JSON
{
"...
15
votes
3
answers
33k
views
Magento 2 REST API usage with examples
need to call Magento2 rest api in code level how to call default magento REST APIS
1
vote
1
answer
956
views
Is possible to create REST API with Basic Auth?
I've created REST API in Magento2 but everyone can use it. How can I add basic auth to my API?
0
votes
1
answer
942
views
pulling order IDs via REST API in magento 2.0
we are seeing a big dependency between the order ID that we are getting from Magento via REST and the order ID that we see in the order confirmation email. for example REST returns 45, the email has ...
0
votes
0
answers
2k
views
{"message":"%fieldName is a required field.","parameters":{"fieldName":"criteria"}}
I am trying to get all slides, but I have an error:
{"message":"%fieldName is a required field.","parameters":{"fieldName":"criteria"}}
when I call this API:
/V1/jeffSliderSlide/search:
Any ...
0
votes
0
answers
74
views
fedex not working india as origin magento 1.9
I tried almost all available methods to sort out but nothing happens. For the USA as origin, it works perfect in testing mode but when I change origin to India with same details as I registered to ...
3
votes
2
answers
2k
views
Get Countries and related Cities REST API
I have a form in my mobile app for shipping information. I am looking for REST API to get countries and its related cities.
I found only an API:
V1/directory/countries
How can I get cities for ...
1
vote
1
answer
516
views
home page banner res api magento 2
I am trying to get an API for banners in home page to list in my mobile app. Is there is a module for that?
Ex:
https://{{magento-host}}/index.php/rest/V1/banners
2
votes
1
answer
4k
views
magento rest api V1/products endpoint
I use following code to call rest api in magento 2.1.5
$consumerKey = 'aca1rh9env59axm0ob48xfu62t9s4a5e';
$consumerSecret = 'dgn4y1ejfu9aixb5mrio4kbsor5tq208';
$accessToken = '...
1
vote
1
answer
3k
views
How to add cutom customer attribute field to call rest api via create new customer
I have created a custom customer attribute(mobile_number) and set default value of customer create account.
I added mobile number to customer_attribute:
$customerSetup->addAttribute(Customer::...
1
vote
2
answers
331
views
Creating an API to communicate directly with Magento DB
We have been using the Magento Rest API to communicate between external systems and Magento. Painfully, we have discovered that the REST API does not scale well. Specifically, often times requests ...
0
votes
1
answer
1k
views
Get pending, completed, processing orders REST API problem
I have an API module to get orders with any status for a specific customer.
I am calling the API as :
https://{{magento-store}}/index.php/rest/V1/order/myorder?status=processing
and authoriaztion : ...
1
vote
0
answers
195
views
Some SKUs not returning the product details through REST API using get / update method in Magento2.1.3
Am trying to update the product details from third party machine to magento 2.1.3 using REST API.
here some of the SKUs not returning the details while get/update and then i logged that SKUs and ...
1
vote
1
answer
533
views
List orders history using Customer token?
There is no option to get all customer orders without setting there admin rights. So is there is an API to call like /V1/orders/mine ?
3
votes
2
answers
2k
views
Get pending orders for a specific customer using REST API Magento 2
I am trying to get the pending orders for a specific customer using :
https://{domain.com}/index.php/rest/V1/orders?searchCriteria[filter_groups][0][filters][0][field]=status&searchCriteria[...
1
vote
0
answers
133
views
Search typing rest API
Is there is a built in API for search typing?
I have an autocomplete search for mobile app like website. How to get API for searching products every charcter hit?
0
votes
1
answer
658
views
Can anyone explain step by how to add product to CART using REST API?
I tried this link http://devdocs.magento.com/swagger/index.html#/ - But not able to understand what exactly to do?
Please help me.
1
vote
1
answer
3k
views
Get all products with a specific attribute code with REST API in Magento 2
Is there is a built in rest API to get ALL products with a specific attribute_code
ex. this API
https://domain.com/index.php/rest/V1/products/:productID
returns
..
<item>
<...
2
votes
1
answer
3k
views
Get stores countries and Languages REST API
Is there is a built in rest API to get :
Stores Countries.
Stores Languages.
Please help.
6
votes
5
answers
26k
views
Magento 2: get product through api using id?
I want to get product information using API call. I have product id of that product is it possible to do that.
0
votes
2
answers
1k
views
Get Full product link REST API
I am trying to get all product details via:
https://domain.com/index.php/rest/V1/products/:sku
but, I can't find a full product rewrite link, How to get that?
0
votes
1
answer
3k
views
How to add product using REST api?
How to add product using REST api.
Getting below error -
Invalid auth/bad request (got a 500, expected HTTP/1.1 20X or a redirect)
Service temporary unavailable
I tried,
$oauthClient->fetch(...
0
votes
2
answers
5k
views
Get categories and its sub categories REST APi
How to get subcategries for each category in REST API?
I tried to get category as:
https://domain.com/index.php/rest/V1/categories/:categoryID
0
votes
1
answer
235
views
How to get a product full link REST API?
I am trying to get Full product link, so can use it in share in mobile application.
I already used API:
GET https://domain.com/index.php/rest/V1/products/:sku
and have a response, but can't get ...
3
votes
1
answer
6k
views
Featured and related products REST API Magento 2
Is there is a built in REST APIs for both Featured and Related products in Magento because I looked in the reference and couldn't find?