Workspace-scoped API key (mk_live_...). Each operation lists the scope it requires in x-required-scopes. See the Authentication guide for the full scope table and key management.
Path Parameters
key
string
required
The attribute key.
Body
application/json
Update body — the attribute is identified by the path key + entity_type. Only provided fields change; array fields replace wholesale. Accepts the same config fields as create (all optional except entity_type).
entity_type
string
required
name
string
data_type
enum<string>
Available options:
single_line_text_field,
multi_line_text_field,
rich_text_field,
number,
boolean,
date,
url,
json,
single_select_list,
multi_select_list,
image,
video,
formula,
web_preview,
status,
progress,
rank
ai_generated
boolean
custom_instructions
string
formula_expression
string
New template of a computed column. A formula or web_preview attribute keeps its data type; any other attribute becomes a formula. Recomputes every row.
acceptable_values
string
default_value
string
is_primary
boolean
selected_tools
enum<string>[]
Available options:
includeDataSources,
includeImages,
includeWebSearch,
includeProductAttributes
source_attribute_keys
string[]
required_dependencies
string[]
image_model
enum<string>
Available options:
gpt-image-1,
nano-banana
image_source_attribute_key
string[]
aspect_ratio
enum<string>
Image generation aspect ratio. Legacy values (Square→1:1, Landscape→16:9, Portrait→9:16) are still accepted for backward compatibility but are deprecated.
Available options:
1:1,
4:3,
3:4,
16:9,
9:16
video_model
enum<string>
Available options:
veo3.1
video_source_attribute_key
string[]
vision_image_source_attribute_key
string[]
inheritance_mode
enum<string>
Available options:
off,
inherit_from_parent,
rollup_from_children
rollup_aggregation
enum<string>
Available options:
unique,
all
Response
The updated attribute definition (full config).
data
object
The full attribute-definition config returned by create/update — a superset of the discovery projection (raw acceptable_values string, generation tool, constraints).
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Merchkit","description":"Merchkit is an AI-native PIM: import your catalog, enrich it with AI, and publish channel-ready content. Product guides plus the developer reference for the Merchkit API and MCP server.","colors":{"primary":"#3E703F","light":"#6EA570","dark":"#2E5530"},"logo":{"light":"https://mintcdn.com/merchkit/5CX85y_hfwgKe2-R/logo/light.svg?fit=max\u0026auto=format\u0026n=5CX85y_hfwgKe2-R\u0026q=85\u0026s=44793f2cb04c37defc7d3810d29cca0e","dark":"https://mintcdn.com/merchkit/5CX85y_hfwgKe2-R/logo/dark.svg?fit=max\u0026auto=format\u0026n=5CX85y_hfwgKe2-R\u0026q=85\u0026s=bac43fbcffb653a7a2c577fd38a8de4e"},"favicon":"https://mintcdn.com/merchkit/kbLpgBCpSYwwHFZe/favicon.png?fit=max\u0026auto=format\u0026n=kbLpgBCpSYwwHFZe\u0026q=85\u0026s=ae9b1c0fcf22f192729dc47aa4377419","api":{"examples":{"defaults":"required"}},"navbar":{"links":[{"href":"mailto:support@merchkit.com","label":"Support"}],"primary":{"type":"button","label":"Go to App","href":"https://www.merchkit.com/home"}},"footer":{"socials":{"x":"https://x.com/merchkit_","linkedin":"https://www.linkedin.com/company/merchkithq"}},"contextual":{"options":["copy","view","chatgpt","claude","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"merchkit.com","icon":"house","href":"https://www.merchkit.com"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"merchkit","hasAudioNarration":false,"actualSubdomain":"merchkit","customDomains":["docs.merchkit.com"],"gitSource":{"type":"github","owner":"merchkit","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"feedback":{"agentFeedback":true,"thumbs":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6af77686fcbcc7142a349e17","clientVersion":"0.0.4142","searchFilterCounts":[{"language":"default","tag":"Product","count":67},{"language":"default","tag":"API \u0026 MCP","count":46},{"language":"default","tag":"API Reference","count":41},{"language":"default","tag":"Catalog","count":30},{"language":"default","tag":"Attributes \u0026 Enrichment","count":17},{"language":"default","tag":"Channels \u0026 Content Generation","count":12},{"language":"default","tag":"Sources \u0026 Importing","count":11},{"language":"default","tag":"Integrations \u0026 Field Mapping","count":10},{"language":"default","tag":"Products","count":8},{"language":"default","tag":"Getting Started","count":7}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":true,"enableContextualStarterQuestions":true,"enableAskAiSearchBar":true,"deflection":{"enabled":true,"email":"support@merchkit.com","showHelpButton":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":"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":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/update-an-attribute-definition","slug":"/api-reference/update-an-attribute-definition","pageMetadata":{"title":"Update an attribute definition","description":"Identified by the path `key` + `entity_type` in the body. Provide only the fields to change; array fields replace wholesale.\n\nScope: `write:attributes`.","deprecated":null,"version":null,"openapi":"https://www.merchkit.com/api/v1/openapi patch /attributes/{key}","href":"/api-reference/update-an-attribute-definition","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 ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsxs(_components.p, {\n children: [\"Identified by the path \", _jsx(_components.code, {\n children: \"key\"\n }), \" + \", _jsx(_components.code, {\n children: \"entity_type\"\n }), \" in the body. Provide only the fields to change; array fields replace wholesale.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Scope: \", _jsx(_components.code, {\n children: \"write:attributes\"\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 an attribute definition","description":"Identified by the path `key` + `entity_type` in the body. Provide only the fields to change; array fields replace wholesale.\n\nScope: `write:attributes`.","deprecated":null,"version":null,"openapi":"https://www.merchkit.com/api/v1/openapi patch /attributes/{key}","href":"/api-reference/update-an-attribute-definition","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"updateAttribute","summary":"Update an attribute definition","description":"Identified by the path `key` + `entity_type` in the body. Provide only the fields to change; array fields replace wholesale.\n\nScope: `write:attributes`.","security":["77831a46-1f8d-4ed2-85dd-0c53a704d912"],"x-required-scopes":["write:attributes"],"requestBody":"f8dc978f-a23c-4e83-809b-5d0cee4e210c","responses":{"200":"cc470cd5-562e-414c-be9f-076d8e924ea0","404":"34ea3b7e-3ff2-4e64-8c5b-07d0de1d4fd3"},"method":"patch","type":"path","servers":["ae4f6803-6cfa-4dad-ab41-8bd0d862f7b7"],"path":"/attributes/{key}","baseUrlOptions":["https://www.merchkit.com/api/v1"],"title":"Update an attribute definition","codeSamples":[],"requiredOnlyExamples":true,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"06d88f60-73ae-4108-a159-735fb88aa368":{"name":"key","in":"path","required":true,"schema":{"type":"string","isRequired":true,"description":"The attribute key.","uniqueKey":"","typeLabel":"string"},"description":"The attribute key."}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Update body — the attribute is identified by the path key + `entity_type`. Only provided fields change; array fields replace wholesale. Accepts the same config fields as create (all optional except `entity_type`).","required":["entity_type"],"additionalProperties":false,"properties":{"entity_type":{"type":"string","isRequired":true,"uniqueKey":"entity_type","typeLabel":"string"},"name":{"type":"string","uniqueKey":"name","typeLabel":"string"},"data_type":{"type":"string","enum":["single_line_text_field","multi_line_text_field","rich_text_field","number","boolean","date","url","json","single_select_list","multi_select_list","image","video","formula","web_preview","status","progress","rank"],"uniqueKey":"data_type","typeLabel":"enum\u003cstring>"},"ai_generated":{"type":"boolean","uniqueKey":"ai_generated","typeLabel":"boolean"},"custom_instructions":{"type":"string","uniqueKey":"custom_instructions","typeLabel":"string"},"formula_expression":{"type":"string","description":"New template of a computed column. A formula or web_preview attribute keeps its data type; any other attribute becomes a formula. Recomputes every row.","uniqueKey":"formula_expression","typeLabel":"string"},"acceptable_values":{"type":"string","uniqueKey":"acceptable_values","typeLabel":"string"},"default_value":{"type":"string","uniqueKey":"default_value","typeLabel":"string"},"is_primary":{"type":"boolean","uniqueKey":"is_primary","typeLabel":"boolean"},"selected_tools":{"type":"array","items":{"type":"string","enum":["includeDataSources","includeImages","includeWebSearch","includeProductAttributes"],"uniqueKey":"selected_tools.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"selected_tools","typeLabel":"enum\u003cstring>[]"},"source_attribute_keys":{"type":"array","items":{"type":"string","uniqueKey":"source_attribute_keys.items.[INDEX]","typeLabel":"string"},"uniqueKey":"source_attribute_keys","typeLabel":"string[]"},"required_dependencies":{"type":"array","items":{"type":"string","uniqueKey":"required_dependencies.items.[INDEX]","typeLabel":"string"},"uniqueKey":"required_dependencies","typeLabel":"string[]"},"image_model":{"type":"string","enum":["gpt-image-1","nano-banana"],"uniqueKey":"image_model","typeLabel":"enum\u003cstring>"},"image_source_attribute_key":{"type":"array","items":{"type":"string","uniqueKey":"image_source_attribute_key.items.[INDEX]","typeLabel":"string"},"uniqueKey":"image_source_attribute_key","typeLabel":"string[]"},"aspect_ratio":{"type":"string","enum":["1:1","4:3","3:4","16:9","9:16"],"description":"Image generation aspect ratio. Legacy values (`Square`→`1:1`, `Landscape`→`16:9`, `Portrait`→`9:16`) are still accepted for backward compatibility but are deprecated.","uniqueKey":"aspect_ratio","typeLabel":"enum\u003cstring>"},"video_model":{"type":"string","enum":["veo3.1"],"uniqueKey":"video_model","typeLabel":"enum\u003cstring>"},"video_source_attribute_key":{"type":"array","items":{"type":"string","uniqueKey":"video_source_attribute_key.items.[INDEX]","typeLabel":"string"},"uniqueKey":"video_source_attribute_key","typeLabel":"string[]"},"vision_image_source_attribute_key":{"type":"array","items":{"type":"string","uniqueKey":"vision_image_source_attribute_key.items.[INDEX]","typeLabel":"string"},"uniqueKey":"vision_image_source_attribute_key","typeLabel":"string[]"},"inheritance_mode":{"type":"string","enum":["off","inherit_from_parent","rollup_from_children"],"uniqueKey":"inheritance_mode","typeLabel":"enum\u003cstring>"},"rollup_aggregation":{"type":"string","enum":["unique","all"],"uniqueKey":"rollup_aggregation","typeLabel":"enum\u003cstring>"}},"uniqueKey":"","typeLabel":"object"},"example":{"entity_type":"product","acceptable_values":"White Oak,Smoked Oak,Walnut,Ash"},"examples":{"Example":{"title":"Example","value":{"entity_type":"product","acceptable_values":"White Oak,Smoked Oak,Walnut,Ash"}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"cc470cd5-562e-414c-be9f-076d8e924ea0":{"description":"The updated attribute definition (full config).","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","description":"The full attribute-definition config returned by create/update — a superset of the discovery projection (raw `acceptable_values` string, generation `tool`, `constraints`).","properties":{"id":{"type":"string","format":"uuid","uniqueKey":"data.id","typeLabel":"string\u003cuuid>"},"name":{"type":"string","uniqueKey":"data.name","typeLabel":"string"},"key":{"type":"string","uniqueKey":"data.key","typeLabel":"string"},"data_type":{"type":"string","uniqueKey":"data.data_type","typeLabel":"string"},"tool":{"type":"string","description":"Generation tool, e.g. `manual`, `prompt`, `image-generation`, `formula`.","uniqueKey":"data.tool","typeLabel":"string"},"entity_type":{"type":"string","uniqueKey":"data.entity_type","typeLabel":"string"},"channel":{"oneOf":[{"type":"string","uniqueKey":"data.channel.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.channel.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.channel","typeLabel":"string | null"},"is_primary":{"type":"boolean","uniqueKey":"data.is_primary","typeLabel":"boolean"},"custom_instructions":{"oneOf":[{"type":"string","uniqueKey":"data.custom_instructions.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.custom_instructions.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.custom_instructions","typeLabel":"string | null"},"acceptable_values":{"oneOf":[{"type":"string","description":"The raw comma-separated string as stored.","uniqueKey":"data.acceptable_values.oneOf.0","typeLabel":"string"},{"type":"null","description":"The raw comma-separated string as stored.","uniqueKey":"data.acceptable_values.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.acceptable_values","typeLabel":"string | null"},"default_value":{"oneOf":[{"type":"string","uniqueKey":"data.default_value.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.default_value.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.default_value","typeLabel":"string | null"},"constraints":{"type":"object","description":"Generation/inheritance config (model, tools, source keys).","uniqueKey":"data.constraints","typeLabel":"object"},"source_attributes":{"oneOf":[{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","uniqueKey":"data.source_attributes.oneOf.0.items.[INDEX].id","typeLabel":"string"},"key":{"type":"string","uniqueKey":"data.source_attributes.oneOf.0.items.[INDEX].key","typeLabel":"string"},"name":{"type":"string","uniqueKey":"data.source_attributes.oneOf.0.items.[INDEX].name","typeLabel":"string"}},"uniqueKey":"data.source_attributes.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.source_attributes.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","properties":{"id":{"type":"string"},"key":{"type":"string"},"name":{"type":"string"}}},"uniqueKey":"data.source_attributes.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.source_attributes","typeLabel":"object[] | null"}},"example":{"id":"a3d81c22-5f6e-4b09-8d17-c40a92e5b613","name":"Material","key":"material","data_type":"single_select_list","tool":"manual","entity_type":"product","channel":null,"is_primary":false,"custom_instructions":null,"acceptable_values":"White Oak,Smoked Oak,Walnut","default_value":null,"constraints":{},"source_attributes":null},"uniqueKey":"data","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"data":{"id":"a3d81c22-5f6e-4b09-8d17-c40a92e5b613","name":"Material","key":"material","data_type":"single_select_list","tool":"manual","entity_type":"product","channel":null,"is_primary":false,"custom_instructions":null,"acceptable_values":"White Oak,Smoked Oak,Walnut","default_value":null,"constraints":{},"source_attributes":null}},"examples":{"Example":{"title":"Example","value":{"data":{"id":"a3d81c22-5f6e-4b09-8d17-c40a92e5b613","name":"Material","key":"material","data_type":"single_select_list","tool":"manual","entity_type":"product","channel":null,"is_primary":false,"custom_instructions":null,"acceptable_values":"White Oak,Smoked Oak,Walnut","default_value":null,"constraints":{},"source_attributes":null}}}},"exampleType":"examples"}},"exampleType":"examples"},"34ea3b7e-3ff2-4e64-8c5b-07d0de1d4fd3":{"description":"Attribute not found for that type.","content":{"application/json":{"schema":{"type":"object","description":"The one error envelope every non-2xx response uses. `documentation_url` links to the code's section of the error docs.","required":["error"],"properties":{"error":{"type":"object","required":["code","message","is_retriable"],"properties":{"code":{"type":"string","enum":["unauthorized","insufficient_scope","forbidden","not_found","validation_failed","rate_limited","conflict","internal_error"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"is_retriable":{"type":"boolean","description":"Only `rate_limited` and `internal_error` are retriable. Deterministic client errors (validation, not-found, conflict) return a 4xx and are never retriable.","isRequired":true,"uniqueKey":"error.is_retriable","typeLabel":"boolean"},"documentation_url":{"type":"string","format":"uri","description":"https://docs.merchkit.com/developers/errors#\u003ccode>","uniqueKey":"error.documentation_url","typeLabel":"string\u003curi>"},"retry_after_seconds":{"oneOf":[{"type":"integer","uniqueKey":"error.retry_after_seconds.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"error.retry_after_seconds.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.retry_after_seconds","typeLabel":"integer | null"},"alternative_action":{"type":"string","description":"What to do instead, when there is a better call.","uniqueKey":"error.alternative_action","typeLabel":"string"},"request_id":{"type":"string","uniqueKey":"error.request_id","typeLabel":"string"},"field_errors":{"type":"array","items":{"type":"object","required":["field","issue"],"properties":{"field":{"type":"string","isRequired":true,"uniqueKey":"error.field_errors.items.[INDEX].field","typeLabel":"string"},"issue":{"type":"string","description":"Machine-readable issue code, e.g. `not_a_defined_attribute`.","isRequired":true,"uniqueKey":"error.field_errors.items.[INDEX].issue","typeLabel":"string"},"acceptable_values":{"type":"array","items":{"type":"string","uniqueKey":"error.field_errors.items.[INDEX].acceptable_values.items.[INDEX]","typeLabel":"string"},"description":"For select-value violations: the allowed values.","uniqueKey":"error.field_errors.items.[INDEX].acceptable_values","typeLabel":"string[]"}},"uniqueKey":"error.field_errors.items.[INDEX]","typeLabel":"object"},"uniqueKey":"error.field_errors","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"example":{"error":{"code":"validation_failed","message":"Unknown attribute key(s): colour.","documentation_url":"https://docs.merchkit.com/developers/errors#validation_failed","is_retriable":false,"retry_after_seconds":null,"alternative_action":"List valid attribute keys via GET /v1/attributes?type=product.","request_id":"req_01j9x2k8","field_errors":[{"field":"colour","issue":"not_a_defined_attribute"}]}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"validation_failed","message":"Unknown attribute key(s): colour.","documentation_url":"https://docs.merchkit.com/developers/errors#validation_failed","is_retriable":false,"retry_after_seconds":null,"alternative_action":"List valid attribute keys via GET /v1/attributes?type=product.","request_id":"req_01j9x2k8","field_errors":[{"field":"colour","issue":"not_a_defined_attribute"}]}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"77831a46-1f8d-4ed2-85dd-0c53a704d912":{"ApiKeyAuth":{"type":"http","scheme":"bearer","description":"Workspace-scoped API key (`mk_live_...`). Each operation lists the scope it requires in `x-required-scopes`. See the Authentication guide for the full scope table and key management.","scopes":[],"schemeName":"ApiKeyAuth"}}},"servers":{"ae4f6803-6cfa-4dad-ab41-8bd0d862f7b7":{"url":"https://www.merchkit.com/api/v1","description":"Merchkit API v1"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"Workspace-scoped API key (`mk_live_...`). Each operation lists the scope it requires in `x-required-scopes`. See the Authentication guide for the full scope table and key management.","scopes":[],"schemeName":"ApiKeyAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Workspace-scoped API key (`mk_live_...`). Each operation lists the scope it requires in `x-required-scopes`. See the Authentication guide for the full scope table and key management.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"ApiKeyAuth","name":"Authorization"}],"title":"ApiKeyAuth"}]},"originalFileLocation":"https://www.merchkit.com/api/v1/openapi"},"subdomain":"merchkit","siteName":"Merchkit","title":"Update an attribute definition - Merchkit","contextualStarterQuestions":[{"_id":"6a42f45917e89991dc81d9e2","deploymentId":"6a3d678696e96caf46871b13","questionText":"How does key identification work?","status":"active","generatedBy":"contextual","path":"api-reference/update-an-attribute-definition","createdAt":"2026-06-29T22:40:25.796Z","updatedAt":"2026-06-29T22:40:25.796Z","__v":0},{"_id":"6a42f45917e89991dc81d9e1","deploymentId":"6a3d678696e96caf46871b13","questionText":"What fields can I modify?","status":"active","generatedBy":"contextual","path":"api-reference/update-an-attribute-definition","createdAt":"2026-06-29T22:40:25.796Z","updatedAt":"2026-06-29T22:40:25.796Z","__v":0},{"_id":"6a42f45917e89991dc81d9e0","deploymentId":"6a3d678696e96caf46871b13","questionText":"How do I update an attribute?","status":"active","generatedBy":"contextual","path":"api-reference/update-an-attribute-definition","createdAt":"2026-06-29T22:40:25.796Z","updatedAt":"2026-06-29T22:40:25.796Z","__v":0}],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-13T20:43:27.125Z","originalFileLocation":"api-reference/update-an-attribute-definition.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=\"Identified by the path key + entity_type in the body. Provide only the fields to change; array fields replace wholesale. Scope: write:attributes.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Merchkit\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/merchkit/u9Xu7zNeRpkrmNZE/_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/merchkit/u9Xu7zNeRpkrmNZE/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/merchkit/u9Xu7zNeRpkrmNZE/_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/merchkit/u9Xu7zNeRpkrmNZE/_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/merchkit/u9Xu7zNeRpkrmNZE/_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/merchkit/u9Xu7zNeRpkrmNZE/_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/merchkit/u9Xu7zNeRpkrmNZE/_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/merchkit/u9Xu7zNeRpkrmNZE/_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/merchkit/u9Xu7zNeRpkrmNZE/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Update an attribute definition - Merchkit\">\u003cmeta data-mint-head property=\"og:description\" content=\"Identified by the path key + entity_type in the body. Provide only the fields to change; array fields replace wholesale. Scope: write:attributes.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Merchkit\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.merchkit.com/api-reference/update-an-attribute-definition\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://merchkit.mintlify.site/_mintlify/api/og/v2?division=Schema+%26+configuration\u0026amp;title=Update+an+attribute+definition\u0026amp;description=Identified+by+the+path+%60key%60+%2B+%60entity_type%60+in+the+body.+Provide+only+the+fields+to+change%3B+array+fields+replace+wholesale.%0A%0AScope%3A+%60write%3Aattributes%60.\u0026amp;theme=06fd1fad2bb810fd43730d53\u0026amp;signature=a09dc12e2e2180fe7078ea98be34f5fa236a020c7812bd4e00bda8832c6b8e74\">\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 an attribute definition - Merchkit\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Identified by the path key + entity_type in the body. Provide only the fields to change; array fields replace wholesale. Scope: write:attributes.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://merchkit.mintlify.site/_mintlify/api/og/v2?division=Schema+%26+configuration\u0026amp;title=Update+an+attribute+definition\u0026amp;description=Identified+by+the+path+%60key%60+%2B+%60entity_type%60+in+the+body.+Provide+only+the+fields+to+change%3B+array+fields+replace+wholesale.%0A%0AScope%3A+%60write%3Aattributes%60.\u0026amp;theme=06fd1fad2bb810fd43730d53\u0026amp;signature=a09dc12e2e2180fe7078ea98be34f5fa236a020c7812bd4e00bda8832c6b8e74\">\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/merchkit/u9Xu7zNeRpkrmNZE/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Merchkit\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#3E703F\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.merchkit.com/api-reference/update-an-attribute-definition\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/update-an-attribute-definition.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.merchkit.com/#organization\",\"name\":\"Merchkit\",\"url\":\"https://docs.merchkit.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/merchkit/5CX85y_hfwgKe2-R/logo/light.svg?fit=max\u0026auto=format\u0026n=5CX85y_hfwgKe2-R\u0026q=85\u0026s=44793f2cb04c37defc7d3810d29cca0e\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.merchkit.com#website\",\"name\":\"Merchkit\",\"url\":\"https://docs.merchkit.com\",\"publisher\":{\"@id\":\"https://docs.merchkit.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.merchkit.com/api-reference/update-an-attribute-definition#webpage\",\"url\":\"https://docs.merchkit.com/api-reference/update-an-attribute-definition\",\"name\":\"Update an attribute definition\",\"description\":\"Identified by the path key + entity_type in the body. Provide only the fields to change; array fields replace wholesale. Scope: write:attributes.\",\"dateModified\":\"2026-11-13T20:43:27.125Z\",\"isPartOf\":{\"@id\":\"https://docs.merchkit.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.merchkit.com/api-reference/update-an-attribute-definition#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.merchkit.com/api-reference/update-an-attribute-definition#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API Reference\",\"item\":\"https://docs.merchkit.com/api-reference/list-products\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Schema \u0026 configuration\",\"item\":\"https://docs.merchkit.com/api-reference/list-attribute-definitions-schema-discovery\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Update an attribute definition\",\"item\":\"https://docs.merchkit.com/api-reference/update-an-attribute-definition\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.merchkit.com/api-reference/update-an-attribute-definition#apireference\",\"headline\":\"Update an attribute definition\",\"name\":\"Update an attribute definition\",\"description\":\"Identified by the path key + entity_type in the body. Provide only the fields to change; array fields replace wholesale. Scope: write:attributes.\",\"url\":\"https://docs.merchkit.com/api-reference/update-an-attribute-definition\",\"mainEntityOfPage\":{\"@id\":\"https://docs.merchkit.com/api-reference/update-an-attribute-definition#webpage\"},\"dateModified\":\"2026-11-13T20:43:27.125Z\",\"publisher\":{\"@id\":\"https://docs.merchkit.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.merchkit.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Merchkit\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Merchkit\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/update-an-attribute-definition.md","siteName":"Merchkit","nav":{"global":{"anchors":[{"anchor":"merchkit.com","icon":"house","href":"https://www.merchkit.com"}]},"tabs":[{"tab":"Product","pages":[{"title":"Product","href":""}]},{"tab":"API \u0026 MCP","groups":[{"group":"Guides","pages":[{"title":"API Overview","href":"/developers/overview"},{"title":"Authentication","href":"/developers/authentication"},{"title":"Conventions","href":"/developers/conventions"},{"title":"Errors","href":"/developers/errors"},{"title":"MCP Server","href":"/developers/mcp"}]},{"group":"API Reference","pages":[{"group":"Catalog","pages":[{"group":"Products","pages":[{"title":"List products","deprecated":null,"version":null,"openapi":"https://www.merchkit.com/api/v1/openapi get /products","href":"/api-reference/list-products"},{"title":"Create a product","deprecated":null,"version":null,"openapi":"https://www.merchkit.com/api/v1/openapi post /products","href":"/api-reference/create-a-product"},{"title":"Get a product","deprecated":null,"version":null,"openapi":"https://www.merchkit.com/api/v1/openapi get /products/{id}","href":"/api-reference/get-a-product"},{"title":"Update a product","deprecated":null,"version":null,"openapi":"https://www.merchkit.com/api/v1/openapi patch /products/{id}","href":"/api-reference/update-a-product"},{"title":"Upsert a product by your own key","deprecated":null,"version":null,"openapi":"https://www.merchkit.com/api/v1/openapi post /products/upsert","href":"/api-reference/upsert-a-product-by-your-own-key"},{"title":"Batch create/upsert products","deprecated":null,"version":null,"openapi":"https://www.merchkit.com/api/v1/openapi post /products/batch","href":"/api-reference/batch-createupsert-products"},{"title":"List a product's variants","deprecated":null,"version":null,"openapi":"https://www.merchkit.com/api/v1/openapi get /products/{id}/variants","href":"/api-reference/list-a-products-variants"},{"title":"List a product's references, with positions","deprecated":null,"version":null,"openapi":"https://www.merchkit.com/api/v1/openapi get /products/{id}/references","href":"/api-reference/list-a-products-references-with-positions"}]},{"group":"Images","pages":[{"title":"List images","deprecated":null,"version":null,"openapi":"https://www.merchkit.com/api/v1/openapi get /images","href":"/api-reference/list-images"},{"title":"Create an image","deprecated":null,"version":null,"openapi":"https://www.merchkit.com/api/v1/openapi post /images","href":"/api-reference/create-an-image"},{"title":"Get an image","deprecated":null,"version":null,"openapi":"https://www.merchkit.com/api/v1/openapi get /images/{id}","href":"/api-reference/get-an-image"},{"title":"Update an image","deprecated":null,"version":null,"openapi":"https://www.merchkit.com/api/v1/openapi patch /images/{id}","href":"/api-reference/update-an-image"},{"title":"Upsert an image by your own key","deprecated":null,"version":null,"openapi":"https://www.merchkit.com/api/v1/openapi post /images/upsert","href":"/api-reference/upsert-an-image-by-your-own-key"},{"title":"Batch create/upsert images","deprecated":null,"version":null,"openapi":"https://www.merchkit.com/api/v1/openapi post /images/batch","href":"/api-reference/batch-createupsert-images"}]},{"group":"Vendors","pages":[{"title":"List vendors","deprecated":null,"version":null,"openapi":"https://www.merchkit.com/api/v1/openapi get /vendors","href":"/api-reference/list-vendors"},{"title":"Create a vendor","deprecated":null,"version":null,"openapi":"https://www.merchkit.com/api/v1/openapi post /vendors","href":"/api-reference/create-a-vendor"},{"title":"Get a vendor","deprecated":null,"version":null,"openapi":"https://www.merchkit.com/api/v1/openapi get /vendors/{id}","href":"/api-reference/get-a-vendor"},{"title":"Update a vendor","deprecated":null,"version":null,"openapi":"https://www.merchkit.com/api/v1/openapi patch /vendors/{id}","href":"/api-reference/update-a-vendor"},{"title":"Upsert a vendor by your own key","deprecated":null,"version":null,"openapi":"https://www.merchkit.com/api/v1/openapi post /vendors/upsert","href":"/api-reference/upsert-a-vendor-by-your-own-key"},{"title":"Batch create/upsert vendors","deprecated":null,"version":null,"openapi":"https://www.merchkit.com/api/v1/openapi post /vendors/batch","href":"/api-reference/batch-createupsert-vendors"}]},{"group":"Categories","pages":[{"title":"List categories","deprecated":null,"version":null,"openapi":"https://www.merchkit.com/api/v1/openapi get /categories","href":"/api-reference/list-categories"},{"title":"Create a category","deprecated":null,"version":null,"openapi":"https://www.merchkit.com/api/v1/openapi post /categories","href":"/api-reference/create-a-category"},{"title":"Get a category","deprecated":null,"version":null,"openapi":"https://www.merchkit.com/api/v1/openapi get /categories/{id}","href":"/api-reference/get-a-category"},{"title":"Update a category","deprecated":null,"version":null,"openapi":"https://www.merchkit.com/api/v1/openapi patch /categories/{id}","href":"/api-reference/update-a-category"},{"title":"Upsert a category by your own key","deprecated":null,"version":null,"openapi":"https://www.merchkit.com/api/v1/openapi post /categories/upsert","href":"/api-reference/upsert-a-category-by-your-own-key"},{"title":"Batch create/upsert categories","deprecated":null,"version":null,"openapi":"https://www.merchkit.com/api/v1/openapi post /categories/batch","href":"/api-reference/batch-createupsert-categories"}]},{"group":"Sources","pages":[{"title":"List sources","deprecated":null,"version":null,"openapi":"https://www.merchkit.com/api/v1/openapi get /sources","href":"/api-reference/list-sources"},{"title":"Create a source (async)","deprecated":null,"version":null,"openapi":"https://www.merchkit.com/api/v1/openapi post /sources","href":"/api-reference/create-a-source-async"},{"title":"Get a source","deprecated":null,"version":null,"openapi":"https://www.merchkit.com/api/v1/openapi get /sources/{id}","href":"/api-reference/get-a-source"},{"title":"Update a source","deprecated":null,"version":null,"openapi":"https://www.merchkit.com/api/v1/openapi patch /sources/{id}","href":"/api-reference/update-a-source"}]}]},{"group":"Schema \u0026 configuration","pages":[{"title":"List attribute definitions (schema discovery)","deprecated":null,"version":null,"openapi":"https://www.merchkit.com/api/v1/openapi get /attributes","href":"/api-reference/list-attribute-definitions-schema-discovery"},{"title":"Create an attribute definition","deprecated":null,"version":null,"openapi":"https://www.merchkit.com/api/v1/openapi post /attributes","href":"/api-reference/create-an-attribute-definition"},{"title":"Get one attribute definition","description":"One attribute definition by `key`. `type` selects the entity type (default `product`) — keys are namespaced per type, so the wrong `type` returns 404. Same projection as `GET /attributes`: the `data_type`, whether the key is `writable`, and its parsed `acceptable_values`. Use this to re-check a single key; use `GET /attributes` to learn the whole schema.\n\nScope: `read:attributes`.","deprecated":null,"version":null,"openapi":"https://www.merchkit.com/api/v1/openapi get /attributes/{key}","href":"/api-reference/get-one-attribute-definition"},{"title":"Update an attribute definition","deprecated":null,"version":null,"openapi":"https://www.merchkit.com/api/v1/openapi patch /attributes/{key}","href":"/api-reference/update-an-attribute-definition"},{"title":"List enabled channels","description":"The channels enabled for this workspace. Read-only — channels are a global, platform-seeded catalog. Channel ids feed `GET /products/{id}/completeness?channel=` and `GET /attributes?channel=`.\n\nScope: `read:channels`.","deprecated":null,"version":null,"openapi":"https://www.merchkit.com/api/v1/openapi get /channels","href":"/api-reference/list-enabled-channels"}]},{"group":"Channel readiness","pages":[{"title":"Check completeness for a channel","deprecated":null,"version":null,"openapi":"https://www.merchkit.com/api/v1/openapi get /products/{id}/completeness","href":"/api-reference/check-completeness-for-a-channel"}]},{"group":"Sync \u0026 monitoring","pages":[{"title":"Workspace change feed","deprecated":null,"version":null,"openapi":"https://www.merchkit.com/api/v1/openapi get /events","href":"/api-reference/workspace-change-feed"},{"title":"List a product's change events","deprecated":null,"version":null,"openapi":"https://www.merchkit.com/api/v1/openapi get /products/{id}/events","href":"/api-reference/list-a-products-change-events"},{"title":"List recent jobs","deprecated":null,"version":null,"openapi":"https://www.merchkit.com/api/v1/openapi get /jobs","href":"/api-reference/list-recent-jobs"},{"title":"Poll an async job","deprecated":null,"version":null,"openapi":"https://www.merchkit.com/api/v1/openapi get /jobs/{id}","href":"/api-reference/poll-an-async-job"}]},{"group":"Spec","pages":[{"title":"This OpenAPI document","deprecated":null,"version":null,"openapi":"https://www.merchkit.com/api/v1/openapi get /openapi","href":"/api-reference/this-openapi-document"}]}]}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog"}]}]},"basePath":"","title":"Update an attribute definition - Merchkit","buildId":"dpl_G2Qd45vZZ7MkBiGF9yYx8ZsbbKXX","deploymentId":"dpl_G2Qd45vZZ7MkBiGF9yYx8ZsbbKXX","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-NXj-Rqjv.js","utils-m0thOP-_.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-D13EKcfm.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema--XTdfsEb.js","snippetPresets-D3s4lmAH.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-ChURybxL.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-DL8CiXq2.js","shallow-DI2-YB2E.js","getApiPlaygroundDisplay-DxbW7b_y.js","CodeSnippet-CiNYS0pP.js","CodeSnippets-BT87bThu.js","Page-DSpdRuhM.js","getPastedJson-F_g_IrFQ.js","icon-CCIG5BAs.js","MethodPill-DY3E0jwx.js","DuplicateIcon-BN88xnEg.js","createIcon-VCCc5HO5.js","DynamicMarkdown-CaSwclgK.js","SectionHeading-DXV8nWhc.js","axios-vUo_bRtp.js","Markdown-CV32Re6G.js","clsx-5ydLOnhV.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-pFDdfjRe.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BUGO5bPJ.js"]}