378 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
1
answer
63
views
Get tags as a list in Magento using API
/rest/V1/products?searchCriteria[filter_groups][0][filters][0][field]=tags&searchCriteria[filter_groups][0][filters][0][value]=my tag
I tried this but getting error.
{
"message": "...
0
votes
1
answer
663
views
Magento Rest Api Recaptcha Validation Failed Error
I am sending below payload in Create Customer Rest Api in Magento2 but still getting error.I dont want to turn off recaptcha from admin panel. Is there any way to bypass REcaptcha in magento.
url: {...
0
votes
1
answer
208
views
Unable to create a Specific coupon code in magento using REST API
I am trying to create a specific Coupon code for Magento using API REST
I am able to create random coupon code using but i want a specific coupon like HOLI100. How to achieve that
API(URL/rest/V1/...
0
votes
1
answer
576
views
Magento Rest API error:`The signature is invalid. Verify and try again.` after adding searchCriteria Filter
I'm trying to send an API request to the magento 2 api to retrieve all orders. I'm sending this request from Laravel using the Illuminate\Support\Facades\Http. To authenticate myself to magento im ...
0
votes
0
answers
132
views
How to authenticate PhpStorm HTTP Client request to Magento 2 REST API?
I'm trying to emulate request for updating product information from third-party system to Magento 2 REST API using PhpStorm HTTP Client. Authentication type is Integration (oAuth). Are there any ...
0
votes
1
answer
1k
views
Magento 2: 401 Unauthorized error with webapi.xml
Forgive me in advance for what is probably a basic overall question. I'm still learning Magento 2 (v.2.4.5-p1) and need some hand holding at times.
I've inherited this project with several endpoints ...
1
vote
0
answers
381
views
Products added via Magento REST API are out of stock even after specifying quantity
I'm adding a product to my Magento store via the following curl but the dashboard shows that the item is out of stock.
curl --location '<store_url>/rest/V1/products' \
--header 'Authorization: ...
1
vote
1
answer
469
views
Magento 2 - Request sample for carts/mine (GET)
I try to call the carts/mine GET route of the Magento 2 REST API, but it does not show a request sample in the documentation.
It says "Returns information for the cart for a specified customer.&...
0
votes
1
answer
584
views
Magento 2 - Where to find the complete REST API documentation
It seems like the official Magento 2 REST API Documentation is not complete.
I found this code in a application of one of our ex colleagues:
protected function addItemToCart($cartId, $cartItem)
{
...
0
votes
1
answer
1k
views
Magento 2 REST API how to create an order on behalf of customer with Admin or integration token
In our integration with Magento we need to create an order for a customer (not a guest) without the customer token. We're hoping that it is possible using Admin or Integration token.
Every thing works ...
2
votes
1
answer
528
views
REST API Performance issue in Magento 2
Is anyone here heavily using Magento rest API for catalog data (products/categories/attributes/sets/groups) persistence? like not once in a while but more as a system integration. how is the ...
0
votes
1
answer
69
views
How to get a few Products from a store satisfying some string using rest API?
I want to get 4 products from Magento store. These items contain "food" string in their SKUs. SKU can be something like "FoodDietic", "TastyFood" and so on. I have done a ...
0
votes
1
answer
619
views
Magento 2 update invoice state through REST API giving error
I am having project in magento enterprise version :2.3.7-p3
I'm trying to update Magento 2 invoice state via Rest API call : {{magento_api_url}}/V1/invoices/ and method is post below are payload for ...
1
vote
1
answer
700
views
Magento 2 - Custom rest api endpoint for PDF download - net::ERR_HTTP2_PROTOCOL_ERROR 200
I have created custom rest api endpoint in magento for downloading pdf file.
When testing it locally: From separate react JS project I am sending request to that endpoint and file is downloaded ...
0
votes
1
answer
412
views
How to we can maintain two API versions in Magento 2 in case of particular change request
I wants to make few changes in Magento 2 core API by extending this and wants to run both the API (old one and new with changes). Please suggest the standard way out.