POST
/
api
/
external
/
v2
/
customer_invoices
/
{id}
/
send_by_email
Send a customer invoice by email
curl --request POST \
  --url https://app.pennylane.com/api/external/v2/customer_invoices/{id}/send_by_email \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "recipients": [
    "<string>"
  ]
}'
This response does not have an example.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

id
integer
required

Body

application/json
recipients
string[]

Email recipients.

If empty, the email will be sent to the recipient email addresses specified for the customer of this invoice.

Response

Invoice is being sent by email