New answers tagged rest-api
0
votes
Issue with ERP API PUT Request: Unintended Update of `warranty_type`
I solved my problem. It was due to the definition of 'backend' => ArrayBackend::class, while it is a string and not an array. By removing it, everything went back to normal.
0
votes
Magento rest api getting error Request does not match any route
This issue appeared when I tried to automatically apply a coupon code at checkout with a button click. I have created a mixin from the Magento_SalesRule/js/view/payment/discount JS file, and simply ...
2
votes
How to add custom sort like Most View and Best Selling products in API of Product List in Magento 2?
For custom sort filter through api, you need to create custom module,
Create app/code/Custom/Sort/etc/di.xml
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/...
0
votes
How to add custom sort like Most View and Best Selling products in API of Product List in Magento 2?
try it like this i think reports and analytics requires auth
curl -X GET "https://your-magento-site.com/rest/V1/products?searchCriteria[sortOrders][0][field]=views&searchCriteria[sortOrders][...
0
votes
Magento 2 : How to clear cache using REST?
Some time ago, I wrote this module https://github.com/tevtex/module-cachemanagement
You can enable/disable/clean/flush caches using API.
You can find the installation instructions on the github.
Top 50 recent answers are included
Related Tags
rest-api × 1829magento2 × 1182
api × 580
magento-1.9 × 148
magento-2.1 × 134
magento2.3 × 99
orders × 79
product × 76
customer × 60
magento2.2 × 56
webapi × 55
cart × 51
oauth × 48
php × 36
soap × 36
token × 31
product-attribute × 29
custom-attributes × 27
search-criteria × 27
sales-order × 26
checkout × 24
module × 23
json × 23
configurable-product × 22
integration × 22