Skip to content
Navigation

Lists a calendar product's open slots in a range of up to 32 days, as its customers see them, or, given a booking, the starts the seller may move it to (which needs `customer:read` too).

GET
https://api.sherpo.io/merchant/v1/stores/{store}/products/{product}/call_slots

Authorization

  • bearer
    HTTP
    required

Path parameters

  • store
    string
    required

    The store's id.

  • product
    string
    required

    An id, or slug:<slug>.

    minLength: 1

Query parameters

  • from
    optional
    string

    The earliest start to answer; now when left out.

    format: date-time
  • to
    optional
    string

    The start to answer up to, at most 32 days past from (31 and a day of slack for a clock change); 7 days past it when left out.

    format: date-time
  • booking
    optional
    string

    An id.

    minLength: 1

Returns

200

Lists a calendar product's open slots in a range of up to 32 days, as its customers see them, or, given a booking, the starts the seller may move it to (which needs customer:read too).

JSON
  • time_zone
    required

    One of the following:

    • string
    • null
  • duration_minutes
    number
    required
  • slots
    array of
    object
    required
    • starts_at
      string
      required
    • ends_at
      string
      required
  • next_from
    required

    Where a read past these slots starts; null when the range holds no more.

    One of the following:

    • string
    • null
JSON
  • type
    string
    required
    format: uri
  • title
    string
    required
  • status
    integer
    required
  • detail
    string
    required
  • code
    optional
    string
  • context
    optional
    object
  • reached_core
    optional
    boolean
  • core_answer
    optional
    string

Type to search…

↑↓ navigate↵ selectEsc close