---
updatedAt: 2026-06-03T14:46:37.000Z
agentTools:
  projectIndex: https://developers.fieldwire.com/llms.txt
---

# Reorder account_form_template_section_record based on sibling

# OpenAPI definition

```json
{
  "openapi": "3.0.3",
  "info": {
    "title": "Fieldwire Regional API",
    "version": "v3"
  },
  "servers": [
    {
      "url": "https://client-api.{region}.fieldwire.com",
      "variables": {
        "region": {
          "default": "us",
          "enum": [
            "ca",
            "eu",
            "us"
          ]
        }
      }
    }
  ],
  "components": {
    "headers": {
      "current_user_id": {
        "description": "Current user's id",
        "schema": {
          "type": "integer"
        }
      }
    },
    "parameters": {
      "api_version": {
        "name": "Fieldwire-Version",
        "in": "header",
        "description": "Specifies the version of the API to talk to",
        "required": true,
        "schema": {
          "type": "string",
          "format": "date"
        }
      },
      "id": {
        "name": "id",
        "in": "path",
        "description": "ID of the entity",
        "required": true,
        "schema": {
          "type": "string",
          "format": "uuid"
        }
      }
    },
    "schemas": {
      "account_form_template_section_record": {
        "type": "object",
        "description": "Entity that denotes a template for a record inside a section (belongs to an `AccountFormTemplateSection`)",
        "required": [
          "id",
          "creator_user_id",
          "last_editor_user_id",
          "account_form_template_section_id",
          "account_id",
          "max_values",
          "min_values",
          "ordinal",
          "created_at",
          "device_created_at",
          "device_updated_at",
          "resolved_conflict",
          "updated_at"
        ],
        "nullable": false,
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "nullable": false,
            "description": "ID of the entity"
          },
          "creator_user_id": {
            "type": "integer",
            "format": "int32",
            "nullable": false,
            "description": "ID of the user who created this entity"
          },
          "last_editor_user_id": {
            "type": "integer",
            "format": "int32",
            "nullable": false,
            "description": "ID of the user who most recently edited this entity"
          },
          "account_form_template_section_id": {
            "type": "string",
            "format": "uuid",
            "nullable": false,
            "description": "ID of the section this belongs to"
          },
          "account_id": {
            "type": "integer",
            "format": "int32",
            "nullable": false,
            "description": "ID of the account this entity belongs to"
          },
          "name": {
            "type": "string",
            "nullable": true,
            "description": "Name of the entity"
          },
          "max_values": {
            "type": "integer",
            "format": "int32",
            "nullable": false,
            "description": "Max number of values this record can have"
          },
          "min_values": {
            "type": "integer",
            "format": "int32",
            "nullable": false,
            "description": "Min number of values this record should have"
          },
          "ordinal": {
            "type": "integer",
            "format": "int32",
            "nullable": false,
            "description": "Specifies the ordering among siblings"
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false,
            "description": "Time when the server created the entity"
          },
          "deleted_at": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "description": "Time the server deleted the entity"
          },
          "device_created_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false,
            "description": "Time when the device created the entity"
          },
          "device_updated_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false,
            "description": "Time when the device last updated the entity"
          },
          "resolved_conflict": {
            "type": "boolean",
            "nullable": false,
            "description": "Specifies if PUT/PATCH request was rejected - do not store this field!"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false,
            "description": "Time when the server last updated the entity"
          }
        },
        "additionalProperties": false
      },
      "reorder_entities_input": {
        "type": "object",
        "description": "Input used to change order among sibling entities",
        "required": [
          "sibling_id"
        ],
        "nullable": false,
        "properties": {
          "sibling_id": {
            "type": "string",
            "format": "uuid",
            "nullable": false,
            "description": "ID of the sibling that stays where this entity should move to"
          }
        },
        "additionalProperties": false
      }
    },
    "securitySchemes": {
      "jwt": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT",
        "description": "Access token (JWT) generated using the acquired refresh token (API token). Our [authentication](https://developers.fieldwire.com/docs/authentication) guide covers the steps to generate a valid token"
      }
    }
  },
  "paths": {
    "/api/v3/account/account_form_template_section_records/{id}/reorder": {
      "put": {
        "summary": "Reorder account_form_template_section_record based on sibling",
        "operationId": "reorder_account_form_template_section_record",
        "tags": [
          "account form template section records"
        ],
        "security": [
          {
            "jwt": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/id"
          },
          {
            "$ref": "#/components/parameters/api_version"
          }
        ],
        "responses": {
          "201": {
            "description": "Successful response",
            "headers": {
              "X-Current-User-Id": {
                "$ref": "#/components/headers/current_user_id"
              }
            },
            "content": {
              "application/json": {
                "example": [
                  {
                    "id": "9b05ce3d-8460-4cbd-8321-add7672e9ddf",
                    "creator_user_id": 259,
                    "last_editor_user_id": 254,
                    "resolved_conflict": false,
                    "created_at": "2026-10-02T14:47:38.068Z",
                    "updated_at": "2026-10-02T14:47:38.426Z",
                    "device_created_at": "2026-10-02T14:47:38.068Z",
                    "device_updated_at": "2026-10-02T14:47:38.426Z",
                    "deleted_at": null,
                    "account_id": 114,
                    "name": "account_form_template_section_record 22",
                    "ordinal": 1,
                    "min_values": 0,
                    "max_values": 1,
                    "account_form_template_section_id": "93c098ae-1c6c-4546-890d-34550d30eb7f"
                  },
                  {
                    "id": "4e574f72-11ea-4072-912f-30bfecac2323",
                    "creator_user_id": 256,
                    "last_editor_user_id": 254,
                    "resolved_conflict": false,
                    "created_at": "2026-10-02T14:47:38.059Z",
                    "updated_at": "2026-10-02T14:47:38.423Z",
                    "device_created_at": "2026-10-02T14:47:38.059Z",
                    "device_updated_at": "2026-10-02T14:47:38.423Z",
                    "deleted_at": null,
                    "account_id": 114,
                    "name": "account_form_template_section_record 21",
                    "ordinal": 2,
                    "min_values": 0,
                    "max_values": 1,
                    "account_form_template_section_id": "93c098ae-1c6c-4546-890d-34550d30eb7f"
                  }
                ],
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/account_form_template_section_record"
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/reorder_entities_input"
              }
            }
          },
          "required": true
        }
      }
    }
  }
}
```