Skip to content

Order Detail

POST/channel/api/v1/order/detail

Auth: request-token (channel_partner)

Return full details for a single order, including addresses, line items, packages, and document summaries. The order's shop_id must belong to the authenticated partner's bound shop set; otherwise a 403 error is returned.

Request Headers

HeaderRequiredDescription
request-tokenyesChannel partner app token
Content-Typeyesapplication/json

Request Body

FieldTypeRequiredDescription
order_idintegeryesOrder ID to retrieve

Response

json
{
  "code": 200,
  "msg": "success",
  "data": {
    "id": 456,
    "order_no": "E2C-20260813-0001",
    "shop_order_no": "SO-1001",
    "order_status": "100",
    "order_status_text": "Pending Fulfillment",
    "create_time": "2026-08-13 10:00:00",
    "update_time": "2026-08-13 10:05:00",
    "delivery_time": null,
    "shop_id": 123,
    "shop": { "id": 123, "name": "Test Shop" },
    "warehouse": { "id": 1, "name": "Shenzhen Warehouse" },
    "shipping_standard": "STD",
    "currency_symbol": "EUR",
    "labels": ["express"],
    "shipping_address": {
      "full_name": "John Doe",
      "company": "Doe GmbH",
      "country_code": "DE",
      "province": "Bavaria",
      "city": "Munich",
      "address1": "Marienplatz 1",
      "postcode": "80331",
      "tel": "+49 89 000000",
      "email": "john@example.com"
    },
    "billing_address": {
      "full_name": "John Doe",
      "company": "Doe GmbH",
      "country_code": "DE",
      "province": "Bavaria",
      "city": "Munich",
      "address1": "Marienplatz 1",
      "tax_id": "DE123456789",
      "postcode": "80331",
      "tel": "+49 89 000000",
      "email": "john@example.com"
    },
    "order_item": [
      {
        "sku_id": 789,
        "sku": "PPS-500-BLK",
        "name": "Portable Power Station",
        "quantity": 2,
        "price": 49.90,
        "weight": 5.2,
        "origin_country": "CN",
        "hs_code": "8507600000",
        "shipping_standard": "STD",
        "remark": "Gift wrap requested"
      }
    ],
    "shipping_packages": [
      {
        "id": 1001,
        "order_id": 456,
        "tracking_number": "1Z999AA10123456784",
        "carrier_code": "UPS",
        "carrier_service_code": "GROUND",
        "gross_weight": 10.4,
        "container_gauge": "60*40*50",
        "std_meta": { "length": 60, "width": 40, "height": 50 },
        "shipped": true,
        "fulfillment_document": {
          "file": ["https://cdn.example.com/docs/pkg-1001-label.pdf"],
          "document": []
        }
      }
    ],
    "fee_lines": [
      { "subject": "Product Total", "amount": 99.80, "currency": "EUR", "fee_code": "sub_total" },
      { "subject": "Tax", "amount": 20.94, "currency": "EUR", "fee_code": "tax" }
    ],
    "shop_total": 99.80,
    "meta_documents": [],
    "pallet_label_documents": []
  }
}

Sensitive Fields (filtered)

The following fields are never returned: sale_staff_id, up_staff, sales, member, transaction, invoice_infos, vip_group_id, sale_region, salesman, accountant, container_analysis, work_logs, private_remark, inner_remark, cost, margin, warehouse_id (on packages), fulfillment_warehouse_id.

Error Codes

codeMeaning
909Missing/invalid token, disabled app, or non-channel_partner type
403Order not found or shop_id not in partner's bound set

cURL

cURL
curl -X POST 'https://apigate.e2c-energy.com/channel/api/v1/order/detail' \
  -H 'request-token: YOUR_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{
  "order_id": 456
}'