Json error when retrieving from external data sets

Your question may already have an answer on the community forum. Please search for related topics, and then read through the guidelines before creating a new topic.

Here’s an outline with best practices for making your inquiry.

My question:
Hello ,

I want to add values to the keys in my json body request from external data sets, however if I do “Product id”:{{productid}} it returns error. If I do "{{productid}} " it returns integers as strings which is not the desired result .
Is there a way to write “Product id”:{{productid}} without causing json error?

external data sets :