Upsert the sizes (formats) a packaging unit comes in, keyed on (specInternalRef, reference). Idempotent and blank-is-keep: a replayed row comes back as skipped, and an omitted field keeps the stored value — this endpoint can add and change size data, never clear it. Same column policy and overwrite confirmation as the unit intake: filling an empty field is automatic, changing a stored value (including the unit’s own GTIN and dimensions on its PRIMARY size) needs overwrite: true, otherwise the batch is refused with 409 overwriteRequired and nothing is written. A unit carries at most 50 sizes (formatCapReached). Sizes can also be sent on the unit intake itself (sizes[] or grouped rows), which is the primary way. At most 1000 rows per request (400 otherwise). Requires packaging:write; customer workspace with the PPWR module enabled — see the guide.
API key generated in Settings > API Keys. Include as Authorization: Bearer <key>.
Body
application/json
object[]
object
One size of an existing packaging unit, for POST /api/v1/ppwr/formats. Upsert key: (specInternalRef, reference). Blank-is-keep: an omitted or blank field keeps the stored value, so this endpoint can add and change size data but never clear it. Filling an empty field is automatic; changing a stored value needs overwrite: true (409 overwriteRequired otherwise, nothing written). Naming the unit's own internalRef addresses its PRIMARY size (its reference always follows the unit and is never renamed here).
Result of a synchronous PPWR intake. Partial accept: valid rows commit even when other rows are invalid or failed — the one exception is the 409 overwrite confirmation, which is all-or-nothing. Idempotent: replaying an identical request changes nothing (matched rows return as skipped), except unit rows without internalRef, which are always creates.
Rows the upsert engine rejected (unknown reference, ambiguous match, a new unit over the plan's unit quota → packagingUnitQuotaReached, …). A row refused before its write (these, and a new unit over the quota) writes nothing — not even the supplier it names; a unit written whose component or article link then failed is reported here with that link's key. Its error values are stable machine keys.
Rows rejected by schema validation before the engine ran. Most error values are stable machine keys, but a field with no custom message falls back to the validator's own English text — match on the key, fall back to displaying the string.
Unit intake only: units created with neither componentCodes nor a material. They hold no component yet, so no regulated value can be recorded on them — send componentCodes, or material for single-part packaging.
Unit intake only: main-part components created from rows' material (one per unit that had no component yet).
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Polygon One Helpcenter","colors":{"primary":"#15803D","light":"#07C983","dark":"#15803D"},"logo":{"light":"https://mintcdn.com/polygonone/AMoRp9VbcW46gNsT/logo/light.svg?fit=max\u0026auto=format\u0026n=AMoRp9VbcW46gNsT\u0026q=85\u0026s=4a316da81d50e49c7f9f6480a235558e","dark":"https://mintcdn.com/polygonone/AMoRp9VbcW46gNsT/logo/dark.svg?fit=max\u0026auto=format\u0026n=AMoRp9VbcW46gNsT\u0026q=85\u0026s=2f010ff600ff4880f154678933ee7214"},"favicon":"https://mintcdn.com/polygonone/ySkQMGGRhMNkPSTt/favicon.svg?fit=max\u0026auto=format\u0026n=ySkQMGGRhMNkPSTt\u0026q=85\u0026s=90cbe4fd3ee2dbffcb8de6167a8d47f3","api":{"playground":{"display":"simple"}},"navbar":{"links":[{"href":"mailto:help@polygon-one.eu","label":"Support"}],"primary":{"type":"button","label":"App","href":"https://app.polygon-one.com/"}},"footer":{"socials":{"website":"https://polygon-one.com"}},"search":{"prompt":"Suche..."},"integrations":{"posthog":{"apiKey":"phc_uKa9gMArvxxjzGfYWUWS4YLP7yT7gPETBzA3ktR7mUTD","apiHost":"https://eu.i.posthog.com","sessionRecording":false}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"anchors":[]},"languages":[{"language":"de","default":true,"href":""},{"language":"en","href":"en"},{"language":"fr","href":"fr/lieferanten/start"},{"language":"es","href":"es/lieferanten/start"},{"language":"zh","href":"zh/lieferanten/start"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"polygonone","hasAudioNarration":false,"actualSubdomain":"polygonone","customDomains":["help.polygon-one.com"],"gitSource":{"type":"github","owner":"polygon-one","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae347b2c5540a38c09062a7","collectionId":"e8876d2f-5d9d-4622-9ba5-e42c563f9dac","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae347b2c5540a38c09062a7"},"entitlements":{},"buildId":"6ae347b2c5540a38c09062a7","clientVersion":"0.0.4006","searchFilterCounts":[{"language":"de","tag":"API-Referenz","count":62},{"language":"en","tag":"API Reference","count":62},{"language":"de","tag":"EUDR","count":54},{"language":"en","tag":"EUDR","count":54},{"language":"de","tag":"Für Lieferanten","count":28},{"language":"en","tag":"For suppliers","count":28},{"language":"es","tag":"Para proveedores","count":28},{"language":"fr","tag":"Pour les fournisseurs","count":28},{"language":"zh","tag":"供应商帮助","count":28},{"language":"de","tag":"PPWR","count":25},{"language":"en","tag":"PPWR","count":25},{"language":"de","tag":"API-Dokumentation","count":10},{"language":"en","tag":"API Documentation","count":10},{"language":"de","tag":"PPWR – Verpackungsdaten","count":9},{"language":"de","tag":"Ihr Datenformat","count":9},{"language":"en","tag":"PPWR – Packaging Data","count":9},{"language":"en","tag":"Your data format","count":9},{"language":"es","tag":"Su formato de datos","count":9},{"language":"fr","tag":"Votre format de données","count":9},{"language":"zh","tag":"数据格式指南","count":9},{"language":"de","tag":"Datensammlung (Art. 9 EUDR)","count":8},{"language":"de","tag":"DDS \u0026 Bestellungen (Art. 3 EUDR)","count":8},{"language":"de","tag":"Optional","count":8},{"language":"en","tag":"Data Collection (Art. 9 EUDR)","count":8},{"language":"en","tag":"DDS \u0026 Orders (Art. 3 EUDR)","count":8},{"language":"en","tag":"Optional","count":8},{"language":"es","tag":"Solicitud EUDR","count":7},{"language":"fr","tag":"Demande EUDR","count":7},{"language":"zh","tag":"EUDR 请求","count":7},{"language":"es","tag":"Espacio del proveedor","count":4},{"language":"es","tag":"Solicitud PPWR","count":4},{"language":"fr","tag":"Espace fournisseur","count":4},{"language":"fr","tag":"Demande PPWR","count":4},{"language":"zh","tag":"供应商工作区","count":4},{"language":"zh","tag":"PPWR 请求","count":4},{"language":"es","tag":"Resolver un problema","count":3},{"language":"fr","tag":"Résoudre un problème","count":3},{"language":"zh","tag":"更正、审核和状态","count":3},{"language":"es","tag":"Empiece aquí","count":1},{"language":"fr","tag":"Commencer ici","count":1},{"language":"zh","tag":"从这里开始","count":1}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"per-site-search-delta","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-private-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","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":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"html:has(#content[data-page-href$=\"/lieferanten/start\"]) #pagination,html:has(#content[data-page-href*=\"/lieferanten/\"]) #mobile-nav #navigation-items>div:has(>#localization-select-trigger)>div:has(>button[aria-haspopup=menu]),html:has(#content[data-page-href*=\"/lieferanten/\"]) #navbar div:has(>div>a[href$=\"/lieferanten/start\"]),html:has(#content[data-page-href*=\"/lieferanten/\"]) #navbar li:has(>a[href=\"https://app.polygon-one.com/\"]),html:has(#content[data-page-href*=\"/lieferanten/\"]) [role=dialog] li:has(>a[href=\"https://app.polygon-one.com/\"]){display:none!important}"}],"page":{"pagePath":"en/api-reference/endpoint/ppwr/formats/upsert","slug":"/en/api-reference/endpoint/ppwr/formats/upsert","pageMetadata":{"title":"Upsert Packaging Sizes","openapi":"POST /api/v1/ppwr/formats","description":"Upsert the sizes (formats) a packaging unit comes in, keyed on (`specInternalRef`, `reference`). Idempotent and blank-is-keep: a replayed row comes back as `skipped`, and an omitted field keeps the stored value — this endpoint can add and change size data, never clear it. Same column policy and `overwrite` confirmation as the unit intake: filling an empty field is automatic, changing a stored value (including the unit's own GTIN and dimensions on its PRIMARY size) needs `overwrite: true`, otherwise the batch is refused with `409 overwriteRequired` and nothing is written. A unit carries at most 50 sizes (`formatCapReached`). Sizes can also be sent on the unit intake itself (`sizes[]` or grouped rows), which is the primary way. At most 1000 rows per request (`400` otherwise). Requires `packaging:write`; customer workspace with the PPWR module enabled — see the guide.","href":"/en/api-reference/endpoint/ppwr/formats/upsert"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Upsert the sizes (formats) a packaging unit comes in, keyed on (\", _jsx(_components.code, {\n children: \"specInternalRef\"\n }), \", \", _jsx(_components.code, {\n children: \"reference\"\n }), \"). Idempotent and blank-is-keep: a replayed row comes back as \", _jsx(_components.code, {\n children: \"skipped\"\n }), \", and an omitted field keeps the stored value — this endpoint can add and change size data, never clear it. Same column policy and \", _jsx(_components.code, {\n children: \"overwrite\"\n }), \" confirmation as the unit intake: filling an empty field is automatic, changing a stored value (including the unit’s own GTIN and dimensions on its PRIMARY size) needs \", _jsx(_components.code, {\n children: \"overwrite: true\"\n }), \", otherwise the batch is refused with \", _jsx(_components.code, {\n children: \"409 overwriteRequired\"\n }), \" and nothing is written. A unit carries at most 50 sizes (\", _jsx(_components.code, {\n children: \"formatCapReached\"\n }), \"). Sizes can also be sent on the unit intake itself (\", _jsx(_components.code, {\n children: \"sizes[]\"\n }), \" or grouped rows), which is the primary way. At most 1000 rows per request (\", _jsx(_components.code, {\n children: \"400\"\n }), \" otherwise). Requires \", _jsx(_components.code, {\n children: \"packaging:write\"\n }), \"; customer workspace with the PPWR module enabled — see the guide.\"]\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":"Upsert Packaging Sizes","openapi":"POST /api/v1/ppwr/formats","description":"Upsert the sizes (formats) a packaging unit comes in, keyed on (`specInternalRef`, `reference`). Idempotent and blank-is-keep: a replayed row comes back as `skipped`, and an omitted field keeps the stored value — this endpoint can add and change size data, never clear it. Same column policy and `overwrite` confirmation as the unit intake: filling an empty field is automatic, changing a stored value (including the unit's own GTIN and dimensions on its PRIMARY size) needs `overwrite: true`, otherwise the batch is refused with `409 overwriteRequired` and nothing is written. A unit carries at most 50 sizes (`formatCapReached`). Sizes can also be sent on the unit intake itself (`sizes[]` or grouped rows), which is the primary way. At most 1000 rows per request (`400` otherwise). Requires `packaging:write`; customer workspace with the PPWR module enabled — see the guide.","href":"/en/api-reference/endpoint/ppwr/formats/upsert"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"upsertPpwrFormats","summary":"Upsert Packaging Sizes","description":"Upsert the sizes (formats) a packaging unit comes in, keyed on (`specInternalRef`, `reference`). Idempotent and blank-is-keep: a replayed row comes back as `skipped`, and an omitted field keeps the stored value — this endpoint can add and change size data, never clear it. Same column policy and `overwrite` confirmation as the unit intake: filling an empty field is automatic, changing a stored value (including the unit's own GTIN and dimensions on its PRIMARY size) needs `overwrite: true`, otherwise the batch is refused with `409 overwriteRequired` and nothing is written. A unit carries at most 50 sizes (`formatCapReached`). Sizes can also be sent on the unit intake itself (`sizes[]` or grouped rows), which is the primary way. At most 1000 rows per request (`400` otherwise). Requires `packaging:write`; customer workspace with the PPWR module enabled — see the guide.","tags":["PPWR Packaging Data"],"requestBody":"cbcc3b6a-b651-42a2-8a39-6b92b60f3c37","responses":{"200":"9ff43b3b-ae14-4635-b653-a0c99c228f40","400":"9a6832fa-fda2-489b-966a-5f098b345929","401":"118e9744-340b-4dd4-b327-db9739f9f8d7","403":"5aebd07d-8a38-455b-a1c3-c1966806dcea","409":"5fbba16f-01f4-451c-96d5-a22775e0063f","429":"edd3a145-b1ef-405a-8e1f-8d77fade46f5","500":"31af450f-9c2e-42f4-9f1d-a28c4ef1029d"},"method":"post","type":"path","servers":["525ee7a2-0b29-4150-83c9-6311c95aea37"],"security":["bae4c7a0-d716-46dc-bfdc-909a8704f12f"],"path":"/api/v1/ppwr/formats","baseUrlOptions":["https://app.polygon-one.com"],"title":"Upsert Packaging Sizes","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"type":"array","items":{"type":"object","properties":{"specInternalRef":{"type":"string","minLength":1,"description":"`internalRef` of an existing packaging unit in YOUR company. An unknown reference is the row error `unknownUnitRef` — the unit is never auto-created.","isRequired":true,"uniqueKey":"oneOf.0.items.[INDEX].specInternalRef","typeLabel":"string"},"reference":{"type":"string","minLength":1,"maxLength":120,"description":"The size's identifier, unique within your company.","isRequired":true,"uniqueKey":"oneOf.0.items.[INDEX].reference","typeLabel":"string"},"gtin":{"oneOf":[{"type":"string","pattern":"^(\\d{8}|\\d{12}|\\d{13}|\\d{14})$","description":"GTIN of the size: 8, 12, 13 or 14 digits.","uniqueKey":"oneOf.0.items.[INDEX].gtin.oneOf.0","typeLabel":"string"},{"type":"null","pattern":"^(\\d{8}|\\d{12}|\\d{13}|\\d{14})$","description":"GTIN of the size: 8, 12, 13 or 14 digits.","uniqueKey":"oneOf.0.items.[INDEX].gtin.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.items.[INDEX].gtin","typeLabel":"string | null"},"supplierReference":{"oneOf":[{"type":"string","maxLength":120,"description":"The supplier's own reference for the size (at most 120 characters).","uniqueKey":"oneOf.0.items.[INDEX].supplierReference.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":120,"description":"The supplier's own reference for the size (at most 120 characters).","uniqueKey":"oneOf.0.items.[INDEX].supplierReference.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.items.[INDEX].supplierReference","typeLabel":"string | null"},"label":{"oneOf":[{"type":"string","maxLength":120,"description":"Human-readable name of the size (at most 120 characters).","uniqueKey":"oneOf.0.items.[INDEX].label.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":120,"description":"Human-readable name of the size (at most 120 characters).","uniqueKey":"oneOf.0.items.[INDEX].label.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.items.[INDEX].label","typeLabel":"string | null"},"widthMm":{"oneOf":[{"type":"string","description":"Width in mm.","uniqueKey":"oneOf.0.items.[INDEX].widthMm.oneOf.0","typeLabel":"string"},{"type":"null","description":"Width in mm.","uniqueKey":"oneOf.0.items.[INDEX].widthMm.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.items.[INDEX].widthMm","typeLabel":"string | null"},"heightMm":{"oneOf":[{"type":"string","description":"Height in mm.","uniqueKey":"oneOf.0.items.[INDEX].heightMm.oneOf.0","typeLabel":"string"},{"type":"null","description":"Height in mm.","uniqueKey":"oneOf.0.items.[INDEX].heightMm.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.items.[INDEX].heightMm","typeLabel":"string | null"},"depthMm":{"oneOf":[{"type":"string","description":"Depth in mm.","uniqueKey":"oneOf.0.items.[INDEX].depthMm.oneOf.0","typeLabel":"string"},{"type":"null","description":"Depth in mm.","uniqueKey":"oneOf.0.items.[INDEX].depthMm.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.items.[INDEX].depthMm","typeLabel":"string | null"}},"required":["specInternalRef","reference"],"description":"One size of an existing packaging unit, for `POST /api/v1/ppwr/formats`. Upsert key: (`specInternalRef`, `reference`). Blank-is-keep: an omitted or blank field keeps the stored value, so this endpoint can add and change size data but never clear it. Filling an empty field is automatic; changing a stored value needs `overwrite: true` (`409 overwriteRequired` otherwise, nothing written). Naming the unit's own `internalRef` addresses its PRIMARY size (its reference always follows the unit and is never renamed here).","uniqueKey":"oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Bare array form.","maxItems":1000,"uniqueKey":"oneOf.0","typeLabel":"object[]"},{"type":"object","description":"Envelope form for the size intake. Blank-is-keep; changing a stored value needs `overwrite: true`.","required":["rows"],"properties":{"rows":{"type":"array","items":{"type":"object","properties":{"specInternalRef":{"type":"string","minLength":1,"description":"`internalRef` of an existing packaging unit in YOUR company. An unknown reference is the row error `unknownUnitRef` — the unit is never auto-created.","isRequired":true,"uniqueKey":"oneOf.1.rows.items.[INDEX].specInternalRef","typeLabel":"string"},"reference":{"type":"string","minLength":1,"maxLength":120,"description":"The size's identifier, unique within your company.","isRequired":true,"uniqueKey":"oneOf.1.rows.items.[INDEX].reference","typeLabel":"string"},"gtin":{"oneOf":[{"type":"string","pattern":"^(\\d{8}|\\d{12}|\\d{13}|\\d{14})$","description":"GTIN of the size: 8, 12, 13 or 14 digits.","uniqueKey":"oneOf.1.rows.items.[INDEX].gtin.oneOf.0","typeLabel":"string"},{"type":"null","pattern":"^(\\d{8}|\\d{12}|\\d{13}|\\d{14})$","description":"GTIN of the size: 8, 12, 13 or 14 digits.","uniqueKey":"oneOf.1.rows.items.[INDEX].gtin.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.rows.items.[INDEX].gtin","typeLabel":"string | null"},"supplierReference":{"oneOf":[{"type":"string","maxLength":120,"description":"The supplier's own reference for the size (at most 120 characters).","uniqueKey":"oneOf.1.rows.items.[INDEX].supplierReference.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":120,"description":"The supplier's own reference for the size (at most 120 characters).","uniqueKey":"oneOf.1.rows.items.[INDEX].supplierReference.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.rows.items.[INDEX].supplierReference","typeLabel":"string | null"},"label":{"oneOf":[{"type":"string","maxLength":120,"description":"Human-readable name of the size (at most 120 characters).","uniqueKey":"oneOf.1.rows.items.[INDEX].label.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":120,"description":"Human-readable name of the size (at most 120 characters).","uniqueKey":"oneOf.1.rows.items.[INDEX].label.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.rows.items.[INDEX].label","typeLabel":"string | null"},"widthMm":{"oneOf":[{"type":"string","description":"Width in mm.","uniqueKey":"oneOf.1.rows.items.[INDEX].widthMm.oneOf.0","typeLabel":"string"},{"type":"null","description":"Width in mm.","uniqueKey":"oneOf.1.rows.items.[INDEX].widthMm.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.rows.items.[INDEX].widthMm","typeLabel":"string | null"},"heightMm":{"oneOf":[{"type":"string","description":"Height in mm.","uniqueKey":"oneOf.1.rows.items.[INDEX].heightMm.oneOf.0","typeLabel":"string"},{"type":"null","description":"Height in mm.","uniqueKey":"oneOf.1.rows.items.[INDEX].heightMm.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.rows.items.[INDEX].heightMm","typeLabel":"string | null"},"depthMm":{"oneOf":[{"type":"string","description":"Depth in mm.","uniqueKey":"oneOf.1.rows.items.[INDEX].depthMm.oneOf.0","typeLabel":"string"},{"type":"null","description":"Depth in mm.","uniqueKey":"oneOf.1.rows.items.[INDEX].depthMm.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.rows.items.[INDEX].depthMm","typeLabel":"string | null"}},"required":["specInternalRef","reference"],"description":"One size of an existing packaging unit, for `POST /api/v1/ppwr/formats`. Upsert key: (`specInternalRef`, `reference`). Blank-is-keep: an omitted or blank field keeps the stored value, so this endpoint can add and change size data but never clear it. Filling an empty field is automatic; changing a stored value needs `overwrite: true` (`409 overwriteRequired` otherwise, nothing written). Naming the unit's own `internalRef` addresses its PRIMARY size (its reference always follows the unit and is never renamed here).","uniqueKey":"oneOf.1.rows.items.[INDEX]","typeLabel":"object"},"maxItems":1000,"description":"The rows, at most 1000 per request.","isRequired":true,"uniqueKey":"oneOf.1.rows","typeLabel":"object[]"},"overwrite":{"type":"boolean","default":false,"description":"Authorises overwriting values that are already filled (including supplier- and AI-attested ones). Without it a batch containing any such change is refused with `409 overwriteRequired` and **nothing** is written.","uniqueKey":"oneOf.1.overwrite","typeLabel":"boolean"}},"uniqueKey":"oneOf.1","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object[] | object"},"example":{"rows":[{"specInternalRef":"U-1","reference":"U-1-40","label":"40 tea filters","gtin":"2000000000022","widthMm":"120","heightMm":"75","depthMm":"110"}]},"examples":{"Example":{"title":"Example","value":{"rows":[{"specInternalRef":"U-1","reference":"U-1-40","label":"40 tea filters","gtin":"2000000000022","widthMm":"120","heightMm":"75","depthMm":"110"}]}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"9ff43b3b-ae14-4635-b653-a0c99c228f40":{"description":"Intake result (partial accept — see the schema).","content":{"application/json":{"schema":{"type":"object","description":"Result of a synchronous PPWR intake. **Partial accept:** valid rows commit even when other rows are `invalid` or `failed` — the one exception is the `409` overwrite confirmation, which is all-or-nothing. **Idempotent:** replaying an identical request changes nothing (matched rows return as `skipped`), except unit rows without `internalRef`, which are always creates.","required":["imported","updated","skipped","failed","invalid"],"properties":{"imported":{"type":"integer","description":"ENTITIES created (units, components, links) — never sizes.","isRequired":true,"uniqueKey":"imported","typeLabel":"integer"},"updated":{"type":"array","items":{"type":"string","uniqueKey":"updated.items.[INDEX]","typeLabel":"string"},"description":"Identifiers of rows whose existing match changed. A size created on an existing unit appears as `\u003cunit ref> / \u003csize ref>`.","isRequired":true,"uniqueKey":"updated","typeLabel":"string[]"},"skipped":{"type":"array","items":{"type":"string","uniqueKey":"skipped.items.[INDEX]","typeLabel":"string"},"description":"Identifiers of rows that matched with nothing to change.","isRequired":true,"uniqueKey":"skipped","typeLabel":"string[]"},"failed":{"type":"array","items":{"type":"object","description":"A row the upsert engine rejected. Carries no `index` — the engine reports by identifier.","properties":{"identifier":{"type":"string","description":"Identifies the rejected row, e.g. its `code` (components) or `internalRef` (units).","uniqueKey":"failed.items.[INDEX].identifier","typeLabel":"string"},"error":{"type":"string","description":"Stable machine key (clamped: anything unexpected becomes `dbError`).","uniqueKey":"failed.items.[INDEX].error","typeLabel":"string"}},"uniqueKey":"failed.items.[INDEX]","typeLabel":"object"},"description":"Rows the upsert engine rejected (unknown reference, ambiguous match, a new unit over the plan's unit quota → `packagingUnitQuotaReached`, …). A row refused before its write (these, and a new unit over the quota) writes nothing — not even the supplier it names; a unit written whose component or article link then failed is reported here with that link's key. Its `error` values are stable machine keys.","isRequired":true,"uniqueKey":"failed","typeLabel":"object[]"},"invalid":{"type":"array","items":{"type":"object","description":"A row rejected before the upsert engine ran, reported by its position in the request.","properties":{"index":{"type":"integer","description":"0-based position of the row in the request.","uniqueKey":"invalid.items.[INDEX].index","typeLabel":"integer"},"identifier":{"type":"string","description":"The row's key as sent (`code`, `internalRef`, `specInternalRef` or `zsvrCategory`, depending on the endpoint); empty string when the row carried none.","uniqueKey":"invalid.items.[INDEX].identifier","typeLabel":"string"},"error":{"type":"string","description":"Usually a stable machine key; a field with no custom message falls back to the validator's own English text.","uniqueKey":"invalid.items.[INDEX].error","typeLabel":"string"}},"uniqueKey":"invalid.items.[INDEX]","typeLabel":"object"},"description":"Rows rejected by schema validation before the engine ran. Most `error` values are stable machine keys, but a field with no custom message falls back to the validator's own English text — match on the key, fall back to displaying the string.","isRequired":true,"uniqueKey":"invalid","typeLabel":"object[]"},"sizesCreated":{"type":"integer","description":"Unit intake only: sizes created for the rows' units.","uniqueKey":"sizesCreated","typeLabel":"integer"},"articleNumbersUnmatched":{"type":"integer","description":"Unit intake only: distinct `articleNumbers` no live article matched. Skipped, never a row error.","uniqueKey":"articleNumbersUnmatched","typeLabel":"integer"},"articleLinksCreated":{"type":"integer","description":"Unit intake only: unit⇄article links created from `articleNumbers`.","uniqueKey":"articleLinksCreated","typeLabel":"integer"},"componentLinksCreated":{"type":"integer","description":"Unit intake only: unit⇄component links created from `componentCodes`.","uniqueKey":"componentLinksCreated","typeLabel":"integer"},"componentStubsCreated":{"type":"integer","description":"Unit intake only: minimal placeholder components created for unknown `componentCodes`.","uniqueKey":"componentStubsCreated","typeLabel":"integer"},"suppliersCreated":{"type":"array","items":{"type":"string","uniqueKey":"suppliersCreated.items.[INDEX]","typeLabel":"string"},"description":"Unit + component intake: names of the name-only suppliers created for `supplierName`s that matched no existing supplier.","uniqueKey":"suppliersCreated","typeLabel":"string[]"},"unitsWithoutComponents":{"type":"integer","description":"Unit intake only: units created with neither `componentCodes` nor a `material`. They hold no component yet, so no regulated value can be recorded on them — send `componentCodes`, or `material` for single-part packaging.","uniqueKey":"unitsWithoutComponents","typeLabel":"integer"},"mainPartsCreated":{"type":"integer","description":"Unit intake only: main-part components created from rows' `material` (one per unit that had no component yet).","uniqueKey":"mainPartsCreated","typeLabel":"integer"}},"uniqueKey":"","typeLabel":"object"},"example":{"imported":1,"updated":[],"skipped":[],"failed":[],"invalid":[]},"examples":{"Example":{"title":"Example","value":{"imported":1,"updated":[],"skipped":[],"failed":[],"invalid":[]}}},"exampleType":"examples"}},"exampleType":"examples"},"9a6832fa-fda2-489b-966a-5f098b345929":{"description":"Invalid request data","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Human-readable message, or a stable machine key (e.g. `batchTooLarge`, `overwriteRequired`, `duplicate`) on the batch, PPWR and upload endpoints.","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","description":"Stable machine code on some `400` and `409` answers, e.g. `plot_geometry_invalid` or `FORK_HAS_ORDER`. Match on it rather than on `error`. Further flat keys may accompany it (e.g. `precisionDigits`, `field`).","uniqueKey":"code","typeLabel":"string"},"details":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","description":"Machine code of the issue, e.g. `invalid_type`, `too_small`, `custom`.","isRequired":true,"uniqueKey":"details.items.[INDEX].code","typeLabel":"string"},"path":{"type":"array","items":{"oneOf":[{"type":"string","uniqueKey":"details.items.[INDEX].path.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"number","uniqueKey":"details.items.[INDEX].path.items.[INDEX].oneOf.1","typeLabel":"number"}],"uniqueKey":"details.items.[INDEX].path.items.[INDEX]","typeLabel":"string | number"},"description":"Location of the offending value in the request: object keys and 0-based array positions.","isRequired":true,"uniqueKey":"details.items.[INDEX].path","typeLabel":"(string | number)[]"},"message":{"type":"string","description":"Human-readable English explanation. The wording may change; match on `code` and `path`.","isRequired":true,"uniqueKey":"details.items.[INDEX].message","typeLabel":"string"}},"required":["code","path","message"],"additionalProperties":{"oneOf":[{}],"uniqueKey":"details.items.[INDEX].additionalProperties","typeLabel":"any"},"description":"One validation issue. Issue-specific keys (e.g. `expected`, `minimum`) may accompany the three listed.","uniqueKey":"details.items.[INDEX]","typeLabel":"object"},"description":"The validation issues on a `400` validation error.","uniqueKey":"details","typeLabel":"object[]"},"warnings":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["duplicateName","duplicateEan"],"description":"`duplicateName`: a live article of your company already has this name. `duplicateEan`: a live article already has this EAN.","isRequired":true,"uniqueKey":"warnings.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"existingInternalArticleNr":{"type":"string","description":"`duplicateName` only: internal article number of the existing article.","uniqueKey":"warnings.items.[INDEX].existingInternalArticleNr","typeLabel":"string"},"existingArticleName":{"type":"string","description":"`duplicateEan` only: name of the existing article.","uniqueKey":"warnings.items.[INDEX].existingArticleName","typeLabel":"string"}},"required":["type"],"uniqueKey":"warnings.items.[INDEX]","typeLabel":"object"},"description":"`POST /articles` `409` only: soft duplicate warnings. Resend with `acknowledgeWarnings: true` to create the article anyway.","uniqueKey":"warnings","typeLabel":"object[]"}},"required":["error"],"additionalProperties":{"oneOf":[{}],"uniqueKey":"additionalProperties","typeLabel":"any"},"description":"Error body of every endpoint except the `429` the edge answers. Some errors add flat machine-readable keys next to `error`, e.g. `maxBatchSize` on `413 batchTooLarge` or `confirmUpdateCount` on `409 overwriteRequired`.","uniqueKey":"","typeLabel":"object"},"example":{"error":"Validation failed","details":[{"origin":"string","code":"too_small","minimum":1,"inclusive":true,"path":["address","street"],"message":"Address is required."}]},"examples":{"Example":{"title":"Example","value":{"error":"Validation failed","details":[{"origin":"string","code":"too_small","minimum":1,"inclusive":true,"path":["address","street"],"message":"Address is required."}]}}},"exampleType":"examples"}},"exampleType":"examples"},"118e9744-340b-4dd4-b327-db9739f9f8d7":{"description":"Invalid or expired API key, or the key's user account is not active.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Human-readable message, or a stable machine key (e.g. `batchTooLarge`, `overwriteRequired`, `duplicate`) on the batch, PPWR and upload endpoints.","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","description":"Stable machine code on some `400` and `409` answers, e.g. `plot_geometry_invalid` or `FORK_HAS_ORDER`. Match on it rather than on `error`. Further flat keys may accompany it (e.g. `precisionDigits`, `field`).","uniqueKey":"code","typeLabel":"string"},"details":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","description":"Machine code of the issue, e.g. `invalid_type`, `too_small`, `custom`.","isRequired":true,"uniqueKey":"details.items.[INDEX].code","typeLabel":"string"},"path":{"type":"array","items":{"oneOf":[{"type":"string","uniqueKey":"details.items.[INDEX].path.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"number","uniqueKey":"details.items.[INDEX].path.items.[INDEX].oneOf.1","typeLabel":"number"}],"uniqueKey":"details.items.[INDEX].path.items.[INDEX]","typeLabel":"string | number"},"description":"Location of the offending value in the request: object keys and 0-based array positions.","isRequired":true,"uniqueKey":"details.items.[INDEX].path","typeLabel":"(string | number)[]"},"message":{"type":"string","description":"Human-readable English explanation. The wording may change; match on `code` and `path`.","isRequired":true,"uniqueKey":"details.items.[INDEX].message","typeLabel":"string"}},"required":["code","path","message"],"additionalProperties":{"oneOf":[{}],"uniqueKey":"details.items.[INDEX].additionalProperties","typeLabel":"any"},"description":"One validation issue. Issue-specific keys (e.g. `expected`, `minimum`) may accompany the three listed.","uniqueKey":"details.items.[INDEX]","typeLabel":"object"},"description":"The validation issues on a `400` validation error.","uniqueKey":"details","typeLabel":"object[]"},"warnings":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["duplicateName","duplicateEan"],"description":"`duplicateName`: a live article of your company already has this name. `duplicateEan`: a live article already has this EAN.","isRequired":true,"uniqueKey":"warnings.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"existingInternalArticleNr":{"type":"string","description":"`duplicateName` only: internal article number of the existing article.","uniqueKey":"warnings.items.[INDEX].existingInternalArticleNr","typeLabel":"string"},"existingArticleName":{"type":"string","description":"`duplicateEan` only: name of the existing article.","uniqueKey":"warnings.items.[INDEX].existingArticleName","typeLabel":"string"}},"required":["type"],"uniqueKey":"warnings.items.[INDEX]","typeLabel":"object"},"description":"`POST /articles` `409` only: soft duplicate warnings. Resend with `acknowledgeWarnings: true` to create the article anyway.","uniqueKey":"warnings","typeLabel":"object[]"}},"required":["error"],"additionalProperties":{"oneOf":[{}],"uniqueKey":"additionalProperties","typeLabel":"any"},"description":"Error body of every endpoint except the `429` the edge answers. Some errors add flat machine-readable keys next to `error`, e.g. `maxBatchSize` on `413 batchTooLarge` or `confirmUpdateCount` on `409 overwriteRequired`.","uniqueKey":"","typeLabel":"object"},"example":{"error":"Invalid or expired API key"},"examples":{"Example":{"title":"Example","value":{"error":"Invalid or expired API key"}}},"exampleType":"examples"}},"exampleType":"examples"},"5aebd07d-8a38-455b-a1c3-c1966806dcea":{"description":"Insufficient permissions for this resource","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Human-readable message, or a stable machine key (e.g. `batchTooLarge`, `overwriteRequired`, `duplicate`) on the batch, PPWR and upload endpoints.","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","description":"Stable machine code on some `400` and `409` answers, e.g. `plot_geometry_invalid` or `FORK_HAS_ORDER`. Match on it rather than on `error`. Further flat keys may accompany it (e.g. `precisionDigits`, `field`).","uniqueKey":"code","typeLabel":"string"},"details":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","description":"Machine code of the issue, e.g. `invalid_type`, `too_small`, `custom`.","isRequired":true,"uniqueKey":"details.items.[INDEX].code","typeLabel":"string"},"path":{"type":"array","items":{"oneOf":[{"type":"string","uniqueKey":"details.items.[INDEX].path.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"number","uniqueKey":"details.items.[INDEX].path.items.[INDEX].oneOf.1","typeLabel":"number"}],"uniqueKey":"details.items.[INDEX].path.items.[INDEX]","typeLabel":"string | number"},"description":"Location of the offending value in the request: object keys and 0-based array positions.","isRequired":true,"uniqueKey":"details.items.[INDEX].path","typeLabel":"(string | number)[]"},"message":{"type":"string","description":"Human-readable English explanation. The wording may change; match on `code` and `path`.","isRequired":true,"uniqueKey":"details.items.[INDEX].message","typeLabel":"string"}},"required":["code","path","message"],"additionalProperties":{"oneOf":[{}],"uniqueKey":"details.items.[INDEX].additionalProperties","typeLabel":"any"},"description":"One validation issue. Issue-specific keys (e.g. `expected`, `minimum`) may accompany the three listed.","uniqueKey":"details.items.[INDEX]","typeLabel":"object"},"description":"The validation issues on a `400` validation error.","uniqueKey":"details","typeLabel":"object[]"},"warnings":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["duplicateName","duplicateEan"],"description":"`duplicateName`: a live article of your company already has this name. `duplicateEan`: a live article already has this EAN.","isRequired":true,"uniqueKey":"warnings.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"existingInternalArticleNr":{"type":"string","description":"`duplicateName` only: internal article number of the existing article.","uniqueKey":"warnings.items.[INDEX].existingInternalArticleNr","typeLabel":"string"},"existingArticleName":{"type":"string","description":"`duplicateEan` only: name of the existing article.","uniqueKey":"warnings.items.[INDEX].existingArticleName","typeLabel":"string"}},"required":["type"],"uniqueKey":"warnings.items.[INDEX]","typeLabel":"object"},"description":"`POST /articles` `409` only: soft duplicate warnings. Resend with `acknowledgeWarnings: true` to create the article anyway.","uniqueKey":"warnings","typeLabel":"object[]"}},"required":["error"],"additionalProperties":{"oneOf":[{}],"uniqueKey":"additionalProperties","typeLabel":"any"},"description":"Error body of every endpoint except the `429` the edge answers. Some errors add flat machine-readable keys next to `error`, e.g. `maxBatchSize` on `413 batchTooLarge` or `confirmUpdateCount` on `409 overwriteRequired`.","uniqueKey":"","typeLabel":"object"},"example":{"error":"Forbidden"},"examples":{"Example":{"title":"Example","value":{"error":"Forbidden"}}},"exampleType":"examples"}},"exampleType":"examples"},"5fbba16f-01f4-451c-96d5-a22775e0063f":{"description":"Unconfirmed overwrite — nothing was written.","content":{"application/json":{"schema":{"type":"object","description":"The batch contains at least one change that would overwrite an already-filled value. Nothing was written — resubmit with `overwrite: true`, or drop those rows.","required":["error","confirmUpdateCount"],"properties":{"error":{"type":"string","enum":["overwriteRequired"],"description":"Always `overwriteRequired`.","isRequired":true,"uniqueKey":"error","typeLabel":"enum\u003cstring>"},"confirmUpdateCount":{"type":"integer","description":"How many rows in the batch need confirmation.","isRequired":true,"uniqueKey":"confirmUpdateCount","typeLabel":"integer"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":"overwriteRequired","confirmUpdateCount":1},"examples":{"Example":{"title":"Example","value":{"error":"overwriteRequired","confirmUpdateCount":1}}},"exampleType":"examples"}},"exampleType":"examples"},"edd3a145-b1ef-405a-8e1f-8d77fade46f5":{"description":"Rate limit exceeded: currently 1000 requests per 60 seconds per client IP across all `/api` paths. Issued by the edge before the application runs, so the JSON body differs from every other error: `error` is an object. A `429` with an HTML body instead of JSON means the request carried no API key.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["rate_limited"],"description":"Always `rate_limited`.","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable explanation.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"}},"required":["code","message"],"description":"Unlike every other error body, `error` is an object here.","isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"example":{"error":{"code":"rate_limited","message":"…"}},"examples":{"Example":{"title":"Example","value":{"error":{"code":"rate_limited","message":"…"}}}},"exampleType":"examples"}},"exampleType":"examples"},"31af450f-9c2e-42f4-9f1d-a28c4ef1029d":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Human-readable message, or a stable machine key (e.g. `batchTooLarge`, `overwriteRequired`, `duplicate`) on the batch, PPWR and upload endpoints.","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","description":"Stable machine code on some `400` and `409` answers, e.g. `plot_geometry_invalid` or `FORK_HAS_ORDER`. Match on it rather than on `error`. Further flat keys may accompany it (e.g. `precisionDigits`, `field`).","uniqueKey":"code","typeLabel":"string"},"details":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","description":"Machine code of the issue, e.g. `invalid_type`, `too_small`, `custom`.","isRequired":true,"uniqueKey":"details.items.[INDEX].code","typeLabel":"string"},"path":{"type":"array","items":{"oneOf":[{"type":"string","uniqueKey":"details.items.[INDEX].path.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"number","uniqueKey":"details.items.[INDEX].path.items.[INDEX].oneOf.1","typeLabel":"number"}],"uniqueKey":"details.items.[INDEX].path.items.[INDEX]","typeLabel":"string | number"},"description":"Location of the offending value in the request: object keys and 0-based array positions.","isRequired":true,"uniqueKey":"details.items.[INDEX].path","typeLabel":"(string | number)[]"},"message":{"type":"string","description":"Human-readable English explanation. The wording may change; match on `code` and `path`.","isRequired":true,"uniqueKey":"details.items.[INDEX].message","typeLabel":"string"}},"required":["code","path","message"],"additionalProperties":{"oneOf":[{}],"uniqueKey":"details.items.[INDEX].additionalProperties","typeLabel":"any"},"description":"One validation issue. Issue-specific keys (e.g. `expected`, `minimum`) may accompany the three listed.","uniqueKey":"details.items.[INDEX]","typeLabel":"object"},"description":"The validation issues on a `400` validation error.","uniqueKey":"details","typeLabel":"object[]"},"warnings":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["duplicateName","duplicateEan"],"description":"`duplicateName`: a live article of your company already has this name. `duplicateEan`: a live article already has this EAN.","isRequired":true,"uniqueKey":"warnings.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"existingInternalArticleNr":{"type":"string","description":"`duplicateName` only: internal article number of the existing article.","uniqueKey":"warnings.items.[INDEX].existingInternalArticleNr","typeLabel":"string"},"existingArticleName":{"type":"string","description":"`duplicateEan` only: name of the existing article.","uniqueKey":"warnings.items.[INDEX].existingArticleName","typeLabel":"string"}},"required":["type"],"uniqueKey":"warnings.items.[INDEX]","typeLabel":"object"},"description":"`POST /articles` `409` only: soft duplicate warnings. Resend with `acknowledgeWarnings: true` to create the article anyway.","uniqueKey":"warnings","typeLabel":"object[]"}},"required":["error"],"additionalProperties":{"oneOf":[{}],"uniqueKey":"additionalProperties","typeLabel":"any"},"description":"Error body of every endpoint except the `429` the edge answers. Some errors add flat machine-readable keys next to `error`, e.g. `maxBatchSize` on `413 batchTooLarge` or `confirmUpdateCount` on `409 overwriteRequired`.","uniqueKey":"","typeLabel":"object"},"example":{"error":"Internal server error"},"examples":{"Example":{"title":"Example","value":{"error":"Internal server error"}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"bae4c7a0-d716-46dc-bfdc-909a8704f12f":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"API Key","description":"API key generated in Settings > API Keys. Include as `Authorization: Bearer \u003ckey>`.","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"525ee7a2-0b29-4150-83c9-6311c95aea37":{"url":"https://app.polygon-one.com","description":"Production Server"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"API Key","description":"API key generated in Settings > API Keys. Include as `Authorization: Bearer \u003ckey>`.","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"API key generated in Settings > API Keys. Include as `Authorization: Bearer \u003ckey>`.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"polygonone","siteName":"Polygon One Helpcenter","title":"Upsert Packaging Sizes - Polygon One Helpcenter","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"de":{"href":"/api-reference/endpoint/ppwr/formats/upsert","matchLevel":1},"en":{"href":"/en/api-reference/endpoint/ppwr/formats/upsert","matchLevel":0},"fr":{"href":"/fr/lieferanten/start","matchLevel":4},"es":{"href":"/es/lieferanten/start","matchLevel":4},"zh":{"href":"/zh/lieferanten/start","matchLevel":4}}},"lastModified":"2026-10-06T10:25:26.544Z","originalFileLocation":"en/api-reference/endpoint/ppwr/formats/upsert.mdx","locale":"en"},"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=\"Upsert the sizes (formats) a packaging unit comes in, keyed on (specInternalRef, reference). Idempotent and blank-is-keep: a replayed row comes back as skipped, and an omitted field keeps the stored value — this endpoint can add and change size data, never clear it. Same column policy and overwrite confirmation as the unit intake: filling an empty field is automatic, changing a stored value (including the unit\u0026#x27;s own GTIN and dimensions on its PRIMARY size) needs overwrite: true, otherwise the batch is refused with 409 overwriteRequired and nothing is written. A unit carries at most 50 sizes (formatCapReached). Sizes can also be sent on the unit intake itself (sizes[] or grouped rows), which is the primary way. At most 1000 rows per request (400 otherwise). Requires packaging:write; customer workspace with the PPWR module enabled — see the guide.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Polygon One Helpcenter\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/polygonone/32k2Y3_9P8MpmQgs/_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/polygonone/32k2Y3_9P8MpmQgs/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/polygonone/32k2Y3_9P8MpmQgs/_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/polygonone/32k2Y3_9P8MpmQgs/_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/polygonone/32k2Y3_9P8MpmQgs/_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/polygonone/32k2Y3_9P8MpmQgs/_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/polygonone/32k2Y3_9P8MpmQgs/_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/polygonone/32k2Y3_9P8MpmQgs/_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/polygonone/32k2Y3_9P8MpmQgs/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Upsert Packaging Sizes - Polygon One Helpcenter\">\u003cmeta data-mint-head property=\"og:description\" content=\"Upsert the sizes (formats) a packaging unit comes in, keyed on (specInternalRef, reference). Idempotent and blank-is-keep: a replayed row comes back as skipped, and an omitted field keeps the stored value — this endpoint can add and change size data, never clear it. Same column policy and overwrite confirmation as the unit intake: filling an empty field is automatic, changing a stored value (including the unit\u0026#x27;s own GTIN and dimensions on its PRIMARY size) needs overwrite: true, otherwise the batch is refused with 409 overwriteRequired and nothing is written. A unit carries at most 50 sizes (formatCapReached). Sizes can also be sent on the unit intake itself (sizes[] or grouped rows), which is the primary way. At most 1000 rows per request (400 otherwise). Requires packaging:write; customer workspace with the PPWR module enabled — see the guide.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Polygon One Helpcenter\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://help.polygon-one.com/en/api-reference/endpoint/ppwr/formats/upsert\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://polygonone.mintlify.app/_mintlify/api/og/v2?division=PPWR+%E2%80%93+Packaging+Data\u0026amp;title=Upsert+Packaging+Sizes\u0026amp;description=Upsert+the+sizes+%28formats%29+a+packaging+unit+comes+in%2C+keyed+on+%28%60specInternalRef%60%2C+%60reference%60%29.+Idempotent+and+blank-is-keep%3A+a+replayed+row+comes+back+as+%60ski\u0026amp;theme=0c175d962800f7cffd688852\u0026amp;signature=aa97e728873f153be4e55e9ecbf5ebe845f9aa89ccc16a776eb11131a7f6712c\">\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=\"Upsert Packaging Sizes - Polygon One Helpcenter\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Upsert the sizes (formats) a packaging unit comes in, keyed on (specInternalRef, reference). Idempotent and blank-is-keep: a replayed row comes back as skipped, and an omitted field keeps the stored value — this endpoint can add and change size data, never clear it. Same column policy and overwrite confirmation as the unit intake: filling an empty field is automatic, changing a stored value (including the unit\u0026#x27;s own GTIN and dimensions on its PRIMARY size) needs overwrite: true, otherwise the batch is refused with 409 overwriteRequired and nothing is written. A unit carries at most 50 sizes (formatCapReached). Sizes can also be sent on the unit intake itself (sizes[] or grouped rows), which is the primary way. At most 1000 rows per request (400 otherwise). Requires packaging:write; customer workspace with the PPWR module enabled — see the guide.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://polygonone.mintlify.app/_mintlify/api/og/v2?division=PPWR+%E2%80%93+Packaging+Data\u0026amp;title=Upsert+Packaging+Sizes\u0026amp;description=Upsert+the+sizes+%28formats%29+a+packaging+unit+comes+in%2C+keyed+on+%28%60specInternalRef%60%2C+%60reference%60%29.+Idempotent+and+blank-is-keep%3A+a+replayed+row+comes+back+as+%60ski\u0026amp;theme=0c175d962800f7cffd688852\u0026amp;signature=aa97e728873f153be4e55e9ecbf5ebe845f9aa89ccc16a776eb11131a7f6712c\">\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/polygonone/32k2Y3_9P8MpmQgs/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Polygon One Helpcenter\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#15803D\">\u003clink data-mint-head rel=\"canonical\" href=\"https://help.polygon-one.com/en/api-reference/endpoint/ppwr/formats/upsert\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/en/api-reference/endpoint/ppwr/formats/upsert.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://help.polygon-one.com/en/api-reference/endpoint/ppwr/formats/upsert\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"de\" href=\"https://help.polygon-one.com/api-reference/endpoint/ppwr/formats/upsert\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://help.polygon-one.com/api-reference/endpoint/ppwr/formats/upsert\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://help.polygon-one.com/#organization\",\"name\":\"Polygon One Helpcenter\",\"url\":\"https://help.polygon-one.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/polygonone/AMoRp9VbcW46gNsT/logo/light.svg?fit=max\u0026auto=format\u0026n=AMoRp9VbcW46gNsT\u0026q=85\u0026s=4a316da81d50e49c7f9f6480a235558e\"}},{\"@type\":\"WebSite\",\"@id\":\"https://help.polygon-one.com#website\",\"name\":\"Polygon One Helpcenter\",\"url\":\"https://help.polygon-one.com\",\"publisher\":{\"@id\":\"https://help.polygon-one.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://help.polygon-one.com/en/api-reference/endpoint/ppwr/formats/upsert#webpage\",\"url\":\"https://help.polygon-one.com/en/api-reference/endpoint/ppwr/formats/upsert\",\"name\":\"Upsert Packaging Sizes\",\"description\":\"Upsert the sizes (formats) a packaging unit comes in, keyed on (specInternalRef, reference). Idempotent and blank-is-keep: a replayed row comes back as skipped, and an omitted field keeps the stored value — this endpoint can add and change size data, never clear it. Same column policy and overwrite confirmation as the unit intake: filling an empty field is automatic, changing a stored value (including the unit's own GTIN and dimensions on its PRIMARY size) needs overwrite: true, otherwise the batch is refused with 409 overwriteRequired and nothing is written. A unit carries at most 50 sizes (formatCapReached). Sizes can also be sent on the unit intake itself (sizes[] or grouped rows), which is the primary way. At most 1000 rows per request (400 otherwise). Requires packaging:write; customer workspace with the PPWR module enabled — see the guide.\",\"dateModified\":\"2026-10-06T10:25:26.544Z\",\"isPartOf\":{\"@id\":\"https://help.polygon-one.com#website\"},\"breadcrumb\":{\"@id\":\"https://help.polygon-one.com/en/api-reference/endpoint/ppwr/formats/upsert#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://help.polygon-one.com/en/api-reference/endpoint/ppwr/formats/upsert#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"PPWR – Packaging Data\",\"item\":\"https://help.polygon-one.com/en/api-reference/endpoint/ppwr/components/list\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Upsert Packaging Sizes\",\"item\":\"https://help.polygon-one.com/en/api-reference/endpoint/ppwr/formats/upsert\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://help.polygon-one.com/en/api-reference/endpoint/ppwr/formats/upsert#apireference\",\"headline\":\"Upsert Packaging Sizes\",\"name\":\"Upsert Packaging Sizes\",\"description\":\"Upsert the sizes (formats) a packaging unit comes in, keyed on (specInternalRef, reference). Idempotent and blank-is-keep: a replayed row comes back as skipped, and an omitted field keeps the stored value — this endpoint can add and change size data, never clear it. Same column policy and overwrite confirmation as the unit intake: filling an empty field is automatic, changing a stored value (including the unit's own GTIN and dimensions on its PRIMARY size) needs overwrite: true, otherwise the batch is refused with 409 overwriteRequired and nothing is written. A unit carries at most 50 sizes (formatCapReached). Sizes can also be sent on the unit intake itself (sizes[] or grouped rows), which is the primary way. At most 1000 rows per request (400 otherwise). Requires packaging:write; customer workspace with the PPWR module enabled — see the guide.\",\"url\":\"https://help.polygon-one.com/en/api-reference/endpoint/ppwr/formats/upsert\",\"mainEntityOfPage\":{\"@id\":\"https://help.polygon-one.com/en/api-reference/endpoint/ppwr/formats/upsert#webpage\"},\"dateModified\":\"2026-10-06T10:25:26.544Z\",\"publisher\":{\"@id\":\"https://help.polygon-one.com/#organization\"},\"isPartOf\":{\"@id\":\"https://help.polygon-one.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Polygon One Helpcenter\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Polygon One Helpcenter","nav":{"global":{"anchors":[]},"languages":[{"language":"de","default":true,"pages":[{"title":"de","href":"/api-reference/endpoint/ppwr/formats/upsert"}]},{"language":"en","tabs":[{"tab":"EUDR","pages":[{"title":"EUDR","href":"/en"}]},{"tab":"PPWR","pages":[{"title":"PPWR","href":"/en/ppwr/uebersicht"}]},{"tab":"API Reference","groups":[{"group":"API Documentation","pages":[{"title":"Introduction","href":"/en/api-reference/introduction"},{"title":"Quickstart","href":"/en/api-reference/quickstart"},{"title":"Recommended integration flows","sidebarTitle":"Integration flows","href":"/en/api-reference/integration-flows"},{"title":"Connect Claude, ChatGPT and Copilot (MCP)","sidebarTitle":"AI assistants (MCP)","href":"/en/api-reference/ki-assistenten"},{"title":"Batch Import (async)","href":"/en/api-reference/batch-import"},{"title":"Orders: lines, positions, status, delta sync","sidebarTitle":"Orders","href":"/en/api-reference/orders"},{"title":"PPWR: Packaging Data, Quantities, Volume Reports","href":"/en/api-reference/ppwr"},{"title":"Geo analysis over the API","href":"/en/api-reference/geo-analysis"},{"title":"Errors \u0026 limits","href":"/en/api-reference/errors-and-limits"},{"title":"Changelog","href":"/en/api-reference/changelog"}]},{"group":"Articles","pages":[{"title":"List Articles","openapi":"GET /api/v1/articles","href":"/en/api-reference/endpoint/articles/list"},{"title":"Create Article","openapi":"POST /api/v1/articles","href":"/en/api-reference/endpoint/articles/create"},{"title":"Get Article by ID","openapi":"GET /api/v1/articles/{id}","href":"/en/api-reference/endpoint/articles/get"},{"title":"Update Article","openapi":"PATCH /api/v1/articles/{id}","href":"/en/api-reference/endpoint/articles/update"},{"title":"Delete Article","openapi":"DELETE /api/v1/articles/{id}","href":"/en/api-reference/endpoint/articles/delete"}]},{"group":"Suppliers","pages":[{"title":"List Suppliers","openapi":"GET /api/v1/suppliers","href":"/en/api-reference/endpoint/suppliers/list"},{"title":"Create Supplier","openapi":"POST /api/v1/suppliers","href":"/en/api-reference/endpoint/suppliers/create"},{"title":"Get Supplier by ID","openapi":"GET /api/v1/suppliers/{id}","href":"/en/api-reference/endpoint/suppliers/get"},{"title":"Update Supplier","openapi":"PATCH /api/v1/suppliers/{id}","href":"/en/api-reference/endpoint/suppliers/update"},{"title":"Delete Supplier","openapi":"DELETE /api/v1/suppliers/{id}","href":"/en/api-reference/endpoint/suppliers/delete"}]},{"group":"Plots","pages":[{"title":"List Plots","openapi":"GET /api/v1/plots","href":"/en/api-reference/endpoint/plots/list"},{"title":"Create Plot","openapi":"POST /api/v1/plots","href":"/en/api-reference/endpoint/plots/create"},{"title":"Validate Plot Geometry","openapi":"POST /api/v1/plots/validate","href":"/en/api-reference/endpoint/plots/validate"},{"title":"Get Plot by ID","openapi":"GET /api/v1/plots/{id}","href":"/en/api-reference/endpoint/plots/get"},{"title":"Download Plot Report","openapi":"GET /api/v1/plots/{id}/report","href":"/en/api-reference/endpoint/plots/report"},{"title":"Update Plot Links","openapi":"PATCH /api/v1/plots/{id}","href":"/en/api-reference/endpoint/plots/update"},{"title":"Delete Plot","openapi":"DELETE /api/v1/plots/{id}","href":"/en/api-reference/endpoint/plots/delete"}]},{"group":"Evidence","pages":[{"title":"Create Evidence Upload URL","openapi":"POST /api/v1/evidence/upload-url","href":"/en/api-reference/endpoint/evidence/upload-url"},{"title":"Attach Evidence","openapi":"POST /api/v1/evidence","href":"/en/api-reference/endpoint/evidence/create"},{"title":"List Evidence","openapi":"GET /api/v1/evidence","href":"/en/api-reference/endpoint/evidence/list"}]},{"group":"Orders","pages":[{"title":"List Orders","openapi":"GET /api/v1/orders","href":"/en/api-reference/endpoint/orders/list"},{"title":"Create Order","openapi":"POST /api/v1/orders","href":"/en/api-reference/endpoint/orders/create"},{"title":"Get Order by ID","openapi":"GET /api/v1/orders/{id}","href":"/en/api-reference/endpoint/orders/get"},{"title":"Update Order","openapi":"PATCH /api/v1/orders/{id}","href":"/en/api-reference/endpoint/orders/update"},{"title":"Delete Order","openapi":"DELETE /api/v1/orders/{id}","href":"/en/api-reference/endpoint/orders/delete"},{"title":"Request Supplier Origin Confirmation","openapi":"POST /api/v1/orders/{id}/origin-confirmation","href":"/en/api-reference/endpoint/orders/origin-confirmation"}]},{"group":"Import Jobs","pages":[{"title":"Get Import Job","openapi":"GET /api/v1/import-jobs/{jobId}","href":"/en/api-reference/endpoint/import-jobs/get"}]},{"group":"DDS Statements","pages":[{"title":"List DDS Statements","openapi":"GET /api/v1/dds-statements","href":"/en/api-reference/endpoint/dds-statements/list"},{"title":"Create DDS Statement","openapi":"POST /api/v1/dds-statements","href":"/en/api-reference/endpoint/dds-statements/create"},{"title":"Get DDS Statement","openapi":"GET /api/v1/dds-statements/{id}","href":"/en/api-reference/endpoint/dds-statements/get"},{"title":"Update DDS Statement","openapi":"PATCH /api/v1/dds-statements/{id}","href":"/en/api-reference/endpoint/dds-statements/update"},{"title":"Delete DDS Statement","openapi":"DELETE /api/v1/dds-statements/{id}","href":"/en/api-reference/endpoint/dds-statements/delete"}]},{"group":"PPWR – Packaging Data","pages":[{"title":"List Packaging Components","openapi":"GET /api/v1/ppwr/components","href":"/en/api-reference/endpoint/ppwr/components/list"},{"title":"Upsert Packaging Components","openapi":"POST /api/v1/ppwr/components","href":"/en/api-reference/endpoint/ppwr/components/upsert"},{"title":"Get Packaging Component by ID","openapi":"GET /api/v1/ppwr/components/{id}","href":"/en/api-reference/endpoint/ppwr/components/get"},{"title":"List Packaging Units","openapi":"GET /api/v1/ppwr/units","href":"/en/api-reference/endpoint/ppwr/units/list"},{"title":"Upsert Packaging Units","openapi":"POST /api/v1/ppwr/units","href":"/en/api-reference/endpoint/ppwr/units/upsert"},{"title":"Get Packaging Unit by ID","openapi":"GET /api/v1/ppwr/units/{id}","description":"Retrieve one packaging unit with its stored fields, all of its sizes (`formats`, primary first) and its bill of materials (`components`). A unit of another company, a soft-deleted unit and an `id` that is not a UUID all answer `404` — never `403`, which would confirm that the id exists somewhere. Requires `packaging:read` (a `packaging:write` key satisfies it); customer workspace with the PPWR module enabled.","href":"/en/api-reference/endpoint/ppwr/units/get"},{"title":"Upsert Packaging Sizes","openapi":"POST /api/v1/ppwr/formats","href":"/en/api-reference/endpoint/ppwr/formats/upsert"},{"title":"Create Bill-of-Materials Links","openapi":"POST /api/v1/ppwr/links","description":"Create component⇄unit links — a full bill of materials in one request. Create-only and idempotent, so there is no `overwrite` flag and no overwrite confirmation. Unknown unit references and component codes are per-row errors, never auto-created (unlike the unit intake's `componentCodes` column, which creates a placeholder component for an unknown code). At most 1000 rows per request (`400` otherwise). Requires `packaging:write`; customer workspace with the PPWR module enabled — see the guide.","href":"/en/api-reference/endpoint/ppwr/links/create"},{"title":"Create Article Links","openapi":"POST /api/v1/ppwr/article-links","href":"/en/api-reference/endpoint/ppwr/article-links/create"}]},{"group":"PPWR – Documents","pages":[{"title":"Create Document Upload URL","openapi":"POST /api/v1/ppwr/documents/upload-url","href":"/en/api-reference/endpoint/ppwr/documents/upload-url"},{"title":"Attach Document","openapi":"POST /api/v1/ppwr/documents","href":"/en/api-reference/endpoint/ppwr/documents/create"}]},{"group":"PPWR – Declarations of Conformity","pages":[{"title":"List Declarations of Conformity","openapi":"GET /api/v1/ppwr/declarations","href":"/en/api-reference/endpoint/ppwr/declarations/list"},{"title":"Get Declaration of Conformity by ID","openapi":"GET /api/v1/ppwr/declarations/{id}","href":"/en/api-reference/endpoint/ppwr/declarations/get"},{"title":"Download Declaration of Conformity","openapi":"GET /api/v1/ppwr/declarations/{id}/pdf","href":"/en/api-reference/endpoint/ppwr/declarations/pdf"}]},{"group":"PPWR – Quantities \u0026 Volume Reports","pages":[{"title":"Push SKU Quantities","openapi":"POST /api/v1/ppwr/quantities","href":"/en/api-reference/endpoint/ppwr/quantities/create"},{"title":"Push Material Tonnage","openapi":"POST /api/v1/ppwr/tonnage","href":"/en/api-reference/endpoint/ppwr/tonnage/create"},{"title":"Delete Material Tonnage","openapi":"DELETE /api/v1/ppwr/tonnage","href":"/en/api-reference/endpoint/ppwr/tonnage/delete"},{"title":"List Volume Reports","openapi":"GET /api/v1/ppwr/mengenmeldung/reports","href":"/en/api-reference/endpoint/ppwr/mengenmeldung/list"},{"title":"Generate Volume Report","openapi":"POST /api/v1/ppwr/mengenmeldung/reports","href":"/en/api-reference/endpoint/ppwr/mengenmeldung/create"},{"title":"Download Volume Report File","openapi":"GET /api/v1/ppwr/mengenmeldung/{reportId}/xml","href":"/en/api-reference/endpoint/ppwr/mengenmeldung/download"}]}]},{"tab":"For suppliers","icon":"truck","pages":[{"title":"For suppliers","href":"/en/lieferanten/start"}]}]},{"language":"fr","pages":[{"title":"fr","href":"/fr/lieferanten/start"}]},{"language":"es","pages":[{"title":"es","href":"/es/lieferanten/start"}]},{"language":"zh","pages":[{"title":"zh","href":"/zh/lieferanten/start"}]}]},"title":"Upsert Packaging Sizes - Polygon One Helpcenter","buildId":"dpl_2xiSHD9XEvLsPGPcfoMtkLTB3dy9","deploymentId":"dpl_2xiSHD9XEvLsPGPcfoMtkLTB3dy9","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DmVyH30O.js","utils-BHQqGGOd.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-CD-E4BIt.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Bp5Lq9Ds.js","snippetPresets-C4xAVCFP.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-CgXVLxUC.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BF8I5oUf.js","shallow-Byd0lWnC.js","getApiPlaygroundDisplay-BGOZG1OK.js","CodeSnippet-CpvQL0CY.js","CodeSnippets-B8wkBKXa.js","Page-CBCH2P7b.js","getPastedJson-Ry3scI3Y.js","icon-D7a9HcdD.js","MethodPill-CJ8pmHhz.js","DuplicateIcon-rh1HJF0t.js","createIcon-DvGznqYs.js","DynamicMarkdown-Cc6AuSHS.js","SectionHeading-B4A0S-ep.js","axios-vUo_bRtp.js","Markdown-Cc16CX65.js","clsx-Cs6nMGht.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-zbf22OZA.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-C_fs-y5n.js"]}