# update_guide

Change guide settings (name, headline, tags, country).

`PATCH /v1/guides/{productId}` · MCP tool `update_guide` · scope `write` · stable · since 2026-09-17

Enumerated fields only. Store tags come from the fixed vocabulary (alpine, beaches, city, food, hiking, islands, lakes, photography, road-trips, via-ferrata, waterfalls, wild-camping). Store visibility and putting a guide on sale are dashboard-only; a live guide's content edits reach buyers with publish_changes.

## Path parameters

- `productId` (string, required): Id of the guide (a product of type map). From list_guides or create_guide.

## Body parameters

- `clearThumbnail` (boolean, optional): true removes the store thumbnail.
- `country` (string, optional): ISO 3166-1 alpha-2 code the guide covers (CH, IT ...); replaces any countries set in the dashboard with this one; empty string means worldwide.
- `headline` (string, optional): One-line promise under the title on the sales page, at most 200 characters.
- `name` (string, optional): Guide title, 1-120 characters.
- `purchaseButtonText` (string, optional): Buy button label, at most 60 characters.
- `reviewsShown` (boolean, optional): Whether buyer reviews show on the store card.
- `storeTags` (array of strings, optional): Full replacement list from the fixed store vocabulary.
- `thumbnailMediaId` (string, optional): Id of a product- or listing-owned media row to use as the 4:5 store thumbnail.

## Returns

200: Guide.

- `productId` (string, required): The guide's id.
- `name` (string, required): The guide's title.
- `slug` (string, required): URL slug of the sales page.
- `headline` (string or null, required): One-line promise under the title on the sales page.
- `purchaseButtonText` (string or null, required): The buy button label, or null for the default.
- `status` (string, required): draft (not on sale), published (on sale) or archived. One of `draft`, `published`, `archived`.
- `visibleOnStore` (boolean, required): Whether the guide shows in the Sceniq store (set in the studio).
- `storeReviewStatus` (string or null, required): The store review's state, or null before a review. One of `pending`, `approved`, `rejected`.
- `storeReviewNote` (string or null, required): The store review team's note.
- `storeTags` (array of strings, required): Store tags from the fixed vocabulary.
- `country` (string or null, required): ISO 3166-1 alpha-2 code of the country the guide covers; null means worldwide.
- `reviewsShown` (boolean, required): Whether buyer reviews show on the store card.
- `buyerCountShown` (boolean, required): Whether the buyer count shows on the sales page (set in the studio).
- `pricing` (object, required): How the guide is sold.
  - `oneTimeEnabled` (boolean, required): Whether the guide sells for a one-time price.
  - `subscriptionIncluded` (boolean, required): Whether it is part of a subscription.
  - `currency` (string, required): The guide's currency.
- `originalLanguage` (string, required): The language the guide is written in (BCP 47).
- `createdAt` (number, required): When the row was created (Unix time in milliseconds).
- `updatedAt` (number, required): When the row last changed (Unix time in milliseconds).
- `publishedAt` (number or null, required): When the guide first went on sale (Unix time in milliseconds).
- `lastApiWriteAt` (number or null, required): When a key last changed the guide (Unix time in milliseconds).
- `region` (MapRegion or null, required): The map region the viewer opens on.
  Fields of MapRegion: https://developers.sceniq.earth/fields/map-region.md
- `areas` (array of Area, required): Parks, islands and regions spots can point at.
  Fields of Area: https://developers.sceniq.earth/fields/area.md
- `mapStyle` (object or null, required): The map's style, set in the studio.
  - `basemap` (string, optional): The base map style.
  - `pinStyle` (string, optional): The pin style.
  - `themeColor` (string, optional): The accent color.
- `propertySchemaVersion` (number or null, required): Bumped on every property change.
- `properties` (array of Property, required): Custom property definitions.
  Fields of Property: https://developers.sceniq.earth/fields/property.md
- `price` (object or null, required): The active one-time price, or null when none is set.
  - `amountMinor` (number, required): The price in minor units (2900 is 29.00).
  - `currency` (string, required): ISO 4217 code in lower case (usd, eur, chf).
