GridlinePOS Solutions

Build with Gridline API

Integrate orders, payments, loyalty programs, and customer management into your applications with our RESTful API. Get started in minutes with comprehensive documentation and official SDKs.

Quick Example

Create an order with a single API call:

POST /v1/ordersJavaScript
const response = await fetch('https://api.gridlinepos.com/v1/orders', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer sk_live_your_api_key',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    items: [
      { product_id: 'prod_abc123', quantity: 2 },
      { product_id: 'prod_def456', quantity: 1 },
    ],
    customer_id: 'cus_xyz789',
    payment_method: 'card',
  }),
});

const order = await response.json();
console.log(order.id); // "ord_a1b2c3d4"

Base URL

All API requests are made to:

https://api.gridlinepos.com/v1

All requests must be made over HTTPS. Calls made over plain HTTP will be rejected.