💭 Search | Stripe Documentation

!https://stripe.com/docs/search#search-query-language

Search
Use the search APIs to look up and retrieve objects in your Stripe data. Using search is a faster alternative to paginating through all resources.
stripe.com

Stripe has it’s own query language for querying data. I’m just getting into using it and it seems pretty good so far. I needed to lookup the price for products. I was able to find prices for my product using the python api as shown below.

stripe.Price.search(query="active: 'true' and product: 'prod_P8SfwtxJ45cWE2'")

Note

This post is a thought. It’s a short note that I make about someone else’s content online #thoughts

Connections

Related tags and posts connected to this entry.