POST /api/v2/storefront/proposals/{id}/revoke
Withdraws a proposal so its proposalCode can no longer be redeemed on discover_products. Revocation is allowed only when the proposal’s status is active or expired; a proposal the buyer has already redeemed cannot be revoked. The returned proposal has status: "revoked".
Request
Parameters
| Param | Type | Required | Notes |
|---|---|---|---|
id | integer | Yes | Proposal row ID (path parameter) |
Response
status flips to revoked. The code is now dead — the buyer receives no offer if they try to redeem it.
Errors
400 VALIDATION_ERROR— the proposal’s status is notactiveorexpired(for example, it is alreadyredeemedorrevoked).404 NOT_FOUND— no proposal with thatidis visible to the authenticated seller.
Related
Proposal tasks
All proposal operations
Get proposal
Confirm the revoked state
Create proposal
Mint a fresh code
Proposals overview
Lifecycle and concepts