200Successful Response
Schema: SuccessEnvelope_RecurringTemplateResponse_
successbooleanmessagestringcodestringdataRecurringTemplateResponse
/api/v1/recurring/{template_id}Update an existing recurring template.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
template_idstringrequiredSchema: RecurringTemplateUpdate
namestringUpdated name
currencystringUpdated currency (USD, CAD, AUD, EUR, or GBP)
frequencyFrequencyEnumUpdated frequency
days_until_dueintegerUpdated days until due
day_of_monthintegerUpdated day of month (1-31). Only applies to monthly/quarterly/annually frequencies. If the day doesn't exist in a month, generates on the last day instead.
day_of_weekintegerUpdated day of week (0=Monday, 6=Sunday). Only applies to weekly/biweekly frequencies.
end_datestring · dateUpdated end date. Whichever of end_date or max_occurrences is reached first stops generation.
max_occurrencesintegerUpdated max occurrences. Whichever of end_date or max_occurrences is reached first stops generation.
notesstringUpdated notes
template_dataobjectUpdated template data
auto_sendbooleanUpdated auto-send setting
customer_idstringUpdated customer ID (only for invoice templates)
vendor_idstringUpdated vendor ID (only for bill templates)
Schema: SuccessEnvelope_RecurringTemplateResponse_
successbooleanmessagestringcodestringdataRecurringTemplateResponseSchema: HTTPValidationError
detailarray · ValidationErrorValidationErrorlocarray · string | integerrequiredmsgstringrequiredtypestringrequiredinputobjectctxobject