Service settings: category, online visibility, approval, notice, booking window, start windows, add-ons, required previous appointment, image

patch/api/v1/services/{id}/settings

Request

  • Base URL: http://127.0.0.1:4310
  • URL: http://127.0.0.1:4310/api/v1/services/{id}/settings
  • Auth: one of:
    • HTTP bearer
    • API key in cookie sfb_session

Path parameters

idstring required

Request body

category_idstring
onlineboolean
requires_approvalboolean
approval_hoursinteger
min_notice_minutesinteger
max_advance_daysinteger
deposit_percentinteger nullable
deposit_fixed_minorinteger nullable
resource_typestring
summarystring
prerequisite_service_idstring uuid nullable

Another active service the client must have had first (for example a patch test); null clears it

prerequisite_min_hoursinteger nullable

Hours between the end of the required appointment and this one (default 48)

image_urlstring
image_altstring
image_licencestring
allow_external_imageboolean
add_on_idsstring[]
expected_versioninteger

Response

OK

object required

Changes

No recorded changes to this operation across all 4 revisions of this API.