A minimal request body has three parts: from, template_id set to your d- ID, and a personalizations array where each entry has its own to and its own dynamic_template_data. That last object is the whole truth the template sees. If the template says {{order.total}}, the object needs an order key with a total inside it.
Because each personalization carries its own data, one request can greet three people by three names. The subject can come from the version's Subject box, and Handlebars works there too, so Order {{order.number}} is on its way is fine. Use triple braces in a subject when the value can contain an apostrophe, a quote or an ampersand, or it arrives escaped.
Lost the ID? GET /v3/templates?generations=dynamic lists your dynamic templates with their IDs.