Hello.
You can get a product’s available variants based on the specified option choices using getProductVariants( ). To learn more check out our API: https://www.wix.com/corvid/reference/wix-stores.html#getProductVariants
You can click here to learn more about the Stores/ Products collection.
Good luck!