Resolve goods still bound to you after a release was revoked
All field references · Inbound deliveries
GET /v1/inbounds/custody
Only the actual warehouse operator sees its own physical binding. Partner data stays redacted. Real reservations that were already taken over are resolved through their original order path.
Required scopes: "inbound:read".
#Parameters
#query: entity_id
Optional. A specific case; otherwise read the paginated list.
| Field | Type | Presence | null | Meaning, limits and examples |
|---|---|---|---|---|
| $ (whole value) | string | Whole value | Not allowed | format: "uuid". |
#query: after
Optional. The unchanged next value.
| Field | Type | Presence | null | Meaning, limits and examples |
|---|---|---|---|---|
| $ (whole value) | string | Whole value | Not allowed | format: "uuid". |
#query: limit
Optional. Default 20, maximum 50.
| Field | Type | Presence | null | Meaning, limits and examples |
|---|---|---|---|---|
| $ (whole value) | integer | Whole value | Not allowed | Default: 20. minimum: 1. maximum: 50. |
#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.cases | array | Required when parent is present | Not allowed | Cases requiring further work in this authorized recovery view. maxItems: 50. |
| data.cases[] | object | Every array item | Not allowed | Additional properties are not allowed. |
| data.cases[].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.cases[].domain | string | Required when parent is present | Not allowed | Business area of this case, such as inbound deliveries or returns. enum: ["inbound","returns"]. |
| data.cases[].status | string | Required when parent is present | Not allowed | Current business status; only the listed values are supported where an enum is provided. |
| data.cases[].version | integer | Required when parent is present | Not allowed | Current version of this record; use it unchanged when an operation asks for expected_version. minimum: 1. maximum: 2147483647. |
| data.cases[].warehouse_name | string or null | Required when parent is present | Allowed by schema | Display name of the warehouse. |
| data.cases[].redacted | boolean | Required when parent is present | Not allowed | Whether partner details have been withheld because current access no longer permits showing them. const: true. |
| data.cases[].handoff_available | boolean | Required when parent is present | Not allowed | Whether the caller may hand over the remaining recovery work. |
| data.cases[].holdings | array | Required when parent is present | Not allowed | Goods still held under this case and requiring an explicit resolution. maxItems: 1000. |
| data.cases[].holdings[] | object | Every array item | Not allowed | Additional properties are not allowed. |
| data.cases[].holdings[].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.cases[].holdings[].stock_item_id | string | Required when parent is present | Not allowed | Stock item identifier offered for the selected owner and warehouse. It identifies stock, not a SKU string. format: "uuid". |
| data.cases[].holdings[].product_name | string | Required when parent is present | Not allowed | Display name of the article represented by this entry. |
| data.cases[].holdings[].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: "piece". |
| data.cases[].holdings[].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. pattern: "^(?=.*[1-9])(0|[1-9]\\d{0,8})(\\.\\d{1,6})?$". |
| data.cases[].holdings[].balance_id | string | Required when parent is present | Not allowed | Identifier of the exact stock balance selected from the current warehouse view. format: "uuid". |
| data.cases[].holdings[].balance_version | integer | Required when parent is present | Not allowed | Current version of the stock balance referenced by this claim. minimum: 1. maximum: 2147483647. |
| data.cases[].holdings[].condition_id | alternative (anyOf) | Required when parent is present | Allowed by schema | Condition identifier selected from the currently offered condition catalog. |
| data.cases[].holdings[].condition_id | string | Conditional: anyOf 1/2 | Not allowed | anyOf 1/2: At least one alternative must match. Condition identifier selected from the currently offered condition catalog. format: "uuid". |
| data.cases[].holdings[].condition_id | null | Conditional: anyOf 2/2 | Allowed by schema | anyOf 2/2: At least one alternative must match. Condition identifier selected from the currently offered condition catalog. |
| data.cases[].holdings[].location_id | alternative (anyOf) | Required when parent is present | Allowed by schema | Identifier of the actual storage location within the selected warehouse. |
| data.cases[].holdings[].location_id | string | Conditional: anyOf 1/2 | Not allowed | anyOf 1/2: At least one alternative must match. Identifier of the actual storage location within the selected warehouse. format: "uuid". |
| data.cases[].holdings[].location_id | null | Conditional: anyOf 2/2 | Allowed by schema | anyOf 2/2: At least one alternative must match. Identifier of the actual storage location within the selected warehouse. |
| data.cases[].holdings[].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.cases[].holdings[].managed_elsewhere | boolean | Required when parent is present | Not allowed | Whether another operation owns resolution of these goods. |
| data.cases[].holdings[].reservation_id | alternative (anyOf) | Required when parent is present | Allowed by schema | Identifier of the stock reservation associated with this received claim. |
| data.cases[].holdings[].reservation_id | string | Conditional: anyOf 1/2 | Not allowed | anyOf 1/2: At least one alternative must match. Identifier of the stock reservation associated with this received claim. format: "uuid". |
| data.cases[].holdings[].reservation_id | null | Conditional: anyOf 2/2 | Allowed by schema | anyOf 2/2: At least one alternative must match. Identifier of the stock reservation associated with this received claim. |
| data.next | alternative (anyOf) | Required when parent is present | Allowed by schema | Cursor for the next page; null means there is no further page. |
| data.next | string | Conditional: anyOf 1/2 | Not allowed | anyOf 1/2: At least one alternative must match. Cursor for the next page; null means there is no further page. format: "uuid". |
| data.next | null | Conditional: anyOf 2/2 | Allowed by schema | anyOf 2/2: At least one alternative must match. Cursor for the next page; null means there is no further page. |
| data.observed_at | string | Required when parent is present | Not allowed | Time at which this response was observed, including a time-zone offset. format: "date-time". |
#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-inbound-custody.md