question

Amar avatar image
Amar asked ·

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 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.

1 Answer

Jeffrey Blattman avatar image
Jeffrey Blattman answered ·
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.
Share
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.

Welcome to the
Clover Developer Community