Skip to content

Offer.trial

POST /{namespace}/offers/{offer}/trial

Trial starts a Customer on an Offer free for a set number of days, with or without a card, converting or ending by its terms.

Noun
Offer
Mode
do
Event
Offer.trialed

Inputs

InputTypeRequiredDescription
offerOfferrequiredThe Offer to try.
customerCustomerrequiredThe Customer who tries it.
daysintegerrequiredHow long the trial runs. Never randomized.
cardbooleanTrue to take a card up front and charge it when the trial ends.

Outputs

OutputTypeRequiredDescription
subscriptionSubscriptionrequiredThe Subscription, free until the trial ends.
offerOfferrequiredThe Offer the trial is on.

Effects

  • Emits Offer.trialed.
  • Performed by the Billing Specialist.
  • Two-way: it runs at once, in the try, send and do modes.
  • With a card on file, converts to a paid Subscription at the end unless canceled first.
  • Without a card, ends at the end and opens a conversion Task for the Success Manager.

Refuses when

CheckErrorFixThen call
The key is valid, but its scopes do not allow this operation.forbiddenUse a key whose scopes cover the operation, or ask an owner of the namespace to grant them.Offer.trial

When it waits

GateDefault
Decision classLow: two-way, nothing at stake
Delay windowNone: it runs once review passes.
LimitThe call Limit of the Permission it runs under.
Over the LimitIt waits pending for an Approval from the Founder. Approved, it runs; refused, it ends refused with limit-exceeded; unanswered by its deadline, it ends canceled.