Skip to content

Connecting software through the API ​

For
Administrator
Where
Back office
Permission
Manage API clients and webhooks, Grant sensitive API scopes
Checked on

Another program (accounting, online store, product management) can read Braavu POS activity and write the catalogue. It does so itself, with its own access key, which you create here and which gives only the rights you tick.

Before you start ​

  • This feature is for the team that programs the other software: you create the access, they put the key in. Ask them which rights the software needs.
  • Granting the write rights and reading the activity also needs the Grant sensitive API scopes permission.
  • Each software has its own key: do not share a key between two programs.

Braavu POS never calls a connected software. The connected software comes to read and write. If the connected software goes down, the registers keep selling as usual. A key is revoked on its own, without touching the others.

Creating an access ​

  1. Open Settings > Connected software.

    The Connected software entry of the Settings menu outlined, and the screen with no connected software

  2. Click Create an API client.

  3. Type a Name that says what the access is for, for example the software's name.

    The New API client form, with the name Third-party register software typed in the Name field, outlined

  4. Search for a right in the Search rights field, under Rights, then tick it. For example Manage the catalogue, so the software can write products.

    The search "catalogue" and the Manage the catalogue box ticked and outlined

  5. Tick Follow POS activity the same way, so the software can read sales, returns and stock movements.

    The search "activity" and the Follow POS activity box ticked and outlined, with the count "2 of 63 rights ticked"

Tick only what the software needs. Tick all exists, but gives far more than necessary.

  1. Check the Software that sends this data. A new software is chosen for you: nothing to type. Pick a software from the list only if it is already known to Braavu POS.

    The Software that sends this data list, with "A new software" chosen and outlined

  2. Click Create the client.

Handing the key to the software ​

A window shows the client's Access key. It is shown only once.

  1. Click Copy the key.
  2. Give the key to the software's team by a safe means: never by ordinary email or group message.
  3. Click I copied the key, close.

The Access key window, with the key covered and the Copy the key button outlined

The key will never be visible again, here or anywhere else. If it is lost, it must be replaced (see below). Never paste it in a shared document.

Reading an access record ​

In the Connected software list, click the client's name. The record gives its status (Active or Revoked), the creation date, who created it and the Last used (Never used until the software has read something). It has three buttons: Change rights, Replace the key and Revoke this client.

The client's record: status Active, never used, and the three buttons, Change rights outlined

Changing the rights ​

  1. Click Change rights.
  2. Tick or untick the rights, then click Save rights.

The software follows the change at once, with the same key. A client keeps at least one right: to remove them all, revoke it.

Replacing the key ​

Replace the key if it is lost or if someone who knew it leaves the team.

  1. Click Replace the key.

  2. Read the warning: the old key is refused at once.

    The Replace the key window, with its warning and the Replace the key button outlined

  3. Click Replace the key, then copy the new key as at creation.

A new client takes over, with the same name and rights. The old one stays in the list, Revoked.

Revoking an access ​

Revoke an access when the software is no longer used. It is final: to give it access again, create another client.

  1. Click Revoke this client.

  2. Type the Reason for the revocation.

  3. Click Revoke permanently.

    The Revoke API client window, with the reason typed and the Revoke permanently button outlined

The screen shows "API client … revoked." and the Status changes to Revoked. The software can no longer read or write anything.

The record after the revocation: the confirmation message and the Revoked status

Troubleshooting ​

"Your role cannot grant one of the ticked rights." ​

A right needs a permission your role does not have. Untick it, or ask an administrator.

See also ​