Keystone Developers
Open Keystone
API reference

Public API

Service items

3 endpoints.

GET/api/v1/public/service-items

List service items

All service items for the business, ordered by display_order. Paginated. Member services not included.

Parameters

NameInTypeDescription
pagequeryintegerdefault 1
per_pagequeryintegerdefault 10
X-API-Keyheaderstring | null

Responses

200Successful Response
application/jsonSuccessResponse_list_PublicServiceItem__
FieldTypeDescription
request_idrequiredstring
successtruedefault true
datarequiredPublicServiceItem[]
PublicServiceItem[] fields
FieldTypeDescription
idrequiredstring
namestring | null
slugstring | null
description_markdownstring | null
summarystring | null
pricing_infostring | null
featuresstring | null
coststring | null
photo_attachmentsPublicPhotoAttachment[]
PublicPhotoAttachment[] fields

Nested object (not expanded)

servicesPublicService[]
PublicService[] fields

Nested object (not expanded)

offersPublicOffer[]
PublicOffer[] fields

Nested object (not expanded)

featuredbooleandefault false
metadataResponseMetadata | null
ResponseMetadata fields
FieldTypeDescription
paginationPaginationMetadata | null
PaginationMetadata fields
FieldTypeDescription
limitrequiredinteger
next_cursorstring | null
prev_cursorstring | null
has_morerequiredboolean
has_prevbooleandefault false
total_countinteger | null
status_countsobject | null
object | null fields

Map of string to integer

lifecycle_countsLifecycleCounts | null
LifecycleCounts fields
FieldTypeDescription
leadintegerdefault 0
prospectintegerdefault 0
customerintegerdefault 0
former_customerintegerdefault 0
classification_countsClassificationCounts | null
ClassificationCounts fields
FieldTypeDescription
signalobject
object fields

Nested object (not expanded)

touchobject
object fields

Nested object (not expanded)

stageobject
object fields

Nested object (not expanded)

metaResponseMeta | null
ResponseMeta fields
FieldTypeDescription
totalinteger | null
total_countinteger | null
pageinteger | null
per_pageinteger | null
  • 400Bad request
  • 401Unauthorized
  • 403Forbidden
  • 404Not found
  • 422Validation error
  • 500Internal server error
  • 503Service unavailable

Error bodies: ErrorResponse. See Errors.

GET/api/v1/public/service-items/by_slug/{slug}

Get service item by slug

Get a single service item by slug, with member services nested. 404 if not found.

Parameters

NameInTypeDescription
slugrequiredpathstring
X-API-Keyheaderstring | null

Responses

200Successful Response
application/jsonSuccessResponse_PublicServiceItem_
FieldTypeDescription
request_idrequiredstring
successtruedefault true
datarequiredPublicServiceItem
PublicServiceItem fields

PublicServiceItem, expanded above.

metadataResponseMetadata | null
ResponseMetadata fields

ResponseMetadata, expanded above.

metaResponseMeta | null
ResponseMeta fields

ResponseMeta, expanded above.

  • 400Bad request
  • 401Unauthorized
  • 403Forbidden
  • 404Not found
  • 422Validation error
  • 500Internal server error
  • 503Service unavailable

Error bodies: ErrorResponse. See Errors.