LocalLocationClose

⌘K

Closes a location, setting its status to closed and opening status to permanently closed.

JSON-RPC Method:

local.location.close
Go to Example Code

Request

id

number

The id of the location

1{
2  "id": 4
3}

Response

location

object

A Moz Local location.

1{
2  "location": {
3    "id": 4,
4    "level": "local-lite",
5    "status": "closed",
6    "legacy_id": 667273870,
7    "brand_id": 1,
8    "auto_sync_enabled": true,
9    "remote_id": "ExampleBusiness",
10    "listings_name": "Example Business",
11    "location_name": "Example Business",
12    "website_url": "https://www.example-business.com",
13    "email_address": "info@example-business.com",
14    "store_code": "",
15    "short_description": "Doing things since 1986.",
16    "long_description": "Really long descriptions.",
17    "languages": [],
18    "keywords": [
19      "tutoring",
20      "online tutoring",
21      "test preparation",
22      "academic tutoring"
23    ],
24    "brands": [
25      "example"
26    ],
27    "payment_forms": [],
28    "price_range": "omit",
29    "service_areas": [],
30    "service_area_only": false,
31    "services": "",
32    "primary_category": "gcid:educational_consultant",
33    "additional_categories": [
34      "gcid:tutoring_service",
35      "gcid:private_tutor"
36    ],
37    "attributes": [],
38    "address": {
39      "address_line_1": "1234 Astroworld Ave",
40      "address_line_2": "Suite 306",
41      "sublocality": "",
42      "county": "Roswell",
43      "city": "Schenectady",
44      "state_province": "NY",
45      "postal_code": "12345",
46      "country": "US"
47    },
48    "opening_status": "permanently_closed",
49    "reopen_date": "0000-00-00",
50    "hours": {
51      "monday": [],
52      "tuesday": [],
53      "wednesday": [],
54      "thursday": [],
55      "friday": [],
56      "saturday": [],
57      "sunday": []
58    },
59    "more_hours": {},
60    "opening_hours_notes": "",
61    "opening_date": "0000-00-00",
62    "special_hours": {},
63    "network_fields": [],
64    "phone": "+1 561-395-5555",
65    "fax": ""
66  }
67}

Example Code

Quota Usage

Does not require any quota.