Skip to main content

publicPortalConfig

Public: no authentication required.

Returns a seller's public portal settings for its storefront login page. Needs no sign-in. Returns null for an unknown subdomain.

Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.

Example:

query PublicPortalConfig($subdomain: String!) {
publicPortalConfig(subdomain: $subdomain) {
countryCode
currencyCode
mobileAndroidPackageName
portalName
accentColor
allowDirectOrders
}
}

Variables:

{
"subdomain": "string"
}

Response:

{
"data": {
"publicPortalConfig": {
"countryCode": "string",
"currencyCode": "string",
"mobileAndroidPackageName": "string",
"portalName": "string",
"accentColor": "string",
"allowDirectOrders": true
}
}
}
publicPortalConfig(
subdomain: String!
): PublicPortalConfig

Arguments​

publicPortalConfig.subdomain ● String! non-null scalar​

The seller's storefront subdomain.

Type​

PublicPortalConfig object​

The portal settings returned to the customer portal and buyer app. It carries nothing sensitive.