The phtml files use the mustache syntax; you can refer to, for example, an in_stock attribute like this: {{{in_stock}}}
.
You can view the network response queries (you can use this guide if you are unsure how to do so) to review what attributes are returned in your request.