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
| Method | Endpoint | Description |
|---|---|---|
| GET | /v1/products | List your products |
| POST | /v1/products | Create a product |
| PUT | /v1/products/{id} | Update a product |
| DELETE | /v1/products/{id} | Delete a product |
| GET | /v1/orders | List your orders |
| GET | /v1/orders/{id} | Get order details |
| PUT | /v1/orders/{id}/status | Update 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.