Documentation & Knowledge Base

VendorVault Help Center

Step-by-step guides for New Zealand business operations, bank reconciliation, inventory assembly, fleet mileage, and IRD tax compliance.

Integrations & APIs 2 min read Developers, Retailers, E-commerce
Connect TradeMe marketplace, reconcile TradeMe Ping sales CSVs, generate API keys, and build custom headless web storefronts.

Integrations, TradeMe & Storefront REST API

Extend Vendor Vault's operational core to third-party sales channels, online marketplaces, and custom web applications.


1. TradeMe Marketplace Integration

New Zealand retailers, electronics recyclers, and automotive parts sellers can connect directly to New Zealand's largest online marketplace.

Connecting TradeMe

  1. Navigate to Operations > Trade Me Marketplace (/trademe).
  2. Enter your TradeMe Developer Key and Secret (or click Connect with TradeMe OAuth).
  3. Authorize Vendor Vault to read your active marketplace listings and completed sales.

Reconciling TradeMe Ping Statements

TradeMe deposits customer sales via their Ping escrow wallet after deducting commission fees:

  1. Export your TradeMe Ping monthly sales statement as a CSV.
  2. In Bank Accounts, click Import CSV Statement and upload your Ping CSV file.
  3. Vendor Vault automatically creates sales journals for the gross customer payment and codes the TradeMe success fee directly to Account 685 - Marketplace & Commission Fees.

2. Headless Storefront REST API

Build a custom online store (Next.js, Shopify, WooCommerce, or custom mobile app) powered entirely by your Vendor Vault inventory and invoicing backend.

Generating an API Key

  1. Go to My Profile > Developer API Keys (/profile).
  2. Click + Generate New API Key.
  3. Name your key (e.g., Headless Web Storefront) and copy the generated vv_live_... secret token.

API Endpoints Overview

Authenticate requests with the X-API-Key or Authorization: Bearer <key> header:

GET /api/storefront/v1/products

Returns a JSON array of all active products marked Completed / Ready to Sell on your Universal Shelf with retail prices, stock quantity, condition grade, and photos.

POST /api/storefront/v1/orders

Payload:

{
  "customerName": "Jane Doe",
  "customerEmail": "[email protected]",
  "items": [
    { "sku": "DT-40", "quantity": 1 }
  ]
}

Creates an active customer order, generates a draft or finalized tax invoice, and automatically decrements inventory count on your Shelf.

Need help with your business setup?

Our New Zealand team is here to assist with GST returns, CSV bank mappings, and multi-company transitions.

Contact Support →