Search Documentation

Search API endpoints, webhooks, tools, and guides

On this page6 sections
Is this helpful?
Quick Actions
Download OpenAPI.json
POST/api/invoices/save-tabInvoicesPermission: invoice.update

Create or Update POS Tab

Creates a new POS quick-select tab or updates the name and assigned products of an existing tab.

Authentication: Requires Authorization: Bearer <ACCESS_TOKEN> (Supabase JWT, OAuth2 M2M token, or integration token).

Request

Provide the following fields in the request payload.

Body application/json
idstringoptional

id parameter.

tabNamestringrequired

tab Name parameter.

tabOrdernumber | nulloptional

tab Order parameter.

productIdsarray<string>optional

product Ids parameter.

Responses

Select a status code to inspect schema.

OK — Tab saved successfully.application/json
successenum('true')

Success (true).

messagestring

Message.

dataobject | null

Response payload or null.

POST/api/invoices/save-tab
curl -X POST "https://api.invoger.com/api/invoices/save-tab" \
  -H "Authorization: Bearer <ACCESS_TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{ "tabName": "Best Sellers", "productIds": [ "9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d" ] }'
Interactive playground

Response

application/json
{
  "success": true,
  "message": "Tab saved successfully",
  "data": {
    "id": "tab_01",
    "tabName": "Best Sellers"
  }
}