YKK ORDERS API - CPANEL TEST PACKAGE
====================================

IMPORTANT
---------
This package is for the next TEST stage. It does not modify the YKK WordPress checkout by itself.
Do not put real customer data into it until the API test is complete.

PACKAGE
-------
api/index.php          Main REST API
api/config.php         Edit with your cPanel MySQL details and secret API key
api/config.example.php Template
api/.htaccess          Protects configuration files

database/install.sql   Creates the ykk_orders table

docs/CPANEL-SETUP.txt  Step-by-step cPanel setup

BASIC ENDPOINTS
---------------
GET  /api/health
GET  /api/orders
POST /api/orders
PATCH /api/orders/{id}

AUTHENTICATION
--------------
Send this HTTP header on protected requests:
X-YKK-API-Key: YOUR_SECRET_KEY

The API accepts JSON and returns JSON.

SECURITY
--------
1. Use HTTPS only.
2. Use a long random API key.
3. Do not share config.php publicly.
4. Delete or rename any setup/install helper after use if you add one.
5. This package is not a complete production multi-user admin system yet; it is the API/database test stage.
