YKK ORDERS API - TEST EXAMPLES

Health:
GET https://orders.ykk-shopping.com/api/health
No API key required.

Create order JSON example:
{
  "customer_name": "Test Customer",
  "phone": "0758123738",
  "email": "test@example.com",
  "address": "Test Address",
  "country": "Sri Lanka",
  "district": "Vavuniya",
  "delivery_area": "Vavuniya",
  "payment_method": "buy_payment",
  "payment_label": "Pay when delivered",
  "delivery_fee": 450,
  "subtotal": 2000,
  "discount": 0,
  "original_total": 2000,
  "final_total": 2450,
  "promo_code": "",
  "source": "test",
  "products": [
    {"name":"Test Product","quantity":2,"price":1000,"total":2000}
  ]
}

Header:
X-YKK-API-Key: YOUR_SECRET_KEY
Content-Type: application/json

The live desktop/mobile checkout will NOT be connected until the standalone API test succeeds.
