Create a custom field
Create a new custom field on one entity type (parent_object).
Once created, the field is immediately available on every record of that entity type. Callers then set a per-record value by putting "<id>": <value> into that record's custom_data map on its own create/update endpoint, where <id> is the numeric id returned here. Creating a field does not touch existing records — they simply carry no value for it until one is written — and has no effect on inventory, Metrc, or BioTrack.
This endpoint only creates. It never updates: there is no upsert here, and field_type, parent_object, and filterable are fixed at creation and cannot be changed afterward. To edit a field's name, description, required flag, or option list later, use POST /public/v1/custom-fields/{id}.
Field-type rules the request must satisfy: • dropdown and checkbox fields require a non-empty field_options list (the selectable values); each option must be unique, non-empty, and free of commas. • text and date fields must not carry field_options, and are always non-filterable regardless of what filterable is sent.
Required permission: settings_permissions_custom_fields.
Request body
Response
Custom field created
Changes
No recorded changes to this endpoint across all 1 revision of this API.