Whether the material counts as one value at this input's stage. true imports the material's A1-A3 as a single value. false imports the material's own stages into the matching stages of this input's life cycle group, so an input at C2 takes the material's C1-C4. New inputs are bundled; omitting bundled on PATCH leaves the setting unchanged, except that an unbundled input whose stage or material changes takes the new stage's group, or is bundled if it no longer qualifies. Sending false needs an input with a life cycle stage and a material that has no category model and is your own, an EPD, or an emission factor; otherwise it returns 400.
How this input is categorized within its life-cycle stage. Common values
are product, packaging, and ancillary; custom values (e.g. from a PCR
document) are allowed. isPackaging is kept consistent automatically.
These are stored values, both when read and when written. The model CSV
export's Material_group column shows the display names the PCR gives the
group and its parents instead (Product > Control gear, not controlUnit),
and reads N/A on a row whose source is not categorized under the material
taxonomy, so a value taken from that file cannot be sent back here as-is.
Freight transport attached to this input as a single transport leg. Set to attach or update the binding; send null on PATCH to detach (omitting transport leaves an existing binding untouched). An input cannot be both a material line and a transport leg — sending material and transport together returns 400.
Whether the material counts as one value at this input's stage. true imports the material's A1-A3 as a single value. false imports the material's own stages into the matching stages of this input's life cycle group, so an input at C2 takes the material's C1-C4. New inputs are bundled; omitting bundled on PATCH leaves the setting unchanged, except that an unbundled input whose stage or material changes takes the new stage's group, or is bundled if it no longer qualifies. Sending false needs an input with a life cycle stage and a material that has no category model and is your own, an EPD, or an emission factor; otherwise it returns 400.
How this input is categorized within its life-cycle stage. Common values
are product, packaging, and ancillary; custom values (e.g. from a PCR
document) are allowed. isPackaging is kept consistent automatically.
These are stored values, both when read and when written. The model CSV
export's Material_group column shows the display names the PCR gives the
group and its parents instead (Product > Control gear, not controlUnit),
and reads N/A on a row whose source is not categorized under the material
taxonomy, so a value taken from that file cannot be sent back here as-is.
Freight transport attached to this input as a single transport leg. Set to attach or update the binding; send null on PATCH to detach (omitting transport leaves an existing binding untouched). An input cannot be both a material line and a transport leg — sending material and transport together returns 400.
Read-only canonical amount in the source product's declared unit, used by
impact calculation. Present only when quantity + unit you sent are in
a different dimension than the source product's declared unit (e.g. you
sent kg for an m3-declared source product that has a weight conversion
factor). Ignored on POST/PATCH.
Read-only. Recycled content of this input as a percentage (0–100), inherited
from its source product — the source's modeled recycled content when available,
otherwise its declared value. 0 when the input has no source product or the
source has neither. Ignored on POST/PATCH.
Example:
30
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Variable API","colors":{"primary":"#282624","light":"#E6E3DD","dark":"#282624"},"logo":{"light":"https://app.variable.global/logo/logo-horizontal-onlight.svg","dark":"https://app.variable.global/logo/logo-horizontal-ondark.svg"},"favicon":"https://mintcdn.com/variable/-esaLwUuP4fnFDIg/logo/symbol-white.svg?fit=max\u0026auto=format\u0026n=-esaLwUuP4fnFDIg\u0026q=85\u0026s=d0fcf1de9144c23f8a7d44e3c52638a0","api":{"playground":{"display":"simple"}},"appearance":{"default":"system"},"navbar":{"links":[{"href":"mailto:support@variable.co","label":"Support"}],"primary":{"type":"button","label":"App","href":"https://app.variable.global"}},"footer":{"socials":{"discord":"https://discord.gg/TrGYZW7zPG","linkedin":"https://www.linkedin.com/company/variable-co","x":"https://x.com/variableHQ"}},"styling":{"codeblocks":"system","latex":false},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"variable","hasAudioNarration":false,"actualSubdomain":"variable","customDomains":["docs.variable.global"],"gitSource":{"type":"github","owner":"variable-co","repo":"cascade","deployBranch":"main","contentDirectory":"api-documentation","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6aeef782d5518ba96e45cbac","clientVersion":"0.0.4088","searchFilterCounts":[{"language":"default","tag":"API Reference","count":87},{"language":"default","tag":"Documentation","count":31},{"language":"default","tag":"Elements","count":28},{"language":"default","tag":"Getting started","count":14},{"language":"default","tag":"Changelog","count":10},{"language":"default","tag":"Switch","count":8},{"language":"default","tag":"Concepts","count":8},{"language":"default","tag":"Help articles","count":8},{"language":"default","tag":"PACT API","count":8},{"language":"default","tag":"Activity","count":7}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"llms-txt-v2","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":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/v1/model/inputs/patch","slug":"/api-reference/v1/model/inputs/patch","pageMetadata":{"title":"Edit Input","openapi":"PATCH /v1/model/{modelId}/input/{inputId}","description":"Edit model input","href":"/api-reference/v1/model/inputs/patch"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Edit model input\"\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{jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];const permission_0=`model:update`;function _createMdxContent(props){const _components={strong:`strong`,..._provideComponents(),...props.components},{Info}=_components;if(!Info)_missingMdxReference(`Info`,true);return _jsxs(Info,{children:[`Requires permission: `,_jsx(_components.strong,{children:permission_0})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{permission_0,default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":"system","config":{},"pageMetadata":{"title":"Edit Input","openapi":"PATCH /v1/model/{modelId}/input/{inputId}","description":"Edit model input","href":"/api-reference/v1/model/inputs/patch"}}},"mdxSourceWithNoJs":null,"noJsSplices":[[406,424,"`model:update`})]})}"]]},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Edit an input","security":["34fa5d01-1d0a-42b0-b454-32d362c5be9d"],"requestBody":"e8a3247c-36a0-4b2e-9d22-bf051289f4a4","responses":{"200":"6d2be906-f5ca-4b4f-a094-60106c05dfec","400":"7a86d432-cee4-4fc4-8d0d-0ad85024cb40","401":"35a474db-0534-4669-b6a5-d8fc964d07fb"},"method":"patch","type":"path","servers":["474f6128-2410-41da-aeba-18a544df26e0"],"path":"/v1/model/{modelId}/input/{inputId}","baseUrlOptions":["https://app.variable.global/api"],"title":"Edit an input","description":"Edit model input","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"fefacc36-ade2-490d-b6fe-d923a36f2964":{"in":"path","name":"modelId","required":true,"schema":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"","typeLabel":"string\u003cuuid>"}},"0d90b63b-660e-4378-9fd5-a90b36e0298e":{"in":"path","name":"inputId","required":true,"schema":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"","typeLabel":"string\u003cuuid>"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["uuid"],"properties":{"uuid":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"uuid","typeLabel":"string\u003cuuid>"},"syncId":{"type":"string","description":"An identifier to use when syncing data with other systems. [Read more](/docs/syncId)","example":"sync123","uniqueKey":"syncId","typeLabel":"string"},"quantity":{"type":"number","example":150,"uniqueKey":"quantity","typeLabel":"number"},"unit":{"type":"string","example":"kg","description":"The unit code (e.g. kg, lbs, etc.). All unit codes can be found in the [List Units](/api-reference/v1/unit/get) endpoint.","uniqueKey":"unit","typeLabel":"string"},"order":{"type":"number","example":1,"uniqueKey":"order","typeLabel":"number"},"material":{"properties":{"uuid":{"type":"string","format":"uuid","uniqueKey":"material.uuid","typeLabel":"string\u003cuuid>"},"name":{"type":"string","example":"Material name","uniqueKey":"material.name","typeLabel":"string"}},"type":"object","uniqueKey":"material","typeLabel":"object"},"block":{"properties":{"uuid":{"type":"string","format":"uuid","uniqueKey":"block.uuid","typeLabel":"string\u003cuuid>"},"name":{"type":"string","example":"Block name","uniqueKey":"block.name","typeLabel":"string"}},"type":"object","uniqueKey":"block","typeLabel":"object"},"lifecycleStage":{"type":"object","properties":{"code":{"type":"string","example":"A1","uniqueKey":"lifecycleStage.code","typeLabel":"string"},"name":{"type":"string","example":"Materials","uniqueKey":"lifecycleStage.name","typeLabel":"string"}},"uniqueKey":"lifecycleStage","typeLabel":"object"},"bundled":{"type":"boolean","example":true,"description":"Whether the material counts as one value at this input's stage. `true` imports the material's A1-A3 as a single value. `false` imports the material's own stages into the matching stages of this input's life cycle group, so an input at C2 takes the material's C1-C4. New inputs are bundled; omitting `bundled` on `PATCH` leaves the setting unchanged, except that an unbundled input whose stage or material changes takes the new stage's group, or is bundled if it no longer qualifies. Sending `false` needs an input with a life cycle stage and a material that has no category model and is your own, an EPD, or an emission factor; otherwise it returns `400`.","uniqueKey":"bundled","typeLabel":"boolean"},"materialGroup":{"description":"How this input is categorized within its life-cycle stage. Common values\nare `product`, `packaging`, and `ancillary`; custom values (e.g. from a PCR\ndocument) are allowed. `isPackaging` is kept consistent automatically.\n\nThese are stored values, both when read and when written. The model CSV\nexport's `Material_group` column shows the display names the PCR gives the\ngroup and its parents instead (`Product > Control gear`, not `controlUnit`),\nand reads `N/A` on a row whose source is not categorized under the material\ntaxonomy, so a value taken from that file cannot be sent back here as-is.\n","type":"array","items":{"type":"string","uniqueKey":"materialGroup.items.[INDEX]","typeLabel":"string"},"example":["packaging"],"uniqueKey":"materialGroup","typeLabel":"string[]"},"transport":{"oneOf":[{"type":"object","description":"Freight transport attached to this input as a single transport leg. Set to attach or update the binding; send `null` on `PATCH` to detach (omitting `transport` leaves an existing binding untouched). An input cannot be both a material line and a transport leg — sending `material` and `transport` together returns `400`.","properties":{"lane":{"type":"object","description":"The freight route this leg follows. Must be visible to your company.","properties":{"uuid":{"type":"string","format":"uuid","uniqueKey":"transport.oneOf.0.lane.uuid","typeLabel":"string\u003cuuid>"},"syncId":{"type":"string","description":"An identifier to use when syncing data with other systems. [Read more](/docs/syncId)","example":"sync123","uniqueKey":"transport.oneOf.0.lane.syncId","typeLabel":"string"}},"uniqueKey":"transport.oneOf.0.lane","typeLabel":"object"},"for":{"oneOf":[{"type":"object","description":"The material input — in the same model — this leg carries. Setting it derives the leg's lifecycle stage and cargo weight from that material (so `weight` must be omitted). Send `null` to unlink (the leg reverts to standalone and `weight` becomes settable again); omit to leave the link unchanged. A cross-model or non-material target returns `400`; an unknown or out-of-company one returns `404`.","properties":{"uuid":{"type":"string","format":"uuid","uniqueKey":"transport.oneOf.0.for.oneOf.0.uuid","typeLabel":"string\u003cuuid>"},"syncId":{"type":"string","description":"An identifier to use when syncing data with other systems. [Read more](/docs/syncId)","example":"sync123","uniqueKey":"transport.oneOf.0.for.oneOf.0.syncId","typeLabel":"string"}},"uniqueKey":"transport.oneOf.0.for.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"transport.oneOf.0.for.oneOf.1","typeLabel":"null"}],"uniqueKey":"transport.oneOf.0.for","typeLabel":"object | null"},"weight":{"type":"object","description":"Cargo weight moved along the lane. Required for a standalone leg (no `for`); the unit must be a weight unit (e.g. kg, t, lbs). Forbidden when `for` is set — the cargo weight is then derived from the carried material and any `weight` you send is rejected with `400` (`transport.weight is derived from transport.for; omit it.`).","properties":{"quantity":{"type":"number","example":250,"uniqueKey":"transport.oneOf.0.weight.quantity","typeLabel":"number"},"unit":{"type":"string","example":"kg","description":"The unit code (e.g. kg, lbs, etc.). All unit codes can be found in the [List Units](/api-reference/v1/unit/get) endpoint.","uniqueKey":"transport.oneOf.0.weight.unit","typeLabel":"string"}},"uniqueKey":"transport.oneOf.0.weight","typeLabel":"object"}},"uniqueKey":"transport.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"transport.oneOf.1","typeLabel":"null"}],"uniqueKey":"transport","typeLabel":"object | null"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"uuid":"3c90c3cc-0d44-4b50-8888-8dd25736052a","syncId":"sync123","quantity":150,"unit":"kg","order":1,"material":{"uuid":"3c90c3cc-0d44-4b50-8888-8dd25736052a","name":"Material name"},"block":{"uuid":"3c90c3cc-0d44-4b50-8888-8dd25736052a","name":"Block name"},"lifecycleStage":{"code":"A1","name":"Materials"},"bundled":true,"materialGroup":["packaging"],"transport":{"lane":{"uuid":"3c90c3cc-0d44-4b50-8888-8dd25736052a","syncId":"sync123"},"for":{"uuid":"3c90c3cc-0d44-4b50-8888-8dd25736052a","syncId":"sync123"},"weight":{"quantity":250,"unit":"kg"}}}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"6d2be906-f5ca-4b4f-a094-60106c05dfec":{"description":"An input","content":{"application/json":{"schema":{"type":"object","properties":{"uuid":{"type":"string","format":"uuid","uniqueKey":"uuid","typeLabel":"string\u003cuuid>"},"syncId":{"type":"string","description":"An identifier to use when syncing data with other systems. [Read more](/docs/syncId)","example":"sync123","uniqueKey":"syncId","typeLabel":"string"},"quantity":{"type":"number","example":150,"uniqueKey":"quantity","typeLabel":"number"},"unit":{"type":"string","example":"kg","description":"The unit code (e.g. kg, lbs, etc.). All unit codes can be found in the [List Units](/api-reference/v1/unit/get) endpoint.","uniqueKey":"unit","typeLabel":"string"},"order":{"type":"number","example":1,"uniqueKey":"order","typeLabel":"number"},"material":{"properties":{"uuid":{"type":"string","format":"uuid","uniqueKey":"material.uuid","typeLabel":"string\u003cuuid>"},"name":{"type":"string","example":"Material name","uniqueKey":"material.name","typeLabel":"string"}},"type":"object","uniqueKey":"material","typeLabel":"object"},"block":{"properties":{"uuid":{"type":"string","format":"uuid","uniqueKey":"block.uuid","typeLabel":"string\u003cuuid>"},"name":{"type":"string","example":"Block name","uniqueKey":"block.name","typeLabel":"string"}},"type":"object","uniqueKey":"block","typeLabel":"object"},"lifecycleStage":{"type":"object","properties":{"code":{"type":"string","example":"A1","uniqueKey":"lifecycleStage.code","typeLabel":"string"},"name":{"type":"string","example":"Materials","uniqueKey":"lifecycleStage.name","typeLabel":"string"}},"uniqueKey":"lifecycleStage","typeLabel":"object"},"bundled":{"type":"boolean","example":true,"description":"Whether the material counts as one value at this input's stage. `true` imports the material's A1-A3 as a single value. `false` imports the material's own stages into the matching stages of this input's life cycle group, so an input at C2 takes the material's C1-C4. New inputs are bundled; omitting `bundled` on `PATCH` leaves the setting unchanged, except that an unbundled input whose stage or material changes takes the new stage's group, or is bundled if it no longer qualifies. Sending `false` needs an input with a life cycle stage and a material that has no category model and is your own, an EPD, or an emission factor; otherwise it returns `400`.","uniqueKey":"bundled","typeLabel":"boolean"},"materialGroup":{"description":"How this input is categorized within its life-cycle stage. Common values\nare `product`, `packaging`, and `ancillary`; custom values (e.g. from a PCR\ndocument) are allowed. `isPackaging` is kept consistent automatically.\n\nThese are stored values, both when read and when written. The model CSV\nexport's `Material_group` column shows the display names the PCR gives the\ngroup and its parents instead (`Product > Control gear`, not `controlUnit`),\nand reads `N/A` on a row whose source is not categorized under the material\ntaxonomy, so a value taken from that file cannot be sent back here as-is.\n","type":"array","items":{"type":"string","uniqueKey":"materialGroup.items.[INDEX]","typeLabel":"string"},"example":["packaging"],"uniqueKey":"materialGroup","typeLabel":"string[]"},"transport":{"oneOf":[{"type":"object","description":"Freight transport attached to this input as a single transport leg. Set to attach or update the binding; send `null` on `PATCH` to detach (omitting `transport` leaves an existing binding untouched). An input cannot be both a material line and a transport leg — sending `material` and `transport` together returns `400`.","properties":{"lane":{"type":"object","description":"The freight route this leg follows. Must be visible to your company.","properties":{"uuid":{"type":"string","format":"uuid","uniqueKey":"transport.oneOf.0.lane.uuid","typeLabel":"string\u003cuuid>"},"syncId":{"type":"string","description":"An identifier to use when syncing data with other systems. [Read more](/docs/syncId)","example":"sync123","uniqueKey":"transport.oneOf.0.lane.syncId","typeLabel":"string"},"name":{"type":"string","readOnly":true,"example":"Newark, NJ to Rotterdam, NL","uniqueKey":"transport.oneOf.0.lane.name","typeLabel":"string"}},"uniqueKey":"transport.oneOf.0.lane","typeLabel":"object"},"for":{"oneOf":[{"type":"object","description":"The material input — in the same model — this leg carries. Setting it derives the leg's lifecycle stage and cargo weight from that material (so `weight` must be omitted). Send `null` to unlink (the leg reverts to standalone and `weight` becomes settable again); omit to leave the link unchanged. A cross-model or non-material target returns `400`; an unknown or out-of-company one returns `404`.","properties":{"uuid":{"type":"string","format":"uuid","uniqueKey":"transport.oneOf.0.for.oneOf.0.uuid","typeLabel":"string\u003cuuid>"},"syncId":{"type":"string","description":"An identifier to use when syncing data with other systems. [Read more](/docs/syncId)","example":"sync123","uniqueKey":"transport.oneOf.0.for.oneOf.0.syncId","typeLabel":"string"},"name":{"type":"string","readOnly":true,"example":"Newark, NJ to Rotterdam, NL","uniqueKey":"transport.oneOf.0.for.oneOf.0.name","typeLabel":"string"}},"uniqueKey":"transport.oneOf.0.for.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"transport.oneOf.0.for.oneOf.1","typeLabel":"null"}],"uniqueKey":"transport.oneOf.0.for","typeLabel":"object | null"},"weight":{"type":"object","description":"Cargo weight moved along the lane. Required for a standalone leg (no `for`); the unit must be a weight unit (e.g. kg, t, lbs). Forbidden when `for` is set — the cargo weight is then derived from the carried material and any `weight` you send is rejected with `400` (`transport.weight is derived from transport.for; omit it.`).","properties":{"quantity":{"type":"number","example":250,"uniqueKey":"transport.oneOf.0.weight.quantity","typeLabel":"number"},"unit":{"type":"string","example":"kg","description":"The unit code (e.g. kg, lbs, etc.). All unit codes can be found in the [List Units](/api-reference/v1/unit/get) endpoint.","uniqueKey":"transport.oneOf.0.weight.unit","typeLabel":"string"}},"uniqueKey":"transport.oneOf.0.weight","typeLabel":"object"},"tkm":{"type":"number","readOnly":true,"description":"Tonne-kilometres carried, derived server-side from the lane distance and cargo weight. The leg's absolute carbon footprint is computed from `tkm` and the lane's `CO2ePerTkm` and rolls into the input's own `CO2e` and the model total. Ignored on write.","example":1510.6,"uniqueKey":"transport.oneOf.0.tkm","typeLabel":"number"}},"uniqueKey":"transport.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"transport.oneOf.1","typeLabel":"null"}],"uniqueKey":"transport","typeLabel":"object | null"},"created":{"type":"string","description":"ISO 8601 date","example":"2021-01-01T00:00:00.000Z","uniqueKey":"created","typeLabel":"string"},"updated":{"type":"string","description":"ISO 8601 date","example":"2021-01-31T23:59:59.000Z","uniqueKey":"updated","typeLabel":"string"},"CO2e":{"type":"string","example":"1234.5678","uniqueKey":"CO2e","typeLabel":"string"},"declaredAmount":{"description":"Read-only canonical amount in the source product's declared unit, used by\nimpact calculation. Present only when `quantity` + `unit` you sent are in\na different dimension than the source product's declared unit (e.g. you\nsent `kg` for an `m3`-declared source product that has a weight conversion\nfactor). Ignored on POST/PATCH.\n","type":"object","properties":{"quantity":{"type":"number","example":0.002,"uniqueKey":"declaredAmount.quantity","typeLabel":"number"},"unit":{"type":"string","example":"kg","description":"The unit code (e.g. kg, lbs, etc.). All unit codes can be found in the [List Units](/api-reference/v1/unit/get) endpoint.","uniqueKey":"declaredAmount.unit","typeLabel":"string"}},"uniqueKey":"declaredAmount","typeLabel":"object"},"recycledPercent":{"description":"Read-only. Recycled content of this input as a percentage (0–100), inherited\nfrom its source product — the source's modeled recycled content when available,\notherwise its declared value. 0 when the input has no source product or the\nsource has neither. Ignored on POST/PATCH.\n","type":"number","readOnly":true,"example":30,"uniqueKey":"recycledPercent","typeLabel":"number"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"uuid":"3c90c3cc-0d44-4b50-8888-8dd25736052a","syncId":"sync123","quantity":150,"unit":"kg","order":1,"material":{"uuid":"3c90c3cc-0d44-4b50-8888-8dd25736052a","name":"Material name"},"block":{"uuid":"3c90c3cc-0d44-4b50-8888-8dd25736052a","name":"Block name"},"lifecycleStage":{"code":"A1","name":"Materials"},"bundled":true,"materialGroup":["packaging"],"transport":{"lane":{"uuid":"3c90c3cc-0d44-4b50-8888-8dd25736052a","syncId":"sync123","name":"Newark, NJ to Rotterdam, NL"},"for":{"uuid":"3c90c3cc-0d44-4b50-8888-8dd25736052a","syncId":"sync123","name":"Newark, NJ to Rotterdam, NL"},"weight":{"quantity":250,"unit":"kg"},"tkm":1510.6},"created":"2021-01-01T00:00:00.000Z","updated":"2021-01-31T23:59:59.000Z","CO2e":"1234.5678","declaredAmount":{"quantity":0.002,"unit":"kg"},"recycledPercent":30}}},"exampleType":"generated"}},"exampleType":"generated"},"7a86d432-cee4-4fc4-8d0d-0ad85024cb40":{"description":"An invalid `bundled`, life cycle stage, or transport.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"35a474db-0534-4669-b6a5-d8fc964d07fb":{"description":"ExpiredToken","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","example":"token expired","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"token expired"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"34fa5d01-1d0a-42b0-b454-32d362c5be9d":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"474f6128-2410-41da-aeba-18a544df26e0":{"url":"https://app.variable.global/api"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"JWT","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"api-reference/openapi.yaml"},"subdomain":"variable","siteName":"Variable API","title":"Edit Input - Variable API","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2025-08-16T08:34:28.678Z","originalFileLocation":"api-reference/v1/model/inputs/patch.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=\"Edit model input\">\u003cmeta data-mint-head name=\"application-name\" content=\"Variable API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/variable/XSEKUEE_r7PB-_3g/_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/variable/XSEKUEE_r7PB-_3g/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/variable/XSEKUEE_r7PB-_3g/_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/variable/XSEKUEE_r7PB-_3g/_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/variable/XSEKUEE_r7PB-_3g/_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/variable/XSEKUEE_r7PB-_3g/_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/variable/XSEKUEE_r7PB-_3g/_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/variable/XSEKUEE_r7PB-_3g/_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/variable/XSEKUEE_r7PB-_3g/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Edit Input - Variable API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Edit model input\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Variable API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.variable.global/api-reference/v1/model/inputs/patch\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://variable.mintlify.site/_mintlify/api/og/v2?division=Model\u0026amp;title=Edit+Input\u0026amp;description=Edit+model+input\u0026amp;theme=9d6cae3c609c89737489d87b\u0026amp;signature=e0b5875f3810bb14f7276a42c7286d734c3f75744359e73eb4e817a3c914f8b6\">\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=\"Edit Input - Variable API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Edit model input\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://variable.mintlify.site/_mintlify/api/og/v2?division=Model\u0026amp;title=Edit+Input\u0026amp;description=Edit+model+input\u0026amp;theme=9d6cae3c609c89737489d87b\u0026amp;signature=e0b5875f3810bb14f7276a42c7286d734c3f75744359e73eb4e817a3c914f8b6\">\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/variable/XSEKUEE_r7PB-_3g/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Variable API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#282624\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.variable.global/api-reference/v1/model/inputs/patch\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/v1/model/inputs/patch.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.variable.global/#organization\",\"name\":\"Variable API\",\"url\":\"https://docs.variable.global\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://app.variable.global/logo/logo-horizontal-onlight.svg\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.variable.global#website\",\"name\":\"Variable API\",\"url\":\"https://docs.variable.global\",\"publisher\":{\"@id\":\"https://docs.variable.global/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.variable.global/api-reference/v1/model/inputs/patch#webpage\",\"url\":\"https://docs.variable.global/api-reference/v1/model/inputs/patch\",\"name\":\"Edit Input\",\"description\":\"Edit model input\",\"dateModified\":\"2025-08-16T08:34:28.678Z\",\"isPartOf\":{\"@id\":\"https://docs.variable.global#website\"},\"breadcrumb\":{\"@id\":\"https://docs.variable.global/api-reference/v1/model/inputs/patch#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.variable.global/api-reference/v1/model/inputs/patch#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Model\",\"item\":\"https://docs.variable.global/api-reference/v1/model/inputs/get\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Edit Input\",\"item\":\"https://docs.variable.global/api-reference/v1/model/inputs/patch\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.variable.global/api-reference/v1/model/inputs/patch#apireference\",\"headline\":\"Edit Input\",\"name\":\"Edit Input\",\"description\":\"Edit model input\",\"url\":\"https://docs.variable.global/api-reference/v1/model/inputs/patch\",\"mainEntityOfPage\":{\"@id\":\"https://docs.variable.global/api-reference/v1/model/inputs/patch#webpage\"},\"dateModified\":\"2025-08-16T08:34:28.678Z\",\"publisher\":{\"@id\":\"https://docs.variable.global/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.variable.global#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Variable API\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Variable API","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/docs/getting-started/welcome"}]},{"tab":"API Reference","groups":[{"group":"Getting started","pages":[{"title":"REST API","href":"/api-reference/welcome"}]},{"group":"Auth token","pages":[{"title":"API key","href":"/api-reference/auth/token/api-key"},{"title":"Get Token","openapi":"POST /auth/token","href":"/api-reference/auth/token/post"}]},{"group":"Database","pages":[{"title":"Search","openapi":"GET /v1/search","href":"/api-reference/v1/search/list"}]},{"group":"Product","pages":[{"title":"List Products","openapi":"GET /v1/product","href":"/api-reference/v1/product/list/get"},{"title":"Get Product","openapi":"GET /v1/product/{uuid}","href":"/api-reference/v1/product/get"},{"title":"Create Product","openapi":"POST /v1/product","href":"/api-reference/v1/product/post"},{"title":"Edit Product","openapi":"PATCH /v1/product/{uuid}","href":"/api-reference/v1/product/patch"},{"title":"Product Image","openapi":"PATCH /v1/product/{uuid}/image","href":"/api-reference/v1/product/image"},{"title":"Delete Product","openapi":"DELETE /v1/product/{uuid}","href":"/api-reference/v1/product/delete"}]},{"group":"Elements","pages":[{"group":"Material","pages":[{"title":"List Materials","openapi":"GET /v1/material","href":"/api-reference/v1/material/list/get"},{"title":"Get Material","openapi":"GET /v1/material/{uuid}","href":"/api-reference/v1/material/get"},{"title":"Create Material","openapi":"POST /v1/material","href":"/api-reference/v1/material/post"},{"title":"Update Material","openapi":"PATCH /v1/material/{uuid}","href":"/api-reference/v1/material/patch"},{"title":"Material Image","openapi":"PATCH /v1/material/{uuid}/image","href":"/api-reference/v1/material/image"},{"title":"Delete Material","openapi":"DELETE /v1/material/{uuid}","href":"/api-reference/v1/material/delete"}]},{"group":"Transport Lane","pages":[{"title":"List Transport Lanes","openapi":"GET /v1/transport/lane","href":"/api-reference/v1/transport/lane/list/get"},{"title":"Get Transport Lane","openapi":"GET /v1/transport/lane/{uuid}","href":"/api-reference/v1/transport/lane/get"},{"title":"Create Transport Lane","openapi":"POST /v1/transport/lane","href":"/api-reference/v1/transport/lane/post"},{"title":"Update Transport Lane","openapi":"PATCH /v1/transport/lane/{uuid}","href":"/api-reference/v1/transport/lane/patch"},{"title":"Delete Transport Lane","openapi":"DELETE /v1/transport/lane/{uuid}","href":"/api-reference/v1/transport/lane/delete"}]},{"group":"Transport Mode","pages":[{"title":"List Transport Modes","openapi":"GET /v1/transport/mode","href":"/api-reference/v1/transport/mode/list/get"},{"title":"Get Transport Mode","openapi":"GET /v1/transport/mode/{code}","href":"/api-reference/v1/transport/mode/get"},{"title":"Create Transport Mode","openapi":"POST /v1/transport/mode","href":"/api-reference/v1/transport/mode/post"},{"title":"Update Transport Mode","openapi":"PATCH /v1/transport/mode/{code}","href":"/api-reference/v1/transport/mode/patch"},{"title":"Delete Transport Mode","openapi":"DELETE /v1/transport/mode/{code}","href":"/api-reference/v1/transport/mode/delete"}]},{"group":"Energy","pages":[{"title":"List Energy","openapi":"GET /v1/energy","href":"/api-reference/v1/energy/list/get"},{"title":"Get Energy","openapi":"GET /v1/energy/{uuid}","href":"/api-reference/v1/energy/get"},{"title":"Create Energy","openapi":"POST /v1/energy","href":"/api-reference/v1/energy/post"},{"title":"Update Energy","openapi":"PATCH /v1/energy/{uuid}","href":"/api-reference/v1/energy/patch"},{"title":"Energy Image","openapi":"PATCH /v1/energy/{uuid}/image","href":"/api-reference/v1/energy/image"},{"title":"Delete Energy","openapi":"DELETE /v1/energy/{uuid}","href":"/api-reference/v1/energy/delete"}]},{"group":"Process","pages":[{"title":"List Processes","openapi":"GET /v1/process","href":"/api-reference/v1/process/list/get"},{"title":"Get Process","openapi":"GET /v1/process/{uuid}","href":"/api-reference/v1/process/get"},{"title":"Create Process","openapi":"POST /v1/process","href":"/api-reference/v1/process/post"},{"title":"Update Process","openapi":"PATCH /v1/process/{uuid}","href":"/api-reference/v1/process/patch"},{"title":"Process Image","openapi":"PATCH /v1/process/{uuid}/image","href":"/api-reference/v1/process/image"},{"title":"Delete Process","openapi":"DELETE /v1/process/{uuid}","href":"/api-reference/v1/process/delete"}]}]},{"group":"Dataset","pages":[{"title":"List Datasets","openapi":"GET /v1/dataset","href":"/api-reference/v1/dataset/list/get"},{"title":"Get Dataset","openapi":"GET /v1/dataset/{uuid}","href":"/api-reference/v1/dataset/get"},{"title":"Create Dataset","openapi":"POST /v1/dataset","href":"/api-reference/v1/dataset/post"},{"title":"Update Dataset","openapi":"PATCH /v1/dataset/{uuid}","href":"/api-reference/v1/dataset/patch"},{"title":"Set Dataset Impacts","openapi":"PUT /v1/dataset/{uuid}/impacts","href":"/api-reference/v1/dataset/impacts/put"},{"title":"Dataset Image","openapi":"PATCH /v1/dataset/{uuid}/image","href":"/api-reference/v1/dataset/image"},{"title":"Delete Dataset","openapi":"DELETE /v1/dataset/{uuid}","href":"/api-reference/v1/dataset/delete"}]},{"group":"Model","pages":[{"title":"List Inputs","openapi":"GET /v1/model/{uuid}/input","href":"/api-reference/v1/model/inputs/get"},{"title":"Create Input","openapi":"POST /v1/model/{uuid}/input","description":"Create a new model input for the specified model","href":"/api-reference/v1/model/inputs/post"},{"title":"Edit Input","openapi":"PATCH /v1/model/{modelId}/input/{inputId}","href":"/api-reference/v1/model/inputs/patch"},{"title":"Delete Input","openapi":"DELETE /v1/model/{modelId}/input/{inputId}","description":"Delete model input","href":"/api-reference/v1/model/inputs/delete"}]},{"group":"Switch","pages":[{"title":"List Switches","openapi":"GET /v1/switch","href":"/api-reference/v1/switch/list"},{"title":"Get Switch","openapi":"GET /v1/switch/{uuid}","href":"/api-reference/v1/switch/get"},{"title":"Create Switch","openapi":"POST /v1/switch","href":"/api-reference/v1/switch/post"},{"title":"Edit Switch","openapi":"PATCH /v1/switch/{uuid}","href":"/api-reference/v1/switch/patch"},{"title":"Switch Image","openapi":"PATCH /v1/switch/{uuid}/image","href":"/api-reference/v1/switch/image"},{"title":"Delete Switch","openapi":"DELETE /v1/switch/{uuid}","href":"/api-reference/v1/switch/delete"},{"title":"Add Source","openapi":"POST /v1/switch/{switchId}/source/{sourceId}","href":"/api-reference/v1/switch/add-source"},{"title":"Remove Source","openapi":"DELETE /v1/switch/{switchId}/source/{sourceId}","href":"/api-reference/v1/switch/remove-source"}]},{"group":"Geolocation","pages":[{"title":"Geocode an Address","openapi":"GET /v1/geolocation","href":"/api-reference/v1/geolocation/get"},{"title":"Persist a Geolocation","openapi":"POST /v1/geolocation","href":"/api-reference/v1/geolocation/post"}]},{"group":"Location","pages":[{"title":"List Locations","openapi":"GET /v1/location","href":"/api-reference/v1/location/list"},{"title":"Get Location","openapi":"GET /v1/location/{uuid}","href":"/api-reference/v1/location/get"},{"title":"Create Location","openapi":"POST /v1/location","href":"/api-reference/v1/location/post"},{"title":"Update Location","openapi":"PATCH /v1/location/{uuid}","href":"/api-reference/v1/location/patch"},{"title":"Delete Location","openapi":"DELETE /v1/location/{uuid}","href":"/api-reference/v1/location/delete"}]},{"group":"Supplier","pages":[{"title":"List Suppliers","openapi":"GET /v1/supplier","href":"/api-reference/v1/supplier/list/get"},{"title":"Get Supplier","openapi":"GET /v1/supplier/{uuid}","href":"/api-reference/v1/supplier/get"},{"title":"Create Supplier","openapi":"POST /v1/supplier","href":"/api-reference/v1/supplier/post"},{"title":"Edit Supplier","openapi":"PATCH /v1/supplier/{uuid}","href":"/api-reference/v1/supplier/patch"},{"title":"Supplier Image","openapi":"PATCH /v1/supplier/{uuid}/image","href":"/api-reference/v1/supplier/image"},{"title":"Delete Supplier","openapi":"DELETE /v1/supplier/{uuid}","href":"/api-reference/v1/supplier/delete"}]},{"group":"Activity","pages":[{"title":"List Activities","openapi":"GET /v1/activity","href":"/api-reference/v1/activity/list"},{"title":"Get Activity","openapi":"GET /v1/activity/{uuid}","href":"/api-reference/v1/activity/get"},{"title":"Create Activity","openapi":"POST /v1/activity","href":"/api-reference/v1/activity/post"},{"title":"Update Activity","openapi":"PATCH /v1/activity/{uuid}","href":"/api-reference/v1/activity/patch"},{"title":"Delete Activity","openapi":"DELETE /v1/activity/{uuid}","href":"/api-reference/v1/activity/delete"},{"title":"Bulk Activity Creation","openapi":"POST /v1/activity/bulk","href":"/api-reference/v1/activity/bulk"},{"title":"Bulk Activity Deletion","openapi":"POST /v1/activity/bulk/delete","href":"/api-reference/v1/activity/bulk-delete"}]},{"group":"Activity Group","pages":[{"title":"List Activity Groups","openapi":"GET /v1/activity/group","href":"/api-reference/v1/activity-group/list"},{"title":"Get Activity Group","openapi":"GET /v1/activity/group/{uuid}","href":"/api-reference/v1/activity-group/get"},{"title":"Create Activity Group","openapi":"POST /v1/activity/group","href":"/api-reference/v1/activity-group/post"},{"title":"Update Activity Group","openapi":"PATCH /v1/activity/group/{uuid}","href":"/api-reference/v1/activity-group/patch"},{"title":"Delete Activity Group","openapi":"DELETE /v1/activity/group/{uuid}","href":"/api-reference/v1/activity-group/delete"}]},{"group":"Account","pages":[{"title":"List Accounts","openapi":"GET /v1/account","href":"/api-reference/v1/account/get"}]},{"group":"Org","pages":[{"title":"List Orgs","openapi":"GET /v1/org","href":"/api-reference/v1/org/get"}]},{"group":"Scope","pages":[{"title":"List Scopes","openapi":"GET /v1/scope","href":"/api-reference/v1/scope/get"}]},{"group":"Taxonomy","pages":[{"title":"List Taxonomies","openapi":"GET /v1/taxonomy","href":"/api-reference/v1/taxonomy/get"}]},{"group":"Unit","pages":[{"title":"List Units","openapi":"GET /v1/unit","href":"/api-reference/v1/unit/get"}]}]},{"tab":"PACT API","pages":[{"title":"PACT API","href":"/pact-api/welcome"}]},{"tab":"MCP","pages":[{"title":"MCP","href":"/mcp/welcome"}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog/2026"}]}]},"basePath":"","title":"Edit Input - Variable API","buildId":"dpl_DTau1J5HqS9UTgVSDwGksstFWtPa","deploymentId":"dpl_DTau1J5HqS9UTgVSDwGksstFWtPa","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-5FCzAcfS.js","utils-SLtAG4EZ.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-2DZi8ZMu.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-D7J3nkzE.js","snippetPresets-D0Alv0AH.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BI4qNJ2c.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BD3uyr8j.js","shallow-D8iEBr5z.js","getApiPlaygroundDisplay-CgNP4lzR.js","CodeSnippet-CX-QHuMs.js","CodeSnippets-VlXE-ZUf.js","Page-D9ithiIZ.js","getPastedJson-DYNQkZ1M.js","icon-CzacdwOi.js","MethodPill-2JVqoYKi.js","DuplicateIcon-_xVXs-U8.js","createIcon-BRHrweLo.js","DynamicMarkdown-mQG_iQiE.js","SectionHeading-DMpJzv8f.js","axios-vUo_bRtp.js","Markdown-5FGIym-8.js","clsx-D-TRO5q5.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CdrJecqK.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-CHlcWBLM.js"]}