#JoeeGrigg-Products-qs

1 messages ยท Page 1 of 1 (latest)

icy belfry
#

Hello ๐Ÿ‘‹
Give me a moment to catch up ๐Ÿ™‚

#

I don't think our API currently supports this usecase.
You could maintain a list of product IDs on your end (in a database) and then use the list all products API endpoint to only retrieve t-shirts
https://stripe.com/docs/api/products/list

However, it won't be nested as just one product.

#

Or you could store information about the product in the metadata and use search product API endpoint. This way you wouldn't need to maintain a list of product IDs in a database.
https://stripe.com/docs/api/products/search

pastel wyvern
#

Ah okay that could work... I will give it a go. Thanks for the help

icy belfry
#

NP! Happy to help ๐Ÿ™‚