Skip to main content

Options

You can pass several options to SesamiSDK.

OptionTypeRequiredDefaultDescription
shopIdStringYes-Valid Shopify shop ID.
productIdStringYes-Valid Shopify product ID.
variantIdStringYes-Valid Shopify variant ID.
timezoneStringNoStore timezoneTimezone for displaying availabilities (e.g., America/New_York).
teamMemberStringNonullThe team member's name, exactly as entered in Sesami (e.g., John Connor), will result in displaying availabilities for all team members who are connected to the current service.
quantityNumberNo1Quantity for group appointments.
weekStartDayNumberNo0 (Sunday)First day of the week (0 = Sunday, ..., 6 = Saturday).
autoLoadBooleanNofalseAutomatically fetch availabilities for the current month on initialization.
nowDateNonew Date()Currently selected date.