Locations
GET
/sponsors/{key}/manage/locations
The locations the person works with (a manager's own), with their stickers and counter devices.
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
Responses
OK
application/json
JSON
{
"locations": [
{
"id": "string",
"label": "string",
"kind": "string",
"is_primary": true,
"closed_at": "string",
"dba_id": "string",
"apple_place_id": "string",
"address": {
"line1": "string",
"line2": "string",
"city": "string",
"region": "string",
"postal_code": "string",
"country": "string"
},
"point": {
"lat": 0,
"lng": 0
},
"city": {
"id": "string",
"name": "string",
"region": "string",
"slug": "string",
"timezone": "string"
},
"hours": [
{
"weekday": 0,
"opens_at": "06:30",
"closes_at": "18:00"
}
],
"exceptions": [
{
"id": "string",
"starts_on": "string",
"ends_on": "string",
"opens_at": "string",
"closes_at": "string",
"reason": "string"
}
],
"zips": [
{
"place_id": "string",
"code": "string"
}
],
"confirmed": {
"at": "string",
"method": "string"
},
"address_changed_at": "string",
"kit_ship_to_location_id": "string",
"pickup_only": true,
"time_zone": "string",
"now": {
"additionalProperties": "string"
},
"closure": {
"additionalProperties": "string"
},
"dba_name": "string"
}
],
"max_open": 0
}