- `spotCount` (number, required): Number of spots, archived ones included.
- `thumbnailUrl` (string or null, required): The 4:5 store thumbnail.
- `dashboardUrl` (string, required): The guide in the studio.
- `salesPageUrl` (string, required): The public sales page (live once published).

## Examples

### Set the headline, store tags and country

```bash
curl -X PATCH "https://sceniq.earth/api/v1/guides/j5738kd1q9x2m7v4c6b8n0p3r5t1w9y2" \
  -H "Authorization: Bearer $SCENIQ_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "headline": "Twelve viewpoints across Yellowstone and Yosemite, timed for the light and the crowds.",
  "storeTags": [
    "photography",
    "hiking",
    "road-trips"
  ],
  "country": "US"
}'
```

MCP `tools/call`:

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "update_guide",
    "arguments": {
      "productId": "j5738kd1q9x2m7v4c6b8n0p3r5t1w9y2",
      "headline": "Twelve viewpoints across Yellowstone and Yosemite, timed for the light and the crowds.",
      "storeTags": [
        "photography",
        "hiking",
        "road-trips"
      ],
      "country": "US"
    }
  }
}
```

Response 200:

```json
{
  "productId": "j5738kd1q9x2m7v4c6b8n0p3r5t1w9y2",
  "name": "American West: Parks at First Light",
  "slug": "american-west-first-light",
  "headline": "Twelve viewpoints across Yellowstone and Yosemite, timed for the light and the crowds.",
  "purchaseButtonText": null,
  "status": "draft",
  "visibleOnStore": false,
  "storeReviewStatus": null,
  "storeReviewNote": null,
  "storeTags": [
    "photography",
    "hiking",
    "road-trips"
  ],
  "country": "US",
  "reviewsShown": true,
  "buyerCountShown": false,
  "pricing": {
    "oneTimeEnabled": true,
    "subscriptionIncluded": false,
    "currency": "usd"
  },
  "originalLanguage": "en",
  "createdAt": 1789895640000,
  "updatedAt": 1790673240000,
  "publishedAt": null,
  "lastApiWriteAt": 1790586840000,
  "region": {
    "label": "Yellowstone and Yosemite",
    "centerLat": 41.2,
    "centerLon": -115,
    "defaultZoom": 5,
    "bbox": [
      -120,
      37.4,
      -109.8,
      45.2
    ]
  },
  "areas": [
    {
      "id": "area_01m3gvdap06m6mx2kp4t553d6g",
      "name": "Yellowstone National Park",
      "kind": "park",
      "note": "One entrance pass covers every spot in the Yellowstone chapter. Cell coverage is patchy between the geyser basins; download the guide before you drive in.",
      "season": "Most park roads are open to cars from May to early November.",
      "rules": [
        {
          "text": "Stay on boardwalks and marked trails in every thermal area.",
          "kind": "other",
          "sourceUrl": "https://www.nps.gov/yell/planyourvisit/safety.htm"
        }
      ],
      "fees": [
        {
          "label": "Park entrance, private vehicle, 7 days",
          "amount": 35,
          "currency": "USD",
          "per": "vehicle",
          "paidWhere": "online",
          "sourceUrl": "https://www.nps.gov/yell/planyourvisit/fees.htm",
          "checkedOn": "2026-09-20"
        }
      ],
      "links": [
        {
          "kind": "official",
          "url": "https://www.nps.gov/yell/index.htm",
          "label": "Yellowstone National Park (NPS)"
        },
        {
          "kind": "status",
          "url": "https://www.nps.gov/yell/planyourvisit/conditions.htm",
          "label": "Park road status"
        }
      ],
      "sources": [
        {
          "url": "https://www.nps.gov/yell/planyourvisit/fees.htm",
          "kind": "page",
          "capturedOn": "2026-09-20",
          "supports": [
            "fees"
          ]
        }
      ]
    },
    {
      "id": "area_01m3gvgcb04pf38p66vz544w1b",
      "name": "Yosemite National Park",
      "kind": "park",
      "season": "Open all year. Glacier Point Road and Tioga Road close to cars in winter.",
      "rules": [
        {
          "text": "Glacier Point Road and Tioga Road are closed to cars in winter, usually from November to late May.",
          "kind": "vehicle",
          "months": [
            11,
            12,
            1,
            2,
            3,
            4,
            5
          ],
          "appliesTo": "car",
          "sourceUrl": "https://www.nps.gov/yose/planyourvisit/conditions.htm"
        }
      ],
      "fees": [
        {
          "label": "Park entrance, private vehicle, 7 days",
          "amount": 35,
          "currency": "USD",
          "per": "vehicle",
          "sourceUrl": "https://www.nps.gov/yose/planyourvisit/fees.htm",
          "checkedOn": "2026-09-20"
        }
      ],
      "links": [
        {
          "kind": "official",
          "url": "https://www.nps.gov/yose/index.htm",
          "label": "Yosemite National Park (NPS)"
        },
        {
          "kind": "timetable",
          "url": "https://yarts.com/",
          "label": "YARTS buses into the valley"
        }
      ]
    }
  ],
  "mapStyle": null,
  "propertySchemaVersion": 6,
  "properties": [
    {
      "propertyDefId": "kh75t2w9q4r6y8v0j1p3p5a7s9d1f3g5",
      "key": "best_time",
      "label": "Best time",
      "kind": "singleSelect",
      "order": 0,
      "required": false,
      "filterable": true,
      "placeholder": null,
      "numUnit": null,
      "options": [
        {
          "id": "sunrise",
          "label": "Sunrise",
          "order": 0,
          "archived": false
        },
        {
          "id": "morning",
          "label": "Morning",
          "order": 1,
          "archived": false
        },
        {
          "id": "midday",
          "label": "Midday",
          "order": 2,
          "archived": false
        },
        {
          "id": "sunset",
          "label": "Sunset",
          "order": 3,
          "archived": false
        }
      ],
      "archived": false,
      "schemaVersion": 2
    },
    {
      "propertyDefId": "kh7b3n5m7q9w1e3r5t7y9v1j3p5p7a9s",
      "key": "crowds",
      "label": "Crowds",
      "kind": "singleSelect",
      "order": 1,
      "required": false,
      "filterable": true,
      "placeholder": null,
      "numUnit": null,
      "options": [
        {
          "id": "quiet",
          "label": "Quiet",
          "order": 0,
          "archived": false
        },
        {
          "id": "busy",
          "label": "Busy",
          "order": 1,
          "archived": false
        },
        {
          "id": "packed",
          "label": "Packed",
          "order": 2,
          "archived": false
        }
      ],
      "archived": false,
      "schemaVersion": 3
    },
    {
      "propertyDefId": "kh75b789hrwaq3kafenm0xbb6v34gh06",
      "key": "photo_notes",
      "label": "Photo notes",
      "kind": "longSection",
      "order": 2,
      "required": false,
      "filterable": false,
      "placeholder": "Lens, framing, where to stand",
      "numUnit": null,
      "options": [],
      "archived": false,
      "schemaVersion": 4
    },
    {
      "propertyDefId": "kh7v7h8st8cr913jb2kzb839yxjtpkdf",
      "key": "lens",
      "label": "Lens",
      "kind": "shortLabel",
      "order": 3,
      "required": false,
      "filterable": false,
      "placeholder": "16-35 mm",
      "numUnit": null,
      "options": [],
      "archived": true,
      "schemaVersion": 6
    }
  ],
  "price": {
    "amountMinor": 2900,
    "currency": "usd"
  },
  "spotCount": 13,
  "thumbnailUrl": null,
  "dashboardUrl": "https://creators.sceniq.earth/products/j5738kd1q9x2m7v4c6b8n0p3r5t1w9y2",
  "salesPageUrl": "https://sceniq.earth/mara-lindgren/american-west-first-light"
}
```

### Use a guide photo as the 4:5 store thumbnail

```bash
curl -X PATCH "https://sceniq.earth/api/v1/guides/j5738kd1q9x2m7v4c6b8n0p3r5t1w9y2" \
  -H "Authorization: Bearer $SCENIQ_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "thumbnailMediaId": "kg7mvr0k3pjqq6p21nr58835y5mtxef0"
}'
```

MCP `tools/call`:

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "update_guide",
    "arguments": {
      "productId": "j5738kd1q9x2m7v4c6b8n0p3r5t1w9y2",
      "thumbnailMediaId": "kg7mvr0k3pjqq6p21nr58835y5mtxef0"
    }
  }
}
```

