Get Outbound
Return the complete state of a single outbound request, including packages, items, destination address, SOP status, attachments and dedicated webhook configuration. Only requests owned by the authenticated partner are accessible.
Get Outbound Request Detail
/channel/api/v1/outbound/detailAuth: request-token (channel_partner)
Read an outbound request. Reading synchronizes pending approval workflow instances: on auto-approval the legacy request status becomes outbound_pending (approved is an SOP status, see sop_status); rejected instances become rejected. It also lazily creates the generic outbound SOP order, so outbound_id and sop_status are normally available after the first read.
Required capability: outbound_submit
Request Headers
| Header | Required | Description |
|---|---|---|
request-token | yes | Channel partner app token |
Content-Type | yes | application/json |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
id | integer | yes | Outbound request ID |
Response
{
"code": 200,
"msg": "success",
"data": {
"id": 1001,
"member_id": 42,
"warehouse_id": 1,
"scheduled_at": "2026-11-12 09:00:00",
"delivery_mode": "e2c_carrier",
"carrier_id": null,
"carrier_name_self": null,
"tracking_number": null,
"status": "outbound_pending",
"progress": 50,
"remark": "",
"identification_code": null,
"custom_remark": null,
"workflow_instance_id": null,
"approved_at": "2026-11-11 10:05:00",
"address_id": 3001,
"ship_to_name": "Anna Schmidt",
"ship_to_phone": "+49 40 1234567",
"ship_to_email": "anna@example.com",
"ship_to_address1": "Hafenstrasse 1",
"ship_to_address2": null,
"ship_to_city": "Hamburg",
"ship_to_province": null,
"ship_to_postcode": "20457",
"ship_to_country_code": "DE",
"created_at": "2026-11-11 10:00:00",
"updated_at": "2026-11-11 10:05:00",
"outbound_id": 5001,
"sop_status": "approved",
"dispatch_task_id": null,
"webhook_url": "https://partner.example.com/hooks/e2c",
"webhook_secret": "1f0c9a7d5e3b2a4c6d8e0f1a2b3c4d5e6f708192a3b4c5d6",
"items": [
{
"id": 7001,
"request_id": 1001,
"sku_id": 789,
"quantity": 10,
"deducted_quantity": 0,
"remark": "",
"sku_code": "SKU-789",
"product_title": "Portable Power Station 500W",
"image": "https://cdn.example.com/products/789.jpg",
"options": {},
"weight": 2.5,
"weight_unit": "kg",
"suggested_declared_price": 12.9,
"suggested_hs_code": "850760",
"suggested_declared_weight": 2.5
}
],
"packages": [
{
"id": 6001,
"request_id": 1001,
"outbound_id": 5001,
"container_id": null,
"package_type": "carton",
"package_no": "P1001-1",
"package_name": null,
"length": 40,
"width": 30,
"height": 20,
"weight": 2.5,
"dimension_unit": "cm",
"weight_unit": "kg",
"remark": "",
"sort_order": 1,
"status": 1,
"created_at": "2026-11-11 10:00:00",
"updated_at": "2026-11-11 10:00:00",
"items": [
{
"id": 8001,
"package_id": 6001,
"request_id": 1001,
"sku_id": 789,
"quantity": 10,
"remark": "",
"declared_price": 12.9,
"declared_currency": "EUR",
"hs_code": "850760",
"origin_country_code": "CN",
"declared_weight": 2.5,
"weight_unit": "kg",
"sku_code": "SKU-789",
"product_title": "Portable Power Station 500W"
}
]
}
],
"sop_items": [
{
"id": 9001,
"outbound_id": 5001,
"sku_id": 789,
"quantity": 10,
"deducted_quantity": 0,
"remark": "",
"sku_code": "SKU-789",
"product_title": "Portable Power Station 500W"
}
],
"attachments": [
{
"id": 9501,
"outbound_id": 5001,
"scope_type": "outbound",
"scope_id": 5001,
"document_code": "packing_list",
"paper_type": "A4",
"paper_width_mm": 210,
"paper_height_mm": 297,
"name": "packing-list.pdf",
"file_url": "https://cdn.example.com/e2c/tmp/packing-list.pdf",
"file_type": "pdf",
"file_size": 204800,
"print_enabled": 1,
"print_copies": 2,
"print_scale": "portrait",
"print_types": ["print"],
"uploaded_by_type": "partner",
"uploaded_by_id": 42,
"sort_order": 0,
"status": 1,
"latest_print_status": "pending",
"created_at": "2026-11-11 10:10:00",
"updated_at": "2026-11-11 10:10:00"
}
]
}
}Field reference:
| Field | Type | Description |
|---|---|---|
status | string | Legacy partner status: draft / pending / pending_approval / outbound_pending / shipped / completed / rejected / cancelled |
sop_status | string/null | Generic outbound SOP status: draft / pending / pending_approval / approved / warehouse_confirmed / stock_ready / shipped / completed / cancelled / rejected; null until the SOP order exists |
outbound_id | integer/null | Generic outbound order ID |
dispatch_task_id | integer/null | ERP dispatch task ID; null before a dispatch task is created |
workflow_instance_id | integer/null | Approval workflow instance ID; null when no approval flow is configured |
packages[].container | object | Returned only when container_id is set |
sop_items[] | array | Outbound order items (warehouse-side view) |
attachments[] | array | Attachment list; same fields as /outbound/attachment/list |
webhook_url / webhook_secret | string/null | Dedicated webhook registered via webhook_url at submission, and its signing secret |
Notes:
identification_codeandcustom_remarkare copied from the outbound request; they arenullwhen not provided.sop_status = approvedmeans the warehouse has not confirmed yet and inventory is not locked. After warehouse confirmation it becomeswarehouse_confirmed, at which point inventory is locked.status = outbound_pendingandsop_status = approvedare two views of the same moment (legacy request status / SOP status).The detail endpoint does not return
evidence; warehouse evidence is available from/outbound/evidence/list.Reading detail triggers SOP order creation and pending approval synchronization; it is idempotent.
Error Codes
| code | Meaning |
|---|---|
| 909 | Unauthenticated, invalid token, or not a channel partner |
| 606 | Insufficient capability (outbound_submit required) |
| 400 | Missing id |
| 404 | Request not found or not owned by this partner |
cURL
curl -X POST 'https://apigate.e2c-energy.com/channel/api/v1/outbound/detail' \
-H 'request-token: YOUR_TOKEN' \
-H 'Content-Type: application/json' \
-d '{
"id": 1001
}'