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