v1

latestOpenAPI 3.0.42026-07-2286621993.2 KB
templates

Fully update template

Fully updates a template, by ID. In the JSON request body, include a complete template object. This call does not support partial updates.

put/v2/invoicing/templates/{template_id}

Path parameters

template_idstring required

The ID of the template to delete.

Request body

idstring

The ID of the template.

namestring

The template name.<blockquote><strong>Note:</strong> The template name must be unique.</blockquote>

default_templateboolean

Indicates whether this template is the default template. A invoicer can have one default template.

unit_of_measure'QUANTITY' | 'HOURS' | 'AMOUNT'

The unit of measure for the invoiced item.

standard_templateboolean

Indicates whether this template is a invoicer-created custom template. The system generates non-custom templates.

Response

A successful request returns the HTTP 200 OK status code. A JSON response body that shows template details is returned if you set <code>prefer=return=representation</code>.

idstring

The ID of the template.

namestring

The template name.<blockquote><strong>Note:</strong> The template name must be unique.</blockquote>

default_templateboolean

Indicates whether this template is the default template. A invoicer can have one default template.

unit_of_measure'QUANTITY' | 'HOURS' | 'AMOUNT'

The unit of measure for the invoiced item.

standard_templateboolean

Indicates whether this template is a invoicer-created custom template. The system generates non-custom templates.