Skip to content

Get availability

GET/store/v1/products/{product_id}/availability

    A service's open days and times (store time), for its product page.

    Path parameters

    • 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.