MyNearStoresPartners

Terminals

Register the registers, tablets and kiosks that connect to a POS.

A terminal belongs to a business unit (buId) and a store (storeId). Every POS connection and QR redemption session is tied to one terminal.

Create a terminal

curl -X POST "$MNS_API/terminal/create" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Front counter 1",
    "buId": 1,
    "storeId": 12,
    "os": "iPadOS",
    "billingSoftwareName": "Square",
    "channel": "in-store",
    "terminalActiveStatus": "Y",
    "activeStatus": "Y"
  }'

name is required. Store the returned data.id: it is the terminal_id used everywhere else.

{ "success": true, "data": { "id": 31, "name": "Front counter 1", "buId": 1, "storeId": 12 } }

Fields

FieldTypeNotes
namestringRequired, up to 45 characters.
buIdintegerBusiness unit that owns the terminal.
storeIdintegerStore where the terminal is installed.
osstringOperating system of the device.
billingSoftwareNamestringPOS or billing software in use.
printerMakestringReceipt printer manufacturer.
printerNamestringReceipt printer model.
channelstringSales channel label.
terminalActiveStatusstringY or N.
activeStatusstringY or N.
licIdintegerLicence record, if any.

List, read, update and delete

ActionRequest
Active terminals of a business, newest first, with store_nameGET /terminal/list/all/{buId}
One terminalGET /terminal/{terminalId}
Update (partial body)PUT /terminal/{terminalId}
DeleteDELETE /terminal/{terminalId}

Deleting a terminal does not disconnect its POS. Disconnect Square or Lightspeed first.

On this page