Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
General questions about Magento 2, not specific to a minor version. Use this tag to distinguish from Magento 1. If you have issues with a specific version, please use the appropriate 'Magento-2.x' tag instead. Functionalities between Magento 2 minor versions might differ.
0
votes
1
answer
413
views
Get All attributes of a product By ID magento 2.3 REST API
I am trying to create a custom API to get all attributes of a product.
{{host}}/products/attribute-sets/17/attributes
{{host}}/products/attributes?searchCriteria[filter_groups][0][filters][0][field]= …
0
votes
Accepted
Get All attributes of a product By ID magento 2.3 REST API
After refering to this answer
https://magento.stackexchange.com/a/282395/87036
, I was able to produce the result I wanted.
public function getProductAttributes($id)
{
$objectManager = \Magent …
0
votes
1
answer
3k
views
How to add Review using REST API in magento 2.3
I am trying to find a rest api to add review. But it seems like magento doesn't provide api for that.I created custom api's to get review and rating using:
https://www.mageplaza.com/devdocs/get-revi …
0
votes
1
answer
519
views
Magento 2.3 How to convert JSON response array to array of same type object REST API
I have created a custom api to get review and rating summary:
public function getRatingSummary($productId)
{
$result =[];
$product = $this->_productRepository->getById($productId);
…