curl --location 'https://marketplacerest.perenso.net/v1/orderBatches/bulk' \
--header 'Content-Type: application/json' \
--data '{
"orderBatches": [
{
"id": "1042-1",
"newStatus": "SENT"
},
{
"id": "1043",
"newStatus": "SENT"
}
]
}'{
"successful": [
"1042-1"
],
"successfulItems": [],
"failed": [
{
"id": "1043",
"message": "Invalid id '1043'. An order batch id has the form <orderKey>-<orderSuffix>."
}
]
}