Skip to main content

All Questions

Filter by
Sorted by
Tagged with
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:...
grll's user avatar
  • 143
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\...
Amit Bera's user avatar
  • 77.7k
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" ...
Bojjaiah's user avatar
  • 3,782