API Access

NZTech offers a RESTful API for vendors and partners to integrate with our platform programmatically.

Getting Started

To access the API, you need an API key. Generate one from your vendor dashboard settings.

curl -H "Authorization: Bearer YOUR_API_KEY" \
  https://api.nztech.co.nz/v1/products

Authentication

All API requests require a Bearer token in the Authorization header. Keys are scoped to your account and support read or write permissions.

Endpoints

MethodEndpointDescription
GET/v1/productsList your products
POST/v1/productsCreate a product
PUT/v1/products/{id}Update a product
DELETE/v1/products/{id}Delete a product
GET/v1/ordersList your orders
GET/v1/orders/{id}Get order details
PUT/v1/orders/{id}/statusUpdate order status

Rate Limits

Rate limits are 100 requests per minute per API key. Contact us for higher limits.

Documentation

Full API documentation is available at docs.nztech.co.nz/api.