I have a question Re:itemMatrix, Items & Attributes please?

Hi there,
Is there any way to extend the "Items" in "ItemMatrix" with the "ItemAttributes" from "Item"?
So that you would have something like below:
"ItemMatrix": { "itemMatrixID": // Some Matrix Item, "Items": { "Item": [ { itemID: // Some Item, "ItemAttributes": { "attribute1": "BLACK", "attribute2": "", "attribute3": "", "itemAttributeSetID": "3", } }, { itemID: // Some Item, "ItemAttributes": { "attribute1": "GREEN", "attribute2": "", "attribute3": "", "itemAttributeSetID": "3", } } ] } }
If not, what would you suggest to be the best way to achieve this?
Would this be as below:
- Pull the matrixItem
- Pulling the individual Items found in the matrixItem
- Create a new object with the relevant information.
Or could anybody suggest a better way of matching up the relevant details?
Post edited by darryl_ss on