I need some guidance on converting an array to a string listing the element values separated by commas. I attempted to use the array.toString method but it doesn't seem to work. I'd greatly appreciate any help.
Payload:
"properties": [
{
"name": "Engraved Text",
"value": "09/04/21 M&C"
},
{
"name": "Fill Color",
"value": "WHITE"
},
{
"name": "Engraved Font",
"value": "Bellefair"
}
Desired Result:
"Engraved Text:09/04/21 M&C,Fill Color:WHITE,Engraved Font:Bellefair"
Note - the array "properties" is a sub-array (not sure the terminology) of another array named "line_items"