G
Not authenticated — log in first

Introduction

Welcome to the Glass Next Vendor API — a REST API for managing your vendor store, products, orders, and more.

What this means in plain English

The Glass Next API lets your business connect to the Glass Next marketplace programmatically. Instead of clicking through a dashboard, you can use software to list products, manage orders, and keep your store in sync — all through standard HTTP requests.

What is the Vendor API?

The G-Next Vendor API is organized around REST principles. It uses predictable, resource-oriented URLs, accepts JSON request bodies, returns JSON responses, and uses standard HTTP methods and status codes.

All API requests are versioned under /api/v1/ (and future versions like /api/v2/).

Base URL

Use the environment switcher in the documentation header to toggle between environments:

EnvironmentBase URL
Productionhttps://api.gcommerce.glass/api/v1
Localhttp://localhost:8080/api/v1

HTTPS required

All production API requests must be made over HTTPS. Calls over plain HTTP will fail.

How requests work

Every API call follows the same pattern:

  1. Choose an endpoint — e.g. POST /auth/login to authenticate.
  2. Add headers — include Content-Type: application/json for requests with a body, and Authorization: Bearer <token> for protected endpoints.
  3. Send the request — use cURL, your terminal, or any HTTP client.
  4. Read the response — JSON body with data or error details.

What's in this documentation?

  • Authentication — How to log in and use bearer tokens (start here if you're new).
  • Vendors — Manage your vendor profile and shipping methods.
  • Products — Create, update, and bulk-manage your catalog.
  • Orders — View and fulfill customer orders.
  • Categories — Browse marketplace taxonomy.
  • Bulk import/export — Upload and export product data at scale.

Need help?

If you're stuck, start with the Quickstart guide or the Authentication overview.