Skip to content

Update booking resource

PUT/admin/v1/stores/{store_id}/bookings/resources/{resource_id}
  • settings:write

Change a staff member or room.

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.

  • resource_idstringrequired

    The resource's ID, like bres_01k8qs5s….

Headers

  • shop-api-versionYYYY-MM

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

Body

  • namestringrequired
  • kindenumrequired
    • staff
    • room
  • hoursarray of objectsrequired

    Seven days of windows, Monday first.

  • activeboolean · or null

    Defaults to true.

  • positioninteger

Returns

200 The resource.

Errors

  • 404not_foundNo such resource.