{"name":"KasirPro API","version":"v1","auth":"Header: Authorization: Bearer <api_key>. Buat key di backoffice.kasirpro.com menu API Akses. KHUSUS lisensi MAX & Unlimited.","dokumentasi":{"html":"https://api.kasirpro.com/docs.html","llms":"https://api.kasirpro.com/llms.txt"},"baca_dulu":"SATU KEY = SATU TOKO: seluruh data otomatis milik toko pemilik key — tidak ada parameter toko. Akun multi toko memakai key berbeda per toko. Rate limit per menit; hormati Retry-After saat 429.","endpoints":[{"path":"/v1/ping","scope":null,"desc":"Cek koneksi & validitas key."},{"path":"/v1/me","scope":null,"desc":"Info akun: nama, lisensi, masa aktif, jumlah toko."},{"path":"/v1/toko","scope":null,"desc":"Info toko milik key ini (nama, alamat, timezone)."},{"path":"/v1/produk","scope":"produk","desc":"Daftar produk toko ini. Param: q (cari nama/sku), page, per."},{"path":"/v1/stok","scope":"stok","desc":"Stok produk toko ini. Param: q, page, per."},{"path":"/v1/pelanggan","scope":"pelanggan","desc":"Daftar pelanggan toko ini. Param: q, page, per."},{"path":"/v1/laporan/ringkasan","scope":"laporan","desc":"Omzet & jumlah transaksi toko ini per hari. Param: from, to (YYYY-MM-DD)."},{"path":"/v1/laporan/produk","scope":"laporan","desc":"Penjualan per produk toko ini. Param: from, to, page, per."},{"path":"/v1/transaksi","scope":"transaksi","desc":"Daftar nota toko ini. Param: from, to, page, per."},{"path":"/v1/transaksi/detail","scope":"transaksi","desc":"Item satu nota. Param: id."},{"path":"POST /v1/produk","scope":"produk","desc":"TULIS: tambah produk ke toko ini. Body JSON: nama (wajib), harga (wajib), sku, satuan, deskripsi, kategori_id, stok. Butuh key mode Baca+Tulis."},{"path":"POST /v1/produk/ubah","scope":"produk","desc":"TULIS: ubah produk. Body JSON: id (wajib) + field yang diubah: nama, harga, sku, satuan, deskripsi, kategori_id."},{"path":"POST /v1/pelanggan","scope":"pelanggan","desc":"TULIS: tambah pelanggan ke toko ini. Body JSON: nama (wajib), nohp, alamat."},{"path":"POST /v1/pelanggan/ubah","scope":"pelanggan","desc":"TULIS: ubah pelanggan. Body JSON: id (wajib) + nama/nohp/alamat."},{"path":"POST /v1/order","scope":"order","desc":"TULIS: buat pesanan Toko Online + kode QRIS di toko ini. Body JSON: nama (wajib), nohp, meja_id, items:[{produk_id, varian_id, qty, catatan}]. Jawaban memuat qris.qr_string utk dirender jadi QR. Harga mengikuti aturan toko; pesanan tampil di aplikasi kasir sbg pesanan online."},{"path":"/v1/order/status","scope":"order","desc":"Status pembayaran pesanan. Param: id (order_id dari POST /v1/order). paid=true setelah QRIS dibayar."}],"mode_kunci":"Tiap key bermode Hanya-Baca atau Baca+Tulis (dipilih saat membuat di backoffice). Endpoint POST menolak key hanya-baca (403 write_not_allowed). Stok, transaksi, dan uang TIDAK bisa ditulis lewat API.","errors":["401 unauthorized","403 scope_required|license_expired|license_tier|account_disabled|toko_deleted|write_not_allowed","404 not_found","422 invalid_param","429 rate_limited","500 server_error"]}