Logo PopinaPopina API

Update location lastUpdateDate

Update the lastUpdateDate in Firebase for the authenticated device's location

PUT/v1/legacy/config/last-update-date
AuthorizationBearer <token>

Please provide your device JWT token in the format 'Bearer '

In: header

Query Parameters

locationId?string

Location id query parameter

Formatuuid
organizationId?string

The id of the organization (only used when authenticating with a serviceKey)

Formatuuid
application?string

The POS application (only used when authenticating with a serviceKey)

Value in"POPINA" | "JALIA"
legacyId?integer

The legacy id of the location (only used when authenticating with a serviceKey)

Range1 <= value
lastUpdateDatenumber
Range0 <= value

Response Body

application/json

application/json

application/json

curl -X PUT "http://localhost:4004/v1/legacy/config/last-update-date" \  -H "Content-Type: application/json" \  -d '{    "lastUpdateDate": 0  }'
{
  "status": "string"
}
{
  "error": "string"
}
{
  "error": "string"
}