Order Activities
Every order maintains a complete activity timeline. This provides an audit trail of everything that’s happened to the order.
Activity Types
| Type | Description |
|---|---|
| status_change | Order status was updated |
| tag_added | A tag was added |
| tag_removed | A tag was removed |
| note_added | An internal note was added |
| shipment_created | A shipment was created for this order |
| fulfillment_pushed | Fulfillment was pushed to the source platform |
| sync | Order data was synced from the source |
| manual_edit | A field was manually edited |
| operation_applied | An operation action was applied |
| agent_action | The AI agent performed an action |
Viewing Activities
In the Portal
The order detail page includes an Activity tab showing the timeline in reverse chronological order. Each activity shows:
- What changed
- Who made the change (user, system, or agent)
- When it happened
Via the API
GET /api/orders/:id/activitiesReturns a paginated list of activities for the order.
Activity Data
Each activity record includes:
| Field | Description |
|---|---|
type | The activity type (see above) |
description | Human-readable description |
actor | Who performed the action (user ID, “system”, or “agent”) |
changes | Before/after values for changed fields |
metadata | Additional context data |
createdAt | Timestamp |