NKB Developer REST API Reference
The NKB Manufacturing Corporation API enables external platforms, eCommerce stores (Shopify, WooCommerce), custom ERPs, and warehouse barcode scanners to programmatically sync product catalogs, submit purchase orders, track production deliveries, and retrieve real-time invoices.
Authentication & Scopes
Authenticate all API requests by providing your secret API Key via the x-api-key HTTP header or as a Bearer token in the Authorization header.
x-api-key: nkb_live_3f9a7c81d2...
Available Permission Scopes
Retrieve list of active cosmetic products with pagination, search, category filter, and client-specific pricing.
curl -X GET "http://my.nkbmanufacturing.com/api/v1/products?limit=5" \
-H "x-api-key: YOUR_API_KEY"
Programmatically submit a Purchase Order with line items. Automatically calculates custom pricing and assigns transaction-safe PO-YYYY-XXXXXX numbers.
curl -X POST "http://my.nkbmanufacturing.com/api/v1/orders" \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"tolerance_percent": 10.0,
"billing_policy": "ACTUAL_DELIVERY",
"form_of_payment": "30 Days Net",
"notes": "Automated order via REST API",
"items": [
{ "sku": "SKC-2026001", "target_quantity": 500 }
]
}'
Track dispatch status, vehicle plate numbers, driver details, and delivery receipts (DRs).
curl -X GET "http://my.nkbmanufacturing.com/api/v1/deliveries?limit=5" \
-H "x-api-key: YOUR_API_KEY"
Query sales invoices issued based on client-accepted DR quantities, balance due, and payment terms.
curl -X GET "http://my.nkbmanufacturing.com/api/v1/invoices?limit=5" \
-H "x-api-key: YOUR_API_KEY"
Access live cosmetic warehouse stock levels and converted formulation material pull requirements.
curl -X GET "http://my.nkbmanufacturing.com/api/v1/inventory" \
-H "x-api-key: YOUR_API_KEY"