Create an invoice timeline comment

Creates an invoice timeline comment.

SecurityAPI Key: SecretApiKey or HTTP: JWT
Request
path Parameters
id
required
string <= 50 characters ^[@~\-\.\w]+$

ID of the resource.

Request Body schema: application/json

Invoice Timeline resource.

message
string

Describes the message details.

post
/invoices/{id}/timeline
Request samples
application/json
{ "message": "string" }
Responses

201

Invoice timeline comment created.

401

Unauthorized access. Invalid credentials used.

403

Access forbidden.

422

Invalid data sent.

Response samples
application/json
{ "id": "tmln_0YV8Q9WEF5DTA8HFXS27D1G6GC", "type": "coupon-applied", "triggeredBy": "rebilly", "message": "string", "extraData": { }, "occurredTime": "2019-08-24T14:15:22Z", "_links": [ ] }