Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [postman]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
2 answers
39 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 ...
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 ...
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": { "...
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....
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?
2 votes
1 answer
838 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-...
0 votes
1 answer
185 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 ...
0 votes
1 answer
246 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/...
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 ...
1 vote
1 answer
345 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 ...
0 votes
2 answers
299 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: <?...
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 ...
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-...
0 votes
1 answer
204 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
2 votes
2 answers
606 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+...
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.
0 votes
1 answer
716 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....
0 votes
1 answer
608 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": "...
0 votes
2 answers
204 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:
1 vote
1 answer
353 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&...
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"...
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'...
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 & ...
1 vote
0 answers
509 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 ...
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> ...
2 votes
2 answers
661 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 ...
0 votes
1 answer
565 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-&...
4 votes
1 answer
558 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 : ...
2 votes
1 answer
947 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 ...
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 ...
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?
1 vote
1 answer
441 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,
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 ...
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 ...
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&...