POS Apps
Build point-of-sale applications.
POS App Overview
POS apps power in-store retail: product scanning, cart management, discounts, payments, and receipts.
POS apps use POS Tokens within a specific location and cashier session.
Complete POS Transaction
A typical workflow:
POS Transaction
TypeScript
const pos = brand.pos.session({
locationId: "location_123",
cashierId: "user_123"
});
const cart = await pos.cart.create();
await cart.addItem({ productId: "prod_123", quantity: 2 });
await cart.applyDiscount({ type: "percentage", value: 10 });
const payment = await cart.checkout({ method: "card" });
console.log("Receipt:", payment.receiptId);