Mariana Tek MCP server for AI agents

Let Claude, ChatGPT or your own agent read and act on Mariana Tek: 34 typed functions through one MCP server. No Mariana Tek API key needed.

Functions
34
Sign-in
For account actions
Works with
MCP, HTTP, Node, Python

Connect

Just Mariana Tek

An MCP server for Mariana Tek alone, with one tool per function. Paste it into Claude, ChatGPT, Cursor or any MCP client as a remote server.

https://api.bowmark.ai/mcp/site/marianatek
Every site

One MCP server for Mariana Tek and every other site Bowmark covers. Your agent looks up what it needs and calls it.

https://api.bowmark.ai/mcp
Set it up in your client

Both need a Bowmark API key. The quickstart gets you one and a first result in a few minutes. Functions that need a login use the person's own account: how sign-in works.

Functions

Open a function to see its arguments, what it returns and how to call it.

Read 25
  • changeSpotMoves one of the signed-in customer's pick-a-spot reservations to another free spot in the same class.

    Arguments

    NameTypeRequired
    studiostringYes
    reservationIdstring
    A reservation id from listMyReservations.
    Yes
    spotIdstring
    A spot id from listClassSpots, for the reservation's class.
    Yes

    Returns marianatekChangeSpotResult

    interface marianatekChangeSpotResult {
    
      reservation: unknown;
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/marianatek/changeSpot

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.marianatek.changeSpot({ studio: "bodytempyoga", reservationId: "1", spotId: "1" });
  • checkInChecks the signed-in customer in for a reservation they already hold.

    Arguments

    NameTypeRequired
    studiostringYes
    reservationIdstring
    A reservation id from listMyReservations.
    Yes

    Returns marianatekCheckInResult

    interface marianatekCheckInResult {
    
      reservation: unknown;
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/marianatek/checkIn

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.marianatek.checkIn({ studio: "bodytempyoga", reservationId: "1" });
  • findStudioFinds a Mariana Tek studio brand from what a caller holds.

    Arguments

    NameTypeRequired
    studiostring
    Tenant slug ("bodytempyoga"), a <slug>.marianatek.com / <slug>.marianaiframes.com URL, or the studio's own page that embeds the schedule.
    Yes

    Returns marianatekStudio

    interface marianatekStudio {
      slug: string;
      brandName: string | null;
      brandUrl: string | null;
      logoUrl: string | null;
      markUrl: string | null;
      bookingWindowsPublic: boolean | null;
      schedulingWindowDays: number | null;
      onlineAppointmentBooking: boolean | null;
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/marianatek/findStudio

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.marianatek.findStudio({ studio: "bodytempyoga" });
  • getClassReturns one class by id, the same fields listClasses returns, plus when the booking window opens (bookingStartDateTime), whether the studio has…

    Arguments

    NameTypeRequired
    studiostring
    Tenant slug ("bodytempyoga"), or a <slug>.marianatek.com / <slug>.marianaiframes.com URL.
    Yes
    classIdstring
    A class id from listClasses.
    Yes

    Returns marianatekClassDetail

    interface marianatekClassType {
      id: string;
      name: string;
      description: string | null;
      durationMinutes: number | null;
      isLiveStream: boolean | null;
    }
    
    interface marianatekInstructor {
      id: string;
      name: string;
      bio: string | null;
      instagramHandle: string | null;
      instagramUrl: string | null;
      photoUrl: string | null;
      spotifyUrl: string | null;
    }
    
    interface marianatekClassroom {
      id: string;
      name: string;
    }
    
    interface marianatekSpotAvailability {
      primaryAvailability: number | null;
      primaryCapacity: number | null;
      secondaryAvailability: number | null;
      secondaryCapacity: number | null;
      standbyAvailability: number | null;
      standbyCapacity: number | null;
      waitlistAvailability: number | null;
      waitlistCapacity: number | null;
    }
    
    interface marianatekClassDetail {
      id: string;
      name: string;
      classType: marianatekClassType;
      startDateTime: string;
      startDate: string;
      startTime: string;
      bookingStartDateTime: string | null;
      locationId: string;
      locationName: string;
      regionId: string;
      regionName: string | null;
      classroom: marianatekClassroom | null;
      instructors: marianatekInstructor[];
      capacity: number | null;
      spotsLeft: number | null;
      waitlistCount: number | null;
      isPickASpot: boolean;
      isCancelled: boolean;
      lateCancelOverridden: boolean;
      spotOptions: marianatekSpotAvailability;
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/marianatek/getClass

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.marianatek.getClass({ studio: "<studio>", classId: "<classId>" });
  • getLocationReturns one of a tenant's locations by id.

    Arguments

    NameTypeRequired
    studiostring
    Tenant slug ("bodytempyoga"), or a <slug>.marianatek.com / <slug>.marianaiframes.com URL.
    Yes
    locationIdstring
    A location id from listLocations or listRegions.
    Yes

    Returns marianatekLocationDetail

    interface marianatekLocationDetail {
      id: string;
      name: string;
      city: string | null;
      stateProvince: string | null;
      postalCode: string | null;
      formattedAddress: string[];
      phoneNumber: string | null;
      email: string | null;
      timezone: string | null;
      currencyCode: string | null;
      latitude: number | null;
      longitude: number | null;
      description: string | null;
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/marianatek/getLocation

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.marianatek.getLocation({ studio: "bodytempyoga", locationId: "48717" });
  • getMyAccountThe signed-in caller's own profile at a studio, returned raw.

    Arguments

    NameTypeRequired
    studiostring
    Tenant slug ("bodytempyoga"), or a <slug>.marianatek.com / <slug>.marianaiframes.com URL.
    Yes

    Returns marianatekMyAccount

    interface marianatekMyAccount {
    
      account: unknown;
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/marianatek/getMyAccount

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.marianatek.getMyAccount({ studio: "bodytempyoga" });
  • getMyReservationOne of the signed-in caller's reservations by id (from listMyReservations), returned raw for the same reason as getMyAccount.

    Arguments

    NameTypeRequired
    studiostringYes
    reservationIdstring
    A reservation id from listMyReservations.
    Yes

    Returns marianatekMyReservation

    interface marianatekMyReservation {
    
      reservation: unknown;
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/marianatek/getMyReservation

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.marianatek.getMyReservation({ studio: "bodytempyoga", reservationId: "1" });
  • getMyStatsHow many classes the signed-in customer has taken between startDate and endDate, with whom, and the rest of the site's own per-range metrics (top…

    Arguments

    NameTypeRequired
    studiostringYes
    startDatestring
    Inclusive, "YYYY-MM-DD".
    Yes
    endDatestring
    Inclusive, "YYYY-MM-DD".
    Yes

    Returns marianatekGetMyStatsResult

    interface marianatekGetMyStatsResult {
    
      classCount: unknown;
      topInstructors: unknown;
      topTimeOfDay: unknown;
      mostPopularWeekday: unknown;
      mostActiveMonth: unknown;
      longestWeeklyStreak: unknown;
      totalMinutesInClass: unknown;
      mostRecentCompletedChallenge: unknown;
      achievements: unknown;
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/marianatek/getMyStats

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.marianatek.getMyStats({
      studio: "bodytempyoga",
      startDate: "2026-01-01",
      endDate: "2026-10-21"
    });
  • listAppointmentCategoriesLists the kinds of private appointments a studio offers (e.g. "Private Training").

    Arguments

    NameTypeRequired
    studiostring
    Tenant slug ("bodytempyoga"), or a <slug>.marianatek.com / <slug>.marianaiframes.com URL.
    Yes

    Returns marianatekAppointmentCategory[]

    interface marianatekAppointmentCategory {
      id: string;
      name: string;
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/marianatek/listAppointmentCategories

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.marianatek.listAppointmentCategories({ studio: "bodytempyoga" });
  • listAppointmentPaymentOptionsWhich of the signed-in caller's own payment methods can pay for one private appointment service.

    Arguments

    NameTypeRequired
    studiostringYes
    serviceIdstring
    A service id from listAppointmentServices or listAppointmentSlots.
    Yes

    Returns marianatekAppointmentPaymentOptions

    interface marianatekAppointmentPaymentOptions {
    
      paymentOptions: unknown;
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/marianatek/listAppointmentPaymentOptions

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.marianatek.listAppointmentPaymentOptions({ studio: "mntstudio", serviceId: "807" });
  • listAppointmentServicesLists the private-appointment services a studio offers at a location (e.g. a specific massage or coworking booth), with the instructors and rooms…

    Arguments

    NameTypeRequired
    studiostring
    Tenant slug ("bodytempyoga"), or a <slug>.marianatek.com / <slug>.marianaiframes.com URL.
    Yes
    locationIdstring
    A location id from listLocations or listRegions.
    Yes

    Returns marianatekAppointmentServiceFilters

    interface marianatekInstructor {
      id: string;
      name: string;
      bio: string | null;
      instagramHandle: string | null;
      instagramUrl: string | null;
      photoUrl: string | null;
      spotifyUrl: string | null;
    }
    
    interface marianatekClassroom {
      id: string;
      name: string;
    }
    
    interface marianatekAppointmentService {
      id: string;
      name: string;
    }
    
    interface marianatekAppointmentServiceFilters {
      services: marianatekAppointmentService[];
      instructors: marianatekInstructor[];
      classrooms: marianatekClassroom[];
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/marianatek/listAppointmentServices

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.marianatek.listAppointmentServices({ studio: "mntstudio", locationId: "48751" });
  • listAppointmentSlotsLists the open times for a location's appointment services in a date range, one day entry per day, each service carrying its price, duration and who…

    Arguments

    NameTypeRequired
    studiostring
    Tenant slug ("bodytempyoga"), or a <slug>.marianatek.com / <slug>.marianaiframes.com URL.
    Yes
    locationIdstring
    A location id from listLocations or listRegions.
    Yes
    categoryIdstring
    A category id from listAppointmentCategories.
    Yes
    startDatestring
    "YYYY-MM-DD", inclusive.
    Yes
    endDatestringYes
    serviceIdsstring[]
    Service ids from listAppointmentServices, to narrow the result.
    No

    Returns marianatekAppointmentSlotDay[]

    interface marianatekInstructor {
      id: string;
      name: string;
      bio: string | null;
      instagramHandle: string | null;
      instagramUrl: string | null;
      photoUrl: string | null;
      spotifyUrl: string | null;
    }
    
    interface marianatekAppointmentSlot {
      /** "HH:MM", the location's own timezone */
      startTime: string;
      bookedCount: number | null;
      availableCount: number | null;
      secondaryProviderId: string | null;
    }
    
    interface marianatekAppointmentSlotProvider {
      providerId: string;
      providerType: string | null;
      locationId: string;
      locationName: string | null;
      instructor: marianatekInstructor | null;
      needsAccountVerification: boolean | null;
      slots: marianatekAppointmentSlot[];
    }
    
    interface marianatekAppointmentSlotService {
      serviceId: string;
      serviceName: string;
      description: string | null;
      durationSeconds: number | null;
      capacity: number | null;
      priceUsd: string | null;
      isPaid: boolean | null;
      providers: marianatekAppointmentSlotProvider[];
    }
    
    interface marianatekAppointmentSlotDay {
      date: string;
      services: marianatekAppointmentSlotService[];
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/marianatek/listAppointmentSlots

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.marianatek.listAppointmentSlots({
      studio: "mntstudio",
      locationId: "48751",
      categoryId: "1",
      startDate: "2026-10-21",
      endDate: "2026-10-27"
    });
  • listClassesLists a tenant's class schedule between startDate and endDate (both required and inclusive, "YYYY-MM-DD".

    Arguments

    NameTypeRequired
    studiostring
    Tenant slug ("bodytempyoga"), or a <slug>.marianatek.com / <slug>.marianaiframes.com URL.
    Yes
    startDatestring
    Inclusive, "YYYY-MM-DD".
    Yes
    endDatestring
    Inclusive, "YYYY-MM-DD".
    Yes
    locationIdsstring[]
    Location ids from listLocations or listRegions.
    No
    regionIdstring
    A region id from listRegions.
    No

    Returns marianatekListClassesResult

    interface marianatekClassType {
      id: string;
      name: string;
      description: string | null;
      durationMinutes: number | null;
      isLiveStream: boolean | null;
    }
    
    interface marianatekInstructor {
      id: string;
      name: string;
      bio: string | null;
      instagramHandle: string | null;
      instagramUrl: string | null;
      photoUrl: string | null;
      spotifyUrl: string | null;
    }
    
    interface marianatekClassroom {
      id: string;
      name: string;
    }
    
    interface marianatekClassSummary {
      id: string;
      name: string;
      classType: marianatekClassType;
      startDateTime: string;
      startDate: string;
      startTime: string;
      locationId: string;
      locationName: string;
      regionId: string;
      regionName: string | null;
      classroom: marianatekClassroom | null;
      instructors: marianatekInstructor[];
      capacity: number | null;
      spotsLeft: number | null;
      waitlistCount: number | null;
      isPickASpot: boolean;
      isCancelled: boolean;
    }
    
    interface marianatekListClassesResult {
      classes: marianatekClassSummary[];
      warnings: string[];
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/marianatek/listClasses

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.marianatek.listClasses({
      studio: "barrysbootcamp",
      startDate: "2026-10-20",
      endDate: "2026-11-20"
    });
  • listClassPaymentOptionsWhich of the signed-in caller's own memberships and class credits can pay for one class.

    Arguments

    NameTypeRequired
    studiostringYes
    classIdstring
    A class id from listClasses or getClass.
    Yes

    Returns marianatekClassPaymentOptions

    interface marianatekClassPaymentOptions {
    
      paymentOptions: unknown;
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/marianatek/listClassPaymentOptions

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.marianatek.listClassPaymentOptions({ studio: "barrysbootcamp", classId: "2198999" });
  • listClassSpotsLists the spots in a pick-a-spot class's room map.

    Arguments

    NameTypeRequired
    studiostring
    Tenant slug ("bodytempyoga"), or a <slug>.marianatek.com / <slug>.marianaiframes.com URL.
    Yes
    classIdstring
    A class id from listClasses, where isPickASpot is true.
    Yes

    Returns marianatekClassSpot[]

    interface marianatekClassSpot {
      id: string;
      name: string;
      spotTypeId: string | null;
      spotTypeName: string | null;
      isPrimary: boolean | null;
      xPosition: number | null;
      yPosition: number | null;
      isAvailable: boolean;
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/marianatek/listClassSpots

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.marianatek.listClassSpots({ studio: "<studio>", classId: "<classId>" });
  • listLocationsLists a tenant's bookable locations, flat.

    Arguments

    NameTypeRequired
    studiostring
    Tenant slug ("bodytempyoga"), or a <slug>.marianatek.com / <slug>.marianaiframes.com URL.
    Yes

    Returns marianatekLocation[]

    interface marianatekLocation {
      id: string;
      name: string;
      city: string | null;
      stateProvince: string | null;
      postalCode: string | null;
      formattedAddress: string[];
      phoneNumber: string | null;
      email: string | null;
      timezone: string | null;
      currencyCode: string | null;
      latitude: number | null;
      longitude: number | null;
      regionId: string;
      regionName: string | null;
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/marianatek/listLocations

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.marianatek.listLocations({ studio: "bodytempyoga" });
  • listMyAppointmentsLists the signed-in customer's upcoming or past private appointments at a studio.

    Arguments

    NameTypeRequired
    studiostringYes
    isUpcomingboolean
    Only upcoming appointments when true, only past ones when false, both when omitted.
    No

    Returns marianatekMyAppointments

    interface marianatekMyAppointments {
    
      appointments: unknown;
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/marianatek/listMyAppointments

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.marianatek.listMyAppointments({ studio: "bodytempyoga" });
  • listMyCreditsThe signed-in caller's class-pack credits at a studio.

    Arguments

    NameTypeRequired
    studiostringYes
    isActiveboolean
    Only unexpired, unused credits when true.
    No

    Returns marianatekMyCredits

    interface marianatekMyCredits {
    
      credits: unknown;
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/marianatek/listMyCredits

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.marianatek.listMyCredits({ studio: "bodytempyoga" });
  • listMyMembershipsThe signed-in caller's memberships at a studio.

    Arguments

    NameTypeRequired
    studiostringYes
    isActiveboolean
    Only unexpired, unused memberships when true.
    No

    Returns marianatekMyMemberships

    interface marianatekMyMemberships {
    
      memberships: unknown;
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/marianatek/listMyMemberships

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.marianatek.listMyMemberships({ studio: "bodytempyoga" });
  • listMyOrdersLists the signed-in customer's purchase history at a studio: what was bought, when, for how much, and its status.

    Arguments

    NameTypeRequired
    studiostringYes

    Returns marianatekMyOrders

    interface marianatekMyOrders {
    
      orders: unknown;
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/marianatek/listMyOrders

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.marianatek.listMyOrders({ studio: "bodytempyoga" });
  • listMyReservationsThe signed-in caller's class reservations at a studio.

    Arguments

    NameTypeRequired
    studiostringYes
    isUpcomingboolean
    Only upcoming reservations when true, only past ones when false, both when omitted.
    No

    Returns marianatekMyReservations

    interface marianatekMyReservations {
    
      reservations: unknown;
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/marianatek/listMyReservations

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.marianatek.listMyReservations({ studio: "bodytempyoga" });
  • listMyWaiversThe waivers the signed-in caller has signed, or still has to sign, before they can book at a studio.

    Arguments

    NameTypeRequired
    studiostringYes
    hasUrlboolean
    Only waivers carrying a signing URL when true.
    No
    isRequiredboolean
    Only waivers the studio currently requires when true.
    No
    isSignedboolean
    Only signed, or only unsigned, waivers.
    No

    Returns marianatekMyWaivers

    interface marianatekMyWaivers {
    
      waivers: unknown;
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/marianatek/listMyWaivers

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.marianatek.listMyWaivers({ studio: "bodytempyoga" });
  • listPricingLists what a location sells.

    Arguments

    NameTypeRequired
    studiostring
    Tenant slug ("bodytempyoga"), or a <slug>.marianatek.com / <slug>.marianaiframes.com URL.
    Yes
    locationIdstring
    A location id from listLocations or listRegions.
    Yes

    Returns marianatekLocationPricing

    interface marianatekPricingListing {
      id: string;
      name: string;
      banner: string | null;
      description: string | null;
      price: number | null;
      priceInclTax: number | null;
      currencyCode: string | null;
      productType: string | null;
      isInStock: boolean | null;
      isPromoted: boolean | null;
      guestUsage: string | null;
      attributes: { name: string; value: string | null }[];
    }
    
    interface marianatekLocationPricing {
      listings: marianatekPricingListing[];
      addOns: marianatekPricingListing[];
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/marianatek/listPricing

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.marianatek.listPricing({ studio: "bodytempyoga", locationId: "48717" });
  • listRegionsLists a tenant's regions (city or area groupings) with the locations in each.

    Arguments

    NameTypeRequired
    studiostring
    Tenant slug ("bodytempyoga"), or a <slug>.marianatek.com / <slug>.marianaiframes.com URL.
    Yes

    Returns marianatekRegion[]

    interface marianatekRegionLocation {
      id: string;
      name: string;
      city: string | null;
      stateProvince: string | null;
      postalCode: string | null;
      formattedAddress: string[];
      phoneNumber: string | null;
      email: string | null;
      timezone: string | null;
      currencyCode: string | null;
      latitude: number | null;
      longitude: number | null;
    }
    
    interface marianatekRegion {
      id: string;
      name: string;
      locations: marianatekRegionLocation[];
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/marianatek/listRegions

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.marianatek.listRegions({ studio: "bodytempyoga" });
  • listScheduleFiltersLists what a region's schedule can be filtered by.

    Arguments

    NameTypeRequired
    studiostring
    Tenant slug ("bodytempyoga"), or a <slug>.marianatek.com / <slug>.marianaiframes.com URL.
    Yes
    regionIdstring
    A region id from listRegions.
    Yes

    Returns marianatekScheduleFilters

    interface marianatekClassType {
      id: string;
      name: string;
      description: string | null;
      durationMinutes: number | null;
      isLiveStream: boolean | null;
    }
    
    interface marianatekInstructor {
      id: string;
      name: string;
      bio: string | null;
      instagramHandle: string | null;
      instagramUrl: string | null;
      photoUrl: string | null;
      spotifyUrl: string | null;
    }
    
    interface marianatekClassroom {
      id: string;
      name: string;
    }
    
    interface marianatekScheduleFilters {
      classTypes: marianatekClassType[];
      instructors: marianatekInstructor[];
      classrooms: marianatekClassroom[];
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/marianatek/listScheduleFilters

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.marianatek.listScheduleFilters({ studio: "bodytempyoga", regionId: "48541" });
Act 9
  • bookAppointmentBooks the signed-in caller into a private appointment slot from listAppointmentSlots (service, location, provider, date, time, timezone), paying with…

    Arguments

    NameTypeRequired
    studiostringYes
    serviceIdstring
    A service id from listAppointmentServices or listAppointmentSlots.
    Yes
    locationIdstring
    A location id from listLocations, listRegions or listAppointmentSlots.
    Yes
    providersmarianatekBookAppointmentProviderRef[]
    Who runs it, the id/type from the matching listAppointmentSlots slot's provider.
    Yes
    startDatestring
    "YYYY-MM-DD".
    Yes
    startTimestring
    "HH:MM", from listAppointmentSlots.
    Yes
    timezonestring
    IANA timezone, e.g. "America/New_York".
    Yes
    paymentMethodstring
    An EXISTING payment method the caller already owns (e.g. "Credits").
    Yes
    paymentMethodIdstringYes
    isGuestboolean
    Books a guest instead of the signed-in caller when true.
    No
    guestEmailstring
    Required when isGuest is true.
    No

    Returns marianatekBookAppointmentResult

    interface marianatekBookAppointmentResult {
    
      booking: unknown;
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/marianatek/bookAppointment

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.marianatek.bookAppointment({
      studio: "<studio>",
      serviceId: "<serviceId>",
      locationId: "<locationId>",
      providers: [],
      startDate: "<startDate>",
      startTime: "<startTime>",
      timezone: "<timezone>",
      paymentMethod: "<paymentMethod>",
      paymentMethodId: "<paymentMethodId>"
    });
  • bookClassBooks the signed-in caller (or a guest they bring, via guestEmail) into a class, optionally on a chosen spot (spotId, from listClassSpots), paying…

    Arguments

    NameTypeRequired
    studiostringYes
    classIdstringYes
    paymentOptionIdstring
    An existing membership or credit id.
    Yes
    spotIdstring
    A spot id from listClassSpots, for a pick-a-spot class.
    No
    isBookedForMeboolean
    Books a guest instead of the signed-in caller when false, defaults to true.
    No
    guestEmailstring
    Required when isBookedForMe is false.
    No

    Returns marianatekBookClassResult

    interface marianatekBookClassResult {
    
      reservation: unknown;
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/marianatek/bookClass

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.marianatek.bookClass({
      studio: "<studio>",
      classId: "<classId>",
      paymentOptionId: "<paymentOptionId>"
    });
  • cancelMembershipCancels one of the signed-in customer's memberships with an optional reason from the studio's own list.

    Arguments

    NameTypeRequired
    studiostringYes
    membershipIdstring
    A membership id from listMyMemberships.
    Yes
    cancellationReasonstring
    One of the studio's own reasons from membership_cancellation_reasons.
    No
    cancellationNotestringNo
    confirmboolean
    Cancelling ends recurring access.
    No

    Returns marianatekCancelMembershipResult

    interface marianatekCancelMembershipResult {
    
      membership: unknown;
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/marianatek/cancelMembership

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.marianatek.cancelMembership({ studio: "<studio>", membershipId: "<membershipId>" });
  • cancelReservationCancels one of the signed-in customer's reservations or waitlist spots.

    Arguments

    NameTypeRequired
    studiostringYes
    reservationIdstring
    A reservation id from listMyReservations.
    Yes
    acceptCancelPenaltyboolean
    A late cancel can carry the studio's own fee.
    No

    Returns marianatekCancelReservationResult

    interface marianatekCancelReservationResult {
    
      cancelPenalty: unknown;
      cancellation: unknown;
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/marianatek/cancelReservation

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.marianatek.cancelReservation({ studio: "<studio>", reservationId: "<reservationId>" });
  • joinWaitlistPuts the signed-in caller (or a guest, via guestEmail) on the waitlist for a full class, spending an existing membership or credit (paymentOptionId)…

    Arguments

    NameTypeRequired
    studiostringYes
    classIdstringYes
    paymentOptionIdstring
    An existing membership or credit id.
    Yes
    isBookedForMebooleanNo
    guestEmailstringNo

    Returns marianatekJoinWaitlistResult

    interface marianatekJoinWaitlistResult {
    
      reservation: unknown;
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/marianatek/joinWaitlist

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.marianatek.joinWaitlist({
      studio: "<studio>",
      classId: "<classId>",
      paymentOptionId: "<paymentOptionId>"
    });
  • redeemGiftCardRedeems a gift card by its own redemption code, adding its full value to the signed-in customer's account balance (POST me/account/redeem_giftcard…

    Arguments

    NameTypeRequired
    studiostringYes
    redemptionCodestring
    The gift card's own redemption code.
    Yes

    Returns marianatekRedeemGiftCardResult

    interface marianatekRedeemGiftCardResult {
    
      account: unknown;
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/marianatek/redeemGiftCard

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.marianatek.redeemGiftCard({ studio: "<studio>", redemptionCode: "<redemptionCode>" });
  • setProfileImageChanges the signed-in caller's profile picture at a studio, from a URL serving the image directly.

    Arguments

    NameTypeRequired
    studiostringYes
    imageUrlstring
    A URL serving the image directly.
    Yes

    Returns marianatekSetProfileImageResult

    interface marianatekSetProfileImageResult {
    
      account: unknown;
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/marianatek/setProfileImage

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.marianatek.setProfileImage({ studio: "<studio>", imageUrl: "<imageUrl>" });
  • updateCommunicationPreferencesTurns the signed-in customer's email or SMS marketing opt-in on or off at a studio.

    Arguments

    NameTypeRequired
    studiostringYes
    marketingType"sms" | "email"
    "sms" or "email".
    Yes
    optInboolean
    True opts in, false opts out.
    Yes
    phoneNumberstring
    Required when marketingType is "sms" and optIn is true.
    No
    optInCopystringNo

    Returns marianatekUpdateCommunicationPreferencesResult

    interface marianatekUpdateCommunicationPreferencesResult {
    
      account: unknown;
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/marianatek/updateCommunicationPreferences

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.marianatek.updateCommunicationPreferences({ studio: "<studio>", marketingType: "sms", optIn: true });
  • updateMyAccountEdits the signed-in caller's own profile at a studio.

    Arguments

    NameTypeRequired
    studiostringYes
    firstNamestringNo
    lastNamestringNo
    emailstringNo
    phoneNumberstringNo
    pronounsstringNo
    birthDatestring
    "YYYY-MM-DD".
    No
    genderstringNo
    addressLineOnestringNo
    addressLineTwostringNo
    addressLineThreestringNo
    citystringNo
    stateProvincestringNo
    postalCodestringNo
    countrystringNo
    companyNamestringNo
    emergencyContactNamestringNo
    emergencyContactPhonestringNo
    emergencyContactEmailstringNo
    emergencyContactRelationshipstringNo
    isMarketingAllowedbooleanNo
    isOptedInToSmsbooleanNo
    isOptedInToTransactionalSmsbooleanNo

    Returns marianatekMyAccount

    interface marianatekMyAccount {
    
      account: unknown;
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/marianatek/updateMyAccount

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.marianatek.updateMyAccount({ studio: "<studio>" });

Use it from code