Marketplace
Marketplace endpoints of the bizSupply API.
Last updated: 2026-07-21
POST /api/v1/marketplace/link
Link the current organization to a GCP Marketplace entitlement.
Used by existing customers who purchased via GCP Marketplace and want to link their subscription to their account.
Request body
application/json→MarketplaceLinkRequest
Responses
| Status | Description |
|---|---|
200 | Entitlement linked |
400 | Entitlement not found or already linked |
401 | Authentication required |
POST /api/v1/marketplace/link-by-account
Link the current organization to a GCP Marketplace entitlement by account ID.
Used during the GCP Marketplace signup flow after the user has authenticated. The account ID was previously extracted from the GCP signup JWT and stored in the frontend session.
Request body
application/json→MarketplaceLinkByAccountRequest
Responses
| Status | Description |
|---|---|
200 | Entitlement linked |
400 | Account ID not found or entitlement already linked |
GET /api/v1/marketplace/pending
Check if the current user has a pending GCP Marketplace entitlement.
Used by the frontend to show prompts about linking marketplace subscriptions.
Responses
| Status | Description |
|---|---|
200 | true if a pending entitlement exists for the user's email |
401 | Authentication required |
GET /api/v1/marketplace/subscription
Get the subscription status for the current organization.
Responses
| Status | Description |
|---|---|
200 | Subscription status |
401 | Authentication required |