Offerings catalog

Offerings

These endpoints are used to interact with offerings.

get/shop/offering-search

Search for offerings

listOfferings

Use this endpoint to search for different offering types.

Query parameters

  • offering_typestring[]optional

    Filter by specific offering types.

  • practitioner_idstring[]optional

    Filter by specific practitioner IDs.

  • querystringoptional

    Provide a search query to match offerings against.

  • site_iduuidrequired

    The site ID the offerings belong to.

  • pageintegeroptional

    The page to retrieve results from

  • per_pageintegeroptional

    The number of results to return per page

Responses

  • 200

    Successfully retrieved offerings.

  • 401

    The user is unauthenticated

  • 403

    The authenticated user does not have permission.

get/shop/offering-search/most-popular

List the most popular offerings

listMostPopularOfferings

Returns the offerings most often sold over the trailing four weeks, capped by per_page and ordered by sales count descending. Useful for "Popular at this site" sections on the storefront and operator quick-pick lists.

Filters mirror the main offering search:

  • offering_type accepts a comma-separated list; prefix a type with - to exclude it (e.g. appointment,-package).
  • practitioner_id narrows appointment results to those tied to the given practitioners.

Requires the RESERVATIONS_VIEW permission on the targeted site.

Query parameters

  • offering_typestring[]optional

    Filter by specific offering types.

  • practitioner_idstring[]optional

    Filter by specific practitioner IDs.

  • site_iduuidrequired

    The site ID the offerings belong to.

  • per_pageintegeroptional

    The number of results to return per page

Responses

  • 200

    The most popular offerings.

  • 401

    The user is unauthenticated

  • 403

    The authenticated user does not have permission.

  • 422

    The request didn't pass validation