Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
3 votes
2 answers
2k views

How to use token base Rest API?

I have created custom module and also implemented API in that but I want to know other two ways Auth base and Token base access. My webapi.xml file:- <?xml version="1.0"?> <routes xmlns:xsi=...
Manish Goswami's user avatar
7 votes
2 answers
3k views

How to capture creditcard payment using sales order REST API magento 2?

How to create sales order with payflow pro payment using REST api magento 2. Order placed successfully with sales order api but payment doesn't not set using order api. I want to pass test credit ...
Rakesh Jesadiya's user avatar
6 votes
2 answers
14k views

How can I generate a full swagger doc for Magento 2 REST API?

I have a fresh Magento 2.1.5 install, and I'd like to access the full swagger spec, like the one published on http://devdocs.magento.com/swagger, but with the Try it Out! buttons enabled. I've ...
Ramses's user avatar
  • 295
2 votes
1 answer
2k views

Getting Products by category id! Magento 2.1 REST

How can I get products of a specific category? For Example If I hit https://www.example.com/index.php/rest/V1/categories/[category_id]/products it should return all products of the same Category [...
Shozib Rasool's user avatar
2 votes
1 answer
4k views

magento 2 Rest APi How to use default methods

Magento 2 Rest API have many default methods. I want to use those method and display data. For that i have create one new user and assigned full admin access. Trying to get the product information ...
jack's user avatar
  • 920
2 votes
1 answer
4k views

How to disable the customer frontend in Magento 2?

My app only uses the Magento 2 REST API and the admin backend. How can I disable the frontend the customer interacts with? PS: Seen this post, but it is an older one: Disable admin or frontend route
Bob van Luijt's user avatar
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 = '...
tsifra's user avatar
  • 41
1 vote
0 answers
145 views

Property "0" does not have corresponding setter in class "Magento\Sales\Api\Data\OrderPaymentInterface"

I am trying to update the sales_order_item table in Magento 2.1.9 using REST API /V1/orders/create PUT, but it gives the error 'Internal Error. Details are available in Magento log file.'. In the log ...
akshay billore's user avatar
1 vote
1 answer
692 views

Magento2: creating custom search REST API

I have created many Api's (both GET and POST) but now I want to create the custom search API with different URL Structure (all the params after ?). I can create the search API in below URL formate.. ...
Mohammad Mujassam's user avatar
0 votes
1 answer
2k views

Magento 2: How to run CLI command on admin store (storeId:0)?

I have a multi-store setup with Magento 2.1.7 CE on the domain a, domain b, domain c. I want to apply images to some products programmatically. When I make an API call on any domain with the "all" ...
aksel's user avatar
  • 1
0 votes
1 answer
388 views

I want to some attributes in response of /V1/products/:sku api.How can be get specific data in this api?

When I call /V1/products/:sku,It give response like: { "id": 12, "sku": "SL-LS", "name": "Long Sleeve", "attribute_set_id": 4, "price": 0, "status":...
Lovely Setia's user avatar
0 votes
1 answer
218 views

How to change Order-Status with custom-order-status(Ready To Dispatch) using rest API in magento 2.1?

I have one custom order status(Ready To Dispatch).I want to change order-status of order using rest api.Please help me i don't know what api is used?
Lovely Setia's user avatar