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 |
An application programming interface (API) specifies how some software components should interact with each other.
0
votes
2
answers
1k
views
Magento 2.4 Rest API Error: Method's return type must be specified using @return annotation
I had been trying to use rest api for getting Configurable Products (Child products) using the rest API -
https:url//rest/V1/configurable-products/sku/children
But, I am getting this framework error - … ($productDataObject,
[], \Magento\Catalog\Api\Data\ProductInterface::class);
There is no API error anymore, But the API output looks like -
[
{
"sku": null,
"status": 1,
"product_links …
1
vote
Accepted
Magento 2.4 Rest API Error: Method's return type must be specified using @return annotation
In the API function call getChildren, In the attribute loop, One of the attribute value was returning as an Object instead of attribute value, which was causing the break up of the code. …