Field NationDeveloper Platform
Field NationDeveloper Platform
IntroductionQuick StartAPI Playground

Getting Started

API Reference

Overview
TasksCustom FieldsMilestonesTime LogsSignaturesCompliance
Work OrdersExecution

Custom Fields

Manage custom fields on work orders for buyer and provider data.


Custom Fields

Custom fields allow you to capture additional data on work orders beyond the standard fields. There are two types:

  • Buyer Custom Fields: Values set by the buyer when creating/updating the work order
  • Provider Custom Fields: Values the provider fills out during work completion

Custom Field Types

Loading diagram...

Work Order Custom Fields

List Custom Fields on Work Order

GET /workorders/{work_order_id}/custom_fields

Returns all custom fields and their values for a specific work order.

{
  "results": [
    {
      "id": 129,
      "name": "Store Number",
      "type": "text",
      "value": "5521",
      "required": true,
      "filled_by": "buyer"
    },
    {
      "id": 130,
      "name": "Serial Number",
      "type": "text",
      "value": null,
      "required": true,
      "filled_by": "provider"
    }
  ]
}

Get Specific Custom Field

GET /workorders/{work_order_id}/custom_fields/{custom_field_id}

{
  "id": 129,
  "name": "Store Number",
  "type": "text",
  "value": "5521",
  "required": true,
  "filled_by": "buyer"
}

Update Custom Field Value

PUT /workorders/{work_order_id}/custom_fields/{custom_field_id}

Update a buyer-defined custom field:

{
  "value": "5522"
}

Provider updates their required field:

{
  "value": "SN-ABC-123456"
}

Global Custom Fields (Company)

List All Custom Fields

Get all custom fields defined for your company.

GET /custom-fields

{
  "results": [
    {
      "id": 129,
      "name": "Store Number",
      "type": "text",
      "required": true,
      "filled_by": "buyer",
      "projects": [501, 502]
    },
    {
      "id": 130,
      "name": "Serial Number Captured",
      "type": "text",
      "required": true,
      "filled_by": "provider",
      "projects": [501]
    },
    {
      "id": 131,
      "name": "Installation Type",
      "type": "dropdown",
      "options": ["New Install", "Replacement", "Upgrade"],
      "required": false,
      "filled_by": "buyer",
      "projects": []
    }
  ]
}

Custom Field Types

Prop

Type

Setting Custom Fields at Creation

When creating a work order, include custom field values:

{
  "title": "Install POS Terminal",
  "custom_fields": {
    "results": [
      {
        "results": [
          { "id": 129, "value": "Store #5521" }
        ]
      }
    ]
  }
}

Custom fields are typically configured in the Field Nation UI and associated with specific projects. Use the API to read the configuration and set/update values.

Provider Custom Fields

Provider custom fields are filled out by the technician during or after completing work. These are often used for:

  • Capturing serial numbers
  • Recording measurements
  • Confirming checklist items
  • Documenting site conditions

If a provider custom field is marked as required, the work order cannot be marked complete until the provider fills in the value.

Related

  • Tasks - Task completion requirements
  • Create Work Order - Using custom fields at creation
  • Projects - Project-level custom fields

Last updated on

Tasks

Manage task checklists that providers must complete.

Milestones

Track granular progress of a work order.

On this page

Custom Fields
Custom Field Types
Work Order Custom Fields
List Custom Fields on Work Order
Get Specific Custom Field
Update Custom Field Value
Global Custom Fields (Company)
List All Custom Fields
Custom Field Types
Setting Custom Fields at Creation
Provider Custom Fields
Related