Skip to main content
15 votes

How to use postman?

First you need to set up a user to get the authorization key. This tutorial walks you through that process. Once you have that, you can set up postman with these settings: Where your GET request will ...
circlesix's user avatar
  • 4,323
8 votes
Accepted

Magento 2 Api Getting Error '%fieldName is a required field'?

You are Sending POST Request so you also have to send data in POST request in json format like :{ "id": {}} And have to set Content-Type:application/json in http header.
Emipro Technologies Pvt. Ltd.'s user avatar
6 votes

Magento 2 Api Getting Error '%fieldName is a required field'?

Update the function comments correctly for both Interface file and class that implement it. interface TestInterface { /** * Returns greeting message to user * * @param int $name ...
Pankaj Pareek's user avatar
4 votes
Accepted

Extension attribute in quote item

Not sure, but the first thing I noticed in your code is that you write plugin for \Magento\Quote\Api\CartRepositoryInterface but should be for \Magento\Quote\Api\GuestCartTotalRepositoryInterface Upd ...
underser's user avatar
  • 550
3 votes

How to test a Magento SOAP API call using Postman

I recommend to use SOAP UI for testing the Magento 1 SOAP API and Postman or Swagger for Magento 2 Rest Calls. With SOAP UI you can import the full WSDL Schema with Basic Example Requests. Download: ...
Mr. Lewis's user avatar
  • 1,941
3 votes
Accepted

On Adding items in cart for guest user using Postman getting error

Create a request to create the empty cart POST {{magento_api_url}}/rest/default/V1/guest-carts/ - this will return a token which is the cart ID (e.g 'KZepbhhPiGORreBKqIRlMCywGDTyQtR4') Use that cart ...
Diana's user avatar
  • 5,192
3 votes
Accepted

How to fetch post method xml data in Magento2 controller

I also faced same issue my previous project. Please try with below code it will work for your issue and let me know if you need more help on this. protected $request; protected $formKey; public ...
naren's user avatar
  • 46
2 votes

How to get Custom HTTP header in Magento2 controller?

As long as your controller is a child of AbstractAction you can also access this data by request instance: $this->getRequest()->getHeader('APP_ID')
Rob's user avatar
  • 419
2 votes

How to get Custom HTTP header in Magento2 controller?

Finally, got the solution $httpRequestObject = new \Zend_Controller_Request_Http(); $httpRequestObject->getHeader('APP_ID'); Thank you!
Manish Joy's user avatar
  • 1,215
2 votes

Error while fetching a request token using postman

did you resolve it? With Postman if I try oauth integration I got the same error. I've Magento 2.3.4. Best Regards, Francesco
Tarichecco's user avatar
1 vote
Accepted

How to work with Magento REST API using Integration tokens?

In previous versions of Commerce, the access token could be used on its own for token-based authentication. This behavior has been disabled by default due to the security implications of a never-...
Châu Văn Khánh Nhật's user avatar
1 vote

Bearer token is missing in my postman

You can use like this also Authorization Bearer yourtoken
Biren Patel's user avatar
1 vote

Magento 2 add request header to Graphql programmatically

Header Key and Value graphql query postman // enter header key as 'Store' and value as store code e.g in Store - in // enter header key as 'content-currency' and value as store code e.g AED content-...
akashmalik's user avatar
1 vote

Error while fetching a request token using postman

I know its too late but if someone else is facing the same issue then this would probably help: Check and remove an entry for the consumer id in oauth_token table. Ref: https://github.com/magento/...
Satish Gadhave's user avatar
1 vote

How can I get consumer authorization in Postman - Magento2?

Endpoint POST http://<host>/rest/default/V1/integration/admin/token Header Content-Type application/json Payload { "username": "admin", "password": "123123q" } Response Magento returns ...
Aditya Shah's user avatar
  • 7,627
1 vote

How to use postman?

You can also import all magento endpoints, just follow this article
Islam Murtazaev's user avatar
1 vote

Magento 2.1.8 Api merge the guest items to customer quote?

Magento 2 REST can not distinguish between authenticated and anonymous customers. Web services ACL is applied for admin users only. All customers are anonymous for REST services. You can create such ...
Alex Gusev's user avatar
  • 2,039
1 vote

How to configure postman with magento 1.9 complete beginner

Here is a quick Magento 1.x official guide for API Testing: You can use mozilla firefox plugin. http://devdocs.magento.com/guides/m1x/api/rest/testing_rest_resources.html
Bhavani's user avatar
  • 211
1 vote

Magento 2 Api Getting Error '%fieldName is a required field'?

I was receiving the same issues, then I noticed that I was using POST instead of GET, changing it the issues were solved.
Rafael Corrêa Gomes's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible