Update¶
Update a checkin with the given ID.
HTTP request¶
PUT https://megamify.com/api/v1/game/:game_id/checkin/:checkin_id/
Parameters¶
Name | Required | Type | Description |
---|---|---|---|
game_id | True | int | The Game ID |
checkin_id | True | int | The Checkin ID |
Headers¶
See Security section of the API Reference.
Body¶
Name | Required | Type | Description |
---|---|---|---|
game | True | int | The Game ID |
name | True | string | The display name |
code | True | string | The unique code |
metadata | False | object | Custom data |
address | False | string | The address |
city | False | string | The city |
state | False | string | The state |
postal_code | False | string | The postal code |
country | False | string | The country |
lat | False | float | The latitutde |
lng | False | float | The longitude |
Response¶
Status: 200 OK
If successful, this method returns a Checkin object in the response body.