Search Documentation

Search API endpoints, webhooks, tools, and guides

On this page6 sections
Is this helpful?
Quick Actions
Download OpenAPI.json
POST/api/print-settings/delete-templatesPrint SettingsPermission: settings.update

Reset Print Templates

Deletes custom print template rows and resets receipt header/footer configurations for up to 100 outlets.

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

Outlet Scope Enforcement: Results and mutations are automatically scoped to the actor's accessible outlets when the outlet module restriction applies.

Request

Provide the following fields in the request payload.

Body application/json
outletIdsarray<string (uuid)>required

Outlet UUIDs whose custom print templates will be reset.

Responses

Select a status code to inspect schema.

OK — Print settings reset successfully.application/json
successenum('true')

Success (true).

messagestring

Message.

dataobject | null

Response payload or null.

POST/api/print-settings/delete-templates
curl -X POST "https://api.invoger.com/api/print-settings/delete-templates" \
  -H "Authorization: Bearer <ACCESS_TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{ "outletIds": [ "o1a2b3c4-d5e6-7f8a-9b0c-1d2e3f4a5b6c" ] }'
Interactive playground

Response

application/json
{
  "success": true,
  "message": "Print settings reset successfully",
  "data": {
    "count": 1
  }
}