Choose warehouses, item quantities, components and inbound delivery claims
All field references · Shipping
GET /v1/dispatches/options
Returns readable names and allowed identifiers for planning dispatch sections. Reserved inbound delivery claims are taken over explicitly and never reserved twice.
Required scopes: "dispatch:read".
#Parameters
#query: order_id
Required. Your own execution order in the warehouse. The current creator of the key needs warehouse access.
| Field | Type | Presence | null | Meaning, limits and examples |
|---|---|---|---|---|
| $ (whole value) | string | Whole value | Not allowed | format: "uuid". |
#Request body
No request body is defined for this operation.
#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.order_id | string | Required when parent is present | Not allowed | Meykt order identifier from an authorized order read; not the order number or external reference. format: "uuid". |
| data.warehouses | array | Required when parent is present | Not allowed | Warehouses currently offered for the selected owner or operator. maxItems: 1000. |
| data.warehouses[] | object | Every array item | Not allowed | Additional properties are not allowed. |
| data.warehouses[].id | string | Required when parent is present | Not allowed | Identifier of this entry. Keep it unchanged when referring to the same entry in subsequent requests. format: "uuid". |
| data.warehouses[].name | string | Required when parent is present | Not allowed | Display name of this catalog entry or resource. |
| data.lines | array | Required when parent is present | Not allowed | Complete line selection for this operation; each entry must satisfy the selected action's quantity and identity rules. maxItems: 200. |
| data.lines[] | object | Every array item | Not allowed | Additional properties are not allowed. |
| data.lines[].id | string | Required when parent is present | Not allowed | Identifier of this entry. Keep it unchanged when referring to the same entry in subsequent requests. format: "uuid". |
| data.lines[].group | alternative (anyOf) | Optional | Allowed by schema | Visual grouping of order lines; does not create stock demand or a shipping constraint. |
| data.lines[].group | object | Conditional: anyOf 1/2 | Not allowed | anyOf 1/2: At least one alternative must match. Visual grouping of order lines; does not create stock demand or a shipping constraint. Additional properties are not allowed. |
| data.lines[].group.key | string | Required when parent is present | Not allowed | anyOf 1/2: At least one alternative must match. Stable key grouping related lines within this order; no leading or trailing whitespace or forbidden characters. minLength: 1. maxLength: 128. |
| data.lines[].group.title | string | Optional | Not allowed | anyOf 1/2: At least one alternative must match. Optional display heading; all lines sharing the same key must agree on a supplied title. minLength: 1. maxLength: 300. |
| data.lines[].group | null | Conditional: anyOf 2/2 | Allowed by schema | anyOf 2/2: At least one alternative must match. Visual grouping of order lines; does not create stock demand or a shipping constraint. |
| data.lines[].group_member_ids | array | Optional | Not allowed | Order-item identifiers belonging to this visual group. |
| data.lines[].group_member_ids[] | string | Every array item | Not allowed | format: "uuid". |
| data.lines[].name | string | Required when parent is present | Not allowed | Display name of this catalog entry or resource. |
| data.lines[].quantity | string | Required when parent is present | Not allowed | Exact quantity in the stated unit, sent as a decimal string; never send a floating-point approximation. |
| data.lines[].received_claims | array | Required when parent is present | Not allowed | Received quantities held for previously allocated order lines. maxItems: 100. |
| data.lines[].received_claims[] | object | Every array item | Not allowed | Additional properties are not allowed. |
| data.lines[].received_claims[].id | string | Required when parent is present | Not allowed | Identifier of this entry. Keep it unchanged when referring to the same entry in subsequent requests. format: "uuid". |
| data.lines[].received_claims[].quantity | string | Required when parent is present | Not allowed | Exact quantity in the stated unit, sent as a decimal string; never send a floating-point approximation. |
| data.lines[].received_claims[].reference | string | Required when parent is present | Not allowed | Human-readable reference from the originating system, shown with the operation. |
| data.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.lines[].components | array | Optional | Not allowed | Component quantities or selections for the associated set, manufacturing operation or dispatch line. maxItems: 100. |
| data.lines[].components[] | object | Every array item | Not allowed | Additional properties are not allowed. |
| data.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.lines[].components[].name | string | Required when parent is present | Not allowed | Display name of this catalog entry or resource. |
| data.lines[].components[].sku | string or null | Required when parent is present | Allowed by schema | Article SKU used to identify the corresponding goods. |
| data.lines[].components[].product_id | string | Required when parent is present | Not allowed | Meykt article identifier; not its SKU or an external system identifier. format: "uuid". |
| data.lines[].components[].variant_id | alternative (anyOf) | Required when parent is present | Allowed by schema | Native Meykt variant identifier; null refers to the main article where allowed. |
| data.lines[].components[].variant_id | string | Conditional: anyOf 1/2 | Not allowed | anyOf 1/2: At least one alternative must match. Native Meykt variant identifier; null refers to the main article where allowed. format: "uuid". |
| data.lines[].components[].variant_id | null | Conditional: anyOf 2/2 | Allowed by schema | anyOf 2/2: At least one alternative must match. Native Meykt variant identifier; null refers to the main article where allowed. |
| data.lines[].components[].stock_product_id | string | Required when parent is present | Not allowed | Physical article whose inventory is tracked for this product or variant. format: "uuid". |
| data.lines[].components[].unit | string | Required when parent is present | Not allowed | Unit of the quantity. Follow the offered value exactly; no implicit carton, weight or dimension conversion is performed. const: "Stück". |
| data.lines[].components[].quantity_per_parent | string | Required when parent is present | Not allowed | Quantity of this component required per one parent item, in the component's stated unit. |
| data.lines[].components[].required | string | Required when parent is present | Not allowed | Quantity required by this order or component. |
| data.lines[].components[].allocated | string | Required when parent is present | Not allowed | Quantity assigned to active dispatch sections. |
| data.lines[].components[].shipped | string | Required when parent is present | Not allowed | Quantity whose physical shipment has been confirmed. |
| data.lines[].components[].remaining | string | Required when parent is present | Not allowed | Ordered quantity not yet shipped, allocated or cancelled. |
| data.lines[].components[].unallocated | string | Required when parent is present | Not allowed | Quantity not yet assigned to any dispatch section. |
| data.lines[].components[].received_claims | array | Required when parent is present | Not allowed | Received quantities held for previously allocated order lines. maxItems: 100. |
| data.lines[].components[].received_claims[] | object | Every array item | Not allowed | Additional properties are not allowed. |
| data.lines[].components[].received_claims[].id | string | Required when parent is present | Not allowed | Identifier of this entry. Keep it unchanged when referring to the same entry in subsequent requests. format: "uuid". |
| data.lines[].components[].received_claims[].quantity | string | Required when parent is present | Not allowed | Exact quantity in the stated unit, sent as a decimal string; never send a floating-point approximation. |
| data.lines[].components[].received_claims[].reference | string | Required when parent is present | Not allowed | Human-readable reference from the originating system, shown with the operation. |
#Response 401, 403, 404, 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". 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". |
Machine-readable version of this page: https://www.meykt.com/developers/fields-get-dispatch-options.md