Void Loyalty Check-in
Deletes/voids a loyalty check-in in the pending state
Headers
- Type: stringx
-pch -digest requiredThe signature for the API call
- Type: stringContent
- Type requiredSet this header to application/json.
- Type: stringAcceptrequired
Advertises which content types the client is able to understand
- Type: stringAuthorizationrequired
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. - Type: stringUser
- Agent requiredFor details, see User Agent.
Body
application/json
- Type: stringclientrequired
Client key of the business
- Type: stringexternal
_uid requiredExternal unique identifer associated with the check-in
- Type: stringauthentication
_token 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
- application/json
- application/json
Request Example for delete/api/auth/checkins
curl https://SERVER_NAME_GOES_HERE.punchh.com/api/auth/checkins \
--request DELETE \
--header 'x-pch-digest: SIGNATURE_GOES_HERE' \
--header 'Content-Type: application/json' \
--header 'Accept: 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",
"authentication_token": "AUTHENTICATION_TOKEN_GOES_HERE",
"client": "CLIENT_GOES_HERE"
}'
{}