Queue API

Hi All,

Is it possible to pass an array inside specific content, while adding item to queue via API

Sample Payload :
{
“itemData”: {
“Name”: “queue4”,
“Priority”: “Normal”,
“SpecificContent”: {
“AnotherKey”: true,
“Products”: [{
“name”: “prod 1”,
“part_number”: “xx_123”,
“qty”: 1
},
{
“name”: “prod 2”,
“part_number”: “xx_124”,
“qty”: 1
}
]
}
}
}

Getting response as {“message”:“queueItemParameters must not be null”,“errorCode”:0,“resourceIds”:null} http response : 400

Thanks

Yes, you have to serialize the array before, so it will be handled as string and then it is accepted

Maybe you find this helpful: