# Create or update a native article variant

[All field references](/en/developers/field-reference) · [Articles](/en/developers/fields-group-articles)

`POST /v1/articles/variants/commands`

Uses the same rules as variant management. mappedProductId is the deliberate physical stock binding; null uses the main article. Existing order bindings are kept. Imported external variants are not overwritten.

Required scopes: `"products:write"`.

[How to read these tables](/en/developers/field-reference#reading-the-field-tables)

## Request body

Request body required.

Content type: `application/json`

| Field | Type | Presence | null | Meaning, limits and examples |
| --- | --- | --- | --- | --- |
| $ (whole value) | object | Whole value | Not allowed | Additional properties are not allowed. |
| idempotency_key | string | Required when parent is present | Not allowed | Generate a new UUID for each intended variant command; reuse that key and exact input after an uncertain response. format: `"uuid"`. |
| article_id | string | Required when parent is present | Not allowed | Opaque Meykt identifier in UUID form. Use the identifier from the corresponding API response. format: `"uuid"`. |
| operation | alternative (anyOf) | Required when parent is present | Not allowed | Choose create or update and provide the fields required by that operation. Only native catalogue variants are writable. |
| operation | object | Conditional: anyOf 1/2 | Not allowed | anyOf 1/2: At least one alternative must match. Applies to kind = `"create"`. Choose create or update and provide the fields required by that operation. Only native catalogue variants are writable. Additional properties are not allowed. |
| operation.name | string | Required when parent is present | Not allowed | anyOf 1/2: At least one alternative must match. Applies to kind = `"create"`. Variant display name, 1–240 characters after normalization. maxLength: `480`. x-normalization: `"NFC and trim; reject control and invisible characters"`. x-normalized-minLength: `1`. x-normalized-maxLength: `240`. |
| operation.options | array | Required when parent is present | Not allowed | anyOf 1/2: At least one alternative must match. Applies to kind = `"create"`. Complete ordered list of 1–12 options. Replaces the list on update; names must be unique ignoring case. Omission preserves the existing list. minItems: `1`. maxItems: `12`. |
| operation.options[] | object | Every array item | Not allowed | anyOf 1/2: At least one alternative must match. Applies to kind = `"create"`. Additional properties are not allowed. |
| operation.options[].name | string | Required when parent is present | Not allowed | anyOf 1/2: At least one alternative must match. Applies to kind = `"create"`. Option name, for example Color. 1–80 characters after normalization; option names must be distinct ignoring case. maxLength: `160`. x-normalization: `"NFC and trim; reject control and invisible characters"`. x-normalized-minLength: `1`. x-normalized-maxLength: `80`. |
| operation.options[].value | string | Required when parent is present | Not allowed | anyOf 1/2: At least one alternative must match. Applies to kind = `"create"`. This variant's value for the option, for example Blue. 1–160 characters after normalization. maxLength: `320`. x-normalization: `"NFC and trim; reject control and invisible characters"`. x-normalized-minLength: `1`. x-normalized-maxLength: `160`. |
| operation.options[].swatchHex | alternative (anyOf) | Optional | Allowed by schema | anyOf 1/2: At least one alternative must match. Applies to kind = `"create"`. Optional color swatch as #rrggbb, for example #336699. Null means no color swatch. |
| operation.options[].swatchHex | string | Conditional: anyOf 1/2 | Not allowed | anyOf 1/2: At least one alternative must match. Applies to kind = `"create"`.; anyOf 1/2: At least one alternative must match. Optional color swatch as #rrggbb, for example #336699. Null means no color swatch. pattern: `"^#[a-fA-F0-9]{6}$"`. |
| operation.options[].swatchHex | null | Conditional: anyOf 2/2 | Allowed by schema | anyOf 1/2: At least one alternative must match. Applies to kind = `"create"`.; anyOf 2/2: At least one alternative must match. Optional color swatch as #rrggbb, for example #336699. Null means no color swatch. |
| operation.mappedProductId | alternative (anyOf) | Optional | Allowed by schema | anyOf 1/2: At least one alternative must match. Applies to kind = `"create"`. Explicit physical article binding. Null or omission on creation uses the containing article; another article supplies its own stock, identifiers and price. |
| operation.mappedProductId | string | Conditional: anyOf 1/2 | Not allowed | anyOf 1/2: At least one alternative must match. Applies to kind = `"create"`.; anyOf 1/2: At least one alternative must match. Explicit physical article binding. Null or omission on creation uses the containing article; another article supplies its own stock, identifiers and price. format: `"uuid"`. |
| operation.mappedProductId | null | Conditional: anyOf 2/2 | Allowed by schema | anyOf 1/2: At least one alternative must match. Applies to kind = `"create"`.; anyOf 2/2: At least one alternative must match. Explicit physical article binding. Null or omission on creation uses the containing article; another article supplies its own stock, identifiers and price. |
| operation.sku | alternative (anyOf) | Optional | Allowed by schema | anyOf 1/2: At least one alternative must match. Applies to kind = `"create"`. Optional identifier: at most 128 characters after NFC normalization and trimming (raw input at most 512). Blank or null clears an own value; mapped physical article values are read-only. x-normalization: `"NFC and trim; blank becomes null"`. x-normalized-maxLength: `128`. |
| operation.sku | string | Conditional: anyOf 1/2 | Not allowed | anyOf 1/2: At least one alternative must match. Applies to kind = `"create"`.; anyOf 1/2: At least one alternative must match. Optional identifier: at most 128 characters after NFC normalization and trimming (raw input at most 512). Blank or null clears an own value; mapped physical article values are read-only. maxLength: `512`. |
| operation.sku | null | Conditional: anyOf 2/2 | Allowed by schema | anyOf 1/2: At least one alternative must match. Applies to kind = `"create"`.; anyOf 2/2: At least one alternative must match. Optional identifier: at most 128 characters after NFC normalization and trimming (raw input at most 512). Blank or null clears an own value; mapped physical article values are read-only. |
| operation.ean | alternative (anyOf) | Optional | Allowed by schema | anyOf 1/2: At least one alternative must match. Applies to kind = `"create"`. Optional identifier: at most 128 characters after NFC normalization and trimming (raw input at most 512). Blank or null clears an own value; mapped physical article values are read-only. x-normalization: `"NFC and trim; blank becomes null"`. x-normalized-maxLength: `128`. |
| operation.ean | string | Conditional: anyOf 1/2 | Not allowed | anyOf 1/2: At least one alternative must match. Applies to kind = `"create"`.; anyOf 1/2: At least one alternative must match. Optional identifier: at most 128 characters after NFC normalization and trimming (raw input at most 512). Blank or null clears an own value; mapped physical article values are read-only. maxLength: `512`. |
| operation.ean | null | Conditional: anyOf 2/2 | Allowed by schema | anyOf 1/2: At least one alternative must match. Applies to kind = `"create"`.; anyOf 2/2: At least one alternative must match. Optional identifier: at most 128 characters after NFC normalization and trimming (raw input at most 512). Blank or null clears an own value; mapped physical article values are read-only. |
| operation.imageRef | alternative (anyOf) | Optional | Allowed by schema | anyOf 1/2: At least one alternative must match. Applies to kind = `"create"`. Own variant image reference; null removes the override and uses the physical article image. |
| operation.imageRef | string | Conditional: anyOf 1/2 | Not allowed | anyOf 1/2: At least one alternative must match. Applies to kind = `"create"`.; anyOf 1/2: At least one alternative must match. Own variant image reference; null removes the override and uses the physical article image. maxLength: `1500`. |
| operation.imageRef | null | Conditional: anyOf 2/2 | Allowed by schema | anyOf 1/2: At least one alternative must match. Applies to kind = `"create"`.; anyOf 2/2: At least one alternative must match. Own variant image reference; null removes the override and uses the physical article image. |
| operation.unitPrice | alternative (anyOf) | Optional | Allowed by schema | anyOf 1/2: At least one alternative must match. Applies to kind = `"create"`. Own net selling price. Null removes the override and uses the physical article price. Only allowed when the variant shares its parent stock article. |
| operation.unitPrice | number | Conditional: anyOf 1/2 | Not allowed | anyOf 1/2: At least one alternative must match. Applies to kind = `"create"`.; anyOf 1/2: At least one alternative must match. Own net selling price. Null removes the override and uses the physical article price. Only allowed when the variant shares its parent stock article. minimum: `0`. maximum: `1000000000`. |
| operation.unitPrice | null | Conditional: anyOf 2/2 | Allowed by schema | anyOf 1/2: At least one alternative must match. Applies to kind = `"create"`.; anyOf 2/2: At least one alternative must match. Own net selling price. Null removes the override and uses the physical article price. Only allowed when the variant shares its parent stock article. |
| operation.currency | string | Optional | Not allowed | anyOf 1/2: At least one alternative must match. Applies to kind = `"create"`. Known ISO 4217 currency; must equal the physical article's effective currency. Omission uses that currency; this does not change the article currency. pattern: `"^[a-zA-Z]{3}$"`. |
| operation.kind | string | Required when parent is present | Not allowed | anyOf 1/2: At least one alternative must match. Applies to kind = `"create"`. Create a native variant on this article. const: `"create"`. |
| operation | object | Conditional: anyOf 2/2 | Not allowed | anyOf 2/2: At least one alternative must match. Applies to kind = `"update"`. Choose create or update and provide the fields required by that operation. Only native catalogue variants are writable. Additional properties are not allowed. |
| operation.name | string | Optional | Not allowed | anyOf 2/2: At least one alternative must match. Applies to kind = `"update"`. Replacement variant name, 1–240 characters after normalization; omission preserves it. maxLength: `480`. x-normalization: `"NFC and trim; reject control and invisible characters"`. x-normalized-minLength: `1`. x-normalized-maxLength: `240`. |
| operation.options | array | Optional | Not allowed | anyOf 2/2: At least one alternative must match. Applies to kind = `"update"`. Complete ordered list of 1–12 options. Replaces the list on update; names must be unique ignoring case. Omission preserves the existing list. minItems: `1`. maxItems: `12`. |
| operation.options[] | object | Every array item | Not allowed | anyOf 2/2: At least one alternative must match. Applies to kind = `"update"`. Additional properties are not allowed. |
| operation.options[].name | string | Required when parent is present | Not allowed | anyOf 2/2: At least one alternative must match. Applies to kind = `"update"`. Option name, for example Color. 1–80 characters after normalization; option names must be distinct ignoring case. maxLength: `160`. x-normalization: `"NFC and trim; reject control and invisible characters"`. x-normalized-minLength: `1`. x-normalized-maxLength: `80`. |
| operation.options[].value | string | Required when parent is present | Not allowed | anyOf 2/2: At least one alternative must match. Applies to kind = `"update"`. This variant's value for the option, for example Blue. 1–160 characters after normalization. maxLength: `320`. x-normalization: `"NFC and trim; reject control and invisible characters"`. x-normalized-minLength: `1`. x-normalized-maxLength: `160`. |
| operation.options[].swatchHex | alternative (anyOf) | Optional | Allowed by schema | anyOf 2/2: At least one alternative must match. Applies to kind = `"update"`. Optional color swatch as #rrggbb, for example #336699. Null means no color swatch. |
| operation.options[].swatchHex | string | Conditional: anyOf 1/2 | Not allowed | anyOf 2/2: At least one alternative must match. Applies to kind = `"update"`.; anyOf 1/2: At least one alternative must match. Optional color swatch as #rrggbb, for example #336699. Null means no color swatch. pattern: `"^#[a-fA-F0-9]{6}$"`. |
| operation.options[].swatchHex | null | Conditional: anyOf 2/2 | Allowed by schema | anyOf 2/2: At least one alternative must match. Applies to kind = `"update"`.; anyOf 2/2: At least one alternative must match. Optional color swatch as #rrggbb, for example #336699. Null means no color swatch. |
| operation.mappedProductId | alternative (anyOf) | Optional | Allowed by schema | anyOf 2/2: At least one alternative must match. Applies to kind = `"update"`. New physical article binding; null returns to the containing article, omission keeps the binding. Change a binding separately from identifiers or price. |
| operation.mappedProductId | string | Conditional: anyOf 1/2 | Not allowed | anyOf 2/2: At least one alternative must match. Applies to kind = `"update"`.; anyOf 1/2: At least one alternative must match. New physical article binding; null returns to the containing article, omission keeps the binding. Change a binding separately from identifiers or price. format: `"uuid"`. |
| operation.mappedProductId | null | Conditional: anyOf 2/2 | Allowed by schema | anyOf 2/2: At least one alternative must match. Applies to kind = `"update"`.; anyOf 2/2: At least one alternative must match. New physical article binding; null returns to the containing article, omission keeps the binding. Change a binding separately from identifiers or price. |
| operation.sku | alternative (anyOf) | Optional | Allowed by schema | anyOf 2/2: At least one alternative must match. Applies to kind = `"update"`. Optional identifier: at most 128 characters after NFC normalization and trimming (raw input at most 512). Blank or null clears an own value; mapped physical article values are read-only. x-normalization: `"NFC and trim; blank becomes null"`. x-normalized-maxLength: `128`. |
| operation.sku | string | Conditional: anyOf 1/2 | Not allowed | anyOf 2/2: At least one alternative must match. Applies to kind = `"update"`.; anyOf 1/2: At least one alternative must match. Optional identifier: at most 128 characters after NFC normalization and trimming (raw input at most 512). Blank or null clears an own value; mapped physical article values are read-only. maxLength: `512`. |
| operation.sku | null | Conditional: anyOf 2/2 | Allowed by schema | anyOf 2/2: At least one alternative must match. Applies to kind = `"update"`.; anyOf 2/2: At least one alternative must match. Optional identifier: at most 128 characters after NFC normalization and trimming (raw input at most 512). Blank or null clears an own value; mapped physical article values are read-only. |
| operation.ean | alternative (anyOf) | Optional | Allowed by schema | anyOf 2/2: At least one alternative must match. Applies to kind = `"update"`. Optional identifier: at most 128 characters after NFC normalization and trimming (raw input at most 512). Blank or null clears an own value; mapped physical article values are read-only. x-normalization: `"NFC and trim; blank becomes null"`. x-normalized-maxLength: `128`. |
| operation.ean | string | Conditional: anyOf 1/2 | Not allowed | anyOf 2/2: At least one alternative must match. Applies to kind = `"update"`.; anyOf 1/2: At least one alternative must match. Optional identifier: at most 128 characters after NFC normalization and trimming (raw input at most 512). Blank or null clears an own value; mapped physical article values are read-only. maxLength: `512`. |
| operation.ean | null | Conditional: anyOf 2/2 | Allowed by schema | anyOf 2/2: At least one alternative must match. Applies to kind = `"update"`.; anyOf 2/2: At least one alternative must match. Optional identifier: at most 128 characters after NFC normalization and trimming (raw input at most 512). Blank or null clears an own value; mapped physical article values are read-only. |
| operation.imageRef | alternative (anyOf) | Optional | Allowed by schema | anyOf 2/2: At least one alternative must match. Applies to kind = `"update"`. Own variant image reference; null removes the override and uses the physical article image. |
| operation.imageRef | string | Conditional: anyOf 1/2 | Not allowed | anyOf 2/2: At least one alternative must match. Applies to kind = `"update"`.; anyOf 1/2: At least one alternative must match. Own variant image reference; null removes the override and uses the physical article image. maxLength: `1500`. |
| operation.imageRef | null | Conditional: anyOf 2/2 | Allowed by schema | anyOf 2/2: At least one alternative must match. Applies to kind = `"update"`.; anyOf 2/2: At least one alternative must match. Own variant image reference; null removes the override and uses the physical article image. |
| operation.unitPrice | alternative (anyOf) | Optional | Allowed by schema | anyOf 2/2: At least one alternative must match. Applies to kind = `"update"`. Own net selling price. Null removes the override and uses the physical article price. Only allowed when the variant shares its parent stock article. |
| operation.unitPrice | number | Conditional: anyOf 1/2 | Not allowed | anyOf 2/2: At least one alternative must match. Applies to kind = `"update"`.; anyOf 1/2: At least one alternative must match. Own net selling price. Null removes the override and uses the physical article price. Only allowed when the variant shares its parent stock article. minimum: `0`. maximum: `1000000000`. |
| operation.unitPrice | null | Conditional: anyOf 2/2 | Allowed by schema | anyOf 2/2: At least one alternative must match. Applies to kind = `"update"`.; anyOf 2/2: At least one alternative must match. Own net selling price. Null removes the override and uses the physical article price. Only allowed when the variant shares its parent stock article. |
| operation.currency | string | Optional | Not allowed | anyOf 2/2: At least one alternative must match. Applies to kind = `"update"`. Known ISO 4217 currency; must equal the physical article's effective currency. Omission uses that currency; this does not change the article currency. pattern: `"^[a-zA-Z]{3}$"`. |
| operation.isActive | boolean | Optional | Not allowed | anyOf 2/2: At least one alternative must match. Applies to kind = `"update"`. Whether the native choice is active; does not archive it or change historical orders. |
| operation.kind | string | Required when parent is present | Not allowed | anyOf 2/2: At least one alternative must match. Applies to kind = `"update"`. Change the specified native variant. const: `"update"`. |
| operation.variant_id | string | Required when parent is present | Not allowed | anyOf 2/2: At least one alternative must match. Applies to kind = `"update"`. Opaque Meykt identifier in UUID form. Use the identifier from the corresponding API response. format: `"uuid"`. |
| operation.expected_revision | string | Required when parent is present | Not allowed | anyOf 2/2: At least one alternative must match. Applies to kind = `"update"`. Timestamp with timezone. For revisions, return the value you read unchanged. format: `"date-time"`. |

## Response 200

200: Success

Content type: `application/json`

| Field | Type | Presence | null | Meaning, limits and examples |
| --- | --- | --- | --- | --- |
| $ (whole value) | object | Whole value | Not allowed | Additional properties are not allowed. |
| data | object | Required when parent is present | Not allowed | Authorized response payload or documented event data. Additional properties are not allowed. |
| data.command_id | string | Required when parent is present | Not allowed | Opaque Meykt identifier in UUID form. Use the identifier from the corresponding API response. format: `"uuid"`. |
| data.idempotency_key | string | Required when parent is present | Not allowed | Opaque Meykt identifier in UUID form. Use the identifier from the corresponding API response. format: `"uuid"`. |
| data.article | object | Required when parent is present | Not allowed | Article attributes, variants and references. Read endpoints return the current article; a command receipt preserves the article snapshot from that command. Additional properties are not allowed. |
| data.article.id | string | Required when parent is present | Not allowed | Opaque Meykt identifier in UUID form. Use the identifier from the corresponding API response. format: `"uuid"`. |
| data.article.revision | string | Required when parent is present | Not allowed | Timestamp with timezone. For revisions, return the value you read unchanged. format: `"date-time"`. |
| data.article.name | string | Required when parent is present | Not allowed | Saved article name. |
| data.article.sku | string or null | Required when parent is present | Allowed by schema | Saved article SKU; may be null on legacy imports. |
| data.article.ean | string or null | Required when parent is present | Allowed by schema | EAN/GTIN as text, or null when absent. |
| data.article.manufacturer_code | string or null | Required when parent is present | Allowed by schema | Manufacturer article number (HAN/MPN), or null. |
| data.article.description | string or null | Required when parent is present | Allowed by schema | Saved article description, or null. |
| data.article.category | string or null | Required when parent is present | Allowed by schema | Free-text category, or null. |
| data.article.product_type | string or null | Required when parent is present | Allowed by schema | Free-text product type, or null. |
| data.article.hs_code | string or null | Required when parent is present | Allowed by schema | Saved customs tariff code, or null. |
| data.article.country_of_origin | string or null | Required when parent is present | Allowed by schema | Saved two-letter origin country code, or null. |
| data.article.dimensions | alternative (anyOf) | Optional | Allowed by schema | Known article dimensions in millimetres; null means no dimensions. Older saved receipts may omit this field. |
| data.article.dimensions | object | Conditional: anyOf 1/2 | Not allowed | anyOf 1/2: At least one alternative must match. Known article dimensions in millimetres; null means no dimensions. Older saved receipts may omit this field. Additional properties are not allowed. |
| data.article.dimensions.length | alternative (anyOf) | Optional | Allowed by schema | anyOf 1/2: At least one alternative must match. Article length in millimetres; null removes this axis, omission preserves it. |
| data.article.dimensions.length | number | Conditional: anyOf 1/2 | Not allowed | anyOf 1/2: At least one alternative must match.; anyOf 1/2: At least one alternative must match. Article length in millimetres; null removes this axis, omission preserves it. minimum: `0`. maximum: `100000`. |
| data.article.dimensions.length | null | Conditional: anyOf 2/2 | Allowed by schema | anyOf 1/2: At least one alternative must match.; anyOf 2/2: At least one alternative must match. Article length in millimetres; null removes this axis, omission preserves it. |
| data.article.dimensions.width | alternative (anyOf) | Optional | Allowed by schema | anyOf 1/2: At least one alternative must match. Article width in millimetres; null removes this axis, omission preserves it. |
| data.article.dimensions.width | number | Conditional: anyOf 1/2 | Not allowed | anyOf 1/2: At least one alternative must match.; anyOf 1/2: At least one alternative must match. Article width in millimetres; null removes this axis, omission preserves it. minimum: `0`. maximum: `100000`. |
| data.article.dimensions.width | null | Conditional: anyOf 2/2 | Allowed by schema | anyOf 1/2: At least one alternative must match.; anyOf 2/2: At least one alternative must match. Article width in millimetres; null removes this axis, omission preserves it. |
| data.article.dimensions.height | alternative (anyOf) | Optional | Allowed by schema | anyOf 1/2: At least one alternative must match. Article height in millimetres; null removes this axis, omission preserves it. |
| data.article.dimensions.height | number | Conditional: anyOf 1/2 | Not allowed | anyOf 1/2: At least one alternative must match.; anyOf 1/2: At least one alternative must match. Article height in millimetres; null removes this axis, omission preserves it. minimum: `0`. maximum: `100000`. |
| data.article.dimensions.height | null | Conditional: anyOf 2/2 | Allowed by schema | anyOf 1/2: At least one alternative must match.; anyOf 2/2: At least one alternative must match. Article height in millimetres; null removes this axis, omission preserves it. |
| data.article.dimensions | null | Conditional: anyOf 2/2 | Allowed by schema | anyOf 2/2: At least one alternative must match. Known article dimensions in millimetres; null means no dimensions. Older saved receipts may omit this field. |
| data.article.base_price | alternative (anyOf) | Optional | Allowed by schema | Net article selling price; null means absent, not zero. |
| data.article.base_price | number | Conditional: anyOf 1/2 | Not allowed | anyOf 1/2: At least one alternative must match. Net article selling price; null means absent, not zero. minimum: `0`. |
| data.article.base_price | null | Conditional: anyOf 2/2 | Allowed by schema | anyOf 2/2: At least one alternative must match. Net article selling price; null means absent, not zero. |
| data.article.base_price_currency | string or null | Optional | Allowed by schema | Currency of the article selling price, or null when no currency was recorded. |
| data.article.gallery_image_refs | array | Optional | Not allowed | Ordered gallery image references. Older receipts may omit this field. |
| data.article.gallery_image_refs[] | string | Every array item | Not allowed | Opaque durable image reference; do not construct a URL from it. |
| data.article.primary_image_ref | string or null | Optional | Allowed by schema | Primary image reference, or null. Obtain a temporary URL through the article image reader. |
| data.article.production_time_minutes | alternative (anyOf) | Optional | Allowed by schema | Expected production time per piece in whole minutes, or null. |
| data.article.production_time_minutes | integer | Conditional: anyOf 1/2 | Not allowed | anyOf 1/2: At least one alternative must match. Expected production time per piece in whole minutes, or null. minimum: `0`. |
| data.article.production_time_minutes | null | Conditional: anyOf 2/2 | Allowed by schema | anyOf 2/2: At least one alternative must match. Expected production time per piece in whole minutes, or null. |
| data.article.is_quotable | boolean | Optional | Not allowed | Whether this article may be used in quotations. |
| data.article.weight | alternative (anyOf) | Required when parent is present | Allowed by schema | Net article weight in kilograms, or null. |
| data.article.weight | number | Conditional: anyOf 1/2 | Not allowed | anyOf 1/2: At least one alternative must match. Net article weight in kilograms, or null. minimum: `0`. |
| data.article.weight | null | Conditional: anyOf 2/2 | Allowed by schema | anyOf 2/2: At least one alternative must match. Net article weight in kilograms, or null. |
| data.article.shipping_weight | alternative (anyOf) | Required when parent is present | Allowed by schema | Packed shipping weight in kilograms, or null. |
| data.article.shipping_weight | number | Conditional: anyOf 1/2 | Not allowed | anyOf 1/2: At least one alternative must match. Packed shipping weight in kilograms, or null. minimum: `0`. |
| data.article.shipping_weight | null | Conditional: anyOf 2/2 | Allowed by schema | anyOf 2/2: At least one alternative must match. Packed shipping weight in kilograms, or null. |
| data.article.batch_tracking | boolean | Optional | Not allowed | New receipts retain a batch identity; the warehouse may require the actual supplier batch. Default: `false`. |
| data.article.expiry_tracking | boolean | Optional | Not allowed | New receipts require the actual best-before date (expires_on); also requires batch tracking. Default: `false`. |
| data.article.is_active | boolean | Required when parent is present | Not allowed | Whether the article is active. |
| data.article.is_archived | boolean | Required when parent is present | Not allowed | Whether the article is explicitly archived. |
| data.article.kind | string | Required when parent is present | Not allowed | Physical goods or a service. This is the read form of product_kind. enum: `["physical","service"]`. |
| data.article.base_unit | string | Required when parent is present | Not allowed | Product warehouse quantities use this base unit. No conversion or expected delivery quantity is implicit. const: `"piece"`. |
| data.article.external_references | array | Required when parent is present | Not allowed | External identities of this API connection only. maxItems: `250`. |
| data.article.external_references[] | object | Every array item | Not allowed | Additional properties are not allowed. |
| data.article.external_references[].article_id | string | Required when parent is present | Not allowed | Stable identifier from your source system, scoped to this API connection; 1–200 characters after trimming. minLength: `1`. maxLength: `200`. |
| data.article.external_references[].variant_id | string | Required when parent is present | Not allowed | Source variant identifier; empty for the main external article. maxLength: `200`. |
| data.article.variants | array | Required when parent is present | Not allowed | Known variants of this article, including their physical stock binding. maxItems: `250`. |
| data.article.variants[] | object | Every array item | Not allowed | Additional properties are not allowed. |
| data.article.variants[].id | string | Required when parent is present | Not allowed | Opaque Meykt identifier in UUID form. Use the identifier from the corresponding API response. format: `"uuid"`. |
| data.article.variants[].name | string | Required when parent is present | Not allowed | Variant display name. |
| data.article.variants[].revision | string | Required when parent is present | Not allowed | Timestamp with timezone. For revisions, return the value you read unchanged. format: `"date-time"`. |
| data.article.variants[].stock_article_id | string | Required when parent is present | Not allowed | Physical article used for stock, dimensions, weight and customs data; read that article for these fields. Several catalog choices may intentionally share it. format: `"uuid"`. |
| data.article.variants[].is_active | boolean | Required when parent is present | Not allowed | Whether this variant is active. |
| data.article.variants[].is_archived | boolean | Required when parent is present | Not allowed | Whether this variant is archived. |
| data.article.variants[].sku | string or null | Optional | Allowed by schema | Effective SKU: own native value or the physical article identity. |
| data.article.variants[].ean | string or null | Optional | Allowed by schema | Effective EAN/GTIN of the variant or physical article. |
| data.article.variants[].image_ref | string or null | Optional | Allowed by schema | Effective image reference; a native override takes precedence over the physical article image. |
| data.article.variants[].unit_price | alternative (anyOf) | Optional | Allowed by schema | Effective net selling price of this variant; null means unavailable, not free. |
| data.article.variants[].unit_price | number | Conditional: anyOf 1/2 | Not allowed | anyOf 1/2: At least one alternative must match. Effective net selling price of this variant; null means unavailable, not free. minimum: `0`. |
| data.article.variants[].unit_price | null | Conditional: anyOf 2/2 | Allowed by schema | anyOf 2/2: At least one alternative must match. Effective net selling price of this variant; null means unavailable, not free. |
| data.article.variants[].currency | string or null | Optional | Allowed by schema | Currency of the effective selling price; null means unavailable. |
| data.article.variants[].options | array | Required when parent is present | Not allowed | Named choices of the variant. Empty for a source variant without native option metadata. maxItems: `12`. |
| data.article.variants[].options[] | object | Every array item | Not allowed | Additional properties are not allowed. |
| data.article.variants[].options[].name | string | Required when parent is present | Not allowed | Option name, for example Color. |
| data.article.variants[].options[].value | string | Required when parent is present | Not allowed | Selected value, for example Blue. |
| data.article.variants[].options[].swatchHex | alternative (anyOf) | Optional | Allowed by schema | Optional RGB color swatch as #rrggbb. |
| data.article.variants[].options[].swatchHex | string | Conditional: anyOf 1/2 | Not allowed | anyOf 1/2: At least one alternative must match. Optional RGB color swatch as #rrggbb. pattern: `"^#[a-fA-F0-9]{6}$"`. |
| data.article.variants[].options[].swatchHex | null | Conditional: anyOf 2/2 | Allowed by schema | anyOf 2/2: At least one alternative must match. Optional RGB color swatch as #rrggbb. |
| data.created | boolean | Required when parent is present | Not allowed | Whether this command created the article. |
| data.reference_created | boolean | Required when parent is present | Not allowed | Whether this command added an external reference. |
| data.created_at | string | Required when parent is present | Not allowed | Time the durable command receipt was created. format: `"date-time"`. |
| data.variant_id | string | Required when parent is present | Not allowed | Opaque Meykt identifier in UUID form. Use the identifier from the corresponding API response. format: `"uuid"`. |

## Response 401, 403, 404, 409, 422, 429, 500, 503

401: The key is missing, unknown, revoked or expired. 403: The key lacks a required scope, or the operation requires a live key. 404: Not found. Also applies to IDs that belong to another organization — we deliberately do not distinguish between "does not exist" and "does not belong to you". 409: The same ID already exists with different content. It is never overwritten. 422: Content validation failed. The response lists all affected locations at once. 429: A rate limit was reached and the request did not run. Wait for Retry-After, then repeat it unchanged. X-RateLimit-Scope names the limit: key (120 requests per minute), organization (300 per minute across all keys), write (1,000 at once, refilling at 60 per minute) or list (300 unfiltered list pages at once, refilling at 10 per minute). 500: Unexpected error on our side. 503: Temporarily unavailable. Repeat the same request with the same business identity.

Content type: `application/json`

| Field | Type | Presence | null | Meaning, limits and examples |
| --- | --- | --- | --- | --- |
| $ (whole value) | object | Whole value | Not allowed | — |
| error | object | Required when parent is present | Not allowed | Machine-readable error code; use it to select the documented recovery path. |
| error.code | string | Required when parent is present | Not allowed | Machine-readable, permanently stable error code. Program against it, not against message. |
| error.message | string | Required when parent is present | Not allowed | Explanation for humans. May change at any time. |
| error.field | string | Optional | Not allowed | Affected location in the request, if it can be determined. |
| error.doc_url | string | Required when parent is present | Not allowed | Documentation link explaining this API error. format: `"uri"`. |
