# Caching

Caching

## Get entity timestamps

> Retrieve timestamps for entities to be used in caching. \
> The entities refer to database tables, \
> and the timestamp for each entity is updated whenever a record within the table \
> is created, updated, or deleted.

```json
{"openapi":"3.0.2","info":{"title":"Flow Retail API version 2","version":"2.0.0"},"tags":[{"name":"Caching","description":"Caching"}],"servers":[{"description":"Flow Retail Production","url":"https://api.flowretail.com/v2"},{"description":"Flow Retail Stage","url":"https://api.stage.flowretail.com/v2"}],"security":[{"accessToken":[]},{"authToken":[]},{"integrationToken":[]}],"components":{"securitySchemes":{"accessToken":{"description":"Access token recevied after user login with a deviceToken","scheme":"bearer","type":"http"},"authToken":{"description":"Token received from the auth service","scheme":"bearer","type":"http"},"integrationToken":{"scheme":"bearer","type":"http"}},"responses":{"EntityTimestampResponse":{"description":"Example response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntityTimestampResponseSchema"}}}}},"schemas":{"EntityTimestampResponseSchema":{"title":"EntityTimestampResponseSchema","type":"object","required":["store","warehouse","warehouseAccess","brand","productProperty","productPropertyOption","deliveryProvider","deliveryMethod","timeslot","handling","handlingAction","serviceType","serviceStatus","hourlyRate"],"properties":{"store":{"type":"string","format":"date-time"},"warehouse":{"type":"string","format":"date-time"},"warehouseAccess":{"type":"string","format":"date-time"},"brand":{"type":"string","format":"date-time"},"productProperty":{"type":"string","format":"date-time"},"productPropertyOption":{"type":"string","format":"date-time"},"deliveryProvider":{"type":"string","format":"date-time"},"deliveryMethod":{"type":"string","format":"date-time"},"timeslot":{"type":"string","format":"date-time"},"handling":{"type":"string","format":"date-time"},"handlingAction":{"type":"string","format":"date-time"},"serviceType":{"type":"string","format":"date-time"},"serviceStatus":{"type":"string","format":"date-time"},"hourlyRate":{"type":"string","format":"date-time"}}}}},"paths":{"/tenants/{tenantUid}/caching/entity-timestamps":{"get":{"summary":"Get entity timestamps","tags":["Caching"],"responses":{"200":{"$ref":"#/components/responses/EntityTimestampResponse"}},"operationId":"get-entity-timestamps","description":"Retrieve timestamps for entities to be used in caching. \nThe entities refer to database tables, \nand the timestamp for each entity is updated whenever a record within the table \nis created, updated, or deleted."}}}}
```
