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_idstring · uuidrequiredSchema: 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)
contract_idstringUpdated contract ID (invoice templates only) — used to link a recurring schedule to a contract as a follow-up call after creation, the same pattern the invoice-creation endpoint uses for Invoices.contract_id (see ContractInvoiceModal).
Schema: SuccessEnvelope_RecurringTemplateResponse_
successbooleanmessagestringcodestringdataRecurringTemplateResponseSchema: ErrorResponse
errorstringrequiredError category: validation_error, unauthorized, forbidden, not_found, conflict, rate_limited, server_error, or service_unavailable.
messagestringrequiredHuman-readable explanation, safe to show to end users.
codestringrequiredStable machine-readable code in CATEGORY_NNN form (e.g. NOT_FOUND_006, AUTH_010, GEN_002).
request_idstringCorrelation id for support requests. Echoes the x-request-id request header when one was supplied.
errorsobjectField-level validation messages keyed by field name. Present on 400/422 validation failures only.
Schema: ErrorResponse
errorstringrequiredError category: validation_error, unauthorized, forbidden, not_found, conflict, rate_limited, server_error, or service_unavailable.
messagestringrequiredHuman-readable explanation, safe to show to end users.
codestringrequiredStable machine-readable code in CATEGORY_NNN form (e.g. NOT_FOUND_006, AUTH_010, GEN_002).
request_idstringCorrelation id for support requests. Echoes the x-request-id request header when one was supplied.
errorsobjectField-level validation messages keyed by field name. Present on 400/422 validation failures only.
Schema: ErrorResponse
errorstringrequiredError category: validation_error, unauthorized, forbidden, not_found, conflict, rate_limited, server_error, or service_unavailable.
messagestringrequiredHuman-readable explanation, safe to show to end users.
codestringrequiredStable machine-readable code in CATEGORY_NNN form (e.g. NOT_FOUND_006, AUTH_010, GEN_002).
request_idstringCorrelation id for support requests. Echoes the x-request-id request header when one was supplied.
errorsobjectField-level validation messages keyed by field name. Present on 400/422 validation failures only.
Schema: ErrorResponse
errorstringrequiredError category: validation_error, unauthorized, forbidden, not_found, conflict, rate_limited, server_error, or service_unavailable.
messagestringrequiredHuman-readable explanation, safe to show to end users.
codestringrequiredStable machine-readable code in CATEGORY_NNN form (e.g. NOT_FOUND_006, AUTH_010, GEN_002).
request_idstringCorrelation id for support requests. Echoes the x-request-id request header when one was supplied.
errorsobjectField-level validation messages keyed by field name. Present on 400/422 validation failures only.
Schema: ErrorResponse
errorstringrequiredError category: validation_error, unauthorized, forbidden, not_found, conflict, rate_limited, server_error, or service_unavailable.
messagestringrequiredHuman-readable explanation, safe to show to end users.
codestringrequiredStable machine-readable code in CATEGORY_NNN form (e.g. NOT_FOUND_006, AUTH_010, GEN_002).
request_idstringCorrelation id for support requests. Echoes the x-request-id request header when one was supplied.
errorsobjectField-level validation messages keyed by field name. Present on 400/422 validation failures only.