Integration / Commerce integration

Integration  /  Commerce integration

Commerce integration

Let the AI and console look up customer orders in real time.

Components

  • Install the Lillo commerce plugin (REST API) on your shop and register api_base_url for the brand. (e.g. https://shop.example.com/wp-json/lilloai/v1)
  • The SDK's subscriberInfo.external_user_id must match the shop's member ID.

Order lookup contract

GET{api_base_url}/orders?user_id={external_user_id}

user_idstringRequired

Shop member ID — the same value as the SDK's subscriberInfo.external_user_id

The response includes the order number · status · item list · payment amount · shipping address. This contract powers the order card in the console's right panel, the AI's order lookups and shipping guidance, and the order-select node in workflows.

Plugins and workflow templates are available for Cafe24 and WooCommerce. Onboarding inquiries: support@lillo.cx

Order lookup — request
GET {api_base_url}/orders?user_id={external_user_id}

# 예: 브랜드 api_base_url이 우커머스 플러그인일 때
GET https://shop.example.com/wp-json/lilloai/v1/orders?user_id=123
Response example — 200 OK
[
  {
    "order_number": "20260701-0001",
    "status": "shipping",
    "items": [
      { "name": "데일리 텀블러 500ml", "quantity": 1, "price": 29000 }
    ],
    "total": 29000,
    "shipping_address": "서울시 강남구 테헤란로 123"
  }
]
커머스 연동 · 개발자 문서 | 릴로