question

amar avatar image
amar asked Jeffrey Blattman edited

Getting category with order details

@Jeffrey Blattmanj
Is there any way to retrieve item category when getting order details from local db in clover device?
Clover MiniClover FlexClover StationClover Mobile
10 |2000

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

1 Answer

Jeffrey Blattman avatar image
Jeffrey Blattman answered Jeffrey Blattman edited
An Order has LineItems. LineItems have an item ID. You can retrieve the Item using the item ID with InventoryConnector. The Item has a getCategories() method.
10 |2000

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