An access token is required to call this API. Refer to Authorization for more information about how to obtain the token.
Query the color style of the member panel in the store.
Return
btnColor ● String
Color of the buttons
btnTextColor ● String
Color of the button fonts
headerBgType ● String
Banner image of the banner of the panel header
headerColor ● String
Color of the banner of the panel header
iconColor ● String
Color of the icons
isFollowHostFont ● Boolean
If the fonts of the panel follow content fonts set in the theme
linkColor ● String
Color of the links
linkCustomColor ● String
Custom color of the links
logoVisible ● Boolean
If the store logo will be displayed in the panel
primary ● String
Primary color of the theme
secondary ● String
Secondary color of the theme
style ● String
Style of the panel
Status and error codes
For detailed information about common codes, see Status and error codes.
Example
Query the color style of the member panel in the store.
query {
memberPanelStyle {
secondary
headerColor
btnTextColor
linkCustomColor
iconColor
btnColor
headerBgType
isFollowHostFont
style
linkColor
logoVisible
primary
}
}
Response
{
"data": {
"memberPanelStyle": {
"btnTextColor": "#1F1E1E",
"iconColor": "secondary",
"linkColor": "secondary",
"primary": "#F9D6A5",
"style": "light",
"headerBgType": "primary",
"headerColor": "#1F1E1E",
"isFollowHostFont": true,
"linkCustomColor": null,
"logoVisible": false,
"secondary": "#44d7b6",
"btnColor": "primary"
}
},
"extensions": {
"tracing": {
"execution": {
"resolvers": [
{
"duration": 7846840,
"fieldName": "memberPanelStyle",
"parentType": "Query",
"path": [
"memberPanelStyle"
],
"returnType": "MemberPanelStyle",
"startOffset": 1852684
},
{
"startOffset": 9808998,
"duration": 7824,
"fieldName": "secondary",
"parentType": "MemberPanelStyle",
"path": [
"memberPanelStyle",
"secondary"
],
"returnType": "String"
},
{
"startOffset": 9836958,
"duration": 2400,
"fieldName": "headerColor",
"parentType": "MemberPanelStyle",
"path": [
"memberPanelStyle",
"headerColor"
],
"returnType": "String"
},
{
"returnType": "String",
"startOffset": 9850654,
"duration": 1905,
"fieldName": "btnTextColor",
"parentType": "MemberPanelStyle",
"path": [
"memberPanelStyle",
"btnTextColor"
]
},
{
"duration": 2037,
"fieldName": "linkCustomColor",
"parentType": "MemberPanelStyle",
"path": [
"memberPanelStyle",
"linkCustomColor"
],
"returnType": "String",
"startOffset": 9862951
},
{
"parentType": "MemberPanelStyle",
"path": [
"memberPanelStyle",
"iconColor"
],
"returnType": "String",
"startOffset": 9876237,
"duration": 1984,
"fieldName": "iconColor"
},
{
"fieldName": "btnColor",
"parentType": "MemberPanelStyle",
"path": [
"memberPanelStyle",
"btnColor"
],
"returnType": "String",
"startOffset": 9888594,
"duration": 1924
},
{
"duration": 1835,
"fieldName": "headerBgType",
"parentType": "MemberPanelStyle",
"path": [
"memberPanelStyle",
"headerBgType"
],
"returnType": "String",
"startOffset": 9904236
},
{
"duration": 1971,
"fieldName": "isFollowHostFont",
"parentType": "MemberPanelStyle",
"path": [
"memberPanelStyle",
"isFollowHostFont"
],
"returnType": "Boolean",
"startOffset": 9916266
},
{
"fieldName": "style",
"parentType": "MemberPanelStyle",
"path": [
"memberPanelStyle",
"style"
],
"returnType": "String",
"startOffset": 9930084,
"duration": 2124
},
{
"startOffset": 9942285,
"duration": 1808,
"fieldName": "linkColor",
"parentType": "MemberPanelStyle",
"path": [
"memberPanelStyle",
"linkColor"
],
"returnType": "String"
},
{
"path": [
"memberPanelStyle",
"logoVisible"
],
"returnType": "Boolean",
"startOffset": 9953994,
"duration": 1804,
"fieldName": "logoVisible",
"parentType": "MemberPanelStyle"
},
{
"returnType": "String",
"startOffset": 9966101,
"duration": 1938,
"fieldName": "primary",
"parentType": "MemberPanelStyle",
"path": [
"memberPanelStyle",
"primary"
]
}
]
},
"parsing": {
"duration": 239198,
"startOffset": 269881
},
"startTime": "2024-07-25T06:40:53.185Z",
"validation": {
"duration": 284387,
"startOffset": 657341
},
"version": 1,
"duration": 10061268,
"endTime": "2024-07-25T06:40:53.195Z"
},
"dataloader": {
"individual-statistics": {
"LD-com.shopline.pixiu.pcq.storefront.api.ProductStorefrontQueryV2Service-publishedAtForLoader": {
"batchLoadExceptionRatio": 0,
"loadCount": 0,
"batchLoadRatio": 0,
"cacheHitCount": 0,
"cacheHitRatio": 0,
"loadErrorCount": 0,
"loadErrorRatio": 0,
"batchInvokeCount": 0,
"batchLoadCount": 0,
"batchLoadExceptionCount": 0
},
"LD-com.shopline.pixiu.pcq.storefront.api.ProductStorefrontQueryV2Service-variants": {
"batchInvokeCount": 0,
"batchLoadCount": 0,
"batchLoadExceptionCount": 0,
"batchLoadRatio": 0,
"cacheHitCount": 0,
"loadCount": 0,
"loadErrorCount": 0,
"loadErrorRatio": 0,
"batchLoadExceptionRatio": 0,
"cacheHitRatio": 0
},
"LD-com.shopline.pixiu.pcq.storefront.api.ProductStorefrontQueryV2Service-variantsForLoader": {
"loadErrorRatio": 0,
"batchInvokeCount": 0,
"batchLoadExceptionCount": 0,
"batchLoadExceptionRatio": 0,
"batchLoadRatio": 0,
"cacheHitRatio": 0,
"loadErrorCount": 0,
"batchLoadCount": 0,
"cacheHitCount": 0,
"loadCount": 0
},
"LD-com.shopline.merchant.website.openapi.interfaces.OnlineStorefrontApi-commentsQuery": {
"cacheHitCount": 0,
"loadCount": 0,
"loadErrorCount": 0,
"loadErrorRatio": 0,
"batchInvokeCount": 0,
"batchLoadCount": 0,
"batchLoadExceptionCount": 0,
"batchLoadRatio": 0,
"cacheHitRatio": 0,
"batchLoadExceptionRatio": 0
},
"LD-com.shopline.pixiu.pcq.storefront.api.CollectionStorefrontQueryService-onlineStoreUrl": {
"batchLoadExceptionCount": 0,
"cacheHitRatio": 0,
"loadCount": 0,
"loadErrorRatio": 0,
"batchInvokeCount": 0,
"batchLoadCount": 0,
"batchLoadExceptionRatio": 0,
"batchLoadRatio": 0,
"cacheHitCount": 0,
"loadErrorCount": 0
},
"LD-com.shopline.pixiu.pcq.storefront.api.DescriptionQueryService-query": {
"batchLoadExceptionRatio": 0,
"batchLoadRatio": 0,
"cacheHitCount": 0,
"loadCount": 0,
"loadErrorCount": 0,
"batchInvokeCount": 0,
"cacheHitRatio": 0,
"loadErrorRatio": 0,
"batchLoadCount": 0,
"batchLoadExceptionCount": 0
},
"LD-com.shopline.pixiu.pcq.storefront.api.ProductStorefrontQueryV2Service-options": {
"batchInvokeCount": 0,
"batchLoadCount": 0,
"batchLoadExceptionRatio": 0,
"cacheHitRatio": 0,
"loadErrorCount": 0,
"batchLoadExceptionCount": 0,
"batchLoadRatio": 0,
"cacheHitCount": 0,
"loadCount": 0,
"loadErrorRatio": 0
},
"LD-com.shopline.pixiu.pcq.storefront.api.ProductStorefrontQueryV2Service-template": {
"batchLoadExceptionRatio": 0,
"batchLoadRatio": 0,
"cacheHitRatio": 0,
"loadCount": 0,
"loadErrorCount": 0,
"loadErrorRatio": 0,
"batchLoadCount": 0,
"batchLoadExceptionCount": 0,
"cacheHitCount": 0,
"batchInvokeCount": 0
},
"LD-com.shopline.pixiu.pcq.storefront.api.CollectionStorefrontQueryService-queryCollectionByProduct": {
"cacheHitRatio": 0,
"batchLoadCount": 0,
"batchLoadExceptionCount": 0,
"batchLoadRatio": 0,
"loadCount": 0,
"loadErrorCount": 0,
"loadErrorRatio": 0,
"batchInvokeCount": 0,
"batchLoadExceptionRatio": 0,
"cacheHitCount": 0
},
"LD-com.shopline.pixiu.pcq.storefront.api.ProductStorefrontQueryV2Service-images": {
"cacheHitCount": 0,
"cacheHitRatio": 0,
"loadCount": 0,
"loadErrorCount": 0,
"batchInvokeCount": 0,
"batchLoadExceptionRatio": 0,
"batchLoadRatio": 0,
"loadErrorRatio": 0,
"batchLoadCount": 0,
"batchLoadExceptionCount": 0
},
"LD-com.shopline.pixiu.pcq.storefront.api.ProductStorefrontQueryV2Service-onlineStoreUrl": {
"batchLoadCount": 0,
"batchLoadRatio": 0,
"loadCount": 0,
"loadErrorRatio": 0,
"batchInvokeCount": 0,
"batchLoadExceptionCount": 0,
"batchLoadExceptionRatio": 0,
"cacheHitCount": 0,
"cacheHitRatio": 0,
"loadErrorCount": 0
}
},
"overall-statistics": {
"batchInvokeCount": 0,
"batchLoadCount": 0,
"batchLoadExceptionCount": 0,
"cacheHitCount": 0,
"loadCount": 0,
"loadErrorCount": 0,
"loadErrorRatio": 0,
"batchLoadExceptionRatio": 0,
"batchLoadRatio": 0,
"cacheHitRatio": 0
}
},
"metrics": {
"dataFetcherMetrics": [
{
"dfErrorCode": null,
"dfProtocol": "dubbo",
"dfRootCoordinate": "/memberPanelStyle",
"dfRt": 7,
"dfServiceIdentity": "com.shopline.ec.openapi.interfaces.MemberStoreFrontApi@storeStyleInfoQuery",
"dfStartTime": 1721889653188
}
],
"graphQLMetrics": {
"errorFieldsCount": 0,
"fieldCount": 25,
"languageCode": null,
"loaderCount": 0,
"parseRt": 1,
"ratelimitRemaining": 1,
"startParseTimeMillis": 1721889653185,
"countryCode": null,
"operation": "QUERY",
"startTimeMillis": 1721889653185,
"storeId": "1641993455937",
"endParseTimeMillis": 1721889653186,
"includeDeprecatedField": false,
"deepLevel": 2,
"executionId": "2efb8472-22dd-4f8e-acaa-11c8e9078320",
"saleChannel": null,
"tenant": "ec20",
"appId": "265337",
"clientIp": "218.253.130.212",
"namespace": "storefront",
"customizedClientIp": "218.253.130.212",
"ratelimitPermits": 1,
"rt": 10,
"merchantId": "4200114610",
"storePlus": false,
"traceId": "edd0ae040f9e23bb24881d02b11623e9",
"appKey": "936eda168305ed82cee702c6822354ee6de2e802",
"includeQuery": false,
"successType": "SUCCESS",
"version": "v20241201"
}
}
}
}
Was this article helpful to you?