[{"data":1,"prerenderedAt":7},["ShallowReactive",2],{"docs-entities\u002Fshipments\u002Fget":3,"docs-tabs-entities\u002Fshipments\u002Fget":6},{"content":4,"lastmod":5},"## Get a shipment\n\n`GET \u002Fv1\u002Fshipments\u002F:id`\n\nReturns a single online store order shipment by its ID.\n\n## Parameters\n\n| Parameter | Type | Required | Description |\n|----------|-----|:-----:|---------|\n| `id` (path) | number | yes | Shipment ID. List: [`GET \u002Fv1\u002Fshipments`](\u002Fdocs\u002Fentities\u002Fshipments\u002Flist) |\n| `select` (query) | string | no | Comma-separated field selection: `?select=id,orderId,trackingNumber`. Only the listed fields are returned in `data`. Field list: [`GET \u002Fv1\u002Fshipments\u002Ffields`](\u002Fdocs\u002Fentities\u002Fshipments\u002Ffields) |\n\n## Examples\n\n### curl — personal key\n\n```bash\ncurl \"https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fshipments\u002F1205\" \\\n  -H \"X-Api-Key: YOUR_API_KEY\"\n```\n\n### curl — OAuth application\n\n```bash\ncurl \"https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fshipments\u002F1205\" \\\n  -H \"X-Api-Key: YOUR_APP_KEY\" \\\n  -H \"Authorization: Bearer USER_SESSION_TOKEN\"\n```\n\n### JavaScript — personal key\n\n```javascript\nconst res = await fetch('https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fshipments\u002F1205', {\n  headers: {\n    'X-Api-Key': 'YOUR_API_KEY',\n  },\n})\n\nconst { success, data } = await res.json()\nconsole.log('Shipment:', data.accountNumber, '— items:', data.shipmentItems.length)\n```\n\n### JavaScript — OAuth application\n\n```javascript\nconst res = await fetch('https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fshipments\u002F1205', {\n  headers: {\n    'X-Api-Key': 'YOUR_APP_KEY',\n    'Authorization': 'Bearer USER_SESSION_TOKEN',\n  },\n})\n\nconst { success, data } = await res.json()\n```\n\n## Response fields\n\n| Field | Type | Description |\n|------|-----|---------|\n| `success` | boolean | Always `true` on success |\n| `data` | object | The shipment with all fields — see [Shipment fields](\u002Fdocs\u002Fentities\u002Fshipments\u002Ffields) |\n| `data.shipmentItems` | array | Shipment items. An empty array if there are no items. To change the items, use [shipment items](\u002Fdocs\u002Fentities\u002Fshipment-items) |\n\n## Response example\n\n```json\n{\n  \"success\": true,\n  \"data\": {\n    \"accountNumber\": \"1027\u002F2\",\n    \"allowDelivery\": false,\n    \"basePriceDelivery\": 500,\n    \"canceled\": false,\n    \"comments\": \"Test shipment for documentation\",\n    \"companyId\": null,\n    \"currency\": \"USD\",\n    \"customPriceDelivery\": false,\n    \"dateAllowDelivery\": null,\n    \"dateCanceled\": null,\n    \"dateDeducted\": null,\n    \"dateInsert\": \"2026-10-06T11:30:44.000Z\",\n    \"dateMarked\": null,\n    \"dateResponsibleId\": \"2026-10-06T11:30:44.000Z\",\n    \"deducted\": false,\n    \"deliveryDocDate\": null,\n    \"deliveryDocNum\": null,\n    \"deliveryId\": 1,\n    \"deliveryName\": \"Courier delivery\",\n    \"deliveryXmlId\": null,\n    \"discountPrice\": 0,\n    \"empAllowDeliveryId\": null,\n    \"empCanceledId\": null,\n    \"empDeductedId\": null,\n    \"empMarkedId\": null,\n    \"empResponsibleId\": 1317,\n    \"externalDelivery\": false,\n    \"id\": 1205,\n    \"id1c\": null,\n    \"marked\": false,\n    \"orderId\": 1027,\n    \"priceDelivery\": 500,\n    \"reasonMarked\": null,\n    \"reasonUndoDeducted\": null,\n    \"responsibleId\": 1295,\n    \"shipmentItems\": [],\n    \"statusId\": \"DN\",\n    \"statusXmlId\": null,\n    \"system\": false,\n    \"trackingDescription\": null,\n    \"trackingLastCheck\": null,\n    \"trackingNumber\": \"VIBE-DOC-1\",\n    \"trackingStatus\": null,\n    \"updated1c\": false,\n    \"version1c\": null,\n    \"xmlId\": \"bx_6ac4cdd46e442\"\n  }\n}\n```\n\n## Error response example\n\n404 — shipment not found:\n\n```json\n{\n  \"success\": false,\n  \"error\": {\n    \"code\": \"ENTITY_NOT_FOUND\",\n    \"message\": \"shipment is not exists\"\n  }\n}\n```\n\n## Errors\n\n| HTTP | Code | Description |\n|------|-----|---------|\n| 400 | `INVALID_PARAMS` | `id` is not a non-negative integer |\n| 404 | `ENTITY_NOT_FOUND` | No shipment with this `id`. Error text — `shipment is not exists` |\n| 404 | `ENTITY_NOT_FOUND` | The request succeeded, but the response contains no shipment. Error text — `shipment \u003Cid> not found` |\n| 403 | `SCOPE_DENIED` | The API key does not have the `sale` scope |\n| 401 | `MISSING_API_KEY` | The `X-Api-Key` header is missing |\n| 401 | `TOKEN_MISSING` | The API key has no configured tokens |\n\nFull list of common API errors — [Errors](\u002Fdocs\u002Ferrors).\n\n## See also\n\n- [List shipments](\u002Fdocs\u002Fentities\u002Fshipments\u002Flist)\n- [Search shipments](\u002Fdocs\u002Fentities\u002Fshipments\u002Fsearch)\n- [Update a shipment](\u002Fdocs\u002Fentities\u002Fshipments\u002Fupdate)\n- [Shipment fields](\u002Fdocs\u002Fentities\u002Fshipments\u002Ffields)\n- [Shipment items](\u002Fdocs\u002Fentities\u002Fshipment-items)\n- [Shipments](\u002Fdocs\u002Fentities\u002Fshipments)\n","2026-10-06",{},1795415296228]