Skip to content
← Back to Index

Command: order.addActivityLog

Adds an activity log to an Order

Body
messageTemplatestring The message template. Use {placeholders} for dynamic values (see https://messagetemplates.org/)
dynamicmap of string to any value (optional) Dynamic properties to add to the log

Examples

Add activity log to existing order
```json [{ "type": "applyCommands", "body": { "commands": [{ "type": "addActivityLog", "messageTemplate": "Delivery {deliveryNumber} cancelled due to missing stock", "dynamic": { "deliveryNumber": "OD10001" } } ] } }] ```

© 2024 Hantera AB. All rights reserved.