How to Restrict the inventoryList Return to a Specific Activity ID Using the Plug-In API Messages?
When using the Plug-In API Messages, the data is received through the open method. The identified issue is that the inventoryList is returning inventories that do not belong to the activity in question.
For example, the activity ID is 3536, but both the inventoryList and the activityList are loading data from other activities, such as IDs 3534 and 3540. I understand that it is possible to reduce the amount of this data using the dataItems parameter in the ready method.
However, in this specific case with the plug-in, I need to use the inventoryList property. Is there any way to configure the return of the inventoryList to include only the inventories associated with the "customer" pool of the activity itself, meaning limiting the return to records with inv_aid = 3536?