# How to Search Catalog Objects for "present\_at\_all\_locations": true

**URL:** <https://developer.squareup.com/forums/t/how-to-search-catalog-objects-for-present-at-all-locations-true/11808>\
**Category:** Questions\
**Tags:** catalog-api\
**Created:** [January 11, 2024, 8:51am UTC](https://developer.squareup.com/forums/t/how-to-search-catalog-objects-for-present-at-all-locations-true/11808 "2024-01-11T08:51:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mTigar](https://avatars.discourse-cdn.com/v4/letter/m/b3f665/32.png) [@mTigar](https://developer.squareup.com/forums/u/mTigar)\
**Post date:** [January 11, 2024, 8:51am UTC](https://developer.squareup.com/forums/t/how-to-search-catalog-objects-for-present-at-all-locations-true/11808/1 "2024-01-11T08:51:02Z")

</div>

using C#, how do I Search Catalog Objects for “present\_at\_all\_locations”: true ?

---

<div class="post-metadata">

**Author:** ![Square-Dev-AI](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/square-dev-ai/32/2513_2.png) [@Square-Dev-AI](https://developer.squareup.com/forums/u/Square-Dev-AI)\
**Post date:** [January 11, 2024, 8:51am UTC](https://developer.squareup.com/forums/t/how-to-search-catalog-objects-for-present-at-all-locations-true/11808/2 "2024-01-11T08:51:19Z")

</div>

👋 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:

> **[Search for Items and Objects](https://developer.squareup.com/docs/catalog-api/search-catalog)**
>
> Learn how to search for objects, including items or items variations, programmatically using the SearchCatalogItems and SearchCatalogObjects endpoints.

> **[Call the SearchCatalogObjects Endpoint](https://developer.squareup.com/docs/catalog-api/search-catalog-objects)**
>
> Learn how to use the SearchCatalogObjects endpoint to search for objects of any type programmatically.

> **Additional Documentation**
>
> [Call the SearchCatalogItems Endpoint](https://developer.squareup.com/docs/catalog-api/search-catalog-items)  
> [Design a Catalog](https://developer.squareup.com/docs/catalog-api/design-a-catalog)  
> [Catalog API Overview](https://developer.squareup.com/docs/catalog-api/what-it-does)

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.

---

<div class="post-metadata">

**Author:** ![Bryan-Square](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/bryan-square/32/38_2.png) [@Bryan-Square](https://developer.squareup.com/forums/u/Bryan-Square)\
**Post date:** [January 18, 2024, 9:09pm UTC](https://developer.squareup.com/forums/t/how-to-search-catalog-objects-for-present-at-all-locations-true/11808/3 "2024-01-18T21:09:06Z")

</div>

Sorry for the delay on this. If you want all objects that are `present_at_all_locations` you’ll want to us this query:

```auto
{
  "object_types": [
    "ITEM", "ITEM_VARIATION"
  ],
  "query": {
    "range_query": {
      "attribute_name": "present_at_all_locations",
      "attribute_min_value": 1,
      "attribute_max_value": 1
    }
  },
  "limit": 100
}

```

🙂
