Create a package: price, VAT rate, validity, items (sessions of a treatment, a set or a collection, optional team restriction), shareable or personal

post/api/v1/package-templates

Request

  • Base URL: http://127.0.0.1:4310
  • URL: http://127.0.0.1:4310/api/v1/package-templates
  • Auth: one of:
    • HTTP bearer
    • API key in cookie sfb_session

Request body

namestring required
descriptionstring
price_minorinteger required

VAT-inclusive price in minor units

currencystring
tax_rate_bpsinteger

VAT rate in basis points (2000 = 20%)

validity_daysinteger required
shareableboolean
onlineboolean
activeboolean
sortinteger
expected_versioninteger

Response

OK

object required

Changes

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