Release the seats of a purchase session
Requires the X-Customer-Session header. The enterprise service API key is OPTIONAL. Marks the session expired and releases in seats.io the seats held with its holdToken. Idempotent: repeating it changes nothing. It NEVER releases a token that backs a live sale (pending payment or confirmed) nor that of a converted session: those seats belong to the order. Call it when the map clock runs out. Another buyer’s session is 404.
/customer/purchase-sessions/{id}/releaseAuthorizationAPI key · headerrequiredAPI key prefixed with Bearer . Alternative: the x-api-key header with the raw key. Available scopes: read and write (see /.well-known/oauth-protected-resource).
x-api-keyAPI key · headerrequiredRaw API key (without Bearer ), alternative to Authorization.
idstringrequiredX-Workspace-IdstringActive workspace to operate on. Optional: when omitted, the default workspace of the user who owns the key is used (pickActiveOrg).
OK
dataPurchaseSessionStatusrequiredShow propertiesHide properties
idstringrequiredstatestringrequiredlive: can create the order. superseded: another tab/device replaced it. expired: the map clock ran out or it was released. converted: it already created its order (orderId).
livesupersededexpiredconvertedseatsDeadlinestring | nullrequiredShow propertiesHide properties
stringnullorderIdstring | nullrequiredSale created with this session, if any.
Show propertiesHide properties
stringnullMissing or invalid credential.
errorobjectrequiredShow propertiesHide properties
codestringrequiredmessagestringrequiredretryablebooleanrequireddetailsanyInsufficient role or resource not accessible.
errorobjectrequiredShow propertiesHide properties
codestringrequiredmessagestringrequiredretryablebooleanrequireddetailsanyResource does not exist or is out of scope.
errorobjectrequiredShow propertiesHide properties
codestringrequiredmessagestringrequiredretryablebooleanrequireddetailsanyRequest body/parameter validation failed.
errorobjectrequiredShow propertiesHide properties
codestringrequiredmessagestringrequiredretryablebooleanrequireddetailsanyToo many requests: rate limit exceeded.
errorobjectrequiredShow propertiesHide properties
codestringrequiredmessagestringrequiredretryablebooleanrequireddetailsany
