update_service

Change a service's listing.

PATCH/v1/services/{serviceId}
MCP tool update_serviceScope: writeBetaSince 2026-11-12
Markdown

Only the fields sent change. Fields of the other kind are refused (a trip plan has tripPrices and deliveryDays, a video call priceMinor, ownPrices, callMinutes and callUrl). A service that is on shows every change to travelers at once, so changing one needs a key with the publish option (api_scope_required otherwise), only when the creator asks, and it must stay ready: a change that empties a field it needs is refused.

curl -X PATCH "https://sceniq.earth/api/v1/services/kq73m5p7r9t1v3x5z7b9d1f3h5k7m9p1" \
  -H "Authorization: Bearer $SCENIQ_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "tripPrices": [
    {
      "days": 3,
      "priceMinor": 19900
    },
    {
      "days": 7,
      "priceMinor": 34900
    },
    {
      "days": 14,
      "priceMinor": 54900
    }
  ]
}'

Path parameters

Body parameters

  • callMinutesenumoptional

    Video call only: the call's length, 30 or 60 minutes.

    3060
  • callUrlstringoptional

    Video call only: the creator's standing Zoom, Google Meet, FaceTime or Teams link, sent to the traveler once paid. Never shown in public. An empty string clears it.

  • countriesarray of stringsoptional

    The countries the service covers, up to 20 ISO 3166-1 alpha-2 codes (IT, CH), in the order to show. The whole list; [] clears it.

  • deliveryDaysnumberoptional

    Trip plan only: days the creator takes to deliver the plan after the request is paid, 1 to 60.

  • descriptionstringoptional

    The short description on the service's page and under its title, at most 500 characters.

  • includesarray of stringsoptional

    What you get: up to 6 short lines of at most 80 characters each. The whole list; [] clears it.

  • languagesarray of stringsoptional

    The languages the creator offers it in, up to 10 codes (en, de, it), in the order to show. The whole list; [] clears it.

  • ownPricesarray of objectsoptional

    Video call only: the creator's own prices in the other two currencies (CHF, EUR, USD), [{ currency, priceMinor }], each in place of the converted price. The whole list; [] clears it. Leave out unless the creator names them.

    Show 2 fields
    • currencystringrequired

      One of the two currencies the service is not priced in.

      chfeurusd
    • priceMinornumberrequired

      The price in that currency, in minor units.

  • priceMinornumberoptional

    Video call: its price in minor units of the creator's currency (100 to 1000000, 4900 is 49.00). Trip plan: shorthand for one price for every trip up to 90 days (0 clears the prices); never together with tripPrices.

  • titlestringoptional

    The title travelers see, at most 80 characters.

  • tripPricesarray of objectsoptional

    Trip plan only: its prices by trip length, 1 to 8 of { days, priceMinor }. Each entry prices trips of up to days days, longer than the entry before it (3, 7, 14 is 1 to 3 days, 4 to 7, 8 to 14); trips longer than the longest entry cannot be requested. The whole list, each length once.

    Show 3 fields
    • daysnumberrequired

      The longest trip this price covers, 1 to 90 days.

    • priceMinornumberrequired

      The price in minor units of the creator's currency, 100 to 1000000.

    • ownPricesarray of objectsoptional

      The creator's own prices for this length in the other two currencies, as ownPrices. Sent without, they are cleared.

      Show 2 fields
      • currencystringrequired

        One of the two currencies the service is not priced in.

        chfeurusd
      • priceMinornumberrequired

        The price in that currency, in minor units.

Returns

