question

dhananjay avatar image
dhananjay asked

How to get Item with product code using inventory connector

I am building application where my application will provide product code and using Inventory connector it to retrieve Item from inventory.

currently I am using below code to get all Item list from Inventory application -

val merchantItems: MutableList<Item> = inventoryConnector.getItems();

val mItem: Item = merchantItems[2];


but I need particular Item where I will provide product code and get that Item


using above code I am providing index value.

Thank in advance.

Inventory
10 |2000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

0 Answers

· Write an Answer

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community