Replaces the data type definition. deleteFields lists field ids to remove.
Upgrading a v3-compatible type. A save that uses a v4-only feature turns a v3-compatible type v4-only, for good. The response then carries data_type.migration, the Preparing run that re-sends its records for v4 search. A save that only changes column settings never upgrades; send columnsOnly=true with it. A save that upgrades and turns on unique or uniqueTogether is refused (400): upgrade first, wait for Preparing, then add the unique fields.
Other v4 rules. A Master Data extension cannot be renamed (403, failedCodedtype-035). commonData (scope by hub) changes only while the type has no records. Turning unique on, or adding a combination, when records already repeat a value is refused with failedCodedtype-041 and a duplicates list; when they do not, the claims are registered in the background, during which record writes answer 409. A save of a v3-compatible type while a file import into it runs answers 409.
While the type is being prepared (migration.status is running), this route answers 409 with failedCodedtype-036.
Unique identifier for the data that generated by system.
Example: 640a45dd089dc95a0a09ef14
Query Parameters
columnsOnly
boolean
Marks a save that only changes columnOrder, metaColumns or a field's show, so it never upgrades a v3-compatible type. Ignored when anything else changed.
Body
application/json
Data type definition. The v4 field model adds field types, validations, relations, unique together, column settings and Master Data extensions.
name
string
required
Name of data type.
Example: OutletDetail
fields
object[]
required
List of fields to data type .
Example:
{'id': 'dataId','title': 'Data ID','type': 'text','optionData': [],'required': true,'primaryKey': true}
Show child attributes
deleteFields
array
This parameter is list of fields to data type id for delete the field on collection of data source.
Example:
['outletPhoneNumber','outletCloseOrder']
limitUser
boolean
Setting to limit data source usage by users.
Default: false
provider
enum<string>
The data source provider type. Cannot be changed after creation.
Available options:
internal,
external-api
providerConfig
object
For internal provider
Option 1
Option 2
extends
object
Makes this data type the Extended data of a MileApp entity: its records hold the custom fields read back as extendedData with include=extendedData. One extension per entity per organization. An extension keeps its own name; any other type may not take a Master Data name (user, hub, vehicle, role, tasktype and their translations), refused with failedCodedtype-037.
Show child attributes
uniqueTogether
string[][]
Combinations of two or more field ids whose values together must not repeat within a hub. primaryKey, hasOne and hasMany fields cannot join one. The same combination twice is refused.
Example:[["outlet","product"]]
columnOrder
string[]
Order of the Data Source table columns: _select, _no, field ids, then createdBy, createdTime, updatedTime, hub, limitUser. Unknown ids are dropped on read.
metaColumns
object[]
Visibility of the non-field columns.
Example:[{"id":"createdBy","show":true}]
Show child attributes
commonData
boolean
false scopes records by hub (each record belongs to one hub). Changeable only while the type has no records.
Response
Success
status
boolean
Status of response.
message
string
Message of API response.
data_type
object
Detail of object data type.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Docs","colors":{"primary":"#02A8F3","light":"#02A8F3","dark":"#028FCF"},"logo":{"light":"https://mintcdn.com/mileapp-e5b5ea5a/YqNBkdQwu9Fr_pJf/logo/light.svg?fit=max\u0026auto=format\u0026n=YqNBkdQwu9Fr_pJf\u0026q=85\u0026s=5b55fe90918fe2228b5d14350795a782","dark":"https://mintcdn.com/mileapp-e5b5ea5a/YqNBkdQwu9Fr_pJf/logo/dark.svg?fit=max\u0026auto=format\u0026n=YqNBkdQwu9Fr_pJf\u0026q=85\u0026s=8d3fdbfd41d8d9a81635fb18c57c3fda"},"favicon":"https://mintcdn.com/mileapp-e5b5ea5a/A0gJBfYXXn39zWht/favicon.ico?fit=max\u0026auto=format\u0026n=A0gJBfYXXn39zWht\u0026q=85\u0026s=26aa98e3672a063064419253d6a2a3a4","api":{"playground":{"display":"interactive"},"mdx":{"auth":{"method":"bearer"}}},"navbar":{"links":[{"href":"https://paket.freshdesk.com/support/home","label":"Support"}]},"search":{},"seo":{"metatags":{"robots":"noindex, nofollow"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"mileapp-e5b5ea5a","hasAudioNarration":false,"actualSubdomain":"mileapp-e5b5ea5a","customDomains":["docs.mile.app"],"gitSource":{"type":"gitlab","owner":"paketid","repo":"mileapp-docs","projectId":76553900,"deployBranch":"master","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6b03c162d48387065b22cb84","clientVersion":"0.0.4271","searchFilterCounts":[{"language":"default","tag":"API Reference","count":373},{"language":"default","tag":"Guides","count":206},{"language":"default","tag":"Workflow","count":146},{"language":"default","tag":"Settings","count":114},{"language":"default","tag":"Planning","count":106},{"language":"default","tag":"Routing","count":97},{"language":"default","tag":"Task","count":75},{"language":"default","tag":"Activities","count":71},{"language":"default","tag":"Flow","count":50},{"language":"default","tag":"Analytics","count":45}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","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":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","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":"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":"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":"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":"site-roles","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":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","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":"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":"workos-sso-scim","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},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"custom.css","content":"header>a:first-child img,nav>a:first-child img,a[href=\"/\"]>img,img[src*=\"/logo/\"]{width:150px!important;height:auto!important;max-width:150px!important}"}]}
{"page":{"pagePath":"api-reference/data/data-type/update-data-type","slug":"/api-reference/data/data-type/update-data-type","pageMetadata":{"title":"Update data type","description":"Replaces the data type definition. `deleteFields` lists field ids to remove.\n\n**Upgrading a v3-compatible type.** A save that uses a v4-only feature turns a v3-compatible type v4-only, for good. The response then carries `data_type.migration`, the Preparing run that re-sends its records for v4 search. A save that only changes column settings never upgrades; send `columnsOnly=true` with it. A save that upgrades **and** turns on `unique` or `uniqueTogether` is refused (`400`): upgrade first, wait for Preparing, then add the unique fields.\n\n**Other v4 rules.** A Master Data extension cannot be renamed (`403`, `failedCode` `dtype-035`). `commonData` (scope by hub) changes only while the type has no records. Turning `unique` on, or adding a combination, when records already repeat a value is refused with `failedCode` `dtype-041` and a `duplicates` list; when they do not, the claims are registered in the background, during which record writes answer `409`. A save of a v3-compatible type while a file import into it runs answers `409`.\n\nWhile the type is being prepared (`migration.status` is `running`), this route answers `409` with `failedCode` `dtype-036`.\n\nRequires permission `edit/dataType`.","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-data.json put /data-type/{dataTypeId}","href":"/api-reference/data/data-type/update-data-type","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n strong: \"strong\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsxs(_components.p, {\n children: [\"Replaces the data type definition. \", _jsx(_components.code, {\n children: \"deleteFields\"\n }), \" lists field ids to remove.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Upgrading a v3-compatible type.\"\n }), \" A save that uses a v4-only feature turns a v3-compatible type v4-only, for good. The response then carries \", _jsx(_components.code, {\n children: \"data_type.migration\"\n }), \", the Preparing run that re-sends its records for v4 search. A save that only changes column settings never upgrades; send \", _jsx(_components.code, {\n children: \"columnsOnly=true\"\n }), \" with it. A save that upgrades \", _jsx(_components.strong, {\n children: \"and\"\n }), \" turns on \", _jsx(_components.code, {\n children: \"unique\"\n }), \" or \", _jsx(_components.code, {\n children: \"uniqueTogether\"\n }), \" is refused (\", _jsx(_components.code, {\n children: \"400\"\n }), \"): upgrade first, wait for Preparing, then add the unique fields.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Other v4 rules.\"\n }), \" A Master Data extension cannot be renamed (\", _jsx(_components.code, {\n children: \"403\"\n }), \", \", _jsx(_components.code, {\n children: \"failedCode\"\n }), \" \", _jsx(_components.code, {\n children: \"dtype-035\"\n }), \"). \", _jsx(_components.code, {\n children: \"commonData\"\n }), \" (scope by hub) changes only while the type has no records. Turning \", _jsx(_components.code, {\n children: \"unique\"\n }), \" on, or adding a combination, when records already repeat a value is refused with \", _jsx(_components.code, {\n children: \"failedCode\"\n }), \" \", _jsx(_components.code, {\n children: \"dtype-041\"\n }), \" and a \", _jsx(_components.code, {\n children: \"duplicates\"\n }), \" list; when they do not, the claims are registered in the background, during which record writes answer \", _jsx(_components.code, {\n children: \"409\"\n }), \". A save of a v3-compatible type while a file import into it runs answers \", _jsx(_components.code, {\n children: \"409\"\n }), \".\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"While the type is being prepared (\", _jsx(_components.code, {\n children: \"migration.status\"\n }), \" is \", _jsx(_components.code, {\n children: \"running\"\n }), \"), this route answers \", _jsx(_components.code, {\n children: \"409\"\n }), \" with \", _jsx(_components.code, {\n children: \"failedCode\"\n }), \" \", _jsx(_components.code, {\n children: \"dtype-036\"\n }), \".\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Requires permission \", _jsx(_components.code, {\n children: \"edit/dataType\"\n }), \".\"]\n })]\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":"Update data type","description":"Replaces the data type definition. `deleteFields` lists field ids to remove.\n\n**Upgrading a v3-compatible type.** A save that uses a v4-only feature turns a v3-compatible type v4-only, for good. The response then carries `data_type.migration`, the Preparing run that re-sends its records for v4 search. A save that only changes column settings never upgrades; send `columnsOnly=true` with it. A save that upgrades **and** turns on `unique` or `uniqueTogether` is refused (`400`): upgrade first, wait for Preparing, then add the unique fields.\n\n**Other v4 rules.** A Master Data extension cannot be renamed (`403`, `failedCode` `dtype-035`). `commonData` (scope by hub) changes only while the type has no records. Turning `unique` on, or adding a combination, when records already repeat a value is refused with `failedCode` `dtype-041` and a `duplicates` list; when they do not, the claims are registered in the background, during which record writes answer `409`. A save of a v3-compatible type while a file import into it runs answers `409`.\n\nWhile the type is being prepared (`migration.status` is `running`), this route answers `409` with `failedCode` `dtype-036`.\n\nRequires permission `edit/dataType`.","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-data.json put /data-type/{dataTypeId}","href":"/api-reference/data/data-type/update-data-type","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/mileapp-e5b5ea5a/d5a0deebf54d7f30/scripts/build-openapi.js","/_mintlify/custom/mileapp-e5b5ea5a/bbd4ec23fcfb0c2b/scripts/check-schema.js","/_mintlify/custom/mileapp-e5b5ea5a/4154158bbff482b1/scripts/generate-tag-overviews.js"],"openApiReferenceData":{"operation":{"summary":"Update data type","tags":["Data Type"],"operationId":"putDataTypeById","deprecated":false,"parameters":["ed5643c1-9e34-4138-bd3a-7cc1751489dc","d568aea6-3ade-49bd-a559-7b8812be3829"],"requestBody":"33fffb39-b5ec-4bbe-b405-6d40212f156b","responses":{"200":"ac7e4f35-a431-4a2e-a46b-e50ade5b9016","400":"5ddaf879-2adc-4c42-b7ba-0bc9e9d13893","403":"27e2b200-76e5-412c-bd38-5e24247d123c","404":"c1161e20-aa2c-40a4-a8c8-ba2a83c6d776","409":"79fed5c0-fae5-4448-a4a2-926b8ca79d69","500":"81504601-9273-478e-8de2-279e33e72b00"},"security":["594e19d6-e79f-46ca-91fc-852331d3f09b"],"description":"Replaces the data type definition. `deleteFields` lists field ids to remove.\n\n**Upgrading a v3-compatible type.** A save that uses a v4-only feature turns a v3-compatible type v4-only, for good. The response then carries `data_type.migration`, the Preparing run that re-sends its records for v4 search. A save that only changes column settings never upgrades; send `columnsOnly=true` with it. A save that upgrades **and** turns on `unique` or `uniqueTogether` is refused (`400`): upgrade first, wait for Preparing, then add the unique fields.\n\n**Other v4 rules.** A Master Data extension cannot be renamed (`403`, `failedCode` `dtype-035`). `commonData` (scope by hub) changes only while the type has no records. Turning `unique` on, or adding a combination, when records already repeat a value is refused with `failedCode` `dtype-041` and a `duplicates` list; when they do not, the claims are registered in the background, during which record writes answer `409`. A save of a v3-compatible type while a file import into it runs answers `409`.\n\nWhile the type is being prepared (`migration.status` is `running`), this route answers `409` with `failedCode` `dtype-036`.\n\nRequires permission `edit/dataType`.","servers":["f8b50a57-af22-4fa2-a199-21a501494668"],"method":"put","type":"path","path":"/data-type/{dataTypeId}","baseUrlOptions":["https://apiweb.mile.app/api/v4"],"title":"Update data type","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"ed5643c1-9e34-4138-bd3a-7cc1751489dc":{"name":"_id","in":"path","required":true,"description":"Unique identifier for the data that generated by system.\n**Example**: `640a45dd089dc95a0a09ef14`","schema":{"type":"string","isRequired":true,"description":"Unique identifier for the data that generated by system.\n**Example**: `640a45dd089dc95a0a09ef14`","uniqueKey":"","typeLabel":"string"}},"d568aea6-3ade-49bd-a559-7b8812be3829":{"name":"columnsOnly","in":"query","required":false,"description":"Marks a save that only changes `columnOrder`, `metaColumns` or a field's `show`, so it never upgrades a v3-compatible type. Ignored when anything else changed.","schema":{"type":"boolean","isRequired":false,"description":"Marks a save that only changes `columnOrder`, `metaColumns` or a field's `show`, so it never upgrades a v3-compatible type. Ignored when anything else changed.","uniqueKey":"","typeLabel":"boolean"}}},"requestBody":{"content":{"application/json":{"schema":{"title":"putRequestDataType","example":{"name":"OutletDetail","fields":[{"id":"dataId","title":"Data ID","type":"string","optionData":[],"required":true,"primaryKey":true},{"id":"outletName","title":"Outlet Name","type":"string","optionData":[],"required":true},{"id":"outletHours","title":"Outlet Hours","default":12,"type":"number","optionData":[],"required":true},{"id":"outletType","title":"Outlet Type","type":"string","optionData":["minimarket","supermarket","vending machine","warung"],"required":true},{"id":"outletOpen","title":"Outlet Open","default":"09:00","type":"string","optionData":[],"required":true},{"id":"outletClosed","title":"Outlet Closed","default":"17:00","type":"string","optionData":[],"required":true},{"id":"outletContractExpired","title":"Outlet Contract Expired","type":"string","optionData":[],"required":true},{"id":"outletOpenInWeekend","title":"Outlet Open In Weekend","type":"boolean","optionData":[],"required":true},{"id":"outletGeolocation","title":"Outlet Geolocation","description":"Contoh inputan \"-6.171702325136309,106.81775093078615\"","type":"string","optionData":[],"required":true},{"id":"outletPhoneNumber","title":"Outlet Phone Number","description":"Example format \"+628 456 7890 or +62 123 456 789 or 0123456789\"","type":"string","optionData":[],"required":true},{"id":"outletCloseOrder","title":"Outlet Close Order","description":"Example format \"2024-11-01 15:30:45 or 2024-11-01T15:30:45.123+02:00 or 2024-11-01T15:30:45+02:00\"","type":"string","format":"date-time","optionData":[],"required":true}]},"type":"object","properties":{"name":{"type":"string","description":"Name of data type.\n**Example**: `OutletDetail`","isRequired":true,"uniqueKey":"name","typeLabel":"string"},"fields":{"type":"array","description":"List of fields to data type .\n**Example**: \n `{` \n `'id': 'dataId',` \n `'title': 'Data ID',` \n `'type': 'text',` \n `'optionData': [],` \n `'required': true,` \n `'primaryKey': true` \n `}`","items":{"type":"object","required":["id","title","type","required","show"],"properties":{"id":{"type":"string","description":"Field key, letters, digits, `-` and `_`. Unique within the data type.\n**Example:** `outletName`","isRequired":true,"uniqueKey":"fields.items.[INDEX].id","typeLabel":"string"},"title":{"type":"string","description":"Field label.\n**Example:** `Outlet Name`","isRequired":true,"uniqueKey":"fields.items.[INDEX].title","typeLabel":"string"},"show":{"type":"boolean","description":"Whether the field is shown in the Data Source table.","isRequired":true,"uniqueKey":"fields.items.[INDEX].show","typeLabel":"boolean"},"description":{"type":"string","uniqueKey":"fields.items.[INDEX].description","typeLabel":"string"},"inputType":{"type":"string","description":"The input type of the component (e.g., string, number, date, etc.)","uniqueKey":"fields.items.[INDEX].inputType","typeLabel":"string"},"isRequired":{"type":"boolean","description":"Whether a record must hold a value.","uniqueKey":"fields.items.[INDEX].isRequired","typeLabel":"boolean"},"unique":{"type":"boolean","description":"No two records of one hub may hold the same value. Turning it on when records already repeat a value is refused with `400`, `failedCode` `dtype-041`, and a `duplicates` list.","uniqueKey":"fields.items.[INDEX].unique","typeLabel":"boolean"},"default":{"description":"Default value for a new record.","uniqueKey":"fields.items.[INDEX].default","typeLabel":"any"},"optionData":{"type":"array","items":{"type":"object","additionalProperties":true,"uniqueKey":"fields.items.[INDEX].optionData.items.[INDEX]","typeLabel":"object"},"description":"Required for `option` and `multiOption`: the choices.\n**Example:** `[{\"value\":\"retail\",\"label\":\"Retail\"}]`","uniqueKey":"fields.items.[INDEX].optionData","typeLabel":"object[]"},"validations":{"type":"object","description":"v4 field rules. `min` and `max` are a literal value, or `{\"ref\":\"fieldId\"}` pointing at a sibling field of the same date, date and time, or time type. A literal `min` above a literal `max` is refused. For `multiOption`, `min` and `max` bound how many choices are picked. A text field has no `min` or `max`.","properties":{"min":{"description":"Lowest value, earliest date, or fewest choices.\n**Example:** `0` or `{\"ref\":\"startDate\"}`","uniqueKey":"fields.items.[INDEX].validations.min","typeLabel":"any"},"max":{"description":"Highest value, latest date, or most choices.","uniqueKey":"fields.items.[INDEX].validations.max","typeLabel":"any"},"minInclusive":{"type":"boolean","description":"Whether `min` itself is allowed.\n**Default:** `true`","uniqueKey":"fields.items.[INDEX].validations.minInclusive","typeLabel":"boolean"},"maxInclusive":{"type":"boolean","description":"Whether `max` itself is allowed.\n**Default:** `true`","uniqueKey":"fields.items.[INDEX].validations.maxInclusive","typeLabel":"boolean"},"decimals":{"type":"integer","description":"Number fields: digits allowed after the decimal point.","uniqueKey":"fields.items.[INDEX].validations.decimals","typeLabel":"integer"}},"uniqueKey":"fields.items.[INDEX].validations","typeLabel":"object"},"relation":{"type":"object","description":"Required for a `relation` field: which records it links to.","properties":{"kind":{"type":"string","enum":["belongsTo","belongsToMany","hasOne","hasMany"],"description":"`belongsTo` stores one target id, `belongsToMany` a list of ids. `hasOne` and `hasMany` store nothing: they show the records of another type that point here through `via`.","uniqueKey":"fields.items.[INDEX].relation.kind","typeLabel":"enum\u003cstring>"},"targetKind":{"type":"string","enum":["dataType","standard"],"description":"A data type, or a MileApp entity.","uniqueKey":"fields.items.[INDEX].relation.targetKind","typeLabel":"enum\u003cstring>"},"target":{"type":"string","description":"The target data type `_id`, or for `standard` one of `user`, `hub`, `vehicle`, `role`, `flow`.\n**Example:** `hub`","uniqueKey":"fields.items.[INDEX].relation.target","typeLabel":"string"},"via":{"type":"string","description":"Required for `hasOne` and `hasMany`: the field id, on the target type, that points back here.","uniqueKey":"fields.items.[INDEX].relation.via","typeLabel":"string"},"displayField":{"type":"string","description":"The target field shown for a linked record. Must exist on the target type. Defaults to its Title.","uniqueKey":"fields.items.[INDEX].relation.displayField","typeLabel":"string"}},"uniqueKey":"fields.items.[INDEX].relation","typeLabel":"object"}},"uniqueKey":"fields.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"fields","typeLabel":"object[]"},"deleteFields":{"type":"array","description":"This parameter is list of fields to data type id for delete the field on collection of data source.\n**Example**: \n `[` \n `'outletPhoneNumber',` \n `'outletCloseOrder'` \n `]`","uniqueKey":"deleteFields","typeLabel":"array"},"limitUser":{"type":"boolean","description":"Setting to limit data source usage by users.\n**Default**: `false`","uniqueKey":"limitUser","typeLabel":"boolean"},"provider":{"type":"string","enum":["internal","external-api"],"description":"The data source provider type. Cannot be changed after creation.","uniqueKey":"provider","typeLabel":"enum\u003cstring>"},"providerConfig":{"oneOf":[{"type":"object","description":"For internal provider","uniqueKey":"providerConfig.oneOf.0","typeLabel":"object"},{"type":"object","description":"For external-api provider","required":["url"],"properties":{"url":{"type":"string","format":"uri","description":"The external API endpoint URL. Must be a valid [GET] URL format.\n**Example**: `https://api.external-system.com/v1/products`\n**Validation**: Must be a valid [GET] URL with http:// or https:// protocol","isRequired":true,"uniqueKey":"providerConfig.oneOf.1.url","typeLabel":"string\u003curi>"},"key":{"type":"string","description":"Authentication key for the external API. When updating, if not provided, the existing key will be preserved.\n**Example**: `Bearer sk_live_1234567890`","uniqueKey":"providerConfig.oneOf.1.key","typeLabel":"string"}},"uniqueKey":"providerConfig.oneOf.1","typeLabel":"object"},{"type":"null","uniqueKey":"providerConfig.oneOf.2","typeLabel":"null"}],"uniqueKey":"providerConfig","typeLabel":"object · object · null"},"extends":{"type":"object","properties":{"entity":{"type":"string","enum":["user","hub","vehicle","role"],"uniqueKey":"extends.entity","typeLabel":"enum\u003cstring>"}},"description":"Makes this data type the Extended data of a MileApp entity: its records hold the custom fields read back as `extendedData` with `include=extendedData`. One extension per entity per organization. An extension keeps its own name; any other type may not take a Master Data name (`user`, `hub`, `vehicle`, `role`, `tasktype` and their translations), refused with `failedCode` `dtype-037`.","uniqueKey":"extends","typeLabel":"object"},"uniqueTogether":{"type":"array","items":{"type":"array","items":{"type":"string","uniqueKey":"uniqueTogether.items.[INDEX].items.[INDEX]","typeLabel":"string"},"uniqueKey":"uniqueTogether.items.[INDEX]","typeLabel":"string[]"},"description":"Combinations of two or more field ids whose values together must not repeat within a hub. `primaryKey`, `hasOne` and `hasMany` fields cannot join one. The same combination twice is refused.\n**Example:** `[[\"outlet\",\"product\"]]`","uniqueKey":"uniqueTogether","typeLabel":"string[][]"},"columnOrder":{"type":"array","items":{"type":"string","uniqueKey":"columnOrder.items.[INDEX]","typeLabel":"string"},"description":"Order of the Data Source table columns: `_select`, `_no`, field ids, then `createdBy`, `createdTime`, `updatedTime`, `hub`, `limitUser`. Unknown ids are dropped on read.","uniqueKey":"columnOrder","typeLabel":"string[]"},"metaColumns":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","uniqueKey":"metaColumns.items.[INDEX].id","typeLabel":"string"},"show":{"type":"boolean","uniqueKey":"metaColumns.items.[INDEX].show","typeLabel":"boolean"}},"uniqueKey":"metaColumns.items.[INDEX]","typeLabel":"object"},"description":"Visibility of the non-field columns.\n**Example:** `[{\"id\":\"createdBy\",\"show\":true}]`","uniqueKey":"metaColumns","typeLabel":"object[]"},"commonData":{"type":"boolean","description":"`false` scopes records by hub (each record belongs to one hub). Changeable only while the type has no records.","uniqueKey":"commonData","typeLabel":"boolean"}},"required":["name","fields"],"description":"Data type definition. The v4 field model adds field types, validations, relations, unique together, column settings and Master Data extensions.","uniqueKey":"","typeLabel":"putRequestDataType · object"},"examples":{"Example":{"title":"Example","value":{"name":"OutletDetail","fields":[{"id":"dataId","title":"Data ID","type":"string","optionData":[],"required":true,"primaryKey":true},{"id":"outletName","title":"Outlet Name","type":"string","optionData":[],"required":true},{"id":"outletHours","title":"Outlet Hours","default":12,"type":"number","optionData":[],"required":true},{"id":"outletType","title":"Outlet Type","type":"string","optionData":["minimarket","supermarket","vending machine","warung"],"required":true},{"id":"outletOpen","title":"Outlet Open","default":"09:00","type":"string","optionData":[],"required":true},{"id":"outletClosed","title":"Outlet Closed","default":"17:00","type":"string","optionData":[],"required":true},{"id":"outletContractExpired","title":"Outlet Contract Expired","type":"string","optionData":[],"required":true},{"id":"outletOpenInWeekend","title":"Outlet Open In Weekend","type":"boolean","optionData":[],"required":true},{"id":"outletGeolocation","title":"Outlet Geolocation","description":"Contoh inputan \"-6.171702325136309,106.81775093078615\"","type":"string","optionData":[],"required":true},{"id":"outletPhoneNumber","title":"Outlet Phone Number","description":"Example format \"+628 456 7890 or +62 123 456 789 or 0123456789\"","type":"string","optionData":[],"required":true},{"id":"outletCloseOrder","title":"Outlet Close Order","description":"Example format \"2024-11-01 15:30:45 or 2024-11-01T15:30:45.123+02:00 or 2024-11-01T15:30:45+02:00\"","type":"string","format":"date-time","optionData":[],"required":true}]}}},"exampleType":"generated"}},"required":true,"exampleType":"generated"},"responses":{"ac7e4f35-a431-4a2e-a46b-e50ade5b9016":{"description":"Success","content":{"application/json":{"schema":{"type":"object","title":"NetworkPutResponse","properties":{"status":{"type":"boolean","description":"Status of response.","uniqueKey":"status","typeLabel":"boolean"},"message":{"description":"Message of API response.","type":"string","uniqueKey":"message","typeLabel":"string"},"data_type":{"description":"Detail of object data type.","type":"object","additionalProperties":true,"uniqueKey":"data_type","typeLabel":"object"}},"example":{"status":true,"message":"Success","data_type":{"_id":"640a45dd089dc95a0a09ef14","name":"OutletDetail","fields":[{"id":"dataId","title":"Data ID","type":"string","default":"true","optionData":[],"required":true},{"id":"outletName","title":"Outlet Name","type":"string","optionData":[],"required":true},{"id":"outletHours","title":"Outlet Hours","default":12,"type":"number","optionData":[],"required":true},{"id":"outletType","title":"Outlet Type","type":"string","optionData":["minimarket","supermarket","vending machine","warung"],"required":true},{"id":"outletOpen","title":"Outlet Open","default":"09:00","type":"string","optionData":[],"required":true},{"id":"outletClosed","title":"Outlet Closed","default":"17:00","type":"string","optionData":[],"required":true},{"id":"outletContractExpired","title":"Outlet Contract Expired","type":"string","optionData":[],"required":true},{"id":"outletOpenInWeekend","title":"Outlet Open In Weekend","type":"string","optionData":[],"required":true},{"id":"outletCoordinate","title":"Outlet Coordinate","description":"Contoh inputan \"-6.171702325136309,106.81775093078615\"","type":"string","optionData":[],"required":true},{"id":"outletPhoneNumber","title":"Outlet Phone Number","description":"Example format \"+628 456 7890 or +62 123 456 789 or 0123456789\"","type":"string","optionData":[],"required":true},{"id":"outletCloseOrder","title":"Outlet Close Order","description":"Example format \"2024-11-01 15:30:45 or 2024-11-01T15:30:45.123+02:00 or 2024-11-01T15:30:45+02:00\"","type":"string","format":"date-time","optionData":[],"required":true}],"createdBy":"john.doe@example.com","organizationId":"63c61d865347e356d05e3052","updatedTime":"2023-03-09 20:47:24","createdTime":"2023-03-09 20:47:24","provider":"internal","providerConfig":null}},"uniqueKey":"","typeLabel":"NetworkPutResponse · object"},"examples":{"Example":{"title":"Example","value":{"status":true,"message":"Success","data_type":{"_id":"640a45dd089dc95a0a09ef14","name":"OutletDetail","fields":[{"id":"dataId","title":"Data ID","type":"string","default":"true","optionData":[],"required":true},{"id":"outletName","title":"Outlet Name","type":"string","optionData":[],"required":true},{"id":"outletHours","title":"Outlet Hours","default":12,"type":"number","optionData":[],"required":true},{"id":"outletType","title":"Outlet Type","type":"string","optionData":["minimarket","supermarket","vending machine","warung"],"required":true},{"id":"outletOpen","title":"Outlet Open","default":"09:00","type":"string","optionData":[],"required":true},{"id":"outletClosed","title":"Outlet Closed","default":"17:00","type":"string","optionData":[],"required":true},{"id":"outletContractExpired","title":"Outlet Contract Expired","type":"string","optionData":[],"required":true},{"id":"outletOpenInWeekend","title":"Outlet Open In Weekend","type":"string","optionData":[],"required":true},{"id":"outletCoordinate","title":"Outlet Coordinate","description":"Contoh inputan \"-6.171702325136309,106.81775093078615\"","type":"string","optionData":[],"required":true},{"id":"outletPhoneNumber","title":"Outlet Phone Number","description":"Example format \"+628 456 7890 or +62 123 456 789 or 0123456789\"","type":"string","optionData":[],"required":true},{"id":"outletCloseOrder","title":"Outlet Close Order","description":"Example format \"2024-11-01 15:30:45 or 2024-11-01T15:30:45.123+02:00 or 2024-11-01T15:30:45+02:00\"","type":"string","format":"date-time","optionData":[],"required":true}],"createdBy":"john.doe@example.com","organizationId":"63c61d865347e356d05e3052","updatedTime":"2023-03-09 20:47:24","createdTime":"2023-03-09 20:47:24","provider":"internal","providerConfig":null}}}},"exampleType":"generated"}},"exampleType":"generated"},"5ddaf879-2adc-4c42-b7ba-0bc9e9d13893":{"description":"Bad Request","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"boolean","description":"Shows if the request was successful.","uniqueKey":"status","typeLabel":"boolean"},"message":{"type":"string","description":"A short message explaining what went wrong.","uniqueKey":"message","typeLabel":"string"}},"example":{"status":false,"message":"Bad request - invalid parameters provided."},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"status":false,"message":"Bad request - invalid parameters provided."}}},"exampleType":"generated"}},"exampleType":"generated"},"27e2b200-76e5-412c-bd38-5e24247d123c":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"boolean","description":"Shows if the request was successful.","uniqueKey":"status","typeLabel":"boolean"},"message":{"type":"string","description":"A short message explaining what went wrong.","uniqueKey":"message","typeLabel":"string"}},"example":{"status":false,"message":"Bad request - invalid parameters provided."},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"status":false,"message":"Bad request - invalid parameters provided."}}},"exampleType":"generated"}},"exampleType":"generated"},"c1161e20-aa2c-40a4-a8c8-ba2a83c6d776":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"boolean","description":"Shows if the request was successful.","uniqueKey":"status","typeLabel":"boolean"},"message":{"type":"string","description":"A short message explaining what went wrong.","uniqueKey":"message","typeLabel":"string"}},"example":{"status":false,"message":"Data not found"},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"status":false,"message":"Data not found"}}},"exampleType":"generated"}},"exampleType":"generated"},"79fed5c0-fae5-4448-a4a2-926b8ca79d69":{"description":"Conflict: the data type is being prepared or a file import into it is running","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"boolean","description":"Shows if the request was successful.","uniqueKey":"status","typeLabel":"boolean"},"message":{"type":"string","description":"A short message explaining what went wrong.","uniqueKey":"message","typeLabel":"string"}},"example":{"status":false,"message":"Bad request - invalid parameters provided."},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"status":false,"message":"Bad request - invalid parameters provided."}}},"exampleType":"generated"}},"exampleType":"generated"},"81504601-9273-478e-8de2-279e33e72b00":{"description":"Server error","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"boolean","description":"Shows if the request was successful.","uniqueKey":"status","typeLabel":"boolean"},"message":{"type":"string","description":"A short message explaining what went wrong.","uniqueKey":"message","typeLabel":"string"}},"example":{"status":false,"message":"Internal server error, please contact support@mile.app."},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"status":false,"message":"Internal server error, please contact support@mile.app."}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"594e19d6-e79f-46ca-91fc-852331d3f09b":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Use a valid Bearer token to authenticate.","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"f8b50a57-af22-4fa2-a199-21a501494668":{"url":"https://apiweb.mile.app/api/v4"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Use a valid Bearer token to authenticate.","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Use a valid Bearer token to authenticate.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"openapi/public/openapi-data.json"},"subdomain":"mileapp-e5b5ea5a","siteName":"Docs","title":"Update data type - Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-23T04:31:20.375Z","originalFileLocation":"api-reference/data/data-type/update-data-type.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=\"Replaces the data type definition. deleteFields lists field ids to remove. Upgrading a v3-compatible type. A save that uses a v4-only feature turns a v3-compatible type v4-only, for good. The response then carries data_type.migration, the Preparing run that re-sends its records for v4 search. A save that only changes column settings never upgrades; send columnsOnly=true with it. A save that upgrades and turns on unique or uniqueTogether is refused (400): upgrade first, wait for Preparing, then add the unique fields. Other v4 rules. A Master Data extension cannot be renamed (403, failedCode dtype-035). commonData (scope by hub) changes only while the type has no records. Turning unique on, or adding a combination, when records already repeat a value is refused with failedCode dtype-041 and a duplicates list; when they do not, the claims are registered in the background, during which record writes answer 409. A save of a v3-compatible type while a file import into it runs answers 409. While the type is being prepared (migration.status is running), this route answers 409 with failedCode dtype-036. Requires permission edit/dataType.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003cmeta data-mint-head name=\"robots\" content=\"noindex, nofollow\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/mileapp-e5b5ea5a/PRrUrPi52Vj7NMeo/_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/mileapp-e5b5ea5a/PRrUrPi52Vj7NMeo/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/mileapp-e5b5ea5a/PRrUrPi52Vj7NMeo/_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/mileapp-e5b5ea5a/PRrUrPi52Vj7NMeo/_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/mileapp-e5b5ea5a/PRrUrPi52Vj7NMeo/_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/mileapp-e5b5ea5a/PRrUrPi52Vj7NMeo/_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/mileapp-e5b5ea5a/PRrUrPi52Vj7NMeo/_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/mileapp-e5b5ea5a/PRrUrPi52Vj7NMeo/_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/mileapp-e5b5ea5a/PRrUrPi52Vj7NMeo/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Update data type - Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Replaces the data type definition. deleteFields lists field ids to remove. Upgrading a v3-compatible type. A save that uses a v4-only feature turns a v3-compatible type v4-only, for good. The response then carries data_type.migration, the Preparing run that re-sends its records for v4 search. A save that only changes column settings never upgrades; send columnsOnly=true with it. A save that upgrades and turns on unique or uniqueTogether is refused (400): upgrade first, wait for Preparing, then add the unique fields. Other v4 rules. A Master Data extension cannot be renamed (403, failedCode dtype-035). commonData (scope by hub) changes only while the type has no records. Turning unique on, or adding a combination, when records already repeat a value is refused with failedCode dtype-041 and a duplicates list; when they do not, the claims are registered in the background, during which record writes answer 409. A save of a v3-compatible type while a file import into it runs answers 409. While the type is being prepared (migration.status is running), this route answers 409 with failedCode dtype-036. Requires permission edit/dataType.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.mile.app/api-reference/data/data-type/update-data-type\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://mileapp-e5b5ea5a.mintlify.site/_mintlify/api/og/v2?division=Data+Type\u0026amp;title=Update+data+type\u0026amp;description=Replaces+the+data+type+definition.+%60deleteFields%60+lists+field+ids+to+remove.%0A%0A**Upgrading+a+v3-compatible+type.**+A+save+that+uses+a+v4-only+feature+turns+a+v3-\u0026amp;theme=5437e142fad28ca970fa60b1\u0026amp;signature=ac63382962549fef35a82fbb7ede1a39f5b821ec9048a86ea1630c971699bfdc\">\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=\"Update data type - Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Replaces the data type definition. deleteFields lists field ids to remove. Upgrading a v3-compatible type. A save that uses a v4-only feature turns a v3-compatible type v4-only, for good. The response then carries data_type.migration, the Preparing run that re-sends its records for v4 search. A save that only changes column settings never upgrades; send columnsOnly=true with it. A save that upgrades and turns on unique or uniqueTogether is refused (400): upgrade first, wait for Preparing, then add the unique fields. Other v4 rules. A Master Data extension cannot be renamed (403, failedCode dtype-035). commonData (scope by hub) changes only while the type has no records. Turning unique on, or adding a combination, when records already repeat a value is refused with failedCode dtype-041 and a duplicates list; when they do not, the claims are registered in the background, during which record writes answer 409. A save of a v3-compatible type while a file import into it runs answers 409. While the type is being prepared (migration.status is running), this route answers 409 with failedCode dtype-036. Requires permission edit/dataType.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://mileapp-e5b5ea5a.mintlify.site/_mintlify/api/og/v2?division=Data+Type\u0026amp;title=Update+data+type\u0026amp;description=Replaces+the+data+type+definition.+%60deleteFields%60+lists+field+ids+to+remove.%0A%0A**Upgrading+a+v3-compatible+type.**+A+save+that+uses+a+v4-only+feature+turns+a+v3-\u0026amp;theme=5437e142fad28ca970fa60b1\u0026amp;signature=ac63382962549fef35a82fbb7ede1a39f5b821ec9048a86ea1630c971699bfdc\">\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/mileapp-e5b5ea5a/PRrUrPi52Vj7NMeo/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#02A8F3\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.mile.app/api-reference/data/data-type/update-data-type\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/data/data-type/update-data-type.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.mile.app/#organization\",\"name\":\"Docs\",\"url\":\"https://docs.mile.app\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/mileapp-e5b5ea5a/YqNBkdQwu9Fr_pJf/logo/light.svg?fit=max\u0026auto=format\u0026n=YqNBkdQwu9Fr_pJf\u0026q=85\u0026s=5b55fe90918fe2228b5d14350795a782\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.mile.app#website\",\"name\":\"Docs\",\"url\":\"https://docs.mile.app\",\"publisher\":{\"@id\":\"https://docs.mile.app/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.mile.app/api-reference/data/data-type/update-data-type#webpage\",\"url\":\"https://docs.mile.app/api-reference/data/data-type/update-data-type\",\"name\":\"Update data type\",\"description\":\"Replaces the data type definition. deleteFields lists field ids to remove. Upgrading a v3-compatible type. A save that uses a v4-only feature turns a v3-compatible type v4-only, for good. The response then carries data_type.migration, the Preparing run that re-sends its records for v4 search. A save that only changes column settings never upgrades; send columnsOnly=true with it. A save that upgrades and turns on unique or uniqueTogether is refused (400): upgrade first, wait for Preparing, then add the unique fields. Other v4 rules. A Master Data extension cannot be renamed (403, failedCode dtype-035). commonData (scope by hub) changes only while the type has no records. Turning unique on, or adding a combination, when records already repeat a value is refused with failedCode dtype-041 and a duplicates list; when they do not, the claims are registered in the background, during which record writes answer 409. A save of a v3-compatible type while a file import into it runs answers 409. While the type is being prepared (migration.status is running), this route answers 409 with failedCode dtype-036. Requires permission edit/dataType.\",\"dateModified\":\"2026-11-23T04:31:20.375Z\",\"isPartOf\":{\"@id\":\"https://docs.mile.app#website\"},\"breadcrumb\":{\"@id\":\"https://docs.mile.app/api-reference/data/data-type/update-data-type#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.mile.app/api-reference/data/data-type/update-data-type#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Workflow\",\"item\":\"https://docs.mile.app/api-reference/data/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Data Type\",\"item\":\"https://docs.mile.app/api-reference/data/overview\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Update data type\",\"item\":\"https://docs.mile.app/api-reference/data/data-type/update-data-type\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.mile.app/api-reference/data/data-type/update-data-type#apireference\",\"headline\":\"Update data type\",\"name\":\"Update data type\",\"description\":\"Replaces the data type definition. deleteFields lists field ids to remove. Upgrading a v3-compatible type. A save that uses a v4-only feature turns a v3-compatible type v4-only, for good. The response then carries data_type.migration, the Preparing run that re-sends its records for v4 search. A save that only changes column settings never upgrades; send columnsOnly=true with it. A save that upgrades and turns on unique or uniqueTogether is refused (400): upgrade first, wait for Preparing, then add the unique fields. Other v4 rules. A Master Data extension cannot be renamed (403, failedCode dtype-035). commonData (scope by hub) changes only while the type has no records. Turning unique on, or adding a combination, when records already repeat a value is refused with failedCode dtype-041 and a duplicates list; when they do not, the claims are registered in the background, during which record writes answer 409. A save of a v3-compatible type while a file import into it runs answers 409. While the type is being prepared (migration.status is running), this route answers 409 with failedCode dtype-036. Requires permission edit/dataType.\",\"url\":\"https://docs.mile.app/api-reference/data/data-type/update-data-type\",\"mainEntityOfPage\":{\"@id\":\"https://docs.mile.app/api-reference/data/data-type/update-data-type#webpage\"},\"dateModified\":\"2026-11-23T04:31:20.375Z\",\"publisher\":{\"@id\":\"https://docs.mile.app/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.mile.app#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/data/data-type/update-data-type.md","siteName":"Docs","nav":{"global":null,"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":"/pages/getting-started/introduction"}]},{"tab":"API Reference","groups":[{"group":"Getting Started","pages":[{"title":"Introduction","href":"/api-reference/introduction"},{"title":"Authentication","href":"/api-reference/authentication"},{"title":"Data Formats","href":"/api-reference/data-formats"},{"title":"Status Codes","href":"/api-reference/status-codes"}]},{"group":"Analytics","pages":[{"group":"Dashboard","pages":[{"title":"Dashboard","href":"/api-reference/analytics/dashboard-overview"},{"title":"Read dashboards","deprecated":null,"version":null,"openapi":"/openapi/public/openapi-analytics.json get /dynamic-dashboards","href":"/api-reference/analytics/dashboard/read-dashboards"},{"title":"Create dashboard","deprecated":null,"version":null,"openapi":"/openapi/public/openapi-analytics.json post /dynamic-dashboard","href":"/api-reference/analytics/dashboard/create-dashboard"},{"title":"Read dashboard by ID","deprecated":null,"version":null,"openapi":"/openapi/public/openapi-analytics.json get /dynamic-dashboard/{id}","href":"/api-reference/analytics/dashboard/read-dashboard-by-id"},{"title":"Update partially dashboard by ID","deprecated":null,"version":null,"openapi":"/openapi/public/openapi-analytics.json patch /dynamic-dashboard/{id}","href":"/api-reference/analytics/dashboard/update-partially-dashboard-by-id"},{"title":"Delete dashboard by ID","deprecated":null,"version":null,"openapi":"/openapi/public/openapi-analytics.json delete /dynamic-dashboard/{id}","href":"/api-reference/analytics/dashboard/delete-dashboard-by-id"},{"title":"Duplicate dashboard by ID","deprecated":null,"version":null,"openapi":"/openapi/public/openapi-analytics.json post /dynamic-dashboard/{id}/duplicate","href":"/api-reference/analytics/dashboard/duplicate-dashboard-by-id"},{"title":"Save dashboard as template","deprecated":null,"version":null,"openapi":"/openapi/public/openapi-analytics.json post /dynamic-dashboard/{id}/save-as-template","href":"/api-reference/analytics/dashboard/save-dashboard-as-template"},{"title":"Read dashboard templates","deprecated":null,"version":null,"openapi":"/openapi/public/openapi-analytics.json get /dynamic-dashboard-templates","href":"/api-reference/analytics/dashboard/read-dashboard-templates"},{"title":"Delete dashboard template by ID","deprecated":null,"version":null,"openapi":"/openapi/public/openapi-analytics.json delete /dynamic-dashboard-template/{id}","href":"/api-reference/analytics/dashboard/delete-dashboard-template-by-id"},{"title":"Read widgets","deprecated":null,"version":null,"openapi":"/openapi/public/openapi-analytics.json get /dynamic-dashboard-widgets","href":"/api-reference/analytics/dashboard/read-widgets"},{"title":"Create custom widget","deprecated":null,"version":null,"openapi":"/openapi/public/openapi-analytics.json post /dynamic-dashboard-widget","href":"/api-reference/analytics/dashboard/create-custom-widget"},{"title":"Update partially custom widget by ID","deprecated":null,"version":null,"openapi":"/openapi/public/openapi-analytics.json patch /dynamic-dashboard-widget/{id}","href":"/api-reference/analytics/dashboard/update-partially-custom-widget-by-id"},{"title":"Delete custom widget by ID","deprecated":null,"version":null,"openapi":"/openapi/public/openapi-analytics.json delete /dynamic-dashboard-widget/{id}","href":"/api-reference/analytics/dashboard/delete-custom-widget-by-id"},{"title":"Run analytics query","deprecated":null,"version":null,"openapi":"/openapi/public/openapi-analytics.json post /analytics/query","href":"/api-reference/analytics/dashboard/run-analytics-query"},{"title":"Read analytics catalog","deprecated":null,"version":null,"openapi":"/openapi/public/openapi-analytics.json get /analytics/catalog","href":"/api-reference/analytics/dashboard/read-analytics-catalog"},{"title":"Read analytics field metadata","deprecated":null,"version":null,"openapi":"/openapi/public/openapi-analytics.json get /analytics/field-metadata","href":"/api-reference/analytics/dashboard/read-analytics-field-metadata"},{"title":"Get sample rows","deprecated":null,"version":null,"openapi":"/openapi/public/openapi-analytics.json post /analytics/preview","href":"/api-reference/analytics/dashboard/get-sample-rows"},{"title":"Save card as widget template","deprecated":null,"version":null,"openapi":"/openapi/public/openapi-analytics.json post /dynamic-dashboard/{id}/card/{cardId}/save-as-widget-template","href":"/api-reference/analytics/dashboard/save-card-as-widget-template"}]},{"group":"Report","pages":[{"title":"Report","href":"/api-reference/analytics/report-overview"},{"title":"Read reports","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-analytics.json get /reports","href":"/api-reference/analytics/report/read-reports"},{"title":"Create report","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-analytics.json post /report","href":"/api-reference/analytics/report/create-report"},{"title":"Read report by ID","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-analytics.json get /report/{id}","href":"/api-reference/analytics/report/read-report-by-id"},{"title":"Update report","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-analytics.json patch /report/{id}","href":"/api-reference/analytics/report/update-report"},{"title":"Delete report","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-analytics.json delete /report/{id}","href":"/api-reference/analytics/report/delete-report"}]},{"group":"Insight","pages":[{"title":"Insight","href":"/api-reference/analytics/insight-report-overview"},{"title":"Read insight context","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-analytics.json get /ai-insight/context/{objectId}","href":"/api-reference/analytics/insight-report/read-insight-context"},{"title":"Update insight context","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-analytics.json put /ai-insight/context/{objectId}","href":"/api-reference/analytics/insight-report/update-insight-context"},{"title":"Regenerate insight context","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-analytics.json post /ai-insight/context/{objectId}/regenerate","href":"/api-reference/analytics/insight-report/regenerate-insight-context"},{"title":"Generate insight report","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-analytics.json post /ai-insight/generate","href":"/api-reference/analytics/insight-report/generate-insight-report"},{"title":"Read insight reports","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-analytics.json get /ai-insight/results","href":"/api-reference/analytics/insight-report/read-insight-reports"},{"title":"Read insight report by ID","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-analytics.json get /ai-insight/results/{id}","href":"/api-reference/analytics/insight-report/read-insight-report-by-id"},{"title":"Delete insight report","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-analytics.json delete /ai-insight/results/{id}","href":"/api-reference/analytics/insight-report/delete-insight-report"},{"title":"Retry insight report","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-analytics.json post /ai-insight/results/{id}/retry","href":"/api-reference/analytics/insight-report/retry-insight-report"}]}]},{"group":"Planning","pages":[{"group":"Routing","pages":[{"group":"Routing","pages":[{"title":"Overview","href":"/api-reference/routing/overview"},{"title":"What's New in Routing API","href":"/api-reference/routing/routing-api-versions"},{"title":"Read routing results","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-routing.json get /results","href":"/api-reference/routing/routing/read-routing-results"},{"title":"Read routing result by ID","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-routing.json get /result/{resultId}","href":"/api-reference/routing/routing/read-routing-result-by-id"},{"title":"Update routing result by ID","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-routing.json put /result/{resultId}","href":"/api-reference/routing/routing/update-routing-result-by-id"},{"title":"Update partially routing result by ID","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-routing.json patch /result/{resultId}","href":"/api-reference/routing/routing/update-partially-routing-result-by-id"},{"title":"Delete routing result by ID","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-routing.json delete /result/{resultId}","href":"/api-reference/routing/routing/delete-routing-result-by-id"},{"title":"Route optimize","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-routing.json post /routing","href":"/api-reference/routing/routing/route-optimize"},{"title":"Retry routing","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-routing.json post /routing/{resultId}","href":"/api-reference/routing/routing/retry-routing"},{"title":"Calculate route","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-routing.json post /route-calculate","href":"/api-reference/routing/routing/calculate-route"},{"title":"Calculate routes in bulk","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-routing.json post /route-calculate/bulk","href":"/api-reference/routing/routing/calculate-routes-in-bulk"},{"title":"Dispatch routing result","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-routing.json post /dispatch","href":"/api-reference/routing/routing/dispatch-routing-result"},{"title":"Reorder visits","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-routing.json post /reorder-visits","href":"/api-reference/routing/routing/reorder-visits"},{"title":"Read routing result history by result ID","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-routing.json get /result/{resultId}/history","href":"/api-reference/routing/routing/read-routing-result-history-by-result-id"},{"title":"Switch visits between vehicles","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-routing.json post /result/switch-visit","href":"/api-reference/routing/routing/switch-visits-between-vehicles"},{"title":"Restore routing result version","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-routing.json put /result/{resultId}/restore/{version}","href":"/api-reference/routing/routing/restore-routing-result-version"},{"title":"Reset routing result","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-routing.json put /result/{resultId}/reset","href":"/api-reference/routing/routing/reset-routing-result"},{"title":"Read dispatch of a routing result","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-routing.json get /dispatch/{resultId}","href":"/api-reference/routing/routing/read-dispatch-of-a-routing-result"},{"title":"Delete dispatch of a routing result","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-routing.json delete /dispatch/{resultId}","href":"/api-reference/routing/routing/delete-dispatch-of-a-routing-result"}]},{"group":"Vehicle","pages":[{"title":"Vehicle","href":"/api-reference/routing/vehicle-overview"},{"title":"Read vehicles","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-routing.json get /vehicles","href":"/api-reference/routing/vehicle/read-vehicles"},{"title":"Read vehicle by ID","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-routing.json get /vehicle/{vehicleId}","href":"/api-reference/routing/vehicle/read-vehicle-by-id"},{"title":"Update vehicle by ID","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-routing.json put /vehicle/{vehicleId}","href":"/api-reference/routing/vehicle/update-vehicle-by-id"},{"title":"Update partially vehicle by ID","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-routing.json patch /vehicle/{vehicleId}","href":"/api-reference/routing/vehicle/update-partially-vehicle-by-id"},{"title":"Delete vehicle by ID","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-routing.json delete /vehicle/{vehicleId}","href":"/api-reference/routing/vehicle/delete-vehicle-by-id"},{"title":"Create vehicle","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-routing.json post /vehicle","href":"/api-reference/routing/vehicle/create-vehicle"},{"title":"Bulk create vehicle","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-routing.json post /vehicles/","href":"/api-reference/routing/vehicle/bulk-create-vehicle"},{"title":"Delete vehicle by Hub","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-routing.json delete /vehicles/{hubId}/hub","href":"/api-reference/routing/vehicle/delete-vehicle-by-hub"}]},{"group":"Vehicle Maintenance","pages":[{"title":"Vehicle Maintenance","href":"/api-reference/routing/vehicle-maintenance-overview"},{"title":"Read vehicle maintenance schedules","deprecated":null,"version":null,"openapi":"/openapi/public/openapi-routing.json get /vehicle-maintenances","href":"/api-reference/routing/vehicle-maintenance/read-vehicle-maintenance-schedules"},{"title":"Save vehicle maintenance schedules","deprecated":null,"version":null,"openapi":"/openapi/public/openapi-routing.json post /vehicle-maintenances","href":"/api-reference/routing/vehicle-maintenance/save-vehicle-maintenance-schedules"},{"title":"Delete vehicle maintenance schedule by ID","deprecated":null,"version":null,"openapi":"/openapi/public/openapi-routing.json delete /vehicle-maintenance/{id}","href":"/api-reference/routing/vehicle-maintenance/delete-vehicle-maintenance-schedule-by-id"}]},{"group":"Configuration","pages":[{"title":"Configuration","href":"/api-reference/routing/configuration-overview"},{"title":"Read routing configurations","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-routing.json get /configurations","href":"/api-reference/routing/configuration/read-routing-configurations"},{"title":"Create routing configuration","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-routing.json post /configuration","href":"/api-reference/routing/configuration/create-routing-configuration"},{"title":"Read routing configuration by ID","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-routing.json get /configuration/{configurationId}","href":"/api-reference/routing/configuration/read-routing-configuration-by-id"},{"title":"Update routing configuration","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-routing.json put /configuration/{configurationId}","href":"/api-reference/routing/configuration/update-routing-configuration"},{"title":"Delete routing configuration","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-routing.json delete /configuration/{configurationId}","href":"/api-reference/routing/configuration/delete-routing-configuration"},{"title":"Read default routing configuration of a hub","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-routing.json get /configuration/hub/{hubId}","href":"/api-reference/routing/configuration/read-default-routing-configuration-of-a-hub"},{"title":"Update routing configurations of a hub","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-routing.json patch /configurations/hub/{hubId}","href":"/api-reference/routing/configuration/update-routing-configurations-of-a-hub"},{"title":"Read capacity constraints","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-routing.json get /capacity-constraints","href":"/api-reference/routing/capacity-constraint/read-capacity-constraints"},{"title":"Read capacity constraint","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-routing.json get /capacity-constraint","href":"/api-reference/routing/capacity-constraint/read-capacity-constraint"},{"title":"Create capacity constraint","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-routing.json post /capacity-constraint","href":"/api-reference/routing/capacity-constraint/create-capacity-constraint"},{"title":"Read capacity constraint by ID","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-routing.json get /capacity-constraint/{capacityConstraintId}","href":"/api-reference/routing/capacity-constraint/read-capacity-constraint-by-id"},{"title":"Update capacity constraint","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-routing.json put /capacity-constraint/{capacityConstraintId}","href":"/api-reference/routing/capacity-constraint/update-capacity-constraint"},{"title":"Delete capacity constraint","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-routing.json delete /capacity-constraint/{capacityConstraintId}","href":"/api-reference/routing/capacity-constraint/delete-capacity-constraint"},{"title":"Read capacity constraint of a hub","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-routing.json get /capacity-constraint/hub/{hubId}","href":"/api-reference/routing/capacity-constraint/read-capacity-constraint-of-a-hub"},{"title":"Read geotagging zones","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-routing.json get /geotagging","href":"/api-reference/routing/geotagging/read-geotagging-zones"},{"title":"Create geotagging zone","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-routing.json post /geotagging","href":"/api-reference/routing/geotagging/create-geotagging-zone"},{"title":"Update geotagging zone","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-routing.json patch /geotagging/{geotaggingId}","href":"/api-reference/routing/geotagging/update-geotagging-zone"},{"title":"Delete geotagging zone","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-routing.json delete /geotagging/{geotaggingId}","href":"/api-reference/routing/geotagging/delete-geotagging-zone"}]}]},{"group":"Schedule","pages":[{"group":"Task Schedule","pages":[{"title":"Task Schedule","href":"/api-reference/task/task-schedule-overview"},{"title":"Read task schedule","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-task.json get /task/schedules","href":"/api-reference/task/task-schedule/read-task-schedule"},{"title":"Read task schedule by ID","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-task.json get /task/schedule/{id}","href":"/api-reference/task/task-schedule/read-task-schedule-by-id"},{"title":"Create task schedule","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-task.json post /task/schedule","href":"/api-reference/task/task-schedule/create-task-schedule"},{"title":"Bulk create task schedule","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-task.json post /task/schedules/bulk","href":"/api-reference/task/task-schedule/bulk-create-task-schedule"},{"title":"Update task schedule by ID","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-task.json put /task/schedule/{scheduleId}","href":"/api-reference/task/task-schedule/update-task-schedule-by-id"},{"title":"Update partially task schedule by ID","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-task.json patch /task/schedule/{scheduleId}","href":"/api-reference/task/task-schedule/update-partially-task-schedule-by-id"},{"title":"Delete task schedule by ID","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-task.json delete /task/schedule/{scheduleId}","href":"/api-reference/task/task-schedule/delete-task-schedule-by-id"}]},{"group":"Routing Schedule","pages":[{"title":"Routing Schedule","href":"/api-reference/routing/routing-schedule-overview"},{"title":"Create routing schedule","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-routing.json post /routing/schedule","href":"/api-reference/routing/routing-schedule/create-routing-schedule"},{"title":"Read routing schedule","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-routing.json get /routing/schedules","href":"/api-reference/routing/routing-schedule/read-routing-schedule"},{"title":"Read routing schedule by ID","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-routing.json get /routing/schedule/{scheduleId}","href":"/api-reference/routing/routing-schedule/read-routing-schedule-by-id"},{"title":"Update routing schedule by ID","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-routing.json put /routing/schedule/{scheduleId}","href":"/api-reference/routing/routing-schedule/update-routing-schedule-by-id"},{"title":"Update partially routing schedule by ID","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-routing.json patch /routing/schedule/{scheduleId}","href":"/api-reference/routing/routing-schedule/update-partially-routing-schedule-by-id"},{"title":"Delete routing schedule by ID","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-routing.json delete /routing/schedule/{scheduleId}","href":"/api-reference/routing/routing-schedule/delete-routing-schedule-by-id"}]}]}]},{"group":"Monitoring","pages":[{"group":"Alert","pages":[{"title":"Alert","href":"/api-reference/monitoring/overview"},{"title":"Read alerts","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-monitoring.json get /alerts","href":"/api-reference/monitoring/alert/read-alerts"},{"title":"Read alert summary","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-monitoring.json get /alerts/summary","href":"/api-reference/monitoring/alert/read-alert-summary"},{"title":"Resolve alert","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-monitoring.json post /alert/{id}/resolve","href":"/api-reference/monitoring/alert/resolve-alert"},{"title":"Unresolve alert","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-monitoring.json delete /alert/{id}/resolve","href":"/api-reference/monitoring/alert/unresolve-alert"}]}]},{"group":"Activities","pages":[{"group":"Task","pages":[{"group":"Task","pages":[{"title":"Task","href":"/api-reference/task/overview"},{"title":"Send OTP","deprecated":null,"version":null,"openapi":"/openapi/public/openapi-task.json post /task/{taskId}/otp/send","href":"/api-reference/task/task/send-otp"},{"title":"Verify OTP","deprecated":null,"version":null,"openapi":"/openapi/public/openapi-task.json post /task/{taskId}/otp/verify","href":"/api-reference/task/task/verify-otp"},{"title":"Read tasks","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-task.json get /tasks","href":"/api-reference/task/task/read-tasks"},{"title":"Read tasks gallery","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-task.json get /tasks-gallery","href":"/api-reference/task/task/read-tasks-gallery"},{"title":"Read task by ID","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-task.json get /task/{task_id}","href":"/api-reference/task/task/read-task-by-id"},{"title":"Read public task by ID","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-task.json get /task/public/{task_id}","href":"/api-reference/task/task/read-public-task-by-id"},{"title":"Read task tracking","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-task.json get /tasks/tracking","href":"/api-reference/task/task/read-task-tracking"},{"title":"Create task","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-task.json post /task","href":"/api-reference/task/task/create-task"},{"title":"Create multiple tasks","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-task.json post /tasks/bulk/","href":"/api-reference/task/task/create-multiple-tasks"},{"title":"Upload image for task","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-task.json post /task/photo/{forRenameFile}","href":"/api-reference/task/task/upload-image-for-task"},{"title":"Upload video for task","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-task.json post /task/video/{forRenameFile}","href":"/api-reference/task/task/upload-video-for-task"},{"title":"Update task by ID","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-task.json put /task/{taskid}","href":"/api-reference/task/task/update-task-by-id"},{"title":"Move task by ID","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-task.json put /task/{taskId}/move","href":"/api-reference/task/task/move-task-by-id"},{"title":"Assign task by ID","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-task.json put /task/{taskId}/assign","href":"/api-reference/task/task/assign-task-by-id"},{"title":"Move multiple tasks","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-task.json put /tasks/bulk/move","href":"/api-reference/task/task/move-multiple-tasks"},{"title":"Assign multiple tasks","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-task.json put /tasks/bulk/assign","href":"/api-reference/task/task/assign-multiple-tasks"},{"title":"Partially update task by ID","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-task.json patch /task/{taskId}","href":"/api-reference/task/task/partially-update-task-by-id"},{"title":"Partial update multiple tasks","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-task.json patch /tasks/bulk","href":"/api-reference/task/task/partial-update-multiple-tasks"},{"title":"Delete multiple tasks","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-task.json delete /tasks/bulk","href":"/api-reference/task/task/delete-multiple-tasks"},{"title":"Update multiple tasks","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-task.json put /tasks/bulk","href":"/api-reference/task/task/update-multiple-tasks"},{"title":"Delete task by ID","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-task.json delete /task/{id}","href":"/api-reference/task/task/delete-task-by-id"},{"title":"Upload task photo","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-task.json post /task/photo","href":"/api-reference/task/task/upload-task-photo"},{"title":"Upload task photo with file name","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-task.json post /task/photo/{fileName}","href":"/api-reference/task/task/upload-task-photo-with-file-name"},{"title":"Upload task video","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-task.json post /task/video","href":"/api-reference/task/task/upload-task-video"},{"title":"Upload task video with file name","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-task.json post /task/video/{fileName}","href":"/api-reference/task/task/upload-task-video-with-file-name"}]},{"group":"Location History","pages":[{"title":"Location History","href":"/api-reference/task/location-history-overview"},{"title":"Read location history","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-task.json get /location-histories","href":"/api-reference/task/location-history/read-location-history"},{"title":"Read location history by ID","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-task.json get /location-history/{id}","href":"/api-reference/task/location-history/read-location-history-by-id"},{"title":"Read location history by token","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-task.json get /location-history/tracking/{token}","href":"/api-reference/task/location-history/read-location-history-by-token"},{"title":"Create location history","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-task.json post /location-history","href":"/api-reference/task/location-history/create-location-history"},{"title":"Bulk create location history","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-task.json post /location-history/bulk","href":"/api-reference/task/location-history/bulk-create-location-history"},{"title":"Generate location history token","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-task.json post /location-history/generate-token","href":"/api-reference/task/location-history/generate-location-history-token"},{"title":"Update location history by email \u0026 createdTime","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-task.json put /location-history/","href":"/api-reference/task/location-history/update-location-history-by-email-\u0026-createdtime"},{"title":"Update location history by ID","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-task.json put /location-history/{loc_history_id}","href":"/api-reference/task/location-history/update-location-history-by-id"},{"title":"Update partially location history by ID","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-task.json patch /location-history/{loc_history_id}","href":"/api-reference/task/location-history/update-partially-location-history-by-id"},{"title":"Delete location history by ID","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-task.json delete /location-history/{loc_history_id}","href":"/api-reference/task/location-history/delete-location-history-by-id"}]}]},{"group":"Order","pages":[{"title":"Order","href":"/api-reference/order/overview"},{"title":"Read orders","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-order.json get /orders","href":"/api-reference/order/order/read-orders"},{"title":"Create order","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-order.json post /order","href":"/api-reference/order/order/create-order"},{"title":"Read order by ID","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-order.json get /order/{id}","href":"/api-reference/order/order/read-order-by-id"},{"title":"Update order","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-order.json put /order/{id}","href":"/api-reference/order/order/update-order"},{"title":"Delete order","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-order.json delete /order/{id}","href":"/api-reference/order/order/delete-order"},{"title":"Cancel order","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-order.json put /order/{id}/cancel","href":"/api-reference/order/order/cancel-order"},{"title":"Change order status","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-order.json put /order/{id}/status","href":"/api-reference/order/order/change-order-status"},{"title":"Read order history","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-order.json get /order/{id}/history","href":"/api-reference/order/order/read-order-history"},{"title":"Create orders in bulk","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-order.json post /orders/bulk","href":"/api-reference/order/order/create-orders-in-bulk"},{"title":"Export orders","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-order.json post /orders/export","href":"/api-reference/order/order/export-orders"},{"title":"Read order export","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-order.json get /orders/export/{exportId}","href":"/api-reference/order/order/read-order-export"},{"title":"Validate order import","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-order.json post /orders/import/validate","href":"/api-reference/order/order/validate-order-import"},{"title":"Commit order import","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-order.json post /orders/import/commit","href":"/api-reference/order/order/commit-order-import"},{"title":"Read order import","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-order.json get /orders/import/{importId}","href":"/api-reference/order/order/read-order-import"}]}]},{"group":"Workflow","pages":[{"group":"Data Type","pages":[{"title":"Data","href":"/api-reference/data/overview"},{"title":"Data Type","href":"/api-reference/data/data-type-overview"},{"title":"Read data types","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-data.json get /data-types","href":"/api-reference/data/data-type/read-data-types"},{"title":"Read data type by ID","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-data.json get /data-type/{dataTypeId}/","href":"/api-reference/data/data-type/read-data-type-by-id"},{"title":"Create data type","description":"Creates a data type. Every type created through `/api/v4` is v4-only.\n\nRules checked on top of v3: the identifier field (`primaryKey`) comes first and is shown; the name may not be a Master Data name unless `extends` is set; each `relation` needs a valid `relation` block whose `displayField` exists on the target; date `min`/`max` references point at a field of the same type; a literal `min` may not exceed `max`; the organization's data type limit (`400`, `failedCode` `dtype-040`, `errorCode` `LIMIT_REACHED`). A configuration error answers `400` with `failedCode` `dtype-013`.\n\nThe field setting `searchable` no longer exists and is dropped: a v4-only type is searchable on every value.\n\nRequires permission `add/dataType`.","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-data.json post /data-type","href":"/api-reference/data/data-type/create-data-type"},{"title":"Update data type","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-data.json put /data-type/{dataTypeId}","href":"/api-reference/data/data-type/update-data-type"},{"title":"Update data type partially","description":"Updates the data type with the keys sent. `deleteFields` lists field ids to remove.\n\n**Upgrading a v3-compatible type.** A save that uses a v4-only feature turns a v3-compatible type v4-only, for good. The response then carries `data_type.migration`, the Preparing run that re-sends its records for v4 search. A save that only changes column settings never upgrades; send `columnsOnly=true` with it. A save that upgrades **and** turns on `unique` or `uniqueTogether` is refused (`400`): upgrade first, wait for Preparing, then add the unique fields.\n\n**Other v4 rules.** A Master Data extension cannot be renamed (`403`, `failedCode` `dtype-035`). `commonData` (scope by hub) changes only while the type has no records. Turning `unique` on, or adding a combination, when records already repeat a value is refused with `failedCode` `dtype-041` and a `duplicates` list; when they do not, the claims are registered in the background, during which record writes answer `409`. A save of a v3-compatible type while a file import into it runs answers `409`.\n\nWhile the type is being prepared (`migration.status` is `running`), this route answers `409` with `failedCode` `dtype-036`.\n\nRequires permission `edit/dataType`.","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-data.json patch /data-type/{dataTypeId}","href":"/api-reference/data/data-type/update-data-type-partially"},{"title":"Delete data type","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-data.json delete /data-type/{dataTypeId}","href":"/api-reference/data/data-type/delete-data-type"},{"title":"Create data types in bulk","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-data.json post /data-type/bulk","href":"/api-reference/data/data-type/create-data-types-in-bulk"}]},{"group":"Data Source","pages":[{"title":"Data Source","href":"/api-reference/data/data-source-overview"},{"title":"Read data","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-data.json get /data","href":"/api-reference/data/data-source/read-data"},{"title":"Create data","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-data.json post /data","href":"/api-reference/data/data-source/create-data"},{"title":"Read data by ID","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-data.json get /data/{dataId}","href":"/api-reference/data/data-source/read-data-by-id"},{"title":"Read data source by dataTypeName and dataId","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-data.json get /data/type/{dataTypeName}/{dataId}","href":"/api-reference/data/data-source/read-data-source-by-datatypename-and-dataid"},{"title":"Read data by hub, data type name and Title","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-data.json get /data/hub/{hubId}/type/{dataTypeName}/{data_id}","href":"/api-reference/data/data-source/read-data-by-hub-data-type-name-and-title"},{"title":"Create data in bulk","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-data.json post /data/bulk","href":"/api-reference/data/data-source/create-data-in-bulk"},{"title":"Create or update data in bulk","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-data.json post /data/bulk/upsert","href":"/api-reference/data/data-source/create-or-update-data-in-bulk"},{"title":"Update data","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-data.json put /data/{_id}","href":"/api-reference/data/data-source/update-data"},{"title":"Update data source by hubId, dataTypeName, dataId","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-data.json put /data/hub/{hub_id}/type/{dataTypeName}/{dataId}","href":"/api-reference/data/data-source/update-data-source-by-hubid-datatypename-dataid"},{"title":"Update data partially","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-data.json patch /data/{data_id}","href":"/api-reference/data/data-source/update-data-partially"},{"title":"Delete data","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-data.json delete /data/{data_id}/","href":"/api-reference/data/data-source/delete-data"},{"title":"Delete data source by hubId, dataTypeName, dataId","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-data.json delete /data/hub/{hubId}/type/{dataTypeName}/{dataId}","href":"/api-reference/data/data-source/delete-data-source-by-hubid-datatypename-dataid"},{"title":"Update data in bulk","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-data.json patch /datas/bulk","href":"/api-reference/data/data-source/update-data-in-bulk"},{"title":"Delete data in bulk","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-data.json delete /datas/bulk","href":"/api-reference/data/data-source/delete-data-in-bulk"}]},{"group":"Flow","pages":[{"title":"Flow","href":"/api-reference/flow/overview"},{"title":"Read flows","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-flow.json get /flows","href":"/api-reference/flow/flow/read-flows"},{"title":"Read flow by ID","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-flow.json get /flow/{flowId}","href":"/api-reference/flow/flow/read-flow-by-id"},{"title":"Read flow fields","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-flow.json get /flow-fields","href":"/api-reference/flow/flow/read-flow-fields"},{"title":"Read flow components","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-flow.json get /flow-components","href":"/api-reference/flow/flow/read-flow-components"},{"title":"Read flow component by flow name","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-flow.json get /flow/{flowName}/fields","href":"/api-reference/flow/flow/read-flow-component-by-flow-name"},{"title":"Generate example","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-flow.json get /flow/{flowName}/task","href":"/api-reference/flow/flow/generate-example"},{"title":"Read flow histories","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-flow.json get /flow-logs","href":"/api-reference/flow/flow/read-flow-histories"},{"title":"Create flow","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-flow.json post /flow","href":"/api-reference/flow/flow/create-flow"},{"title":"Read flow versions","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-flow.json post /flows/check-version","href":"/api-reference/flow/flow/read-flow-versions"},{"title":"Re-order flow","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-flow.json put /flow-reorder","href":"/api-reference/flow/flow/re-order-flow"},{"title":"Update flow by ID","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-flow.json put /flow/{flow_id}","href":"/api-reference/flow/flow/update-flow-by-id"},{"title":"Delete flow by ID","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-flow.json delete /flow/{flow_id}","href":"/api-reference/flow/flow/delete-flow-by-id"},{"title":"Restore flow by flow log ID","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-flow.json put /flow/{flowId}/restore/{flowLogId}","href":"/api-reference/flow/flow/restore-flow-by-flow-log-id"}]},{"group":"Order Type","pages":[{"title":"Order Type","href":"/api-reference/flow/order-type-overview"},{"title":"Read order types","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-flow.json get /order-types","href":"/api-reference/flow/order-type/read-order-types"},{"title":"Create order type","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-flow.json post /order-type","href":"/api-reference/flow/order-type/create-order-type"},{"title":"Read order type by ID","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-flow.json get /order-type/{id}","href":"/api-reference/flow/order-type/read-order-type-by-id"},{"title":"Update order type","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-flow.json put /order-type/{id}","href":"/api-reference/flow/order-type/update-order-type"},{"title":"Delete order type","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-flow.json delete /order-type/{id}","href":"/api-reference/flow/order-type/delete-order-type"},{"title":"Publish order type","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-flow.json patch /order-type/{id}/publish","href":"/api-reference/flow/order-type/publish-order-type"},{"title":"Restore order type version","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-flow.json put /order-type/{id}/restore/{version}","href":"/api-reference/flow/order-type/restore-order-type-version"},{"title":"Simulate order type","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-flow.json post /order-type/{id}/simulate","href":"/api-reference/flow/order-type/simulate-order-type"},{"title":"Read order type versions","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-flow.json get /order-type-logs","href":"/api-reference/flow/order-type/read-order-type-versions"},{"title":"Validate order type draft","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-flow.json post /order-type-validate","href":"/api-reference/flow/order-type/validate-order-type-draft"}]},{"group":"Brief","pages":[{"title":"Brief","href":"/api-reference/flow/brief-overview"},{"title":"Read briefs","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-flow.json get /briefs","href":"/api-reference/flow/brief/read-briefs"},{"title":"Create brief","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-flow.json post /brief","href":"/api-reference/flow/brief/create-brief"},{"title":"Read brief by ID","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-flow.json get /brief/{id}","href":"/api-reference/flow/brief/read-brief-by-id"},{"title":"Update brief","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-flow.json put /brief/{id}","href":"/api-reference/flow/brief/update-brief"},{"title":"Delete brief","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-flow.json delete /brief/{id}","href":"/api-reference/flow/brief/delete-brief"}]},{"group":"Automation","pages":[{"title":"Automation","href":"/api-reference/flow/automation-overview"},{"title":"Read automation","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-flow.json get /automations","href":"/api-reference/flow/automation/read-automation"},{"title":"Read log automation","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-flow.json get /automation-log","href":"/api-reference/flow/automation/read-log-automation"},{"title":"Read automation by ID","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-flow.json get /automation/{automationId}","href":"/api-reference/flow/automation/read-automation-by-id"},{"title":"Create automation","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-flow.json post /automation","href":"/api-reference/flow/automation/create-automation"},{"title":"Retry bulk automation","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-flow.json post /automation-retries","href":"/api-reference/flow/automation/retry-bulk-automation"},{"title":"Update automation by ID","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-flow.json put /automation/{automation_id}","href":"/api-reference/flow/automation/update-automation-by-id"},{"title":"Update partially automation by ID","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-flow.json patch /automation/{automation_id}","href":"/api-reference/flow/automation/update-partially-automation-by-id"},{"title":"Retry automation by ID","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-flow.json patch /automation-retry/{log_id}","href":"/api-reference/flow/automation/retry-automation-by-id"},{"title":"Delete automation by ID","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-flow.json delete /automation/{automation_id}/","href":"/api-reference/flow/automation/delete-automation-by-id"},{"title":"Read log automation by ID","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-flow.json get /automation-log/{logId}","href":"/api-reference/flow/automation/read-log-automation-by-id"}]}]},{"group":"Export \u0026 Import","pages":[{"group":"Export","pages":[{"title":"Export \u0026 Import","href":"/api-reference/importexport/overview"},{"title":"Export Task","href":"/api-reference/importexport/export-task-overview"},{"title":"Export Config","href":"/api-reference/importexport/export-config-overview"},{"title":"Get export log history","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-importexport.json get /tasks/export-log","href":"/api-reference/importexport/export-task/get-export-log-history"},{"title":"Export tasks","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-importexport.json post /tasks/export","href":"/api-reference/importexport/export-task/export-tasks"},{"title":"Export data","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-importexport.json post /data/export","href":"/api-reference/importexport/export-task/export-data"},{"title":"Read export config","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-importexport.json get /export-configs","href":"/api-reference/importexport/export-config/read-export-config"},{"title":"Read export config by ID","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-importexport.json get /export-config/{exportConfigId}","href":"/api-reference/importexport/export-config/read-export-config-by-id"},{"title":"Create export config","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-importexport.json post /export-config","href":"/api-reference/importexport/export-config/create-export-config"},{"title":"Update export config","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-importexport.json put /export-config/{exportConfigId}/","href":"/api-reference/importexport/export-config/update-export-config"},{"title":"Delete export config","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-importexport.json delete /export-config/{exportConfigId}/","href":"/api-reference/importexport/export-config/delete-export-config"}]},{"group":"Import","pages":[{"title":"Data Import","href":"/api-reference/importexport/data-import-overview"},{"title":"Import Config","href":"/api-reference/importexport/import-config-overview"},{"title":"Import data","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-importexport.json post /data/import","href":"/api-reference/importexport/data-import/import-data"},{"title":"Read import monitoring records","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-importexport.json get /import-monitoring","href":"/api-reference/importexport/data-import/read-import-monitoring-records"},{"title":"Read import monitoring record by ID","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-importexport.json get /import-monitoring/{id}","href":"/api-reference/importexport/data-import/read-import-monitoring-record-by-id"},{"title":"Read import config","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-importexport.json get /import-configs","href":"/api-reference/importexport/import-config/read-import-config"},{"title":"Create import config","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-importexport.json post /import-configs","href":"/api-reference/importexport/import-config/create-import-config"},{"title":"Read import config by ID","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-importexport.json get /import-configs/{importConfigId}","href":"/api-reference/importexport/import-config/read-import-config-by-id"},{"title":"Update import config","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-importexport.json put /import-configs/{importConfigId}","href":"/api-reference/importexport/import-config/update-import-config"},{"title":"Delete import config","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-importexport.json delete /import-configs/{importConfigId}","href":"/api-reference/importexport/import-config/delete-import-config"},{"title":"Import tasks from file","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-importexport.json post /tasks/import","href":"/api-reference/importexport/data-import/import-tasks-from-file"},{"title":"Read task import records","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-importexport.json get /tasks/import-monitoring","href":"/api-reference/importexport/data-import/read-task-import-records"}]}]},{"group":"Settings","pages":[{"title":"Settings","href":"/api-reference/setting/overview"},{"group":"Users \u0026 Access","pages":[{"group":"User","pages":[{"title":"User","href":"/api-reference/setting/user-overview"},{"title":"Read users","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-setting.json get /users","href":"/api-reference/setting/user/read-users"},{"title":"Read mine","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-setting.json get /user","href":"/api-reference/setting/user/read-mine"},{"title":"Update partially user","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-setting.json patch /user","href":"/api-reference/setting/user/update-partially-user"},{"title":"Read user by email","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-setting.json get /user/email/{email}","href":"/api-reference/setting/user/read-user-by-email"},{"title":"Read user by ID","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-setting.json get /user/{userId}","href":"/api-reference/setting/user/read-user-by-id"},{"title":"Update user","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-setting.json put /user/{userId}","href":"/api-reference/setting/user/update-user"},{"title":"Read locked user","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-setting.json get /members/locked","href":"/api-reference/setting/user/read-locked-user"},{"title":"Unlock locked user","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-setting.json post /member/unlock","href":"/api-reference/setting/user/unlock-locked-user"},{"title":"Reset password user","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-setting.json post /member/reset-password","href":"/api-reference/setting/user/reset-password-user"},{"title":"Delete user","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-setting.json delete /member/{userId}","href":"/api-reference/setting/user/delete-user"},{"title":"Update member","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-setting.json put /member/{userId}","href":"/api-reference/setting/user/update-member"},{"title":"Search users","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-setting.json get /user/search","href":"/api-reference/setting/user/search-users"}]},{"group":"Team","pages":[{"title":"Team","href":"/api-reference/setting/team-overview"},{"title":"Read team","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-setting.json get /teams","href":"/api-reference/setting/team/read-team"},{"title":"Read team by ID","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-setting.json get /team/{teamId}","href":"/api-reference/setting/team/read-team-by-id"},{"title":"Create team","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-setting.json post /team","href":"/api-reference/setting/team/create-team"},{"title":"Update team","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-setting.json put /team/{teamId}/","href":"/api-reference/setting/team/update-team"},{"title":"Delete team","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-setting.json delete /team/{teamId}/","href":"/api-reference/setting/team/delete-team"}]},{"group":"Permission","pages":[{"title":"Role","href":"/api-reference/setting/role-overview"},{"title":"Read roles","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-setting.json get /roles","href":"/api-reference/setting/role/read-roles"},{"title":"Read role by ID","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-setting.json get /role/{roleId}","href":"/api-reference/setting/role/read-role-by-id"},{"title":"Read my role","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-setting.json get /role","href":"/api-reference/setting/role/read-my-role"}]}]},{"group":"Workspace","pages":[{"group":"Organization","pages":[{"title":"Organization","href":"/api-reference/setting/organization-overview"},{"title":"Update organization","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-setting.json put /organization","href":"/api-reference/setting/organization/update-organization"}]},{"group":"Hub","pages":[{"title":"Hub","href":"/api-reference/setting/hub-overview"},{"title":"Read hubs","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-setting.json get /hubs","href":"/api-reference/setting/hub/read-hubs"},{"title":"Read hub by ID","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-setting.json get /hub/{hubId}/","href":"/api-reference/setting/hub/read-hub-by-id"},{"title":"Create hub","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-setting.json post /hub","href":"/api-reference/setting/hub/create-hub"},{"title":"Update hub","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-setting.json put /hub/{hubId}","href":"/api-reference/setting/hub/update-hub"},{"title":"Delete hub","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-setting.json delete /hub/{hubId}","href":"/api-reference/setting/hub/delete-hub"}]}]},{"group":"Security","pages":[{"group":"Password Policy","pages":[{"title":"Password Policy","href":"/api-reference/setting/password-policy-overview"},{"title":"Read password policies","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-setting.json get /password-policies","href":"/api-reference/setting/password-policy/read-password-policies"},{"title":"Create password policy","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-setting.json post /password-policy","href":"/api-reference/setting/password-policy/create-password-policy"},{"title":"Read password policy by ID","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-setting.json get /password-policy/{id}","href":"/api-reference/setting/password-policy/read-password-policy-by-id"},{"title":"Update password policy","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-setting.json put /password-policy/{id}","href":"/api-reference/setting/password-policy/update-password-policy"},{"title":"Update password policy (PATCH)","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-setting.json patch /password-policy/{id}","href":"/api-reference/setting/password-policy/update-password-policy-patch"},{"title":"Delete password policy","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-setting.json delete /password-policy/{id}","href":"/api-reference/setting/password-policy/delete-password-policy"}]}]},{"group":"Monitoring","pages":[{"group":"Geofence","pages":[{"title":"Geofence","href":"/api-reference/monitoring/geofence-overview"},{"title":"Read geofences","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-monitoring.json get /geofence","href":"/api-reference/monitoring/geofence/read-geofences"},{"title":"Create geofence","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-monitoring.json post /geofence","href":"/api-reference/monitoring/geofence/create-geofence"},{"title":"Read geofence by ID","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-monitoring.json get /geofence/{id}","href":"/api-reference/monitoring/geofence/read-geofence-by-id"},{"title":"Update geofence","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-monitoring.json put /geofence/{id}","href":"/api-reference/monitoring/geofence/update-geofence"},{"title":"Update geofence status","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-monitoring.json patch /geofence/{id}","href":"/api-reference/monitoring/geofence/update-geofence-status"},{"title":"Delete geofence","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-monitoring.json delete /geofence/{id}","href":"/api-reference/monitoring/geofence/delete-geofence"},{"title":"Read geofence groups","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-monitoring.json get /geofence-group","href":"/api-reference/monitoring/geofence-group/read-geofence-groups"},{"title":"Create geofence group","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-monitoring.json post /geofence-group","href":"/api-reference/monitoring/geofence-group/create-geofence-group"},{"title":"Update geofence group","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-monitoring.json put /geofence-group/{id}","href":"/api-reference/monitoring/geofence-group/update-geofence-group"},{"title":"Delete geofence group","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-monitoring.json delete /geofence-group/{id}","href":"/api-reference/monitoring/geofence-group/delete-geofence-group"}]},{"group":"Alert Setting","pages":[{"title":"Alert Setting","href":"/api-reference/monitoring/alert-setting-overview"},{"title":"Read alert setting","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-monitoring.json get /alert-setting","href":"/api-reference/monitoring/alert-setting/read-alert-setting"},{"title":"Update alert setting","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-monitoring.json put /alert-setting","href":"/api-reference/monitoring/alert-setting/update-alert-setting"}]}]},{"group":"Extensions","pages":[{"group":"Add-ons","pages":[{"title":"Add-on","href":"/api-reference/setting/addon-overview"},{"title":"Create add-on","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-setting.json post /addon","href":"/api-reference/setting/addon/create-add-on"},{"title":"Get add-on details","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-setting.json get /addon/{id}","href":"/api-reference/setting/addon/get-add-on-details"},{"title":"Update add-on","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-setting.json put /addon/{id}","href":"/api-reference/setting/addon/update-add-on"},{"title":"Update add-on partially","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-setting.json patch /addon/{id}","href":"/api-reference/setting/addon/update-add-on-partially"},{"title":"Delete add-on","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-setting.json delete /addon/{id}","href":"/api-reference/setting/addon/delete-add-on"},{"title":"List add-ons","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-setting.json get /addons","href":"/api-reference/setting/addon/list-add-ons"}]},{"group":"Integration","pages":[{"title":"App Integration","href":"/api-reference/setting/app-integration-overview"},{"title":"Read App Integration","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-setting.json get /app-integrations","href":"/api-reference/setting/app-integration/read-app-integration"},{"title":"Read App Integration by ID","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-setting.json get /app-integration/{appIntegrationId}","href":"/api-reference/setting/app-integration/read-app-integration-by-id"},{"title":"Delete App Integration","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-setting.json delete /app-integration/{appIntegrationId}","href":"/api-reference/setting/app-integration/delete-app-integration"},{"title":"Create App Integration","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-setting.json post /app-integration","href":"/api-reference/setting/app-integration/create-app-integration"},{"title":"Update App Integration","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-setting.json post /app-integration-update/{appIntegrationId}","href":"/api-reference/setting/app-integration/update-app-integration"},{"title":"Read SMS gateway","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-setting.json get /sms-gateway","href":"/api-reference/setting/app-integration/read-sms-gateway"},{"title":"Create SMS gateway","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-setting.json post /sms-gateway","href":"/api-reference/setting/app-integration/create-sms-gateway"},{"title":"Update SMS gateway","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-setting.json put /sms-gateway/{id}","href":"/api-reference/setting/app-integration/update-sms-gateway"},{"title":"Delete SMS gateway","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-setting.json delete /sms-gateway/{id}","href":"/api-reference/setting/app-integration/delete-sms-gateway"},{"title":"Test SMS gateway","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-setting.json post /sms-gateway/test","href":"/api-reference/setting/app-integration/test-sms-gateway"},{"title":"Read Accurate connection status","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-setting.json get /integration/accurate/status","href":"/api-reference/setting/app-integration/read-accurate-connection-status"},{"title":"Start Accurate connection","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-setting.json post /integration/accurate/connect-start","href":"/api-reference/setting/app-integration/start-accurate-connection"},{"title":"Disconnect Accurate","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-setting.json delete /integration/accurate/disconnect","href":"/api-reference/setting/app-integration/disconnect-accurate"},{"title":"Read Accurate modules","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-setting.json get /integration/accurate/modules","href":"/api-reference/setting/app-integration/read-accurate-modules"},{"title":"Read Accurate module options","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-setting.json get /integration/accurate/module-options","href":"/api-reference/setting/app-integration/read-accurate-module-options"},{"title":"Read Accurate business data","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-setting.json get /integration/accurate/business-data","href":"/api-reference/setting/app-integration/read-accurate-business-data"},{"title":"Read Accurate flow usage","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-setting.json get /integration/accurate/flow-usage","href":"/api-reference/setting/app-integration/read-accurate-flow-usage"},{"title":"Read Accurate webhook log","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-setting.json get /integration/accurate/webhook-log","href":"/api-reference/setting/app-integration/read-accurate-webhook-log"},{"title":"Read Accurate sync rules","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-setting.json get /integration/accurate/rules","href":"/api-reference/setting/app-integration/read-accurate-sync-rules"},{"title":"Create Accurate sync rule","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-setting.json post /integration/accurate/rules","href":"/api-reference/setting/app-integration/create-accurate-sync-rule"},{"title":"Update Accurate sync rule","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-setting.json put /integration/accurate/rules/{id}","href":"/api-reference/setting/app-integration/update-accurate-sync-rule"},{"title":"Delete Accurate sync rule","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-setting.json delete /integration/accurate/rules/{id}","href":"/api-reference/setting/app-integration/delete-accurate-sync-rule"},{"title":"Turn Accurate sync rule on or off","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-setting.json post /integration/accurate/rules/{id}/toggle","href":"/api-reference/setting/app-integration/turn-accurate-sync-rule-on-or-off"},{"title":"Repair Accurate sync rule","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-setting.json post /integration/accurate/rules/{id}/repair","href":"/api-reference/setting/app-integration/repair-accurate-sync-rule"}]},{"group":"Custom Module","pages":[{"title":"Custom Module","href":"/api-reference/setting/custom-module-overview"},{"title":"Read custom modules","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-setting.json get /custom-modules","href":"/api-reference/setting/custom-module/read-custom-modules"},{"title":"Read custom module by ID","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-setting.json get /custom-module/{id}","href":"/api-reference/setting/custom-module/read-custom-module-by-id"}]}]},{"group":"Other","pages":[{"group":"Trash","pages":[{"title":"Trash","href":"/api-reference/setting/trash-overview"},{"title":"Read trash","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-setting.json get /trash","href":"/api-reference/setting/trash/read-trash"}]}]}]},{"group":"Account","pages":[{"group":"Switching Organization","pages":[{"title":"Multi-Organization","href":"/api-reference/auth/multi-organization-overview"},{"title":"Get User Organizations","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-auth.json get /organizations","href":"/api-reference/auth/multi-organization/get-user-organizations"},{"title":"Switch Organization","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-auth.json post /organization/switch","href":"/api-reference/auth/multi-organization/switch-organization"},{"title":"Create Organization","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-auth.json post /organization","href":"/api-reference/auth/multi-organization/create-organization"}]},{"group":"Short Token","pages":[{"title":"Generate Short Token","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-tools.json post /short-token/generate","href":"/api-reference/tools/short-token/generate-short-token"},{"title":"Resolve Short Token","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-tools.json post /short-token/resolve","href":"/api-reference/tools/short-token/resolve-short-token"}]}]},{"group":"Webhook","pages":[{"title":"How does it works","href":"/api-reference/webhooks/how-it-works"},{"title":"Delivery Attempts and Retries","href":"/api-reference/webhooks/delivery-attempts"},{"title":"Quick Response Requirement","href":"/api-reference/webhooks/quick-response"},{"title":"Failure Monitoring and Notification Process","href":"/api-reference/webhooks/failure-monitoring"},{"title":"Routing Events","href":"/api-reference/webhooks/routing-events"},{"group":"Webhook","pages":[{"title":"Task events","version":null,"deprecated":null,"openapi":"/openapi/public/openapi-webhooks.json webhook task-events","href":"/api-reference/webhooks/webhook/task-events"},{"title":"On data source created","version":null,"deprecated":null,"openapi":"/openapi/public/openapi-webhooks.json webhook data-source-created","href":"/api-reference/webhooks/webhook/on-data-source-created"},{"title":"Routing events","version":null,"deprecated":null,"openapi":"/openapi/public/openapi-webhooks.json webhook routing-events","href":"/api-reference/webhooks/webhook/routing-events"},{"title":"Trip events","version":null,"deprecated":null,"openapi":"/openapi/public/openapi-webhooks.json webhook trip-events","href":"/api-reference/webhooks/webhook/trip-events"}]}]},{"group":"File","pages":[{"title":"Overview","href":"/api-reference/file/overview"},{"group":"File","pages":[{"title":"View file","deprecated":false,"version":null,"openapi":"/openapi/public/openapi-file.json get /file/view","href":"/api-reference/file/file/view-file"}]}]},{"group":"Objects","pages":[{"title":"Task object","href":"/api-reference/objects/task-object"},{"title":"Location history object","href":"/api-reference/objects/location-history-object"},{"title":"Alert object","href":"/api-reference/objects/alert-object"},{"title":"Export Config object","href":"/api-reference/objects/export-config-object"},{"title":"Task Schedule object","href":"/api-reference/objects/task-schedule-object"},{"title":"Vehicle object","href":"/api-reference/objects/vehicle-object"},{"title":"Routing object","href":"/api-reference/objects/routing-object"},{"title":"Flow object","href":"/api-reference/objects/flow-object"},{"title":"Automation object","href":"/api-reference/objects/automation-object"},{"title":"Data source object","href":"/api-reference/objects/data-source-object"},{"title":"Data type object","href":"/api-reference/objects/data-type-object"},{"title":"User object","href":"/api-reference/objects/user-object"},{"title":"Role object","href":"/api-reference/objects/role-object"},{"title":"Hub object","href":"/api-reference/objects/hub-object"},{"title":"Team object","href":"/api-reference/objects/team-object"},{"title":"Add-on object","href":"/api-reference/objects/addon-object"}]}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/pages/changelog"}]},{"tab":"Internal API","hidden":true,"pages":[{"title":"Internal API","href":"/api-reference-internal/introduction"}]}]},"basePath":"","title":"Update data type - Docs","deploymentId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","buildId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-_HcdDqS2.js","snippetPresets-CXnm-WO6.js","utils-Dg59J__o.js","style-to-object-BY3JEAdk.js","utils-D8TRpdk7.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-B6QaxWc5.js","conditional-requirements-CFM0id0Q.js","cloneDeep-DeMZ-lcM.js","_Uint8Array-BjA2mcVW.js","isObject-FP1Yky1u.js","ApiExamples-cjPyMv63.js","usePlaygroundInputsStore-D7BWoaw4.js","shallow-Z1ceDNSG.js","isEqual-BObTuQrO.js","CodeSnippets-D1UZ1AE-.js","CodeSnippet-B373COAT.js","getApiPlaygroundDisplay-CfL-UuDS.js","Page-DuqezyvM.js","DynamicMarkdown-5yMTCLas.js","SectionHeading-BxT1HYfP.js","icon-DYJTTD3g.js","MethodPill-4AyycJeu.js","getPastedJson-Bp3WV6cN.js","Check2Icon-PhZu6Gry.js","axios-CsQoIw0U.js","Markdown-Dy9a8hT8.js","AssistantPageLink-87tSPwGm.js","dist-CXMB3QQU.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}