Logo PopinaPopina API

Get location lastStockUpdateDate

Get the lastStockUpdateDate from Firebase for the authenticated device's location

GET/v1/legacy/stock/last-update-date
AuthorizationBearer <token>

Device authentication token obtained during device pairing

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

Response Body

application/json

application/json

application/json

curl -X GET "http://localhost:4004/v1/legacy/stock/last-update-date"
{
  "lastUpdateDate": 0
}
{
  "error": "string"
}
{
  "error": "string"
}