How to access the list of categories associated to an item

Hello,

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

https://developer.squareup.com/docs/catalog-api/what-it-does
https://developer.squareup.com/docs/catalog-api/design-a-catalog
https://developer.squareup.com/docs/catalog-api/cookbook/create-catalog-image

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: