List with multiple values

When sending multiple values in your JSON data, you simply have to add as many tags as required in your template :

{
"orderLines": [
 {
   "item_name": "trousers",
   "item_price": 100
 },
 {
   "item_name": "shirt",
   "item_price": 50
 }
]
}

Copy

Last updated