cURL
curl --request PUT \ --url https://v2.firstpromoter.com/api/v2/company/invoices/custom_template \ --header 'Account-ID: <account-id>' \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "html": "<string>" }'
{ "data": { "html": "<string>" } }
Access token passed as a Bearer token in the Authorization header
Account identifier that specifies which account is making the request
"acc_123456"
Updated template
The response is of type object.
object