---
title: "Order custom fields"
method: POST
path: "/custom_fields/order"
tags: ["Custom Fields"]
---

# Order custom fields

`POST /custom_fields/order`

This endpoint enables you to reorganize the order of custom fields and custom field sections within your organization. You can also move custom fields between sections by specifying a different section_id. `PROVIDER` users can pass `org_id` to reorder custom fields for a managed organization.

## Query parameters

- `org_id` integer

## Request body

- object — Request object to reorder custom fields and optionally sections
  - `orders` CustomFieldOrdersObject[], required — On the Business Edit view of the Partoo App, custom fields will be displayed depending on their order. The lowest number will be the first.
    - `id` integer, required — Id of the custom field
    - `order` integer, required — Describes where the custom field is displayed on the Business Edit view of the Partoo App. If the custom field is within a section, **order** specifies its position within the custom field section.
    - `section_id` integer — Id of the custom field section
  - `section_orders` CustomFieldSectionOrdersObject[] — On the Business Edit view of the Partoo App, custom fields section will be displayed depending on their order. The lowest number will be the first.
    - `id` integer, required — Id of the custom field section
    - `order` integer, required — Describes where the custom field section is displayed on the Business Edit view of the Partoo App.

## Response `200`

OK

- object
  - `status` 'success' — Request status

## Other responses

- `401` — You are not authenticated
- `403` — You are not allowed to perform this action
- `404` — Resource does not exist

---

[API](https://skmtc.net/partoo/apis/partoo-rest-api.md) · [All operations](https://skmtc.net/partoo/apis/partoo-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/partoo/partoo-rest-api/revisions/3652d8b1a8b3/schema)
