Choose current order boxes in your own warehouse
All field references · Shipping
GET /v1/dispatches/boxes
Paginated live box selection. available is a point-in-time selection aid; the physical booking checks occupancy and capacity again.
Required scopes: "dispatch:read".
#Parameters
#query: warehouse_id
Required. One of your own warehouses, as offered.
| Field | Type | Presence | null | Meaning, limits and examples |
|---|---|---|---|---|
| $ (whole value) | string | Whole value | Not allowed | format: "uuid". |
#query: search
Optional. Box name or code.
| Field | Type | Presence | null | Meaning, limits and examples |
|---|---|---|---|---|
| $ (whole value) | string | Whole value | Not allowed | maxLength: 200. |
#query: limit
Optional. At most 100 boxes.
| Field | Type | Presence | null | Meaning, limits and examples |
|---|---|---|---|---|
| $ (whole value) | integer | Whole value | Not allowed | Default: 100. minimum: 1. maximum: 100. |
#query: offset
Optional. Next list offset.
| Field | Type | Presence | null | Meaning, limits and examples |
|---|---|---|---|---|
| $ (whole value) | integer | Whole value | Not allowed | Default: 0. minimum: 0. |
#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.organization_id | string | Required when parent is present | Not allowed | Organization owning this authorized record. format: "uuid". |
| data.warehouse_id | string | Required when parent is present | Not allowed | Warehouse identifier from authorized options. format: "uuid". |
| data.boxes | array | Required when parent is present | Not allowed | Picking boxes currently offered in this warehouse. maxItems: 100. |
| data.boxes[] | object | Every array item | Not allowed | Additional properties are not allowed. |
| data.boxes[].id | string | Required when parent is present | Not allowed | Stable entry identifier. format: "uuid". |
| data.boxes[].warehouse_id | string | Required when parent is present | Not allowed | Warehouse identifier from authorized options. format: "uuid". |
| data.boxes[].location_id | string | Required when parent is present | Not allowed | Storage location identifier in the selected warehouse. format: "uuid". |
| data.boxes[].location_name | string | Required when parent is present | Not allowed | Display name of the storage location; null when no location is available. |
| data.boxes[].code | string | Required when parent is present | Not allowed | Stable human-readable code for this catalog entry. pattern: "^MK-BOX-[A-Z0-9-]{1,40}$". |
| data.boxes[].name | string | Required when parent is present | Not allowed | Display name. minLength: 1. |
| data.boxes[].enabled | boolean | Required when parent is present | Not allowed | Whether this configuration or offered box is enabled. |
| data.boxes[].version | integer | Required when parent is present | Not allowed | Current record version; use unchanged as expected_version. minimum: 1. maximum: 2147483647. |
| data.boxes[].available | boolean | Required when parent is present | Not allowed | Whether this picking box is currently available for a new assignment. |
| data.boxes[].area_id | alternative (anyOf) | Optional | Allowed by schema | Identifier of the warehouse area containing this location or box. |
| data.boxes[].area_id | string | Conditional: anyOf 1/2 | Not allowed | anyOf 1/2: At least one alternative must match. Identifier of the warehouse area containing this location or box. format: "uuid". |
| data.boxes[].area_id | null | Conditional: anyOf 2/2 | Allowed by schema | anyOf 2/2: At least one alternative must match. Identifier of the warehouse area containing this location or box. |
| data.boxes[].slot_id | alternative (anyOf) | Optional | Allowed by schema | Stable component slot ID from the selected structure. |
| data.boxes[].slot_id | string | Conditional: anyOf 1/2 | Not allowed | anyOf 1/2: At least one alternative must match. Stable component slot ID from the selected structure. format: "uuid". |
| data.boxes[].slot_id | null | Conditional: anyOf 2/2 | Allowed by schema | anyOf 2/2: At least one alternative must match. Stable component slot ID from the selected structure. |
| data.boxes[].area_name | string or null | Optional | Allowed by schema | Display name of the warehouse area. |
| data.boxes[].slot_label | string or null | Optional | Allowed by schema | Display label identifying the storage or picking slot. |
| data.boxes[].length_mm | alternative (anyOf) | Optional | Allowed by schema | Length in millimetres. |
| data.boxes[].length_mm | number | Conditional: anyOf 1/2 | Not allowed | anyOf 1/2: At least one alternative must match. Length in millimetres. minimum: 0. maximum: 999999999. |
| data.boxes[].length_mm | null | Conditional: anyOf 2/2 | Allowed by schema | anyOf 2/2: At least one alternative must match. Length in millimetres. |
| data.boxes[].width_mm | alternative (anyOf) | Optional | Allowed by schema | Width in millimetres. |
| data.boxes[].width_mm | number | Conditional: anyOf 1/2 | Not allowed | anyOf 1/2: At least one alternative must match. Width in millimetres. minimum: 0. maximum: 999999999. |
| data.boxes[].width_mm | null | Conditional: anyOf 2/2 | Allowed by schema | anyOf 2/2: At least one alternative must match. Width in millimetres. |
| data.boxes[].height_mm | alternative (anyOf) | Optional | Allowed by schema | Height in millimetres. |
| data.boxes[].height_mm | number | Conditional: anyOf 1/2 | Not allowed | anyOf 1/2: At least one alternative must match. Height in millimetres. minimum: 0. maximum: 999999999. |
| data.boxes[].height_mm | null | Conditional: anyOf 2/2 | Allowed by schema | anyOf 2/2: At least one alternative must match. Height in millimetres. |
| data.boxes[].min_units | alternative (anyOf) | Optional | Allowed by schema | Minimum number of units configured for this location. |
| data.boxes[].min_units | integer | Conditional: anyOf 1/2 | Not allowed | anyOf 1/2: At least one alternative must match. Minimum number of units configured for this location. minimum: 0. maximum: 999999999. |
| data.boxes[].min_units | null | Conditional: anyOf 2/2 | Allowed by schema | anyOf 2/2: At least one alternative must match. Minimum number of units configured for this location. |
| data.boxes[].max_units | alternative (anyOf) | Optional | Allowed by schema | Maximum number of units configured for this location. |
| data.boxes[].max_units | integer | Conditional: anyOf 1/2 | Not allowed | anyOf 1/2: At least one alternative must match. Maximum number of units configured for this location. minimum: 0. maximum: 999999999. |
| data.boxes[].max_units | null | Conditional: anyOf 2/2 | Allowed by schema | anyOf 2/2: At least one alternative must match. Maximum number of units configured for this location. |
| data.boxes[].quantity_basis | string | Optional | Not allowed | Capacity is measured in individual units for this picking box. const: "units". |
| data.boxes[].pick | alternative (anyOf) | Required when parent is present | Allowed by schema | Picking operation associated with this dispatch work. |
| data.boxes[].pick | object | Conditional: anyOf 1/2 | Not allowed | anyOf 1/2: At least one alternative must match. Picking operation associated with this dispatch work. Additional properties are not allowed. |
| data.boxes[].pick.id | string | Required when parent is present | Not allowed | anyOf 1/2: At least one alternative must match. Stable entry identifier. format: "uuid". |
| data.boxes[].pick.order_id | string | Required when parent is present | Not allowed | anyOf 1/2: At least one alternative must match. Meykt order ID from authorized reads; not order number/external reference. format: "uuid". |
| data.boxes[].pick.order_number | string | Required when parent is present | Not allowed | anyOf 1/2: At least one alternative must match. Human-readable order number displayed in Meykt. |
| data.boxes[].pick.status | string | Required when parent is present | Not allowed | anyOf 1/2: At least one alternative must match. Current status; use listed choices where provided. enum: ["collecting","picked","needs_review"]. |
| data.boxes[].pick.version | integer | Required when parent is present | Not allowed | anyOf 1/2: At least one alternative must match. Current record version; use unchanged as expected_version. minimum: 1. maximum: 2147483647. |
| data.boxes[].pick.assigned_user_id | string | Required when parent is present | Not allowed | anyOf 1/2: At least one alternative must match. Identifier of the user currently assigned to this warehouse task. format: "uuid". |
| data.boxes[].pick.movement_state | string | Required when parent is present | Not allowed | anyOf 1/2: At least one alternative must match. Current movement state of the picking box. enum: ["not_booked","in_collection","in_box"]. |
| data.boxes[].pick | null | Conditional: anyOf 2/2 | Allowed by schema | anyOf 2/2: At least one alternative must match. Picking operation associated with this dispatch work. |
| data.total | integer | Required when parent is present | Not allowed | Total number of entries matching this list query, before pagination. minimum: -9007199254740991. maximum: 9007199254740991. |
| data.limit | integer | Required when parent is present | Not allowed | Page size. minimum: 1. maximum: 100. |
| data.offset | integer | Required when parent is present | Not allowed | Number of entries skipped before this page. minimum: 0. maximum: 1000000. |
| data.locations | array | Required when parent is present | Not allowed | Storage locations currently offered in the selected warehouse. maxItems: 1000. |
| data.locations[] | object | Every array item | Not allowed | Additional properties are not allowed. |
| data.locations[].id | string | Required when parent is present | Not allowed | Stable entry identifier. format: "uuid". |
| data.locations[].name | string | Required when parent is present | Not allowed | Display name. |
| data.locations[].code | string or null | Required when parent is present | Allowed by schema | Stable human-readable code for this catalog entry. |
#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-boxes.md