Skip to content

Order List ​

POST/channel/api/v1/order/list

Auth: request-token (channel_partner)

Return a paginated list of orders belonging to shops bound to the authenticated channel partner. The shop_id filter, if provided, is restricted to the partner's bound set: a single unbound shop_id returns an empty list (total = 0) without an error, while unbound ids inside an array are removed by intersection.

Request Headers ​

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

Request Body ​

FieldTypeRequiredDescription
pageNumberintegernoPage number, 1-based. Default 1
pageSizeintegernoPage size, max 100. Default 20
shop_idinteger | arraynoFilter by shop; a single id or an array of ids. A single unbound id returns an empty list; unbound ids in an array are removed by intersection
stateintegernoOrder status filter (alias of order_status)
keywordsstringnoDigits only are treated as an exact order id; any other value is an exact order_no match (also PI→DN and upper-cased; shop order number and buyer name are not searched)
order_nostringnoFilter by internal order number; PI is replaced with DN and the value is upper-cased before lookup
shop_order_nostringnoFilter by the partner's own order number
start_timestringnoLower bound of create_time (alias of start_create_time), format YYYY-MM-DD HH:mm:ss
end_timestringnoUpper bound of create_time (alias of end_create_time), format YYYY-MM-DD HH:mm:ss

Response ​

json
{
  "code": 200,
  "msg": "success",
  "data": {
    "list": [
      {
        "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,
        "purchase_time": "2026-08-13 09:58:00",
        "shop_id": 123,
        "shop": { "id": 123, "name": "Test Shop" },
        "warehouse": { "id": 1, "name": "Shenzhen Warehouse" },
        "shipping_standard": "STD",
        "currency_symbol": "EUR",
        "labels": [],
        "shipping_address": { "full_name": "John Doe", "country_code": "DE", "city": "Munich" },
        "billing_address": { "full_name": "John Doe", "country_code": "DE", "city": "Munich" },
        "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": ""
          }
        ],
        "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": [],
              "document": []
            }
          }
        ],
        "fee_lines": [],
        "shop_total": 99.80,
        "meta_documents": [],
        "pallet_label_documents": []
      }
    ],
    "total": 1,
    "current_page": 1,
    "last_page": 1,
    "page_size": 20,
    "has_more": false
  }
}

Backwards-compatible aliases. The list is returned as data.list with page_size. The same array is also echoed as data.data and the page size as data.per_page, so older clients reading those keys keep working. New integrations should use list / page_size.

When a single unbound shop_id is supplied, the early-return branch returns only list, data, total, per_page, page_size and current_page; last_page and has_more are omitted from that empty-list response.

Sensitive Fields (filtered) ​

The following fields are never returned in the list response: 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.

meta_documents is always returned as an empty array [] (internal structure is never exposed).

Error Codes ​

codeMeaning
909Missing/invalid token, disabled app, or non-channel_partner type
200 (empty list)No orders match the filter or shop scope

cURL ​

cURL
curl -X POST 'https://apigate.e2c-energy.com/channel/api/v1/order/list' \
  -H 'request-token: YOUR_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{
  "pageNumber": 1,
  "pageSize": 20,
  "state": 100
}'