On this page
No Headings
The template settings. Sets a template as the default template or edit template.
objecttemplate_item_settingsarrayThe template item headers display preference.
itemsobjectThe template item setting. Sets a template as the default template or edit template.
field_namestring"ITEMS_QUANTITY", "ITEMS_DESCRIPTION", "ITEMS_DATE", "ITEMS_DISCOUNT", "ITEMS_TAX"^[\S\s]*$The field name in template_data for which to map corresponding display preferences.
display_preferenceobjectThe display preference.
hiddenbooleanfalseIndicates whether to show or hide this field.
template_subtotal_settingsarrayThe template subtotal headers display preference.
itemsobjectThe template subtotal setting. Includes the field name and display preference.
field_namestring"DISCOUNT", "SHIPPING", "CUSTOM"^[\S\s]*$The field name in template_data for which to map corresponding display preferences.
display_preferenceobjectThe display preference.
hiddenbooleanfalseIndicates whether to show or hide this field.