picked 0.0.101 → 0.0.102-next.2
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/dashboard/workflow-test-runs.md +40 -17
- package/docs/reference/management-api/schema/action.md +67 -79
- package/docs/reference/management-api/schema/analytics-session.md +77 -94
- package/docs/reference/management-api/schema/analytics.md +16 -14
- package/docs/reference/management-api/schema/api-key.md +43 -51
- package/docs/reference/management-api/schema/auth.md +271 -404
- package/docs/reference/management-api/schema/cms-fields.md +348 -245
- package/docs/reference/management-api/schema/cms-models.md +369 -378
- package/docs/reference/management-api/schema/common.md +69 -130
- package/docs/reference/management-api/schema/condition.md +63 -74
- package/docs/reference/management-api/schema/design-system.md +59 -51
- package/docs/reference/management-api/schema/experience.md +388 -364
- package/docs/reference/management-api/schema/external-api.md +153 -171
- package/docs/reference/management-api/schema/feature.md +85 -103
- package/docs/reference/management-api/schema/feedback.md +27 -31
- package/docs/reference/management-api/schema/field.md +117 -135
- package/docs/reference/management-api/schema/index.md +184 -184
- package/docs/reference/management-api/schema/integration.md +72 -78
- package/docs/reference/management-api/schema/label.md +81 -137
- package/docs/reference/management-api/schema/lead.md +80 -119
- package/docs/reference/management-api/schema/mcp-server.md +73 -71
- package/docs/reference/management-api/schema/metric.md +6 -9
- package/docs/reference/management-api/schema/operation.md +17 -26
- package/docs/reference/management-api/schema/organization.md +198 -220
- package/docs/reference/management-api/schema/project.md +177 -186
- package/docs/reference/management-api/schema/report.md +69 -65
- package/docs/reference/management-api/schema/saved-view.md +71 -71
- package/docs/reference/management-api/schema/shopify.md +331 -204
- package/docs/reference/management-api/schema/step.md +72 -80
- package/docs/reference/management-api/schema/tenant-branding.md +48 -70
- package/docs/reference/management-api/schema/workbench.md +54 -66
- package/docs/reference/management-api/schema/workflow-run.md +66 -79
- package/docs/reference/management-api/schema/workflow.md +310 -353
- package/docs/reference/management-api/schema/workspace-version.md +212 -261
- package/docs/reference/management-api/schema/workspace.md +275 -328
- package/package.json +4 -4
|
@@ -6,25 +6,30 @@ generated: true
|
|
|
6
6
|
|
|
7
7
|
# Shopify schema
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
See [Management API schema](/reference/management-api/schema) for every domain, the endpoint and authentication.
|
|
10
10
|
|
|
11
11
|
## Queries
|
|
12
12
|
|
|
13
13
|
### `shopifyProduct`
|
|
14
14
|
|
|
15
|
+
Reads a Shopify product. Always returns null.
|
|
16
|
+
|
|
15
17
|
```graphql
|
|
16
18
|
shopifyProduct(input: ShopifyProductInput!): ShopifyProduct @auth @deprecated(reason: "Picked no longer reads Shopify products. Always returns null; will be removed.")
|
|
17
19
|
```
|
|
18
20
|
|
|
19
21
|
### `shopifyProducts`
|
|
20
22
|
|
|
23
|
+
Lists Shopify products. Always returns an empty page.
|
|
24
|
+
|
|
21
25
|
```graphql
|
|
22
26
|
shopifyProducts(input: ShopifyProductsInput!): ShopifyProductsResponse! @auth @deprecated(reason: "Picked no longer reads Shopify products. Always returns an empty page; will be removed.")
|
|
23
27
|
```
|
|
24
28
|
|
|
25
29
|
### `shopifyWebhooks`
|
|
26
30
|
|
|
27
|
-
|
|
31
|
+
Lists an organisation's Shopify webhooks.
|
|
32
|
+
Scope: `ORGANIZATION_INTEGRATIONS_READ`.
|
|
28
33
|
|
|
29
34
|
```graphql
|
|
30
35
|
shopifyWebhooks(input: ShopifyWebhooksInput!): [ShopifyWebhook!]! @auth
|
|
@@ -32,7 +37,8 @@ shopifyWebhooks(input: ShopifyWebhooksInput!): [ShopifyWebhook!]! @auth
|
|
|
32
37
|
|
|
33
38
|
### `shopifyMetafieldConfigs`
|
|
34
39
|
|
|
35
|
-
|
|
40
|
+
Lists a project's Shopify metafield configs.
|
|
41
|
+
Scope: `ORGANIZATION_INTEGRATIONS_READ`.
|
|
36
42
|
|
|
37
43
|
```graphql
|
|
38
44
|
shopifyMetafieldConfigs(input: ShopifyMetafieldConfigsInput!): [ShopifyMetafieldConfig!]! @auth
|
|
@@ -40,12 +46,18 @@ shopifyMetafieldConfigs(input: ShopifyMetafieldConfigsInput!): [ShopifyMetafield
|
|
|
40
46
|
|
|
41
47
|
### `organizationShopifyWebhooks`
|
|
42
48
|
|
|
49
|
+
Lists an organisation's Shopify webhooks.
|
|
50
|
+
Scope: `ORGANIZATION_INTEGRATIONS_READ`.
|
|
51
|
+
|
|
43
52
|
```graphql
|
|
44
53
|
organizationShopifyWebhooks(input: OrganizationShopifyWebhooksInput!): [ShopifyWebhook!]! @auth @deprecated(reason: "Use `shopifyWebhooks` instead")
|
|
45
54
|
```
|
|
46
55
|
|
|
47
56
|
### `projectShopifyMetafieldConfigs`
|
|
48
57
|
|
|
58
|
+
Lists a project's Shopify metafield configs.
|
|
59
|
+
Scope: `ORGANIZATION_INTEGRATIONS_READ`.
|
|
60
|
+
|
|
49
61
|
```graphql
|
|
50
62
|
projectShopifyMetafieldConfigs(input: ProjectMetafieldConfigsInput!): [ShopifyMetafieldConfig!]! @auth @deprecated(reason: "Use `shopifyMetafieldConfigs` instead")
|
|
51
63
|
```
|
|
@@ -54,7 +66,9 @@ projectShopifyMetafieldConfigs(input: ProjectMetafieldConfigsInput!): [ShopifyMe
|
|
|
54
66
|
|
|
55
67
|
### `shopifyWebhookCreate`
|
|
56
68
|
|
|
57
|
-
|
|
69
|
+
Creates a Shopify webhook for a project and generates its HMAC secret. The result is the only
|
|
70
|
+
place the secret appears.
|
|
71
|
+
Scope: `ORGANIZATION_INTEGRATIONS_CREATE` and `ORGANIZATION_INTEGRATIONS_READ`.
|
|
58
72
|
|
|
59
73
|
```graphql
|
|
60
74
|
shopifyWebhookCreate(input: ShopifyWebhookCreateInput!): ShopifyWebhookCreatePayload! @auth
|
|
@@ -62,7 +76,8 @@ shopifyWebhookCreate(input: ShopifyWebhookCreateInput!): ShopifyWebhookCreatePay
|
|
|
62
76
|
|
|
63
77
|
### `shopifyWebhookUpdate`
|
|
64
78
|
|
|
65
|
-
|
|
79
|
+
Updates a Shopify webhook.
|
|
80
|
+
Scope: `ORGANIZATION_INTEGRATIONS_UPDATE`.
|
|
66
81
|
|
|
67
82
|
```graphql
|
|
68
83
|
shopifyWebhookUpdate(input: ShopifyWebhookUpdateInput!): Boolean! @auth
|
|
@@ -70,7 +85,8 @@ shopifyWebhookUpdate(input: ShopifyWebhookUpdateInput!): Boolean! @auth
|
|
|
70
85
|
|
|
71
86
|
### `shopifyWebhookDelete`
|
|
72
87
|
|
|
73
|
-
|
|
88
|
+
Deletes a Shopify webhook.
|
|
89
|
+
Scope: `ORGANIZATION_INTEGRATIONS_DELETE`.
|
|
74
90
|
|
|
75
91
|
```graphql
|
|
76
92
|
shopifyWebhookDelete(input: ShopifyWebhookDeleteInput!): Boolean! @auth
|
|
@@ -78,7 +94,9 @@ shopifyWebhookDelete(input: ShopifyWebhookDeleteInput!): Boolean! @auth
|
|
|
78
94
|
|
|
79
95
|
### `shopifyProductContentUpdate`
|
|
80
96
|
|
|
81
|
-
|
|
97
|
+
Updates the content at `key` of a Shopify product, stored in its app metafield `content.<key>`.
|
|
98
|
+
Keeps up to nine earlier values. The shop must belong to the calling API key's organisation.
|
|
99
|
+
Scope: `ORGANIZATION_INTEGRATIONS_UPDATE`.
|
|
82
100
|
|
|
83
101
|
```graphql
|
|
84
102
|
shopifyProductContentUpdate(input: ShopifyProductContentUpdateInput!): Boolean! @auth
|
|
@@ -86,7 +104,9 @@ shopifyProductContentUpdate(input: ShopifyProductContentUpdateInput!): Boolean!
|
|
|
86
104
|
|
|
87
105
|
### `shopifyCollectionContentUpdate`
|
|
88
106
|
|
|
89
|
-
|
|
107
|
+
Updates the content at `key` of a Shopify collection, stored in its app metafield `content.<key>`.
|
|
108
|
+
Keeps up to nine earlier values. The shop must belong to the calling API key's organisation.
|
|
109
|
+
Scope: `ORGANIZATION_INTEGRATIONS_UPDATE`.
|
|
90
110
|
|
|
91
111
|
```graphql
|
|
92
112
|
shopifyCollectionContentUpdate(input: ShopifyCollectionContentUpdateInput!): Boolean! @auth
|
|
@@ -94,7 +114,8 @@ shopifyCollectionContentUpdate(input: ShopifyCollectionContentUpdateInput!): Boo
|
|
|
94
114
|
|
|
95
115
|
### `shopifyMetafieldConfigCreate`
|
|
96
116
|
|
|
97
|
-
|
|
117
|
+
Creates a Shopify metafield config for a project.
|
|
118
|
+
Scope: `ORGANIZATION_INTEGRATIONS_CREATE`.
|
|
98
119
|
|
|
99
120
|
```graphql
|
|
100
121
|
shopifyMetafieldConfigCreate(input: ShopifyMetafieldConfigCreateInput!): ShopifyMetafieldConfig! @auth
|
|
@@ -102,7 +123,8 @@ shopifyMetafieldConfigCreate(input: ShopifyMetafieldConfigCreateInput!): Shopify
|
|
|
102
123
|
|
|
103
124
|
### `shopifyMetafieldConfigUpdate`
|
|
104
125
|
|
|
105
|
-
|
|
126
|
+
Updates a Shopify metafield config.
|
|
127
|
+
Scope: `ORGANIZATION_INTEGRATIONS_UPDATE`.
|
|
106
128
|
|
|
107
129
|
```graphql
|
|
108
130
|
shopifyMetafieldConfigUpdate(input: ShopifyMetafieldConfigUpdateInput!): Boolean! @auth
|
|
@@ -110,7 +132,8 @@ shopifyMetafieldConfigUpdate(input: ShopifyMetafieldConfigUpdateInput!): Boolean
|
|
|
110
132
|
|
|
111
133
|
### `shopifyMetafieldConfigDelete`
|
|
112
134
|
|
|
113
|
-
|
|
135
|
+
Deletes a Shopify metafield config.
|
|
136
|
+
Scope: `ORGANIZATION_INTEGRATIONS_DELETE`.
|
|
114
137
|
|
|
115
138
|
```graphql
|
|
116
139
|
shopifyMetafieldConfigDelete(input: ShopifyMetafieldConfigDeleteInput!): Boolean! @auth
|
|
@@ -118,48 +141,75 @@ shopifyMetafieldConfigDelete(input: ShopifyMetafieldConfigDeleteInput!): Boolean
|
|
|
118
141
|
|
|
119
142
|
### `createShopifyWebhook`
|
|
120
143
|
|
|
144
|
+
Creates a Shopify webhook for a project and generates its HMAC secret. The result is the only
|
|
145
|
+
place the secret appears.
|
|
146
|
+
Scope: `ORGANIZATION_INTEGRATIONS_CREATE` and `ORGANIZATION_INTEGRATIONS_READ`.
|
|
147
|
+
|
|
121
148
|
```graphql
|
|
122
149
|
createShopifyWebhook(input: CreateShopifyWebhookInput!): CreateShopifyWebhookResponse! @auth @deprecated(reason: "Use `shopifyWebhookCreate` instead")
|
|
123
150
|
```
|
|
124
151
|
|
|
125
152
|
### `updateShopifyWebhook`
|
|
126
153
|
|
|
154
|
+
Updates a Shopify webhook.
|
|
155
|
+
Scope: `ORGANIZATION_INTEGRATIONS_UPDATE`.
|
|
156
|
+
|
|
127
157
|
```graphql
|
|
128
158
|
updateShopifyWebhook(input: UpdateShopifyWebhookInput!): Boolean! @auth @deprecated(reason: "Use `shopifyWebhookUpdate` instead")
|
|
129
159
|
```
|
|
130
160
|
|
|
131
161
|
### `deleteShopifyWebhook`
|
|
132
162
|
|
|
163
|
+
Deletes a Shopify webhook.
|
|
164
|
+
Scope: `ORGANIZATION_INTEGRATIONS_DELETE`.
|
|
165
|
+
|
|
133
166
|
```graphql
|
|
134
167
|
deleteShopifyWebhook(input: DeleteShopifyWebhookInput!): Boolean! @auth @deprecated(reason: "Use `shopifyWebhookDelete` instead")
|
|
135
168
|
```
|
|
136
169
|
|
|
137
170
|
### `updateShopifyProductContent`
|
|
138
171
|
|
|
172
|
+
Updates the content at `key` of a Shopify product, stored in its app metafield `content.<key>`.
|
|
173
|
+
Keeps up to nine earlier values. The shop must belong to the calling API key's organisation.
|
|
174
|
+
Scope: `ORGANIZATION_INTEGRATIONS_UPDATE`.
|
|
175
|
+
|
|
139
176
|
```graphql
|
|
140
177
|
updateShopifyProductContent(input: UpdateShopifyProductContentInput!): Boolean! @auth @deprecated(reason: "Use `shopifyProductContentUpdate` instead")
|
|
141
178
|
```
|
|
142
179
|
|
|
143
180
|
### `updateShopifyCollectionContent`
|
|
144
181
|
|
|
182
|
+
Updates the content at `key` of a Shopify collection, stored in its app metafield `content.<key>`.
|
|
183
|
+
Keeps up to nine earlier values. The shop must belong to the calling API key's organisation.
|
|
184
|
+
Scope: `ORGANIZATION_INTEGRATIONS_UPDATE`.
|
|
185
|
+
|
|
145
186
|
```graphql
|
|
146
187
|
updateShopifyCollectionContent(input: UpdateShopifyCollectionContentInput!): Boolean! @auth @deprecated(reason: "Use `shopifyCollectionContentUpdate` instead")
|
|
147
188
|
```
|
|
148
189
|
|
|
149
190
|
### `createShopifyMetafieldConfig`
|
|
150
191
|
|
|
192
|
+
Creates a Shopify metafield config for a project.
|
|
193
|
+
Scope: `ORGANIZATION_INTEGRATIONS_CREATE`.
|
|
194
|
+
|
|
151
195
|
```graphql
|
|
152
196
|
createShopifyMetafieldConfig(input: CreateShopifyMetafieldConfigInput!): ShopifyMetafieldConfig! @auth @deprecated(reason: "Use `shopifyMetafieldConfigCreate` instead")
|
|
153
197
|
```
|
|
154
198
|
|
|
155
199
|
### `updateShopifyMetafieldConfig`
|
|
156
200
|
|
|
201
|
+
Updates a Shopify metafield config.
|
|
202
|
+
Scope: `ORGANIZATION_INTEGRATIONS_UPDATE`.
|
|
203
|
+
|
|
157
204
|
```graphql
|
|
158
205
|
updateShopifyMetafieldConfig(input: UpdateShopifyMetafieldConfigInput!): Boolean! @auth @deprecated(reason: "Use `shopifyMetafieldConfigUpdate` instead")
|
|
159
206
|
```
|
|
160
207
|
|
|
161
208
|
### `deleteShopifyMetafieldConfig`
|
|
162
209
|
|
|
210
|
+
Deletes a Shopify metafield config.
|
|
211
|
+
Scope: `ORGANIZATION_INTEGRATIONS_DELETE`.
|
|
212
|
+
|
|
163
213
|
```graphql
|
|
164
214
|
deleteShopifyMetafieldConfig(input: DeleteShopifyMetafieldConfigInput!): Boolean! @auth @deprecated(reason: "Use `shopifyMetafieldConfigDelete` instead")
|
|
165
215
|
```
|
|
@@ -169,17 +219,17 @@ deleteShopifyMetafieldConfig(input: DeleteShopifyMetafieldConfigInput!): Boolean
|
|
|
169
219
|
### `ShopifyProductOption`
|
|
170
220
|
|
|
171
221
|
```graphql
|
|
172
|
-
"""
|
|
222
|
+
"""An option of a Shopify product, such as `Color` or `Size`."""
|
|
173
223
|
type ShopifyProductOption {
|
|
174
|
-
"""
|
|
224
|
+
"""The ID of the option."""
|
|
175
225
|
id: ID
|
|
176
|
-
"""ID of the product
|
|
226
|
+
"""The ID of the product the option belongs to."""
|
|
177
227
|
productId: ID
|
|
178
|
-
"""
|
|
228
|
+
"""The option's name, such as `Color`."""
|
|
179
229
|
name: String
|
|
180
|
-
"""
|
|
230
|
+
"""The option's position in the product's options."""
|
|
181
231
|
position: Int
|
|
182
|
-
"""
|
|
232
|
+
"""The option's values, such as `["Red", "Blue"]`."""
|
|
183
233
|
values: [String!]
|
|
184
234
|
}
|
|
185
235
|
```
|
|
@@ -187,33 +237,33 @@ type ShopifyProductOption {
|
|
|
187
237
|
### `ShopifyImage`
|
|
188
238
|
|
|
189
239
|
```graphql
|
|
190
|
-
"""
|
|
240
|
+
"""An image of a Shopify product."""
|
|
191
241
|
type ShopifyImage {
|
|
192
|
-
"""
|
|
242
|
+
"""The ID of the image."""
|
|
193
243
|
id: ID
|
|
194
|
-
"""ID of the product
|
|
244
|
+
"""The ID of the product the image belongs to."""
|
|
195
245
|
productId: ID
|
|
196
|
-
"""
|
|
246
|
+
"""The image's position in the product's images."""
|
|
197
247
|
position: Int
|
|
198
|
-
"""When
|
|
248
|
+
"""When the image was created, as an ISO 8601 string."""
|
|
199
249
|
createdAt: String
|
|
200
|
-
"""When
|
|
250
|
+
"""When the image last changed, as an ISO 8601 string."""
|
|
201
251
|
updatedAt: String
|
|
202
|
-
"""
|
|
252
|
+
"""The width in pixels."""
|
|
203
253
|
width: Int
|
|
204
|
-
"""
|
|
254
|
+
"""The height in pixels."""
|
|
205
255
|
height: Int
|
|
206
|
-
"""
|
|
256
|
+
"""The image URL."""
|
|
207
257
|
src: String
|
|
208
|
-
"""
|
|
258
|
+
"""The image as Base64. Null except on upload."""
|
|
209
259
|
attachment: String
|
|
210
|
-
"""
|
|
260
|
+
"""The file name."""
|
|
211
261
|
filename: String
|
|
212
|
-
"""
|
|
262
|
+
"""The alt text."""
|
|
213
263
|
alt: String
|
|
214
|
-
"""IDs of variants
|
|
264
|
+
"""The IDs of the variants that show the image."""
|
|
215
265
|
variantIds: [ID!]
|
|
216
|
-
"""Admin GraphQL API ID."""
|
|
266
|
+
"""The image's Shopify Admin GraphQL API ID."""
|
|
217
267
|
adminGraphqlApiId: String
|
|
218
268
|
}
|
|
219
269
|
```
|
|
@@ -221,63 +271,61 @@ type ShopifyImage {
|
|
|
221
271
|
### `ShopifyVariant`
|
|
222
272
|
|
|
223
273
|
```graphql
|
|
224
|
-
"""A Shopify product
|
|
274
|
+
"""A variant of a Shopify product."""
|
|
225
275
|
type ShopifyVariant {
|
|
226
|
-
"""
|
|
276
|
+
"""The ID of the variant."""
|
|
227
277
|
id: ID
|
|
228
|
-
"""ID of the product
|
|
278
|
+
"""The ID of the product the variant belongs to."""
|
|
229
279
|
productId: ID
|
|
230
|
-
"""
|
|
231
|
-
Display title of the variant (typically a composition of option values, e.g. `Red / Small`).
|
|
232
|
-
"""
|
|
280
|
+
"""The variant's title, usually its option values, such as `Red / Small`."""
|
|
233
281
|
title: String
|
|
234
|
-
"""
|
|
282
|
+
"""The stock keeping unit."""
|
|
235
283
|
sku: String
|
|
236
|
-
"""
|
|
284
|
+
"""The variant's position in the product's variants."""
|
|
237
285
|
position: Int
|
|
238
|
-
"""
|
|
286
|
+
"""The weight in grams."""
|
|
239
287
|
grams: Int
|
|
240
|
-
"""
|
|
288
|
+
"""What happens when the variant is out of stock: `deny` or `continue`."""
|
|
241
289
|
inventoryPolicy: String
|
|
242
|
-
"""
|
|
290
|
+
"""The price, in the shop's currency."""
|
|
243
291
|
price: String
|
|
244
|
-
"""
|
|
292
|
+
"""The compare-at price."""
|
|
245
293
|
compareAtPrice: String
|
|
246
|
-
"""
|
|
294
|
+
"""The fulfilment service."""
|
|
247
295
|
fulfillmentService: String
|
|
248
|
-
"""
|
|
296
|
+
"""The inventory management service."""
|
|
249
297
|
inventoryManagement: String
|
|
250
|
-
"""ID of the inventory item."""
|
|
298
|
+
"""The ID of the inventory item."""
|
|
251
299
|
inventoryItemId: ID
|
|
252
|
-
"""
|
|
300
|
+
"""The value of the first option."""
|
|
253
301
|
option1: String
|
|
254
|
-
"""
|
|
302
|
+
"""The value of the second option."""
|
|
255
303
|
option2: String
|
|
256
|
-
"""
|
|
304
|
+
"""The value of the third option."""
|
|
257
305
|
option3: String
|
|
258
|
-
"""When
|
|
306
|
+
"""When the variant was created, as an ISO 8601 string."""
|
|
259
307
|
createdAt: String
|
|
260
|
-
"""When
|
|
308
|
+
"""When the variant last changed, as an ISO 8601 string."""
|
|
261
309
|
updatedAt: String
|
|
262
|
-
"""Whether
|
|
310
|
+
"""Whether the variant is taxable."""
|
|
263
311
|
taxable: Boolean
|
|
264
|
-
"""
|
|
312
|
+
"""The tax code."""
|
|
265
313
|
taxCode: String
|
|
266
|
-
"""
|
|
314
|
+
"""The barcode."""
|
|
267
315
|
barcode: String
|
|
268
|
-
"""ID of the
|
|
316
|
+
"""The ID of the variant's image."""
|
|
269
317
|
imageId: ID
|
|
270
|
-
"""
|
|
318
|
+
"""The inventory quantity."""
|
|
271
319
|
inventoryQuantity: Int
|
|
272
|
-
"""
|
|
320
|
+
"""The weight, in `weightUnit`."""
|
|
273
321
|
weight: String
|
|
274
|
-
"""
|
|
322
|
+
"""The unit of `weight`."""
|
|
275
323
|
weightUnit: String
|
|
276
|
-
"""
|
|
324
|
+
"""The inventory quantity before the last change."""
|
|
277
325
|
oldInventoryQuantity: Int
|
|
278
|
-
"""Whether
|
|
326
|
+
"""Whether the variant needs shipping."""
|
|
279
327
|
requireShipping: Boolean
|
|
280
|
-
"""Admin GraphQL API ID."""
|
|
328
|
+
"""The variant's Shopify Admin GraphQL API ID."""
|
|
281
329
|
adminGraphqlApiId: String
|
|
282
330
|
}
|
|
283
331
|
```
|
|
@@ -286,34 +334,30 @@ type ShopifyVariant {
|
|
|
286
334
|
|
|
287
335
|
```graphql
|
|
288
336
|
"""
|
|
289
|
-
A Shopify metafield
|
|
337
|
+
A Shopify metafield: structured data attached to a product, variant or other resource.
|
|
290
338
|
"""
|
|
291
339
|
type ShopifyMetafield {
|
|
292
|
-
"""
|
|
340
|
+
"""The ID of the metafield."""
|
|
293
341
|
id: ID
|
|
294
|
-
"""
|
|
342
|
+
"""The metafield's namespace, such as `custom`."""
|
|
295
343
|
namespace: String
|
|
296
|
-
"""
|
|
344
|
+
"""The metafield's key, unique within its namespace."""
|
|
297
345
|
key: String
|
|
298
|
-
"""
|
|
346
|
+
"""The value, encoded as `type` defines."""
|
|
299
347
|
value: String
|
|
300
|
-
"""
|
|
301
|
-
Type of the metafield value (e.g. `single_line_text_field`, `number_integer`).
|
|
302
|
-
"""
|
|
348
|
+
"""The value type, such as `single_line_text_field`."""
|
|
303
349
|
type: String
|
|
304
|
-
"""
|
|
350
|
+
"""The metafield's description."""
|
|
305
351
|
description: String
|
|
306
|
-
"""ID of the resource
|
|
352
|
+
"""The ID of the resource the metafield belongs to."""
|
|
307
353
|
ownerId: ID
|
|
308
|
-
"""
|
|
309
|
-
Type of the resource that owns this metafield (e.g. `Product`, `Variant`).
|
|
310
|
-
"""
|
|
354
|
+
"""The type of the resource the metafield belongs to, such as `Product`."""
|
|
311
355
|
ownerResource: String
|
|
312
|
-
"""When
|
|
356
|
+
"""When the metafield was created, as an ISO 8601 string."""
|
|
313
357
|
createdAt: String
|
|
314
|
-
"""When
|
|
358
|
+
"""When the metafield last changed, as an ISO 8601 string."""
|
|
315
359
|
updatedAt: String
|
|
316
|
-
"""Admin GraphQL API ID."""
|
|
360
|
+
"""The metafield's Shopify Admin GraphQL API ID."""
|
|
317
361
|
adminGraphqlApiId: String
|
|
318
362
|
}
|
|
319
363
|
```
|
|
@@ -323,47 +367,47 @@ type ShopifyMetafield {
|
|
|
323
367
|
```graphql
|
|
324
368
|
"""A Shopify product."""
|
|
325
369
|
type ShopifyProduct {
|
|
326
|
-
"""
|
|
370
|
+
"""The ID of the product."""
|
|
327
371
|
id: ID
|
|
328
|
-
"""
|
|
372
|
+
"""The product's title."""
|
|
329
373
|
title: String
|
|
330
|
-
"""
|
|
374
|
+
"""The product's description, as HTML."""
|
|
331
375
|
bodyHtml: String
|
|
332
|
-
"""
|
|
376
|
+
"""The vendor."""
|
|
333
377
|
vendor: String
|
|
334
|
-
"""
|
|
378
|
+
"""The product type."""
|
|
335
379
|
productType: String
|
|
336
|
-
"""
|
|
380
|
+
"""The product's handle in URLs."""
|
|
337
381
|
handle: String
|
|
338
|
-
"""When
|
|
382
|
+
"""When the product was created, as an ISO 8601 string."""
|
|
339
383
|
createdAt: String
|
|
340
|
-
"""When
|
|
384
|
+
"""When the product last changed, as an ISO 8601 string."""
|
|
341
385
|
updatedAt: String
|
|
342
|
-
"""When
|
|
386
|
+
"""When the product was published, as an ISO 8601 string."""
|
|
343
387
|
publishedAt: String
|
|
344
|
-
"""
|
|
388
|
+
"""Where the product is published: `web` or `global`."""
|
|
345
389
|
publishedScope: String
|
|
346
|
-
"""
|
|
390
|
+
"""The product's tags, comma-separated."""
|
|
347
391
|
tags: String
|
|
348
|
-
"""
|
|
392
|
+
"""The product's status: `active`, `draft` or `archived`."""
|
|
349
393
|
status: String
|
|
350
|
-
"""
|
|
394
|
+
"""The product's options."""
|
|
351
395
|
options: [ShopifyProductOption!]
|
|
352
|
-
"""
|
|
396
|
+
"""The product's variants."""
|
|
353
397
|
variants: [ShopifyVariant!]
|
|
354
|
-
"""
|
|
398
|
+
"""The product's main image."""
|
|
355
399
|
image: ShopifyImage
|
|
356
|
-
"""
|
|
400
|
+
"""The product's images."""
|
|
357
401
|
images: [ShopifyImage!]
|
|
358
|
-
"""
|
|
402
|
+
"""The suffix of the product's theme template."""
|
|
359
403
|
templateSuffix: String
|
|
360
|
-
"""
|
|
404
|
+
"""The title meta tag."""
|
|
361
405
|
metafieldsGlobalTitleTag: String
|
|
362
|
-
"""
|
|
406
|
+
"""The description meta tag."""
|
|
363
407
|
metafieldsGlobalDescriptionTag: String
|
|
364
|
-
"""
|
|
408
|
+
"""The product's metafields."""
|
|
365
409
|
metafields: [ShopifyMetafield!]
|
|
366
|
-
"""Admin GraphQL API ID."""
|
|
410
|
+
"""The product's Shopify Admin GraphQL API ID."""
|
|
367
411
|
adminGraphqlApiId: String
|
|
368
412
|
}
|
|
369
413
|
```
|
|
@@ -371,19 +415,19 @@ type ShopifyProduct {
|
|
|
371
415
|
### `ShopifyProductsResponse`
|
|
372
416
|
|
|
373
417
|
```graphql
|
|
374
|
-
"""
|
|
418
|
+
"""A page of Shopify products."""
|
|
375
419
|
type ShopifyProductsResponse {
|
|
376
|
-
"""
|
|
420
|
+
"""The products in the page."""
|
|
377
421
|
products: [ShopifyProduct!]!
|
|
378
|
-
"""
|
|
422
|
+
"""The number of products in all pages."""
|
|
379
423
|
totalCount: Int!
|
|
380
|
-
"""
|
|
424
|
+
"""The page number, from 1."""
|
|
381
425
|
currentPage: Int!
|
|
382
|
-
"""
|
|
426
|
+
"""The number of pages."""
|
|
383
427
|
totalPages: Int!
|
|
384
|
-
"""Whether
|
|
428
|
+
"""Whether a later page exists."""
|
|
385
429
|
hasNextPage: Boolean!
|
|
386
|
-
"""Whether
|
|
430
|
+
"""Whether an earlier page exists."""
|
|
387
431
|
hasPreviousPage: Boolean!
|
|
388
432
|
}
|
|
389
433
|
```
|
|
@@ -391,13 +435,13 @@ type ShopifyProductsResponse {
|
|
|
391
435
|
### `ShopifyProductInput`
|
|
392
436
|
|
|
393
437
|
```graphql
|
|
394
|
-
"""
|
|
438
|
+
"""The input of `shopifyProduct`. Set `productId` or `handle`."""
|
|
395
439
|
input ShopifyProductInput {
|
|
396
|
-
"""
|
|
440
|
+
"""The shop's `myshopify.com` domain."""
|
|
397
441
|
shopId: String!
|
|
398
|
-
"""
|
|
442
|
+
"""The ID of the product."""
|
|
399
443
|
productId: String
|
|
400
|
-
"""
|
|
444
|
+
"""The product's handle."""
|
|
401
445
|
handle: String
|
|
402
446
|
}
|
|
403
447
|
```
|
|
@@ -405,13 +449,13 @@ input ShopifyProductInput {
|
|
|
405
449
|
### `ShopifyProductsInput`
|
|
406
450
|
|
|
407
451
|
```graphql
|
|
408
|
-
"""
|
|
452
|
+
"""The input of `shopifyProducts`."""
|
|
409
453
|
input ShopifyProductsInput {
|
|
410
|
-
"""
|
|
454
|
+
"""The shop's `myshopify.com` domain."""
|
|
411
455
|
shopId: String!
|
|
412
|
-
"""
|
|
456
|
+
"""The number of products in a page."""
|
|
413
457
|
limit: Int
|
|
414
|
-
"""
|
|
458
|
+
"""The page number, from 1."""
|
|
415
459
|
page: Int
|
|
416
460
|
}
|
|
417
461
|
```
|
|
@@ -420,39 +464,37 @@ input ShopifyProductsInput {
|
|
|
420
464
|
|
|
421
465
|
```graphql
|
|
422
466
|
"""
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
returned by `shopifyWebhookCreate` is the only place it is exposed; show
|
|
426
|
-
once and discard.
|
|
467
|
+
A webhook endpoint configured for a project's Shopify integration, with the API key and delivery
|
|
468
|
+
settings it uses.
|
|
427
469
|
"""
|
|
428
470
|
type ShopifyWebhook {
|
|
429
|
-
"""
|
|
471
|
+
"""The ID of the webhook."""
|
|
430
472
|
id: ID!
|
|
431
|
-
"""ID of the organisation
|
|
473
|
+
"""The ID of the organisation the webhook belongs to."""
|
|
432
474
|
organizationId: ID!
|
|
433
|
-
"""ID of the project
|
|
475
|
+
"""The ID of the project the webhook belongs to."""
|
|
434
476
|
projectId: ID!
|
|
435
|
-
"""ID of the API key
|
|
477
|
+
"""The ID of the API key the webhook uses."""
|
|
436
478
|
apiKeyId: ID!
|
|
437
|
-
"""
|
|
479
|
+
"""The webhook's name."""
|
|
438
480
|
name: String!
|
|
439
|
-
"""
|
|
481
|
+
"""The webhook's description. Null when it has none."""
|
|
440
482
|
description: String
|
|
441
|
-
"""URL that
|
|
483
|
+
"""The URL that receives the webhook's requests."""
|
|
442
484
|
endpointUrl: String!
|
|
443
|
-
"""Whether the webhook is
|
|
485
|
+
"""Whether the webhook is active."""
|
|
444
486
|
isActive: Boolean!
|
|
445
|
-
"""
|
|
487
|
+
"""The request timeout in milliseconds."""
|
|
446
488
|
timeoutMs: Int!
|
|
447
|
-
"""
|
|
489
|
+
"""The number of retries after a failed request."""
|
|
448
490
|
retryCount: Int!
|
|
449
|
-
"""
|
|
491
|
+
"""The name of the API key. Null when the key is deleted."""
|
|
450
492
|
apiKeyName: String
|
|
451
|
-
"""
|
|
493
|
+
"""The prefix of the API key. Null when the key is deleted."""
|
|
452
494
|
apiKeyPrefix: String
|
|
453
|
-
"""When
|
|
495
|
+
"""When the webhook was created, as an ISO 8601 string."""
|
|
454
496
|
createdAt: String!
|
|
455
|
-
"""When
|
|
497
|
+
"""When the webhook last changed, as an ISO 8601 string."""
|
|
456
498
|
updatedAt: String!
|
|
457
499
|
}
|
|
458
500
|
```
|
|
@@ -461,13 +503,13 @@ type ShopifyWebhook {
|
|
|
461
503
|
|
|
462
504
|
```graphql
|
|
463
505
|
"""
|
|
464
|
-
|
|
506
|
+
The result of `shopifyWebhookCreate`. `webhookSecret` is returned only here, once.
|
|
465
507
|
"""
|
|
466
508
|
type ShopifyWebhookCreatePayload {
|
|
467
509
|
"""The created webhook."""
|
|
468
510
|
webhook: ShopifyWebhook!
|
|
469
511
|
"""
|
|
470
|
-
|
|
512
|
+
The HMAC secret for verifying the webhook's payloads. Returned only once.
|
|
471
513
|
"""
|
|
472
514
|
webhookSecret: String!
|
|
473
515
|
}
|
|
@@ -476,9 +518,9 @@ type ShopifyWebhookCreatePayload {
|
|
|
476
518
|
### `ShopifyWebhooksInput`
|
|
477
519
|
|
|
478
520
|
```graphql
|
|
479
|
-
"""
|
|
521
|
+
"""The input of `shopifyWebhooks`."""
|
|
480
522
|
input ShopifyWebhooksInput {
|
|
481
|
-
"""ID of the organisation
|
|
523
|
+
"""The ID of the organisation."""
|
|
482
524
|
organizationId: ID!
|
|
483
525
|
}
|
|
484
526
|
```
|
|
@@ -486,26 +528,28 @@ input ShopifyWebhooksInput {
|
|
|
486
528
|
### `ShopifyWebhookCreateInput`
|
|
487
529
|
|
|
488
530
|
```graphql
|
|
489
|
-
"""
|
|
531
|
+
"""The input of `shopifyWebhookCreate`."""
|
|
490
532
|
input ShopifyWebhookCreateInput {
|
|
491
|
-
"""ID of the organisation."""
|
|
533
|
+
"""The ID of the project's organisation."""
|
|
492
534
|
organizationId: ID!
|
|
493
|
-
"""ID of the project."""
|
|
535
|
+
"""The ID of the project."""
|
|
494
536
|
projectId: ID!
|
|
495
|
-
"""ID of
|
|
537
|
+
"""The ID of an API key of the organisation for the webhook to use."""
|
|
496
538
|
apiKeyId: ID!
|
|
497
|
-
"""
|
|
539
|
+
"""The webhook's name. Not blank."""
|
|
498
540
|
name: String!
|
|
499
|
-
"""
|
|
541
|
+
"""The webhook's description."""
|
|
500
542
|
description: String
|
|
501
|
-
"""
|
|
543
|
+
"""
|
|
544
|
+
The URL that receives the webhook's requests. Starts with `http://` or `https://`.
|
|
545
|
+
"""
|
|
502
546
|
endpointUrl: String!
|
|
503
547
|
"""
|
|
504
|
-
|
|
548
|
+
The request timeout in milliseconds, from 1000 to 60000. Defaults to 30000.
|
|
505
549
|
"""
|
|
506
550
|
timeoutMs: Int
|
|
507
551
|
"""
|
|
508
|
-
|
|
552
|
+
The number of retries after a failed request, from 0 to 10. Defaults to 3.
|
|
509
553
|
"""
|
|
510
554
|
retryCount: Int
|
|
511
555
|
}
|
|
@@ -514,25 +558,29 @@ input ShopifyWebhookCreateInput {
|
|
|
514
558
|
### `ShopifyWebhookUpdateInput`
|
|
515
559
|
|
|
516
560
|
```graphql
|
|
517
|
-
"""
|
|
561
|
+
"""The input of `shopifyWebhookUpdate`. Omit a field to keep its value."""
|
|
518
562
|
input ShopifyWebhookUpdateInput {
|
|
519
|
-
"""ID of the webhook
|
|
563
|
+
"""The ID of the webhook."""
|
|
520
564
|
webhookId: ID!
|
|
521
|
-
"""
|
|
565
|
+
"""
|
|
566
|
+
The ID of the webhook's organisation. Not read: the webhook's own organisation applies.
|
|
567
|
+
"""
|
|
522
568
|
organizationId: ID!
|
|
523
|
-
"""
|
|
569
|
+
"""The webhook's name."""
|
|
524
570
|
name: String
|
|
525
|
-
"""
|
|
571
|
+
"""The webhook's description."""
|
|
526
572
|
description: String
|
|
527
|
-
"""
|
|
573
|
+
"""
|
|
574
|
+
The URL that receives the webhook's requests. Starts with `http://` or `https://`.
|
|
575
|
+
"""
|
|
528
576
|
endpointUrl: String
|
|
529
|
-
"""Whether the webhook
|
|
577
|
+
"""Whether the webhook is active."""
|
|
530
578
|
isActive: Boolean
|
|
531
|
-
"""
|
|
579
|
+
"""The ID of an API key of the organisation for the webhook to use."""
|
|
532
580
|
apiKeyId: ID
|
|
533
|
-
"""
|
|
581
|
+
"""The request timeout in milliseconds, from 1000 to 60000."""
|
|
534
582
|
timeoutMs: Int
|
|
535
|
-
"""
|
|
583
|
+
"""The number of retries after a failed request, from 0 to 10."""
|
|
536
584
|
retryCount: Int
|
|
537
585
|
}
|
|
538
586
|
```
|
|
@@ -540,11 +588,13 @@ input ShopifyWebhookUpdateInput {
|
|
|
540
588
|
### `ShopifyWebhookDeleteInput`
|
|
541
589
|
|
|
542
590
|
```graphql
|
|
543
|
-
"""
|
|
591
|
+
"""The input of `shopifyWebhookDelete`."""
|
|
544
592
|
input ShopifyWebhookDeleteInput {
|
|
545
|
-
"""ID of the webhook
|
|
593
|
+
"""The ID of the webhook."""
|
|
546
594
|
webhookId: ID!
|
|
547
|
-
"""
|
|
595
|
+
"""
|
|
596
|
+
The ID of the webhook's organisation. Not read: the webhook's own organisation applies.
|
|
597
|
+
"""
|
|
548
598
|
organizationId: ID!
|
|
549
599
|
}
|
|
550
600
|
```
|
|
@@ -552,11 +602,15 @@ input ShopifyWebhookDeleteInput {
|
|
|
552
602
|
### `CreateShopifyWebhookResponse`
|
|
553
603
|
|
|
554
604
|
```graphql
|
|
555
|
-
"""
|
|
605
|
+
"""
|
|
606
|
+
The result of `createShopifyWebhook`. Superseded by `ShopifyWebhookCreatePayload`.
|
|
607
|
+
"""
|
|
556
608
|
type CreateShopifyWebhookResponse {
|
|
557
609
|
"""The created webhook."""
|
|
558
610
|
webhook: ShopifyWebhook!
|
|
559
|
-
"""
|
|
611
|
+
"""
|
|
612
|
+
The HMAC secret for verifying the webhook's payloads. Returned only once.
|
|
613
|
+
"""
|
|
560
614
|
webhookSecret: String!
|
|
561
615
|
}
|
|
562
616
|
```
|
|
@@ -564,15 +618,31 @@ type CreateShopifyWebhookResponse {
|
|
|
564
618
|
### `CreateShopifyWebhookInput`
|
|
565
619
|
|
|
566
620
|
```graphql
|
|
567
|
-
"""
|
|
621
|
+
"""
|
|
622
|
+
The input of `createShopifyWebhook`. Superseded by `ShopifyWebhookCreateInput`.
|
|
623
|
+
"""
|
|
568
624
|
input CreateShopifyWebhookInput {
|
|
625
|
+
"""The ID of the project's organisation."""
|
|
569
626
|
organizationId: ID!
|
|
627
|
+
"""The ID of the project."""
|
|
570
628
|
projectId: ID!
|
|
629
|
+
"""The ID of an API key of the organisation for the webhook to use."""
|
|
571
630
|
apiKeyId: ID!
|
|
631
|
+
"""The webhook's name. Not blank."""
|
|
572
632
|
name: String!
|
|
633
|
+
"""The webhook's description."""
|
|
573
634
|
description: String
|
|
635
|
+
"""
|
|
636
|
+
The URL that receives the webhook's requests. Starts with `http://` or `https://`.
|
|
637
|
+
"""
|
|
574
638
|
endpointUrl: String!
|
|
639
|
+
"""
|
|
640
|
+
The request timeout in milliseconds, from 1000 to 60000. Defaults to 30000.
|
|
641
|
+
"""
|
|
575
642
|
timeoutMs: Int
|
|
643
|
+
"""
|
|
644
|
+
The number of retries after a failed request, from 0 to 10. Defaults to 3.
|
|
645
|
+
"""
|
|
576
646
|
retryCount: Int
|
|
577
647
|
}
|
|
578
648
|
```
|
|
@@ -580,16 +650,32 @@ input CreateShopifyWebhookInput {
|
|
|
580
650
|
### `UpdateShopifyWebhookInput`
|
|
581
651
|
|
|
582
652
|
```graphql
|
|
583
|
-
"""
|
|
653
|
+
"""
|
|
654
|
+
The input of `updateShopifyWebhook`. Superseded by `ShopifyWebhookUpdateInput`. Omit a field to
|
|
655
|
+
keep its value.
|
|
656
|
+
"""
|
|
584
657
|
input UpdateShopifyWebhookInput {
|
|
658
|
+
"""The ID of the webhook."""
|
|
585
659
|
webhookId: ID!
|
|
660
|
+
"""
|
|
661
|
+
The ID of the webhook's organisation. Not read: the webhook's own organisation applies.
|
|
662
|
+
"""
|
|
586
663
|
organizationId: ID!
|
|
664
|
+
"""The webhook's name."""
|
|
587
665
|
name: String
|
|
666
|
+
"""The webhook's description."""
|
|
588
667
|
description: String
|
|
668
|
+
"""
|
|
669
|
+
The URL that receives the webhook's requests. Starts with `http://` or `https://`.
|
|
670
|
+
"""
|
|
589
671
|
endpointUrl: String
|
|
672
|
+
"""Whether the webhook is active."""
|
|
590
673
|
isActive: Boolean
|
|
674
|
+
"""The ID of an API key of the organisation for the webhook to use."""
|
|
591
675
|
apiKeyId: ID
|
|
676
|
+
"""The request timeout in milliseconds, from 1000 to 60000."""
|
|
592
677
|
timeoutMs: Int
|
|
678
|
+
"""The number of retries after a failed request, from 0 to 10."""
|
|
593
679
|
retryCount: Int
|
|
594
680
|
}
|
|
595
681
|
```
|
|
@@ -597,9 +683,15 @@ input UpdateShopifyWebhookInput {
|
|
|
597
683
|
### `DeleteShopifyWebhookInput`
|
|
598
684
|
|
|
599
685
|
```graphql
|
|
600
|
-
"""
|
|
686
|
+
"""
|
|
687
|
+
The input of `deleteShopifyWebhook`. Superseded by `ShopifyWebhookDeleteInput`.
|
|
688
|
+
"""
|
|
601
689
|
input DeleteShopifyWebhookInput {
|
|
690
|
+
"""The ID of the webhook."""
|
|
602
691
|
webhookId: ID!
|
|
692
|
+
"""
|
|
693
|
+
The ID of the webhook's organisation. Not read: the webhook's own organisation applies.
|
|
694
|
+
"""
|
|
603
695
|
organizationId: ID!
|
|
604
696
|
}
|
|
605
697
|
```
|
|
@@ -607,8 +699,11 @@ input DeleteShopifyWebhookInput {
|
|
|
607
699
|
### `OrganizationShopifyWebhooksInput`
|
|
608
700
|
|
|
609
701
|
```graphql
|
|
610
|
-
"""
|
|
702
|
+
"""
|
|
703
|
+
The input of `organizationShopifyWebhooks`. Superseded by `ShopifyWebhooksInput`.
|
|
704
|
+
"""
|
|
611
705
|
input OrganizationShopifyWebhooksInput {
|
|
706
|
+
"""The ID of the organisation."""
|
|
612
707
|
organizationId: ID!
|
|
613
708
|
}
|
|
614
709
|
```
|
|
@@ -617,26 +712,24 @@ input OrganizationShopifyWebhooksInput {
|
|
|
617
712
|
|
|
618
713
|
```graphql
|
|
619
714
|
"""
|
|
620
|
-
|
|
621
|
-
namespaces / keys to pull from Shopify and how many
|
|
622
|
-
metafields to ingest per resource.
|
|
715
|
+
A project's setting for syncing the Shopify metafields of one namespace.
|
|
623
716
|
"""
|
|
624
717
|
type ShopifyMetafieldConfig {
|
|
625
|
-
"""
|
|
718
|
+
"""The ID of the config."""
|
|
626
719
|
id: ID!
|
|
627
|
-
"""ID of the project
|
|
720
|
+
"""The ID of the project the config belongs to."""
|
|
628
721
|
projectId: String!
|
|
629
|
-
"""
|
|
722
|
+
"""The metafield namespace, such as `custom`."""
|
|
630
723
|
namespace: String!
|
|
631
|
-
"""
|
|
724
|
+
"""The most metafields to sync for each resource."""
|
|
632
725
|
maxMetafields: Int!
|
|
633
726
|
"""
|
|
634
|
-
|
|
727
|
+
The metafield keys to sync. Null when every key in the namespace syncs.
|
|
635
728
|
"""
|
|
636
729
|
keys: [String!]
|
|
637
|
-
"""When
|
|
730
|
+
"""When the config was created, as an ISO 8601 string."""
|
|
638
731
|
createdAt: String!
|
|
639
|
-
"""When
|
|
732
|
+
"""When the config last changed, as an ISO 8601 string."""
|
|
640
733
|
updatedAt: String!
|
|
641
734
|
}
|
|
642
735
|
```
|
|
@@ -644,9 +737,9 @@ type ShopifyMetafieldConfig {
|
|
|
644
737
|
### `ShopifyMetafieldConfigsInput`
|
|
645
738
|
|
|
646
739
|
```graphql
|
|
647
|
-
"""
|
|
740
|
+
"""The input of `shopifyMetafieldConfigs`."""
|
|
648
741
|
input ShopifyMetafieldConfigsInput {
|
|
649
|
-
"""ID of the project
|
|
742
|
+
"""The ID of the project."""
|
|
650
743
|
projectId: ID!
|
|
651
744
|
}
|
|
652
745
|
```
|
|
@@ -654,15 +747,17 @@ input ShopifyMetafieldConfigsInput {
|
|
|
654
747
|
### `ShopifyMetafieldConfigCreateInput`
|
|
655
748
|
|
|
656
749
|
```graphql
|
|
657
|
-
"""
|
|
750
|
+
"""The input of `shopifyMetafieldConfigCreate`."""
|
|
658
751
|
input ShopifyMetafieldConfigCreateInput {
|
|
659
|
-
"""ID of the project."""
|
|
752
|
+
"""The ID of the project."""
|
|
660
753
|
projectId: ID!
|
|
661
|
-
"""
|
|
754
|
+
"""The metafield namespace: letters, digits, `_`, `-` and `$`."""
|
|
662
755
|
namespace: String!
|
|
663
|
-
"""
|
|
756
|
+
"""The most metafields to sync for each resource, from 1 to 100."""
|
|
664
757
|
maxMetafields: Int!
|
|
665
|
-
"""
|
|
758
|
+
"""
|
|
759
|
+
The metafield keys to sync. At least one when set. Omit to sync every key.
|
|
760
|
+
"""
|
|
666
761
|
keys: [String!]
|
|
667
762
|
}
|
|
668
763
|
```
|
|
@@ -671,14 +766,15 @@ input ShopifyMetafieldConfigCreateInput {
|
|
|
671
766
|
|
|
672
767
|
```graphql
|
|
673
768
|
"""
|
|
674
|
-
|
|
769
|
+
The input of `shopifyMetafieldConfigUpdate`. Omit a field to keep its value. Set at least one of
|
|
770
|
+
`maxMetafields` and `keys`.
|
|
675
771
|
"""
|
|
676
772
|
input ShopifyMetafieldConfigUpdateInput {
|
|
677
|
-
"""ID of the config
|
|
773
|
+
"""The ID of the config."""
|
|
678
774
|
id: ID!
|
|
679
|
-
"""
|
|
775
|
+
"""The most metafields to sync for each resource, from 1 to 100."""
|
|
680
776
|
maxMetafields: Int
|
|
681
|
-
"""
|
|
777
|
+
"""The metafield keys to sync. An empty list syncs every key."""
|
|
682
778
|
keys: [String!]
|
|
683
779
|
}
|
|
684
780
|
```
|
|
@@ -686,9 +782,9 @@ input ShopifyMetafieldConfigUpdateInput {
|
|
|
686
782
|
### `ShopifyMetafieldConfigDeleteInput`
|
|
687
783
|
|
|
688
784
|
```graphql
|
|
689
|
-
"""
|
|
785
|
+
"""The input of `shopifyMetafieldConfigDelete`."""
|
|
690
786
|
input ShopifyMetafieldConfigDeleteInput {
|
|
691
|
-
"""ID of the config
|
|
787
|
+
"""The ID of the config."""
|
|
692
788
|
id: ID!
|
|
693
789
|
}
|
|
694
790
|
```
|
|
@@ -696,8 +792,11 @@ input ShopifyMetafieldConfigDeleteInput {
|
|
|
696
792
|
### `ProjectMetafieldConfigsInput`
|
|
697
793
|
|
|
698
794
|
```graphql
|
|
699
|
-
"""
|
|
795
|
+
"""
|
|
796
|
+
The input of `projectShopifyMetafieldConfigs`. Superseded by `ShopifyMetafieldConfigsInput`.
|
|
797
|
+
"""
|
|
700
798
|
input ProjectMetafieldConfigsInput {
|
|
799
|
+
"""The ID of the project."""
|
|
701
800
|
projectId: ID!
|
|
702
801
|
}
|
|
703
802
|
```
|
|
@@ -705,11 +804,19 @@ input ProjectMetafieldConfigsInput {
|
|
|
705
804
|
### `CreateShopifyMetafieldConfigInput`
|
|
706
805
|
|
|
707
806
|
```graphql
|
|
708
|
-
"""
|
|
807
|
+
"""
|
|
808
|
+
The input of `createShopifyMetafieldConfig`. Superseded by `ShopifyMetafieldConfigCreateInput`.
|
|
809
|
+
"""
|
|
709
810
|
input CreateShopifyMetafieldConfigInput {
|
|
811
|
+
"""The ID of the project."""
|
|
710
812
|
projectId: ID!
|
|
813
|
+
"""The metafield namespace: letters, digits, `_`, `-` and `$`."""
|
|
711
814
|
namespace: String!
|
|
815
|
+
"""The most metafields to sync for each resource, from 1 to 100."""
|
|
712
816
|
maxMetafields: Int!
|
|
817
|
+
"""
|
|
818
|
+
The metafield keys to sync. At least one when set. Omit to sync every key.
|
|
819
|
+
"""
|
|
713
820
|
keys: [String!]
|
|
714
821
|
}
|
|
715
822
|
```
|
|
@@ -717,10 +824,16 @@ input CreateShopifyMetafieldConfigInput {
|
|
|
717
824
|
### `UpdateShopifyMetafieldConfigInput`
|
|
718
825
|
|
|
719
826
|
```graphql
|
|
720
|
-
"""
|
|
827
|
+
"""
|
|
828
|
+
The input of `updateShopifyMetafieldConfig`. Superseded by `ShopifyMetafieldConfigUpdateInput`.
|
|
829
|
+
Omit a field to keep its value. Set at least one of `maxMetafields` and `keys`.
|
|
830
|
+
"""
|
|
721
831
|
input UpdateShopifyMetafieldConfigInput {
|
|
832
|
+
"""The ID of the config."""
|
|
722
833
|
id: ID!
|
|
834
|
+
"""The most metafields to sync for each resource, from 1 to 100."""
|
|
723
835
|
maxMetafields: Int
|
|
836
|
+
"""The metafield keys to sync. An empty list syncs every key."""
|
|
724
837
|
keys: [String!]
|
|
725
838
|
}
|
|
726
839
|
```
|
|
@@ -728,8 +841,11 @@ input UpdateShopifyMetafieldConfigInput {
|
|
|
728
841
|
### `DeleteShopifyMetafieldConfigInput`
|
|
729
842
|
|
|
730
843
|
```graphql
|
|
731
|
-
"""
|
|
844
|
+
"""
|
|
845
|
+
The input of `deleteShopifyMetafieldConfig`. Superseded by `ShopifyMetafieldConfigDeleteInput`.
|
|
846
|
+
"""
|
|
732
847
|
input DeleteShopifyMetafieldConfigInput {
|
|
848
|
+
"""The ID of the config."""
|
|
733
849
|
id: ID!
|
|
734
850
|
}
|
|
735
851
|
```
|
|
@@ -737,17 +853,15 @@ input DeleteShopifyMetafieldConfigInput {
|
|
|
737
853
|
### `ShopifyProductContentUpdateInput`
|
|
738
854
|
|
|
739
855
|
```graphql
|
|
740
|
-
"""
|
|
741
|
-
Input for `shopifyProductContentUpdate` — patch a Picked-managed content key for a Shopify product.
|
|
742
|
-
"""
|
|
856
|
+
"""The input of `shopifyProductContentUpdate`. Every field is required."""
|
|
743
857
|
input ShopifyProductContentUpdateInput {
|
|
744
|
-
"""
|
|
858
|
+
"""The shop's `myshopify.com` domain."""
|
|
745
859
|
shopId: String!
|
|
746
|
-
"""
|
|
860
|
+
"""The ID of the product, numeric or as a Shopify GID."""
|
|
747
861
|
productId: String!
|
|
748
|
-
"""
|
|
862
|
+
"""The content key."""
|
|
749
863
|
key: String!
|
|
750
|
-
"""
|
|
864
|
+
"""The content to store at `key`."""
|
|
751
865
|
content: JSON!
|
|
752
866
|
}
|
|
753
867
|
```
|
|
@@ -756,16 +870,16 @@ input ShopifyProductContentUpdateInput {
|
|
|
756
870
|
|
|
757
871
|
```graphql
|
|
758
872
|
"""
|
|
759
|
-
|
|
873
|
+
The input of `shopifyCollectionContentUpdate`. Every field is required.
|
|
760
874
|
"""
|
|
761
875
|
input ShopifyCollectionContentUpdateInput {
|
|
762
|
-
"""
|
|
876
|
+
"""The shop's `myshopify.com` domain."""
|
|
763
877
|
shopId: String!
|
|
764
|
-
"""
|
|
878
|
+
"""The ID of the collection, numeric or as a Shopify GID."""
|
|
765
879
|
collectionId: String!
|
|
766
|
-
"""
|
|
880
|
+
"""The content key."""
|
|
767
881
|
key: String!
|
|
768
|
-
"""
|
|
882
|
+
"""The content to store at `key`."""
|
|
769
883
|
content: JSON!
|
|
770
884
|
}
|
|
771
885
|
```
|
|
@@ -773,11 +887,17 @@ input ShopifyCollectionContentUpdateInput {
|
|
|
773
887
|
### `UpdateShopifyProductContentInput`
|
|
774
888
|
|
|
775
889
|
```graphql
|
|
776
|
-
"""
|
|
890
|
+
"""
|
|
891
|
+
The input of `updateShopifyProductContent`. Superseded by `ShopifyProductContentUpdateInput`.
|
|
892
|
+
"""
|
|
777
893
|
input UpdateShopifyProductContentInput {
|
|
894
|
+
"""The shop's `myshopify.com` domain."""
|
|
778
895
|
shopId: String!
|
|
896
|
+
"""The ID of the product, numeric or as a Shopify GID."""
|
|
779
897
|
productId: String!
|
|
898
|
+
"""The content key."""
|
|
780
899
|
key: String!
|
|
900
|
+
"""The content to store at `key`."""
|
|
781
901
|
content: JSON!
|
|
782
902
|
}
|
|
783
903
|
```
|
|
@@ -785,11 +905,18 @@ input UpdateShopifyProductContentInput {
|
|
|
785
905
|
### `UpdateShopifyCollectionContentInput`
|
|
786
906
|
|
|
787
907
|
```graphql
|
|
788
|
-
"""
|
|
908
|
+
"""
|
|
909
|
+
The input of `updateShopifyCollectionContent`. Superseded by
|
|
910
|
+
`ShopifyCollectionContentUpdateInput`.
|
|
911
|
+
"""
|
|
789
912
|
input UpdateShopifyCollectionContentInput {
|
|
913
|
+
"""The shop's `myshopify.com` domain."""
|
|
790
914
|
shopId: String!
|
|
915
|
+
"""The ID of the collection, numeric or as a Shopify GID."""
|
|
791
916
|
collectionId: String!
|
|
917
|
+
"""The content key."""
|
|
792
918
|
key: String!
|
|
919
|
+
"""The content to store at `key`."""
|
|
793
920
|
content: JSON!
|
|
794
921
|
}
|
|
795
922
|
```
|