Update Checkin

Public Beta Feature

This documentation covers a feature currently in Public Beta. Access is available to anyone interested in building personalized experiences for their end-users.

This feature is subject to the Personalization API (Self-Service) Public Beta End user License Agreement.

Parameters

checkin_id
Type: string
Required

v
Type: string
Required
The API version date as documented here; e.g. 20231010

shout
Type: string
A message about your check-in. The maximum length of this field is 200 characters.

API Response

200

Object: Updates a check-in with a 200 status code response.

meta
Object: Metadata object for a successful update of a check-in.

notifications
Array of objects: Response object containing notification information for a successful update to a check-in.

response
Object: The response object for updating a check-in with a 200 status code.

Sample cURL Request

curl --request POST \
     --url https://api.foursquare.com/v2/checkins/checkin_id/update \
     --header 'accept: application/json'

Example Response

{
  "meta": {
    "code": 200,
    "requestId": "642216f6dca15c004ac90c64"
  },
  "notifications": [
    {
      "type": "notificationTray",
      "item": {
        "unreadCount": 0
      }
    },
    {
      "type": "unconfirmed",
      "item": {
        "unreadCount": 0
      }
    }
  ],
  "response": {
    "checkin": {
      "id": "59b97e6cf79faa0d5e23abeb",
      "createdAt": 1505328748,
      "type": "checkin",
      "private": true,
      "visibility": "private",
      "entities": [],
      "shout": "Monday monday!",
      "timeZoneOffset": -240,
      "venue": {
        "id": "4f0de7267bebfc146005dcc0",
        "name": "Mattlantis 🐳"
      },
      "isMayor": false,
      "posts": {
        "count": 0,
        "textCount": 0
      },
      "comments": {
        "count": 0
      },
      "source": {
        "name": "Swarm for iOS",
        "url": "https://www.swarmapp.com"
      }
    }
  }
}