Skip to content

Get admin availability

GET/admin/v1/stores/{store_id}/products/{product_id}/availability
  • orders:read

A service's open slots, for staff moving a booking.

Path parameters

  • store_idstringrequired

    The store's ID, like store_01k8qs5s…. Apps get it with the install, in the OAuth redirect and the token response.

  • product_idstringrequired

    The product's ID, like prod_01k8qs5s….

Query parameters

  • fromstringrequired

    First day, YYYY-MM-DD (store time).

  • tostringrequired

    Last day, at most two months after from.

  • variant_idstring
  • resource_idstring

    One provider's times only.

Headers

  • shop-api-versionYYYY-MM

    The version to answer in. Without it, your app’s pinned version, else the newest.

Returns

200 Open days.

Errors

  • 404not_foundNot a service.