update_shop_item
Mutation/readOnly:false, script-tier/no-model-token action. Edit a service's text, category, specialtySlug, visibility, price, duration, work location and billing interval. Use specialtySlug to set or fix which Boatwork search specialty displays this service's "Book now" button (call get_my_profile for specialities[].slug values and confirm with the owner, or pass null for storefront-only ancillary services; never mistag unrelated services like laundry). Prices can be changed here. Per-unit pricing (priceUnit, priceUnitLabel, minQty, maxQty, minChargeCents) can be set or cleared the same way: 'unit' needs priceUnitLabel, and an hourly service books slots as long as the hours chosen. Premium times (premiumFeeCents, premiumTimesOff) and dailyLimit can be set or cleared here too. Sold by the seat (seatCapacity, ticketTypes), departures (departureTimes, departureDays) and deposit (percent or fixed, or all null for paid in full) can be set here as well. Only the fields you pass change. Call get_booking_setup for itemIds. Storefront Pro.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"itemId": "<itemId>",
"proAccessToken": "<proAccessToken>"
},
"name": "update_shop_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| media | No | Service photos in display order, up to 8; the first is the cover. Each item is {url, alt}. Absent leaves the stored photos alone. | |
| title | No | ||
| active | No | false hides the service from the storefront. | |
| addons | No | Per-trip priced add-ons (gear, catering, bait, photography, etc.). | |
| itemId | Yes | From get_booking_setup items[].id. | |
| maxQty | No | ||
| minQty | No | Bounds on the quantity a booking may ask for: boat length in feet for 'foot', hours for 'hour', units for 'unit'. | |
| deposit | No | Deposit taken at booking; the rest is the balance. All null = paid in full. | |
| summary | No | The one-line card text. | |
| cadences | No | How customers can book: 'once' and/or repeat cadences. A timed service with a repeat cadence becomes a recurring service: the customer picks the first visit and later visits are booked and charged automatically. Replaces billingInterval. | |
| category | No | ||
| priceUnit | No | 'foot' = priced by boat length, 'hour' = priced by the hour, 'unit' = priced per unit (needs priceUnitLabel). Null or omitted = fixed price. | |
| dailyLimit | No | The most of this service a day: bookings, or units for a per-unit service (e.g. 20 loads a day). null = no limit. Timed services only. | |
| priceCents | No | Price in cents; for a per-foot/hour/unit service this is the price of one unit (minimum $1); fixed prices are at least $25. | |
| resourceId | No | Optional fleet/boat resource id from list_shop_resources. Null unassigns the resource. | |
| description | No | The full service description. | |
| ticketTypes | No | The ticket types a customer picks from, up to 10, for a service sold by the seat. | |
| seatCapacity | No | Sold by the seat: the seats one departure has. null = sold as a whole booking. | |
| workLocation | No | ||
| departureDays | No | Days the service departs: 0 = Sunday … 6 = Saturday. | |
| specialtySlug | No | Boatwork specialty slug for search visibility ("Book now" strict specialty matching on specialty search results, state-by-specialty directory pages, and owner confirmation emails). Call get_my_profile first for the business's exact specialities[].slug values, confirm the match with the owner, and pass that slug here. Never mistag unrelated ancillary services (such as laundry); pass null explicitly ONLY for storefront-only ancillary services. | |
| departureTimes | No | Departure start times, 24-hour HH:MM, up to 12. | |
| minChargeCents | No | The least a booking costs, in cents (minimum $25). | |
| priceUnitLabel | No | The unit's name, e.g. "load"; used with priceUnit 'unit'. | |
| proAccessToken | Yes | The proAccessToken printed by confirm_pro_signup or renew_pro_access. It names the pro's storefront for this call and is valid for 24 hours. | |
| billingInterval | No | Deprecated: use cadences. | |
| durationMinutes | No | ||
| premiumFeeCents | No | This service's own premium-times fee in cents; null uses the storefront fee; 0 offers premium times at the regular price. | |
| premiumTimesOff | No | true = this service is never offered at premium times. | |
| bookingQuestions | No | Per-trip booking questions merged with the business-wide questions. | |
| arrivalInstructions | No | Dock, slip, or meeting instructions shown on confirmation, reminders, and calendar invites. |