Log a custom action
POST /api/activity-logs
POST
/api/activity-logs
Append a custom activity log entry to a subscription or order. The loggable_id must reference a record (subscription or order) owned by the authenticated account. The action must be prefixed with integration_ (e.g. integration_shipment_dispatched) so custom entries are distinguishable from system-generated actions.
Authorizations
Section titled “Authorizations ”Request Body
Section titled “Request Body ”object
loggable_type
required
string
loggable_id
required
string
action
required
string
description
string
metadata
object
key
additional properties
any
Responses
Section titled “ Responses ”object
id
string format: uuid
loggable_type
string
loggable_id
string format: uuid
action
string
description
string
metadata
object
key
additional properties
any
actor_type
string
actor_name
string
created_at
string format: date-time