Skip to content
API v1

TechTur POS Developer Centre

Connect your marketplace, online shop, booking system or app to TechTur POS businesses: products, stock, orders and payments, through a documented REST API whose reference is generated from the running code.

import { TechturPos } from "@techtur-pos/sdk";

const pos = new TechturPos({ baseUrl: "https://pos.techtursolutions.com", accessToken: process.env.TECHTUR_POS_TOKEN });

// Upsert your catalogue by your own IDs — idempotent.
await pos.products.sync(businessId, [{ externalId: "sku-42", name: "Kota", variants: [{ externalId: "sku-42", price: "45.00" }] }]);

// Submit a paid order; stock is deducted once, however many times you retry.
await pos.orders.create(businessId, { externalRef: "order-1001", lines: [{ externalVariantId: "sku-42", quantity: 2 }],
  payment: { amount: "90.00", provider: "payfast", reference: "pf_123" } });