Logo PopinaPopina API

POS restore

Restore a backup

POST/v1/restore/
authorization<token>

To get the service key, please contact us.

In: header

locationIdstring
backupFileNamestring

Response Body

application/json

curl -X POST "http://localhost:4001/v1/restore/" \  -H "Content-Type: application/json" \  -d '{    "locationId": "818c63aa-f4bd-4287-8056-eee83ed16bf6",    "backupFileName": "backup-2023-05-24T12:34:56Z.json"  }'
{
  "id": "3",
  "queueName": "restoreCatalog",
  "jobName": "restoreLocationCatalog",
  "timestamp": 1716400106773,
  "payload": {
    "locationId": "818c63aa-f4bd-4287-8056-eee83ed16bf6"
  }
}