using C#, how do I Search Catalog Objects for “present_at_all_locations”: true ?
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
Call the SearchCatalogItems Endpoint
Design a Catalog
Catalog API Overview
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.
Sorry for the delay on this. If you want all objects that are present_at_all_locations
you’ll want to us this query:
{
"object_types": [
"ITEM", "ITEM_VARIATION"
],
"query": {
"range_query": {
"attribute_name": "present_at_all_locations",
"attribute_min_value": 1,
"attribute_max_value": 1
}
},
"limit": 100
}