Edit a location
PATCH
/sponsors/{key}/manage/locations/{locationId}
Another address or Apple Maps place ends the address confirmation; a live sponsor's moved location gets a new kit and its old stickers stop.
Authorizations
BearerAuth
In the browser, authentication rides on the httpOnly session cookies set by /cognito/signin or the Google / Apple sign-in at /cognito/oauth/{provider}. For scripts and for Swagger UI testing, paste an API key (fh_live_…, created with POST /api-keys); a Cognito JWT is accepted too. Sign-in does not return a token in its body.
Type
HTTP (bearer)
Parameters
Path Parameters
key*
The sponsor's slug (an old slug resolves too) or id.
Type
Requiredstring
locationId*
The location.
Type
Requiredstring
Request Body
application/json
JSON
{
"label": "string",
"kind": "string",
"address": {
"line1": "string",
"line2": "string",
"city": "string",
"region": "string",
"postal_code": "string",
"country": "string"
},
"point": {
"lat": 0,
"lng": 0
},
"apple_place_id": "string",
"dba_id": "string",
"zips": [
"string"
],
"kit_ship_to_location_id": "string",
"pickup_only": true
}
Responses
OK
application/json
JSON
"string"