# Process exact partial quantities and ship them physically

[All field references](/en/developers/field-reference) · [Shipping](/en/developers/fields-group-shipping)

`POST /v1/dispatches/commands`

The current key, the active connection and the current permissions of the key creator are checked again. Exact quantities and versions remain binding. If you get no response, retry with the same arguments and the same key; do not guess a new booking. Plan/revise, pick, pack, confirm, unpack, return_raw, cancel_section and carrier tracking use the same warehouse core. Physical confirmations must reflect steps that actually took place.

Required scopes: `"dispatch: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 | New client UUID per command; after unclear outcomes retry the same UUID and arguments. format: `"uuid"`. |
| operation | alternative (anyOf) | Required when parent is present | Not allowed | Select kind, then supply its required fields. |
| operation | object | Conditional: anyOf 1/10 | Not allowed | anyOf 1/10: At least one alternative must match. Applies to kind = `"plan"`. Select kind, then supply its required fields. Additional properties are not allowed. |
| operation.kind | string | Required when parent is present | Not allowed | anyOf 1/10: At least one alternative must match. Applies to kind = `"plan"`. Kind selects required fields. const: `"plan"`. |
| operation.section_id | string | Required when parent is present | Not allowed | anyOf 1/10: At least one alternative must match. Applies to kind = `"plan"`. Identifier of the dispatch section; choose a new UUID for planning and retain it for subsequent section actions. format: `"uuid"`. |
| operation.order_id | string | Required when parent is present | Not allowed | anyOf 1/10: At least one alternative must match. Applies to kind = `"plan"`. Meykt order ID from authorized reads; not order number/external reference. format: `"uuid"`. |
| operation.warehouse_id | string | Required when parent is present | Not allowed | anyOf 1/10: At least one alternative must match. Applies to kind = `"plan"`. Warehouse identifier from authorized options. format: `"uuid"`. |
| operation.lines | array | Required when parent is present | Not allowed | anyOf 1/10: At least one alternative must match. Applies to kind = `"plan"`. All selected lines; each must satisfy this action’s quantity/identity rules. minItems: `1`. maxItems: `200`. |
| operation.lines[] | object | Every array item | Not allowed | anyOf 1/10: At least one alternative must match. Applies to kind = `"plan"`. Additional properties are not allowed. |
| operation.lines[].order_item_id | string | Required when parent is present | Not allowed | anyOf 1/10: At least one alternative must match. Applies to kind = `"plan"`. Line identifier from the current order read. format: `"uuid"`. |
| operation.lines[].quantity | string | Required when parent is present | Not allowed | anyOf 1/10: At least one alternative must match. Applies to kind = `"plan"`. Exact decimal-string quantity in the stated unit; no floats. maxLength: `24`. pattern: `"^(0\|[1-9]\\d{0,8})(\\.\\d{1,6})?$"`. |
| operation.lines[].received_claim_ids | array | Optional | Not allowed | anyOf 1/10: At least one alternative must match. Applies to kind = `"plan"`. Received claims deliberately used to cover this quantity; an empty list selects none. Default: `[]`. maxItems: `100`. |
| operation.lines[].received_claim_ids[] | string | Every array item | Not allowed | anyOf 1/10: At least one alternative must match. Applies to kind = `"plan"`. format: `"uuid"`. |
| operation.lines[].components | array | Optional | Not allowed | anyOf 1/10: At least one alternative must match. Applies to kind = `"plan"`. Component quantities/choices for this set, manufacturing or dispatch line. minItems: `1`. maxItems: `100`. |
| operation.lines[].components[] | object | Every array item | Not allowed | anyOf 1/10: At least one alternative must match. Applies to kind = `"plan"`. Additional properties are not allowed. |
| operation.lines[].components[].component_ref | string | Required when parent is present | Not allowed | anyOf 1/10: At least one alternative must match. Applies to kind = `"plan"`. Stable reference to the component of the order's saved product structure. format: `"uuid"`. |
| operation.lines[].components[].quantity | string | Required when parent is present | Not allowed | anyOf 1/10: At least one alternative must match. Applies to kind = `"plan"`. Exact decimal-string quantity in the stated unit; no floats. maxLength: `24`. pattern: `"^(0\|[1-9]\\d{0,8})(\\.\\d{1,6})?$"`. |
| operation.lines[].components[].received_claim_ids | array | Optional | Not allowed | anyOf 1/10: At least one alternative must match. Applies to kind = `"plan"`. Received claims deliberately used to cover this quantity; an empty list selects none. Default: `[]`. maxItems: `100`. |
| operation.lines[].components[].received_claim_ids[] | string | Every array item | Not allowed | anyOf 1/10: At least one alternative must match. Applies to kind = `"plan"`. format: `"uuid"`. |
| operation | object | Conditional: anyOf 2/10 | Not allowed | anyOf 2/10: At least one alternative must match. Applies to kind = `"revise"`. Select kind, then supply its required fields. Additional properties are not allowed. |
| operation.kind | string | Required when parent is present | Not allowed | anyOf 2/10: At least one alternative must match. Applies to kind = `"revise"`. Kind selects required fields. const: `"revise"`. |
| operation.section_id | string | Required when parent is present | Not allowed | anyOf 2/10: At least one alternative must match. Applies to kind = `"revise"`. Identifier of the dispatch section; choose a new UUID for planning and retain it for subsequent section actions. format: `"uuid"`. |
| operation.expected_version | integer | Required when parent is present | Not allowed | anyOf 2/10: At least one alternative must match. Applies to kind = `"revise"`. Latest-read version; stale versions rejected. exclusiveMinimum: `0`. maximum: `2147483647`. |
| operation.lines | array | Required when parent is present | Not allowed | anyOf 2/10: At least one alternative must match. Applies to kind = `"revise"`. All selected lines; each must satisfy this action’s quantity/identity rules. minItems: `1`. maxItems: `200`. |
| operation.lines[] | object | Every array item | Not allowed | anyOf 2/10: At least one alternative must match. Applies to kind = `"revise"`. Additional properties are not allowed. |
| operation.lines[].order_item_id | string | Required when parent is present | Not allowed | anyOf 2/10: At least one alternative must match. Applies to kind = `"revise"`. Line identifier from the current order read. format: `"uuid"`. |
| operation.lines[].quantity | string | Required when parent is present | Not allowed | anyOf 2/10: At least one alternative must match. Applies to kind = `"revise"`. Exact decimal-string quantity in the stated unit; no floats. maxLength: `24`. pattern: `"^(0\|[1-9]\\d{0,8})(\\.\\d{1,6})?$"`. |
| operation.lines[].received_claim_ids | array | Optional | Not allowed | anyOf 2/10: At least one alternative must match. Applies to kind = `"revise"`. Received claims deliberately used to cover this quantity; an empty list selects none. Default: `[]`. maxItems: `100`. |
| operation.lines[].received_claim_ids[] | string | Every array item | Not allowed | anyOf 2/10: At least one alternative must match. Applies to kind = `"revise"`. format: `"uuid"`. |
| operation.lines[].components | array | Optional | Not allowed | anyOf 2/10: At least one alternative must match. Applies to kind = `"revise"`. Component quantities/choices for this set, manufacturing or dispatch line. minItems: `1`. maxItems: `100`. |
| operation.lines[].components[] | object | Every array item | Not allowed | anyOf 2/10: At least one alternative must match. Applies to kind = `"revise"`. Additional properties are not allowed. |
| operation.lines[].components[].component_ref | string | Required when parent is present | Not allowed | anyOf 2/10: At least one alternative must match. Applies to kind = `"revise"`. Stable reference to the component of the order's saved product structure. format: `"uuid"`. |
| operation.lines[].components[].quantity | string | Required when parent is present | Not allowed | anyOf 2/10: At least one alternative must match. Applies to kind = `"revise"`. Exact decimal-string quantity in the stated unit; no floats. maxLength: `24`. pattern: `"^(0\|[1-9]\\d{0,8})(\\.\\d{1,6})?$"`. |
| operation.lines[].components[].received_claim_ids | array | Optional | Not allowed | anyOf 2/10: At least one alternative must match. Applies to kind = `"revise"`. Received claims deliberately used to cover this quantity; an empty list selects none. Default: `[]`. maxItems: `100`. |
| operation.lines[].components[].received_claim_ids[] | string | Every array item | Not allowed | anyOf 2/10: At least one alternative must match. Applies to kind = `"revise"`. format: `"uuid"`. |
| operation | object | Conditional: anyOf 3/10 | Not allowed | anyOf 3/10: At least one alternative must match. Applies to kind = `"pick"`, physically_confirmed = `true`. Select kind, then supply its required fields. Additional properties are not allowed. |
| operation.kind | string | Required when parent is present | Not allowed | anyOf 3/10: At least one alternative must match. Applies to kind = `"pick"`, physically_confirmed = `true`. Kind selects required fields. const: `"pick"`. |
| operation.section_id | string | Required when parent is present | Not allowed | anyOf 3/10: At least one alternative must match. Applies to kind = `"pick"`, physically_confirmed = `true`. Identifier of the dispatch section; choose a new UUID for planning and retain it for subsequent section actions. format: `"uuid"`. |
| operation.expected_version | integer | Required when parent is present | Not allowed | anyOf 3/10: At least one alternative must match. Applies to kind = `"pick"`, physically_confirmed = `true`. Latest-read version; stale versions rejected. exclusiveMinimum: `0`. maximum: `2147483647`. |
| operation.box_id | string | Required when parent is present | Not allowed | anyOf 3/10: At least one alternative must match. Applies to kind = `"pick"`, physically_confirmed = `true`. Picking box identifier selected from currently available boxes. format: `"uuid"`. |
| operation.physically_confirmed | boolean | Required when parent is present | Not allowed | anyOf 3/10: At least one alternative must match. Applies to kind = `"pick"`, physically_confirmed = `true`. true only after this physical work was performed. const: `true`. |
| operation | object | Conditional: anyOf 4/10 | Not allowed | anyOf 4/10: At least one alternative must match. Applies to kind = `"pack"`, physically_confirmed = `true`. Select kind, then supply its required fields. Additional properties are not allowed. |
| operation.kind | string | Required when parent is present | Not allowed | anyOf 4/10: At least one alternative must match. Applies to kind = `"pack"`, physically_confirmed = `true`. Kind selects required fields. const: `"pack"`. |
| operation.section_id | string | Required when parent is present | Not allowed | anyOf 4/10: At least one alternative must match. Applies to kind = `"pack"`, physically_confirmed = `true`. Identifier of the dispatch section; choose a new UUID for planning and retain it for subsequent section actions. format: `"uuid"`. |
| operation.expected_version | integer | Required when parent is present | Not allowed | anyOf 4/10: At least one alternative must match. Applies to kind = `"pack"`, physically_confirmed = `true`. Latest-read version; stale versions rejected. exclusiveMinimum: `0`. maximum: `2147483647`. |
| operation.physically_confirmed | boolean | Required when parent is present | Not allowed | anyOf 4/10: At least one alternative must match. Applies to kind = `"pack"`, physically_confirmed = `true`. true only after this physical work was performed. const: `true`. |
| operation.packages | array | Required when parent is present | Not allowed | anyOf 4/10: At least one alternative must match. Applies to kind = `"pack"`, physically_confirmed = `true`. Physical packages with explicit package numbers and their exact contents. minItems: `1`. maxItems: `100`. |
| operation.packages[] | object | Every array item | Not allowed | anyOf 4/10: At least one alternative must match. Applies to kind = `"pack"`, physically_confirmed = `true`. Additional properties are not allowed. |
| operation.packages[].number | integer | Required when parent is present | Not allowed | anyOf 4/10: At least one alternative must match. Applies to kind = `"pack"`, physically_confirmed = `true`. Sequence number of this package within the shipment, starting at 1. minimum: `1`. maximum: `100`. |
| operation.packages[].contents | array | Required when parent is present | Not allowed | anyOf 4/10: At least one alternative must match. Applies to kind = `"pack"`, physically_confirmed = `true`. Exact quantities assigned to this package, referencing the dispatch section lines or components. minItems: `1`. maxItems: `250`. |
| operation.packages[].contents[] | object | Every array item | Not allowed | anyOf 4/10: At least one alternative must match. Applies to kind = `"pack"`, physically_confirmed = `true`. Additional properties are not allowed. |
| operation.packages[].contents[].section_line_id | string | Required when parent is present | Not allowed | anyOf 4/10: At least one alternative must match. Applies to kind = `"pack"`, physically_confirmed = `true`. Identifier of the line inside the selected dispatch section. format: `"uuid"`. |
| operation.packages[].contents[].component_id | string | Optional | Not allowed | anyOf 4/10: At least one alternative must match. Applies to kind = `"pack"`, physically_confirmed = `true`. Component identifier within this order, shipment or dispatch section. format: `"uuid"`. |
| operation.packages[].contents[].quantity | string | Required when parent is present | Not allowed | anyOf 4/10: At least one alternative must match. Applies to kind = `"pack"`, physically_confirmed = `true`. Exact decimal-string quantity in the stated unit; no floats. maxLength: `24`. pattern: `"^(0\|[1-9]\\d{0,8})(\\.\\d{1,6})?$"`. |
| operation | object | Conditional: anyOf 5/10 | Not allowed | anyOf 5/10: At least one alternative must match. Applies to kind = `"confirm"`, physically_confirmed = `true`. Select kind, then supply its required fields. Additional properties are not allowed. |
| operation.kind | string | Required when parent is present | Not allowed | anyOf 5/10: At least one alternative must match. Applies to kind = `"confirm"`, physically_confirmed = `true`. Kind selects required fields. const: `"confirm"`. |
| operation.section_id | string | Required when parent is present | Not allowed | anyOf 5/10: At least one alternative must match. Applies to kind = `"confirm"`, physically_confirmed = `true`. Identifier of the dispatch section; choose a new UUID for planning and retain it for subsequent section actions. format: `"uuid"`. |
| operation.expected_version | integer | Required when parent is present | Not allowed | anyOf 5/10: At least one alternative must match. Applies to kind = `"confirm"`, physically_confirmed = `true`. Latest-read version; stale versions rejected. exclusiveMinimum: `0`. maximum: `2147483647`. |
| operation.physically_confirmed | boolean | Required when parent is present | Not allowed | anyOf 5/10: At least one alternative must match. Applies to kind = `"confirm"`, physically_confirmed = `true`. true only after this physical work was performed. const: `true`. |
| operation | object | Conditional: anyOf 6/10 | Not allowed | anyOf 6/10: At least one alternative must match. Applies to kind = `"unpack"`, physically_confirmed = `true`. Select kind, then supply its required fields. Additional properties are not allowed. |
| operation.kind | string | Required when parent is present | Not allowed | anyOf 6/10: At least one alternative must match. Applies to kind = `"unpack"`, physically_confirmed = `true`. Kind selects required fields. const: `"unpack"`. |
| operation.section_id | string | Required when parent is present | Not allowed | anyOf 6/10: At least one alternative must match. Applies to kind = `"unpack"`, physically_confirmed = `true`. Identifier of the dispatch section; choose a new UUID for planning and retain it for subsequent section actions. format: `"uuid"`. |
| operation.expected_version | integer | Required when parent is present | Not allowed | anyOf 6/10: At least one alternative must match. Applies to kind = `"unpack"`, physically_confirmed = `true`. Latest-read version; stale versions rejected. exclusiveMinimum: `0`. maximum: `2147483647`. |
| operation.physically_confirmed | boolean | Required when parent is present | Not allowed | anyOf 6/10: At least one alternative must match. Applies to kind = `"unpack"`, physically_confirmed = `true`. true only after this physical work was performed. const: `true`. |
| operation.reason | string | Required when parent is present | Not allowed | anyOf 6/10: At least one alternative must match. Applies to kind = `"unpack"`, physically_confirmed = `true`. Recorded reason. minLength: `1`. maxLength: `1000`. |
| operation | object | Conditional: anyOf 7/10 | Not allowed | anyOf 7/10: At least one alternative must match. Applies to kind = `"return_raw"`, physically_confirmed = `true`. Select kind, then supply its required fields. Additional properties are not allowed. |
| operation.kind | string | Required when parent is present | Not allowed | anyOf 7/10: At least one alternative must match. Applies to kind = `"return_raw"`, physically_confirmed = `true`. Kind selects required fields. const: `"return_raw"`. |
| operation.section_id | string | Required when parent is present | Not allowed | anyOf 7/10: At least one alternative must match. Applies to kind = `"return_raw"`, physically_confirmed = `true`. Identifier of the dispatch section; choose a new UUID for planning and retain it for subsequent section actions. format: `"uuid"`. |
| operation.expected_version | integer | Required when parent is present | Not allowed | anyOf 7/10: At least one alternative must match. Applies to kind = `"return_raw"`, physically_confirmed = `true`. Latest-read version; stale versions rejected. exclusiveMinimum: `0`. maximum: `2147483647`. |
| operation.physically_confirmed | boolean | Required when parent is present | Not allowed | anyOf 7/10: At least one alternative must match. Applies to kind = `"return_raw"`, physically_confirmed = `true`. true only after this physical work was performed. const: `true`. |
| operation.reason | string | Required when parent is present | Not allowed | anyOf 7/10: At least one alternative must match. Applies to kind = `"return_raw"`, physically_confirmed = `true`. Recorded reason. minLength: `1`. maxLength: `1000`. |
| operation | object | Conditional: anyOf 8/10 | Not allowed | anyOf 8/10: At least one alternative must match. Applies to kind = `"cancel_section"`. Select kind, then supply its required fields. Additional properties are not allowed. |
| operation.kind | string | Required when parent is present | Not allowed | anyOf 8/10: At least one alternative must match. Applies to kind = `"cancel_section"`. Kind selects required fields. const: `"cancel_section"`. |
| operation.section_id | string | Required when parent is present | Not allowed | anyOf 8/10: At least one alternative must match. Applies to kind = `"cancel_section"`. Identifier of the dispatch section; choose a new UUID for planning and retain it for subsequent section actions. format: `"uuid"`. |
| operation.expected_version | integer | Required when parent is present | Not allowed | anyOf 8/10: At least one alternative must match. Applies to kind = `"cancel_section"`. Latest-read version; stale versions rejected. exclusiveMinimum: `0`. maximum: `2147483647`. |
| operation.reason | string | Required when parent is present | Not allowed | anyOf 8/10: At least one alternative must match. Applies to kind = `"cancel_section"`. Recorded reason. minLength: `1`. maxLength: `1000`. |
| operation | object | Conditional: anyOf 9/10 | Not allowed | anyOf 9/10: At least one alternative must match. Applies to kind = `"tracking_record"`. Select kind, then supply its required fields. Additional properties are not allowed. |
| operation.kind | string | Required when parent is present | Not allowed | anyOf 9/10: At least one alternative must match. Applies to kind = `"tracking_record"`. Kind selects required fields. const: `"tracking_record"`. |
| operation.section_id | string | Required when parent is present | Not allowed | anyOf 9/10: At least one alternative must match. Applies to kind = `"tracking_record"`. Identifier of the dispatch section; choose a new UUID for planning and retain it for subsequent section actions. format: `"uuid"`. |
| operation.expected_version | integer | Required when parent is present | Not allowed | anyOf 9/10: At least one alternative must match. Applies to kind = `"tracking_record"`. Latest-read version; stale versions rejected. exclusiveMinimum: `0`. maximum: `2147483647`. |
| operation.package_id | string | Required when parent is present | Not allowed | anyOf 9/10: At least one alternative must match. Applies to kind = `"tracking_record"`. Identifier of the package receiving this tracking entry. format: `"uuid"`. |
| operation.carrier | string | Required when parent is present | Not allowed | anyOf 9/10: At least one alternative must match. Applies to kind = `"tracking_record"`. Carrier name or code associated with the tracking number. minLength: `1`. maxLength: `80`. |
| operation.number | string | Required when parent is present | Not allowed | anyOf 9/10: At least one alternative must match. Applies to kind = `"tracking_record"`. Tracking identifier issued by the carrier. Keep its original spelling. minLength: `1`. maxLength: `120`. |
| operation | object | Conditional: anyOf 10/10 | Not allowed | anyOf 10/10: At least one alternative must match. Applies to kind = `"tracking_correct"`. Select kind, then supply its required fields. Additional properties are not allowed. |
| operation.kind | string | Required when parent is present | Not allowed | anyOf 10/10: At least one alternative must match. Applies to kind = `"tracking_correct"`. Kind selects required fields. const: `"tracking_correct"`. |
| operation.section_id | string | Required when parent is present | Not allowed | anyOf 10/10: At least one alternative must match. Applies to kind = `"tracking_correct"`. Identifier of the dispatch section; choose a new UUID for planning and retain it for subsequent section actions. format: `"uuid"`. |
| operation.expected_version | integer | Required when parent is present | Not allowed | anyOf 10/10: At least one alternative must match. Applies to kind = `"tracking_correct"`. Latest-read version; stale versions rejected. exclusiveMinimum: `0`. maximum: `2147483647`. |
| operation.package_id | string | Required when parent is present | Not allowed | anyOf 10/10: At least one alternative must match. Applies to kind = `"tracking_correct"`. Identifier of the package receiving this tracking entry. format: `"uuid"`. |
| operation.carrier | string | Required when parent is present | Not allowed | anyOf 10/10: At least one alternative must match. Applies to kind = `"tracking_correct"`. Carrier name or code associated with the tracking number. minLength: `1`. maxLength: `80`. |
| operation.number | string | Required when parent is present | Not allowed | anyOf 10/10: At least one alternative must match. Applies to kind = `"tracking_correct"`. Tracking identifier issued by the carrier. Keep its original spelling. minLength: `1`. maxLength: `120`. |
| operation.previous_tracking_id | string | Required when parent is present | Not allowed | anyOf 10/10: At least one alternative must match. Applies to kind = `"tracking_correct"`. Identifier of the tracking entry being corrected; the previous record remains in the history. format: `"uuid"`. |
| operation.reason | string | Required when parent is present | Not allowed | anyOf 10/10: At least one alternative must match. Applies to kind = `"tracking_correct"`. Recorded reason. minLength: `1`. maxLength: `1000`. |
| recovery_only | boolean | Optional | Not allowed | Restrict this request to recovery of previously started work; does not authorize a new business action. Default: `false`. |

## 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.organization_id | string | Required when parent is present | Not allowed | Organization owning this authorized record. format: `"uuid"`. |
| data.idempotency_key | string | Required when parent is present | Not allowed | New client UUID per command; after unclear outcomes retry the same UUID and arguments. format: `"uuid"`. |
| data.kind | string | Required when parent is present | Not allowed | Kind selects required fields. enum: `["plan","revise","pick","pack","confirm","unpack","return_raw","cancel_section","tracking_record","tracking_correct"]`. |
| data.section | object | Required when parent is present | Not allowed | Dispatch section affected by this command. Additional properties are not allowed. |
| data.section.id | string | Required when parent is present | Not allowed | Stable entry identifier. format: `"uuid"`. |
| data.section.order_id | string | Required when parent is present | Not allowed | Meykt order ID from authorized reads; not order number/external reference. format: `"uuid"`. |
| data.section.warehouse_id | string | Required when parent is present | Not allowed | Warehouse identifier from authorized options. format: `"uuid"`. |
| data.section.version | integer | Required when parent is present | Not allowed | Current record version; use unchanged as expected_version. exclusiveMinimum: `0`. maximum: `2147483647`. |
| data.section.status | string | Required when parent is present | Not allowed | Current status; use listed choices where provided. enum: `["planned","picked","packed","shipped","cancelled","needs_review"]`. |
| data.section.created_at | string | Required when parent is present | Not allowed | Created at, with time-zone offset. format: `"date-time"`. |
| data.section.shipped_at | alternative (anyOf) | Required when parent is present | Allowed by schema | Time the physical shipment was confirmed. |
| data.section.shipped_at | string | Conditional: anyOf 1/2 | Not allowed | anyOf 1/2: At least one alternative must match. Time the physical shipment was confirmed. format: `"date-time"`. |
| data.section.shipped_at | null | Conditional: anyOf 2/2 | Allowed by schema | anyOf 2/2: At least one alternative must match. Time the physical shipment was confirmed. |
| data.section.reservation_group_id | string | Required when parent is present | Not allowed | Identifier linking this dispatch section to its stock reservations. format: `"uuid"`. |
| data.section.pick_id | alternative (anyOf) | Required when parent is present | Allowed by schema | Identifier of the picking operation associated with this dispatch section. |
| data.section.pick_id | string | Conditional: anyOf 1/2 | Not allowed | anyOf 1/2: At least one alternative must match. Identifier of the picking operation associated with this dispatch section. format: `"uuid"`. |
| data.section.pick_id | null | Conditional: anyOf 2/2 | Allowed by schema | anyOf 2/2: At least one alternative must match. Identifier of the picking operation associated with this dispatch section. |
| data.section.packing_id | alternative (anyOf) | Required when parent is present | Allowed by schema | Identifier of the packing operation associated with this dispatch section. |
| data.section.packing_id | string | Conditional: anyOf 1/2 | Not allowed | anyOf 1/2: At least one alternative must match. Identifier of the packing operation associated with this dispatch section. format: `"uuid"`. |
| data.section.packing_id | null | Conditional: anyOf 2/2 | Allowed by schema | anyOf 2/2: At least one alternative must match. Identifier of the packing operation associated with this dispatch section. |
| data.section.shipment_id | alternative (anyOf) | Required when parent is present | Allowed by schema | Identifier of the documented shipment that proves the returned or dispatched quantity. |
| data.section.shipment_id | string | Conditional: anyOf 1/2 | Not allowed | anyOf 1/2: At least one alternative must match. Identifier of the documented shipment that proves the returned or dispatched quantity. format: `"uuid"`. |
| data.section.shipment_id | null | Conditional: anyOf 2/2 | Allowed by schema | anyOf 2/2: At least one alternative must match. Identifier of the documented shipment that proves the returned or dispatched quantity. |
| data.section.dispatch_basis | alternative (anyOf) | Optional | Allowed by schema | Recorded meaning of dispatch confirmation; packing-station completion and carrier handover are distinct. |
| data.section.dispatch_basis | alternative (anyOf) | Conditional: anyOf 1/2 | Not allowed | anyOf 1/2: At least one alternative must match. Recorded meaning of dispatch confirmation; packing-station completion and carrier handover are distinct. |
| data.section.dispatch_basis | any JSON value | Conditional: anyOf 1/2 | Not allowed | anyOf 1/2: At least one alternative must match.; anyOf 1/2: At least one alternative must match. Recorded meaning of dispatch confirmation; packing-station completion and carrier handover are distinct. not: `{}`. |
| data.section.dispatch_basis | string | Conditional: anyOf 2/2 | Not allowed | anyOf 1/2: At least one alternative must match.; anyOf 2/2: At least one alternative must match. Recorded meaning of dispatch confirmation; packing-station completion and carrier handover are distinct. enum: `["carrier_handover","pack_station_dispatch"]`. |
| data.section.dispatch_basis | null | Conditional: anyOf 2/2 | Allowed by schema | anyOf 2/2: At least one alternative must match. Recorded meaning of dispatch confirmation; packing-station completion and carrier handover are distinct. |
| data.section.lines | array | Required when parent is present | Not allowed | All selected lines; each must satisfy this action’s quantity/identity rules. maxItems: `200`. |
| data.section.lines[] | object | Every array item | Not allowed | Additional properties are not allowed. |
| data.section.lines[].id | string | Required when parent is present | Not allowed | Stable entry identifier. format: `"uuid"`. |
| data.section.lines[].order_item_id | string | Required when parent is present | Not allowed | Line identifier from the current order read. format: `"uuid"`. |
| data.section.lines[].quantity | string | Required when parent is present | Not allowed | Exact decimal-string quantity in the stated unit; no floats. maxLength: `24`. pattern: `"^(0\|[1-9]\\d{0,8})(\\.\\d{1,6})?$"`. |
| data.section.lines[].product_id | string | Required when parent is present | Not allowed | Meykt article ID; not SKU/external ID. format: `"uuid"`. |
| data.section.lines[].variant_id | alternative (anyOf) | Required when parent is present | Allowed by schema | Native Meykt variant ID; null = main article where allowed. |
| data.section.lines[].variant_id | string | Conditional: anyOf 1/2 | Not allowed | anyOf 1/2: At least one alternative must match. Native Meykt variant ID; null = main article where allowed. format: `"uuid"`. |
| data.section.lines[].variant_id | null | Conditional: anyOf 2/2 | Allowed by schema | anyOf 2/2: At least one alternative must match. Native Meykt variant ID; null = main article where allowed. |
| data.section.lines[].unit | string | Required when parent is present | Not allowed | Exact offered unit; no implicit carton, weight or dimension conversion. |
| data.section.lines[].production_required | boolean | Required when parent is present | Not allowed | Whether this saved line or component requires production before shipping. |
| data.section.lines[].production_ready | boolean | Required when parent is present | Not allowed | Whether the required production for this line or component is complete. |
| data.section.lines[].stock_mode | string | Optional | Not allowed | Saved warehouse behavior: standalone article, virtual set, physical kit or production bill of materials. enum: `["standalone","virtual_set","physical_kit","production_bom"]`. |
| data.section.lines[].components | array | Optional | Not allowed | Component quantities/choices for this set, manufacturing or dispatch line. maxItems: `250`. |
| data.section.lines[].components[] | object | Every array item | Not allowed | Additional properties are not allowed. |
| data.section.lines[].components[].id | string | Required when parent is present | Not allowed | Stable entry identifier. format: `"uuid"`. |
| data.section.lines[].components[].component_ref | string | Required when parent is present | Not allowed | Stable reference to the component of the order's saved product structure. format: `"uuid"`. |
| data.section.lines[].components[].name | string | Required when parent is present | Not allowed | Display name. |
| data.section.lines[].components[].sku | string or null | Required when parent is present | Allowed by schema | Article SKU used to identify the corresponding goods. |
| data.section.lines[].components[].product_id | string | Required when parent is present | Not allowed | Meykt article ID; not SKU/external ID. format: `"uuid"`. |
| data.section.lines[].components[].variant_id | alternative (anyOf) | Required when parent is present | Allowed by schema | Native Meykt variant ID; null = main article where allowed. |
| data.section.lines[].components[].variant_id | string | Conditional: anyOf 1/2 | Not allowed | anyOf 1/2: At least one alternative must match. Native Meykt variant ID; null = main article where allowed. format: `"uuid"`. |
| data.section.lines[].components[].variant_id | null | Conditional: anyOf 2/2 | Allowed by schema | anyOf 2/2: At least one alternative must match. Native Meykt variant ID; null = main article where allowed. |
| data.section.lines[].components[].stock_product_id | string | Required when parent is present | Not allowed | Physical stock article of this product/variant. format: `"uuid"`. |
| data.section.lines[].components[].unit | string | Required when parent is present | Not allowed | Exact offered unit; no implicit carton, weight or dimension conversion. const: `"Stück"`. |
| data.section.lines[].components[].quantity_per_parent | string | Required when parent is present | Not allowed | Component quantity per parent item, in the component’s unit. maxLength: `24`. pattern: `"^(0\|[1-9]\\d{0,8})(\\.\\d{1,6})?$"`. |
| data.section.lines[].components[].quantity | string | Required when parent is present | Not allowed | Exact decimal-string quantity in the stated unit; no floats. maxLength: `24`. pattern: `"^(0\|[1-9]\\d{0,8})(\\.\\d{1,6})?$"`. |
| data.section.lines[].components[].production_required | boolean | Required when parent is present | Not allowed | Whether this saved line or component requires production before shipping. |
| data.section.lines[].components[].production_ready | boolean | Required when parent is present | Not allowed | Whether the required production for this line or component is complete. |
| data.section.packages | array | Required when parent is present | Not allowed | Physical packages with explicit package numbers and their exact contents. maxItems: `100`. |
| data.section.packages[] | object | Every array item | Not allowed | Additional properties are not allowed. |
| data.section.packages[].id | string | Required when parent is present | Not allowed | Stable entry identifier. format: `"uuid"`. |
| data.section.packages[].number | integer | Required when parent is present | Not allowed | Sequence number of this package within the shipment, starting at 1. exclusiveMinimum: `0`. |
| data.section.packages[].contents | array | Required when parent is present | Not allowed | Exact quantities assigned to this package, referencing the dispatch section lines or components. |
| data.section.packages[].contents[] | object | Every array item | Not allowed | Additional properties are not allowed. |
| data.section.packages[].contents[].section_line_id | string | Required when parent is present | Not allowed | Identifier of the line inside the selected dispatch section. format: `"uuid"`. |
| data.section.packages[].contents[].component_id | string | Optional | Not allowed | Component identifier within this order, shipment or dispatch section. format: `"uuid"`. |
| data.section.packages[].contents[].quantity | string | Required when parent is present | Not allowed | Exact decimal-string quantity in the stated unit; no floats. maxLength: `24`. pattern: `"^(0\|[1-9]\\d{0,8})(\\.\\d{1,6})?$"`. |
| data.section.packages[].tracking | array | Required when parent is present | Not allowed | Current package readers omit replaced entries; all returned entries remain recorded together. Earlier command receipts retain their historical state. |
| data.section.packages[].tracking[] | object | Every array item | Not allowed | Additional properties are not allowed. |
| data.section.packages[].tracking[].id | string | Required when parent is present | Not allowed | Stable entry identifier. format: `"uuid"`. |
| data.section.packages[].tracking[].carrier | string | Required when parent is present | Not allowed | Carrier name or code associated with the tracking number. |
| data.section.packages[].tracking[].number | string | Required when parent is present | Not allowed | Tracking identifier issued by the carrier. Keep its original spelling. |
| data.section.packages[].tracking[].recorded_at | string | Required when parent is present | Not allowed | Time this tracking or business record was saved. format: `"date-time"`. |

## Response 401, 403, 404, 409, 413, 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. 413: The JSON request exceeds 256 KiB. 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"`. |
