# Create an article, or explicitly match and update one

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

`POST /v1/articles/upsert`

Durable idempotent article command. Updates to and bindings of existing articles require expected_revision. Existing identifiers and links are not silently replaced. The response contains the stored receipt; a replay does not book again.

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. x-create-required: `{"article":["name"],"article-with-contract-2026-11-12":["name","sku"]}`. |
| idempotency_key | string | Required when parent is present | Not allowed | Generate a new UUID for each intended command; reuse the same key and exact input after an uncertain response. format: `"uuid"`. |
| contract_version | string | Optional | Not allowed | Use 2026-11-12 for the complete product contract: SKU and name required on creation; SKU cannot be cleared. Omission retains legacy creation rules only for existing older connections; newly created API connections always require SKU. const: `"2026-11-12"`. |
| external_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`. |
| external_variant_id | string | Optional | Not allowed | Optional source variant identifier; empty means the main external article. This reference does not create native options. Default: `""`. maxLength: `200`. |
| article_id | string | Optional | Not allowed | Explicitly bind an existing own article. Existing external references are never reassigned. format: `"uuid"`. |
| expected_revision | string | Optional | Not allowed | Required for updating or binding an existing article; use its latest revision unchanged. format: `"date-time"`. |
| article | object | Required when parent is present | Not allowed | Article attributes to create or update. New articles require name, and SKU in the dated contract. Omitted attributes preserve existing values. If `"base_price_currency"` is present, also provide `"base_price"`. Additional properties are not allowed. |
| article.name | string | Optional | Not allowed | Product name. Required when creating an article; maximum 300 characters with contract_version 2026-11-12, 240 in the legacy contract. minLength: `1`. maxLength: `300`. |
| article.sku | alternative (anyOf) | Optional | Allowed by schema | Article identity. New or changed identities are unique per physical article in the organization after Unicode normalization, trimming and case-insensitive comparison. Required for new articles with contract_version 2026-11-12. Existing identifiers cannot be silently replaced; never clear an established SKU. |
| article.sku | string | Conditional: anyOf 1/2 | Not allowed | anyOf 1/2: At least one alternative must match. Article identity. New or changed identities are unique per physical article in the organization after Unicode normalization, trimming and case-insensitive comparison. Required for new articles with contract_version 2026-11-12. Existing identifiers cannot be silently replaced; never clear an established SKU. maxLength: `128`. |
| article.sku | null | Conditional: anyOf 2/2 | Allowed by schema | anyOf 2/2: At least one alternative must match. Article identity. New or changed identities are unique per physical article in the organization after Unicode normalization, trimming and case-insensitive comparison. Required for new articles with contract_version 2026-11-12. Existing identifiers cannot be silently replaced; never clear an established SKU. |
| article.ean | alternative (anyOf) | Optional | Allowed by schema | Optional EAN/GTIN, kept as text to preserve leading zeros. An established identifier cannot be replaced by this synchronization call. |
| article.ean | string | Conditional: anyOf 1/2 | Not allowed | anyOf 1/2: At least one alternative must match. Optional EAN/GTIN, kept as text to preserve leading zeros. An established identifier cannot be replaced by this synchronization call. maxLength: `128`. |
| article.ean | null | Conditional: anyOf 2/2 | Allowed by schema | anyOf 2/2: At least one alternative must match. Optional EAN/GTIN, kept as text to preserve leading zeros. An established identifier cannot be replaced by this synchronization call. |
| article.description | alternative (anyOf) | Optional | Allowed by schema | Article description as text; null or blank clears it, omission preserves it. |
| article.description | string | Conditional: anyOf 1/2 | Not allowed | anyOf 1/2: At least one alternative must match. Article description as text; null or blank clears it, omission preserves it. maxLength: `10000`. |
| article.description | null | Conditional: anyOf 2/2 | Allowed by schema | anyOf 2/2: At least one alternative must match. Article description as text; null or blank clears it, omission preserves it. |
| article.category | alternative (anyOf) | Optional | Allowed by schema | Free-text catalogue category; null or blank clears it, omission preserves it. |
| article.category | string | Conditional: anyOf 1/2 | Not allowed | anyOf 1/2: At least one alternative must match. Free-text catalogue category; null or blank clears it, omission preserves it. maxLength: `160`. |
| article.category | null | Conditional: anyOf 2/2 | Allowed by schema | anyOf 2/2: At least one alternative must match. Free-text catalogue category; null or blank clears it, omission preserves it. |
| article.product_type | alternative (anyOf) | Optional | Allowed by schema | Free-text product type, distinct from physical/service kind; null or blank clears it. |
| article.product_type | string | Conditional: anyOf 1/2 | Not allowed | anyOf 1/2: At least one alternative must match. Free-text product type, distinct from physical/service kind; null or blank clears it. maxLength: `160`. |
| article.product_type | null | Conditional: anyOf 2/2 | Allowed by schema | anyOf 2/2: At least one alternative must match. Free-text product type, distinct from physical/service kind; null or blank clears it. |
| article.production_time_minutes | alternative (anyOf) | Optional | Allowed by schema | Production time in whole minutes; null clears the value. |
| article.production_time_minutes | integer | Conditional: anyOf 1/2 | Not allowed | anyOf 1/2: At least one alternative must match. Production time in whole minutes; null clears the value. minimum: `0`. maximum: `2147483647`. |
| article.production_time_minutes | null | Conditional: anyOf 2/2 | Allowed by schema | anyOf 2/2: At least one alternative must match. Production time in whole minutes; null clears the value. |
| article.is_quotable | boolean | Optional | Not allowed | Whether the article may be offered in quotations; new articles default to true. |
| article.product_kind | string | Optional | Not allowed | physical for physical goods, service for a service; newly created articles default to physical. Returned as kind. enum: `["physical","service"]`. |
| article.weight | alternative (anyOf) | Optional | Allowed by schema | Net article weight in kilograms, from 0 to 999999.9999. Null clears the value; omission preserves it. |
| article.weight | number | Conditional: anyOf 1/2 | Not allowed | anyOf 1/2: At least one alternative must match. Net article weight in kilograms, from 0 to 999999.9999. Null clears the value; omission preserves it. minimum: `0`. maximum: `999999.9999`. |
| article.weight | null | Conditional: anyOf 2/2 | Allowed by schema | anyOf 2/2: At least one alternative must match. Net article weight in kilograms, from 0 to 999999.9999. Null clears the value; omission preserves it. |
| article.shipping_weight | alternative (anyOf) | Optional | Allowed by schema | Shipping weight in kilograms, including packaging, from 0 to 999999.9999. Null clears the value; omission preserves it. |
| article.shipping_weight | number | Conditional: anyOf 1/2 | Not allowed | anyOf 1/2: At least one alternative must match. Shipping weight in kilograms, including packaging, from 0 to 999999.9999. Null clears the value; omission preserves it. minimum: `0`. maximum: `999999.9999`. |
| article.shipping_weight | null | Conditional: anyOf 2/2 | Allowed by schema | anyOf 2/2: At least one alternative must match. Shipping weight in kilograms, including packaging, from 0 to 999999.9999. Null clears the value; omission preserves it. |
| article.manufacturer_code | alternative (anyOf) | Optional | Allowed by schema | Optional manufacturer article number (HAN/MPN). An established identifier cannot be replaced by this synchronization call. |
| article.manufacturer_code | string | Conditional: anyOf 1/2 | Not allowed | anyOf 1/2: At least one alternative must match. Optional manufacturer article number (HAN/MPN). An established identifier cannot be replaced by this synchronization call. maxLength: `128`. |
| article.manufacturer_code | null | Conditional: anyOf 2/2 | Allowed by schema | anyOf 2/2: At least one alternative must match. Optional manufacturer article number (HAN/MPN). An established identifier cannot be replaced by this synchronization call. |
| article.hs_code | alternative (anyOf) | Optional | Allowed by schema | Optional HS/customs tariff code, kept as text. Supply the code required for the intended destination and shipment; Meykt does not classify the goods automatically. |
| article.hs_code | string | Conditional: anyOf 1/2 | Not allowed | anyOf 1/2: At least one alternative must match. Optional HS/customs tariff code, kept as text. Supply the code required for the intended destination and shipment; Meykt does not classify the goods automatically. maxLength: `40`. |
| article.hs_code | null | Conditional: anyOf 2/2 | Allowed by schema | anyOf 2/2: At least one alternative must match. Optional HS/customs tariff code, kept as text. Supply the code required for the intended destination and shipment; Meykt does not classify the goods automatically. |
| article.country_of_origin | string or null | Optional | Allowed by schema | ISO 3166-1 alpha-2 origin country, for example DE. Lowercase is normalized; null or blank clears it. |
| article.is_active | boolean | Optional | Not allowed | Whether the article is active; new articles default to true. This does not archive the article. |
| article.batch_tracking | boolean | Optional | Not allowed | Track physical receipts by batch; new articles default to false. Disabling requires expiry_tracking false. |
| article.expiry_tracking | boolean | Optional | Not allowed | Require a best-before date for physical receipts. Requires batch_tracking true; new articles default to false. |
| article.dimensions | alternative (anyOf) | Optional | Allowed by schema | Dimensions in millimetres. Omitted axes are preserved; null clears all dimensions. |
| article.dimensions | object | Conditional: anyOf 1/2 | Not allowed | anyOf 1/2: At least one alternative must match. Dimensions in millimetres. Omitted axes are preserved; null clears all dimensions. Additional properties are not allowed. |
| 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. |
| 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`. |
| 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. |
| 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. |
| 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`. |
| 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. |
| 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. |
| 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`. |
| 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. |
| article.dimensions | null | Conditional: anyOf 2/2 | Allowed by schema | anyOf 2/2: At least one alternative must match. Dimensions in millimetres. Omitted axes are preserved; null clears all dimensions. |
| article.base_price | alternative (anyOf) | Optional | Allowed by schema | Net selling price, at most two decimal places; currency is required when setting a price. Null clears price and currency. |
| article.base_price | number | Conditional: anyOf 1/2 | Not allowed | anyOf 1/2: At least one alternative must match. Net selling price, at most two decimal places; currency is required when setting a price. Null clears price and currency. minimum: `0`. maximum: `99999999.99`. |
| article.base_price | null | Conditional: anyOf 2/2 | Allowed by schema | anyOf 2/2: At least one alternative must match. Net selling price, at most two decimal places; currency is required when setting a price. Null clears price and currency. |
| article.base_price_currency | string | Optional | Not allowed | Known ISO 4217 currency of the net selling price, for example EUR; required whenever a price is supplied. pattern: `"^[A-Z]{3}$"`. |
| article.gallery_image_refs | array | Optional | Not allowed | Replace the ordered gallery with existing image references uploaded for this article; [] removes all gallery assignments. Omission preserves the gallery. maxItems: `100`. |
| article.gallery_image_refs[] | string | Every array item | Not allowed | minLength: `1`. maxLength: `1500`. |
| article.primary_image_ref | alternative (anyOf) | Optional | Allowed by schema | Durable reference returned by an image upload for this existing article; null removes the primary image. Create the article before uploading images. |
| article.primary_image_ref | string | Conditional: anyOf 1/2 | Not allowed | anyOf 1/2: At least one alternative must match. Durable reference returned by an image upload for this existing article; null removes the primary image. Create the article before uploading images. minLength: `1`. maxLength: `1500`. |
| article.primary_image_ref | null | Conditional: anyOf 2/2 | Allowed by schema | anyOf 2/2: At least one alternative must match. Durable reference returned by an image upload for this existing article; null removes the primary image. Create the article before uploading images. |
| article | any JSON value | Conditional: allOf 1/1 | Allowed by schema | allOf 1/1: All rules must match. Article attributes to create or update. New articles require name, and SKU in the dated contract. Omitted attributes preserve existing values. When `{"properties":{"base_price":{"type":"number"}},"required":["base_price"]}` matches, the then rules apply; otherwise the else rules apply. |
| article | any JSON value | Conditional: then | Allowed by schema | allOf 1/1: All rules must match. When `{"properties":{"base_price":{"type":"number"}},"required":["base_price"]}` matches. |
| article | requirement | Required: base_price_currency | See field type | allOf 1/1: All rules must match. When `{"properties":{"base_price":{"type":"number"}},"required":["base_price"]}` matches. |
| $ (whole value) | any JSON value | Conditional: allOf 1/2 | Allowed by schema | allOf 1/2: All rules must match. When `{"not":{"required":["contract_version"]}}` matches, the then rules apply; otherwise the else rules apply. |
| $ (whole value) | object | Conditional: then | Allowed by schema | allOf 1/2: All rules must match. When `{"not":{"required":["contract_version"]}}` matches. |
| article | object | Optional | Allowed by schema | allOf 1/2: All rules must match. When `{"not":{"required":["contract_version"]}}` matches. |
| article.name | any JSON value | Optional | Allowed by schema | allOf 1/2: All rules must match. When `{"not":{"required":["contract_version"]}}` matches. maxLength: `240`. |
| $ (whole value) | any JSON value | Conditional: allOf 2/2 | Allowed by schema | allOf 2/2: All rules must match. When `{"required":["contract_version"]}` matches, the then rules apply; otherwise the else rules apply. |
| $ (whole value) | object | Conditional: then | Allowed by schema | allOf 2/2: All rules must match. When `{"required":["contract_version"]}` matches. |
| article | object | Optional | Allowed by schema | allOf 2/2: All rules must match. When `{"required":["contract_version"]}` matches. |
| article.sku | string | Optional | Not allowed | allOf 2/2: All rules must match. When `{"required":["contract_version"]}` matches. minLength: `1`. maxLength: `128`. |

## 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"`. |

## 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"`. |
