- Create an invoice timeline comment
Retrieve invoice timeline messages
Retrieve an invoice timeline message
Delete an invoice timeline message
Create an invoice timelin...
Creates an invoice timeline comment.
Security
SecretApiKey or JWT
- Mock serverhttps://www.rebilly.com/_mock/catalog/all/invoices/{id}/timeline
- Sandbox serverhttps://api-sandbox.rebilly.com/organizations/{organizationId}/invoices/{id}/timeline
- Live serverhttps://api.rebilly.com/organizations/{organizationId}/invoices/{id}/timeline
- SecretApiKey
- JWT
curl -i -X POST \
'https://www.rebilly.com/_mock/catalog/all/invoices/{id}/timeline' \
-H 'Content-Type: application/json' \
-H 'REB-APIKEY: YOUR_API_KEY_HERE' \
-d '{
"message": "string"
}'Invoice timeline comment created.
Headers
Total number of rate limit tokens for this request within a rate limit period. For more information, see Rate limits.
Example:3600
ID of the timeline message.
Example:"tmln_0YV8Q9WEF5DTA8HFXS27D1G6GC"
Type of timeline message.
Enum:"coupon-applied""email-message-sent""invoice-abandoned""invoice-disputed""invoice-issued""invoice-paid""invoice-partially-paid""invoice-partially-refunded""invoice-past-due""invoice-refunded"
Specifies who, or what, triggered the timeline event.
Enum:"rebilly""app""direct-api"
Date and time when the timeline message occurred.
Response
{ "id": "tmln_0YV8Q9WEF5DTA8HFXS27D1G6GC", "type": "coupon-applied", "triggeredBy": "rebilly", "message": "string", "extraData": { "actions": [ … ], "tables": [ … ], "author": { … }, "mentions": { … }, "links": [ … ] }, "occurredTime": "2019-08-24T14:15:22Z", "_links": [ { … } ] }