Create Package

Overview

Create a new package catalog template for the business. A package defines a bundle of services and/or products that can be sold to clients, including pricing, credit allocations per service group, and a default validity period that determines how long client subscriptions last.

Authentication

Available for Staff tokens. Directory and App tokens are supported with the X-On-Behalf-Of header set to the target business UID.

Required Parameters

  • name — Display name of the package (e.g., "10 Music Lessons").
  • price — Base price of the package (e.g., 100 for $100).
  • currency — Three-letter ISO 4217 currency code (e.g., "USD", "ILS").
  • expiration — Integer that, combined with expiration_unit, defines the default validity period for client subscriptions (e.g., 3).
  • expiration_unit — Unit for the expiration period: "D" (days), "W" (weeks), "M" (months), or "Y" (years). Combined with expiration, determines how long a client package remains active (e.g., expiration=3, expiration_unit="M" means 3 months).
  • items — Array of service/product groups included in the package. Each item must contain services (array of service UIDs) and total_bookings (number of credits for this group).

Optional Parameters

  • description — Free-text description of the package shown to clients.
  • discount_amount — Numeric discount value applied to the package price.
  • discount_unit — Discount type: "F" (fixed amount off) or "P" (percentage off).
  • image_path — URL path to the package's display image.
  • online_payment_enabled — Whether clients can self-purchase this package from the client portal (boolean).
  • products — Array of product objects included in the package (redeemed immediately at purchase, unlike service credits which are consumed per-appointment).

Notes

  • The business must have the packages feature enabled.
  • After creating a catalog package, assign it to a client using POST /platform/v1/payment/client_packages with the returned package id as package_id.
  • Items define the credit structure: when a client package is created from this template, each item becomes a credit pool with its own total_bookings count.
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required

The items currency

string

The package description

number

Package discount amount (Only for view purposes)

string

Package discount unit [F-Fixed, P-Percentage] (Only for view purposes)

number
required

Once package is instanced for a client, it will be valid for expiration number X expiration unit

string
enum
required

The expiration unit (M-Month, D-Day, W-Week, Y-Year)

Allowed:
string

The package's image path

items
array of objects
required

Array of service groups included in the package. Each element is an object with exactly two fields: total_bookings (integer, number of credits for this group) and services (array of objects, each with a single id field containing a service UID string, e.g. [{"id": "6f156jl6z3bqwn1c"}]). Do NOT include any other fields (no name, quantity, unit_amount, or item_index). Example item: {"total_bookings": 10, "services": [{"id": "abc123"}]}.

items*
string
required

The name of the package

boolean

Online payments enabled?

number
required

The price of the package

products
array of objects
Defaults to

Products included in the package. Up to 3 different products allowed. Must be an empty array [] if no products are included - do NOT pass null or omit this field.

products
Responses

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json