{
"success": true,
"message": "<string>",
"data": {
"error": "Cannot remove fields that are in use by existing resources",
"message": "<string>",
"conflicts": [
{
"field": "<string>",
"resourceExternalIds": [
"<string>"
]
}
]
}
}
Schema Definitions
Update Schema
Updates an existing schema definition. The update can take up to 3 mins to take effect. Updates that change field rules are checked against the data already stored for every tenant, which can take longer than a client timeout on large schemas. A synchronous update still running after 60 seconds times out with a 504 and the change is not applied; read the versionNumber of the schema before retrying. While a background update to the schema is pending or running, every other update to it, synchronous or async, is refused with a 409 that names the running update and its statusPath. Pass async=true to run the update in the background: the response is a 202 with an update ID, and the result (the saved schema, or the same 409 conflict payload the synchronous update returns) is read from statusPath.
Set to true to run the update in the background. The response is 202 with an update ID; poll statusPath for the result. Use it for schemas with a lot of stored data, where the synchronous update can outlast client timeouts.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Reach Marketing \u0026 Automation Documentation","colors":{"primary":"#16A34A","light":"#07C983","dark":"#15803D"},"logo":{"light":"https://mintcdn.com/reach/VGl-b8qK8JmS6Tpg/logo/reach-logo.svg?fit=max\u0026auto=format\u0026n=VGl-b8qK8JmS6Tpg\u0026q=85\u0026s=d233fb37e119c10d0b620741f92a401d","dark":"https://mintcdn.com/reach/VGl-b8qK8JmS6Tpg/logo/reach-logo.svg?fit=max\u0026auto=format\u0026n=VGl-b8qK8JmS6Tpg\u0026q=85\u0026s=d233fb37e119c10d0b620741f92a401d"},"favicon":"https://mintcdn.com/reach/ol2jimDngsGIddSy/favicon.ico?fit=max\u0026auto=format\u0026n=ol2jimDngsGIddSy\u0026q=85\u0026s=4c7acb93bfaae0adf61e04bedfb56dff","navbar":{"links":[{"href":"mailto:support@embedreach.com","label":"Support"}],"primary":{"type":"button","label":"Home","href":"https://embedreach.com"}},"footer":{},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"reach","hasAudioNarration":false,"actualSubdomain":"reach","customDomains":["docs.embedreach.com"],"gitSource":{"type":"github","owner":"embedreach","repo":"reach-mintlify-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6af34715be090639cae4ead4","clientVersion":"0.0.4102","searchFilterCounts":[{"language":"default","tag":"API Reference","count":126},{"language":"default","tag":"API Documentation","count":126},{"language":"default","tag":"Documentation","count":41},{"language":"default","tag":"Default Partner Resources","count":25},{"language":"default","tag":"Core Products","count":19},{"language":"default","tag":"Implementation","count":17},{"language":"default","tag":"Segments","count":14},{"language":"default","tag":"Onboarding","count":14},{"language":"default","tag":"Integration Guide","count":13},{"language":"default","tag":"Engage","count":11}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[],"googleFontsInlined":false},"customCss":[{"filePath":"styles.css","content":".card-container{display:flex;flex-direction:column;height:100%;min-height:150px;position:relative}.card-content{flex-grow:1;margin-bottom:40px}.status-container{position:absolute;bottom:16px;left:0;width:100%}.developer-card{min-height:100px}.table-status{display:inline-block;text-align:center}.status-pill-wrapper{margin-top:8px;display:inline-block}.live-pill{background-color:#d1fae5;color:#065f46;font-size:0.75rem;font-weight:500;padding:0.25rem 0.625rem;border-radius:9999px}.beta-pill{background-color:#dbeafe;color:#1e40af;font-size:0.75rem;font-weight:500;padding:0.25rem 0.625rem;border-radius:9999px}.alpha-pill{background-color:#fef3c7;color:#92400e;font-size:0.75rem;font-weight:500;padding:0.25rem 0.625rem;border-radius:9999px}.inquire-pill{background-color:#dfafff;color:#000000;font-size:0.75rem;font-weight:500;padding:0.25rem 0.625rem;border-radius:9999px}"}],"page":{"pagePath":"api-reference/endpoint/post-partner-schema-definitions-schemaidorname","slug":"/api-reference/endpoint/post-partner-schema-definitions-schemaidorname","pageMetadata":{"title":"Update Schema","openapi":"POST /partner/schema-definitions/{schemaIdOrName}","description":"Updates an existing schema definition. The update can take up to 3 mins to take effect. Updates that change field rules are checked against the data already stored for every tenant, which can take longer than a client timeout on large schemas. A synchronous update still running after 60 seconds times out with a 504 and the change is not applied; read the `versionNumber` of the schema before retrying. While a background update to the schema is pending or running, every other update to it, synchronous or async, is refused with a 409 that names the running update and its `statusPath`. Pass `async=true` to run the update in the background: the response is a 202 with an update ID, and the result (the saved schema, or the same 409 conflict payload the synchronous update returns) is read from `statusPath`.","href":"/api-reference/endpoint/post-partner-schema-definitions-schemaidorname"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Updates an existing schema definition. The update can take up to 3 mins to take effect. Updates that change field rules are checked against the data already stored for every tenant, which can take longer than a client timeout on large schemas. A synchronous update still running after 60 seconds times out with a 504 and the change is not applied; read the \", _jsx(_components.code, {\n children: \"versionNumber\"\n }), \" of the schema before retrying. While a background update to the schema is pending or running, every other update to it, synchronous or async, is refused with a 409 that names the running update and its \", _jsx(_components.code, {\n children: \"statusPath\"\n }), \". Pass \", _jsx(_components.code, {\n children: \"async=true\"\n }), \" to run the update in the background: the response is a 202 with an update ID, and the result (the saved schema, or the same 409 conflict payload the synchronous update returns) is read from \", _jsx(_components.code, {\n children: \"statusPath\"\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 Schema","openapi":"POST /partner/schema-definitions/{schemaIdOrName}","description":"Updates an existing schema definition. The update can take up to 3 mins to take effect. Updates that change field rules are checked against the data already stored for every tenant, which can take longer than a client timeout on large schemas. A synchronous update still running after 60 seconds times out with a 504 and the change is not applied; read the `versionNumber` of the schema before retrying. While a background update to the schema is pending or running, every other update to it, synchronous or async, is refused with a 409 that names the running update and its `statusPath`. Pass `async=true` to run the update in the background: the response is a 202 with an update ID, and the result (the saved schema, or the same 409 conflict payload the synchronous update returns) is read from `statusPath`.","href":"/api-reference/endpoint/post-partner-schema-definitions-schemaidorname"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Update Schema","description":"Updates an existing schema definition. The update can take up to 3 mins to take effect. Updates that change field rules are checked against the data already stored for every tenant, which can take longer than a client timeout on large schemas. A synchronous update still running after 60 seconds times out with a 504 and the change is not applied; read the `versionNumber` of the schema before retrying. While a background update to the schema is pending or running, every other update to it, synchronous or async, is refused with a 409 that names the running update and its `statusPath`. Pass `async=true` to run the update in the background: the response is a 202 with an update ID, and the result (the saved schema, or the same 409 conflict payload the synchronous update returns) is read from `statusPath`.","tags":["Schema Definitions"],"parameters":["2eaf6c5f-ff46-496d-b49e-8d3984555875","d29cfcab-c039-45fd-b933-64d6f7260df9"],"requestBody":"6f5cdefa-a0c4-4f30-8166-3d74db64b9f5","responses":{"200":"8c3cbac3-0abe-4fb7-91a3-a30ca57f766e","202":"0b621fc4-cfd6-4965-9a14-2fb20145fbbf","400":"e3e5ce0e-9fd0-4568-9d9b-68c626e8bee3","409":"c4a455f9-3390-410f-a58f-f2e1245d0173"},"method":"post","type":"path","servers":["de5a790e-98b7-4d9a-8fb8-d0905fcada60"],"security":[],"path":"/partner/schema-definitions/{schemaIdOrName}","baseUrlOptions":["https://api.embedreach.com"],"title":"Update Schema","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"2eaf6c5f-ff46-496d-b49e-8d3984555875":{"schema":{"type":"string","description":"The ID or name of the schema definition to update","isRequired":true,"uniqueKey":"","typeLabel":"string"},"required":true,"description":"The ID or name of the schema definition to update","name":"schemaIdOrName","in":"path"},"d29cfcab-c039-45fd-b933-64d6f7260df9":{"schema":{"type":"string","enum":["true","false"],"description":"Set to true to run the update in the background. The response is 202 with an update ID; poll statusPath for the result. Use it for schemas with a lot of stored data, where the synchronous update can outlast client timeouts.","isRequired":false,"uniqueKey":"","typeLabel":"enum\u003cstring>"},"required":false,"description":"Set to true to run the update in the background. The response is 202 with an update ID; poll statusPath for the result. Use it for schemas with a lot of stored data, where the synchronous update can outlast client timeouts.","name":"async","in":"query"}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"description":{"type":"string","description":"The description of the schema","uniqueKey":"description","typeLabel":"string"},"schema":{"type":"object","properties":{},"additionalProperties":{"oneOf":[{}],"uniqueKey":"schema.additionalProperties","typeLabel":"any"},"description":"The JSONSchema schema definition for the resource","uniqueKey":"schema","typeLabel":"object"},"fieldsToExpose":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"The name of the field","isRequired":true,"uniqueKey":"fieldsToExpose.items.[INDEX].name","typeLabel":"string"},"jsonPath":{"type":"string","description":"The JSON path to the field in the custom resource (e.g. .user.rewards.points for the json { \"user\": { \"rewards\": { \"points\": 100 } } })","isRequired":true,"uniqueKey":"fieldsToExpose.items.[INDEX].jsonPath","typeLabel":"string"},"exposure":{"type":"array","items":{"type":"string","enum":["segments","merge-fields","agent-tools"],"uniqueKey":"fieldsToExpose.items.[INDEX].exposure.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"How to expose this field, is it available in segments, email builder, etc.","isRequired":true,"uniqueKey":"fieldsToExpose.items.[INDEX].exposure","typeLabel":"enum\u003cstring>[]"},"description":{"type":"string","description":"The description of the field","uniqueKey":"fieldsToExpose.items.[INDEX].description","typeLabel":"string"}},"required":["name","jsonPath","exposure"],"uniqueKey":"fieldsToExpose.items.[INDEX]","typeLabel":"object"},"description":"The fields to expose on the segment builder or merge fields.","uniqueKey":"fieldsToExpose","typeLabel":"object[]"},"exposeNameJsonPath":{"oneOf":[{"type":"string","description":"The JSON path to the resource display name. Null clears the mapping; omit it to keep the existing mapping.","uniqueKey":"exposeNameJsonPath.oneOf.0","typeLabel":"string"},{"type":"null","description":"The JSON path to the resource display name. Null clears the mapping; omit it to keep the existing mapping.","uniqueKey":"exposeNameJsonPath.oneOf.1","typeLabel":"null"}],"uniqueKey":"exposeNameJsonPath","typeLabel":"string | null"},"external_id_field":{"type":"string","description":"[Deprecated] Please use externalIdField instead. The field in the schema that is used as the unique ID in the partner system.","uniqueKey":"external_id_field","typeLabel":"string"},"externalIdField":{"type":"string","description":"The field in the schema that is used as the unique ID in the partner system.","uniqueKey":"externalIdField","typeLabel":"string"},"category":{"type":"string","enum":["contacts_schema","transactions_schema","custom_schema","combined_schema","locations_schema","customer_fields"],"description":"The category of the schema. Cannot be changed if it is used in active schema mappings.","uniqueKey":"category","typeLabel":"enum\u003cstring>"},"displayMetadata":{"oneOf":[{"type":"object","properties":{"label":{"oneOf":[{"type":"string","minLength":1,"maxLength":60,"description":"Human-readable schema name shown in place of the schema name, e.g. \"Job\"","uniqueKey":"displayMetadata.oneOf.0.label.oneOf.0","typeLabel":"string"},{"type":"null","minLength":1,"maxLength":60,"description":"Human-readable schema name shown in place of the schema name, e.g. \"Job\"","uniqueKey":"displayMetadata.oneOf.0.label.oneOf.1","typeLabel":"null"}],"uniqueKey":"displayMetadata.oneOf.0.label","typeLabel":"string | null"},"icon":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["lucide"],"isRequired":true,"uniqueKey":"displayMetadata.oneOf.0.icon.oneOf.0.type","typeLabel":"enum\u003cstring>"},"value":{"type":"string","enum":["User","Users","Contact","Briefcase","Building2","Home","Store","MapPin","ShoppingCart","Receipt","CreditCard","DollarSign","Package","Box","Truck","Car","Calendar","Clock","Ticket","Wrench","ClipboardList","FileText","Mail","MessageSquare","Phone","Bell","Tag","Tags","Hash","Flag","Star","Heart","Award","Gift","CircleCheck","Zap","Sparkles","Layers","Database","Dog"],"isRequired":true,"uniqueKey":"displayMetadata.oneOf.0.icon.oneOf.0.value","typeLabel":"enum\u003cstring>"}},"required":["type","value"],"uniqueKey":"displayMetadata.oneOf.0.icon.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"type":{"type":"string","enum":["lucide"]},"value":{"type":"string","enum":["User","Users","Contact","Briefcase","Building2","Home","Store","MapPin","ShoppingCart","Receipt","CreditCard","DollarSign","Package","Box","Truck","Car","Calendar","Clock","Ticket","Wrench","ClipboardList","FileText","Mail","MessageSquare","Phone","Bell","Tag","Tags","Hash","Flag","Star","Heart","Award","Gift","CircleCheck","Zap","Sparkles","Layers","Database","Dog"]}},"required":["type","value"],"uniqueKey":"displayMetadata.oneOf.0.icon.oneOf.1","typeLabel":"null"}],"uniqueKey":"displayMetadata.oneOf.0.icon","typeLabel":"object | null"},"color":{"oneOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","uniqueKey":"displayMetadata.oneOf.0.color.oneOf.0","typeLabel":"string"},{"type":"null","pattern":"^#[0-9a-fA-F]{6}$","uniqueKey":"displayMetadata.oneOf.0.color.oneOf.1","typeLabel":"null"}],"uniqueKey":"displayMetadata.oneOf.0.color","typeLabel":"string | null"},"reporting":{"oneOf":[{"type":"object","properties":{"status":{"oneOf":[{"type":"object","properties":{"path":{"type":"string","minLength":1,"maxLength":200,"isRequired":true,"uniqueKey":"displayMetadata.oneOf.0.reporting.oneOf.0.status.oneOf.0.path","typeLabel":"string"}},"required":["path"],"additionalProperties":false,"uniqueKey":"displayMetadata.oneOf.0.reporting.oneOf.0.status.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"path":{"type":"string","minLength":1,"maxLength":200}},"required":["path"],"additionalProperties":false,"uniqueKey":"displayMetadata.oneOf.0.reporting.oneOf.0.status.oneOf.1","typeLabel":"null"}],"uniqueKey":"displayMetadata.oneOf.0.reporting.oneOf.0.status","typeLabel":"object | null"},"effectiveDate":{"oneOf":[{"type":"object","properties":{"path":{"type":"string","minLength":1,"maxLength":200,"isRequired":true,"uniqueKey":"displayMetadata.oneOf.0.reporting.oneOf.0.effectiveDate.oneOf.0.path","typeLabel":"string"}},"required":["path"],"additionalProperties":false,"uniqueKey":"displayMetadata.oneOf.0.reporting.oneOf.0.effectiveDate.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"path":{"type":"string","minLength":1,"maxLength":200}},"required":["path"],"additionalProperties":false,"uniqueKey":"displayMetadata.oneOf.0.reporting.oneOf.0.effectiveDate.oneOf.1","typeLabel":"null"}],"uniqueKey":"displayMetadata.oneOf.0.reporting.oneOf.0.effectiveDate","typeLabel":"object | null"},"resourceLink":{"oneOf":[{"type":"object","required":["source","path"],"properties":{"source":{"type":"string","enum":["field"],"isRequired":true,"uniqueKey":"displayMetadata.oneOf.0.reporting.oneOf.0.resourceLink.oneOf.0.source","typeLabel":"enum\u003cstring>"},"path":{"type":"string","minLength":1,"maxLength":200,"isRequired":true,"uniqueKey":"displayMetadata.oneOf.0.reporting.oneOf.0.resourceLink.oneOf.0.path","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"displayMetadata.oneOf.0.reporting.oneOf.0.resourceLink.oneOf.0","typeLabel":"object"},{"type":"object","required":["source","pattern"],"properties":{"source":{"type":"string","enum":["pattern"],"isRequired":true,"uniqueKey":"displayMetadata.oneOf.0.reporting.oneOf.0.resourceLink.oneOf.1.source","typeLabel":"enum\u003cstring>"},"pattern":{"type":"string","minLength":1,"maxLength":2048,"isRequired":true,"uniqueKey":"displayMetadata.oneOf.0.reporting.oneOf.0.resourceLink.oneOf.1.pattern","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"displayMetadata.oneOf.0.reporting.oneOf.0.resourceLink.oneOf.1","typeLabel":"object"},{"type":"null","uniqueKey":"displayMetadata.oneOf.0.reporting.oneOf.0.resourceLink.oneOf.2","typeLabel":"null"}],"uniqueKey":"displayMetadata.oneOf.0.reporting.oneOf.0.resourceLink","typeLabel":"object · object · null"}},"additionalProperties":false,"uniqueKey":"displayMetadata.oneOf.0.reporting.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"status":{"oneOf":[{"type":"object","properties":{"path":{"type":"string","minLength":1,"maxLength":200}},"required":["path"],"additionalProperties":false},{"type":"null","properties":{"path":{"type":"string","minLength":1,"maxLength":200}},"required":["path"],"additionalProperties":false}]},"effectiveDate":{"oneOf":[{"type":"object","properties":{"path":{"type":"string","minLength":1,"maxLength":200}},"required":["path"],"additionalProperties":false},{"type":"null","properties":{"path":{"type":"string","minLength":1,"maxLength":200}},"required":["path"],"additionalProperties":false}]},"resourceLink":{"oneOf":[{"type":"object","required":["source","path"],"properties":{"source":{"type":"string","enum":["field"]},"path":{"type":"string","minLength":1,"maxLength":200}},"additionalProperties":false},{"type":"object","required":["source","pattern"],"properties":{"source":{"type":"string","enum":["pattern"]},"pattern":{"type":"string","minLength":1,"maxLength":2048}},"additionalProperties":false},{"type":"null"}]}},"additionalProperties":false,"uniqueKey":"displayMetadata.oneOf.0.reporting.oneOf.1","typeLabel":"null"}],"uniqueKey":"displayMetadata.oneOf.0.reporting","typeLabel":"object | null"}},"additionalProperties":false,"description":"Partial presentation and reporting metadata update. Null clears all metadata; nested nulls clear individual settings.","uniqueKey":"displayMetadata.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"label":{"oneOf":[{"type":"string","minLength":1,"maxLength":60,"description":"Human-readable schema name shown in place of the schema name, e.g. \"Job\""},{"type":"null","minLength":1,"maxLength":60,"description":"Human-readable schema name shown in place of the schema name, e.g. \"Job\""}]},"icon":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["lucide"]},"value":{"type":"string","enum":["User","Users","Contact","Briefcase","Building2","Home","Store","MapPin","ShoppingCart","Receipt","CreditCard","DollarSign","Package","Box","Truck","Car","Calendar","Clock","Ticket","Wrench","ClipboardList","FileText","Mail","MessageSquare","Phone","Bell","Tag","Tags","Hash","Flag","Star","Heart","Award","Gift","CircleCheck","Zap","Sparkles","Layers","Database","Dog"]}},"required":["type","value"]},{"type":"null","properties":{"type":{"type":"string","enum":["lucide"]},"value":{"type":"string","enum":["User","Users","Contact","Briefcase","Building2","Home","Store","MapPin","ShoppingCart","Receipt","CreditCard","DollarSign","Package","Box","Truck","Car","Calendar","Clock","Ticket","Wrench","ClipboardList","FileText","Mail","MessageSquare","Phone","Bell","Tag","Tags","Hash","Flag","Star","Heart","Award","Gift","CircleCheck","Zap","Sparkles","Layers","Database","Dog"]}},"required":["type","value"]}]},"color":{"oneOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},{"type":"null","pattern":"^#[0-9a-fA-F]{6}$"}]},"reporting":{"oneOf":[{"type":"object","properties":{"status":{"oneOf":[{"type":"object","properties":{"path":{"type":"string","minLength":1,"maxLength":200}},"required":["path"],"additionalProperties":false},{"type":"null","properties":{"path":{"type":"string","minLength":1,"maxLength":200}},"required":["path"],"additionalProperties":false}]},"effectiveDate":{"oneOf":[{"type":"object","properties":{"path":{"type":"string","minLength":1,"maxLength":200}},"required":["path"],"additionalProperties":false},{"type":"null","properties":{"path":{"type":"string","minLength":1,"maxLength":200}},"required":["path"],"additionalProperties":false}]},"resourceLink":{"oneOf":[{"type":"object","required":["source","path"],"properties":{"source":{"type":"string","enum":["field"]},"path":{"type":"string","minLength":1,"maxLength":200}},"additionalProperties":false},{"type":"object","required":["source","pattern"],"properties":{"source":{"type":"string","enum":["pattern"]},"pattern":{"type":"string","minLength":1,"maxLength":2048}},"additionalProperties":false},{"type":"null"}]}},"additionalProperties":false},{"type":"null","properties":{"status":{"oneOf":[{"type":"object","properties":{"path":{"type":"string","minLength":1,"maxLength":200}},"required":["path"],"additionalProperties":false},{"type":"null","properties":{"path":{"type":"string","minLength":1,"maxLength":200}},"required":["path"],"additionalProperties":false}]},"effectiveDate":{"oneOf":[{"type":"object","properties":{"path":{"type":"string","minLength":1,"maxLength":200}},"required":["path"],"additionalProperties":false},{"type":"null","properties":{"path":{"type":"string","minLength":1,"maxLength":200}},"required":["path"],"additionalProperties":false}]},"resourceLink":{"oneOf":[{"type":"object","required":["source","path"],"properties":{"source":{"type":"string","enum":["field"]},"path":{"type":"string","minLength":1,"maxLength":200}},"additionalProperties":false},{"type":"object","required":["source","pattern"],"properties":{"source":{"type":"string","enum":["pattern"]},"pattern":{"type":"string","minLength":1,"maxLength":2048}},"additionalProperties":false},{"type":"null"}]}},"additionalProperties":false}]}},"additionalProperties":false,"description":"Partial presentation and reporting metadata update. Null clears all metadata; nested nulls clear individual settings.","uniqueKey":"displayMetadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"displayMetadata","typeLabel":"object | null"}},"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"description":"\u003cstring>","schema":{},"fieldsToExpose":[{"name":"\u003cstring>","jsonPath":"\u003cstring>","exposure":[],"description":"\u003cstring>"}],"exposeNameJsonPath":"\u003cstring>","external_id_field":"\u003cstring>","externalIdField":"\u003cstring>","displayMetadata":{"label":"\u003cstring>","icon":{"type":"lucide"},"color":"\u003cstring>","reporting":{"status":{"path":"\u003cstring>"},"effectiveDate":{"path":"\u003cstring>"},"resourceLink":{"source":"field","path":"\u003cstring>"}}}}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"8c3cbac3-0abe-4fb7-91a3-a30ca57f766e":{"description":"Status 200 response","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","isRequired":true,"uniqueKey":"success","typeLabel":"boolean"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"},"data":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Unique identifier for the schema definition","isRequired":true,"uniqueKey":"data.id","typeLabel":"string\u003cuuid>"},"platform_id":{"type":"string","format":"uuid","description":"Platform ID this schema belongs to","isRequired":true,"uniqueKey":"data.platform_id","typeLabel":"string\u003cuuid>"},"name":{"type":"string","description":"Name of the schema","isRequired":true,"uniqueKey":"data.name","typeLabel":"string"},"plural_name":{"type":"string","description":"[Deprecated] Please use pluralName instead. Plural name of the schema","isRequired":true,"uniqueKey":"data.plural_name","typeLabel":"string"},"pluralName":{"type":"string","description":"Plural name of the schema","isRequired":true,"uniqueKey":"data.pluralName","typeLabel":"string"},"description":{"oneOf":[{"type":"string","description":"Description of the schema","isRequired":true,"uniqueKey":"data.description.oneOf.0","typeLabel":"string"},{"type":"null","description":"Description of the schema","isRequired":true,"uniqueKey":"data.description.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.description","typeLabel":"string | null"},"category":{"type":"string","enum":["contacts_schema","transactions_schema","custom_schema","combined_schema","locations_schema","customer_fields"],"description":"Schema category","isRequired":true,"uniqueKey":"data.category","typeLabel":"enum\u003cstring>"},"version_number":{"type":"number","description":"[Deprecated] Please use versionNumber instead. Schema version number","isRequired":true,"uniqueKey":"data.version_number","typeLabel":"number"},"versionNumber":{"type":"number","description":"Schema version number","isRequired":true,"uniqueKey":"data.versionNumber","typeLabel":"number"},"reference_schemas":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"data.reference_schemas.oneOf.0.items.[INDEX]","typeLabel":"string"},"description":"[Deprecated] Please use referenceSchemas instead. References to other schemas","isRequired":true,"uniqueKey":"data.reference_schemas.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"description":"[Deprecated] Please use referenceSchemas instead. References to other schemas","isRequired":true,"uniqueKey":"data.reference_schemas.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.reference_schemas","typeLabel":"string[] | null"},"referenceSchemas":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"data.referenceSchemas.oneOf.0.items.[INDEX]","typeLabel":"string"},"description":"References to other schemas","isRequired":true,"uniqueKey":"data.referenceSchemas.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"description":"References to other schemas","isRequired":true,"uniqueKey":"data.referenceSchemas.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.referenceSchemas","typeLabel":"string[] | null"},"schema":{"type":"object","additionalProperties":{"oneOf":[{}],"uniqueKey":"data.schema.additionalProperties","typeLabel":"any"},"description":"The actual JSON schema definition","isRequired":true,"uniqueKey":"data.schema","typeLabel":"object"},"external_id_field":{"type":"string","description":"[Deprecated] Please use externalIdField instead. Field used for external ID references","isRequired":true,"uniqueKey":"data.external_id_field","typeLabel":"string"},"externalIdField":{"type":"string","description":"Field used for external ID references","isRequired":true,"uniqueKey":"data.externalIdField","typeLabel":"string"},"created_at":{"type":"string","description":"[Deprecated] Please use createdAt instead. Creation timestamp","isRequired":true,"uniqueKey":"data.created_at","typeLabel":"string"},"createdAt":{"type":"string","description":"Creation timestamp","isRequired":true,"uniqueKey":"data.createdAt","typeLabel":"string"},"updated_at":{"type":"string","description":"[Deprecated] Please use updatedAt instead. Last update timestamp","isRequired":true,"uniqueKey":"data.updated_at","typeLabel":"string"},"updatedAt":{"type":"string","description":"Last update timestamp","isRequired":true,"uniqueKey":"data.updatedAt","typeLabel":"string"},"fieldsToExpose":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"The name of the field","isRequired":true,"uniqueKey":"data.fieldsToExpose.items.[INDEX].name","typeLabel":"string"},"jsonPath":{"type":"string","description":"The JSON path to the field in the custom resource (e.g. .user.rewards.points for the json { \"user\": { \"rewards\": { \"points\": 100 } } })","isRequired":true,"uniqueKey":"data.fieldsToExpose.items.[INDEX].jsonPath","typeLabel":"string"},"exposure":{"type":"array","items":{"type":"string","enum":["segments","merge-fields","agent-tools"],"uniqueKey":"data.fieldsToExpose.items.[INDEX].exposure.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"How to expose this field, is it available in segments, email builder, etc.","isRequired":true,"uniqueKey":"data.fieldsToExpose.items.[INDEX].exposure","typeLabel":"enum\u003cstring>[]"},"description":{"type":"string","description":"The description of the field","uniqueKey":"data.fieldsToExpose.items.[INDEX].description","typeLabel":"string"}},"required":["name","jsonPath","exposure"],"uniqueKey":"data.fieldsToExpose.items.[INDEX]","typeLabel":"object"},"description":"Fields to expose","isRequired":true,"uniqueKey":"data.fieldsToExpose","typeLabel":"object[]"},"dataConnectionId":{"oneOf":[{"type":"string","format":"uuid","description":"Data connection ID for the schema","uniqueKey":"data.dataConnectionId.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","description":"Data connection ID for the schema","uniqueKey":"data.dataConnectionId.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.dataConnectionId","typeLabel":"string\u003cuuid> | null"},"source_query":{"oneOf":[{"type":"string","description":"[Deprecated] Please use sourceQuery instead. Source query for the schema","uniqueKey":"data.source_query.oneOf.0","typeLabel":"string"},{"type":"null","description":"[Deprecated] Please use sourceQuery instead. Source query for the schema","uniqueKey":"data.source_query.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.source_query","typeLabel":"string | null"},"sourceQuery":{"oneOf":[{"type":"string","description":"Source query for the schema","uniqueKey":"data.sourceQuery.oneOf.0","typeLabel":"string"},{"type":"null","description":"Source query for the schema","uniqueKey":"data.sourceQuery.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.sourceQuery","typeLabel":"string | null"},"deactivated_at":{"oneOf":[{"type":"string","description":"[Deprecated] Please use deactivatedAt instead. When this schema was deactivated","uniqueKey":"data.deactivated_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"[Deprecated] Please use deactivatedAt instead. When this schema was deactivated","uniqueKey":"data.deactivated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.deactivated_at","typeLabel":"string | null"},"deactivatedAt":{"oneOf":[{"type":"string","description":"When this schema was deactivated","uniqueKey":"data.deactivatedAt.oneOf.0","typeLabel":"string"},{"type":"null","description":"When this schema was deactivated","uniqueKey":"data.deactivatedAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.deactivatedAt","typeLabel":"string | null"},"exposeNameJsonPath":{"oneOf":[{"type":"string","description":"The JSON path to the field in the schema that will be used to expose the resource to the user. If not provided, the resource will not be exposed to the user.","uniqueKey":"data.exposeNameJsonPath.oneOf.0","typeLabel":"string"},{"type":"null","description":"The JSON path to the field in the schema that will be used to expose the resource to the user. If not provided, the resource will not be exposed to the user.","uniqueKey":"data.exposeNameJsonPath.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.exposeNameJsonPath","typeLabel":"string | null"},"displayMetadata":{"oneOf":[{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":60,"description":"Human-readable schema name shown in place of the schema name, e.g. \"Job\"","uniqueKey":"data.displayMetadata.oneOf.0.label","typeLabel":"string"},"icon":{"type":"object","properties":{"type":{"type":"string","enum":["lucide"],"isRequired":true,"uniqueKey":"data.displayMetadata.oneOf.0.icon.type","typeLabel":"enum\u003cstring>"},"value":{"type":"string","enum":["User","Users","Contact","Briefcase","Building2","Home","Store","MapPin","ShoppingCart","Receipt","CreditCard","DollarSign","Package","Box","Truck","Car","Calendar","Clock","Ticket","Wrench","ClipboardList","FileText","Mail","MessageSquare","Phone","Bell","Tag","Tags","Hash","Flag","Star","Heart","Award","Gift","CircleCheck","Zap","Sparkles","Layers","Database","Dog"],"isRequired":true,"uniqueKey":"data.displayMetadata.oneOf.0.icon.value","typeLabel":"enum\u003cstring>"}},"required":["type","value"],"uniqueKey":"data.displayMetadata.oneOf.0.icon","typeLabel":"object"},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","uniqueKey":"data.displayMetadata.oneOf.0.color","typeLabel":"string"},"reporting":{"type":"object","properties":{"status":{"type":"object","properties":{"path":{"type":"string","minLength":1,"maxLength":200,"isRequired":true,"uniqueKey":"data.displayMetadata.oneOf.0.reporting.status.path","typeLabel":"string"}},"required":["path"],"additionalProperties":false,"uniqueKey":"data.displayMetadata.oneOf.0.reporting.status","typeLabel":"object"},"effectiveDate":{"type":"object","properties":{"path":{"type":"string","minLength":1,"maxLength":200,"isRequired":true,"uniqueKey":"data.displayMetadata.oneOf.0.reporting.effectiveDate.path","typeLabel":"string"}},"required":["path"],"additionalProperties":false,"uniqueKey":"data.displayMetadata.oneOf.0.reporting.effectiveDate","typeLabel":"object"},"resourceLink":{"oneOf":[{"type":"object","required":["source","path"],"properties":{"source":{"type":"string","enum":["field"],"isRequired":true,"uniqueKey":"data.displayMetadata.oneOf.0.reporting.resourceLink.oneOf.0.source","typeLabel":"enum\u003cstring>"},"path":{"type":"string","minLength":1,"maxLength":200,"isRequired":true,"uniqueKey":"data.displayMetadata.oneOf.0.reporting.resourceLink.oneOf.0.path","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"data.displayMetadata.oneOf.0.reporting.resourceLink.oneOf.0","typeLabel":"object"},{"type":"object","required":["source","pattern"],"properties":{"source":{"type":"string","enum":["pattern"],"isRequired":true,"uniqueKey":"data.displayMetadata.oneOf.0.reporting.resourceLink.oneOf.1.source","typeLabel":"enum\u003cstring>"},"pattern":{"type":"string","minLength":1,"maxLength":2048,"isRequired":true,"uniqueKey":"data.displayMetadata.oneOf.0.reporting.resourceLink.oneOf.1.pattern","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"data.displayMetadata.oneOf.0.reporting.resourceLink.oneOf.1","typeLabel":"object"}],"uniqueKey":"data.displayMetadata.oneOf.0.reporting.resourceLink","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"data.displayMetadata.oneOf.0.reporting","typeLabel":"object"}},"additionalProperties":false,"description":"Presentation and reporting metadata associated with the schema.","uniqueKey":"data.displayMetadata.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"label":{"type":"string","minLength":1,"maxLength":60,"description":"Human-readable schema name shown in place of the schema name, e.g. \"Job\""},"icon":{"type":"object","properties":{"type":{"type":"string","enum":["lucide"]},"value":{"type":"string","enum":["User","Users","Contact","Briefcase","Building2","Home","Store","MapPin","ShoppingCart","Receipt","CreditCard","DollarSign","Package","Box","Truck","Car","Calendar","Clock","Ticket","Wrench","ClipboardList","FileText","Mail","MessageSquare","Phone","Bell","Tag","Tags","Hash","Flag","Star","Heart","Award","Gift","CircleCheck","Zap","Sparkles","Layers","Database","Dog"]}},"required":["type","value"]},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"reporting":{"type":"object","properties":{"status":{"type":"object","properties":{"path":{"type":"string","minLength":1,"maxLength":200}},"required":["path"],"additionalProperties":false},"effectiveDate":{"type":"object","properties":{"path":{"type":"string","minLength":1,"maxLength":200}},"required":["path"],"additionalProperties":false},"resourceLink":{"oneOf":[{"type":"object","required":["source","path"],"properties":{"source":{"type":"string","enum":["field"]},"path":{"type":"string","minLength":1,"maxLength":200}},"additionalProperties":false},{"type":"object","required":["source","pattern"],"properties":{"source":{"type":"string","enum":["pattern"]},"pattern":{"type":"string","minLength":1,"maxLength":2048}},"additionalProperties":false}]}},"additionalProperties":false}},"additionalProperties":false,"description":"Presentation and reporting metadata associated with the schema.","uniqueKey":"data.displayMetadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.displayMetadata","typeLabel":"object | null"}},"required":["id","platform_id","name","plural_name","pluralName","description","category","version_number","versionNumber","reference_schemas","referenceSchemas","schema","external_id_field","externalIdField","created_at","createdAt","updated_at","updatedAt","fieldsToExpose"],"uniqueKey":"data","typeLabel":"object"}},"required":["success"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":true,"message":"\u003cstring>","data":{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","platform_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","name":"\u003cstring>","plural_name":"\u003cstring>","pluralName":"\u003cstring>","description":"\u003cstring>","category":"contacts_schema","version_number":123,"versionNumber":123,"reference_schemas":["\u003cstring>"],"referenceSchemas":["\u003cstring>"],"schema":{},"external_id_field":"\u003cstring>","externalIdField":"\u003cstring>","created_at":"\u003cstring>","createdAt":"\u003cstring>","updated_at":"\u003cstring>","updatedAt":"\u003cstring>","fieldsToExpose":[{"name":"\u003cstring>","jsonPath":"\u003cstring>","exposure":["segments"],"description":"\u003cstring>"}],"dataConnectionId":"3c90c3cc-0d44-4b50-8888-8dd25736052a","source_query":"\u003cstring>","sourceQuery":"\u003cstring>","deactivated_at":"\u003cstring>","deactivatedAt":"\u003cstring>","exposeNameJsonPath":"\u003cstring>","displayMetadata":{"label":"\u003cstring>","icon":{"type":"lucide","value":"User"},"color":"\u003cstring>","reporting":{"status":{"path":"\u003cstring>"},"effectiveDate":{"path":"\u003cstring>"},"resourceLink":{"source":"field","path":"\u003cstring>"}}}}}}},"exampleType":"generated"}},"exampleType":"generated"},"0b621fc4-cfd6-4965-9a14-2fb20145fbbf":{"description":"Status 202 response","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","isRequired":true,"uniqueKey":"success","typeLabel":"boolean"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"},"data":{"type":"object","properties":{"updateId":{"type":"string","format":"uuid","description":"ID of the background update","isRequired":true,"uniqueKey":"data.updateId","typeLabel":"string\u003cuuid>"},"schemaDefinitionId":{"type":"string","format":"uuid","description":"ID of the schema definition being updated","isRequired":true,"uniqueKey":"data.schemaDefinitionId","typeLabel":"string\u003cuuid>"},"baseVersionNumber":{"type":"number","description":"Schema version the update was based on. The update fails with a 409 if another change is saved first.","isRequired":true,"uniqueKey":"data.baseVersionNumber","typeLabel":"number"},"status":{"type":"string","enum":["pending","running","succeeded","failed"],"description":"Current state of the update","isRequired":true,"uniqueKey":"data.status","typeLabel":"enum\u003cstring>"},"statusPath":{"type":"string","description":"Path to poll for the result of the update","isRequired":true,"uniqueKey":"data.statusPath","typeLabel":"string"}},"required":["updateId","schemaDefinitionId","baseVersionNumber","status","statusPath"],"uniqueKey":"data","typeLabel":"object"}},"required":["success"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":true,"message":"\u003cstring>","data":{"updateId":"3c90c3cc-0d44-4b50-8888-8dd25736052a","schemaDefinitionId":"3c90c3cc-0d44-4b50-8888-8dd25736052a","baseVersionNumber":123,"status":"pending","statusPath":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"e3e5ce0e-9fd0-4568-9d9b-68c626e8bee3":{"description":"Bad Request - Validation or request error","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","description":"Error message describing what went wrong","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"success":{"type":"boolean","enum":[false],"default":false,"uniqueKey":"success","typeLabel":"enum\u003cboolean>"},"errors":{"type":"array","items":{"type":"string","uniqueKey":"errors.items.[INDEX]","typeLabel":"string"},"description":"Optional array of specific validation errors","uniqueKey":"errors","typeLabel":"string[]"}},"required":["message"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"\u003cstring>","success":false,"errors":["\u003cstring>"]}}},"exampleType":"generated"}},"exampleType":"generated"},"c4a455f9-3390-410f-a58f-f2e1245d0173":{"description":"Status 409 response","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","isRequired":true,"uniqueKey":"success","typeLabel":"boolean"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"},"data":{"oneOf":[{"type":"object","required":["error","message","conflicts"],"properties":{"error":{"type":"string","enum":["Cannot remove fields that are in use by existing resources"],"description":"Error title","isRequired":true,"uniqueKey":"data.oneOf.0.error","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Explanation of the error and potential solutions","isRequired":true,"uniqueKey":"data.oneOf.0.message","typeLabel":"string"},"conflicts":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","description":"The field being removed that contains data","isRequired":true,"uniqueKey":"data.oneOf.0.conflicts.items.[INDEX].field","typeLabel":"string"},"resourceExternalIds":{"type":"array","items":{"type":"string","uniqueKey":"data.oneOf.0.conflicts.items.[INDEX].resourceExternalIds.items.[INDEX]","typeLabel":"string"},"description":"Always empty. The conflict is identified by `field`; individual conflicting resources are no longer enumerated.","isRequired":true,"uniqueKey":"data.oneOf.0.conflicts.items.[INDEX].resourceExternalIds","typeLabel":"string[]"}},"required":["field","resourceExternalIds"],"uniqueKey":"data.oneOf.0.conflicts.items.[INDEX]","typeLabel":"object"},"description":"Details of field conflicts","isRequired":true,"uniqueKey":"data.oneOf.0.conflicts","typeLabel":"object[]"}},"uniqueKey":"data.oneOf.0","typeLabel":"object"},{"type":"object","required":["error"],"properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["SCHEMA_LOOKUP_TOOL_CONFLICT"],"isRequired":true,"uniqueKey":"data.oneOf.1.error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"data.oneOf.1.error.message","typeLabel":"string"},"conflicts":{"type":"array","items":{"oneOf":[{"type":"object","required":["toolDefinitionId","toolName","schemaDefinitionId","reason"],"properties":{"toolDefinitionId":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"data.oneOf.1.error.conflicts.items.[INDEX].oneOf.0.toolDefinitionId","typeLabel":"string\u003cuuid>"},"toolName":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"data.oneOf.1.error.conflicts.items.[INDEX].oneOf.0.toolName","typeLabel":"string"},"schemaDefinitionId":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"data.oneOf.1.error.conflicts.items.[INDEX].oneOf.0.schemaDefinitionId","typeLabel":"string\u003cuuid>"},"reason":{"type":"string","enum":["schema_removed","user_id_invalid"],"isRequired":true,"uniqueKey":"data.oneOf.1.error.conflicts.items.[INDEX].oneOf.0.reason","typeLabel":"enum\u003cstring>"}},"uniqueKey":"data.oneOf.1.error.conflicts.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","required":["toolDefinitionId","toolName","reason"],"properties":{"toolDefinitionId":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"data.oneOf.1.error.conflicts.items.[INDEX].oneOf.1.toolDefinitionId","typeLabel":"string\u003cuuid>"},"toolName":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"data.oneOf.1.error.conflicts.items.[INDEX].oneOf.1.toolName","typeLabel":"string"},"reason":{"type":"string","enum":["invalid_configuration"],"isRequired":true,"uniqueKey":"data.oneOf.1.error.conflicts.items.[INDEX].oneOf.1.reason","typeLabel":"enum\u003cstring>"},"schemaDefinitionId":{"type":"string","format":"uuid","uniqueKey":"data.oneOf.1.error.conflicts.items.[INDEX].oneOf.1.schemaDefinitionId","typeLabel":"string\u003cuuid>"}},"uniqueKey":"data.oneOf.1.error.conflicts.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"data.oneOf.1.error.conflicts.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"data.oneOf.1.error.conflicts","typeLabel":"object[]"}},"required":["code","message","conflicts"],"isRequired":true,"uniqueKey":"data.oneOf.1.error","typeLabel":"object"}},"uniqueKey":"data.oneOf.1","typeLabel":"object"},{"type":"object","required":["code","message","updateId","statusPath"],"properties":{"code":{"type":"string","enum":["SCHEMA_DEFINITION_UPDATE_IN_PROGRESS"],"isRequired":true,"uniqueKey":"data.oneOf.2.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Explanation of the conflict","isRequired":true,"uniqueKey":"data.oneOf.2.message","typeLabel":"string"},"updateId":{"type":"string","format":"uuid","description":"ID of the update that is still running","isRequired":true,"uniqueKey":"data.oneOf.2.updateId","typeLabel":"string\u003cuuid>"},"statusPath":{"type":"string","description":"Path to poll for the result of the running update","isRequired":true,"uniqueKey":"data.oneOf.2.statusPath","typeLabel":"string"}},"uniqueKey":"data.oneOf.2","typeLabel":"object"}],"uniqueKey":"data","typeLabel":"object"}},"required":["success"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":true,"message":"\u003cstring>","data":{"error":"Cannot remove fields that are in use by existing resources","message":"\u003cstring>","conflicts":[{"field":"\u003cstring>","resourceExternalIds":["\u003cstring>"]}]}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{},"servers":{"de5a790e-98b7-4d9a-8fb8-d0905fcada60":{"url":"https://api.embedreach.com","description":"Production server"}}},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"reach","siteName":"Reach Marketing \u0026 Automation Documentation","title":"Update Schema - Reach Marketing \u0026 Automation Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-05T21:31:29.359Z","originalFileLocation":"api-reference/endpoint/post-partner-schema-definitions-schemaidorname.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=\"Updates an existing schema definition. The update can take up to 3 mins to take effect. Updates that change field rules are checked against the data already stored for every tenant, which can take longer than a client timeout on large schemas. A synchronous update still running after 60 seconds times out with a 504 and the change is not applied; read the versionNumber of the schema before retrying. While a background update to the schema is pending or running, every other update to it, synchronous or async, is refused with a 409 that names the running update and its statusPath. Pass async=true to run the update in the background: the response is a 202 with an update ID, and the result (the saved schema, or the same 409 conflict payload the synchronous update returns) is read from statusPath.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Reach Marketing \u0026amp; Automation Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/reach/Xd06gTcEFFBFlU7h/_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/reach/Xd06gTcEFFBFlU7h/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/reach/Xd06gTcEFFBFlU7h/_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/reach/Xd06gTcEFFBFlU7h/_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/reach/Xd06gTcEFFBFlU7h/_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/reach/Xd06gTcEFFBFlU7h/_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/reach/Xd06gTcEFFBFlU7h/_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/reach/Xd06gTcEFFBFlU7h/_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/reach/Xd06gTcEFFBFlU7h/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Update Schema - Reach Marketing \u0026amp; Automation Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Updates an existing schema definition. The update can take up to 3 mins to take effect. Updates that change field rules are checked against the data already stored for every tenant, which can take longer than a client timeout on large schemas. A synchronous update still running after 60 seconds times out with a 504 and the change is not applied; read the versionNumber of the schema before retrying. While a background update to the schema is pending or running, every other update to it, synchronous or async, is refused with a 409 that names the running update and its statusPath. Pass async=true to run the update in the background: the response is a 202 with an update ID, and the result (the saved schema, or the same 409 conflict payload the synchronous update returns) is read from statusPath.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Reach Marketing \u0026amp; Automation Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.embedreach.com/api-reference/endpoint/post-partner-schema-definitions-schemaidorname\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://reach.mintlify.site/_mintlify/api/og/v2?division=Schema+Definitions\u0026amp;title=Update+Schema\u0026amp;description=Updates+an+existing+schema+definition.+The+update+can+take+up+to+3+mins+to+take+effect.+Updates+that+change+field+rules+are+checked+against+the+data+already+sto\u0026amp;theme=8f2be3aa00eff555d7076746\u0026amp;signature=736431a24359e1979fb5c837ce4f0bed99a4f5e6b7350684ebb92cea4a6df22f\">\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 Schema - Reach Marketing \u0026amp; Automation Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Updates an existing schema definition. The update can take up to 3 mins to take effect. Updates that change field rules are checked against the data already stored for every tenant, which can take longer than a client timeout on large schemas. A synchronous update still running after 60 seconds times out with a 504 and the change is not applied; read the versionNumber of the schema before retrying. While a background update to the schema is pending or running, every other update to it, synchronous or async, is refused with a 409 that names the running update and its statusPath. Pass async=true to run the update in the background: the response is a 202 with an update ID, and the result (the saved schema, or the same 409 conflict payload the synchronous update returns) is read from statusPath.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://reach.mintlify.site/_mintlify/api/og/v2?division=Schema+Definitions\u0026amp;title=Update+Schema\u0026amp;description=Updates+an+existing+schema+definition.+The+update+can+take+up+to+3+mins+to+take+effect.+Updates+that+change+field+rules+are+checked+against+the+data+already+sto\u0026amp;theme=8f2be3aa00eff555d7076746\u0026amp;signature=736431a24359e1979fb5c837ce4f0bed99a4f5e6b7350684ebb92cea4a6df22f\">\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/reach/Xd06gTcEFFBFlU7h/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Reach Marketing \u0026amp; Automation Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#16A34A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.embedreach.com/api-reference/endpoint/post-partner-schema-definitions-schemaidorname\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/endpoint/post-partner-schema-definitions-schemaidorname.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.embedreach.com/#organization\",\"name\":\"Reach Marketing \u0026 Automation Documentation\",\"url\":\"https://docs.embedreach.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/reach/VGl-b8qK8JmS6Tpg/logo/reach-logo.svg?fit=max\u0026auto=format\u0026n=VGl-b8qK8JmS6Tpg\u0026q=85\u0026s=d233fb37e119c10d0b620741f92a401d\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.embedreach.com#website\",\"name\":\"Reach Marketing \u0026 Automation Documentation\",\"url\":\"https://docs.embedreach.com\",\"publisher\":{\"@id\":\"https://docs.embedreach.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.embedreach.com/api-reference/endpoint/post-partner-schema-definitions-schemaidorname#webpage\",\"url\":\"https://docs.embedreach.com/api-reference/endpoint/post-partner-schema-definitions-schemaidorname\",\"name\":\"Update Schema\",\"description\":\"Updates an existing schema definition. The update can take up to 3 mins to take effect. Updates that change field rules are checked against the data already stored for every tenant, which can take longer than a client timeout on large schemas. A synchronous update still running after 60 seconds times out with a 504 and the change is not applied; read the versionNumber of the schema before retrying. While a background update to the schema is pending or running, every other update to it, synchronous or async, is refused with a 409 that names the running update and its statusPath. Pass async=true to run the update in the background: the response is a 202 with an update ID, and the result (the saved schema, or the same 409 conflict payload the synchronous update returns) is read from statusPath.\",\"dateModified\":\"2026-11-05T21:31:29.359Z\",\"isPartOf\":{\"@id\":\"https://docs.embedreach.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.embedreach.com/api-reference/endpoint/post-partner-schema-definitions-schemaidorname#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.embedreach.com/api-reference/endpoint/post-partner-schema-definitions-schemaidorname#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API Documentation\",\"item\":\"https://docs.embedreach.com/api-reference/introduction\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Schema Definitions\",\"item\":\"https://docs.embedreach.com/api-reference/endpoint/schema-definitions-introduction\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Update Schema\",\"item\":\"https://docs.embedreach.com/api-reference/endpoint/post-partner-schema-definitions-schemaidorname\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.embedreach.com/api-reference/endpoint/post-partner-schema-definitions-schemaidorname#apireference\",\"headline\":\"Update Schema\",\"name\":\"Update Schema\",\"description\":\"Updates an existing schema definition. The update can take up to 3 mins to take effect. Updates that change field rules are checked against the data already stored for every tenant, which can take longer than a client timeout on large schemas. A synchronous update still running after 60 seconds times out with a 504 and the change is not applied; read the versionNumber of the schema before retrying. While a background update to the schema is pending or running, every other update to it, synchronous or async, is refused with a 409 that names the running update and its statusPath. Pass async=true to run the update in the background: the response is a 202 with an update ID, and the result (the saved schema, or the same 409 conflict payload the synchronous update returns) is read from statusPath.\",\"url\":\"https://docs.embedreach.com/api-reference/endpoint/post-partner-schema-definitions-schemaidorname\",\"mainEntityOfPage\":{\"@id\":\"https://docs.embedreach.com/api-reference/endpoint/post-partner-schema-definitions-schemaidorname#webpage\"},\"dateModified\":\"2026-11-05T21:31:29.359Z\",\"publisher\":{\"@id\":\"https://docs.embedreach.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.embedreach.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Reach Marketing \u0026 Automation Documentation\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Reach Marketing \u0026 Automation Documentation\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/endpoint/post-partner-schema-definitions-schemaidorname.md","siteName":"Reach Marketing \u0026 Automation Documentation","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/home/welcome"}]},{"tab":"Onboarding","pages":[{"title":"Onboarding","href":"/onboarding/overview"}]},{"tab":"API Reference","groups":[{"group":"API Documentation","pages":[{"title":"Introduction","href":"/api-reference/introduction"},{"group":"Automation Categories","pages":[{"title":"Delete an automation category","openapi":"DELETE /partner/automation-categories/{id}","href":"/api-reference/endpoint/delete-partner-automation-categories-id"},{"title":"Get partner automation categories","href":"/api-reference/endpoint/get-partner-automation-categories"},{"title":"Get automation category usage","openapi":"GET /partner/automation-categories/{id}/usage","href":"/api-reference/endpoint/get-partner-automation-categories-id-usage"},{"title":"Get automation template categories","openapi":"GET /partner/automation-templates/{templateId}/categories","href":"/api-reference/endpoint/get-partner-automation-templates-templateid-categories"},{"title":"Update an automation category","openapi":"PATCH /partner/automation-categories/{id}","href":"/api-reference/endpoint/patch-partner-automation-categories-id"},{"title":"Create an automation category","openapi":"POST /partner/automation-categories","href":"/api-reference/endpoint/post-partner-automation-categories"},{"title":"Put partner automation templates templateid categories","href":"/api-reference/endpoint/put-partner-automation-templates-templateid-categories"}]},{"group":"Automation Templates","pages":[{"title":"Overview","href":"/api-reference/endpoint/automation-templates-introduction"},{"title":"List automation templates","openapi":"GET /partner/automation-templates","href":"/api-reference/endpoint/get-partner-automation-templates"},{"title":"Get automation template by ID","openapi":"GET /partner/automation-templates/{id}","href":"/api-reference/endpoint/get-partner-automation-templates-id"},{"title":"Get automation template sync","openapi":"GET /partner/automation-templates/{id}/syncs/{jobId}","href":"/api-reference/endpoint/get-partner-automation-templates-id-syncs-jobid"},{"title":"Update automation template","openapi":"PATCH /partner/automation-templates/{id}","href":"/api-reference/endpoint/patch-partner-automation-templates-id"},{"title":"Create automation template","openapi":"POST /partner/automation-templates","href":"/api-reference/endpoint/post-partner-automation-templates"},{"title":"Copy an automation template","openapi":"POST /partner/automation-templates/{id}/copy","href":"/api-reference/endpoint/post-partner-automation-templates-id-copy"},{"title":"Post partner automation templates id syncs","href":"/api-reference/endpoint/post-partner-automation-templates-id-syncs"}]},{"group":"Batch Operations","pages":[{"title":"List Batch Jobs","openapi":"GET /api/batches","href":"/api-reference/endpoint/get-api-batches"},{"title":"Get Batch Status","openapi":"GET /api/batches/{batchId}","href":"/api-reference/endpoint/get-api-batches-batchid"}]},{"group":"Channel Accounts","pages":[{"title":"List Channel Accounts","openapi":"GET /api/channel/accounts","href":"/api-reference/endpoint/get-api-channel-accounts"},{"title":"Update Channel Account","openapi":"PATCH /api/channel/accounts/{id}","href":"/api-reference/endpoint/patch-api-channel-accounts-id"},{"title":"Create Channel Account","openapi":"POST /api/channel/accounts","href":"/api-reference/endpoint/post-api-channel-accounts"}]},{"group":"Channel Integrations","pages":[{"title":"List Channel Integrations","openapi":"GET /partner/channel/integrations","href":"/api-reference/endpoint/get-partner-channel-integrations"},{"title":"Update Channel Integration","openapi":"PATCH /partner/channel/integrations/{id}","href":"/api-reference/endpoint/patch-partner-channel-integrations-id"},{"title":"Create Channel Integration","openapi":"POST /partner/channel/integrations","href":"/api-reference/endpoint/post-partner-channel-integrations"}]},{"group":"Channel Senders","pages":[{"title":"List Channel Senders","openapi":"GET /api/channel/senders","href":"/api-reference/endpoint/get-api-channel-senders"},{"title":"Update Channel Sender","openapi":"PATCH /api/channel/senders/{id}","href":"/api-reference/endpoint/patch-api-channel-senders-id"},{"title":"Create Channel Sender","openapi":"POST /api/channel/senders","href":"/api-reference/endpoint/post-api-channel-senders"}]},{"group":"Communication Groups","pages":[{"title":"List Communication Groups","openapi":"GET /api/communication-groups","href":"/api-reference/endpoint/get-api-communication-groups"},{"title":"Get Link Click Statistics","openapi":"GET /api/communication-groups/{automationId}/link-click-stats","href":"/api-reference/endpoint/get-api-communication-groups-automationid-link-click-stats"},{"title":"Get Communication Group","openapi":"GET /api/communication-groups/{id}","href":"/api-reference/endpoint/get-api-communication-groups-id"},{"title":"Get Available Merge Fields","openapi":"GET /api/communication-groups/{id}/merge-fields","href":"/api-reference/endpoint/get-api-communication-groups-id-merge-fields"},{"title":"Update Communication Group","openapi":"PATCH /api/communication-groups/{id}","href":"/api-reference/endpoint/patch-api-communication-groups-id"},{"title":"Create Communication Group","openapi":"POST /api/communication-groups","href":"/api-reference/endpoint/post-api-communication-groups"},{"title":"Reset Communication Group to Default Template","openapi":"POST /api/communication-groups/{communicationGroupId}/{automationId}/reset","href":"/api-reference/endpoint/post-api-communication-groups-communicationgroupid-automationid-reset"},{"title":"Send Test Email/SMS","openapi":"POST /api/communication-groups/{id}/test","href":"/api-reference/endpoint/post-api-communication-groups-id-test"},{"title":"Save Email Auto-Save","openapi":"PUT /api/communication-groups/{id}/email-auto-save","href":"/api-reference/endpoint/put-api-communication-groups-id-email-auto-save"}]},{"group":"Default Partner Resources","pages":[{"title":"Default Partner Resources","href":"/api-reference/endpoint/default-partner-resources-introduction"},{"title":"Batch Delete Customer Resources","openapi":"DELETE /api/resources/customers/batch","href":"/api-reference/endpoint/delete-api-resources-customers-batch"},{"title":"Delete Customer Resource","openapi":"DELETE /api/resources/customers/{externalId}","href":"/api-reference/endpoint/delete-api-resources-customers-externalid"},{"title":"Batch Delete Location Resources","openapi":"DELETE /api/resources/locations/batch","href":"/api-reference/endpoint/delete-api-resources-locations-batch"},{"title":"Delete Location Resource","openapi":"DELETE /api/resources/locations/{externalId}","href":"/api-reference/endpoint/delete-api-resources-locations-externalid"},{"title":"Batch Delete Transaction Resources","openapi":"DELETE /api/resources/transactions/batch","href":"/api-reference/endpoint/delete-api-resources-transactions-batch"},{"title":"Delete Transaction Resource","openapi":"DELETE /api/resources/transactions/{externalId}","href":"/api-reference/endpoint/delete-api-resources-transactions-externalid"},{"title":"List Customer Resources","openapi":"GET /api/resources/customers","href":"/api-reference/endpoint/get-api-resources-customers"},{"title":"Get Customer Resource","openapi":"GET /api/resources/customers/{externalId}","href":"/api-reference/endpoint/get-api-resources-customers-externalid"},{"title":"List Location Resources","openapi":"GET /api/resources/locations","href":"/api-reference/endpoint/get-api-resources-locations"},{"title":"Get Location Resource","openapi":"GET /api/resources/locations/{externalId}","href":"/api-reference/endpoint/get-api-resources-locations-externalid"},{"title":"List Transaction Resources","openapi":"GET /api/resources/transactions","href":"/api-reference/endpoint/get-api-resources-transactions"},{"title":"Get Transaction Resource","openapi":"GET /api/resources/transactions/{externalId}","href":"/api-reference/endpoint/get-api-resources-transactions-externalid"},{"title":"Batch Patch Customer Resources","openapi":"PATCH /api/resources/customers/batch","href":"/api-reference/endpoint/patch-api-resources-customers-batch"},{"title":"Patch Customer Resource","openapi":"PATCH /api/resources/customers/{externalId}","href":"/api-reference/endpoint/patch-api-resources-customers-externalid"},{"title":"Batch Patch Location Resources","openapi":"PATCH /api/resources/locations/batch","href":"/api-reference/endpoint/patch-api-resources-locations-batch"},{"title":"Patch Location Resource","openapi":"PATCH /api/resources/locations/{externalId}","href":"/api-reference/endpoint/patch-api-resources-locations-externalid"},{"title":"Batch Patch Transaction Resources","openapi":"PATCH /api/resources/transactions/batch","href":"/api-reference/endpoint/patch-api-resources-transactions-batch"},{"title":"Patch Transaction Resource","openapi":"PATCH /api/resources/transactions/{externalId}","href":"/api-reference/endpoint/patch-api-resources-transactions-externalid"},{"title":"Create Customer Resource","openapi":"POST /api/resources/customers","href":"/api-reference/endpoint/post-api-resources-customers"},{"title":"Batch Upload Customer Resources","openapi":"POST /api/resources/customers/batch","href":"/api-reference/endpoint/post-api-resources-customers-batch"},{"title":"Create Location Resource","openapi":"POST /api/resources/locations","href":"/api-reference/endpoint/post-api-resources-locations"},{"title":"Batch Upload Location Resources","openapi":"POST /api/resources/locations/batch","href":"/api-reference/endpoint/post-api-resources-locations-batch"},{"title":"Create Transaction Resource","openapi":"POST /api/resources/transactions","href":"/api-reference/endpoint/post-api-resources-transactions"},{"title":"Batch Upload Transaction Resources","openapi":"POST /api/resources/transactions/batch","href":"/api-reference/endpoint/post-api-resources-transactions-batch"}]},{"group":"Engage Library","pages":[{"title":"Get partner engage library tenantid","href":"/api-reference/endpoint/get-partner-engage-library-tenantid"},{"title":"Get Tenant Engage Library Sync Status","openapi":"GET /partner/engage-library/{tenantId}/jobs/{jobId}","href":"/api-reference/endpoint/get-partner-engage-library-tenantid-jobs-jobid"},{"title":"Sync Tenant Engage Library","openapi":"PATCH /partner/engage-library/{tenantId}","href":"/api-reference/endpoint/patch-partner-engage-library-tenantid"}]},{"group":"Partner DB","pages":[{"title":"Upload SQLite database for a tenant","openapi":"POST /api/partner-db/upload","href":"/api-reference/endpoint/post-api-partner-db-upload"},{"title":"Upload SQLite database (platform-wide)","openapi":"POST /partner/partner-db/upload","href":"/api-reference/endpoint/post-partner-partner-db-upload"}]},{"group":"Partner Engage","pages":[{"title":"Get Engage usage per tenant","openapi":"GET /partner/engage/tenants","href":"/api-reference/endpoint/get-partner-engage-tenants"},{"title":"Get partner-wide Engage tenant usage summary","openapi":"GET /partner/engage/tenants/summary","href":"/api-reference/endpoint/get-partner-engage-tenants-summary"}]},{"group":"Partner Resources","pages":[{"title":"Batch Delete Resources","openapi":"DELETE /api/resources/{schemaDefinitionNameOrId}/batch","href":"/api-reference/endpoint/delete-api-resources-schemadefinitionnameorid-batch"},{"title":"Delete Resource","openapi":"DELETE /api/resources/{schemaDefinitionNameOrId}/{externalId}","href":"/api-reference/endpoint/delete-api-resources-schemadefinitionnameorid-externalid"},{"title":"Get Resource Counts","openapi":"GET /api/resources/counts","href":"/api-reference/endpoint/get-api-resources-counts"},{"title":"List Resources","openapi":"GET /api/resources/{schemaDefinitionNameOrId}","href":"/api-reference/endpoint/get-api-resources-schemadefinitionnameorid"},{"title":"Get Resource","openapi":"GET /api/resources/{schemaDefinitionNameOrId}/{externalId}","href":"/api-reference/endpoint/get-api-resources-schemadefinitionnameorid-externalid"},{"title":"Get Resource Counts for All Tenants","openapi":"GET /partner/resources/counts","href":"/api-reference/endpoint/get-partner-resources-counts"},{"title":"Batch Patch Resources","openapi":"PATCH /api/resources/{schemaDefinitionNameOrId}/batch","href":"/api-reference/endpoint/patch-api-resources-schemadefinitionnameorid-batch"},{"title":"Patch Resource","openapi":"PATCH /api/resources/{schemaDefinitionNameOrId}/{externalId}","href":"/api-reference/endpoint/patch-api-resources-schemadefinitionnameorid-externalid"},{"title":"Upload Resource","openapi":"POST /api/resources/{schemaDefinitionNameOrId}","href":"/api-reference/endpoint/post-api-resources-schemadefinitionnameorid"},{"title":"Batch Upload Resources","openapi":"POST /api/resources/{schemaDefinitionNameOrId}/batch","href":"/api-reference/endpoint/post-api-resources-schemadefinitionnameorid-batch"}]},{"group":"Partner Voice","pages":[{"title":"Get voice call aggregates per tenant","openapi":"GET /partner/voice/calls/aggregates","href":"/api-reference/endpoint/get-partner-voice-calls-aggregates"},{"title":"Get partner-wide voice call aggregate summary","openapi":"GET /partner/voice/calls/aggregates/summary","href":"/api-reference/endpoint/get-partner-voice-calls-aggregates-summary"},{"title":"Update an active Voice call","openapi":"PATCH /partner/voice/active-calls/{callId}","href":"/api-reference/endpoint/patch-partner-voice-active-calls-callid"}]},{"group":"Schema Definitions","pages":[{"title":"Overview","href":"/api-reference/endpoint/schema-definitions-introduction"},{"title":"Deactivate Schema","openapi":"DELETE /partner/schema-definitions/{schemaIdOrName}","href":"/api-reference/endpoint/delete-partner-schema-definitions-schemaidorname"},{"title":"List Schemas","openapi":"GET /partner/schema-definitions","href":"/api-reference/endpoint/get-partner-schema-definitions"},{"title":"Get Schema","openapi":"GET /partner/schema-definitions/{schemaIdOrName}","href":"/api-reference/endpoint/get-partner-schema-definitions-schemaidorname"},{"title":"Get Schema Update","openapi":"GET /partner/schema-definitions/{schemaIdOrName}/updates/{updateId}","href":"/api-reference/endpoint/get-partner-schema-definitions-schemaidorname-updates-updateid"},{"title":"Create Schema","openapi":"POST /partner/schema-definitions","description":"Creates a new schema definition","href":"/api-reference/endpoint/post-partner-schema-definitions"},{"title":"Update Schema","openapi":"POST /partner/schema-definitions/{schemaIdOrName}","href":"/api-reference/endpoint/post-partner-schema-definitions-schemaidorname"}]},{"group":"Schema Mappings","pages":[{"title":"Overview","description":"Tell Reach how to read your data as its core concepts","href":"/api-reference/endpoint/schema-mappings-introduction"},{"title":"Get Partner Schema Mappings","openapi":"GET /partner/schema-mappings","href":"/api-reference/endpoint/get-partner-schema-mappings"},{"title":"Update Partner Schema Mappings","openapi":"POST /partner/schema-mappings","href":"/api-reference/endpoint/post-partner-schema-mappings"}]},{"group":"Segments","pages":[{"title":"Delete Tenant Segment","openapi":"DELETE /api/segments/{id}","href":"/api-reference/endpoint/delete-api-segments-id"},{"title":"List Tenant Segments","openapi":"GET /api/segments","href":"/api-reference/endpoint/get-api-segments"},{"title":"Get Segment Conditions","openapi":"GET /api/segments/conditions","href":"/api-reference/endpoint/get-api-segments-conditions"},{"title":"Find Segment Field Values","openapi":"GET /api/segments/field-values","href":"/api-reference/endpoint/get-api-segments-field-values"},{"title":"Get Tenant Segment","openapi":"GET /api/segments/{id}","href":"/api-reference/endpoint/get-api-segments-id"},{"title":"List Automations Using Tenant Segment","openapi":"GET /api/segments/{id}/automations","href":"/api-reference/endpoint/get-api-segments-id-automations"},{"title":"Get Users in Tenant Segment","openapi":"GET /api/segments/{id}/users","href":"/api-reference/endpoint/get-api-segments-id-users"},{"title":"Get Segment Schema Catalog","openapi":"GET /api/segments/schema-catalog","href":"/api-reference/endpoint/get-api-segments-schema-catalog"},{"title":"Get Segments by User External ID","openapi":"GET /api/segments/user/{externalId}","href":"/api-reference/endpoint/get-api-segments-user-externalid"},{"title":"Update Tenant Segment","openapi":"PATCH /api/segments/{id}","href":"/api-reference/endpoint/patch-api-segments-id"},{"title":"Create Tenant Segment","openapi":"POST /api/segments","href":"/api-reference/endpoint/post-api-segments"},{"title":"Enable Standard Google Ads Audiences","openapi":"POST /api/segments/audience-uploads/standard","href":"/api-reference/endpoint/post-api-segments-audience-uploads-standard"},{"title":"Get Count of Users in Include and Exclude Segment","openapi":"POST /api/segments/count","href":"/api-reference/endpoint/post-api-segments-count"}]},{"group":"Sending Domains","pages":[{"title":"List Sending Domains","openapi":"GET /api/sending-domains","href":"/api-reference/endpoint/get-api-sending-domains"},{"title":"Get Sending Domain","openapi":"GET /api/sending-domains/{id}","href":"/api-reference/endpoint/get-api-sending-domains-id"},{"title":"Create Sending Domain","openapi":"POST /api/sending-domains","href":"/api-reference/endpoint/post-api-sending-domains"},{"title":"Create Entri Token","openapi":"POST /api/sending-domains/entri-token","href":"/api-reference/endpoint/post-api-sending-domains-entri-token"},{"title":"Start Sending Domain Verification","openapi":"POST /api/sending-domains/{id}/verifications","href":"/api-reference/endpoint/post-api-sending-domains-id-verifications"}]},{"group":"Subscriptions","pages":[{"title":"List Subscriptions","openapi":"GET /api/subscriptions","href":"/api-reference/endpoint/get-api-subscriptions"},{"title":"Get Subscription by External ID","openapi":"GET /api/subscriptions/{externalId}","href":"/api-reference/endpoint/get-api-subscriptions-externalid"}]},{"group":"Tenant Automation","pages":[{"title":"Delete api automation categories id","href":"/api-reference/endpoint/delete-api-automation-categories-id"},{"title":"Get api automation categories","href":"/api-reference/endpoint/get-api-automation-categories"},{"title":"List Tenant Automations","openapi":"GET /api/automations","href":"/api-reference/endpoint/get-api-automations"},{"title":"Get Broadcast Experience","openapi":"GET /api/automations/has-broadcast-experience","href":"/api-reference/endpoint/get-api-automations-has-broadcast-experience"},{"title":"Get Tenant Automation","openapi":"GET /api/automations/{id}","href":"/api-reference/endpoint/get-api-automations-id"},{"title":"Get Recipients for Tenant Automation","openapi":"GET /api/automations/{id}/recipients","href":"/api-reference/endpoint/get-api-automations-id-recipients"},{"title":"Get Statistics for Tenant Automation","openapi":"GET /api/automations/{id}/statistics","href":"/api-reference/endpoint/get-api-automations-id-statistics"},{"title":"Get Statistics for All Tenant Automations","openapi":"GET /api/automations/statistics","href":"/api-reference/endpoint/get-api-automations-statistics"},{"title":"Patch api automation categories id","href":"/api-reference/endpoint/patch-api-automation-categories-id"},{"title":"Update Tenant Automation","openapi":"PATCH /api/automations/{id}","href":"/api-reference/endpoint/patch-api-automations-id"},{"title":"Post api automation categories","href":"/api-reference/endpoint/post-api-automation-categories"},{"title":"Create or Duplicate Tenant Automation","openapi":"POST /api/automations","href":"/api-reference/endpoint/post-api-automations"},{"title":"Put api automations id categories","href":"/api-reference/endpoint/put-api-automations-id-categories"}]},{"group":"Tenant Usage","pages":[{"title":"List tenant usage","openapi":"GET /partner/tenant-usage","href":"/api-reference/endpoint/get-partner-tenant-usage"},{"title":"Get usage for one tenant","openapi":"GET /partner/tenant-usage/{tenantId}","href":"/api-reference/endpoint/get-partner-tenant-usage-tenantid"}]},{"group":"Tenants","pages":[{"title":"Overview","href":"/api-reference/endpoint/tenants-introduction"},{"title":"Delete Tenant","openapi":"DELETE /partner/tenants/{id}","href":"/api-reference/endpoint/delete-partner-tenants-id"},{"title":"List Tenants","openapi":"GET /partner/tenants","href":"/api-reference/endpoint/get-partner-tenants"},{"title":"Get Tenant","openapi":"GET /partner/tenants/{id}","href":"/api-reference/endpoint/get-partner-tenants-id"},{"title":"Get Tenant Resource Statistics","openapi":"GET /partner/tenants/{id}/resource-stats","href":"/api-reference/endpoint/get-partner-tenants-id-resource-stats"},{"title":"Get SMS Registration Status","openapi":"GET /partner/tenants/{id}/sms-registration","href":"/api-reference/endpoint/get-partner-tenants-id-sms-registration"},{"title":"Update Tenant","openapi":"PATCH /partner/tenants/{id}","href":"/api-reference/endpoint/patch-partner-tenants-id"},{"title":"Create Tenant","openapi":"POST /partner/tenants","href":"/api-reference/endpoint/post-partner-tenants"},{"title":"Reactivate Tenant","openapi":"POST /partner/tenants/{id}/reactivate","href":"/api-reference/endpoint/post-partner-tenants-id-reactivate"}]}]}]}]},"basePath":"","title":"Update Schema - Reach Marketing \u0026 Automation Documentation","buildId":"dpl_596ePT575z4qnAFksq1biRW97aLY","deploymentId":"dpl_596ePT575z4qnAFksq1biRW97aLY","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-C9Wu0MeN.js","utils-jWgu-6Qf.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DBD8f9qn.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-BGuX1ui5.js","snippetPresets-Evy63nQB.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BQHO1lnV.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-B6C8m-t_.js","shallow-BG4cT0fH.js","getApiPlaygroundDisplay-CgEPrE-D.js","CodeSnippet-CU8JyZ9N.js","CodeSnippets-BnxHU32T.js","Page-D6S0Yh6q.js","getPastedJson-CwiYOonh.js","icon-DYDpWmDf.js","MethodPill-C-J-l7_c.js","DuplicateIcon-B6ARwg9w.js","createIcon-Dsv4MtDq.js","DynamicMarkdown-CtasenyM.js","SectionHeading-YNcgYwjB.js","axios-vUo_bRtp.js","Markdown-CwLx6PAg.js","clsx-C3kuh_dz.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CmKHfscc.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-U3mI6Ljh.js"]}