Purchase session status
Requires the X-Customer-Session header. The enterprise service API key is OPTIONAL. Returns the status of one of THE buyer’s purchase sessions: live (this tab can create the order), superseded (another tab or device replaced it: stop offering the map and the payment), expired (the map clock ran out or it was released) or converted (it already created its order: orderId). A session whose seatsDeadline has passed is reported as expired immediately. Designed to be polled every ~10 s. Another buyer’s session is 404.
/customer/purchase-sessions/{id}AuthorizationAPI 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
codestringrequiredmessagestringrequiredretryablebooleanrequireddetailsany
