Skip to main content
PUT
cURL

Authorizations

Authorization
string
header
required

Public API access token issued by /public/v1/oauth/token. Example: Authorization: Bearer fspt_.... Each resource request rechecks the token company's current provider access. Disabling access blocks existing tokens with 403 auth.provider_unavailable.

Headers

Idempotency-Key
string
required

Required for Public API write requests. Reusing the same key with the same method, path, and body replays the stored successful response; reusing it with a different request returns 409 idempotency.conflict.

Required string length: 1 - 200
Example:

"booking-create-20260714-001"

Path Parameters

productType
enum<string>
required

Store product model type.

Available options:
StoreModuleMembership,
StoreModuleCreditPack,
StoreModuleSingle,
StoreModuleDay
Example:

"StoreModuleCreditPack"

productId
string
required

Store product id to update.

Example:

"67f1234567890abcdef1234"

Body

application/json
enabled
boolean
required
Example:

true

sessionsPerWeek
integer
Required range: 1 <= x <= 7
Example:

2

coachingMode
enum<string>
Available options:
small_group,
personal,
hybrid,
freestyle
Example:

"personal"

defaultTemplateSetId
string
Example:

"67f1234567890abcdef1234"

defaultPlanMomentIds
string[]
Minimum array length: 1
assignmentStrategy
enum<string>
Available options:
next_in_sequence,
next_uncompleted,
calendar_frequency
Example:

"next_in_sequence"

applyToActiveProducts
boolean
default:false
Example:

true

Response

Product workout rule updated.

data
object
required
meta
object
required