200 OK with this object.

  • serviceIdstring · services idrequired

    The service's id.

  • kindstringrequired

    trip_plan: a Personal trip plan; video_call: a Video call.

    trip_planvideo_call
  • titlestringrequired

    The title travelers see.

  • descriptionstringrequired

    The short description.

  • enabledbooleanrequired

    True when the service is on: travelers see it and can request it (set_service_enabled, with the publish option).

  • missingarray of stringsrequired

    What the service still needs before it can be turned on (cover: a main picture or a thumbnail); empty when ready.

    titledescriptioncoverpricedeliveryDayscallMinutescallUrl
  • currencystringrequired

    The creator's currency, which every priceMinor is in.

    chfeurusd
  • priceMinornumberrequired

    The price in minor units: a video call's price, a trip plan's lowest price by trip length (0 without).

  • tripPricesarray of objects or nullrequired

    A trip plan's prices by trip length, shortest first; null on a video call.

    Show 3 fields
    • daysnumberrequired

      The longest trip this price covers, in days.

    • priceMinornumberrequired

      The price in minor units.

    • ownPricesarray of objectsrequired

      The creator's own prices for this length in the other currencies ([] without).

      Show 2 fields
      • currencystringrequired

        The currency of this own price.

        chfeurusd
      • priceMinornumberrequired

        The creator's own price in that currency, in minor units.

  • ownPricesarray of objectsrequired

    A video call's own prices in the other currencies ([] without, and on a trip plan).

    Show 2 fields
    • currencystringrequired

      The currency of this own price.

      chfeurusd
    • priceMinornumberrequired

      The creator's own price in that currency, in minor units.

  • deliveryDaysnumber or nullrequired

    A trip plan's delivery time in days; null on a video call.

  • callMinutesenum or nullrequired

    A video call's length in minutes; null on a trip plan.

    3060
  • callUrlstring or nullrequired

    A video call's standing call link; null without.

  • includesarray of stringsrequired

    What you get, line by line ([] without).

  • countriesarray of stringsrequired

    Countries, ISO 3166-1 alpha-2 codes ([] without).

  • languagesarray of stringsrequired

    Language codes ([] without).

  • mainPictureobject or nullrequired

    The picture the service's page opens on.

    Show 3 fields
    • urlstringrequired

      The picture's URL.

    • widthnumberrequired

      Width in pixels.

    • heightnumberrequired

      Height in pixels.

  • thumbnailobject or nullrequired

    The picture the service's cards show: the main picture while thumbnailLinked, else the creator's own thumbnail.

    Show 3 fields
    • urlstringrequired

      The picture's URL.

    • widthnumberrequired

      Width in pixels.

    • heightnumberrequired

      Height in pixels.

  • thumbnailLinkedbooleanrequired

    True when the thumbnail follows the main picture (the default); set_service_cover gives it a photo of its own and set_service_thumbnail_linked links it again.

  • photosarray of objectsrequired

    The photos on the service's page, in order.

    Show 4 fields
    • storageIdstring · stored file idrequired

      The photo's file id, for remove_service_photo.

    • urlstringrequired

      The photo's URL.

    • widthnumberrequired

      Width in pixels.

    • heightnumberrequired

      Height in pixels.

  • studioUrlstringrequired

    The service's form in the studio, where the creator checks it and turns it on.

  • createdAtnumberrequired

    When the row was created (Unix time in milliseconds).

  • updatedAtnumberrequired

    When the row last changed (Unix time in milliseconds).

Response 200
{
  "serviceId": "kq73m5p7r9t1v3x5z7b9d1f3h5k7m9p1",
  "kind": "trip_plan",
  "title": "Your Yellowstone trip, planned",
  "description": "Tell me your dates and how you like to travel. I plan your days around the light, the geyser basins and the quiet trails, with where to sleep and where to park.",
  "includes": [
    "A day by day route for your dates",
    "Sunrise and sunset spots with parking",
    "Where to sleep, with links to book",
    "Free changes until you are happy"
  ],
  "countries": [
    "US"
  ],
  "languages": [
    "en",
    "sv"
  ],
  "enabled": false,
  "missing": [
    "cover"
  ],
  "currency": "usd",
  "priceMinor": 19900,
  "tripPrices": [
    {
      "days": 3,
      "priceMinor": 19900,
      "ownPrices": []
    },
    {
      "days": 7,
      "priceMinor": 34900,
      "ownPrices": []
    },
    {
      "days": 14,
      "priceMinor": 54900,
      "ownPrices": []
    }
  ],
  "ownPrices": [],
  "deliveryDays": 5,
  "callMinutes": null,
  "callUrl": null,
  "mainPicture": null,
  "thumbnail": null,
  "thumbnailLinked": true,
  "photos": [],
  "studioUrl": "https://creators.sceniq.earth/services/kq73m5p7r9t1v3x5z7b9d1f3h5k7m9p1",
  "createdAt": 1762000000000,
  "updatedAt": 1762003600000
}

Errors

Every error is { error: { code, message } }. Act on the code.

  • 400invalid_argumentA 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).
  • 400invalid_requestA 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.
  • 401unauthenticatedThe request carries no key. Send it as Authorization: Bearer sk_sceniq_... (or X-Api-Key).
  • 401invalid_api_keyThe key is unknown, revoked or expired.
  • 403api_scope_requiredA read-only key called a write operation, or a key without the publish option called publish_changes.
  • 403forbiddenThe key belongs to a creator account that is no longer active.
  • 404not_foundThe id does not exist or belongs to another creator. The two answers are identical on purpose, so ids never reveal what exists.
  • 413payload_too_largeA JSON body over 2 MB, an image over 6 MB, a batch upload over 19 MB, or an MCP message over 2 MB.
  • 429rate_limitedOver a limit: requests per key per minute, per creator per hour, uploads per key per minute, or check_links per guide per hour.
  • 500internal_errorAn unexpected failure. The message is hidden on purpose.