Fetch a Check-in by External ID

​

Returns the details of a check-in using external_id for reference

Headers

  • The signature for the API call

  • Advertises which content types the client is able to understand

  • Set this header to application/json.

  • You may pass the access_token instead of the authentication_token in Online Ordering endpoints to authorize the request. It must be supplied as Bearer ACCESS_TOKEN_GOES_HERE.

  • For details, see User Agent.

Body

application/json
  • Client key of the business

  • External UID associated with the check-in

  • The authentication token of the user. You can retrieve this from the response of a successful sign-in API call or through the SSO process.

Responses

  • application/json
Request Example for get/api/auth/checkins
curl https://SERVER_NAME_GOES_HERE.punchh.com/api/auth/checkins \
  --header 'x-pch-digest: SIGNATURE_GOES_HERE' \
  --header 'Accept: application/json' \
  --header 'Content-Type: application/json' \
  --header 'Authorization: Bearer ACCESS_TOKEN_GOES_HERE' \
  --header 'User-Agent: Punchh/OnlineOrder/1.0/Web/BrowserVersion/OS_Type' \
  --data '{
  "external_uid": "EXTERNAL_UID_GOES_HERE",
  "client": "CLIENT_GOES_HERE",
  "authentication_token": "AUTHENTICATION_TOKEN_GOES_HERE"
}'
{
  "bar_code": "BARCODE_GOES_HERE",
  "created_at": "2017-08-14T10:17:01Z",
  "external_uid": "EXTERNAL_UID_GOES_HERE",
  "checkin_id": 5212416,
  "pending_points": 0,
  "pending_refresh": false,
  "points_earned": 24
}