curl --request POST \
--url https://revstack.dev/v1/invoices/{id}/lines \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"periodStart": "2023-11-07T05:31:56Z",
"periodEnd": "2023-11-07T05:31:56Z",
"amount": 123,
"currency": "<string>",
"quantity": 1
}
'nullAdds a new line item to a draft invoice.
curl --request POST \
--url https://revstack.dev/v1/invoices/{id}/lines \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"periodStart": "2023-11-07T05:31:56Z",
"periodEnd": "2023-11-07T05:31:56Z",
"amount": 123,
"currency": "<string>",
"quantity": 1
}
'null"inv_abc123"
Line item added
The response is of type unknown.