Reorders the definitions. Requires the manage:organization permission. Every field must appear exactly once, each carrying the revision the client loaded; a stale entry yields 409 and nothing changes.
Default value validated against the field type and options.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Weelkit","description":"How to use Weelkit: chat with AI, write and publish articles, manage your images and knowledge, and track how your content performs in search and AI answers.","colors":{"primary":"#161614","light":"#F3EDE9","dark":"#161614"},"logo":{"light":"https://mintcdn.com/weelkit/rCK35laReQLc0j4Z/logo/light.svg?fit=max\u0026auto=format\u0026n=rCK35laReQLc0j4Z\u0026q=85\u0026s=2f851f7771527dd0905713f660f88b0c","dark":"https://mintcdn.com/weelkit/rCK35laReQLc0j4Z/logo/dark.svg?fit=max\u0026auto=format\u0026n=rCK35laReQLc0j4Z\u0026q=85\u0026s=4e20386a2bee6fafeac4d8002ee2319f"},"favicon":"https://mintcdn.com/weelkit/rCK35laReQLc0j4Z/favicon.svg?fit=max\u0026auto=format\u0026n=rCK35laReQLc0j4Z\u0026q=85\u0026s=f1d980f05789b3c4091ecd5ef6373dce","background":{"color":{"light":"#FBFAF8","dark":"#161614"}},"navbar":{"links":[{"href":"mailto:hello@weelkit.com","label":"Support"}]},"contextual":{"options":["copy","view"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"weelkit","hasAudioNarration":false,"actualSubdomain":"weelkit","customDomains":["docs.weelkit.com"],"gitSource":{"type":"github","owner":"weelkit","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ad9e473db34909eda594d91","collectionId":"d8b36159-0e6d-4c97-a155-3790a9b51c0c","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ad9e473db34909eda594d91"},"entitlements":{},"buildId":"6adc33b77008c2a717e741ae","clientVersion":"0.0.3964","searchFilterCounts":[{"language":"default","tag":"Guides","count":25},{"language":"default","tag":"Integrations","count":18},{"language":"default","tag":"API reference","count":17},{"language":"default","tag":"Webhooks","count":8},{"language":"default","tag":"Organization article fields","count":7},{"language":"default","tag":"Get started","count":5},{"language":"default","tag":"Custom API","count":5},{"language":"default","tag":"Publishing overview","count":5},{"language":"default","tag":"Metrics","count":5},{"language":"default","tag":"Settings","count":5}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-v7-file-tree","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"per-site-search-delta","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-private-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-nav-generations","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"isAtlas":false,"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/article-fields/reorder","slug":"/api-reference/article-fields/reorder","pageMetadata":{"title":"Reorder article fields","openapi":"PUT /api/v1/organization/article-fields/order","description":"Reorders the definitions. Requires the manage:organization permission. Every field must appear exactly once, each carrying the revision the client loaded; a stale entry yields 409 and nothing changes.","href":"/api-reference/article-fields/reorder"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Reorders the definitions. Requires the manage:organization permission. Every field must appear exactly once, each carrying the revision the client loaded; a stale entry yields 409 and nothing changes.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Reorder article fields","openapi":"PUT /api/v1/organization/article-fields/order","description":"Reorders the definitions. Requires the manage:organization permission. Every field must appear exactly once, each carrying the revision the client loaded; a stale entry yields 409 and nothing changes.","href":"/api-reference/article-fields/reorder"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"reorderOrganizationArticleFields","summary":"Reorder article fields","description":"Reorders the definitions. Requires the manage:organization permission. Every field must appear exactly once, each carrying the revision the client loaded; a stale entry yields 409 and nothing changes.","parameters":["d2193764-370b-4c5b-b21a-ddc04c44330b"],"requestBody":"7ea4df96-073a-40c9-9d99-3258a9e6bccb","responses":{"200":"7a77607e-3d0a-41e2-948a-112678ba0a3e","400":"5f97c2d8-5948-4bf6-803a-a2f0394ce162","401":"59c56549-6c1c-4577-8c25-d127540c3361","403":"42ad1f49-5dd1-4115-9de7-e9f22e2fe934","404":"ba754bc4-10de-4731-a3cc-77aa02273d5c","409":"8c196556-ec57-4769-ac2c-ce5342287dce"},"method":"put","type":"path","servers":["74a333ae-afe4-4bdb-8178-d89a41824362"],"security":["d9acb8e2-f57b-4093-816a-8fad7a7d9022"],"path":"/api/v1/organization/article-fields/order","baseUrlOptions":["https://api.weelkit.com"],"title":"Reorder article fields","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"d2193764-370b-4c5b-b21a-ddc04c44330b":{"name":"X-Org-Id","in":"header","required":true,"schema":{"type":"string","format":"uuid","isRequired":true,"description":"The organization the request acts on.","uniqueKey":"","typeLabel":"string\u003cuuid>"},"description":"The organization the request acts on."}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["orderedFields"],"properties":{"orderedFields":{"type":"array","items":{"type":"object","required":["fieldId","expectedRevision"],"properties":{"fieldId":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"orderedFields.items.[INDEX].fieldId","typeLabel":"string\u003cuuid>"},"expectedRevision":{"type":"integer","description":"The revision the client loaded; a stale value yields 409.","isRequired":true,"uniqueKey":"orderedFields.items.[INDEX].expectedRevision","typeLabel":"integer"}},"uniqueKey":"orderedFields.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"orderedFields","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"orderedFields":[{"fieldId":"3c90c3cc-0d44-4b50-8888-8dd25736052a","expectedRevision":123}]}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"7a77607e-3d0a-41e2-948a-112678ba0a3e":{"description":"Success.","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","description":"An organization-defined custom article output field definition.","required":["id","key","label","fieldType","required","options","isActive","sortOrder","revision","createdAtUtc","updatedAtUtc"],"properties":{"id":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"items.[INDEX].id","typeLabel":"string\u003cuuid>"},"key":{"type":"string","description":"Backend-generated stable internal key. Immutable after creation.","pattern":"^[a-z][a-zA-Z0-9]{1,63}$","isRequired":true,"uniqueKey":"items.[INDEX].key","typeLabel":"string"},"label":{"type":"string","maxLength":120,"isRequired":true,"uniqueKey":"items.[INDEX].label","typeLabel":"string"},"fieldType":{"type":"string","enum":["string","text","number","boolean","select","multiselect","date","url"],"description":"Allowlisted field type. Immutable after creation.","isRequired":true,"uniqueKey":"items.[INDEX].fieldType","typeLabel":"enum\u003cstring>"},"required":{"type":"boolean","isRequired":true,"uniqueKey":"items.[INDEX].required","typeLabel":"boolean"},"options":{"type":"array","items":{"type":"object","required":["label","value"],"properties":{"label":{"type":"string","maxLength":200,"isRequired":true,"uniqueKey":"items.[INDEX].options.items.[INDEX].label","typeLabel":"string"},"value":{"type":"string","maxLength":200,"isRequired":true,"uniqueKey":"items.[INDEX].options.items.[INDEX].value","typeLabel":"string"}},"uniqueKey":"items.[INDEX].options.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"items.[INDEX].options","typeLabel":"object[]"},"isActive":{"type":"boolean","isRequired":true,"uniqueKey":"items.[INDEX].isActive","typeLabel":"boolean"},"sortOrder":{"type":"integer","isRequired":true,"uniqueKey":"items.[INDEX].sortOrder","typeLabel":"integer"},"revision":{"type":"integer","description":"Optimistic-concurrency revision. Send it back as expectedRevision on writes; a stale value yields 409.","isRequired":true,"uniqueKey":"items.[INDEX].revision","typeLabel":"integer"},"createdAtUtc":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"items.[INDEX].createdAtUtc","typeLabel":"string\u003cdate-time>"},"updatedAtUtc":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"items.[INDEX].updatedAtUtc","typeLabel":"string\u003cdate-time>"},"description":{"oneOf":[{"type":"string","maxLength":500,"uniqueKey":"items.[INDEX].description.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":500,"uniqueKey":"items.[INDEX].description.oneOf.1","typeLabel":"null"}],"uniqueKey":"items.[INDEX].description","typeLabel":"string | null"},"generationInstruction":{"oneOf":[{"type":"string","maxLength":500,"description":"Bounded instruction rendered to the model during generation.","uniqueKey":"items.[INDEX].generationInstruction.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":500,"description":"Bounded instruction rendered to the model during generation.","uniqueKey":"items.[INDEX].generationInstruction.oneOf.1","typeLabel":"null"}],"uniqueKey":"items.[INDEX].generationInstruction","typeLabel":"string | null"},"defaultValue":{"description":"Default value validated against the field type and options.","uniqueKey":"items.[INDEX].defaultValue","typeLabel":"any"}},"uniqueKey":"items.[INDEX]","typeLabel":"object"},"uniqueKey":"","typeLabel":"object[]"},"examples":{"Example":{"title":"Example","value":[{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","key":"\u003cstring>","label":"\u003cstring>","fieldType":"string","required":true,"options":[{"label":"\u003cstring>","value":"\u003cstring>"}],"isActive":true,"sortOrder":123,"revision":123,"createdAtUtc":"2023-11-07T05:31:56Z","updatedAtUtc":"2023-11-07T05:31:56Z","description":"\u003cstring>","generationInstruction":"\u003cstring>","defaultValue":"\u003cunknown>"}]}},"exampleType":"generated"}},"exampleType":"generated"},"5f97c2d8-5948-4bf6-803a-a2f0394ce162":{"description":"Validation failed.","content":{"application/json":{"schema":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","description":"Stable error code, e.g. Validation, Conflict, NotFound, Forbidden.","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"errors":{"oneOf":[{"type":"array","items":{"type":"object","required":["field","message"],"properties":{"field":{"type":"string","isRequired":true,"uniqueKey":"errors.oneOf.0.items.[INDEX].field","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"errors.oneOf.0.items.[INDEX].message","typeLabel":"string"}},"uniqueKey":"errors.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"errors.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","required":["field","message"],"properties":{"field":{"type":"string"},"message":{"type":"string"}}},"uniqueKey":"errors.oneOf.1","typeLabel":"null"}],"uniqueKey":"errors","typeLabel":"object[] | null"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":"\u003cstring>","message":"\u003cstring>","errors":[{"field":"\u003cstring>","message":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"59c56549-6c1c-4577-8c25-d127540c3361":{"description":"Missing or invalid authentication, or no organization context.","content":{"application/json":{"schema":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","description":"Stable error code, e.g. Validation, Conflict, NotFound, Forbidden.","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"errors":{"oneOf":[{"type":"array","items":{"type":"object","required":["field","message"],"properties":{"field":{"type":"string","isRequired":true,"uniqueKey":"errors.oneOf.0.items.[INDEX].field","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"errors.oneOf.0.items.[INDEX].message","typeLabel":"string"}},"uniqueKey":"errors.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"errors.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","required":["field","message"],"properties":{"field":{"type":"string"},"message":{"type":"string"}}},"uniqueKey":"errors.oneOf.1","typeLabel":"null"}],"uniqueKey":"errors","typeLabel":"object[] | null"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":"\u003cstring>","message":"\u003cstring>","errors":[{"field":"\u003cstring>","message":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"42ad1f49-5dd1-4115-9de7-e9f22e2fe934":{"description":"The caller lacks the manage:organization permission.","content":{"application/json":{"schema":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","description":"Stable error code, e.g. Validation, Conflict, NotFound, Forbidden.","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"errors":{"oneOf":[{"type":"array","items":{"type":"object","required":["field","message"],"properties":{"field":{"type":"string","isRequired":true,"uniqueKey":"errors.oneOf.0.items.[INDEX].field","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"errors.oneOf.0.items.[INDEX].message","typeLabel":"string"}},"uniqueKey":"errors.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"errors.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","required":["field","message"],"properties":{"field":{"type":"string"},"message":{"type":"string"}}},"uniqueKey":"errors.oneOf.1","typeLabel":"null"}],"uniqueKey":"errors","typeLabel":"object[] | null"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":"\u003cstring>","message":"\u003cstring>","errors":[{"field":"\u003cstring>","message":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"ba754bc4-10de-4731-a3cc-77aa02273d5c":{"description":"The resource was not found in this organization.","content":{"application/json":{"schema":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","description":"Stable error code, e.g. Validation, Conflict, NotFound, Forbidden.","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"errors":{"oneOf":[{"type":"array","items":{"type":"object","required":["field","message"],"properties":{"field":{"type":"string","isRequired":true,"uniqueKey":"errors.oneOf.0.items.[INDEX].field","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"errors.oneOf.0.items.[INDEX].message","typeLabel":"string"}},"uniqueKey":"errors.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"errors.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","required":["field","message"],"properties":{"field":{"type":"string"},"message":{"type":"string"}}},"uniqueKey":"errors.oneOf.1","typeLabel":"null"}],"uniqueKey":"errors","typeLabel":"object[] | null"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":"\u003cstring>","message":"\u003cstring>","errors":[{"field":"\u003cstring>","message":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"8c196556-ec57-4769-ac2c-ce5342287dce":{"description":"The resource changed since it was loaded (stale revision) or is currently being processed.","content":{"application/json":{"schema":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","description":"Stable error code, e.g. Validation, Conflict, NotFound, Forbidden.","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"errors":{"oneOf":[{"type":"array","items":{"type":"object","required":["field","message"],"properties":{"field":{"type":"string","isRequired":true,"uniqueKey":"errors.oneOf.0.items.[INDEX].field","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"errors.oneOf.0.items.[INDEX].message","typeLabel":"string"}},"uniqueKey":"errors.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"errors.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","required":["field","message"],"properties":{"field":{"type":"string"},"message":{"type":"string"}}},"uniqueKey":"errors.oneOf.1","typeLabel":"null"}],"uniqueKey":"errors","typeLabel":"object[] | null"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":"\u003cstring>","message":"\u003cstring>","errors":[{"field":"\u003cstring>","message":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"d9acb8e2-f57b-4093-816a-8fad7a7d9022":{"bearerAuth":{"type":"http","scheme":"bearer","description":"Weelkit access token.","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"74a333ae-afe4-4bdb-8178-d89a41824362":{"url":"https://api.weelkit.com"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"Weelkit access token.","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Weelkit access token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"weelkit","siteName":"Weelkit","title":"Reorder article fields - Weelkit","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-03T14:56:01.393Z","originalFileLocation":"api-reference/article-fields/reorder.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Reorders the definitions. Requires the manage:organization permission. Every field must appear exactly once, each carrying the revision the client loaded; a stale entry yields 409 and nothing changes.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Weelkit\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/weelkit/Oct13_C6s-hSAC4M/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/weelkit/Oct13_C6s-hSAC4M/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/weelkit/Oct13_C6s-hSAC4M/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/weelkit/Oct13_C6s-hSAC4M/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/weelkit/Oct13_C6s-hSAC4M/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/weelkit/Oct13_C6s-hSAC4M/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/weelkit/Oct13_C6s-hSAC4M/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/weelkit/Oct13_C6s-hSAC4M/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/weelkit/Oct13_C6s-hSAC4M/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Reorder article fields - Weelkit\">\u003cmeta data-mint-head property=\"og:description\" content=\"Reorders the definitions. Requires the manage:organization permission. Every field must appear exactly once, each carrying the revision the client loaded; a stale entry yields 409 and nothing changes.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Weelkit\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.weelkit.com/api-reference/article-fields/reorder\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://weelkit.mintlify.app/_mintlify/api/og/v2?division=Organization+article+fields\u0026amp;title=Reorder+article+fields\u0026amp;description=Reorders+the+definitions.+Requires+the+manage%3Aorganization+permission.+Every+field+must+appear+exactly+once%2C+each+carrying+the+revision+the+client+loaded%3B+a+sta\u0026amp;theme=f091cb919715f97f6b8fbb0a\u0026amp;signature=5bd8c26d5ddb2c9f19d4ca1a45958c1851945ef95b9e61074d917f025bec1a32\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Reorder article fields - Weelkit\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Reorders the definitions. Requires the manage:organization permission. Every field must appear exactly once, each carrying the revision the client loaded; a stale entry yields 409 and nothing changes.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://weelkit.mintlify.app/_mintlify/api/og/v2?division=Organization+article+fields\u0026amp;title=Reorder+article+fields\u0026amp;description=Reorders+the+definitions.+Requires+the+manage%3Aorganization+permission.+Every+field+must+appear+exactly+once%2C+each+carrying+the+revision+the+client+loaded%3B+a+sta\u0026amp;theme=f091cb919715f97f6b8fbb0a\u0026amp;signature=5bd8c26d5ddb2c9f19d4ca1a45958c1851945ef95b9e61074d917f025bec1a32\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/weelkit/Oct13_C6s-hSAC4M/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Weelkit\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#161614\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.weelkit.com/api-reference/article-fields/reorder\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/article-fields/reorder.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.weelkit.com/#organization\",\"name\":\"Weelkit\",\"url\":\"https://docs.weelkit.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/weelkit/rCK35laReQLc0j4Z/logo/light.svg?fit=max\u0026auto=format\u0026n=rCK35laReQLc0j4Z\u0026q=85\u0026s=2f851f7771527dd0905713f660f88b0c\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.weelkit.com#website\",\"name\":\"Weelkit\",\"url\":\"https://docs.weelkit.com\",\"publisher\":{\"@id\":\"https://docs.weelkit.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.weelkit.com/api-reference/article-fields/reorder#webpage\",\"url\":\"https://docs.weelkit.com/api-reference/article-fields/reorder\",\"name\":\"Reorder article fields\",\"description\":\"Reorders the definitions. Requires the manage:organization permission. Every field must appear exactly once, each carrying the revision the client loaded; a stale entry yields 409 and nothing changes.\",\"dateModified\":\"2026-09-03T14:56:01.393Z\",\"isPartOf\":{\"@id\":\"https://docs.weelkit.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.weelkit.com/api-reference/article-fields/reorder#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.weelkit.com/api-reference/article-fields/reorder#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Organization article fields\",\"item\":\"https://docs.weelkit.com/api-reference/article-fields/list\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Reorder article fields\",\"item\":\"https://docs.weelkit.com/api-reference/article-fields/reorder\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.weelkit.com/api-reference/article-fields/reorder#apireference\",\"headline\":\"Reorder article fields\",\"name\":\"Reorder article fields\",\"description\":\"Reorders the definitions. Requires the manage:organization permission. Every field must appear exactly once, each carrying the revision the client loaded; a stale entry yields 409 and nothing changes.\",\"url\":\"https://docs.weelkit.com/api-reference/article-fields/reorder\",\"mainEntityOfPage\":{\"@id\":\"https://docs.weelkit.com/api-reference/article-fields/reorder#webpage\"},\"dateModified\":\"2026-09-03T14:56:01.393Z\",\"publisher\":{\"@id\":\"https://docs.weelkit.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.weelkit.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Weelkit\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Weelkit","nav":{"global":null,"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":""}]},{"tab":"Integrations","pages":[{"title":"Integrations","href":"/integrations/overview"}]},{"tab":"API reference","groups":[{"group":"API documentation","pages":[{"title":"Introduction","href":"/api-reference/introduction"}]},{"group":"Organization article fields","pages":[{"title":"List organization article fields","openapi":"GET /api/v1/organization/article-fields","href":"/api-reference/article-fields/list"},{"title":"Create an article field","openapi":"POST /api/v1/organization/article-fields","href":"/api-reference/article-fields/create"},{"title":"Preview the effective contract","openapi":"GET /api/v1/organization/article-fields/effective-contract","href":"/api-reference/article-fields/effective-contract"},{"title":"Update an article field","openapi":"PUT /api/v1/organization/article-fields/{fieldId}","href":"/api-reference/article-fields/update"},{"title":"Activate or deactivate a field","openapi":"PUT /api/v1/organization/article-fields/{fieldId}/active","href":"/api-reference/article-fields/set-active"},{"title":"Delete an article field","openapi":"DELETE /api/v1/organization/article-fields/{fieldId}","description":"Deletes one of the organization's custom fields; the default fields can only be turned off. Requires the manage:organization permission. expectedRevision must match the loaded revision or the delete is rejected with 409. A field a CMS mapping still uses is rejected with 409 (code article_field_in_use), naming the mapping; take it out of the mapping first. Articles that hold a value under the field keep it.","href":"/api-reference/article-fields/delete"},{"title":"Reorder article fields","openapi":"PUT /api/v1/organization/article-fields/order","href":"/api-reference/article-fields/reorder"}]},{"group":"Webhooks","pages":[{"title":"List webhook endpoints","openapi":"GET /api/v1/organization/webhooks","description":null,"href":"/api-reference/webhooks/list"},{"title":"Create a webhook endpoint","openapi":"POST /api/v1/organization/webhooks","href":"/api-reference/webhooks/create"},{"title":"List subscribable event types","openapi":"GET /api/v1/organization/webhooks/event-types","href":"/api-reference/webhooks/event-types"},{"title":"Update a webhook endpoint","openapi":"PUT /api/v1/organization/webhooks/{endpointId}","href":"/api-reference/webhooks/update"},{"title":"Delete a webhook endpoint","openapi":"DELETE /api/v1/organization/webhooks/{endpointId}","href":"/api-reference/webhooks/delete"},{"title":"Rotate the signing secret","openapi":"POST /api/v1/organization/webhooks/{endpointId}/rotate-secret","href":"/api-reference/webhooks/rotate-secret"},{"title":"Send a test event","openapi":"POST /api/v1/organization/webhooks/{endpointId}/test","href":"/api-reference/webhooks/test"},{"title":"List recent deliveries","openapi":"GET /api/v1/organization/webhooks/{endpointId}/deliveries","href":"/api-reference/webhooks/deliveries"}]},{"group":"WordPress.com","pages":[{"title":"List WordPress.com sites","openapi":"GET /api/v1/integrations/connections/{id}/wordpress-com/sites","href":"/api-reference/wordpress-com/sites"}]}]}]},"title":"Reorder article fields - Weelkit","buildId":"dpl_HcHmUS6i3UwswnTHJUEdcTtwfdTQ","deploymentId":"dpl_HcHmUS6i3UwswnTHJUEdcTtwfdTQ","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-BRm_l__d.js","utils-f1l1Oc-G.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-BlhqDhJO.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DHCB7rsC.js","snippetPresets-CYXLx6Hv.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-B78P2dEq.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-C4YLPVAh.js","shallow-vlLnTDkQ.js","getApiPlaygroundDisplay-D_98hhvf.js","CodeSnippet-DtnZHGqq.js","CodeSnippets-CLFb8KJt.js","Page-kQh739Uz.js","getPastedJson-Cq-zlbnU.js","icon-sN3t983t.js","MethodPill-P_YQ2s09.js","DuplicateIcon-BVzyNsGJ.js","createIcon-B3jqgqC6.js","DynamicMarkdown-Crwq6WG_.js","SectionHeading-C7pGS2Bb.js","axios-vUo_bRtp.js","Markdown-BuPH8yuW.js","clsx-CCOYKgaU.js","lib--scc4DXi.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BnkC_6oA.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BM4S31-f.js"]}