Creates a customer timeline comment or custom defined event.
Customer timeline resource.
Type of timeline message.
Timeline custom event type. Used with custom-event type. This value must be defined using the Create customer timeline custom event type operation.
Timeline custom event data. Used with custom-event type. Transforms to extraData two-column table in response.
{ "customAttribute": "customValue", "otherAttribute": "otherValue" }
- Mock serverhttps://www.rebilly.com/_mock/catalog/all/customers/{id}/timeline
- Sandbox serverhttps://api-sandbox.rebilly.com/organizations/{organizationId}/customers/{id}/timeline
- Live serverhttps://api.rebilly.com/organizations/{organizationId}/customers/{id}/timeline
- SecretApiKey
- JWT
curl -i -X POST \
'https://www.rebilly.com/_mock/catalog/all/customers/{id}/timeline' \
-H 'Content-Type: application/json' \
-H 'REB-APIKEY: YOUR_API_KEY_HERE' \
-d '{
"type": "account-password-reset-requested",
"customEventType": "string",
"customData": {
"customAttribute": "customValue",
"otherAttribute": "otherValue"
},
"message": "string"
}'Customer timeline comment or custom defined event created.
Total number of rate limit tokens for this request within a rate limit period. For more information, see Rate limits.
ID of the customer timeline custom event.
Type of timeline message.
Timeline custom event type. Used with custom-event type. This value must be defined using the Create customer timeline custom event type operation.
Specifies who, or what, triggered the timeline event.
Date and time when the timeline message occurred.
{ "id": "tmln_0YV8Q9WEF5DTA8HFXS27D1G6GC", "type": "account-password-reset-requested", "customEventType": "string", "triggeredBy": "rebilly", "message": "string", "extraData": { "actions": [ … ], "tables": [ … ], "author": { … }, "mentions": { … }, "links": [ … ] }, "occurredTime": "2019-08-24T14:15:22Z", "_links": [ { … } ] }