I am creating an API that gets a product object as well as the variants of that product in one json object.
I am using this code to get the product:
co