GET /api/v2/buyer/storefronts/{storefrontId}
Returns a single storefront with the embedded sources[] array, including each source’s requiresCredentials, connected, and your registered customerAccounts. Use it to check fresh source state — for example, after registering credentials or completing an OAuth flow.
Request
curl
Parameters
| Field | In | Type | Required | Notes |
|---|---|---|---|---|
storefrontId | path | integer | Yes | Storefront ID to fetch |
Response
| Field | Type | Notes |
|---|---|---|
id | integer | Storefront ID |
platformId | string | Public-facing slug |
name | string | Storefront display name |
publisherDomain | string | null | Publisher domain |
displayStatus | enum | configuring, transacting, archived |
channels / regions | array | Supported channels and covered regions |
adapterProviderType | string | null | Adapter platform, null for non-adapter |
supportedCampaignTypes | array | DECISIONED and/or ROUTED |
sources | array | Inventory sources in this storefront |
sources[].sourceId | string | Source identifier within the storefront |
sources[].name | string | Inventory source display name |
sources[].requiresCredentials | boolean | Whether the buyer must register credentials |
sources[].connected | boolean | Whether the buyer has active credentials |
sources[].supportedCampaignTypes | array | Campaign types this source supports |
sources[].customerAccounts | array | [{ accountIdentifier, status }] — the buyer’s registered accounts |
Errors
401 UNAUTHORIZED— missing or invalid bearer token.404 NOT_FOUND— the storefront does not exist or is not visible to the caller.
Related
Storefront tasks
All storefront operations
Register source credentials
Connect a source that requires credentials
List storefronts
Paginated summaries