Skip to main content

Questions tagged [postman]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
2 answers
54 views

Magento 2 : GraphQL - Generate Customer Token not working

I'm performing the below CURL request in Postman, but it's not working. curl --location 'http://gravity.freestylelibre.devops:81/graphql' \ --header 'Authorization: Bearer ...
user115941's user avatar
0 votes
1 answer
196 views

How to modify custom attribute of a product with JSON (Postman) Magento 2

thank you for reading me. Is there a way to modify a product´s custom attribute? I´m using postman, i use JSON POST for price and stock but i can´t find the way to update a custom attribute of a ...
Javier's user avatar
  • 1
0 votes
1 answer
264 views

Error in Postman and show that Invalid type for value: \"%productId%\

I have developed a module in my magento 2.2.6 for to create an API that can update the product price and quantity via product id . Please see my code below /var/www/html/app/code/AdmNetsuitePQ/...
Abilash Erikson's user avatar
1 vote
1 answer
1k views

How to work with Magento REST API using Integration tokens?

I have tried these steps Use the following steps to generate an access token: Log in to Admin and click System > Extensions > Integrations to display the Integrations page. Click Add New ...
Arsen Ibragimov's user avatar
1 vote
1 answer
356 views

Postman error "message": "The consumer isn't authorized to access %resources."

I as well am getting this error in postman. {     "message": "The consumer isn't authorized to access %resources." } Another thing i noticed is it's saying 400Bad Request and when ...
Head's user avatar
  • 187
0 votes
2 answers
318 views

Get Customer Name if its logged in otherwise return message in API Magento 2

I am trying to get the customer's name by POST Method API if it's logged in but when I hit the link the postman, returns the Customer's Name even if it's not logged in. Please take a look CODE: <?...
Ralph Rhodes's user avatar
0 votes
1 answer
208 views

Bearer token is missing in my postman

I am using Postman to test all Magento API. In one machine I was unable to find the Authentication Type: Bearer
Pratik Kamani's user avatar
2 votes
1 answer
864 views

Magento 2 add request header to Graphql programmatically

I'm trying to run this Graphql url https://****.***.com/in/graphql by Postman I saw in Magento document that the URL above can contain Store header https://devdocs.magento.com/guides/v2.4/graphql/send-...
Tùng Nguyễn's user avatar
0 votes
1 answer
742 views

Magento 2 Rest API response "There is no mediagalleryentryconverter for given type". How fix it?

I need to get All Products using Magento 2 Rest API, but on some products I get response: "There is no mediagalleryentryconverter for given type". How can I fix it? I use POSTMAN for testing....
Ihor Radzyil's user avatar
0 votes
1 answer
619 views

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

I have successfully run two REST API's but on running the third one http://127.0.0.1/mag/rest/V1/guest-carts/81/items { "cart_item": { "quoteId": 81, "sku": "...
Prits's user avatar
  • 623
0 votes
2 answers
210 views

Can not get all SOAP services in Postman

I can not get all SOAP services in Postman. when I send: http://magento2.url/soap?wsdl_list=1 I get the following response:
Ihor Radzyil's user avatar
1 vote
1 answer
354 views

Magento 2 Stock update API Postman error (Consumer is not authorized to access %resources)

