Skip to content

Offer.publish

POST /{namespace}/offers/{offer}/publish

Publish makes an Offer available for parties to accept.

Noun
Offer
Mode
do
Event
Offer.published

Inputs

InputTypeRequiredDescription
offerOfferrequiredThe Offer to publish.

Outputs

OutputTypeRequiredDescription
offerOfferrequiredThe Offer, now open to accept.

Effects

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.publish
The record is not in a state that allows this Verb, so the call is refused.refusedRead the record, run the Verb that moves it to an allowed state, then retry.Offer.publish
The median Customer’s Cost leaves less than the Startup’s target margin at this Price.below-contribution-floorRaise the Price to the floor the error names, or grant fewer Entitlements.Offer.update

When it waits

GateDefault
Decision classMedium: two-way, visible
Delay window1 business hour, in which a watcher can pause, redirect or cancel it; then it runs.
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.

An Agent publishes a $0 Offer for an API key, and any party can accept it from then on.