Skip to main content

Update specific templates for invoices

Zuora

Update specific templates for invoices

To update a specific Invoice Template, the Id of the specific Invoice Template is required as a path parameter. See the following request and a sample of 200 response.

HTTP request:

PUT https://rest.zuora.com/settings/invoice-templates/{id}

Request body:

{
    "name": "test-template2",
    "defaultTemplate": true,
    "suppressZeroValueLine": true,
    "templateFileName": "test12.doc",
    "base64EncodedTemplateFileContent": "0M8R4KGxGuEAAAAAAAAAAAAAAAAAAAAAPgADAP...",
}

Response body: 

{
    "name": "test-template2",
    "defaultTemplate": true,
    "suppressZeroValueLine": true,
    "templateFileName": "test12.doc",
    "base64EncodedTemplateFileContent": "0M8R4KGxGuEAAAAAAAAAAAAAAAAAAAAAPgADAP...",
    "templateCategory": "New",
    "id": "2c9890337c5f3042017c5f39ae420001"
}