@vendure/docs 0.0.0-202601211343 → 0.0.0-202601211352
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/docs/reference/graphql-api/admin/enums.mdx +1139 -0
- package/docs/reference/graphql-api/admin/input-types.mdx +4708 -0
- package/docs/reference/graphql-api/admin/mutations.mdx +2750 -0
- package/docs/reference/graphql-api/admin/object-types.mdx +4973 -0
- package/docs/reference/graphql-api/admin/queries.mdx +1194 -0
- package/docs/reference/graphql-api/shop/enums.mdx +1063 -0
- package/docs/reference/graphql-api/shop/input-types.mdx +1113 -0
- package/docs/reference/graphql-api/shop/mutations.mdx +540 -0
- package/docs/reference/graphql-api/shop/object-types.mdx +3693 -0
- package/docs/reference/graphql-api/shop/queries.mdx +314 -0
- package/package.json +1 -1
|
@@ -0,0 +1,1194 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: "Queries"
|
|
3
|
+
generated: true
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
## activeAdministrator {#activeadministrator}
|
|
9
|
+
|
|
10
|
+
<GraphQLDoc
|
|
11
|
+
type="query"
|
|
12
|
+
typeName="activeAdministrator"
|
|
13
|
+
typeLinks={{
|
|
14
|
+
Administrator: '/reference/graphql-api/admin/object-types#administrator',
|
|
15
|
+
}}
|
|
16
|
+
>
|
|
17
|
+
{`type Query {
|
|
18
|
+
activeAdministrator: Administrator
|
|
19
|
+
}`}
|
|
20
|
+
</GraphQLDoc>
|
|
21
|
+
|
|
22
|
+
## activeChannel {#activechannel}
|
|
23
|
+
|
|
24
|
+
<GraphQLDoc
|
|
25
|
+
type="query"
|
|
26
|
+
typeName="activeChannel"
|
|
27
|
+
typeLinks={{
|
|
28
|
+
Channel: '/reference/graphql-api/admin/object-types#channel',
|
|
29
|
+
}}
|
|
30
|
+
>
|
|
31
|
+
{`type Query {
|
|
32
|
+
activeChannel: Channel!
|
|
33
|
+
}`}
|
|
34
|
+
</GraphQLDoc>
|
|
35
|
+
|
|
36
|
+
## administrator {#administrator}
|
|
37
|
+
|
|
38
|
+
<GraphQLDoc
|
|
39
|
+
type="query"
|
|
40
|
+
typeName="administrator"
|
|
41
|
+
typeLinks={{
|
|
42
|
+
Administrator: '/reference/graphql-api/admin/object-types#administrator',
|
|
43
|
+
ID: '/reference/graphql-api/admin/object-types#id',
|
|
44
|
+
}}
|
|
45
|
+
>
|
|
46
|
+
{`type Query {
|
|
47
|
+
administrator(id: ID!): Administrator
|
|
48
|
+
}`}
|
|
49
|
+
</GraphQLDoc>
|
|
50
|
+
|
|
51
|
+
## administrators {#administrators}
|
|
52
|
+
|
|
53
|
+
<GraphQLDoc
|
|
54
|
+
type="query"
|
|
55
|
+
typeName="administrators"
|
|
56
|
+
typeLinks={{
|
|
57
|
+
AdministratorList: '/reference/graphql-api/admin/object-types#administratorlist',
|
|
58
|
+
AdministratorListOptions: '/reference/graphql-api/admin/input-types#administratorlistoptions',
|
|
59
|
+
}}
|
|
60
|
+
>
|
|
61
|
+
{`type Query {
|
|
62
|
+
administrators(options: AdministratorListOptions): AdministratorList!
|
|
63
|
+
}`}
|
|
64
|
+
</GraphQLDoc>
|
|
65
|
+
|
|
66
|
+
## asset {#asset}
|
|
67
|
+
|
|
68
|
+
<GraphQLDoc
|
|
69
|
+
type="query"
|
|
70
|
+
typeName="asset"
|
|
71
|
+
typeLinks={{
|
|
72
|
+
Asset: '/reference/graphql-api/admin/object-types#asset',
|
|
73
|
+
ID: '/reference/graphql-api/admin/object-types#id',
|
|
74
|
+
}}
|
|
75
|
+
>
|
|
76
|
+
{`"""Get a single Asset by id"""
|
|
77
|
+
type Query {
|
|
78
|
+
asset(id: ID!): Asset
|
|
79
|
+
}`}
|
|
80
|
+
</GraphQLDoc>
|
|
81
|
+
|
|
82
|
+
## assets {#assets}
|
|
83
|
+
|
|
84
|
+
<GraphQLDoc
|
|
85
|
+
type="query"
|
|
86
|
+
typeName="assets"
|
|
87
|
+
typeLinks={{
|
|
88
|
+
AssetList: '/reference/graphql-api/admin/object-types#assetlist',
|
|
89
|
+
AssetListOptions: '/reference/graphql-api/admin/input-types#assetlistoptions',
|
|
90
|
+
}}
|
|
91
|
+
>
|
|
92
|
+
{`"""Get a list of Assets"""
|
|
93
|
+
type Query {
|
|
94
|
+
assets(options: AssetListOptions): AssetList!
|
|
95
|
+
}`}
|
|
96
|
+
</GraphQLDoc>
|
|
97
|
+
|
|
98
|
+
## channel {#channel}
|
|
99
|
+
|
|
100
|
+
<GraphQLDoc
|
|
101
|
+
type="query"
|
|
102
|
+
typeName="channel"
|
|
103
|
+
typeLinks={{
|
|
104
|
+
Channel: '/reference/graphql-api/admin/object-types#channel',
|
|
105
|
+
ID: '/reference/graphql-api/admin/object-types#id',
|
|
106
|
+
}}
|
|
107
|
+
>
|
|
108
|
+
{`type Query {
|
|
109
|
+
channel(id: ID!): Channel
|
|
110
|
+
}`}
|
|
111
|
+
</GraphQLDoc>
|
|
112
|
+
|
|
113
|
+
## channels {#channels}
|
|
114
|
+
|
|
115
|
+
<GraphQLDoc
|
|
116
|
+
type="query"
|
|
117
|
+
typeName="channels"
|
|
118
|
+
typeLinks={{
|
|
119
|
+
ChannelList: '/reference/graphql-api/admin/object-types#channellist',
|
|
120
|
+
ChannelListOptions: '/reference/graphql-api/admin/input-types#channellistoptions',
|
|
121
|
+
}}
|
|
122
|
+
>
|
|
123
|
+
{`type Query {
|
|
124
|
+
channels(options: ChannelListOptions): ChannelList!
|
|
125
|
+
}`}
|
|
126
|
+
</GraphQLDoc>
|
|
127
|
+
|
|
128
|
+
## collection {#collection}
|
|
129
|
+
|
|
130
|
+
<GraphQLDoc
|
|
131
|
+
type="query"
|
|
132
|
+
typeName="collection"
|
|
133
|
+
typeLinks={{
|
|
134
|
+
Collection: '/reference/graphql-api/admin/object-types#collection',
|
|
135
|
+
ID: '/reference/graphql-api/admin/object-types#id',
|
|
136
|
+
String: '/reference/graphql-api/admin/object-types#string',
|
|
137
|
+
}}
|
|
138
|
+
>
|
|
139
|
+
{`"""Get a Collection either by id or slug. If neither id nor slug is specified, an error will result."""
|
|
140
|
+
type Query {
|
|
141
|
+
collection(id: ID, slug: String): Collection
|
|
142
|
+
}`}
|
|
143
|
+
</GraphQLDoc>
|
|
144
|
+
|
|
145
|
+
## collectionFilters {#collectionfilters}
|
|
146
|
+
|
|
147
|
+
<GraphQLDoc
|
|
148
|
+
type="query"
|
|
149
|
+
typeName="collectionFilters"
|
|
150
|
+
typeLinks={{
|
|
151
|
+
ConfigurableOperationDefinition: '/reference/graphql-api/admin/object-types#configurableoperationdefinition',
|
|
152
|
+
}}
|
|
153
|
+
>
|
|
154
|
+
{`type Query {
|
|
155
|
+
collectionFilters: [ConfigurableOperationDefinition!]!
|
|
156
|
+
}`}
|
|
157
|
+
</GraphQLDoc>
|
|
158
|
+
|
|
159
|
+
## collections {#collections}
|
|
160
|
+
|
|
161
|
+
<GraphQLDoc
|
|
162
|
+
type="query"
|
|
163
|
+
typeName="collections"
|
|
164
|
+
typeLinks={{
|
|
165
|
+
CollectionList: '/reference/graphql-api/admin/object-types#collectionlist',
|
|
166
|
+
CollectionListOptions: '/reference/graphql-api/admin/input-types#collectionlistoptions',
|
|
167
|
+
}}
|
|
168
|
+
>
|
|
169
|
+
{`type Query {
|
|
170
|
+
collections(options: CollectionListOptions): CollectionList!
|
|
171
|
+
}`}
|
|
172
|
+
</GraphQLDoc>
|
|
173
|
+
|
|
174
|
+
## countries {#countries}
|
|
175
|
+
|
|
176
|
+
<GraphQLDoc
|
|
177
|
+
type="query"
|
|
178
|
+
typeName="countries"
|
|
179
|
+
typeLinks={{
|
|
180
|
+
CountryList: '/reference/graphql-api/admin/object-types#countrylist',
|
|
181
|
+
CountryListOptions: '/reference/graphql-api/admin/input-types#countrylistoptions',
|
|
182
|
+
}}
|
|
183
|
+
>
|
|
184
|
+
{`type Query {
|
|
185
|
+
countries(options: CountryListOptions): CountryList!
|
|
186
|
+
}`}
|
|
187
|
+
</GraphQLDoc>
|
|
188
|
+
|
|
189
|
+
## country {#country}
|
|
190
|
+
|
|
191
|
+
<GraphQLDoc
|
|
192
|
+
type="query"
|
|
193
|
+
typeName="country"
|
|
194
|
+
typeLinks={{
|
|
195
|
+
Country: '/reference/graphql-api/admin/object-types#country',
|
|
196
|
+
ID: '/reference/graphql-api/admin/object-types#id',
|
|
197
|
+
}}
|
|
198
|
+
>
|
|
199
|
+
{`type Query {
|
|
200
|
+
country(id: ID!): Country
|
|
201
|
+
}`}
|
|
202
|
+
</GraphQLDoc>
|
|
203
|
+
|
|
204
|
+
## customer {#customer}
|
|
205
|
+
|
|
206
|
+
<GraphQLDoc
|
|
207
|
+
type="query"
|
|
208
|
+
typeName="customer"
|
|
209
|
+
typeLinks={{
|
|
210
|
+
Customer: '/reference/graphql-api/admin/object-types#customer',
|
|
211
|
+
ID: '/reference/graphql-api/admin/object-types#id',
|
|
212
|
+
}}
|
|
213
|
+
>
|
|
214
|
+
{`type Query {
|
|
215
|
+
customer(id: ID!): Customer
|
|
216
|
+
}`}
|
|
217
|
+
</GraphQLDoc>
|
|
218
|
+
|
|
219
|
+
## customerGroup {#customergroup}
|
|
220
|
+
|
|
221
|
+
<GraphQLDoc
|
|
222
|
+
type="query"
|
|
223
|
+
typeName="customerGroup"
|
|
224
|
+
typeLinks={{
|
|
225
|
+
CustomerGroup: '/reference/graphql-api/admin/object-types#customergroup',
|
|
226
|
+
ID: '/reference/graphql-api/admin/object-types#id',
|
|
227
|
+
}}
|
|
228
|
+
>
|
|
229
|
+
{`type Query {
|
|
230
|
+
customerGroup(id: ID!): CustomerGroup
|
|
231
|
+
}`}
|
|
232
|
+
</GraphQLDoc>
|
|
233
|
+
|
|
234
|
+
## customerGroups {#customergroups}
|
|
235
|
+
|
|
236
|
+
<GraphQLDoc
|
|
237
|
+
type="query"
|
|
238
|
+
typeName="customerGroups"
|
|
239
|
+
typeLinks={{
|
|
240
|
+
CustomerGroupList: '/reference/graphql-api/admin/object-types#customergrouplist',
|
|
241
|
+
CustomerGroupListOptions: '/reference/graphql-api/admin/input-types#customergrouplistoptions',
|
|
242
|
+
}}
|
|
243
|
+
>
|
|
244
|
+
{`type Query {
|
|
245
|
+
customerGroups(options: CustomerGroupListOptions): CustomerGroupList!
|
|
246
|
+
}`}
|
|
247
|
+
</GraphQLDoc>
|
|
248
|
+
|
|
249
|
+
## customers {#customers}
|
|
250
|
+
|
|
251
|
+
<GraphQLDoc
|
|
252
|
+
type="query"
|
|
253
|
+
typeName="customers"
|
|
254
|
+
typeLinks={{
|
|
255
|
+
CustomerList: '/reference/graphql-api/admin/object-types#customerlist',
|
|
256
|
+
CustomerListOptions: '/reference/graphql-api/admin/input-types#customerlistoptions',
|
|
257
|
+
}}
|
|
258
|
+
>
|
|
259
|
+
{`type Query {
|
|
260
|
+
customers(options: CustomerListOptions): CustomerList!
|
|
261
|
+
}`}
|
|
262
|
+
</GraphQLDoc>
|
|
263
|
+
|
|
264
|
+
## eligibleShippingMethodsForDraftOrder {#eligibleshippingmethodsfordraftorder}
|
|
265
|
+
|
|
266
|
+
<GraphQLDoc
|
|
267
|
+
type="query"
|
|
268
|
+
typeName="eligibleShippingMethodsForDraftOrder"
|
|
269
|
+
typeLinks={{
|
|
270
|
+
ShippingMethodQuote: '/reference/graphql-api/admin/object-types#shippingmethodquote',
|
|
271
|
+
ID: '/reference/graphql-api/admin/object-types#id',
|
|
272
|
+
}}
|
|
273
|
+
>
|
|
274
|
+
{`"""Returns a list of eligible shipping methods for the draft Order"""
|
|
275
|
+
type Query {
|
|
276
|
+
eligibleShippingMethodsForDraftOrder(orderId: ID!): [ShippingMethodQuote!]!
|
|
277
|
+
}`}
|
|
278
|
+
</GraphQLDoc>
|
|
279
|
+
|
|
280
|
+
## entityDuplicators {#entityduplicators}
|
|
281
|
+
|
|
282
|
+
<GraphQLDoc
|
|
283
|
+
type="query"
|
|
284
|
+
typeName="entityDuplicators"
|
|
285
|
+
typeLinks={{
|
|
286
|
+
EntityDuplicatorDefinition: '/reference/graphql-api/admin/object-types#entityduplicatordefinition',
|
|
287
|
+
}}
|
|
288
|
+
>
|
|
289
|
+
{`"""Returns all configured EntityDuplicators."""
|
|
290
|
+
type Query {
|
|
291
|
+
entityDuplicators: [EntityDuplicatorDefinition!]!
|
|
292
|
+
}`}
|
|
293
|
+
</GraphQLDoc>
|
|
294
|
+
|
|
295
|
+
## facet {#facet}
|
|
296
|
+
|
|
297
|
+
<GraphQLDoc
|
|
298
|
+
type="query"
|
|
299
|
+
typeName="facet"
|
|
300
|
+
typeLinks={{
|
|
301
|
+
Facet: '/reference/graphql-api/admin/object-types#facet',
|
|
302
|
+
ID: '/reference/graphql-api/admin/object-types#id',
|
|
303
|
+
}}
|
|
304
|
+
>
|
|
305
|
+
{`type Query {
|
|
306
|
+
facet(id: ID!): Facet
|
|
307
|
+
}`}
|
|
308
|
+
</GraphQLDoc>
|
|
309
|
+
|
|
310
|
+
## facetValue {#facetvalue}
|
|
311
|
+
|
|
312
|
+
<GraphQLDoc
|
|
313
|
+
type="query"
|
|
314
|
+
typeName="facetValue"
|
|
315
|
+
typeLinks={{
|
|
316
|
+
FacetValue: '/reference/graphql-api/admin/object-types#facetvalue',
|
|
317
|
+
ID: '/reference/graphql-api/admin/object-types#id',
|
|
318
|
+
}}
|
|
319
|
+
>
|
|
320
|
+
{`type Query {
|
|
321
|
+
facetValue(id: ID!): FacetValue
|
|
322
|
+
}`}
|
|
323
|
+
</GraphQLDoc>
|
|
324
|
+
|
|
325
|
+
## facetValues {#facetvalues}
|
|
326
|
+
|
|
327
|
+
<GraphQLDoc
|
|
328
|
+
type="query"
|
|
329
|
+
typeName="facetValues"
|
|
330
|
+
typeLinks={{
|
|
331
|
+
FacetValueList: '/reference/graphql-api/admin/object-types#facetvaluelist',
|
|
332
|
+
FacetValueListOptions: '/reference/graphql-api/admin/input-types#facetvaluelistoptions',
|
|
333
|
+
}}
|
|
334
|
+
>
|
|
335
|
+
{`type Query {
|
|
336
|
+
facetValues(options: FacetValueListOptions): FacetValueList!
|
|
337
|
+
}`}
|
|
338
|
+
</GraphQLDoc>
|
|
339
|
+
|
|
340
|
+
## facets {#facets}
|
|
341
|
+
|
|
342
|
+
<GraphQLDoc
|
|
343
|
+
type="query"
|
|
344
|
+
typeName="facets"
|
|
345
|
+
typeLinks={{
|
|
346
|
+
FacetList: '/reference/graphql-api/admin/object-types#facetlist',
|
|
347
|
+
FacetListOptions: '/reference/graphql-api/admin/input-types#facetlistoptions',
|
|
348
|
+
}}
|
|
349
|
+
>
|
|
350
|
+
{`type Query {
|
|
351
|
+
facets(options: FacetListOptions): FacetList!
|
|
352
|
+
}`}
|
|
353
|
+
</GraphQLDoc>
|
|
354
|
+
|
|
355
|
+
## fulfillmentHandlers {#fulfillmenthandlers}
|
|
356
|
+
|
|
357
|
+
<GraphQLDoc
|
|
358
|
+
type="query"
|
|
359
|
+
typeName="fulfillmentHandlers"
|
|
360
|
+
typeLinks={{
|
|
361
|
+
ConfigurableOperationDefinition: '/reference/graphql-api/admin/object-types#configurableoperationdefinition',
|
|
362
|
+
}}
|
|
363
|
+
>
|
|
364
|
+
{`type Query {
|
|
365
|
+
fulfillmentHandlers: [ConfigurableOperationDefinition!]!
|
|
366
|
+
}`}
|
|
367
|
+
</GraphQLDoc>
|
|
368
|
+
|
|
369
|
+
## getSettingsStoreValue {#getsettingsstorevalue}
|
|
370
|
+
|
|
371
|
+
<GraphQLDoc
|
|
372
|
+
type="query"
|
|
373
|
+
typeName="getSettingsStoreValue"
|
|
374
|
+
typeLinks={{
|
|
375
|
+
JSON: '/reference/graphql-api/admin/object-types#json',
|
|
376
|
+
String: '/reference/graphql-api/admin/object-types#string',
|
|
377
|
+
}}
|
|
378
|
+
>
|
|
379
|
+
{`"""Get value for a specific key (automatically scoped based on field configuration)"""
|
|
380
|
+
type Query {
|
|
381
|
+
getSettingsStoreValue(key: String!): JSON
|
|
382
|
+
}`}
|
|
383
|
+
</GraphQLDoc>
|
|
384
|
+
|
|
385
|
+
## getSettingsStoreValues {#getsettingsstorevalues}
|
|
386
|
+
|
|
387
|
+
<GraphQLDoc
|
|
388
|
+
type="query"
|
|
389
|
+
typeName="getSettingsStoreValues"
|
|
390
|
+
typeLinks={{
|
|
391
|
+
JSON: '/reference/graphql-api/admin/object-types#json',
|
|
392
|
+
String: '/reference/graphql-api/admin/object-types#string',
|
|
393
|
+
}}
|
|
394
|
+
>
|
|
395
|
+
{`"""Get multiple key-value pairs (each automatically scoped)"""
|
|
396
|
+
type Query {
|
|
397
|
+
getSettingsStoreValues(keys: [String!]!): JSON
|
|
398
|
+
}`}
|
|
399
|
+
</GraphQLDoc>
|
|
400
|
+
|
|
401
|
+
## globalSettings {#globalsettings}
|
|
402
|
+
|
|
403
|
+
<GraphQLDoc
|
|
404
|
+
type="query"
|
|
405
|
+
typeName="globalSettings"
|
|
406
|
+
typeLinks={{
|
|
407
|
+
GlobalSettings: '/reference/graphql-api/admin/object-types#globalsettings',
|
|
408
|
+
}}
|
|
409
|
+
>
|
|
410
|
+
{`type Query {
|
|
411
|
+
globalSettings: GlobalSettings!
|
|
412
|
+
}`}
|
|
413
|
+
</GraphQLDoc>
|
|
414
|
+
|
|
415
|
+
## job {#job}
|
|
416
|
+
|
|
417
|
+
<GraphQLDoc
|
|
418
|
+
type="query"
|
|
419
|
+
typeName="job"
|
|
420
|
+
typeLinks={{
|
|
421
|
+
Job: '/reference/graphql-api/admin/object-types#job',
|
|
422
|
+
ID: '/reference/graphql-api/admin/object-types#id',
|
|
423
|
+
}}
|
|
424
|
+
>
|
|
425
|
+
{`type Query {
|
|
426
|
+
job(jobId: ID!): Job
|
|
427
|
+
}`}
|
|
428
|
+
</GraphQLDoc>
|
|
429
|
+
|
|
430
|
+
## jobBufferSize {#jobbuffersize}
|
|
431
|
+
|
|
432
|
+
<GraphQLDoc
|
|
433
|
+
type="query"
|
|
434
|
+
typeName="jobBufferSize"
|
|
435
|
+
typeLinks={{
|
|
436
|
+
JobBufferSize: '/reference/graphql-api/admin/object-types#jobbuffersize',
|
|
437
|
+
String: '/reference/graphql-api/admin/object-types#string',
|
|
438
|
+
}}
|
|
439
|
+
>
|
|
440
|
+
{`type Query {
|
|
441
|
+
jobBufferSize(bufferIds: [String!]): [JobBufferSize!]!
|
|
442
|
+
}`}
|
|
443
|
+
</GraphQLDoc>
|
|
444
|
+
|
|
445
|
+
## jobQueues {#jobqueues}
|
|
446
|
+
|
|
447
|
+
<GraphQLDoc
|
|
448
|
+
type="query"
|
|
449
|
+
typeName="jobQueues"
|
|
450
|
+
typeLinks={{
|
|
451
|
+
JobQueue: '/reference/graphql-api/admin/object-types#jobqueue',
|
|
452
|
+
}}
|
|
453
|
+
>
|
|
454
|
+
{`type Query {
|
|
455
|
+
jobQueues: [JobQueue!]!
|
|
456
|
+
}`}
|
|
457
|
+
</GraphQLDoc>
|
|
458
|
+
|
|
459
|
+
## jobs {#jobs}
|
|
460
|
+
|
|
461
|
+
<GraphQLDoc
|
|
462
|
+
type="query"
|
|
463
|
+
typeName="jobs"
|
|
464
|
+
typeLinks={{
|
|
465
|
+
JobList: '/reference/graphql-api/admin/object-types#joblist',
|
|
466
|
+
JobListOptions: '/reference/graphql-api/admin/input-types#joblistoptions',
|
|
467
|
+
}}
|
|
468
|
+
>
|
|
469
|
+
{`type Query {
|
|
470
|
+
jobs(options: JobListOptions): JobList!
|
|
471
|
+
}`}
|
|
472
|
+
</GraphQLDoc>
|
|
473
|
+
|
|
474
|
+
## jobsById {#jobsbyid}
|
|
475
|
+
|
|
476
|
+
<GraphQLDoc
|
|
477
|
+
type="query"
|
|
478
|
+
typeName="jobsById"
|
|
479
|
+
typeLinks={{
|
|
480
|
+
Job: '/reference/graphql-api/admin/object-types#job',
|
|
481
|
+
ID: '/reference/graphql-api/admin/object-types#id',
|
|
482
|
+
}}
|
|
483
|
+
>
|
|
484
|
+
{`type Query {
|
|
485
|
+
jobsById(jobIds: [ID!]!): [Job!]!
|
|
486
|
+
}`}
|
|
487
|
+
</GraphQLDoc>
|
|
488
|
+
|
|
489
|
+
## me {#me}
|
|
490
|
+
|
|
491
|
+
<GraphQLDoc
|
|
492
|
+
type="query"
|
|
493
|
+
typeName="me"
|
|
494
|
+
typeLinks={{
|
|
495
|
+
CurrentUser: '/reference/graphql-api/admin/object-types#currentuser',
|
|
496
|
+
}}
|
|
497
|
+
>
|
|
498
|
+
{`type Query {
|
|
499
|
+
me: CurrentUser
|
|
500
|
+
}`}
|
|
501
|
+
</GraphQLDoc>
|
|
502
|
+
|
|
503
|
+
## metricSummary {#metricsummary}
|
|
504
|
+
|
|
505
|
+
<GraphQLDoc
|
|
506
|
+
type="query"
|
|
507
|
+
typeName="metricSummary"
|
|
508
|
+
typeLinks={{
|
|
509
|
+
MetricSummary: '/reference/graphql-api/admin/object-types#metricsummary',
|
|
510
|
+
MetricSummaryInput: '/reference/graphql-api/admin/input-types#metricsummaryinput',
|
|
511
|
+
}}
|
|
512
|
+
>
|
|
513
|
+
{`"""Get metrics for the given interval and metric types."""
|
|
514
|
+
type Query {
|
|
515
|
+
metricSummary(input: MetricSummaryInput): [MetricSummary!]!
|
|
516
|
+
}`}
|
|
517
|
+
</GraphQLDoc>
|
|
518
|
+
|
|
519
|
+
## order {#order}
|
|
520
|
+
|
|
521
|
+
<GraphQLDoc
|
|
522
|
+
type="query"
|
|
523
|
+
typeName="order"
|
|
524
|
+
typeLinks={{
|
|
525
|
+
Order: '/reference/graphql-api/admin/object-types#order',
|
|
526
|
+
ID: '/reference/graphql-api/admin/object-types#id',
|
|
527
|
+
}}
|
|
528
|
+
>
|
|
529
|
+
{`type Query {
|
|
530
|
+
order(id: ID!): Order
|
|
531
|
+
}`}
|
|
532
|
+
</GraphQLDoc>
|
|
533
|
+
|
|
534
|
+
## orders {#orders}
|
|
535
|
+
|
|
536
|
+
<GraphQLDoc
|
|
537
|
+
type="query"
|
|
538
|
+
typeName="orders"
|
|
539
|
+
typeLinks={{
|
|
540
|
+
OrderList: '/reference/graphql-api/admin/object-types#orderlist',
|
|
541
|
+
OrderListOptions: '/reference/graphql-api/admin/input-types#orderlistoptions',
|
|
542
|
+
}}
|
|
543
|
+
>
|
|
544
|
+
{`type Query {
|
|
545
|
+
orders(options: OrderListOptions): OrderList!
|
|
546
|
+
}`}
|
|
547
|
+
</GraphQLDoc>
|
|
548
|
+
|
|
549
|
+
## paymentMethod {#paymentmethod}
|
|
550
|
+
|
|
551
|
+
<GraphQLDoc
|
|
552
|
+
type="query"
|
|
553
|
+
typeName="paymentMethod"
|
|
554
|
+
typeLinks={{
|
|
555
|
+
PaymentMethod: '/reference/graphql-api/admin/object-types#paymentmethod',
|
|
556
|
+
ID: '/reference/graphql-api/admin/object-types#id',
|
|
557
|
+
}}
|
|
558
|
+
>
|
|
559
|
+
{`type Query {
|
|
560
|
+
paymentMethod(id: ID!): PaymentMethod
|
|
561
|
+
}`}
|
|
562
|
+
</GraphQLDoc>
|
|
563
|
+
|
|
564
|
+
## paymentMethodEligibilityCheckers {#paymentmethodeligibilitycheckers}
|
|
565
|
+
|
|
566
|
+
<GraphQLDoc
|
|
567
|
+
type="query"
|
|
568
|
+
typeName="paymentMethodEligibilityCheckers"
|
|
569
|
+
typeLinks={{
|
|
570
|
+
ConfigurableOperationDefinition: '/reference/graphql-api/admin/object-types#configurableoperationdefinition',
|
|
571
|
+
}}
|
|
572
|
+
>
|
|
573
|
+
{`type Query {
|
|
574
|
+
paymentMethodEligibilityCheckers: [ConfigurableOperationDefinition!]!
|
|
575
|
+
}`}
|
|
576
|
+
</GraphQLDoc>
|
|
577
|
+
|
|
578
|
+
## paymentMethodHandlers {#paymentmethodhandlers}
|
|
579
|
+
|
|
580
|
+
<GraphQLDoc
|
|
581
|
+
type="query"
|
|
582
|
+
typeName="paymentMethodHandlers"
|
|
583
|
+
typeLinks={{
|
|
584
|
+
ConfigurableOperationDefinition: '/reference/graphql-api/admin/object-types#configurableoperationdefinition',
|
|
585
|
+
}}
|
|
586
|
+
>
|
|
587
|
+
{`type Query {
|
|
588
|
+
paymentMethodHandlers: [ConfigurableOperationDefinition!]!
|
|
589
|
+
}`}
|
|
590
|
+
</GraphQLDoc>
|
|
591
|
+
|
|
592
|
+
## paymentMethods {#paymentmethods}
|
|
593
|
+
|
|
594
|
+
<GraphQLDoc
|
|
595
|
+
type="query"
|
|
596
|
+
typeName="paymentMethods"
|
|
597
|
+
typeLinks={{
|
|
598
|
+
PaymentMethodList: '/reference/graphql-api/admin/object-types#paymentmethodlist',
|
|
599
|
+
PaymentMethodListOptions: '/reference/graphql-api/admin/input-types#paymentmethodlistoptions',
|
|
600
|
+
}}
|
|
601
|
+
>
|
|
602
|
+
{`type Query {
|
|
603
|
+
paymentMethods(options: PaymentMethodListOptions): PaymentMethodList!
|
|
604
|
+
}`}
|
|
605
|
+
</GraphQLDoc>
|
|
606
|
+
|
|
607
|
+
## pendingSearchIndexUpdates {#pendingsearchindexupdates}
|
|
608
|
+
|
|
609
|
+
<GraphQLDoc
|
|
610
|
+
type="query"
|
|
611
|
+
typeName="pendingSearchIndexUpdates"
|
|
612
|
+
typeLinks={{
|
|
613
|
+
Int: '/reference/graphql-api/admin/object-types#int',
|
|
614
|
+
}}
|
|
615
|
+
>
|
|
616
|
+
{`type Query {
|
|
617
|
+
pendingSearchIndexUpdates: Int!
|
|
618
|
+
}`}
|
|
619
|
+
</GraphQLDoc>
|
|
620
|
+
|
|
621
|
+
## previewCollectionVariants {#previewcollectionvariants}
|
|
622
|
+
|
|
623
|
+
<GraphQLDoc
|
|
624
|
+
type="query"
|
|
625
|
+
typeName="previewCollectionVariants"
|
|
626
|
+
typeLinks={{
|
|
627
|
+
ProductVariantList: '/reference/graphql-api/admin/object-types#productvariantlist',
|
|
628
|
+
PreviewCollectionVariantsInput: '/reference/graphql-api/admin/input-types#previewcollectionvariantsinput',
|
|
629
|
+
ProductVariantListOptions: '/reference/graphql-api/admin/input-types#productvariantlistoptions',
|
|
630
|
+
}}
|
|
631
|
+
>
|
|
632
|
+
{`"""Used for real-time previews of the contents of a Collection"""
|
|
633
|
+
type Query {
|
|
634
|
+
previewCollectionVariants(input: PreviewCollectionVariantsInput!, options: ProductVariantListOptions): ProductVariantList!
|
|
635
|
+
}`}
|
|
636
|
+
</GraphQLDoc>
|
|
637
|
+
|
|
638
|
+
## product {#product}
|
|
639
|
+
|
|
640
|
+
<GraphQLDoc
|
|
641
|
+
type="query"
|
|
642
|
+
typeName="product"
|
|
643
|
+
typeLinks={{
|
|
644
|
+
Product: '/reference/graphql-api/admin/object-types#product',
|
|
645
|
+
ID: '/reference/graphql-api/admin/object-types#id',
|
|
646
|
+
String: '/reference/graphql-api/admin/object-types#string',
|
|
647
|
+
}}
|
|
648
|
+
>
|
|
649
|
+
{`"""Get a Product either by id or slug. If neither id nor slug is specified, an error will result."""
|
|
650
|
+
type Query {
|
|
651
|
+
product(id: ID, slug: String): Product
|
|
652
|
+
}`}
|
|
653
|
+
</GraphQLDoc>
|
|
654
|
+
|
|
655
|
+
## productOption {#productoption}
|
|
656
|
+
|
|
657
|
+
<GraphQLDoc
|
|
658
|
+
type="query"
|
|
659
|
+
typeName="productOption"
|
|
660
|
+
typeLinks={{
|
|
661
|
+
ProductOption: '/reference/graphql-api/admin/object-types#productoption',
|
|
662
|
+
ID: '/reference/graphql-api/admin/object-types#id',
|
|
663
|
+
}}
|
|
664
|
+
>
|
|
665
|
+
{`type Query {
|
|
666
|
+
productOption(id: ID!): ProductOption
|
|
667
|
+
}`}
|
|
668
|
+
</GraphQLDoc>
|
|
669
|
+
|
|
670
|
+
## productOptionGroup {#productoptiongroup}
|
|
671
|
+
|
|
672
|
+
<GraphQLDoc
|
|
673
|
+
type="query"
|
|
674
|
+
typeName="productOptionGroup"
|
|
675
|
+
typeLinks={{
|
|
676
|
+
ProductOptionGroup: '/reference/graphql-api/admin/object-types#productoptiongroup',
|
|
677
|
+
ID: '/reference/graphql-api/admin/object-types#id',
|
|
678
|
+
}}
|
|
679
|
+
>
|
|
680
|
+
{`type Query {
|
|
681
|
+
productOptionGroup(id: ID!): ProductOptionGroup
|
|
682
|
+
}`}
|
|
683
|
+
</GraphQLDoc>
|
|
684
|
+
|
|
685
|
+
## productOptionGroups {#productoptiongroups}
|
|
686
|
+
|
|
687
|
+
<GraphQLDoc
|
|
688
|
+
type="query"
|
|
689
|
+
typeName="productOptionGroups"
|
|
690
|
+
typeLinks={{
|
|
691
|
+
ProductOptionGroup: '/reference/graphql-api/admin/object-types#productoptiongroup',
|
|
692
|
+
String: '/reference/graphql-api/admin/object-types#string',
|
|
693
|
+
}}
|
|
694
|
+
>
|
|
695
|
+
{`type Query {
|
|
696
|
+
productOptionGroups(filterTerm: String): [ProductOptionGroup!]!
|
|
697
|
+
}`}
|
|
698
|
+
</GraphQLDoc>
|
|
699
|
+
|
|
700
|
+
## productOptions {#productoptions}
|
|
701
|
+
|
|
702
|
+
<GraphQLDoc
|
|
703
|
+
type="query"
|
|
704
|
+
typeName="productOptions"
|
|
705
|
+
typeLinks={{
|
|
706
|
+
ProductOptionList: '/reference/graphql-api/admin/object-types#productoptionlist',
|
|
707
|
+
ProductOptionListOptions: '/reference/graphql-api/admin/input-types#productoptionlistoptions',
|
|
708
|
+
ID: '/reference/graphql-api/admin/object-types#id',
|
|
709
|
+
}}
|
|
710
|
+
>
|
|
711
|
+
{`type Query {
|
|
712
|
+
productOptions(options: ProductOptionListOptions, groupId: ID): ProductOptionList!
|
|
713
|
+
}`}
|
|
714
|
+
</GraphQLDoc>
|
|
715
|
+
|
|
716
|
+
## productVariant {#productvariant}
|
|
717
|
+
|
|
718
|
+
<GraphQLDoc
|
|
719
|
+
type="query"
|
|
720
|
+
typeName="productVariant"
|
|
721
|
+
typeLinks={{
|
|
722
|
+
ProductVariant: '/reference/graphql-api/admin/object-types#productvariant',
|
|
723
|
+
ID: '/reference/graphql-api/admin/object-types#id',
|
|
724
|
+
}}
|
|
725
|
+
>
|
|
726
|
+
{`"""Get a ProductVariant by id"""
|
|
727
|
+
type Query {
|
|
728
|
+
productVariant(id: ID!): ProductVariant
|
|
729
|
+
}`}
|
|
730
|
+
</GraphQLDoc>
|
|
731
|
+
|
|
732
|
+
## productVariants {#productvariants}
|
|
733
|
+
|
|
734
|
+
<GraphQLDoc
|
|
735
|
+
type="query"
|
|
736
|
+
typeName="productVariants"
|
|
737
|
+
typeLinks={{
|
|
738
|
+
ProductVariantList: '/reference/graphql-api/admin/object-types#productvariantlist',
|
|
739
|
+
ProductVariantListOptions: '/reference/graphql-api/admin/input-types#productvariantlistoptions',
|
|
740
|
+
ID: '/reference/graphql-api/admin/object-types#id',
|
|
741
|
+
}}
|
|
742
|
+
>
|
|
743
|
+
{`"""List ProductVariants either all or for the specific product."""
|
|
744
|
+
type Query {
|
|
745
|
+
productVariants(options: ProductVariantListOptions, productId: ID): ProductVariantList!
|
|
746
|
+
}`}
|
|
747
|
+
</GraphQLDoc>
|
|
748
|
+
|
|
749
|
+
## products {#products}
|
|
750
|
+
|
|
751
|
+
<GraphQLDoc
|
|
752
|
+
type="query"
|
|
753
|
+
typeName="products"
|
|
754
|
+
typeLinks={{
|
|
755
|
+
ProductList: '/reference/graphql-api/admin/object-types#productlist',
|
|
756
|
+
ProductListOptions: '/reference/graphql-api/admin/input-types#productlistoptions',
|
|
757
|
+
}}
|
|
758
|
+
>
|
|
759
|
+
{`"""List Products"""
|
|
760
|
+
type Query {
|
|
761
|
+
products(options: ProductListOptions): ProductList!
|
|
762
|
+
}`}
|
|
763
|
+
</GraphQLDoc>
|
|
764
|
+
|
|
765
|
+
## promotion {#promotion}
|
|
766
|
+
|
|
767
|
+
<GraphQLDoc
|
|
768
|
+
type="query"
|
|
769
|
+
typeName="promotion"
|
|
770
|
+
typeLinks={{
|
|
771
|
+
Promotion: '/reference/graphql-api/admin/object-types#promotion',
|
|
772
|
+
ID: '/reference/graphql-api/admin/object-types#id',
|
|
773
|
+
}}
|
|
774
|
+
>
|
|
775
|
+
{`type Query {
|
|
776
|
+
promotion(id: ID!): Promotion
|
|
777
|
+
}`}
|
|
778
|
+
</GraphQLDoc>
|
|
779
|
+
|
|
780
|
+
## promotionActions {#promotionactions}
|
|
781
|
+
|
|
782
|
+
<GraphQLDoc
|
|
783
|
+
type="query"
|
|
784
|
+
typeName="promotionActions"
|
|
785
|
+
typeLinks={{
|
|
786
|
+
ConfigurableOperationDefinition: '/reference/graphql-api/admin/object-types#configurableoperationdefinition',
|
|
787
|
+
}}
|
|
788
|
+
>
|
|
789
|
+
{`type Query {
|
|
790
|
+
promotionActions: [ConfigurableOperationDefinition!]!
|
|
791
|
+
}`}
|
|
792
|
+
</GraphQLDoc>
|
|
793
|
+
|
|
794
|
+
## promotionConditions {#promotionconditions}
|
|
795
|
+
|
|
796
|
+
<GraphQLDoc
|
|
797
|
+
type="query"
|
|
798
|
+
typeName="promotionConditions"
|
|
799
|
+
typeLinks={{
|
|
800
|
+
ConfigurableOperationDefinition: '/reference/graphql-api/admin/object-types#configurableoperationdefinition',
|
|
801
|
+
}}
|
|
802
|
+
>
|
|
803
|
+
{`type Query {
|
|
804
|
+
promotionConditions: [ConfigurableOperationDefinition!]!
|
|
805
|
+
}`}
|
|
806
|
+
</GraphQLDoc>
|
|
807
|
+
|
|
808
|
+
## promotions {#promotions}
|
|
809
|
+
|
|
810
|
+
<GraphQLDoc
|
|
811
|
+
type="query"
|
|
812
|
+
typeName="promotions"
|
|
813
|
+
typeLinks={{
|
|
814
|
+
PromotionList: '/reference/graphql-api/admin/object-types#promotionlist',
|
|
815
|
+
PromotionListOptions: '/reference/graphql-api/admin/input-types#promotionlistoptions',
|
|
816
|
+
}}
|
|
817
|
+
>
|
|
818
|
+
{`type Query {
|
|
819
|
+
promotions(options: PromotionListOptions): PromotionList!
|
|
820
|
+
}`}
|
|
821
|
+
</GraphQLDoc>
|
|
822
|
+
|
|
823
|
+
## province {#province}
|
|
824
|
+
|
|
825
|
+
<GraphQLDoc
|
|
826
|
+
type="query"
|
|
827
|
+
typeName="province"
|
|
828
|
+
typeLinks={{
|
|
829
|
+
Province: '/reference/graphql-api/admin/object-types#province',
|
|
830
|
+
ID: '/reference/graphql-api/admin/object-types#id',
|
|
831
|
+
}}
|
|
832
|
+
>
|
|
833
|
+
{`type Query {
|
|
834
|
+
province(id: ID!): Province
|
|
835
|
+
}`}
|
|
836
|
+
</GraphQLDoc>
|
|
837
|
+
|
|
838
|
+
## provinces {#provinces}
|
|
839
|
+
|
|
840
|
+
<GraphQLDoc
|
|
841
|
+
type="query"
|
|
842
|
+
typeName="provinces"
|
|
843
|
+
typeLinks={{
|
|
844
|
+
ProvinceList: '/reference/graphql-api/admin/object-types#provincelist',
|
|
845
|
+
ProvinceListOptions: '/reference/graphql-api/admin/input-types#provincelistoptions',
|
|
846
|
+
}}
|
|
847
|
+
>
|
|
848
|
+
{`type Query {
|
|
849
|
+
provinces(options: ProvinceListOptions): ProvinceList!
|
|
850
|
+
}`}
|
|
851
|
+
</GraphQLDoc>
|
|
852
|
+
|
|
853
|
+
## role {#role}
|
|
854
|
+
|
|
855
|
+
<GraphQLDoc
|
|
856
|
+
type="query"
|
|
857
|
+
typeName="role"
|
|
858
|
+
typeLinks={{
|
|
859
|
+
Role: '/reference/graphql-api/admin/object-types#role',
|
|
860
|
+
ID: '/reference/graphql-api/admin/object-types#id',
|
|
861
|
+
}}
|
|
862
|
+
>
|
|
863
|
+
{`type Query {
|
|
864
|
+
role(id: ID!): Role
|
|
865
|
+
}`}
|
|
866
|
+
</GraphQLDoc>
|
|
867
|
+
|
|
868
|
+
## roles {#roles}
|
|
869
|
+
|
|
870
|
+
<GraphQLDoc
|
|
871
|
+
type="query"
|
|
872
|
+
typeName="roles"
|
|
873
|
+
typeLinks={{
|
|
874
|
+
RoleList: '/reference/graphql-api/admin/object-types#rolelist',
|
|
875
|
+
RoleListOptions: '/reference/graphql-api/admin/input-types#rolelistoptions',
|
|
876
|
+
}}
|
|
877
|
+
>
|
|
878
|
+
{`type Query {
|
|
879
|
+
roles(options: RoleListOptions): RoleList!
|
|
880
|
+
}`}
|
|
881
|
+
</GraphQLDoc>
|
|
882
|
+
|
|
883
|
+
## scheduledTasks {#scheduledtasks}
|
|
884
|
+
|
|
885
|
+
<GraphQLDoc
|
|
886
|
+
type="query"
|
|
887
|
+
typeName="scheduledTasks"
|
|
888
|
+
typeLinks={{
|
|
889
|
+
ScheduledTask: '/reference/graphql-api/admin/object-types#scheduledtask',
|
|
890
|
+
}}
|
|
891
|
+
>
|
|
892
|
+
{`type Query {
|
|
893
|
+
scheduledTasks: [ScheduledTask!]!
|
|
894
|
+
}`}
|
|
895
|
+
</GraphQLDoc>
|
|
896
|
+
|
|
897
|
+
## search {#search}
|
|
898
|
+
|
|
899
|
+
<GraphQLDoc
|
|
900
|
+
type="query"
|
|
901
|
+
typeName="search"
|
|
902
|
+
typeLinks={{
|
|
903
|
+
SearchResponse: '/reference/graphql-api/admin/object-types#searchresponse',
|
|
904
|
+
SearchInput: '/reference/graphql-api/admin/input-types#searchinput',
|
|
905
|
+
}}
|
|
906
|
+
>
|
|
907
|
+
{`type Query {
|
|
908
|
+
search(input: SearchInput!): SearchResponse!
|
|
909
|
+
}`}
|
|
910
|
+
</GraphQLDoc>
|
|
911
|
+
|
|
912
|
+
## seller {#seller}
|
|
913
|
+
|
|
914
|
+
<GraphQLDoc
|
|
915
|
+
type="query"
|
|
916
|
+
typeName="seller"
|
|
917
|
+
typeLinks={{
|
|
918
|
+
Seller: '/reference/graphql-api/admin/object-types#seller',
|
|
919
|
+
ID: '/reference/graphql-api/admin/object-types#id',
|
|
920
|
+
}}
|
|
921
|
+
>
|
|
922
|
+
{`type Query {
|
|
923
|
+
seller(id: ID!): Seller
|
|
924
|
+
}`}
|
|
925
|
+
</GraphQLDoc>
|
|
926
|
+
|
|
927
|
+
## sellers {#sellers}
|
|
928
|
+
|
|
929
|
+
<GraphQLDoc
|
|
930
|
+
type="query"
|
|
931
|
+
typeName="sellers"
|
|
932
|
+
typeLinks={{
|
|
933
|
+
SellerList: '/reference/graphql-api/admin/object-types#sellerlist',
|
|
934
|
+
SellerListOptions: '/reference/graphql-api/admin/input-types#sellerlistoptions',
|
|
935
|
+
}}
|
|
936
|
+
>
|
|
937
|
+
{`type Query {
|
|
938
|
+
sellers(options: SellerListOptions): SellerList!
|
|
939
|
+
}`}
|
|
940
|
+
</GraphQLDoc>
|
|
941
|
+
|
|
942
|
+
## shippingCalculators {#shippingcalculators}
|
|
943
|
+
|
|
944
|
+
<GraphQLDoc
|
|
945
|
+
type="query"
|
|
946
|
+
typeName="shippingCalculators"
|
|
947
|
+
typeLinks={{
|
|
948
|
+
ConfigurableOperationDefinition: '/reference/graphql-api/admin/object-types#configurableoperationdefinition',
|
|
949
|
+
}}
|
|
950
|
+
>
|
|
951
|
+
{`type Query {
|
|
952
|
+
shippingCalculators: [ConfigurableOperationDefinition!]!
|
|
953
|
+
}`}
|
|
954
|
+
</GraphQLDoc>
|
|
955
|
+
|
|
956
|
+
## shippingEligibilityCheckers {#shippingeligibilitycheckers}
|
|
957
|
+
|
|
958
|
+
<GraphQLDoc
|
|
959
|
+
type="query"
|
|
960
|
+
typeName="shippingEligibilityCheckers"
|
|
961
|
+
typeLinks={{
|
|
962
|
+
ConfigurableOperationDefinition: '/reference/graphql-api/admin/object-types#configurableoperationdefinition',
|
|
963
|
+
}}
|
|
964
|
+
>
|
|
965
|
+
{`type Query {
|
|
966
|
+
shippingEligibilityCheckers: [ConfigurableOperationDefinition!]!
|
|
967
|
+
}`}
|
|
968
|
+
</GraphQLDoc>
|
|
969
|
+
|
|
970
|
+
## shippingMethod {#shippingmethod}
|
|
971
|
+
|
|
972
|
+
<GraphQLDoc
|
|
973
|
+
type="query"
|
|
974
|
+
typeName="shippingMethod"
|
|
975
|
+
typeLinks={{
|
|
976
|
+
ShippingMethod: '/reference/graphql-api/admin/object-types#shippingmethod',
|
|
977
|
+
ID: '/reference/graphql-api/admin/object-types#id',
|
|
978
|
+
}}
|
|
979
|
+
>
|
|
980
|
+
{`type Query {
|
|
981
|
+
shippingMethod(id: ID!): ShippingMethod
|
|
982
|
+
}`}
|
|
983
|
+
</GraphQLDoc>
|
|
984
|
+
|
|
985
|
+
## shippingMethods {#shippingmethods}
|
|
986
|
+
|
|
987
|
+
<GraphQLDoc
|
|
988
|
+
type="query"
|
|
989
|
+
typeName="shippingMethods"
|
|
990
|
+
typeLinks={{
|
|
991
|
+
ShippingMethodList: '/reference/graphql-api/admin/object-types#shippingmethodlist',
|
|
992
|
+
ShippingMethodListOptions: '/reference/graphql-api/admin/input-types#shippingmethodlistoptions',
|
|
993
|
+
}}
|
|
994
|
+
>
|
|
995
|
+
{`type Query {
|
|
996
|
+
shippingMethods(options: ShippingMethodListOptions): ShippingMethodList!
|
|
997
|
+
}`}
|
|
998
|
+
</GraphQLDoc>
|
|
999
|
+
|
|
1000
|
+
## slugForEntity {#slugforentity}
|
|
1001
|
+
|
|
1002
|
+
<GraphQLDoc
|
|
1003
|
+
type="query"
|
|
1004
|
+
typeName="slugForEntity"
|
|
1005
|
+
typeLinks={{
|
|
1006
|
+
String: '/reference/graphql-api/admin/object-types#string',
|
|
1007
|
+
SlugForEntityInput: '/reference/graphql-api/admin/input-types#slugforentityinput',
|
|
1008
|
+
}}
|
|
1009
|
+
>
|
|
1010
|
+
{`"""Generate slug for entity"""
|
|
1011
|
+
type Query {
|
|
1012
|
+
slugForEntity(input: SlugForEntityInput!): String!
|
|
1013
|
+
}`}
|
|
1014
|
+
</GraphQLDoc>
|
|
1015
|
+
|
|
1016
|
+
## stockLocation {#stocklocation}
|
|
1017
|
+
|
|
1018
|
+
<GraphQLDoc
|
|
1019
|
+
type="query"
|
|
1020
|
+
typeName="stockLocation"
|
|
1021
|
+
typeLinks={{
|
|
1022
|
+
StockLocation: '/reference/graphql-api/admin/object-types#stocklocation',
|
|
1023
|
+
ID: '/reference/graphql-api/admin/object-types#id',
|
|
1024
|
+
}}
|
|
1025
|
+
>
|
|
1026
|
+
{`type Query {
|
|
1027
|
+
stockLocation(id: ID!): StockLocation
|
|
1028
|
+
}`}
|
|
1029
|
+
</GraphQLDoc>
|
|
1030
|
+
|
|
1031
|
+
## stockLocations {#stocklocations}
|
|
1032
|
+
|
|
1033
|
+
<GraphQLDoc
|
|
1034
|
+
type="query"
|
|
1035
|
+
typeName="stockLocations"
|
|
1036
|
+
typeLinks={{
|
|
1037
|
+
StockLocationList: '/reference/graphql-api/admin/object-types#stocklocationlist',
|
|
1038
|
+
StockLocationListOptions: '/reference/graphql-api/admin/input-types#stocklocationlistoptions',
|
|
1039
|
+
}}
|
|
1040
|
+
>
|
|
1041
|
+
{`type Query {
|
|
1042
|
+
stockLocations(options: StockLocationListOptions): StockLocationList!
|
|
1043
|
+
}`}
|
|
1044
|
+
</GraphQLDoc>
|
|
1045
|
+
|
|
1046
|
+
## tag {#tag}
|
|
1047
|
+
|
|
1048
|
+
<GraphQLDoc
|
|
1049
|
+
type="query"
|
|
1050
|
+
typeName="tag"
|
|
1051
|
+
typeLinks={{
|
|
1052
|
+
Tag: '/reference/graphql-api/admin/object-types#tag',
|
|
1053
|
+
ID: '/reference/graphql-api/admin/object-types#id',
|
|
1054
|
+
}}
|
|
1055
|
+
>
|
|
1056
|
+
{`type Query {
|
|
1057
|
+
tag(id: ID!): Tag!
|
|
1058
|
+
}`}
|
|
1059
|
+
</GraphQLDoc>
|
|
1060
|
+
|
|
1061
|
+
## tags {#tags}
|
|
1062
|
+
|
|
1063
|
+
<GraphQLDoc
|
|
1064
|
+
type="query"
|
|
1065
|
+
typeName="tags"
|
|
1066
|
+
typeLinks={{
|
|
1067
|
+
TagList: '/reference/graphql-api/admin/object-types#taglist',
|
|
1068
|
+
TagListOptions: '/reference/graphql-api/admin/input-types#taglistoptions',
|
|
1069
|
+
}}
|
|
1070
|
+
>
|
|
1071
|
+
{`type Query {
|
|
1072
|
+
tags(options: TagListOptions): TagList!
|
|
1073
|
+
}`}
|
|
1074
|
+
</GraphQLDoc>
|
|
1075
|
+
|
|
1076
|
+
## taxCategories {#taxcategories}
|
|
1077
|
+
|
|
1078
|
+
<GraphQLDoc
|
|
1079
|
+
type="query"
|
|
1080
|
+
typeName="taxCategories"
|
|
1081
|
+
typeLinks={{
|
|
1082
|
+
TaxCategoryList: '/reference/graphql-api/admin/object-types#taxcategorylist',
|
|
1083
|
+
TaxCategoryListOptions: '/reference/graphql-api/admin/input-types#taxcategorylistoptions',
|
|
1084
|
+
}}
|
|
1085
|
+
>
|
|
1086
|
+
{`type Query {
|
|
1087
|
+
taxCategories(options: TaxCategoryListOptions): TaxCategoryList!
|
|
1088
|
+
}`}
|
|
1089
|
+
</GraphQLDoc>
|
|
1090
|
+
|
|
1091
|
+
## taxCategory {#taxcategory}
|
|
1092
|
+
|
|
1093
|
+
<GraphQLDoc
|
|
1094
|
+
type="query"
|
|
1095
|
+
typeName="taxCategory"
|
|
1096
|
+
typeLinks={{
|
|
1097
|
+
TaxCategory: '/reference/graphql-api/admin/object-types#taxcategory',
|
|
1098
|
+
ID: '/reference/graphql-api/admin/object-types#id',
|
|
1099
|
+
}}
|
|
1100
|
+
>
|
|
1101
|
+
{`type Query {
|
|
1102
|
+
taxCategory(id: ID!): TaxCategory
|
|
1103
|
+
}`}
|
|
1104
|
+
</GraphQLDoc>
|
|
1105
|
+
|
|
1106
|
+
## taxRate {#taxrate}
|
|
1107
|
+
|
|
1108
|
+
<GraphQLDoc
|
|
1109
|
+
type="query"
|
|
1110
|
+
typeName="taxRate"
|
|
1111
|
+
typeLinks={{
|
|
1112
|
+
TaxRate: '/reference/graphql-api/admin/object-types#taxrate',
|
|
1113
|
+
ID: '/reference/graphql-api/admin/object-types#id',
|
|
1114
|
+
}}
|
|
1115
|
+
>
|
|
1116
|
+
{`type Query {
|
|
1117
|
+
taxRate(id: ID!): TaxRate
|
|
1118
|
+
}`}
|
|
1119
|
+
</GraphQLDoc>
|
|
1120
|
+
|
|
1121
|
+
## taxRates {#taxrates}
|
|
1122
|
+
|
|
1123
|
+
<GraphQLDoc
|
|
1124
|
+
type="query"
|
|
1125
|
+
typeName="taxRates"
|
|
1126
|
+
typeLinks={{
|
|
1127
|
+
TaxRateList: '/reference/graphql-api/admin/object-types#taxratelist',
|
|
1128
|
+
TaxRateListOptions: '/reference/graphql-api/admin/input-types#taxratelistoptions',
|
|
1129
|
+
}}
|
|
1130
|
+
>
|
|
1131
|
+
{`type Query {
|
|
1132
|
+
taxRates(options: TaxRateListOptions): TaxRateList!
|
|
1133
|
+
}`}
|
|
1134
|
+
</GraphQLDoc>
|
|
1135
|
+
|
|
1136
|
+
## testEligibleShippingMethods {#testeligibleshippingmethods}
|
|
1137
|
+
|
|
1138
|
+
<GraphQLDoc
|
|
1139
|
+
type="query"
|
|
1140
|
+
typeName="testEligibleShippingMethods"
|
|
1141
|
+
typeLinks={{
|
|
1142
|
+
ShippingMethodQuote: '/reference/graphql-api/admin/object-types#shippingmethodquote',
|
|
1143
|
+
TestEligibleShippingMethodsInput: '/reference/graphql-api/admin/input-types#testeligibleshippingmethodsinput',
|
|
1144
|
+
}}
|
|
1145
|
+
>
|
|
1146
|
+
{`type Query {
|
|
1147
|
+
testEligibleShippingMethods(input: TestEligibleShippingMethodsInput!): [ShippingMethodQuote!]!
|
|
1148
|
+
}`}
|
|
1149
|
+
</GraphQLDoc>
|
|
1150
|
+
|
|
1151
|
+
## testShippingMethod {#testshippingmethod}
|
|
1152
|
+
|
|
1153
|
+
<GraphQLDoc
|
|
1154
|
+
type="query"
|
|
1155
|
+
typeName="testShippingMethod"
|
|
1156
|
+
typeLinks={{
|
|
1157
|
+
TestShippingMethodResult: '/reference/graphql-api/admin/object-types#testshippingmethodresult',
|
|
1158
|
+
TestShippingMethodInput: '/reference/graphql-api/admin/input-types#testshippingmethodinput',
|
|
1159
|
+
}}
|
|
1160
|
+
>
|
|
1161
|
+
{`type Query {
|
|
1162
|
+
testShippingMethod(input: TestShippingMethodInput!): TestShippingMethodResult!
|
|
1163
|
+
}`}
|
|
1164
|
+
</GraphQLDoc>
|
|
1165
|
+
|
|
1166
|
+
## zone {#zone}
|
|
1167
|
+
|
|
1168
|
+
<GraphQLDoc
|
|
1169
|
+
type="query"
|
|
1170
|
+
typeName="zone"
|
|
1171
|
+
typeLinks={{
|
|
1172
|
+
Zone: '/reference/graphql-api/admin/object-types#zone',
|
|
1173
|
+
ID: '/reference/graphql-api/admin/object-types#id',
|
|
1174
|
+
}}
|
|
1175
|
+
>
|
|
1176
|
+
{`type Query {
|
|
1177
|
+
zone(id: ID!): Zone
|
|
1178
|
+
}`}
|
|
1179
|
+
</GraphQLDoc>
|
|
1180
|
+
|
|
1181
|
+
## zones {#zones}
|
|
1182
|
+
|
|
1183
|
+
<GraphQLDoc
|
|
1184
|
+
type="query"
|
|
1185
|
+
typeName="zones"
|
|
1186
|
+
typeLinks={{
|
|
1187
|
+
ZoneList: '/reference/graphql-api/admin/object-types#zonelist',
|
|
1188
|
+
ZoneListOptions: '/reference/graphql-api/admin/input-types#zonelistoptions',
|
|
1189
|
+
}}
|
|
1190
|
+
>
|
|
1191
|
+
{`type Query {
|
|
1192
|
+
zones(options: ZoneListOptions): ZoneList!
|
|
1193
|
+
}`}
|
|
1194
|
+
</GraphQLDoc>
|