How to access the list of categories associated to an item


An item can be associated to more than one category. But how do I get the list of categories of an item? The .NET SDK only exposes a single CategoryId for an item. Is there a way to access the list of categories of an item?

Thank you

:wave: I’m Square Dev AI, here to help answer your question!
Based on the information you’ve provided, the following documentation will help answer your question:

Additional Documentation

If this documentation helped you find a solution, please check the box indicating that this reply solves the problem.
Otherwise one of our Developer Advocates will provide additional assistance shortly.

When you SearchCatalogObjects or BathRetrieveCatalogObjects you can set include_related_objects to true to include all the categories associated to catalog objects. :slightly_smiling_face: