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

Questions tagged [magento-rest-api]

The tag has no usage guidance.

magento-rest-api
0 votes
0 answers
192 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: {...
Swift's user avatar
  • 820
0 votes
1 answer
287 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 ...
sjors's user avatar
  • 1
1 vote
0 answers
322 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: ...
Anup Kumar Panwar's user avatar
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 ...
Arnaud's user avatar
  • 41
2 votes
1 answer
362 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 ...
Bhavi Tanwani's user avatar
0 votes
1 answer
43 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 ...
vachmir's user avatar
  • 21
0 votes
1 answer
362 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.
Rakesh Singh Uniyal's user avatar
0 votes
1 answer
1k views

Magento 2 Rest API - PUT method always return "Class ... does not exist"

I have created magento 2 rest api endpoint for PUT request and it always returns "Class .. does not exist". There are 2 param's in PUT request: path parameter: id, json string in body of ...
Denis2310's user avatar
  • 1,159
0 votes
1 answer
487 views

Magneto Rest API to Update Tracking Number and Carrier Code is not working

I tried to update the tracking no and carrier code using the following API with the payload. http://example.com/rest/default/V1/shipment/track Payload { "entity":{ "order_id&...
user3497702's user avatar
0 votes
1 answer
2k views

Magento 2 rest API: filter category by name

I need to find categories by name using Magento 2 rest api. I use /all/V1/categories and filters but I can't get it to work. Here's the code: $url = "https://*******/index.php/rest"; $...
mariobros's user avatar
  • 879
1 vote
1 answer
1k views

Magento 2 Rest API Can't Remove Category ID's from product

I am working on a REST API call which will remove the category ID from a live product. The below code returns true but this has not updated in the back end or on the site. I have followed the magento ...
Matthew's user avatar
  • 13
0 votes
1 answer
366 views

Magento 2 API shows wrong stockid

I ran the Magento Rest API to get the stock id for a particular product but it's showing me wrong stock id. We have three websites and each website has a separate stock, but when we call Magento API ...
Ashish Nair's user avatar
0 votes
1 answer
529 views

Magento Rest API - white space sku issue

Issue Unable to get update price via REST API due to white space in the sku Steps to reproduce the issue Create a product with SKU containing white space, eg. 'BAH SB' Query Magento instance via REST ...
User-15895's user avatar
0 votes
1 answer
964 views

Magento Rest API - multiple product list in one call

I want to access specified multiple product list in one call. for example access all the products in category id 14 and 15. This provide the product list id 14: /V1/products?searchCriteria[...
user14484722's user avatar
0 votes
1 answer
133 views

In Magento can I build my storefront solely on Magento REST API?

Is it possible to use Magento 2.4 solely as a store admin panel and REST API? I would like to build my store front as a SPA/MPA/NodeJS application that has nothing to do with neither PHP, nor Magento ...
Valentine Shi's user avatar

15 30 50 per page
1
2 3 4 5
14