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.
Language
Credentials
Bearer
JWT
Response
Click Try It! to start a request and see the response here!