All Questions
3 questions
0
votes
1
answer
449
views
Magento2 - rest API on custom module "items" object is not populated
I build a custom module with a stores repository that I query using the following webapi.xml:
<?xml version="1.0"?>
<routes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
8
votes
1
answer
632
views
What are the use of ExtensionAttribute JoinProcessorInterface and CollectionProcessorInterface at magento 2.2.3
I built Magento 2 Module which has a model and Service contracts/API.
During this implementation, I have followed vinai Kopp article and also magento2 module Magento_Quote.
On this Magento\Quote\...
9
votes
2
answers
9k
views
How to return Associative Array from API in Magento 2
I have created Custom Api which returns associativeArray.
If I use associativeArray it's giving error
If I use string[] it's working
But I want to return associativeArray.
Error: Class "array" ...