industry label (recommended) and the legacy naicsCode (deprecated). Each industry value maps to a single classification, so it’s the precise way to set what a company is filed as.
Source the value from the reference list
Read the catalogue with List NAICS codes and use theindustry field of the entry you want. Treat it as the source of truth rather than hard-coding labels.
industry verbatim on create:
Precedence
When both fields are present, doola classifies fromindustry and ignores naicsCode (it isn’t validated). This makes migration painless: you can keep sending your existing naicsCode alongside an industry during the switch. If you send an industry, it must be a valid one — doola uses it as the classification and does not substitute naicsCode.
“valid” means the value exists in List NAICS codes — an
industry matching an entry’s industry, or a naicsCode matching an entry’s naicsCode. Blank strings count as absent.The response echoes both
A successful create returns both the resolvednaicsCode and industry, so you can confirm the classification that was persisted.
Validation errors
These are field-level entries inside the standard validation envelope: the top-levelerror.code is E_VALIDATION_FAILED, and the detail is under error.fields. Branch on error.fields.<field>.code.
Migrating off naicsCode
- Call List NAICS codes and map each
naicsCodeyou send to theindustryof the entry you want. - Switch the create payload from
naicsCodetoindustry. Nothing else changes. - Drop
naicsCodefrom the payload before 2026-09-21.