Skip to main content
GET
Get the nearest available slot for a product

Authorizations

x-api-key
string
header
default:sfk_your_api_key
required

Storefront API key (sfk_...)

Path Parameters

productId
string
required

ID of the product

Example:

"123e4567-e89b-12d3-a456-426614174000"

Query Parameters

locationId
string

Filter by location ID

staffMemberId
string

Filter by staff member ID

Response

Nearest available slot

productId
string
required

ID of the product this slot belongs to

Example:

"123e4567-e89b-12d3-a456-426614174000"

fromDate
string
required

Start date of the slot (YYYY-MM-DD, UTC)

Example:

"2026-04-10"

fromTime
string
required

Start time of the slot (HH:MM:SS, UTC)

Example:

"09:00:00"

toDate
string
required

End date of the slot (YYYY-MM-DD, UTC) — differs from fromDate for cross-midnight slots

Example:

"2026-04-10"

toTime
string
required

End time of the slot (HH:MM:SS, UTC)

Example:

"09:30:00"

locationId
string | null

ID of the location this slot is associated with, or null if not location-specific

Example:

"123e4567-e89b-12d3-a456-426614174001"

staffMemberId
string | null

ID of the staff member this slot is associated with, or null if not staff-specific

Example:

"123e4567-e89b-12d3-a456-426614174002"

Last modified on July 26, 2026