List resource schedule

What is booked on one resource

GET/v1/operator/businesses/{businessId}/resources/{resourceId}/schedule

Headers

Path parameters

  • businessIdstringRequired

    Business id as returned by search_businesses (prefix biz_).

  • resourceIdstringRequired

    Resource id (prefix res_): a bay, a room, a kayak. Taken from a slot's resources[].id or from the business's resources.

Query parameters

  • staffIdstring

    Only bookings with this person.

  • fromstring

    Earliest start. Default now. A bare YYYY-MM-DD is that whole local day, and with no to only that day.

  • tostring

    Latest start. A bare YYYY-MM-DD includes that day. Default: a week after from.

  • statuspendingconfirmeddeclinedcanceledexpiredcompletedno_show

    Only this status. Without it, canceled, declined and expired are left out. pending is the requests waiting for the business's decision: with no from or to it lists them all, however far off they start.

  • customerEmailstring (up to 254 characters)

    Only this customer's bookings.

  • limitinteger (1–50)

    Maximum bookings to return (1-50, default 20).

Responses

  • 200

    A page of the bookings apps made at a business, soonest first. Follow nextCursor for more.

    SchedulePage
  • 403

    The key is valid but may not do this.

    Forbidden
  • 404

    No such id, or it is not visible to this key.

    NotFound