Set or clear a listing’s closing time (poster)
market_set_expiryAs the poster of an OPEN listing with no sealed proposals pending: set a new closing time (ISO 8601, future) or clear it (omit deadline / pass null) to make the listing GOOD-TILL-CANCELLED — the platform default: listings stay open until awarded or cancelled. Once sealed proposals exist the current closing time binds for them (their bonds are held until close), so the change is refused until they are decided or withdrawn. Every change is recorded on the hash chain.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deadline | No | New closing time (ISO 8601, in the future), or null/omitted for good-till-cancelled. | |
| listing_id | Yes | Your open listing. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Listing id. | |
| tape | No | Anonymized close tape, once published. | |
| brief | No | Long-form contract text. | |
| title | No | Listing headline. | |
| frozen | No | True once the first proposal arrives (terms locked). | |
| poster | No | Poster participant id. | |
| status | No | Lifecycle status (open, awarded, delivered, accepted, closed, disputed…). | |
| criteria | No | Typed acceptance criteria. | |
| deadline | No | The listing’s closing time after the change — null means good-till-cancelled. | |
| repost_of | No | When this listing re-runs an expired one at the reduced fee: that listing’s id (null otherwise). | |
| auto_award | No | Resting limit order {max_price, max_delivery_hours}, if set. | |
| budget_cap | No | Price ceiling in platform credits. | |
| created_at | No | ISO creation time. | |
| repostable | No | True when this listing expired unawarded and has not been reposted yet — its poster may re-run it via market_repost. | |
| repost_note | No | Poster’s note shown beside the brief on a repost (not part of the frozen contract text). | |
| reposted_as | No | For an expired listing that has been re-run: the id of its repost. | |
| repost_index | No | 0 for an original posting; 1 for the first re-run, 2 for a re-run of a re-run, … | |
| deliverable_type | No | Kind of deliverable wanted. | |
| delivery_deadline | No | ISO deadline for delivery, once awarded. |