Summary Statement Settings
Learn how to retrieve, update, and delete Summary Statements through the Settings API.
Get a specific summary statement template
To get a specific template for a summary statement, see the following request and a sample 200 response.
HTTP request:
GET https://rest.zuora.com/settings/summary-statement-templates/{templateKey}
The request parameter for this request is as follows:
- templateKey - The template ID or template number
Response body:
Get all templates for summary statement
To get all templates for a summary statement, see the following request and a sample 200 response.
HTTP request:
GET https://rest.zuora.com/settings/summary-statement-templates
The request parameter for this request is as follows:
- templateKey - The template ID or template number
Response body:
Create a new summary statement template
To create a template for a summary statement, see the following request and a sample 200 response.
HTTP request:
POST https://rest.zuora.com/settings/summary-statement-templates
Request parameters:
- name - The name of the summary statement template.
- templateFormat - The format of the template. Currently, only ‘HTML’ is supported.
- defaultTemplate - Indicates whether this template is the default template.
- base64EncodedTemplateFileContent - The content of the template encoded using the Base64 algorithm. This allows for safe transmission of binary data in a text format.
Request body:
Response body:
Update a specific summary statement template
To update a template for a summary statement, see the following request and a sample 200 response.
HTTP request:
PUT https://rest.zuora.com/settings/summary-statement-templates/{templateKey}
Request parameters:
- name - The name of the summary statement template.
- templateFormat - The format of the template. Currently, only ‘HTML’ is supported.
- defaultTemplate - Indicates whether this template is the default template.
- base64EncodedTemplateFileContent - The content of the template encoded using the Base64 algorithm. This allows for safe transmission of binary data in a text format.
Request body:
Response body:
Deletea specific summary statement template
To delete a specific summary statement template, the template key of the summary statement is required as a path parameter. See the following request and a sample of 200 response.
HTTP request:
DELETE https://rest.zuora.com/settings/summary-statement-templates/{templateKey}
Response body: