Skip to main content

updatePortalConfig

Requires at least one of the permissions settings:tenant:update or storefront:storefront:update.

Changes your organization's customer portal and buyer app settings. Only the fields given change. The change is audited. Needs storefront:storefront:update, or settings:tenant:update.

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:

mutation UpdatePortalConfig($input: UpdatePortalConfigInput!) {
updatePortalConfig(input: $input) {
id
portalName
resolvedName
accentColor
allowDirectOrders
allowGuestBrowsing
}
}

Variables:

{
"input": {}
}

Response:

{
"data": {
"updatePortalConfig": {
"id": "id",
"portalName": "string",
"resolvedName": "string",
"accentColor": "string",
"allowDirectOrders": true,
"allowGuestBrowsing": true
}
}
}
updatePortalConfig(
input: UpdatePortalConfigInput!
): PortalConfigResponse!

Arguments​

updatePortalConfig.input ● UpdatePortalConfigInput! non-null input​

The settings to change.

Type​

PortalConfigResponse object​

The portal settings, for the admin console.