Skip to main content
GET
/
consumers
/
{consumer_id}
/
pos
/
closures
/
{date}
Get closure info for a specific day
curl --request GET \
  --url https://api.chift.eu/consumers/{consumer_id}/pos/closures/{date} \
  --header 'Authorization: Bearer <token>'
{
  "date": "2023-12-25",
  "status": "open",
  "closures": []
}

Authorizations

Authorization
string
header
required

This access token needs to be included in each of your request to the Chift API.

Path Parameters

consumer_id
string<uuid>
required
date
string<date>
required

Filter based on the date of the closure

Query Parameters

location_id
string | null

Unique identifier of the location. If none passed, closures from all locations will be returned unless the location was selected by the end-user

Response

Successful Response

date
string<date>
required

Date of the closure

status
enum<string>
required

Status of the closure

Available options:
open,
closed
closures
POSClosureInformationItem · object[] | null

Info about closures related to specific day