For AI agents: markdown of this page — /docs-content-en/entities/shipment-items/get.md documentation index — /llms.txt
Get a shipment item
GET /v1/shipment-items/:id
Returns a single shipment item of an online store order by its ID, taken from the shipment item list or search.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id (path) |
number | yes | Shipment item ID. List: GET /v1/shipment-items |
select (query) |
string | no | Comma-separated field selection: ?select=id,orderDeliveryId,quantity. Only the listed fields are returned in data. An unknown field does not cause an error: it is absent from data, and meta.warnings carries an UNKNOWN_SELECT_FIELD warning with the field name in field. Field list: GET /v1/shipment-items/fields |
Examples
curl — personal key
curl "https://vibecode.bitrix24.com/v1/shipment-items/1353" \
-H "X-Api-Key: YOUR_API_KEY"
curl — OAuth application
curl "https://vibecode.bitrix24.com/v1/shipment-items/1353" \
-H "X-Api-Key: YOUR_APP_KEY" \
-H "Authorization: Bearer USER_SESSION_TOKEN"
JavaScript — personal key
const res = await fetch('https://vibecode.bitrix24.com/v1/shipment-items/1353', {
headers: {
'X-Api-Key': 'YOUR_API_KEY',
},
})
const { success, data } = await res.json()
console.log(`Shipment ${data.orderDeliveryId}: basket item ${data.basketId}, quantity ${data.quantity}`)
JavaScript — OAuth application
const res = await fetch('https://vibecode.bitrix24.com/v1/shipment-items/1353', {
headers: {
'X-Api-Key': 'YOUR_APP_KEY',
'Authorization': 'Bearer USER_SESSION_TOKEN',
},
})
const { success, data } = await res.json()
Response fields
| Field | Type | Description |
|---|---|---|
success |
boolean | Always true on success |
data |
object | The shipment item |
data.id |
number | Shipment item ID |
data.orderDeliveryId |
number | Shipment ID. Get the shipment: GET /v1/shipments/:id |
data.basketId |
number | Basket item ID. Get the basket item: GET /v1/basket-items/:id |
data.quantity |
number | Product quantity in the shipment, can be fractional |
data.reservedQuantity |
number | Reserved quantity |
data.xmlId |
string | External item code |
data.dateInsert |
datetime | Creation date, ISO 8601 |
meta.warnings |
array | Warnings about request parameters: code, message, field. Present only when there are warnings |
Response example
{
"success": true,
"data": {
"basketId": 1387,
"dateInsert": "2026-10-07T09:55:27.000Z",
"id": 1353,
"orderDeliveryId": 1207,
"quantity": 0.75,
"reservedQuantity": 0,
"xmlId": "vibe-doc-si-1"
}
}
Error response example
404 — shipment item not found:
{
"success": false,
"error": {
"code": "ENTITY_NOT_FOUND",
"message": "shipment item is not exists"
}
}
Errors
| HTTP | Code | Description |
|---|---|---|
| 400 | INVALID_PARAMS |
id is not a non-negative integer |
| 404 | ENTITY_NOT_FOUND |
No shipment item with this id exists. Error text: shipment item is not exists |
| 404 | ENTITY_NOT_FOUND |
The request completed, but the response contains no item. This is the response for an item of a system shipment and for an item of a shipment that no longer exists. Error text: shipmentItem <id> not found |
| 403 | SCOPE_DENIED |
The API key does not have the sale scope |
| 403 | MANAGEMENT_KEY_NO_ENTITY_ACCESS |
The request was made with a management key. Entities require an application key or a personal key with the sale scope |
| 401 | MISSING_API_KEY |
The X-Api-Key header is missing |
| 401 | INVALID_API_KEY |
The provided API key was not found |
| 401 | TOKEN_MISSING |
The API key has no configured tokens |
Full list of common API errors — Errors.
Known specifics
An item from the list may not be retrievable by id. Items for which this method returns 404 with the text shipmentItem <id> not found are still returned by the GET /v1/shipment-items list. Get the contents of a shipment from the list with filter[orderDeliveryId]: it returns such items too.