Getting Started
The Channel Partner API lets an external partner submit orders into the e2c-energy platform on behalf of the shops bound to that partner. Identity is resolved by the server from your API token — you never pass a partner id in the request body, so a partner can only ever act within its own bound shops.
Prerequisites
Before you can submit orders you need two things, both provisioned by an e2c-energy administrator:
- A channel partner app token. The administrator creates a channel application bound to your channel partner account and returns a
request-tokensecret. This token authenticates every API call. - At least one bound shop. The administrator binds one or more shops to your channel partner account. You may only submit orders for shops in this bound set; any other
shop_idis rejected.
Base URL
| Environment | Base URL |
|---|---|
| Production | https://apigate.e2c-energy.com |
All Channel Partner endpoints live under /channel/api/v1/.
Your first request
Submit an order with a single POST call. Send your token in the request-token header and the order payload as JSON.
curl -X POST 'https://apigate.e2c-energy.com/channel/api/v1/order/submit' \
-H 'request-token: YOUR_TOKEN' \
-H 'Content-Type: application/json' \
-d '{
"shop_id": 123,
"shop_order_no": "SO-1001",
"shipping_standard": "STD",
"payment_method": "bank_transfer",
"purchase_time": "2026-07-22 10:00:00",
"billing_address": {},
"shipping_address": {},
"order_item": [],
"order_amount": []
}'A successful response returns the created order id:
json
{ "code": 200, "msg": "order submit succeed", "data": { "order_id": 456 } }Next steps
- Authentication — how tokens and identity resolution work.
- Submit Order API — full request/response reference.
- FAQ — common questions and error handling.