QR templates

Reusable QR templates — design / colours / logo.

Reusable QR templates — design / colours / logo. Accounts roll their own.

Prerequisites

  • A bearer token in the Authorization header. Any endpoint that needs no token says so on its own page.
  • The id of each record the call targets. Every endpoint page lists the ids it needs.

Errors

StatusMeaning
401The bearer token is missing, expired or invalid
403The token is valid but the record sits outside your account
404Returned if the template does not belong to the authenticated user's company
422The request failed validation — the response names the fields
500Unexpected server error

Individual endpoints may return more; each page lists its own.

Endpoints

MethodEndpointDescription
GETList QR templatesGet a paginated list of QR code templates scoped to the authenticated user's company, with filtering (store, type, date range), full-text search, and sorting.
GETGet QR templateGet a single QR code template by its path ID, with the related store included; 404s if the template does not belong to the authenticated user's company.
POSTUpdate QR templateUpdate an existing QR code template (identified by id in the body), filling the validated fields and saving.
DELETEDelete QR templateSoft-delete a QR code template identified by the id query/body parameter; 404s if it does not belong to the authenticated user's company.
POSTDuplicate QR templateDuplicate an existing QR code template (by path ID) into a new row under the same store, auto-generating a unique "Copy of …" name.
POSTCreate QR templateCreate a QR code template for the authenticated account.