Skip to content

Message: order.applyCommands

Back to Index

Applies a list of commands to an Order

Body
commandsarray of command

An array of order commands to be applied. If any command fail, the order will not be updated.

Response Type string

Rule Hooks

Examples

Add Tag to Order
POST https://<hantera-hostname>/resources/actors/order/ec806cf5-d976-49de-b390-03b303da8117
Authorization: Bearer <YOUR TOKEN>
Content-Type: application/json
[{
"type": "applyCommands",
"body": {
"commands": [{
"type": "addTag",
"key": "blocked"
}
]
}
}]
Back to Index