Choose recipes, free components and warehouse targets
All field references · Manufacturing
GET /v1/manufacturing/options
Choose a definition and a warehouse to get real free source positions with versions and allowed recipe slots. Use next and source_next independently. Output conditions are chosen explicitly; quarantine stays physically visible and unsellable.
Required scopes: "inventory:read", "products:read".
#Parameters
#query: owner_organization_id
Optional. Optional goods owner: yourself or one that released goods to you.
| Field | Type | Presence | null | Meaning, limits and examples |
|---|---|---|---|---|
| $ (whole value) | string | Whole value | Not allowed | format: "uuid". |
#query: definition_id
Optional. Published physical definition.
| Field | Type | Presence | null | Meaning, limits and examples |
|---|---|---|---|---|
| $ (whole value) | string | Whole value | Not allowed | format: "uuid". |
#query: warehouse_id
Optional. Your own actual warehouse.
| Field | Type | Presence | null | Meaning, limits and examples |
|---|---|---|---|---|
| $ (whole value) | string | Whole value | Not allowed | format: "uuid". |
#query: source_after
Optional. The unchanged source_next value for more source positions.
| Field | Type | Presence | null | Meaning, limits and examples |
|---|---|---|---|---|
| $ (whole value) | string | Whole value | Not allowed | format: "uuid". |
#query: search
Optional. Search by product or goods owner.
| Field | Type | Presence | null | Meaning, limits and examples |
|---|---|---|---|---|
| $ (whole value) | string | Whole value | Not allowed | maxLength: 200. |
#query: after
Optional. The unchanged next value from the previous page.
| Field | Type | Presence | null | Meaning, limits and examples |
|---|---|---|---|---|
| $ (whole value) | string | Whole value | Not allowed | format: "uuid". |
#query: limit
Optional. Entries per page, at most 100.
| Field | Type | Presence | null | Meaning, limits and examples |
|---|---|---|---|---|
| $ (whole value) | integer | Whole value | Not allowed | Default: 50. minimum: 1. maximum: 100. |
#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.definitions | array | Required when parent is present | Not allowed | Condition or manufacturing definitions available in this authorized view. maxItems: 100. |
| data.definitions[] | object | Every array item | Not allowed | Additional properties are not allowed. |
| data.definitions[].id | string | Required when parent is present | Not allowed | Stable entry identifier. format: "uuid". |
| data.definitions[].owner_organization_id | string | Required when parent is present | Not allowed | Goods owner from current authorized options. format: "uuid". |
| data.definitions[].owner_name | string | Required when parent is present | Not allowed | Display name of the goods owner. |
| data.definitions[].product_id | string | Required when parent is present | Not allowed | Meykt article ID; not SKU/external ID. format: "uuid". |
| data.definitions[].product_name | string | Required when parent is present | Not allowed | Article display name. |
| data.definitions[].variant_id | alternative (anyOf) | Required when parent is present | Allowed by schema | Native Meykt variant ID; null = main article where allowed. |
| data.definitions[].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.definitions[].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.definitions[].variant_name | string or null | Required when parent is present | Allowed by schema | Display name of the native variant. |
| data.definitions[].stock_product_id | string | Required when parent is present | Not allowed | Physical stock article of this product/variant. format: "uuid". |
| data.definitions[].revision | integer | Required when parent is present | Not allowed | Revision token; reuse unchanged for the next change. minimum: 1. maximum: 2147483647. |
| data.definitions[].mode | string | Required when parent is present | Not allowed | Mode; follow its required fields. enum: ["physical_kit","production_bom"]. |
| data.definitions[].structure_version_id | string | Required when parent is present | Not allowed | Exact saved recipe version whose warehouse behavior is being configured. format: "uuid". |
| data.next | alternative (anyOf) | Required when parent is present | Allowed by schema | Next-page cursor; null = last page. |
| data.next | string | Conditional: anyOf 1/2 | Not allowed | anyOf 1/2: At least one alternative must match. Next-page cursor; null = last page. format: "uuid". |
| data.next | null | Conditional: anyOf 2/2 | Allowed by schema | anyOf 2/2: At least one alternative must match. Next-page cursor; null = last page. |
| data.selected_definition | alternative (anyOf) | Required when parent is present | Allowed by schema | Published warehouse definition selected for this operation. |
| data.selected_definition | object | Conditional: anyOf 1/2 | Not allowed | anyOf 1/2: At least one alternative must match. Published warehouse definition selected for this operation. Additional properties are not allowed. |
| data.selected_definition.product_id | string | Required when parent is present | Not allowed | anyOf 1/2: At least one alternative must match. Meykt article ID; not SKU/external ID. format: "uuid". |
| data.selected_definition.variant_id | alternative (anyOf) | Required when parent is present | Allowed by schema | anyOf 1/2: At least one alternative must match. Native Meykt variant ID; null = main article where allowed. |
| data.selected_definition.variant_id | string | Conditional: anyOf 1/2 | Not allowed | anyOf 1/2: At least one alternative must match.; anyOf 1/2: At least one alternative must match. Native Meykt variant ID; null = main article where allowed. format: "uuid". |
| data.selected_definition.variant_id | 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. Native Meykt variant ID; null = main article where allowed. |
| data.selected_definition.stock_product_id | alternative (anyOf) | Required when parent is present | Allowed by schema | anyOf 1/2: At least one alternative must match. Physical stock article of this product/variant. |
| data.selected_definition.stock_product_id | string | Conditional: anyOf 1/2 | Not allowed | anyOf 1/2: At least one alternative must match.; anyOf 1/2: At least one alternative must match. Physical stock article of this product/variant. format: "uuid". |
| data.selected_definition.stock_product_id | 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. Physical stock article of this product/variant. |
| data.selected_definition.variant_revision | alternative (anyOf) | Required when parent is present | Allowed by schema | anyOf 1/2: At least one alternative must match. Current revision of the variant binding; retain it when changing that binding. |
| data.selected_definition.variant_revision | string | Conditional: anyOf 1/2 | Not allowed | anyOf 1/2: At least one alternative must match.; anyOf 1/2: At least one alternative must match. Current revision of the variant binding; retain it when changing that binding. format: "date-time". |
| data.selected_definition.variant_revision | 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. Current revision of the variant binding; retain it when changing that binding. |
| data.selected_definition.definition_id | string | Required when parent is present | Not allowed | anyOf 1/2: At least one alternative must match. Identifier of the published warehouse manufacturing definition. format: "uuid". |
| data.selected_definition.structure_version_id | string | Required when parent is present | Not allowed | anyOf 1/2: At least one alternative must match. Exact saved recipe version whose warehouse behavior is being configured. format: "uuid". |
| data.selected_definition.revision | integer | Required when parent is present | Not allowed | anyOf 1/2: At least one alternative must match. Revision token; reuse unchanged for the next change. exclusiveMinimum: 0. |
| data.selected_definition.mode | string | Required when parent is present | Not allowed | anyOf 1/2: At least one alternative must match. Mode; follow its required fields. enum: ["virtual_set","physical_kit","production_bom"]. |
| data.selected_definition.output_condition_policy | alternative (anyOf) | Required when parent is present | Not allowed | anyOf 1/2: At least one alternative must match. Condition policy for finished goods from this warehouse definition. |
| data.selected_definition.output_condition_policy | object | Conditional: anyOf 1/2 | Not allowed | anyOf 1/2: At least one alternative must match.; anyOf 1/2: At least one alternative must match. Applies to kind = "certified_released". Condition policy for finished goods from this warehouse definition. Additional properties are not allowed. |
| data.selected_definition.output_condition_policy.kind | string | Required when parent is present | Not allowed | anyOf 1/2: At least one alternative must match.; anyOf 1/2: At least one alternative must match. Applies to kind = "certified_released". Kind selects required fields. const: "certified_released". |
| data.selected_definition.output_condition_policy | object | Conditional: anyOf 2/2 | Not allowed | anyOf 1/2: At least one alternative must match.; anyOf 2/2: At least one alternative must match. Applies to kind = "selected". Condition policy for finished goods from this warehouse definition. Additional properties are not allowed. |
| data.selected_definition.output_condition_policy.kind | string | Required when parent is present | Not allowed | anyOf 1/2: At least one alternative must match.; anyOf 2/2: At least one alternative must match. Applies to kind = "selected". Kind selects required fields. const: "selected". |
| data.selected_definition.output_condition_policy.condition_refs | array | Required when parent is present | Not allowed | anyOf 1/2: At least one alternative must match.; anyOf 2/2: At least one alternative must match. Applies to kind = "selected". Distinct immutable condition references selected from the current catalog. minItems: 1. maxItems: 100. |
| data.selected_definition.output_condition_policy.condition_refs[] | string | Every array item | Not allowed | anyOf 1/2: At least one alternative must match.; anyOf 2/2: At least one alternative must match. Applies to kind = "selected". format: "uuid". |
| data.selected_definition.created_at | string | Required when parent is present | Not allowed | anyOf 1/2: At least one alternative must match. Created at, with time-zone offset. format: "date-time". |
| data.selected_definition.components | array | Required when parent is present | Not allowed | anyOf 1/2: At least one alternative must match. Component quantities/choices for this set, manufacturing or dispatch line. minItems: 1. maxItems: 100. |
| data.selected_definition.components[] | object | Every array item | Not allowed | anyOf 1/2: At least one alternative must match. Additional properties are not allowed. |
| data.selected_definition.components[].id | string | Required when parent is present | Not allowed | anyOf 1/2: At least one alternative must match. Stable entry identifier. format: "uuid". |
| data.selected_definition.components[].slot_id | string | Required when parent is present | Not allowed | anyOf 1/2: At least one alternative must match. Stable component slot ID from the selected structure. format: "uuid". |
| data.selected_definition.components[].product_id | string | Required when parent is present | Not allowed | anyOf 1/2: At least one alternative must match. Meykt article ID; not SKU/external ID. format: "uuid". |
| data.selected_definition.components[].variant_id | alternative (anyOf) | Required when parent is present | Allowed by schema | anyOf 1/2: At least one alternative must match. Native Meykt variant ID; null = main article where allowed. |
| data.selected_definition.components[].variant_id | string | Conditional: anyOf 1/2 | Not allowed | anyOf 1/2: At least one alternative must match.; anyOf 1/2: At least one alternative must match. Native Meykt variant ID; null = main article where allowed. format: "uuid". |
| data.selected_definition.components[].variant_id | 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. Native Meykt variant ID; null = main article where allowed. |
| data.selected_definition.components[].stock_product_id | string | Required when parent is present | Not allowed | anyOf 1/2: At least one alternative must match. Physical stock article of this product/variant. format: "uuid". |
| data.selected_definition.components[].unit | string | Required when parent is present | Not allowed | anyOf 1/2: At least one alternative must match. Exact offered unit; no implicit carton, weight or dimension conversion. const: "piece". |
| data.selected_definition.components[].quantity_per_parent | string | Required when parent is present | Not allowed | anyOf 1/2: At least one alternative must match. Component quantity per parent item, in the component’s unit. pattern: "^[1-9]\\d{0,8}$". |
| data.selected_definition.components[].condition_policy | alternative (anyOf) | Required when parent is present | Not allowed | anyOf 1/2: At least one alternative must match. Policy selecting which stock conditions are eligible for this component. |
| data.selected_definition.components[].condition_policy | object | Conditional: anyOf 1/2 | Not allowed | anyOf 1/2: At least one alternative must match.; anyOf 1/2: At least one alternative must match. Applies to kind = "certified_released". Policy selecting which stock conditions are eligible for this component. Additional properties are not allowed. |
| data.selected_definition.components[].condition_policy.kind | string | Required when parent is present | Not allowed | anyOf 1/2: At least one alternative must match.; anyOf 1/2: At least one alternative must match. Applies to kind = "certified_released". Kind selects required fields. const: "certified_released". |
| data.selected_definition.components[].condition_policy | object | Conditional: anyOf 2/2 | Not allowed | anyOf 1/2: At least one alternative must match.; anyOf 2/2: At least one alternative must match. Applies to kind = "selected". Policy selecting which stock conditions are eligible for this component. Additional properties are not allowed. |
| data.selected_definition.components[].condition_policy.kind | string | Required when parent is present | Not allowed | anyOf 1/2: At least one alternative must match.; anyOf 2/2: At least one alternative must match. Applies to kind = "selected". Kind selects required fields. const: "selected". |
| data.selected_definition.components[].condition_policy.condition_refs | array | Required when parent is present | Not allowed | anyOf 1/2: At least one alternative must match.; anyOf 2/2: At least one alternative must match. Applies to kind = "selected". Distinct immutable condition references selected from the current catalog. minItems: 1. maxItems: 100. |
| data.selected_definition.components[].condition_policy.condition_refs[] | string | Every array item | Not allowed | anyOf 1/2: At least one alternative must match.; anyOf 2/2: At least one alternative must match. Applies to kind = "selected". format: "uuid". |
| data.selected_definition | null | Conditional: anyOf 2/2 | Allowed by schema | anyOf 2/2: At least one alternative must match. Published warehouse definition selected for this operation. |
| data.parts | array | Required when parent is present | Not allowed | Complete list of component slots in this native recipe. maxItems: 100. |
| data.parts[] | object | Every array item | Not allowed | Additional properties are not allowed. |
| data.parts[].id | string | Required when parent is present | Not allowed | Stable entry identifier. format: "uuid". |
| data.parts[].slot_id | string | Required when parent is present | Not allowed | Stable component slot ID from the selected structure. format: "uuid". |
| data.parts[].product_id | string | Required when parent is present | Not allowed | Meykt article ID; not SKU/external ID. format: "uuid". |
| data.parts[].product_name | string | Required when parent is present | Not allowed | Article display name. |
| data.parts[].variant_name | string or null | Required when parent is present | Allowed by schema | Display name of the native variant. |
| data.parts[].quantity_per_parent | string | Required when parent is present | Not allowed | Component quantity per parent item, in the component’s unit. pattern: "^(0|[1-9]\\d{0,8})$". |
| data.parts[].unit | string | Required when parent is present | Not allowed | Exact offered unit; no implicit carton, weight or dimension conversion. const: "piece". |
| data.warehouses | array | Required when parent is present | Not allowed | Warehouses currently offered for the selected owner or operator. |
| data.warehouses[] | object | Every array item | Not allowed | Additional properties are not allowed. |
| data.warehouses[].id | string | Required when parent is present | Not allowed | Stable entry identifier. format: "uuid". |
| data.warehouses[].name | string | Required when parent is present | Not allowed | Display name. |
| data.warehouses[].locations | array | Required when parent is present | Not allowed | Storage locations currently offered in the selected warehouse. |
| data.warehouses[].locations[] | object | Every array item | Not allowed | Additional properties are not allowed. |
| data.warehouses[].locations[].id | string | Required when parent is present | Not allowed | Stable entry identifier. format: "uuid". |
| data.warehouses[].locations[].name | string | Required when parent is present | Not allowed | Display name. |
| data.warehouses[].locations[].purpose | string | Required when parent is present | Not allowed | Warehouse purpose of this location, as indicated by its allowed enum values. enum: ["storage","reserve","receiving","clarification","shop","transfer"]. |
| data.conditions | array | Required when parent is present | Not allowed | Stock conditions currently offered for this authorized operation. |
| data.conditions[] | object | Every array item | Not allowed | Additional properties are not allowed. |
| data.conditions[].id | string | Required when parent is present | Not allowed | Stable entry identifier. format: "uuid". |
| data.conditions[].name | string | Required when parent is present | Not allowed | Display name. |
| data.conditions[].disposition | string | Required when parent is present | Not allowed | Listed disposition; follow-up depends on the current case and rights. enum: ["released","quarantine","blocked"]. |
| data.sources | array | Required when parent is present | Not allowed | Currently allowed stock sources for the selected manufacturing operation. maxItems: 100. |
| data.sources[] | object | Every array item | Not allowed | Additional properties are not allowed. |
| data.sources[].balance_id | string | Required when parent is present | Not allowed | Stock balance ID from the current warehouse view. format: "uuid". |
| data.sources[].stock_item_id | string | Required when parent is present | Not allowed | Offered stock item ID for this owner/warehouse; not a SKU. format: "uuid". |
| data.sources[].product_id | string | Required when parent is present | Not allowed | Meykt article ID; not SKU/external ID. format: "uuid". |
| data.sources[].product_name | string | Required when parent is present | Not allowed | Article display name. |
| data.sources[].sku | string or null | Required when parent is present | Allowed by schema | Article SKU used to identify the corresponding goods. |
| data.sources[].location_id | alternative (anyOf) | Required when parent is present | Allowed by schema | Storage location identifier in the selected warehouse. |
| data.sources[].location_id | string | Conditional: anyOf 1/2 | Not allowed | anyOf 1/2: At least one alternative must match. Storage location identifier in the selected warehouse. format: "uuid". |
| data.sources[].location_id | null | Conditional: anyOf 2/2 | Allowed by schema | anyOf 2/2: At least one alternative must match. Storage location identifier in the selected warehouse. |
| data.sources[].location_name | string or null | Required when parent is present | Allowed by schema | Display name of the storage location; null when no location is available. |
| data.sources[].condition_id | alternative (anyOf) | Required when parent is present | Allowed by schema | Condition identifier from current choices. |
| data.sources[].condition_id | string | Conditional: anyOf 1/2 | Not allowed | anyOf 1/2: At least one alternative must match. Condition identifier from current choices. format: "uuid". |
| data.sources[].condition_id | null | Conditional: anyOf 2/2 | Allowed by schema | anyOf 2/2: At least one alternative must match. Condition identifier from current choices. |
| data.sources[].condition_name | string or null | Required when parent is present | Allowed by schema | Display name of the recorded stock condition. |
| data.sources[].quantity | string | Required when parent is present | Not allowed | Exact decimal-string quantity in the stated unit; no floats. pattern: "^(0|[1-9]\\d{0,8})(\\.\\d{1,6})?$". |
| data.sources[].version | integer | Required when parent is present | Not allowed | Current record version; use unchanged as expected_version. minimum: 1. maximum: 2147483647. |
| data.sources[].allowed_part_ids | array | Required when parent is present | Not allowed | Definition component slots for which this source balance may be selected. maxItems: 100. |
| data.sources[].allowed_part_ids[] | string | Every array item | Not allowed | format: "uuid". |
| data.source_next | alternative (anyOf) | Required when parent is present | Allowed by schema | Cursor for the next stock-source page; null means no further page. |
| data.source_next | string | Conditional: anyOf 1/2 | Not allowed | anyOf 1/2: At least one alternative must match. Cursor for the next stock-source page; null means no further page. format: "uuid". |
| data.source_next | null | Conditional: anyOf 2/2 | Allowed by schema | anyOf 2/2: At least one alternative must match. Cursor for the next stock-source page; null means no further page. |
#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-read-manufacturing-options.md