I am trying to update the product quantity using postman. But i am getting the following errors { "message": "Consumer is not authorized to access %resources", "parameters&...
Abilash Erikson's user avatar
0 votes
1 answer
2k views

Rest API showing Error "The consumer isn't authorized to access %resources."

I am calling Rest API in Magento2.3.4 in postman, gives error: { "message": "The consumer isn't authorized to access %resources.", "parameters": { "...
Shashank Kumrawat's user avatar
1 vote
0 answers
510 views

Error while getting the access token(oAuth based authentication) through postman in magento v2.2

I must include oauth_verifier request parameter in the Authorization header in the postman call to get access token from request token through postman in magento v2.2, I could generate the access ...
Rumith Witharana's user avatar
2 votes
2 answers
615 views

Error while fetching a request token using postman

POST: http://127.0.0.1/magento/oauth/token/request This api returns an error in response: cannot create request token because consumer token is not a verifier token. oauth_problem=Cannot+create+...
Rumith Witharana's user avatar
0 votes
0 answers
353 views

Magento 2 . API: want to fetch only order ID but every order details are coming

webapi.xml: <route url="/V1/orders/" method="GET"> <service class="SimplifiedMagento\Custom2\Api\OrderedRepositoryInterface" method="getOrderDetails"/> <resources> ...
Ankur Anand's user avatar
2 votes
2 answers
672 views

Not able to get data through API...!

Error is "message": "Internal Error. Details are available in Magento log file. Report ID: webapi-5dee36e254394". When you run http://localhost:8888/magento/rest/V1/position/1 Need to get result ...
Akash Killedar's user avatar
2 votes
2 answers
3k views

How to fetch post method xml data in Magento2 controller

We have to implement the punchout concept in magento2. There is a 3rd party system they will send data using the cXML format to Magento 2 endpoint. We need to fetch that data in the Magento2 & ...
Nagaraju Kasa's user avatar
0 votes
1 answer
570 views

Difference in response from magento swagger and postman Magento 2

I have custom API in which I am retrieving customer balance as: use Magento\CustomerBalance\Model\BalanceFactory; ........................ ........................ $model = $this->balanceFactory-&...
Ajwad Syed's user avatar
  • 1,591
4 votes
2 answers
9k views

Extension attribute in quote item

Hello everyone i would like to add an extension_attribute to quote item in magento 2. I create extension attribute: <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-...
Patryk's user avatar
  • 43
1 vote
1 answer
4k views

How do I provide a valid OAuth/NLAuth authorization header for NetSuite?

Being new to NetSuite and Post Man, I wanted to get my very first RESTlet up and working using Token Based Authentication which I have already set up, therefore I have: Account ID Application ID ...
Joseph Candava's user avatar
2 votes
1 answer
948 views

Translated text in API response

Is it possible to get translated text in API response while testing the API in postman? I have already added required csv i18n folder in the path: app/code folder. I am passing store code into the ...
Hiren Pandya's user avatar
4 votes
1 answer
560 views

How to solve REST API with oAuth 1.0 Return 404 error in Magento 1.9.2.3?

Workout: Version : Magento 1.9.2.3 Created Rest oAuth Consumer oAuth 1.0 installed in Server Got the Token Key, Token secret using Consumer key & Consumer secret which created in step 1 Note : ...
zus's user avatar
  • 173
1 vote
1 answer
442 views

How to get all oAuth2.0 details for POSTMAN REST API?

How can i get oAuth 2.0 details for magento 1.9.2.3,
zus's user avatar
  • 173
0 votes
1 answer
2k views

How can I get consumer authorization in Postman - Magento2?

I am trying to get result for the existing magento api service ex.customer details (or) product details by sku, I am facing issue like below, give solution "message": "Consumer is not ...
SUBBULAKSHMI G's user avatar
1 vote
1 answer
2k views

How to use Postman with Magento 1.9 SOAP API

I can't find a good example anywhere of how to use postman application for testing the Magento 1.9 SOAP Api. The REST Api is not enough for my needs. I have tried a POST request using https://example....
Martin Thompson's user avatar
2 votes
1 answer
6k views

How to test a Magento SOAP API call using Postman

Does anyone have a step by step tutorial on how to post and test a soap v1 api call using Postman?
Elie Bellama's user avatar
8 votes
2 answers
12k views

How to use postman?

I use Magento 2.In Magento 2 Api are present. How to use postman for a request like GET /V1/modules.
Abhay Sarkar's user avatar
0 votes
1 answer
3k views

Magento 2 Oauth 2.0 with postman

I want to make an authorization through OAuth 2.0 through postman. I have setup an integration now what should I do next?
Abhay Sarkar's user avatar
0 votes
1 answer
637 views

Rest api - create customer

I follow this Magento guide to work with Magento API REST (New Learner): http://devdocs.magento.com/guides/v2.2/get-started/order-tutorial/order-create-customer.html In this step I try run this curl ...
Magento's user avatar
  • 13
3 votes
1 answer
1k views

Magento 2.1.8 Api merge the guest items to customer quote?

I would like to implement am Magento 2 REST api i.e if the customer login then we have to merge the guest items to customer quote. As per the requirement i found one file in the respected path ...
Nagaraju Kasa's user avatar
1 vote
1 answer
2k views

How to configure postman with magento 1.9 complete beginner

I don't know how to configure my Magento 1.9 with the postman. I don't know how to check my API for postman (or any else). I need to complete my work within 1 day but I don't know anything about ...
Asif Jalil's user avatar
12 votes
3 answers
20k views

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

I am not getting result (id) while using POST method using url is rest/V1/hello/test/3 Screenshot: I have followed this link For Reference Please Click Here 1) webapi.xml <?xml version="1.0"...
Nagaraju Kasa's user avatar
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'...
Manish Joy's user avatar
  • 1,215
5 votes
1 answer
429 views

Magento Rest API

I want to use the Magento rest API for my application, when I will call the API from postman tool at that time there showing me error as per below: oauth_problem=parameter_absent&...
H.K.Suthar's user avatar