onboarding_custom_fields object on the Send Business Invite, Add Business, and Update Business requests. Each key is a field ID from your onboarding template. These are the applications that Onboarding SDK 3 renders.
This page covers onboarding templates. For custom field templates, see Custom Fields via Add Business and Update Business.
Before You Start
- The fields must be custom fields in your onboarding template. Ask your Worth contact for the field IDs.
-
The application must use an onboarding template. The template is chosen in this order:
- The template you send: a
template_version_id, or atemplate_definition_id(its published version is used). Send one, not both. - If you’re inviting an existing business that already started onboarding, the template it started with.
- Your account’s default onboarding template, if full onboarding configuration is enabled.
onboarding_custom_fieldsis skipped. The request fails instead if you send an ID without full onboarding configuration enabled, if full onboarding configuration is enabled but your account has no default onboarding template, or if an existing business already started onboarding with a different template. See Onboarding Template Errors. - The template you send: a
Where to Send Values
Update Business writes to the business’s existing application created from an onboarding template. It does not take
template_version_id or template_definition_id, and a business without one skips the values with a warning.
Keys
A key that matches neither pattern, or a field no step of the template declares, is skipped.
Value Formats
A blank value (
null, "", or []) is ignored.
Examples
Send Business Invite:When a Value Can’t Be Applied
A key that can’t be applied is skipped. It never fails the request, and the other keys are still applied.- Add Business and Update Business list each skipped key in the result’s
warnings, for exampleonboarding_custom_fields.custom:opened_on was not applied: the value must be a date in YYYY-MM-DD format, with a year from 1900 to 2050. - Send Business Invite does not return skipped keys, so check values against the formats above before sending.
Reading Values Back
Get Case by ID returns the custom field values of an application created from an onboarding template asonboarding_custom_fields, keyed custom:<fieldId>.
Get Custom Fields (GET /businesses/{businessID}/custom-fields) returns custom field template values only, so it returns an empty list for an application created from an onboarding template.