-
Notifications
You must be signed in to change notification settings - Fork 2
/
shop_core_info_query.go
118 lines (117 loc) · 2.38 KB
/
shop_core_info_query.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
package query
const (
ShopCoreInfo = `query ShopInfoCore($id: Int!, $domain: String) {
shopInfoByID(input: {shopIDs: [$id], fields: ["active_product", "allow_manage_all", "assets", "core", "closed_info", "create_info", "favorite", "location", "status", "is_open", "other-goldos", "shipment", "shopstats", "shop-snippet", "other-shiploc", "shopHomeType", "branch-link", "goapotik", "fs_type"], domain: $domain, source: "shoppage"}) {
result {
shopCore {
description
domain
shopID
name
tagLine
defaultSort
__typename
}
createInfo {
openSince
__typename
}
favoriteData {
totalFavorite
alreadyFavorited
__typename
}
activeProduct
shopAssets {
avatar
cover
__typename
}
location
isAllowManage
branchLinkDomain
isOpen
shipmentInfo {
isAvailable
image
name
product {
isAvailable
productName
uiHidden
__typename
}
__typename
}
shippingLoc {
districtName
cityName
__typename
}
shopStats {
productSold
totalTxSuccess
totalShowcase
__typename
}
statusInfo {
shopStatus
statusMessage
statusTitle
tickerType
__typename
}
closedInfo {
closedNote
until
reason
detail {
status
__typename
}
__typename
}
bbInfo {
bbName
bbDesc
bbNameEN
bbDescEN
__typename
}
goldOS {
isGold
isGoldBadge
isOfficial
badge
shopTier
__typename
}
shopSnippetURL
customSEO {
title
description
bottomContent
__typename
}
isQA
isGoApotik
partnerInfo {
fsType
__typename
}
epharmacyInfo {
siaNumber
sipaNumber
apj
__typename
}
__typename
}
error {
message
__typename
}
__typename
}
}`
)