Skip to main content
PUT
Update template

Headers

Version
enum<string>
required

API Version

Available options:
2021-07-28

Path Parameters

templateId
string
required

Template Id

Example:

"6578278e879ad2646715ba9c"

Body

application/json
altId
string
required

location Id / company Id based on altType

Example:

"6578278e879ad2646715ba9c"

altType
enum<string>
required

Alt Type

Available options:
location
Example:

"location"

name
string
required

Name of the template

Example:

"New Template"

businessDetails
object
required
currency
string
required
items
object[]
required
internal
boolean
discount
object
termsNotes
string
title
string

Template title

Example:

"New Template"

miscellaneousCharges
object

Response

Successful response

_id
string
required

Template Id

Example:

"6578278e879ad2646715ba9c"

altId
string
required

Location Id or Agency Id

Example:

"6578278e879ad2646715ba9c"

altType
enum<string>
required
Available options:
location
name
string
required

Name of the Template

Example:

"New Template"

businessDetails
object
required
Example:
currency
string
required

Currency

Example:

"USD"

items
string[]
required

Invoice Items

Example:
total
number
required

Total Amount

Example:

999

createdAt
string
required

created at

Example:

"2023-12-12T09:27:42.355Z"

updatedAt
string
required

updated at

Example:

"2023-12-12T09:27:42.355Z"

discount
object
Example:
invoiceNumberPrefix
string

prefix for invoice number

Example:

"INV-"

Last modified on March 8, 2026