Response 200:

```json
{
  "productId": "j5738kd1q9x2m7v4c6b8n0p3r5t1w9y2",
  "name": "American West: Parks at First Light",
  "slug": "american-west-first-light",
  "headline": "Twelve viewpoints across Yellowstone and Yosemite, timed for the light and the crowds.",
  "purchaseButtonText": null,
  "status": "draft",
  "visibleOnStore": false,
  "storeReviewStatus": null,
  "storeReviewNote": null,
  "storeTags": [
    "photography",
    "hiking",
    "road-trips"
  ],
  "country": "US",
  "reviewsShown": true,
  "buyerCountShown": false,
  "pricing": {
    "oneTimeEnabled": true,
    "subscriptionIncluded": false,
    "currency": "usd"
  },
  "originalLanguage": "en",
  "createdAt": 1789895640000,
  "updatedAt": 1790673240000,
  "publishedAt": null,
  "lastApiWriteAt": 1790586840000,
  "region": {
    "label": "Yellowstone and Yosemite",
    "centerLat": 41.2,
    "centerLon": -115,
    "defaultZoom": 5,
    "bbox": [
      -120,
      37.4,
      -109.8,
      45.2
    ]
  },
  "areas": [
    {
      "id": "area_01m3gvdap06m6mx2kp4t553d6g",
      "name": "Yellowstone National Park",
      "kind": "park",
      "note": "One entrance pass covers every spot in the Yellowstone chapter. Cell coverage is patchy between the geyser basins; download the guide before you drive in.",
      "season": "Most park roads are open to cars from May to early November.",
      "rules": [
        {
          "text": "Stay on boardwalks and marked trails in every thermal area.",
          "kind": "other",
          "sourceUrl": "https://www.nps.gov/yell/planyourvisit/safety.htm"
        }
      ],
      "fees": [
        {
          "label": "Park entrance, private vehicle, 7 days",
          "amount": 35,
          "currency": "USD",
          "per": "vehicle",
          "paidWhere": "online",
          "sourceUrl": "https://www.nps.gov/yell/planyourvisit/fees.htm",
          "checkedOn": "2026-09-20"
        }
      ],
      "links": [
        {
          "kind": "official",
          "url": "https://www.nps.gov/yell/index.htm",
          "label": "Yellowstone National Park (NPS)"
        },
        {
          "kind": "status",
          "url": "https://www.nps.gov/yell/planyourvisit/conditions.htm",
          "label": "Park road status"
        }
      ],
      "sources": [
        {
          "url": "https://www.nps.gov/yell/planyourvisit/fees.htm",
          "kind": "page",
          "capturedOn": "2026-09-20",
          "supports": [
            "fees"
          ]
        }
      ]
    },
    {
      "id": "area_01m3gvgcb04pf38p66vz544w1b",
      "name": "Yosemite National Park",
      "kind": "park",
      "season": "Open all year. Glacier Point Road and Tioga Road close to cars in winter.",
      "rules": [
        {
          "text": "Glacier Point Road and Tioga Road are closed to cars in winter, usually from November to late May.",
          "kind": "vehicle",
          "months": [
            11,
            12,
            1,
            2,
            3,
            4,
            5
          ],
          "appliesTo": "car",
          "sourceUrl": "https://www.nps.gov/yose/planyourvisit/conditions.htm"
        }
      ],
      "fees": [
        {
          "label": "Park entrance, private vehicle, 7 days",
          "amount": 35,
          "currency": "USD",
          "per": "vehicle",
          "sourceUrl": "https://www.nps.gov/yose/planyourvisit/fees.htm",
          "checkedOn": "2026-09-20"
        }
      ],
      "links": [
        {
          "kind": "official",
          "url": "https://www.nps.gov/yose/index.htm",
          "label": "Yosemite National Park (NPS)"
        },
        {
          "kind": "timetable",
          "url": "https://yarts.com/",
          "label": "YARTS buses into the valley"
        }
      ]
    }
  ],
  "mapStyle": null,
  "propertySchemaVersion": 6,
  "properties": [
    {
      "propertyDefId": "kh75t2w9q4r6y8v0j1p3p5a7s9d1f3g5",
      "key": "best_time",
      "label": "Best time",
      "kind": "singleSelect",
      "order": 0,
      "required": false,
      "filterable": true,
      "placeholder": null,
      "numUnit": null,
      "options": [
        {
          "id": "sunrise",
          "label": "Sunrise",
          "order": 0,
          "archived": false
        },
        {
          "id": "morning",
          "label": "Morning",
          "order": 1,
          "archived": false
        },
        {
          "id": "midday",
          "label": "Midday",
          "order": 2,
          "archived": false
        },
        {
          "id": "sunset",
          "label": "Sunset",
          "order": 3,
          "archived": false
        }
      ],
      "archived": false,
      "schemaVersion": 2
    },
    {
      "propertyDefId": "kh7b3n5m7q9w1e3r5t7y9v1j3p5p7a9s",
      "key": "crowds",
      "label": "Crowds",
      "kind": "singleSelect",
      "order": 1,
      "required": false,
      "filterable": true,
      "placeholder": null,
      "numUnit": null,
      "options": [
        {
          "id": "quiet",
          "label": "Quiet",
          "order": 0,
          "archived": false
        },
        {
          "id": "busy",
          "label": "Busy",
          "order": 1,
          "archived": false
        },
        {
          "id": "packed",
          "label": "Packed",
          "order": 2,
          "archived": false
        }
      ],
      "archived": false,
      "schemaVersion": 3
    },
    {
      "propertyDefId": "kh75b789hrwaq3kafenm0xbb6v34gh06",
      "key": "photo_notes",
      "label": "Photo notes",
      "kind": "longSection",
      "order": 2,
      "required": false,
      "filterable": false,
      "placeholder": "Lens, framing, where to stand",
      "numUnit": null,
      "options": [],
      "archived": false,
      "schemaVersion": 4
    },
    {
      "propertyDefId": "kh7v7h8st8cr913jb2kzb839yxjtpkdf",
      "key": "lens",
      "label": "Lens",
      "kind": "shortLabel",
      "order": 3,
      "required": false,
      "filterable": false,
      "placeholder": "16-35 mm",
      "numUnit": null,
      "options": [],
      "archived": true,
      "schemaVersion": 6
    }
  ],
  "price": {
    "amountMinor": 2900,
    "currency": "usd"
  },
  "spotCount": 13,
  "thumbnailUrl": "https://quiet-heron-512.convex.cloud/api/storage/parks-store-thumbnail.webp",
  "dashboardUrl": "https://creators.sceniq.earth/products/j5738kd1q9x2m7v4c6b8n0p3r5t1w9y2",
  "salesPageUrl": "https://sceniq.earth/mara-lindgren/american-west-first-light"
}
```

## Errors

- `invalid_argument` (400): A required field is missing, a field is unknown, or a value does not match its type (the Convex validator's path and value are in the message).
- `invalid_request` (400): A writer refused a value: a map link on a host that is not allowed, a title that is too long, a date that does not exist, too many items in a list. The message is the writer's own sentence.
- `unauthenticated` (401): The request carries no key. Send it as Authorization: Bearer sk_sceniq_... (or X-Api-Key).
- `invalid_api_key` (401): The key is unknown, revoked or expired.
- `api_scope_required` (403): A read-only key called a write operation, or a key without the publish option called publish_changes.
- `forbidden` (403): The key belongs to a creator account that is no longer active.
- `not_found` (404): The id does not exist or belongs to another creator. The two answers are identical on purpose, so ids never reveal what exists.
- `payload_too_large` (413): A JSON body over 2 MB, an image over 6 MB, a batch upload over 19 MB, or an MCP message over 2 MB.
- `rate_limited` (429): Over a limit: requests per key per minute, per creator per hour, uploads per key per minute, or check_links per guide per hour.
- `internal_error` (500): An unexpected failure. The message is hidden on purpose.

Reference: https://developers.sceniq.earth/reference/update_guide
