@gem-sdk/adapter-shopify 1.0.0
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/README.md +1 -0
- package/dist/cjs/api/operations/add-to-cart.js +32 -0
- package/dist/cjs/api/operations/cart-discount-codes-update.js +29 -0
- package/dist/cjs/api/operations/cart-note-update.js +28 -0
- package/dist/cjs/api/operations/create-cart.js +33 -0
- package/dist/cjs/api/operations/get-cart.js +27 -0
- package/dist/cjs/api/operations/remove-cart-item.js +28 -0
- package/dist/cjs/api/operations/update-cart-line.js +34 -0
- package/dist/cjs/graphql/fragments/cart-line.generated.js +54 -0
- package/dist/cjs/graphql/fragments/cart-user-error.generated.js +11 -0
- package/dist/cjs/graphql/fragments/cart.generated.js +46 -0
- package/dist/cjs/graphql/fragments/country.generated.js +14 -0
- package/dist/cjs/graphql/fragments/currency.generated.js +11 -0
- package/dist/cjs/graphql/fragments/image.generated.js +13 -0
- package/dist/cjs/graphql/fragments/money-v2.generated.js +10 -0
- package/dist/cjs/graphql/fragments/product.generated.js +52 -0
- package/dist/cjs/graphql/mutations/cart-create.generated.js +27 -0
- package/dist/cjs/graphql/mutations/cart-discount-codes-update.generated.js +27 -0
- package/dist/cjs/graphql/mutations/cart-lines-add.generated.js +27 -0
- package/dist/cjs/graphql/mutations/cart-lines-remove.generated.js +27 -0
- package/dist/cjs/graphql/mutations/cart-lines-update.generated.js +27 -0
- package/dist/cjs/graphql/mutations/cart-note-update.generated.js +27 -0
- package/dist/cjs/graphql/queries/cart.generated.js +20 -0
- package/dist/cjs/graphql/queries/product.generated.js +13 -0
- package/dist/cjs/graphql/queries/shop-meta.generated.js +21 -0
- package/dist/cjs/helpers/common.js +15 -0
- package/dist/cjs/helpers/normalize.js +58 -0
- package/dist/cjs/index.js +35 -0
- package/dist/esm/api/operations/add-to-cart.js +30 -0
- package/dist/esm/api/operations/cart-discount-codes-update.js +27 -0
- package/dist/esm/api/operations/cart-note-update.js +26 -0
- package/dist/esm/api/operations/create-cart.js +31 -0
- package/dist/esm/api/operations/get-cart.js +25 -0
- package/dist/esm/api/operations/remove-cart-item.js +26 -0
- package/dist/esm/api/operations/update-cart-line.js +32 -0
- package/dist/esm/graphql/fragments/cart-line.generated.js +51 -0
- package/dist/esm/graphql/fragments/cart-user-error.generated.js +9 -0
- package/dist/esm/graphql/fragments/cart.generated.js +44 -0
- package/dist/esm/graphql/fragments/country.generated.js +12 -0
- package/dist/esm/graphql/fragments/currency.generated.js +9 -0
- package/dist/esm/graphql/fragments/image.generated.js +11 -0
- package/dist/esm/graphql/fragments/money-v2.generated.js +8 -0
- package/dist/esm/graphql/fragments/product.generated.js +50 -0
- package/dist/esm/graphql/mutations/cart-create.generated.js +25 -0
- package/dist/esm/graphql/mutations/cart-discount-codes-update.generated.js +25 -0
- package/dist/esm/graphql/mutations/cart-lines-add.generated.js +25 -0
- package/dist/esm/graphql/mutations/cart-lines-remove.generated.js +25 -0
- package/dist/esm/graphql/mutations/cart-lines-update.generated.js +25 -0
- package/dist/esm/graphql/mutations/cart-note-update.generated.js +25 -0
- package/dist/esm/graphql/queries/cart.generated.js +18 -0
- package/dist/esm/graphql/queries/product.generated.js +11 -0
- package/dist/esm/graphql/queries/shop-meta.generated.js +19 -0
- package/dist/esm/helpers/common.js +13 -0
- package/dist/esm/helpers/normalize.js +56 -0
- package/dist/esm/index.js +15 -0
- package/dist/types/index.d.ts +3686 -0
- package/package.json +38 -0
|
@@ -0,0 +1,3686 @@
|
|
|
1
|
+
import { Site, Cart as Cart$1 } from '@gem-sdk/adapter-common';
|
|
2
|
+
export { Cart } from '@gem-sdk/adapter-common';
|
|
3
|
+
|
|
4
|
+
declare const addToCartOperation: (config: Site.ProviderConfig) => Cart$1.AddCartLineFunc;
|
|
5
|
+
|
|
6
|
+
declare const createCartOperation: (config: Site.ProviderConfig) => Cart$1.CreateCartFunc;
|
|
7
|
+
|
|
8
|
+
declare const getCartOperation: (config: Site.ProviderConfig) => Cart$1.GetCartFunc;
|
|
9
|
+
|
|
10
|
+
declare const removeCartItemOperation: (config: Site.ProviderConfig) => Cart$1.RemoveCartLineFunc;
|
|
11
|
+
|
|
12
|
+
declare const updateCartLineOperation: (config: Site.ProviderConfig) => Cart$1.UpdateCartLineFunc;
|
|
13
|
+
|
|
14
|
+
declare const cartDiscountCodesUpdateOperation: (config: Site.ProviderConfig) => Cart$1.CartDiscountCodesUpdateFunc;
|
|
15
|
+
|
|
16
|
+
declare const cartNoteUpdateOperation: (config: Site.ProviderConfig) => Cart$1.CartNoteUpdateFunc;
|
|
17
|
+
|
|
18
|
+
type Maybe<T> = T | undefined;
|
|
19
|
+
type InputMaybe<T> = T | undefined;
|
|
20
|
+
type Exact<T extends {
|
|
21
|
+
[key: string]: unknown;
|
|
22
|
+
}> = {
|
|
23
|
+
[K in keyof T]: T[K];
|
|
24
|
+
};
|
|
25
|
+
/** All built-in and custom scalars, mapped to their actual values */
|
|
26
|
+
type Scalars = {
|
|
27
|
+
ID: string;
|
|
28
|
+
String: string;
|
|
29
|
+
Boolean: boolean;
|
|
30
|
+
Int: number;
|
|
31
|
+
Float: number;
|
|
32
|
+
/**
|
|
33
|
+
* Represents an [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)-encoded date and time string.
|
|
34
|
+
* For example, 3:50 pm on September 7, 2019 in the time zone of UTC (Coordinated Universal Time) is
|
|
35
|
+
* represented as `"2019-09-07T15:50:00Z`".
|
|
36
|
+
*
|
|
37
|
+
*/
|
|
38
|
+
DateTime: string;
|
|
39
|
+
/**
|
|
40
|
+
* A signed decimal number, which supports arbitrary precision and is serialized as a string.
|
|
41
|
+
*
|
|
42
|
+
* Example values: `"29.99"`, `"29.999"`.
|
|
43
|
+
*
|
|
44
|
+
*/
|
|
45
|
+
Decimal: string;
|
|
46
|
+
/**
|
|
47
|
+
* A string containing HTML code. Refer to the [HTML spec](https://html.spec.whatwg.org/#elements-3) for a
|
|
48
|
+
* complete list of HTML elements.
|
|
49
|
+
*
|
|
50
|
+
* Example value: `"<p>Grey cotton knit sweater.</p>"`.
|
|
51
|
+
*
|
|
52
|
+
*/
|
|
53
|
+
HTML: string;
|
|
54
|
+
/**
|
|
55
|
+
* A [JSON](https://www.json.org/json-en.html) object.
|
|
56
|
+
*
|
|
57
|
+
* Example value:
|
|
58
|
+
* `{
|
|
59
|
+
* "product": {
|
|
60
|
+
* "id": "gid://shopify/Product/1346443542550",
|
|
61
|
+
* "title": "White T-shirt",
|
|
62
|
+
* "options": [{
|
|
63
|
+
* "name": "Size",
|
|
64
|
+
* "values": ["M", "L"]
|
|
65
|
+
* }]
|
|
66
|
+
* }
|
|
67
|
+
* }`
|
|
68
|
+
*
|
|
69
|
+
*/
|
|
70
|
+
JSON: any;
|
|
71
|
+
/** A monetary value string without a currency symbol or code. Example value: `"100.57"`. */
|
|
72
|
+
Money: any;
|
|
73
|
+
/**
|
|
74
|
+
* Represents an [RFC 3986](https://datatracker.ietf.org/doc/html/rfc3986) and
|
|
75
|
+
* [RFC 3987](https://datatracker.ietf.org/doc/html/rfc3987)-compliant URI string.
|
|
76
|
+
*
|
|
77
|
+
* For example, `"https://johns-apparel.myshopify.com"` is a valid URL. It includes a scheme (`https`) and a host
|
|
78
|
+
* (`johns-apparel.myshopify.com`).
|
|
79
|
+
*
|
|
80
|
+
*/
|
|
81
|
+
URL: string;
|
|
82
|
+
};
|
|
83
|
+
/** Details about the gift card used on the checkout. */
|
|
84
|
+
type AppliedGiftCard = Node & {
|
|
85
|
+
/**
|
|
86
|
+
* The amount that was taken from the gift card by applying it.
|
|
87
|
+
* @deprecated Use `amountUsedV2` instead
|
|
88
|
+
*/
|
|
89
|
+
amountUsed: Scalars['Money'];
|
|
90
|
+
/** The amount that was taken from the gift card by applying it. */
|
|
91
|
+
amountUsedV2: MoneyV2;
|
|
92
|
+
/**
|
|
93
|
+
* The amount left on the gift card.
|
|
94
|
+
* @deprecated Use `balanceV2` instead
|
|
95
|
+
*/
|
|
96
|
+
balance: Scalars['Money'];
|
|
97
|
+
/** The amount left on the gift card. */
|
|
98
|
+
balanceV2: MoneyV2;
|
|
99
|
+
/** A globally-unique identifier. */
|
|
100
|
+
id: Scalars['ID'];
|
|
101
|
+
/** The last characters of the gift card. */
|
|
102
|
+
lastCharacters: Scalars['String'];
|
|
103
|
+
/** The amount that was applied to the checkout in its currency. */
|
|
104
|
+
presentmentAmountUsed: MoneyV2;
|
|
105
|
+
};
|
|
106
|
+
/** An article in an online store blog. */
|
|
107
|
+
type Article = HasMetafields & Node & OnlineStorePublishable & {
|
|
108
|
+
/**
|
|
109
|
+
* The article's author.
|
|
110
|
+
* @deprecated Use `authorV2` instead
|
|
111
|
+
*/
|
|
112
|
+
author: ArticleAuthor;
|
|
113
|
+
/** The article's author. */
|
|
114
|
+
authorV2?: Maybe<ArticleAuthor>;
|
|
115
|
+
/** The blog that the article belongs to. */
|
|
116
|
+
blog: Blog;
|
|
117
|
+
/** List of comments posted on the article. */
|
|
118
|
+
comments: CommentConnection;
|
|
119
|
+
/** Stripped content of the article, single line with HTML tags removed. */
|
|
120
|
+
content: Scalars['String'];
|
|
121
|
+
/** The content of the article, complete with HTML formatting. */
|
|
122
|
+
contentHtml: Scalars['HTML'];
|
|
123
|
+
/** Stripped excerpt of the article, single line with HTML tags removed. */
|
|
124
|
+
excerpt?: Maybe<Scalars['String']>;
|
|
125
|
+
/** The excerpt of the article, complete with HTML formatting. */
|
|
126
|
+
excerptHtml?: Maybe<Scalars['HTML']>;
|
|
127
|
+
/**
|
|
128
|
+
* A human-friendly unique string for the Article automatically generated from its title.
|
|
129
|
+
*
|
|
130
|
+
*/
|
|
131
|
+
handle: Scalars['String'];
|
|
132
|
+
/** A globally-unique identifier. */
|
|
133
|
+
id: Scalars['ID'];
|
|
134
|
+
/** The image associated with the article. */
|
|
135
|
+
image?: Maybe<Image>;
|
|
136
|
+
/** Returns a metafield found by namespace and key. */
|
|
137
|
+
metafield?: Maybe<Metafield>;
|
|
138
|
+
/**
|
|
139
|
+
* The metafields associated with the resource matching the supplied list of namespaces and keys.
|
|
140
|
+
*
|
|
141
|
+
*/
|
|
142
|
+
metafields: Array<Maybe<Metafield>>;
|
|
143
|
+
/** The URL used for viewing the resource on the shop's Online Store. Returns `null` if the resource is currently not published to the Online Store sales channel. */
|
|
144
|
+
onlineStoreUrl?: Maybe<Scalars['URL']>;
|
|
145
|
+
/** The date and time when the article was published. */
|
|
146
|
+
publishedAt: Scalars['DateTime'];
|
|
147
|
+
/** The article’s SEO information. */
|
|
148
|
+
seo?: Maybe<Seo>;
|
|
149
|
+
/** A categorization that a article can be tagged with. */
|
|
150
|
+
tags: Array<Scalars['String']>;
|
|
151
|
+
/** The article’s name. */
|
|
152
|
+
title: Scalars['String'];
|
|
153
|
+
};
|
|
154
|
+
/** The author of an article. */
|
|
155
|
+
type ArticleAuthor = {
|
|
156
|
+
/** The author's bio. */
|
|
157
|
+
bio?: Maybe<Scalars['String']>;
|
|
158
|
+
/** The author’s email. */
|
|
159
|
+
email: Scalars['String'];
|
|
160
|
+
/** The author's first name. */
|
|
161
|
+
firstName: Scalars['String'];
|
|
162
|
+
/** The author's last name. */
|
|
163
|
+
lastName: Scalars['String'];
|
|
164
|
+
/** The author's full name. */
|
|
165
|
+
name: Scalars['String'];
|
|
166
|
+
};
|
|
167
|
+
/**
|
|
168
|
+
* An auto-generated type for paginating through multiple Articles.
|
|
169
|
+
*
|
|
170
|
+
*/
|
|
171
|
+
type ArticleConnection = {
|
|
172
|
+
/** A list of edges. */
|
|
173
|
+
edges: Array<ArticleEdge>;
|
|
174
|
+
/** A list of the nodes contained in ArticleEdge. */
|
|
175
|
+
nodes: Array<Article>;
|
|
176
|
+
/** Information to aid in pagination. */
|
|
177
|
+
pageInfo: PageInfo;
|
|
178
|
+
};
|
|
179
|
+
/**
|
|
180
|
+
* An auto-generated type which holds one Article and a cursor during pagination.
|
|
181
|
+
*
|
|
182
|
+
*/
|
|
183
|
+
type ArticleEdge = {
|
|
184
|
+
/** A cursor for use in pagination. */
|
|
185
|
+
cursor: Scalars['String'];
|
|
186
|
+
/** The item at the end of ArticleEdge. */
|
|
187
|
+
node: Article;
|
|
188
|
+
};
|
|
189
|
+
/** Represents a generic custom attribute. */
|
|
190
|
+
type Attribute = {
|
|
191
|
+
/** Key or name of the attribute. */
|
|
192
|
+
key: Scalars['String'];
|
|
193
|
+
/** Value of the attribute. */
|
|
194
|
+
value?: Maybe<Scalars['String']>;
|
|
195
|
+
};
|
|
196
|
+
/** Specifies the input fields required for an attribute. */
|
|
197
|
+
type AttributeInput = {
|
|
198
|
+
/** Key or name of the attribute. */
|
|
199
|
+
key: Scalars['String'];
|
|
200
|
+
/** Value of the attribute. */
|
|
201
|
+
value: Scalars['String'];
|
|
202
|
+
};
|
|
203
|
+
/** A collection of available shipping rates for a checkout. */
|
|
204
|
+
type AvailableShippingRates = {
|
|
205
|
+
/**
|
|
206
|
+
* Whether or not the shipping rates are ready.
|
|
207
|
+
* The `shippingRates` field is `null` when this value is `false`.
|
|
208
|
+
* This field should be polled until its value becomes `true`.
|
|
209
|
+
*
|
|
210
|
+
*/
|
|
211
|
+
ready: Scalars['Boolean'];
|
|
212
|
+
/** The fetched shipping rates. `null` until the `ready` field is `true`. */
|
|
213
|
+
shippingRates?: Maybe<Array<ShippingRate>>;
|
|
214
|
+
};
|
|
215
|
+
/** An online store blog. */
|
|
216
|
+
type Blog = HasMetafields & Node & OnlineStorePublishable & {
|
|
217
|
+
/** Find an article by its handle. */
|
|
218
|
+
articleByHandle?: Maybe<Article>;
|
|
219
|
+
/** List of the blog's articles. */
|
|
220
|
+
articles: ArticleConnection;
|
|
221
|
+
/** The authors who have contributed to the blog. */
|
|
222
|
+
authors: Array<ArticleAuthor>;
|
|
223
|
+
/**
|
|
224
|
+
* A human-friendly unique string for the Blog automatically generated from its title.
|
|
225
|
+
*
|
|
226
|
+
*/
|
|
227
|
+
handle: Scalars['String'];
|
|
228
|
+
/** A globally-unique identifier. */
|
|
229
|
+
id: Scalars['ID'];
|
|
230
|
+
/** Returns a metafield found by namespace and key. */
|
|
231
|
+
metafield?: Maybe<Metafield>;
|
|
232
|
+
/**
|
|
233
|
+
* The metafields associated with the resource matching the supplied list of namespaces and keys.
|
|
234
|
+
*
|
|
235
|
+
*/
|
|
236
|
+
metafields: Array<Maybe<Metafield>>;
|
|
237
|
+
/** The URL used for viewing the resource on the shop's Online Store. Returns `null` if the resource is currently not published to the Online Store sales channel. */
|
|
238
|
+
onlineStoreUrl?: Maybe<Scalars['URL']>;
|
|
239
|
+
/** The blog's SEO information. */
|
|
240
|
+
seo?: Maybe<Seo>;
|
|
241
|
+
/** The blogs’s title. */
|
|
242
|
+
title: Scalars['String'];
|
|
243
|
+
};
|
|
244
|
+
/** Card brand, such as Visa or Mastercard, which can be used for payments. */
|
|
245
|
+
type CardBrand =
|
|
246
|
+
/** American Express. */
|
|
247
|
+
'AMERICAN_EXPRESS'
|
|
248
|
+
/** Diners Club. */
|
|
249
|
+
| 'DINERS_CLUB'
|
|
250
|
+
/** Discover. */
|
|
251
|
+
| 'DISCOVER'
|
|
252
|
+
/** JCB. */
|
|
253
|
+
| 'JCB'
|
|
254
|
+
/** Mastercard. */
|
|
255
|
+
| 'MASTERCARD'
|
|
256
|
+
/** Visa. */
|
|
257
|
+
| 'VISA';
|
|
258
|
+
/** A cart represents the merchandise that a buyer intends to purchase, and the estimated cost associated with the cart. To learn how to interact with a cart during a customer's session, refer to [Manage a cart with the Storefront API](https://shopify.dev/api/examples/cart). */
|
|
259
|
+
type Cart = Node & {
|
|
260
|
+
/** An attribute associated with the cart. */
|
|
261
|
+
attribute?: Maybe<Attribute>;
|
|
262
|
+
/** The attributes associated with the cart. Attributes are represented as key-value pairs. */
|
|
263
|
+
attributes: Array<Attribute>;
|
|
264
|
+
/** Information about the buyer that is interacting with the cart. */
|
|
265
|
+
buyerIdentity: CartBuyerIdentity;
|
|
266
|
+
/** The URL of the checkout for the cart. */
|
|
267
|
+
checkoutUrl: Scalars['URL'];
|
|
268
|
+
/** The estimated costs that the buyer will pay at checkout. The costs are subject to change and changes will be reflected at checkout. The `cost` field uses the `buyerIdentity` field to determine [international pricing](https://shopify.dev/api/examples/international-pricing#create-a-cart). */
|
|
269
|
+
cost: CartCost;
|
|
270
|
+
/** The date and time when the cart was created. */
|
|
271
|
+
createdAt: Scalars['DateTime'];
|
|
272
|
+
/** The delivery groups available for the cart, based on the default address of the logged-in customer. */
|
|
273
|
+
deliveryGroups: CartDeliveryGroupConnection;
|
|
274
|
+
/** The discounts that have been applied to the entire cart. */
|
|
275
|
+
discountAllocations: Array<CartDiscountAllocation>;
|
|
276
|
+
/**
|
|
277
|
+
* The case-insensitive discount codes that the customer added at checkout.
|
|
278
|
+
*
|
|
279
|
+
*/
|
|
280
|
+
discountCodes: Array<CartDiscountCode>;
|
|
281
|
+
/**
|
|
282
|
+
* The estimated costs that the buyer will pay at checkout. The estimated costs are subject to change and changes will be reflected at checkout. The `estimatedCost` field uses the `buyerIdentity` field to determine [international pricing](https://shopify.dev/api/examples/international-pricing#create-a-cart).
|
|
283
|
+
* @deprecated Use `cost` instead
|
|
284
|
+
*/
|
|
285
|
+
estimatedCost: CartEstimatedCost;
|
|
286
|
+
/** A globally-unique identifier. */
|
|
287
|
+
id: Scalars['ID'];
|
|
288
|
+
/** A list of lines containing information about the items the customer intends to purchase. */
|
|
289
|
+
lines: CartLineConnection;
|
|
290
|
+
/** A note that is associated with the cart. For example, the note can be a personalized message to the buyer. */
|
|
291
|
+
note?: Maybe<Scalars['String']>;
|
|
292
|
+
/** The total number of items in the cart. */
|
|
293
|
+
totalQuantity: Scalars['Int'];
|
|
294
|
+
/** The date and time when the cart was updated. */
|
|
295
|
+
updatedAt: Scalars['DateTime'];
|
|
296
|
+
};
|
|
297
|
+
/** Represents information about the buyer that is interacting with the cart. */
|
|
298
|
+
type CartBuyerIdentity = {
|
|
299
|
+
/** The country where the buyer is located. */
|
|
300
|
+
countryCode?: Maybe<CountryCode>;
|
|
301
|
+
/** The customer account associated with the cart. */
|
|
302
|
+
customer?: Maybe<Customer>;
|
|
303
|
+
/** The email address of the buyer that is interacting with the cart. */
|
|
304
|
+
email?: Maybe<Scalars['String']>;
|
|
305
|
+
/** The phone number of the buyer that is interacting with the cart. */
|
|
306
|
+
phone?: Maybe<Scalars['String']>;
|
|
307
|
+
};
|
|
308
|
+
/**
|
|
309
|
+
* Specifies the input fields to update the buyer information associated with a cart.
|
|
310
|
+
* Buyer identity is used to determine
|
|
311
|
+
* [international pricing](https://shopify.dev/api/examples/international-pricing#create-a-checkout)
|
|
312
|
+
* and should match the customer's shipping address.
|
|
313
|
+
*
|
|
314
|
+
*/
|
|
315
|
+
type CartBuyerIdentityInput = {
|
|
316
|
+
/** The country where the buyer is located. */
|
|
317
|
+
countryCode?: InputMaybe<CountryCode>;
|
|
318
|
+
/** The access token used to identify the customer associated with the cart. */
|
|
319
|
+
customerAccessToken?: InputMaybe<Scalars['String']>;
|
|
320
|
+
/** The email address of the buyer that is interacting with the cart. */
|
|
321
|
+
email?: InputMaybe<Scalars['String']>;
|
|
322
|
+
/** The phone number of the buyer that is interacting with the cart. */
|
|
323
|
+
phone?: InputMaybe<Scalars['String']>;
|
|
324
|
+
};
|
|
325
|
+
/**
|
|
326
|
+
* The costs that the buyer will pay at checkout.
|
|
327
|
+
* It uses [`CartBuyerIdentity`](https://shopify.dev/api/storefront/reference/cart/cartbuyeridentity) to determine
|
|
328
|
+
* [international pricing](https://shopify.dev/api/examples/international-pricing#create-a-cart).
|
|
329
|
+
*
|
|
330
|
+
*/
|
|
331
|
+
type CartCost = {
|
|
332
|
+
/** The estimated amount, before taxes and discounts, for the customer to pay at checkout. The checkout charge amount doesn't include any deferred payments that'll be paid at a later date. If the cart has no deferred payments, then the checkout charge amount is equivalent to `subtotalAmount`. */
|
|
333
|
+
checkoutChargeAmount: MoneyV2;
|
|
334
|
+
/** The amount, before taxes and cart-level discounts, for the customer to pay. */
|
|
335
|
+
subtotalAmount: MoneyV2;
|
|
336
|
+
/** Whether the subtotal amount is estimated. */
|
|
337
|
+
subtotalAmountEstimated: Scalars['Boolean'];
|
|
338
|
+
/** The total amount for the customer to pay. */
|
|
339
|
+
totalAmount: MoneyV2;
|
|
340
|
+
/** Whether the total amount is estimated. */
|
|
341
|
+
totalAmountEstimated: Scalars['Boolean'];
|
|
342
|
+
/** The duty amount for the customer to pay at checkout. */
|
|
343
|
+
totalDutyAmount?: Maybe<MoneyV2>;
|
|
344
|
+
/** Whether the total duty amount is estimated. */
|
|
345
|
+
totalDutyAmountEstimated: Scalars['Boolean'];
|
|
346
|
+
/** The tax amount for the customer to pay at checkout. */
|
|
347
|
+
totalTaxAmount?: Maybe<MoneyV2>;
|
|
348
|
+
/** Whether the total tax amount is estimated. */
|
|
349
|
+
totalTaxAmountEstimated: Scalars['Boolean'];
|
|
350
|
+
};
|
|
351
|
+
/** Information about the options available for one or more line items to be delivered to a specific address. */
|
|
352
|
+
type CartDeliveryGroup = {
|
|
353
|
+
/** A list of cart lines for the delivery group. */
|
|
354
|
+
cartLines: CartLineConnection;
|
|
355
|
+
/** The destination address for the delivery group. */
|
|
356
|
+
deliveryAddress: MailingAddress;
|
|
357
|
+
/** The delivery options available for the delivery group. */
|
|
358
|
+
deliveryOptions: Array<CartDeliveryOption>;
|
|
359
|
+
/** The ID for the delivery group. */
|
|
360
|
+
id: Scalars['ID'];
|
|
361
|
+
};
|
|
362
|
+
/**
|
|
363
|
+
* An auto-generated type for paginating through multiple CartDeliveryGroups.
|
|
364
|
+
*
|
|
365
|
+
*/
|
|
366
|
+
type CartDeliveryGroupConnection = {
|
|
367
|
+
/** A list of edges. */
|
|
368
|
+
edges: Array<CartDeliveryGroupEdge>;
|
|
369
|
+
/** A list of the nodes contained in CartDeliveryGroupEdge. */
|
|
370
|
+
nodes: Array<CartDeliveryGroup>;
|
|
371
|
+
/** Information to aid in pagination. */
|
|
372
|
+
pageInfo: PageInfo;
|
|
373
|
+
};
|
|
374
|
+
/**
|
|
375
|
+
* An auto-generated type which holds one CartDeliveryGroup and a cursor during pagination.
|
|
376
|
+
*
|
|
377
|
+
*/
|
|
378
|
+
type CartDeliveryGroupEdge = {
|
|
379
|
+
/** A cursor for use in pagination. */
|
|
380
|
+
cursor: Scalars['String'];
|
|
381
|
+
/** The item at the end of CartDeliveryGroupEdge. */
|
|
382
|
+
node: CartDeliveryGroup;
|
|
383
|
+
};
|
|
384
|
+
/** Information about a delivery option. */
|
|
385
|
+
type CartDeliveryOption = {
|
|
386
|
+
/** The code of the delivery option. */
|
|
387
|
+
code?: Maybe<Scalars['String']>;
|
|
388
|
+
/** The method for the delivery option. */
|
|
389
|
+
deliveryMethodType: DeliveryMethodType;
|
|
390
|
+
/** The description of the delivery option. */
|
|
391
|
+
description?: Maybe<Scalars['String']>;
|
|
392
|
+
/** The estimated cost for the delivery option. */
|
|
393
|
+
estimatedCost: MoneyV2;
|
|
394
|
+
/** The title of the delivery option. */
|
|
395
|
+
title?: Maybe<Scalars['String']>;
|
|
396
|
+
};
|
|
397
|
+
/** The discounts that have been applied to the cart line. */
|
|
398
|
+
type CartDiscountAllocation = {
|
|
399
|
+
/** The discounted amount that has been applied to the cart line. */
|
|
400
|
+
discountedAmount: MoneyV2;
|
|
401
|
+
};
|
|
402
|
+
/** The discount codes applied to the cart. */
|
|
403
|
+
type CartDiscountCode = {
|
|
404
|
+
/** Whether the discount code is applicable to the cart's current contents. */
|
|
405
|
+
applicable: Scalars['Boolean'];
|
|
406
|
+
/** The code for the discount. */
|
|
407
|
+
code: Scalars['String'];
|
|
408
|
+
};
|
|
409
|
+
/** Possible error codes that can be returned by `CartUserError`. */
|
|
410
|
+
type CartErrorCode =
|
|
411
|
+
/** The input value is invalid. */
|
|
412
|
+
'INVALID'
|
|
413
|
+
/** Merchandise line was not found in cart. */
|
|
414
|
+
| 'INVALID_MERCHANDISE_LINE'
|
|
415
|
+
/** The input value should be less than the maximum value allowed. */
|
|
416
|
+
| 'LESS_THAN'
|
|
417
|
+
/** Missing discount code. */
|
|
418
|
+
| 'MISSING_DISCOUNT_CODE'
|
|
419
|
+
/** Missing note. */
|
|
420
|
+
| 'MISSING_NOTE';
|
|
421
|
+
/**
|
|
422
|
+
* The estimated costs that the buyer will pay at checkout.
|
|
423
|
+
* It uses [`CartBuyerIdentity`](https://shopify.dev/api/storefront/reference/cart/cartbuyeridentity) to determine
|
|
424
|
+
* [international pricing](https://shopify.dev/api/examples/international-pricing#create-a-cart).
|
|
425
|
+
*
|
|
426
|
+
*/
|
|
427
|
+
type CartEstimatedCost = {
|
|
428
|
+
/** The estimated amount, before taxes and discounts, for the customer to pay at checkout. The checkout charge amount doesn't include any deferred payments that'll be paid at a later date. If the cart has no deferred payments, then the checkout charge amount is equivalent to`subtotal_amount`. */
|
|
429
|
+
checkoutChargeAmount: MoneyV2;
|
|
430
|
+
/** The estimated amount, before taxes and discounts, for the customer to pay. */
|
|
431
|
+
subtotalAmount: MoneyV2;
|
|
432
|
+
/** The estimated total amount for the customer to pay. */
|
|
433
|
+
totalAmount: MoneyV2;
|
|
434
|
+
/** The estimated duty amount for the customer to pay at checkout. */
|
|
435
|
+
totalDutyAmount?: Maybe<MoneyV2>;
|
|
436
|
+
/** The estimated tax amount for the customer to pay at checkout. */
|
|
437
|
+
totalTaxAmount?: Maybe<MoneyV2>;
|
|
438
|
+
};
|
|
439
|
+
/** Specifies the input fields to create a cart. */
|
|
440
|
+
type CartInput = {
|
|
441
|
+
/** An array of key-value pairs that contains additional information about the cart. */
|
|
442
|
+
attributes?: InputMaybe<Array<AttributeInput>>;
|
|
443
|
+
/** The customer associated with the cart. Used to determine [international pricing](https://shopify.dev/api/examples/international-pricing#create-a-checkout). Buyer identity should match the customer's shipping address. */
|
|
444
|
+
buyerIdentity?: InputMaybe<CartBuyerIdentityInput>;
|
|
445
|
+
/**
|
|
446
|
+
* The case-insensitive discount codes that the customer added at checkout.
|
|
447
|
+
*
|
|
448
|
+
*/
|
|
449
|
+
discountCodes?: InputMaybe<Array<Scalars['String']>>;
|
|
450
|
+
/** A list of merchandise lines to add to the cart. */
|
|
451
|
+
lines?: InputMaybe<Array<CartLineInput>>;
|
|
452
|
+
/** A note that is associated with the cart. For example, the note can be a personalized message to the buyer. */
|
|
453
|
+
note?: InputMaybe<Scalars['String']>;
|
|
454
|
+
};
|
|
455
|
+
/** Represents information about the merchandise in the cart. */
|
|
456
|
+
type CartLine = Node & {
|
|
457
|
+
/** An attribute associated with the cart line. */
|
|
458
|
+
attribute?: Maybe<Attribute>;
|
|
459
|
+
/** The attributes associated with the cart line. Attributes are represented as key-value pairs. */
|
|
460
|
+
attributes: Array<Attribute>;
|
|
461
|
+
/** The cost of the merchandise that the buyer will pay for at checkout. The costs are subject to change and changes will be reflected at checkout. */
|
|
462
|
+
cost: CartLineCost;
|
|
463
|
+
/** The discounts that have been applied to the cart line. */
|
|
464
|
+
discountAllocations: Array<CartDiscountAllocation>;
|
|
465
|
+
/**
|
|
466
|
+
* The estimated cost of the merchandise that the buyer will pay for at checkout. The estimated costs are subject to change and changes will be reflected at checkout.
|
|
467
|
+
* @deprecated Use `cost` instead
|
|
468
|
+
*/
|
|
469
|
+
estimatedCost: CartLineEstimatedCost;
|
|
470
|
+
/** A globally-unique identifier. */
|
|
471
|
+
id: Scalars['ID'];
|
|
472
|
+
/** The merchandise that the buyer intends to purchase. */
|
|
473
|
+
merchandise: Merchandise;
|
|
474
|
+
/** The quantity of the merchandise that the customer intends to purchase. */
|
|
475
|
+
quantity: Scalars['Int'];
|
|
476
|
+
/** The selling plan associated with the cart line and the effect that each selling plan has on variants when they're purchased. */
|
|
477
|
+
sellingPlanAllocation?: Maybe<SellingPlanAllocation>;
|
|
478
|
+
};
|
|
479
|
+
/**
|
|
480
|
+
* An auto-generated type for paginating through multiple CartLines.
|
|
481
|
+
*
|
|
482
|
+
*/
|
|
483
|
+
type CartLineConnection = {
|
|
484
|
+
/** A list of edges. */
|
|
485
|
+
edges: Array<CartLineEdge>;
|
|
486
|
+
/** A list of the nodes contained in CartLineEdge. */
|
|
487
|
+
nodes: Array<CartLine>;
|
|
488
|
+
/** Information to aid in pagination. */
|
|
489
|
+
pageInfo: PageInfo;
|
|
490
|
+
};
|
|
491
|
+
/** The cost of the merchandise line that the buyer will pay at checkout. */
|
|
492
|
+
type CartLineCost = {
|
|
493
|
+
/** The amount of the merchandise line. */
|
|
494
|
+
amountPerQuantity: MoneyV2;
|
|
495
|
+
/** The compare at amount of the merchandise line. */
|
|
496
|
+
compareAtAmountPerQuantity?: Maybe<MoneyV2>;
|
|
497
|
+
/** The cost of the merchandise line before line-level discounts. */
|
|
498
|
+
subtotalAmount: MoneyV2;
|
|
499
|
+
/** The total cost of the merchandise line. */
|
|
500
|
+
totalAmount: MoneyV2;
|
|
501
|
+
};
|
|
502
|
+
/**
|
|
503
|
+
* An auto-generated type which holds one CartLine and a cursor during pagination.
|
|
504
|
+
*
|
|
505
|
+
*/
|
|
506
|
+
type CartLineEdge = {
|
|
507
|
+
/** A cursor for use in pagination. */
|
|
508
|
+
cursor: Scalars['String'];
|
|
509
|
+
/** The item at the end of CartLineEdge. */
|
|
510
|
+
node: CartLine;
|
|
511
|
+
};
|
|
512
|
+
/** The estimated cost of the merchandise line that the buyer will pay at checkout. */
|
|
513
|
+
type CartLineEstimatedCost = {
|
|
514
|
+
/** The amount of the merchandise line. */
|
|
515
|
+
amount: MoneyV2;
|
|
516
|
+
/** The compare at amount of the merchandise line. */
|
|
517
|
+
compareAtAmount?: Maybe<MoneyV2>;
|
|
518
|
+
/** The estimated cost of the merchandise line before discounts. */
|
|
519
|
+
subtotalAmount: MoneyV2;
|
|
520
|
+
/** The estimated total cost of the merchandise line. */
|
|
521
|
+
totalAmount: MoneyV2;
|
|
522
|
+
};
|
|
523
|
+
/** Specifies the input fields to create a merchandise line on a cart. */
|
|
524
|
+
type CartLineInput = {
|
|
525
|
+
/** An array of key-value pairs that contains additional information about the merchandise line. */
|
|
526
|
+
attributes?: InputMaybe<Array<AttributeInput>>;
|
|
527
|
+
/** The identifier of the merchandise that the buyer intends to purchase. */
|
|
528
|
+
merchandiseId: Scalars['ID'];
|
|
529
|
+
/** The quantity of the merchandise. */
|
|
530
|
+
quantity?: InputMaybe<Scalars['Int']>;
|
|
531
|
+
/** The identifier of the selling plan that the merchandise is being purchased with. */
|
|
532
|
+
sellingPlanId?: InputMaybe<Scalars['ID']>;
|
|
533
|
+
};
|
|
534
|
+
/** Specifies the input fields to update a line item on a cart. */
|
|
535
|
+
type CartLineUpdateInput = {
|
|
536
|
+
/** An array of key-value pairs that contains additional information about the merchandise line. */
|
|
537
|
+
attributes?: InputMaybe<Array<AttributeInput>>;
|
|
538
|
+
/** The identifier of the merchandise line. */
|
|
539
|
+
id: Scalars['ID'];
|
|
540
|
+
/** The identifier of the merchandise for the line item. */
|
|
541
|
+
merchandiseId?: InputMaybe<Scalars['ID']>;
|
|
542
|
+
/** The quantity of the line item. */
|
|
543
|
+
quantity?: InputMaybe<Scalars['Int']>;
|
|
544
|
+
/** The identifier of the selling plan that the merchandise is being purchased with. */
|
|
545
|
+
sellingPlanId?: InputMaybe<Scalars['ID']>;
|
|
546
|
+
};
|
|
547
|
+
/** Represents an error that happens during execution of a cart mutation. */
|
|
548
|
+
type CartUserError = DisplayableError & {
|
|
549
|
+
/** The error code. */
|
|
550
|
+
code?: Maybe<CartErrorCode>;
|
|
551
|
+
/** The path to the input field that caused the error. */
|
|
552
|
+
field?: Maybe<Array<Scalars['String']>>;
|
|
553
|
+
/** The error message. */
|
|
554
|
+
message: Scalars['String'];
|
|
555
|
+
};
|
|
556
|
+
/** A container for all the information required to checkout items and pay. */
|
|
557
|
+
type Checkout = Node & {
|
|
558
|
+
/** The gift cards used on the checkout. */
|
|
559
|
+
appliedGiftCards: Array<AppliedGiftCard>;
|
|
560
|
+
/**
|
|
561
|
+
* The available shipping rates for this Checkout.
|
|
562
|
+
* Should only be used when checkout `requiresShipping` is `true` and
|
|
563
|
+
* the shipping address is valid.
|
|
564
|
+
*
|
|
565
|
+
*/
|
|
566
|
+
availableShippingRates?: Maybe<AvailableShippingRates>;
|
|
567
|
+
/** The identity of the customer associated with the checkout. */
|
|
568
|
+
buyerIdentity: CheckoutBuyerIdentity;
|
|
569
|
+
/** The date and time when the checkout was completed. */
|
|
570
|
+
completedAt?: Maybe<Scalars['DateTime']>;
|
|
571
|
+
/** The date and time when the checkout was created. */
|
|
572
|
+
createdAt: Scalars['DateTime'];
|
|
573
|
+
/** The currency code for the checkout. */
|
|
574
|
+
currencyCode: CurrencyCode;
|
|
575
|
+
/** A list of extra information that is added to the checkout. */
|
|
576
|
+
customAttributes: Array<Attribute>;
|
|
577
|
+
/** Discounts that have been applied on the checkout. */
|
|
578
|
+
discountApplications: DiscountApplicationConnection;
|
|
579
|
+
/** The email attached to this checkout. */
|
|
580
|
+
email?: Maybe<Scalars['String']>;
|
|
581
|
+
/** A globally-unique identifier. */
|
|
582
|
+
id: Scalars['ID'];
|
|
583
|
+
/** A list of line item objects, each one containing information about an item in the checkout. */
|
|
584
|
+
lineItems: CheckoutLineItemConnection;
|
|
585
|
+
/** The sum of all the prices of all the items in the checkout. Duties, taxes, shipping and discounts excluded. */
|
|
586
|
+
lineItemsSubtotalPrice: MoneyV2;
|
|
587
|
+
/** The note associated with the checkout. */
|
|
588
|
+
note?: Maybe<Scalars['String']>;
|
|
589
|
+
/** The resulting order from a paid checkout. */
|
|
590
|
+
order?: Maybe<Order>;
|
|
591
|
+
/** The Order Status Page for this Checkout, null when checkout is not completed. */
|
|
592
|
+
orderStatusUrl?: Maybe<Scalars['URL']>;
|
|
593
|
+
/**
|
|
594
|
+
* The amount left to be paid. This is equal to the cost of the line items, taxes and shipping minus discounts and gift cards.
|
|
595
|
+
* @deprecated Use `paymentDueV2` instead
|
|
596
|
+
*/
|
|
597
|
+
paymentDue: Scalars['Money'];
|
|
598
|
+
/** The amount left to be paid. This is equal to the cost of the line items, duties, taxes, and shipping, minus discounts and gift cards. */
|
|
599
|
+
paymentDueV2: MoneyV2;
|
|
600
|
+
/**
|
|
601
|
+
* Whether or not the Checkout is ready and can be completed. Checkouts may
|
|
602
|
+
* have asynchronous operations that can take time to finish. If you want
|
|
603
|
+
* to complete a checkout or ensure all the fields are populated and up to
|
|
604
|
+
* date, polling is required until the value is true.
|
|
605
|
+
*
|
|
606
|
+
*/
|
|
607
|
+
ready: Scalars['Boolean'];
|
|
608
|
+
/** States whether or not the fulfillment requires shipping. */
|
|
609
|
+
requiresShipping: Scalars['Boolean'];
|
|
610
|
+
/** The shipping address to where the line items will be shipped. */
|
|
611
|
+
shippingAddress?: Maybe<MailingAddress>;
|
|
612
|
+
/**
|
|
613
|
+
* The discounts that have been allocated onto the shipping line by discount applications.
|
|
614
|
+
*
|
|
615
|
+
*/
|
|
616
|
+
shippingDiscountAllocations: Array<DiscountAllocation>;
|
|
617
|
+
/** Once a shipping rate is selected by the customer it is transitioned to a `shipping_line` object. */
|
|
618
|
+
shippingLine?: Maybe<ShippingRate>;
|
|
619
|
+
/**
|
|
620
|
+
* Price of the checkout before shipping and taxes.
|
|
621
|
+
* @deprecated Use `subtotalPriceV2` instead
|
|
622
|
+
*/
|
|
623
|
+
subtotalPrice: Scalars['Money'];
|
|
624
|
+
/** The price at checkout before duties, shipping, and taxes. */
|
|
625
|
+
subtotalPriceV2: MoneyV2;
|
|
626
|
+
/** Whether the checkout is tax exempt. */
|
|
627
|
+
taxExempt: Scalars['Boolean'];
|
|
628
|
+
/** Whether taxes are included in the line item and shipping line prices. */
|
|
629
|
+
taxesIncluded: Scalars['Boolean'];
|
|
630
|
+
/** The sum of all the duties applied to the line items in the checkout. */
|
|
631
|
+
totalDuties?: Maybe<MoneyV2>;
|
|
632
|
+
/**
|
|
633
|
+
* The sum of all the prices of all the items in the checkout, taxes and discounts included.
|
|
634
|
+
* @deprecated Use `totalPriceV2` instead
|
|
635
|
+
*/
|
|
636
|
+
totalPrice: Scalars['Money'];
|
|
637
|
+
/** The sum of all the prices of all the items in the checkout, including duties, taxes, and discounts. */
|
|
638
|
+
totalPriceV2: MoneyV2;
|
|
639
|
+
/**
|
|
640
|
+
* The sum of all the taxes applied to the line items and shipping lines in the checkout.
|
|
641
|
+
* @deprecated Use `totalTaxV2` instead
|
|
642
|
+
*/
|
|
643
|
+
totalTax: Scalars['Money'];
|
|
644
|
+
/** The sum of all the taxes applied to the line items and shipping lines in the checkout. */
|
|
645
|
+
totalTaxV2: MoneyV2;
|
|
646
|
+
/** The date and time when the checkout was last updated. */
|
|
647
|
+
updatedAt: Scalars['DateTime'];
|
|
648
|
+
/** The url pointing to the checkout accessible from the web. */
|
|
649
|
+
webUrl: Scalars['URL'];
|
|
650
|
+
};
|
|
651
|
+
/** The identity of the customer associated with the checkout. */
|
|
652
|
+
type CheckoutBuyerIdentity = {
|
|
653
|
+
/** The country code for the checkout. For example, `CA`. */
|
|
654
|
+
countryCode?: Maybe<CountryCode>;
|
|
655
|
+
};
|
|
656
|
+
/** A single line item in the checkout, grouped by variant and attributes. */
|
|
657
|
+
type CheckoutLineItem = Node & {
|
|
658
|
+
/** Extra information in the form of an array of Key-Value pairs about the line item. */
|
|
659
|
+
customAttributes: Array<Attribute>;
|
|
660
|
+
/** The discounts that have been allocated onto the checkout line item by discount applications. */
|
|
661
|
+
discountAllocations: Array<DiscountAllocation>;
|
|
662
|
+
/** A globally-unique identifier. */
|
|
663
|
+
id: Scalars['ID'];
|
|
664
|
+
/** The quantity of the line item. */
|
|
665
|
+
quantity: Scalars['Int'];
|
|
666
|
+
/** Title of the line item. Defaults to the product's title. */
|
|
667
|
+
title: Scalars['String'];
|
|
668
|
+
/** Unit price of the line item. */
|
|
669
|
+
unitPrice?: Maybe<MoneyV2>;
|
|
670
|
+
/** Product variant of the line item. */
|
|
671
|
+
variant?: Maybe<ProductVariant>;
|
|
672
|
+
};
|
|
673
|
+
/**
|
|
674
|
+
* An auto-generated type for paginating through multiple CheckoutLineItems.
|
|
675
|
+
*
|
|
676
|
+
*/
|
|
677
|
+
type CheckoutLineItemConnection = {
|
|
678
|
+
/** A list of edges. */
|
|
679
|
+
edges: Array<CheckoutLineItemEdge>;
|
|
680
|
+
/** A list of the nodes contained in CheckoutLineItemEdge. */
|
|
681
|
+
nodes: Array<CheckoutLineItem>;
|
|
682
|
+
/** Information to aid in pagination. */
|
|
683
|
+
pageInfo: PageInfo;
|
|
684
|
+
};
|
|
685
|
+
/**
|
|
686
|
+
* An auto-generated type which holds one CheckoutLineItem and a cursor during pagination.
|
|
687
|
+
*
|
|
688
|
+
*/
|
|
689
|
+
type CheckoutLineItemEdge = {
|
|
690
|
+
/** A cursor for use in pagination. */
|
|
691
|
+
cursor: Scalars['String'];
|
|
692
|
+
/** The item at the end of CheckoutLineItemEdge. */
|
|
693
|
+
node: CheckoutLineItem;
|
|
694
|
+
};
|
|
695
|
+
/** A collection represents a grouping of products that a shop owner can create to organize them or make their shops easier to browse. */
|
|
696
|
+
type Collection = HasMetafields & Node & OnlineStorePublishable & {
|
|
697
|
+
/** Stripped description of the collection, single line with HTML tags removed. */
|
|
698
|
+
description: Scalars['String'];
|
|
699
|
+
/** The description of the collection, complete with HTML formatting. */
|
|
700
|
+
descriptionHtml: Scalars['HTML'];
|
|
701
|
+
/**
|
|
702
|
+
* A human-friendly unique string for the collection automatically generated from its title.
|
|
703
|
+
* Limit of 255 characters.
|
|
704
|
+
*
|
|
705
|
+
*/
|
|
706
|
+
handle: Scalars['String'];
|
|
707
|
+
/** A globally-unique identifier. */
|
|
708
|
+
id: Scalars['ID'];
|
|
709
|
+
/** Image associated with the collection. */
|
|
710
|
+
image?: Maybe<Image>;
|
|
711
|
+
/** Returns a metafield found by namespace and key. */
|
|
712
|
+
metafield?: Maybe<Metafield>;
|
|
713
|
+
/**
|
|
714
|
+
* The metafields associated with the resource matching the supplied list of namespaces and keys.
|
|
715
|
+
*
|
|
716
|
+
*/
|
|
717
|
+
metafields: Array<Maybe<Metafield>>;
|
|
718
|
+
/** The URL used for viewing the resource on the shop's Online Store. Returns `null` if the resource is currently not published to the Online Store sales channel. */
|
|
719
|
+
onlineStoreUrl?: Maybe<Scalars['URL']>;
|
|
720
|
+
/** List of products in the collection. */
|
|
721
|
+
products: ProductConnection;
|
|
722
|
+
/** The collection's SEO information. */
|
|
723
|
+
seo: Seo;
|
|
724
|
+
/** The collection’s name. Limit of 255 characters. */
|
|
725
|
+
title: Scalars['String'];
|
|
726
|
+
/** The date and time when the collection was last modified. */
|
|
727
|
+
updatedAt: Scalars['DateTime'];
|
|
728
|
+
};
|
|
729
|
+
/**
|
|
730
|
+
* An auto-generated type for paginating through multiple Collections.
|
|
731
|
+
*
|
|
732
|
+
*/
|
|
733
|
+
type CollectionConnection = {
|
|
734
|
+
/** A list of edges. */
|
|
735
|
+
edges: Array<CollectionEdge>;
|
|
736
|
+
/** A list of the nodes contained in CollectionEdge. */
|
|
737
|
+
nodes: Array<Collection>;
|
|
738
|
+
/** Information to aid in pagination. */
|
|
739
|
+
pageInfo: PageInfo;
|
|
740
|
+
};
|
|
741
|
+
/**
|
|
742
|
+
* An auto-generated type which holds one Collection and a cursor during pagination.
|
|
743
|
+
*
|
|
744
|
+
*/
|
|
745
|
+
type CollectionEdge = {
|
|
746
|
+
/** A cursor for use in pagination. */
|
|
747
|
+
cursor: Scalars['String'];
|
|
748
|
+
/** The item at the end of CollectionEdge. */
|
|
749
|
+
node: Collection;
|
|
750
|
+
};
|
|
751
|
+
/** A comment on an article. */
|
|
752
|
+
type Comment = Node & {
|
|
753
|
+
/** The comment’s author. */
|
|
754
|
+
author: CommentAuthor;
|
|
755
|
+
/** Stripped content of the comment, single line with HTML tags removed. */
|
|
756
|
+
content: Scalars['String'];
|
|
757
|
+
/** The content of the comment, complete with HTML formatting. */
|
|
758
|
+
contentHtml: Scalars['HTML'];
|
|
759
|
+
/** A globally-unique identifier. */
|
|
760
|
+
id: Scalars['ID'];
|
|
761
|
+
};
|
|
762
|
+
/** The author of a comment. */
|
|
763
|
+
type CommentAuthor = {
|
|
764
|
+
/** The author's email. */
|
|
765
|
+
email: Scalars['String'];
|
|
766
|
+
/** The author’s name. */
|
|
767
|
+
name: Scalars['String'];
|
|
768
|
+
};
|
|
769
|
+
/**
|
|
770
|
+
* An auto-generated type for paginating through multiple Comments.
|
|
771
|
+
*
|
|
772
|
+
*/
|
|
773
|
+
type CommentConnection = {
|
|
774
|
+
/** A list of edges. */
|
|
775
|
+
edges: Array<CommentEdge>;
|
|
776
|
+
/** A list of the nodes contained in CommentEdge. */
|
|
777
|
+
nodes: Array<Comment>;
|
|
778
|
+
/** Information to aid in pagination. */
|
|
779
|
+
pageInfo: PageInfo;
|
|
780
|
+
};
|
|
781
|
+
/**
|
|
782
|
+
* An auto-generated type which holds one Comment and a cursor during pagination.
|
|
783
|
+
*
|
|
784
|
+
*/
|
|
785
|
+
type CommentEdge = {
|
|
786
|
+
/** A cursor for use in pagination. */
|
|
787
|
+
cursor: Scalars['String'];
|
|
788
|
+
/** The item at the end of CommentEdge. */
|
|
789
|
+
node: Comment;
|
|
790
|
+
};
|
|
791
|
+
/** A country. */
|
|
792
|
+
type Country = {
|
|
793
|
+
/** The languages available for the country. */
|
|
794
|
+
availableLanguages: Array<Language>;
|
|
795
|
+
/** The currency of the country. */
|
|
796
|
+
currency: Currency;
|
|
797
|
+
/** The ISO code of the country. */
|
|
798
|
+
isoCode: CountryCode;
|
|
799
|
+
/** The name of the country. */
|
|
800
|
+
name: Scalars['String'];
|
|
801
|
+
/** The unit system used in the country. */
|
|
802
|
+
unitSystem: UnitSystem;
|
|
803
|
+
};
|
|
804
|
+
/**
|
|
805
|
+
* The code designating a country/region, which generally follows ISO 3166-1 alpha-2 guidelines.
|
|
806
|
+
* If a territory doesn't have a country code value in the `CountryCode` enum, then it might be considered a subdivision
|
|
807
|
+
* of another country. For example, the territories associated with Spain are represented by the country code `ES`,
|
|
808
|
+
* and the territories associated with the United States of America are represented by the country code `US`.
|
|
809
|
+
*
|
|
810
|
+
*/
|
|
811
|
+
type CountryCode =
|
|
812
|
+
/** Ascension Island. */
|
|
813
|
+
'AC'
|
|
814
|
+
/** Andorra. */
|
|
815
|
+
| 'AD'
|
|
816
|
+
/** United Arab Emirates. */
|
|
817
|
+
| 'AE'
|
|
818
|
+
/** Afghanistan. */
|
|
819
|
+
| 'AF'
|
|
820
|
+
/** Antigua & Barbuda. */
|
|
821
|
+
| 'AG'
|
|
822
|
+
/** Anguilla. */
|
|
823
|
+
| 'AI'
|
|
824
|
+
/** Albania. */
|
|
825
|
+
| 'AL'
|
|
826
|
+
/** Armenia. */
|
|
827
|
+
| 'AM'
|
|
828
|
+
/** Netherlands Antilles. */
|
|
829
|
+
| 'AN'
|
|
830
|
+
/** Angola. */
|
|
831
|
+
| 'AO'
|
|
832
|
+
/** Argentina. */
|
|
833
|
+
| 'AR'
|
|
834
|
+
/** Austria. */
|
|
835
|
+
| 'AT'
|
|
836
|
+
/** Australia. */
|
|
837
|
+
| 'AU'
|
|
838
|
+
/** Aruba. */
|
|
839
|
+
| 'AW'
|
|
840
|
+
/** Åland Islands. */
|
|
841
|
+
| 'AX'
|
|
842
|
+
/** Azerbaijan. */
|
|
843
|
+
| 'AZ'
|
|
844
|
+
/** Bosnia & Herzegovina. */
|
|
845
|
+
| 'BA'
|
|
846
|
+
/** Barbados. */
|
|
847
|
+
| 'BB'
|
|
848
|
+
/** Bangladesh. */
|
|
849
|
+
| 'BD'
|
|
850
|
+
/** Belgium. */
|
|
851
|
+
| 'BE'
|
|
852
|
+
/** Burkina Faso. */
|
|
853
|
+
| 'BF'
|
|
854
|
+
/** Bulgaria. */
|
|
855
|
+
| 'BG'
|
|
856
|
+
/** Bahrain. */
|
|
857
|
+
| 'BH'
|
|
858
|
+
/** Burundi. */
|
|
859
|
+
| 'BI'
|
|
860
|
+
/** Benin. */
|
|
861
|
+
| 'BJ'
|
|
862
|
+
/** St. Barthélemy. */
|
|
863
|
+
| 'BL'
|
|
864
|
+
/** Bermuda. */
|
|
865
|
+
| 'BM'
|
|
866
|
+
/** Brunei. */
|
|
867
|
+
| 'BN'
|
|
868
|
+
/** Bolivia. */
|
|
869
|
+
| 'BO'
|
|
870
|
+
/** Caribbean Netherlands. */
|
|
871
|
+
| 'BQ'
|
|
872
|
+
/** Brazil. */
|
|
873
|
+
| 'BR'
|
|
874
|
+
/** Bahamas. */
|
|
875
|
+
| 'BS'
|
|
876
|
+
/** Bhutan. */
|
|
877
|
+
| 'BT'
|
|
878
|
+
/** Bouvet Island. */
|
|
879
|
+
| 'BV'
|
|
880
|
+
/** Botswana. */
|
|
881
|
+
| 'BW'
|
|
882
|
+
/** Belarus. */
|
|
883
|
+
| 'BY'
|
|
884
|
+
/** Belize. */
|
|
885
|
+
| 'BZ'
|
|
886
|
+
/** Canada. */
|
|
887
|
+
| 'CA'
|
|
888
|
+
/** Cocos (Keeling) Islands. */
|
|
889
|
+
| 'CC'
|
|
890
|
+
/** Congo - Kinshasa. */
|
|
891
|
+
| 'CD'
|
|
892
|
+
/** Central African Republic. */
|
|
893
|
+
| 'CF'
|
|
894
|
+
/** Congo - Brazzaville. */
|
|
895
|
+
| 'CG'
|
|
896
|
+
/** Switzerland. */
|
|
897
|
+
| 'CH'
|
|
898
|
+
/** Côte d’Ivoire. */
|
|
899
|
+
| 'CI'
|
|
900
|
+
/** Cook Islands. */
|
|
901
|
+
| 'CK'
|
|
902
|
+
/** Chile. */
|
|
903
|
+
| 'CL'
|
|
904
|
+
/** Cameroon. */
|
|
905
|
+
| 'CM'
|
|
906
|
+
/** China. */
|
|
907
|
+
| 'CN'
|
|
908
|
+
/** Colombia. */
|
|
909
|
+
| 'CO'
|
|
910
|
+
/** Costa Rica. */
|
|
911
|
+
| 'CR'
|
|
912
|
+
/** Cuba. */
|
|
913
|
+
| 'CU'
|
|
914
|
+
/** Cape Verde. */
|
|
915
|
+
| 'CV'
|
|
916
|
+
/** Curaçao. */
|
|
917
|
+
| 'CW'
|
|
918
|
+
/** Christmas Island. */
|
|
919
|
+
| 'CX'
|
|
920
|
+
/** Cyprus. */
|
|
921
|
+
| 'CY'
|
|
922
|
+
/** Czechia. */
|
|
923
|
+
| 'CZ'
|
|
924
|
+
/** Germany. */
|
|
925
|
+
| 'DE'
|
|
926
|
+
/** Djibouti. */
|
|
927
|
+
| 'DJ'
|
|
928
|
+
/** Denmark. */
|
|
929
|
+
| 'DK'
|
|
930
|
+
/** Dominica. */
|
|
931
|
+
| 'DM'
|
|
932
|
+
/** Dominican Republic. */
|
|
933
|
+
| 'DO'
|
|
934
|
+
/** Algeria. */
|
|
935
|
+
| 'DZ'
|
|
936
|
+
/** Ecuador. */
|
|
937
|
+
| 'EC'
|
|
938
|
+
/** Estonia. */
|
|
939
|
+
| 'EE'
|
|
940
|
+
/** Egypt. */
|
|
941
|
+
| 'EG'
|
|
942
|
+
/** Western Sahara. */
|
|
943
|
+
| 'EH'
|
|
944
|
+
/** Eritrea. */
|
|
945
|
+
| 'ER'
|
|
946
|
+
/** Spain. */
|
|
947
|
+
| 'ES'
|
|
948
|
+
/** Ethiopia. */
|
|
949
|
+
| 'ET'
|
|
950
|
+
/** Finland. */
|
|
951
|
+
| 'FI'
|
|
952
|
+
/** Fiji. */
|
|
953
|
+
| 'FJ'
|
|
954
|
+
/** Falkland Islands. */
|
|
955
|
+
| 'FK'
|
|
956
|
+
/** Faroe Islands. */
|
|
957
|
+
| 'FO'
|
|
958
|
+
/** France. */
|
|
959
|
+
| 'FR'
|
|
960
|
+
/** Gabon. */
|
|
961
|
+
| 'GA'
|
|
962
|
+
/** United Kingdom. */
|
|
963
|
+
| 'GB'
|
|
964
|
+
/** Grenada. */
|
|
965
|
+
| 'GD'
|
|
966
|
+
/** Georgia. */
|
|
967
|
+
| 'GE'
|
|
968
|
+
/** French Guiana. */
|
|
969
|
+
| 'GF'
|
|
970
|
+
/** Guernsey. */
|
|
971
|
+
| 'GG'
|
|
972
|
+
/** Ghana. */
|
|
973
|
+
| 'GH'
|
|
974
|
+
/** Gibraltar. */
|
|
975
|
+
| 'GI'
|
|
976
|
+
/** Greenland. */
|
|
977
|
+
| 'GL'
|
|
978
|
+
/** Gambia. */
|
|
979
|
+
| 'GM'
|
|
980
|
+
/** Guinea. */
|
|
981
|
+
| 'GN'
|
|
982
|
+
/** Guadeloupe. */
|
|
983
|
+
| 'GP'
|
|
984
|
+
/** Equatorial Guinea. */
|
|
985
|
+
| 'GQ'
|
|
986
|
+
/** Greece. */
|
|
987
|
+
| 'GR'
|
|
988
|
+
/** South Georgia & South Sandwich Islands. */
|
|
989
|
+
| 'GS'
|
|
990
|
+
/** Guatemala. */
|
|
991
|
+
| 'GT'
|
|
992
|
+
/** Guinea-Bissau. */
|
|
993
|
+
| 'GW'
|
|
994
|
+
/** Guyana. */
|
|
995
|
+
| 'GY'
|
|
996
|
+
/** Hong Kong SAR. */
|
|
997
|
+
| 'HK'
|
|
998
|
+
/** Heard & McDonald Islands. */
|
|
999
|
+
| 'HM'
|
|
1000
|
+
/** Honduras. */
|
|
1001
|
+
| 'HN'
|
|
1002
|
+
/** Croatia. */
|
|
1003
|
+
| 'HR'
|
|
1004
|
+
/** Haiti. */
|
|
1005
|
+
| 'HT'
|
|
1006
|
+
/** Hungary. */
|
|
1007
|
+
| 'HU'
|
|
1008
|
+
/** Indonesia. */
|
|
1009
|
+
| 'ID'
|
|
1010
|
+
/** Ireland. */
|
|
1011
|
+
| 'IE'
|
|
1012
|
+
/** Israel. */
|
|
1013
|
+
| 'IL'
|
|
1014
|
+
/** Isle of Man. */
|
|
1015
|
+
| 'IM'
|
|
1016
|
+
/** India. */
|
|
1017
|
+
| 'IN'
|
|
1018
|
+
/** British Indian Ocean Territory. */
|
|
1019
|
+
| 'IO'
|
|
1020
|
+
/** Iraq. */
|
|
1021
|
+
| 'IQ'
|
|
1022
|
+
/** Iran. */
|
|
1023
|
+
| 'IR'
|
|
1024
|
+
/** Iceland. */
|
|
1025
|
+
| 'IS'
|
|
1026
|
+
/** Italy. */
|
|
1027
|
+
| 'IT'
|
|
1028
|
+
/** Jersey. */
|
|
1029
|
+
| 'JE'
|
|
1030
|
+
/** Jamaica. */
|
|
1031
|
+
| 'JM'
|
|
1032
|
+
/** Jordan. */
|
|
1033
|
+
| 'JO'
|
|
1034
|
+
/** Japan. */
|
|
1035
|
+
| 'JP'
|
|
1036
|
+
/** Kenya. */
|
|
1037
|
+
| 'KE'
|
|
1038
|
+
/** Kyrgyzstan. */
|
|
1039
|
+
| 'KG'
|
|
1040
|
+
/** Cambodia. */
|
|
1041
|
+
| 'KH'
|
|
1042
|
+
/** Kiribati. */
|
|
1043
|
+
| 'KI'
|
|
1044
|
+
/** Comoros. */
|
|
1045
|
+
| 'KM'
|
|
1046
|
+
/** St. Kitts & Nevis. */
|
|
1047
|
+
| 'KN'
|
|
1048
|
+
/** North Korea. */
|
|
1049
|
+
| 'KP'
|
|
1050
|
+
/** South Korea. */
|
|
1051
|
+
| 'KR'
|
|
1052
|
+
/** Kuwait. */
|
|
1053
|
+
| 'KW'
|
|
1054
|
+
/** Cayman Islands. */
|
|
1055
|
+
| 'KY'
|
|
1056
|
+
/** Kazakhstan. */
|
|
1057
|
+
| 'KZ'
|
|
1058
|
+
/** Laos. */
|
|
1059
|
+
| 'LA'
|
|
1060
|
+
/** Lebanon. */
|
|
1061
|
+
| 'LB'
|
|
1062
|
+
/** St. Lucia. */
|
|
1063
|
+
| 'LC'
|
|
1064
|
+
/** Liechtenstein. */
|
|
1065
|
+
| 'LI'
|
|
1066
|
+
/** Sri Lanka. */
|
|
1067
|
+
| 'LK'
|
|
1068
|
+
/** Liberia. */
|
|
1069
|
+
| 'LR'
|
|
1070
|
+
/** Lesotho. */
|
|
1071
|
+
| 'LS'
|
|
1072
|
+
/** Lithuania. */
|
|
1073
|
+
| 'LT'
|
|
1074
|
+
/** Luxembourg. */
|
|
1075
|
+
| 'LU'
|
|
1076
|
+
/** Latvia. */
|
|
1077
|
+
| 'LV'
|
|
1078
|
+
/** Libya. */
|
|
1079
|
+
| 'LY'
|
|
1080
|
+
/** Morocco. */
|
|
1081
|
+
| 'MA'
|
|
1082
|
+
/** Monaco. */
|
|
1083
|
+
| 'MC'
|
|
1084
|
+
/** Moldova. */
|
|
1085
|
+
| 'MD'
|
|
1086
|
+
/** Montenegro. */
|
|
1087
|
+
| 'ME'
|
|
1088
|
+
/** St. Martin. */
|
|
1089
|
+
| 'MF'
|
|
1090
|
+
/** Madagascar. */
|
|
1091
|
+
| 'MG'
|
|
1092
|
+
/** North Macedonia. */
|
|
1093
|
+
| 'MK'
|
|
1094
|
+
/** Mali. */
|
|
1095
|
+
| 'ML'
|
|
1096
|
+
/** Myanmar (Burma). */
|
|
1097
|
+
| 'MM'
|
|
1098
|
+
/** Mongolia. */
|
|
1099
|
+
| 'MN'
|
|
1100
|
+
/** Macao SAR. */
|
|
1101
|
+
| 'MO'
|
|
1102
|
+
/** Martinique. */
|
|
1103
|
+
| 'MQ'
|
|
1104
|
+
/** Mauritania. */
|
|
1105
|
+
| 'MR'
|
|
1106
|
+
/** Montserrat. */
|
|
1107
|
+
| 'MS'
|
|
1108
|
+
/** Malta. */
|
|
1109
|
+
| 'MT'
|
|
1110
|
+
/** Mauritius. */
|
|
1111
|
+
| 'MU'
|
|
1112
|
+
/** Maldives. */
|
|
1113
|
+
| 'MV'
|
|
1114
|
+
/** Malawi. */
|
|
1115
|
+
| 'MW'
|
|
1116
|
+
/** Mexico. */
|
|
1117
|
+
| 'MX'
|
|
1118
|
+
/** Malaysia. */
|
|
1119
|
+
| 'MY'
|
|
1120
|
+
/** Mozambique. */
|
|
1121
|
+
| 'MZ'
|
|
1122
|
+
/** Namibia. */
|
|
1123
|
+
| 'NA'
|
|
1124
|
+
/** New Caledonia. */
|
|
1125
|
+
| 'NC'
|
|
1126
|
+
/** Niger. */
|
|
1127
|
+
| 'NE'
|
|
1128
|
+
/** Norfolk Island. */
|
|
1129
|
+
| 'NF'
|
|
1130
|
+
/** Nigeria. */
|
|
1131
|
+
| 'NG'
|
|
1132
|
+
/** Nicaragua. */
|
|
1133
|
+
| 'NI'
|
|
1134
|
+
/** Netherlands. */
|
|
1135
|
+
| 'NL'
|
|
1136
|
+
/** Norway. */
|
|
1137
|
+
| 'NO'
|
|
1138
|
+
/** Nepal. */
|
|
1139
|
+
| 'NP'
|
|
1140
|
+
/** Nauru. */
|
|
1141
|
+
| 'NR'
|
|
1142
|
+
/** Niue. */
|
|
1143
|
+
| 'NU'
|
|
1144
|
+
/** New Zealand. */
|
|
1145
|
+
| 'NZ'
|
|
1146
|
+
/** Oman. */
|
|
1147
|
+
| 'OM'
|
|
1148
|
+
/** Panama. */
|
|
1149
|
+
| 'PA'
|
|
1150
|
+
/** Peru. */
|
|
1151
|
+
| 'PE'
|
|
1152
|
+
/** French Polynesia. */
|
|
1153
|
+
| 'PF'
|
|
1154
|
+
/** Papua New Guinea. */
|
|
1155
|
+
| 'PG'
|
|
1156
|
+
/** Philippines. */
|
|
1157
|
+
| 'PH'
|
|
1158
|
+
/** Pakistan. */
|
|
1159
|
+
| 'PK'
|
|
1160
|
+
/** Poland. */
|
|
1161
|
+
| 'PL'
|
|
1162
|
+
/** St. Pierre & Miquelon. */
|
|
1163
|
+
| 'PM'
|
|
1164
|
+
/** Pitcairn Islands. */
|
|
1165
|
+
| 'PN'
|
|
1166
|
+
/** Palestinian Territories. */
|
|
1167
|
+
| 'PS'
|
|
1168
|
+
/** Portugal. */
|
|
1169
|
+
| 'PT'
|
|
1170
|
+
/** Paraguay. */
|
|
1171
|
+
| 'PY'
|
|
1172
|
+
/** Qatar. */
|
|
1173
|
+
| 'QA'
|
|
1174
|
+
/** Réunion. */
|
|
1175
|
+
| 'RE'
|
|
1176
|
+
/** Romania. */
|
|
1177
|
+
| 'RO'
|
|
1178
|
+
/** Serbia. */
|
|
1179
|
+
| 'RS'
|
|
1180
|
+
/** Russia. */
|
|
1181
|
+
| 'RU'
|
|
1182
|
+
/** Rwanda. */
|
|
1183
|
+
| 'RW'
|
|
1184
|
+
/** Saudi Arabia. */
|
|
1185
|
+
| 'SA'
|
|
1186
|
+
/** Solomon Islands. */
|
|
1187
|
+
| 'SB'
|
|
1188
|
+
/** Seychelles. */
|
|
1189
|
+
| 'SC'
|
|
1190
|
+
/** Sudan. */
|
|
1191
|
+
| 'SD'
|
|
1192
|
+
/** Sweden. */
|
|
1193
|
+
| 'SE'
|
|
1194
|
+
/** Singapore. */
|
|
1195
|
+
| 'SG'
|
|
1196
|
+
/** St. Helena. */
|
|
1197
|
+
| 'SH'
|
|
1198
|
+
/** Slovenia. */
|
|
1199
|
+
| 'SI'
|
|
1200
|
+
/** Svalbard & Jan Mayen. */
|
|
1201
|
+
| 'SJ'
|
|
1202
|
+
/** Slovakia. */
|
|
1203
|
+
| 'SK'
|
|
1204
|
+
/** Sierra Leone. */
|
|
1205
|
+
| 'SL'
|
|
1206
|
+
/** San Marino. */
|
|
1207
|
+
| 'SM'
|
|
1208
|
+
/** Senegal. */
|
|
1209
|
+
| 'SN'
|
|
1210
|
+
/** Somalia. */
|
|
1211
|
+
| 'SO'
|
|
1212
|
+
/** Suriname. */
|
|
1213
|
+
| 'SR'
|
|
1214
|
+
/** South Sudan. */
|
|
1215
|
+
| 'SS'
|
|
1216
|
+
/** São Tomé & Príncipe. */
|
|
1217
|
+
| 'ST'
|
|
1218
|
+
/** El Salvador. */
|
|
1219
|
+
| 'SV'
|
|
1220
|
+
/** Sint Maarten. */
|
|
1221
|
+
| 'SX'
|
|
1222
|
+
/** Syria. */
|
|
1223
|
+
| 'SY'
|
|
1224
|
+
/** Eswatini. */
|
|
1225
|
+
| 'SZ'
|
|
1226
|
+
/** Tristan da Cunha. */
|
|
1227
|
+
| 'TA'
|
|
1228
|
+
/** Turks & Caicos Islands. */
|
|
1229
|
+
| 'TC'
|
|
1230
|
+
/** Chad. */
|
|
1231
|
+
| 'TD'
|
|
1232
|
+
/** French Southern Territories. */
|
|
1233
|
+
| 'TF'
|
|
1234
|
+
/** Togo. */
|
|
1235
|
+
| 'TG'
|
|
1236
|
+
/** Thailand. */
|
|
1237
|
+
| 'TH'
|
|
1238
|
+
/** Tajikistan. */
|
|
1239
|
+
| 'TJ'
|
|
1240
|
+
/** Tokelau. */
|
|
1241
|
+
| 'TK'
|
|
1242
|
+
/** Timor-Leste. */
|
|
1243
|
+
| 'TL'
|
|
1244
|
+
/** Turkmenistan. */
|
|
1245
|
+
| 'TM'
|
|
1246
|
+
/** Tunisia. */
|
|
1247
|
+
| 'TN'
|
|
1248
|
+
/** Tonga. */
|
|
1249
|
+
| 'TO'
|
|
1250
|
+
/** Turkey. */
|
|
1251
|
+
| 'TR'
|
|
1252
|
+
/** Trinidad & Tobago. */
|
|
1253
|
+
| 'TT'
|
|
1254
|
+
/** Tuvalu. */
|
|
1255
|
+
| 'TV'
|
|
1256
|
+
/** Taiwan. */
|
|
1257
|
+
| 'TW'
|
|
1258
|
+
/** Tanzania. */
|
|
1259
|
+
| 'TZ'
|
|
1260
|
+
/** Ukraine. */
|
|
1261
|
+
| 'UA'
|
|
1262
|
+
/** Uganda. */
|
|
1263
|
+
| 'UG'
|
|
1264
|
+
/** U.S. Outlying Islands. */
|
|
1265
|
+
| 'UM'
|
|
1266
|
+
/** United States. */
|
|
1267
|
+
| 'US'
|
|
1268
|
+
/** Uruguay. */
|
|
1269
|
+
| 'UY'
|
|
1270
|
+
/** Uzbekistan. */
|
|
1271
|
+
| 'UZ'
|
|
1272
|
+
/** Vatican City. */
|
|
1273
|
+
| 'VA'
|
|
1274
|
+
/** St. Vincent & Grenadines. */
|
|
1275
|
+
| 'VC'
|
|
1276
|
+
/** Venezuela. */
|
|
1277
|
+
| 'VE'
|
|
1278
|
+
/** British Virgin Islands. */
|
|
1279
|
+
| 'VG'
|
|
1280
|
+
/** Vietnam. */
|
|
1281
|
+
| 'VN'
|
|
1282
|
+
/** Vanuatu. */
|
|
1283
|
+
| 'VU'
|
|
1284
|
+
/** Wallis & Futuna. */
|
|
1285
|
+
| 'WF'
|
|
1286
|
+
/** Samoa. */
|
|
1287
|
+
| 'WS'
|
|
1288
|
+
/** Kosovo. */
|
|
1289
|
+
| 'XK'
|
|
1290
|
+
/** Yemen. */
|
|
1291
|
+
| 'YE'
|
|
1292
|
+
/** Mayotte. */
|
|
1293
|
+
| 'YT'
|
|
1294
|
+
/** South Africa. */
|
|
1295
|
+
| 'ZA'
|
|
1296
|
+
/** Zambia. */
|
|
1297
|
+
| 'ZM'
|
|
1298
|
+
/** Zimbabwe. */
|
|
1299
|
+
| 'ZW'
|
|
1300
|
+
/** Unknown Region. */
|
|
1301
|
+
| 'ZZ';
|
|
1302
|
+
/** A currency. */
|
|
1303
|
+
type Currency = {
|
|
1304
|
+
/** The ISO code of the currency. */
|
|
1305
|
+
isoCode: CurrencyCode;
|
|
1306
|
+
/** The name of the currency. */
|
|
1307
|
+
name: Scalars['String'];
|
|
1308
|
+
/** The symbol of the currency. */
|
|
1309
|
+
symbol: Scalars['String'];
|
|
1310
|
+
};
|
|
1311
|
+
/**
|
|
1312
|
+
* The three-letter currency codes that represent the world currencies used in stores. These include standard ISO 4217 codes, legacy codes,
|
|
1313
|
+
* and non-standard codes.
|
|
1314
|
+
*
|
|
1315
|
+
*/
|
|
1316
|
+
type CurrencyCode =
|
|
1317
|
+
/** United Arab Emirates Dirham (AED). */
|
|
1318
|
+
'AED'
|
|
1319
|
+
/** Afghan Afghani (AFN). */
|
|
1320
|
+
| 'AFN'
|
|
1321
|
+
/** Albanian Lek (ALL). */
|
|
1322
|
+
| 'ALL'
|
|
1323
|
+
/** Armenian Dram (AMD). */
|
|
1324
|
+
| 'AMD'
|
|
1325
|
+
/** Netherlands Antillean Guilder. */
|
|
1326
|
+
| 'ANG'
|
|
1327
|
+
/** Angolan Kwanza (AOA). */
|
|
1328
|
+
| 'AOA'
|
|
1329
|
+
/** Argentine Pesos (ARS). */
|
|
1330
|
+
| 'ARS'
|
|
1331
|
+
/** Australian Dollars (AUD). */
|
|
1332
|
+
| 'AUD'
|
|
1333
|
+
/** Aruban Florin (AWG). */
|
|
1334
|
+
| 'AWG'
|
|
1335
|
+
/** Azerbaijani Manat (AZN). */
|
|
1336
|
+
| 'AZN'
|
|
1337
|
+
/** Bosnia and Herzegovina Convertible Mark (BAM). */
|
|
1338
|
+
| 'BAM'
|
|
1339
|
+
/** Barbadian Dollar (BBD). */
|
|
1340
|
+
| 'BBD'
|
|
1341
|
+
/** Bangladesh Taka (BDT). */
|
|
1342
|
+
| 'BDT'
|
|
1343
|
+
/** Bulgarian Lev (BGN). */
|
|
1344
|
+
| 'BGN'
|
|
1345
|
+
/** Bahraini Dinar (BHD). */
|
|
1346
|
+
| 'BHD'
|
|
1347
|
+
/** Burundian Franc (BIF). */
|
|
1348
|
+
| 'BIF'
|
|
1349
|
+
/** Bermudian Dollar (BMD). */
|
|
1350
|
+
| 'BMD'
|
|
1351
|
+
/** Brunei Dollar (BND). */
|
|
1352
|
+
| 'BND'
|
|
1353
|
+
/** Bolivian Boliviano (BOB). */
|
|
1354
|
+
| 'BOB'
|
|
1355
|
+
/** Brazilian Real (BRL). */
|
|
1356
|
+
| 'BRL'
|
|
1357
|
+
/** Bahamian Dollar (BSD). */
|
|
1358
|
+
| 'BSD'
|
|
1359
|
+
/** Bhutanese Ngultrum (BTN). */
|
|
1360
|
+
| 'BTN'
|
|
1361
|
+
/** Botswana Pula (BWP). */
|
|
1362
|
+
| 'BWP'
|
|
1363
|
+
/** Belarusian Ruble (BYN). */
|
|
1364
|
+
| 'BYN'
|
|
1365
|
+
/** Belarusian Ruble (BYR). */
|
|
1366
|
+
| 'BYR'
|
|
1367
|
+
/** Belize Dollar (BZD). */
|
|
1368
|
+
| 'BZD'
|
|
1369
|
+
/** Canadian Dollars (CAD). */
|
|
1370
|
+
| 'CAD'
|
|
1371
|
+
/** Congolese franc (CDF). */
|
|
1372
|
+
| 'CDF'
|
|
1373
|
+
/** Swiss Francs (CHF). */
|
|
1374
|
+
| 'CHF'
|
|
1375
|
+
/** Chilean Peso (CLP). */
|
|
1376
|
+
| 'CLP'
|
|
1377
|
+
/** Chinese Yuan Renminbi (CNY). */
|
|
1378
|
+
| 'CNY'
|
|
1379
|
+
/** Colombian Peso (COP). */
|
|
1380
|
+
| 'COP'
|
|
1381
|
+
/** Costa Rican Colones (CRC). */
|
|
1382
|
+
| 'CRC'
|
|
1383
|
+
/** Cape Verdean escudo (CVE). */
|
|
1384
|
+
| 'CVE'
|
|
1385
|
+
/** Czech Koruny (CZK). */
|
|
1386
|
+
| 'CZK'
|
|
1387
|
+
/** Djiboutian Franc (DJF). */
|
|
1388
|
+
| 'DJF'
|
|
1389
|
+
/** Danish Kroner (DKK). */
|
|
1390
|
+
| 'DKK'
|
|
1391
|
+
/** Dominican Peso (DOP). */
|
|
1392
|
+
| 'DOP'
|
|
1393
|
+
/** Algerian Dinar (DZD). */
|
|
1394
|
+
| 'DZD'
|
|
1395
|
+
/** Egyptian Pound (EGP). */
|
|
1396
|
+
| 'EGP'
|
|
1397
|
+
/** Eritrean Nakfa (ERN). */
|
|
1398
|
+
| 'ERN'
|
|
1399
|
+
/** Ethiopian Birr (ETB). */
|
|
1400
|
+
| 'ETB'
|
|
1401
|
+
/** Euro (EUR). */
|
|
1402
|
+
| 'EUR'
|
|
1403
|
+
/** Fijian Dollars (FJD). */
|
|
1404
|
+
| 'FJD'
|
|
1405
|
+
/** Falkland Islands Pounds (FKP). */
|
|
1406
|
+
| 'FKP'
|
|
1407
|
+
/** United Kingdom Pounds (GBP). */
|
|
1408
|
+
| 'GBP'
|
|
1409
|
+
/** Georgian Lari (GEL). */
|
|
1410
|
+
| 'GEL'
|
|
1411
|
+
/** Ghanaian Cedi (GHS). */
|
|
1412
|
+
| 'GHS'
|
|
1413
|
+
/** Gibraltar Pounds (GIP). */
|
|
1414
|
+
| 'GIP'
|
|
1415
|
+
/** Gambian Dalasi (GMD). */
|
|
1416
|
+
| 'GMD'
|
|
1417
|
+
/** Guinean Franc (GNF). */
|
|
1418
|
+
| 'GNF'
|
|
1419
|
+
/** Guatemalan Quetzal (GTQ). */
|
|
1420
|
+
| 'GTQ'
|
|
1421
|
+
/** Guyanese Dollar (GYD). */
|
|
1422
|
+
| 'GYD'
|
|
1423
|
+
/** Hong Kong Dollars (HKD). */
|
|
1424
|
+
| 'HKD'
|
|
1425
|
+
/** Honduran Lempira (HNL). */
|
|
1426
|
+
| 'HNL'
|
|
1427
|
+
/** Croatian Kuna (HRK). */
|
|
1428
|
+
| 'HRK'
|
|
1429
|
+
/** Haitian Gourde (HTG). */
|
|
1430
|
+
| 'HTG'
|
|
1431
|
+
/** Hungarian Forint (HUF). */
|
|
1432
|
+
| 'HUF'
|
|
1433
|
+
/** Indonesian Rupiah (IDR). */
|
|
1434
|
+
| 'IDR'
|
|
1435
|
+
/** Israeli New Shekel (NIS). */
|
|
1436
|
+
| 'ILS'
|
|
1437
|
+
/** Indian Rupees (INR). */
|
|
1438
|
+
| 'INR'
|
|
1439
|
+
/** Iraqi Dinar (IQD). */
|
|
1440
|
+
| 'IQD'
|
|
1441
|
+
/** Iranian Rial (IRR). */
|
|
1442
|
+
| 'IRR'
|
|
1443
|
+
/** Icelandic Kronur (ISK). */
|
|
1444
|
+
| 'ISK'
|
|
1445
|
+
/** Jersey Pound. */
|
|
1446
|
+
| 'JEP'
|
|
1447
|
+
/** Jamaican Dollars (JMD). */
|
|
1448
|
+
| 'JMD'
|
|
1449
|
+
/** Jordanian Dinar (JOD). */
|
|
1450
|
+
| 'JOD'
|
|
1451
|
+
/** Japanese Yen (JPY). */
|
|
1452
|
+
| 'JPY'
|
|
1453
|
+
/** Kenyan Shilling (KES). */
|
|
1454
|
+
| 'KES'
|
|
1455
|
+
/** Kyrgyzstani Som (KGS). */
|
|
1456
|
+
| 'KGS'
|
|
1457
|
+
/** Cambodian Riel. */
|
|
1458
|
+
| 'KHR'
|
|
1459
|
+
/** Kiribati Dollar (KID). */
|
|
1460
|
+
| 'KID'
|
|
1461
|
+
/** Comorian Franc (KMF). */
|
|
1462
|
+
| 'KMF'
|
|
1463
|
+
/** South Korean Won (KRW). */
|
|
1464
|
+
| 'KRW'
|
|
1465
|
+
/** Kuwaiti Dinar (KWD). */
|
|
1466
|
+
| 'KWD'
|
|
1467
|
+
/** Cayman Dollars (KYD). */
|
|
1468
|
+
| 'KYD'
|
|
1469
|
+
/** Kazakhstani Tenge (KZT). */
|
|
1470
|
+
| 'KZT'
|
|
1471
|
+
/** Laotian Kip (LAK). */
|
|
1472
|
+
| 'LAK'
|
|
1473
|
+
/** Lebanese Pounds (LBP). */
|
|
1474
|
+
| 'LBP'
|
|
1475
|
+
/** Sri Lankan Rupees (LKR). */
|
|
1476
|
+
| 'LKR'
|
|
1477
|
+
/** Liberian Dollar (LRD). */
|
|
1478
|
+
| 'LRD'
|
|
1479
|
+
/** Lesotho Loti (LSL). */
|
|
1480
|
+
| 'LSL'
|
|
1481
|
+
/** Lithuanian Litai (LTL). */
|
|
1482
|
+
| 'LTL'
|
|
1483
|
+
/** Latvian Lati (LVL). */
|
|
1484
|
+
| 'LVL'
|
|
1485
|
+
/** Libyan Dinar (LYD). */
|
|
1486
|
+
| 'LYD'
|
|
1487
|
+
/** Moroccan Dirham. */
|
|
1488
|
+
| 'MAD'
|
|
1489
|
+
/** Moldovan Leu (MDL). */
|
|
1490
|
+
| 'MDL'
|
|
1491
|
+
/** Malagasy Ariary (MGA). */
|
|
1492
|
+
| 'MGA'
|
|
1493
|
+
/** Macedonia Denar (MKD). */
|
|
1494
|
+
| 'MKD'
|
|
1495
|
+
/** Burmese Kyat (MMK). */
|
|
1496
|
+
| 'MMK'
|
|
1497
|
+
/** Mongolian Tugrik. */
|
|
1498
|
+
| 'MNT'
|
|
1499
|
+
/** Macanese Pataca (MOP). */
|
|
1500
|
+
| 'MOP'
|
|
1501
|
+
/** Mauritanian Ouguiya (MRU). */
|
|
1502
|
+
| 'MRU'
|
|
1503
|
+
/** Mauritian Rupee (MUR). */
|
|
1504
|
+
| 'MUR'
|
|
1505
|
+
/** Maldivian Rufiyaa (MVR). */
|
|
1506
|
+
| 'MVR'
|
|
1507
|
+
/** Malawian Kwacha (MWK). */
|
|
1508
|
+
| 'MWK'
|
|
1509
|
+
/** Mexican Pesos (MXN). */
|
|
1510
|
+
| 'MXN'
|
|
1511
|
+
/** Malaysian Ringgits (MYR). */
|
|
1512
|
+
| 'MYR'
|
|
1513
|
+
/** Mozambican Metical. */
|
|
1514
|
+
| 'MZN'
|
|
1515
|
+
/** Namibian Dollar. */
|
|
1516
|
+
| 'NAD'
|
|
1517
|
+
/** Nigerian Naira (NGN). */
|
|
1518
|
+
| 'NGN'
|
|
1519
|
+
/** Nicaraguan Córdoba (NIO). */
|
|
1520
|
+
| 'NIO'
|
|
1521
|
+
/** Norwegian Kroner (NOK). */
|
|
1522
|
+
| 'NOK'
|
|
1523
|
+
/** Nepalese Rupee (NPR). */
|
|
1524
|
+
| 'NPR'
|
|
1525
|
+
/** New Zealand Dollars (NZD). */
|
|
1526
|
+
| 'NZD'
|
|
1527
|
+
/** Omani Rial (OMR). */
|
|
1528
|
+
| 'OMR'
|
|
1529
|
+
/** Panamian Balboa (PAB). */
|
|
1530
|
+
| 'PAB'
|
|
1531
|
+
/** Peruvian Nuevo Sol (PEN). */
|
|
1532
|
+
| 'PEN'
|
|
1533
|
+
/** Papua New Guinean Kina (PGK). */
|
|
1534
|
+
| 'PGK'
|
|
1535
|
+
/** Philippine Peso (PHP). */
|
|
1536
|
+
| 'PHP'
|
|
1537
|
+
/** Pakistani Rupee (PKR). */
|
|
1538
|
+
| 'PKR'
|
|
1539
|
+
/** Polish Zlotych (PLN). */
|
|
1540
|
+
| 'PLN'
|
|
1541
|
+
/** Paraguayan Guarani (PYG). */
|
|
1542
|
+
| 'PYG'
|
|
1543
|
+
/** Qatari Rial (QAR). */
|
|
1544
|
+
| 'QAR'
|
|
1545
|
+
/** Romanian Lei (RON). */
|
|
1546
|
+
| 'RON'
|
|
1547
|
+
/** Serbian dinar (RSD). */
|
|
1548
|
+
| 'RSD'
|
|
1549
|
+
/** Russian Rubles (RUB). */
|
|
1550
|
+
| 'RUB'
|
|
1551
|
+
/** Rwandan Franc (RWF). */
|
|
1552
|
+
| 'RWF'
|
|
1553
|
+
/** Saudi Riyal (SAR). */
|
|
1554
|
+
| 'SAR'
|
|
1555
|
+
/** Solomon Islands Dollar (SBD). */
|
|
1556
|
+
| 'SBD'
|
|
1557
|
+
/** Seychellois Rupee (SCR). */
|
|
1558
|
+
| 'SCR'
|
|
1559
|
+
/** Sudanese Pound (SDG). */
|
|
1560
|
+
| 'SDG'
|
|
1561
|
+
/** Swedish Kronor (SEK). */
|
|
1562
|
+
| 'SEK'
|
|
1563
|
+
/** Singapore Dollars (SGD). */
|
|
1564
|
+
| 'SGD'
|
|
1565
|
+
/** Saint Helena Pounds (SHP). */
|
|
1566
|
+
| 'SHP'
|
|
1567
|
+
/** Sierra Leonean Leone (SLL). */
|
|
1568
|
+
| 'SLL'
|
|
1569
|
+
/** Somali Shilling (SOS). */
|
|
1570
|
+
| 'SOS'
|
|
1571
|
+
/** Surinamese Dollar (SRD). */
|
|
1572
|
+
| 'SRD'
|
|
1573
|
+
/** South Sudanese Pound (SSP). */
|
|
1574
|
+
| 'SSP'
|
|
1575
|
+
/** Sao Tome And Principe Dobra (STD). */
|
|
1576
|
+
| 'STD'
|
|
1577
|
+
/** Sao Tome And Principe Dobra (STN). */
|
|
1578
|
+
| 'STN'
|
|
1579
|
+
/** Syrian Pound (SYP). */
|
|
1580
|
+
| 'SYP'
|
|
1581
|
+
/** Swazi Lilangeni (SZL). */
|
|
1582
|
+
| 'SZL'
|
|
1583
|
+
/** Thai baht (THB). */
|
|
1584
|
+
| 'THB'
|
|
1585
|
+
/** Tajikistani Somoni (TJS). */
|
|
1586
|
+
| 'TJS'
|
|
1587
|
+
/** Turkmenistani Manat (TMT). */
|
|
1588
|
+
| 'TMT'
|
|
1589
|
+
/** Tunisian Dinar (TND). */
|
|
1590
|
+
| 'TND'
|
|
1591
|
+
/** Tongan Pa'anga (TOP). */
|
|
1592
|
+
| 'TOP'
|
|
1593
|
+
/** Turkish Lira (TRY). */
|
|
1594
|
+
| 'TRY'
|
|
1595
|
+
/** Trinidad and Tobago Dollars (TTD). */
|
|
1596
|
+
| 'TTD'
|
|
1597
|
+
/** Taiwan Dollars (TWD). */
|
|
1598
|
+
| 'TWD'
|
|
1599
|
+
/** Tanzanian Shilling (TZS). */
|
|
1600
|
+
| 'TZS'
|
|
1601
|
+
/** Ukrainian Hryvnia (UAH). */
|
|
1602
|
+
| 'UAH'
|
|
1603
|
+
/** Ugandan Shilling (UGX). */
|
|
1604
|
+
| 'UGX'
|
|
1605
|
+
/** United States Dollars (USD). */
|
|
1606
|
+
| 'USD'
|
|
1607
|
+
/** Uruguayan Pesos (UYU). */
|
|
1608
|
+
| 'UYU'
|
|
1609
|
+
/** Uzbekistan som (UZS). */
|
|
1610
|
+
| 'UZS'
|
|
1611
|
+
/** Venezuelan Bolivares (VED). */
|
|
1612
|
+
| 'VED'
|
|
1613
|
+
/** Venezuelan Bolivares (VEF). */
|
|
1614
|
+
| 'VEF'
|
|
1615
|
+
/** Venezuelan Bolivares (VES). */
|
|
1616
|
+
| 'VES'
|
|
1617
|
+
/** Vietnamese đồng (VND). */
|
|
1618
|
+
| 'VND'
|
|
1619
|
+
/** Vanuatu Vatu (VUV). */
|
|
1620
|
+
| 'VUV'
|
|
1621
|
+
/** Samoan Tala (WST). */
|
|
1622
|
+
| 'WST'
|
|
1623
|
+
/** Central African CFA Franc (XAF). */
|
|
1624
|
+
| 'XAF'
|
|
1625
|
+
/** East Caribbean Dollar (XCD). */
|
|
1626
|
+
| 'XCD'
|
|
1627
|
+
/** West African CFA franc (XOF). */
|
|
1628
|
+
| 'XOF'
|
|
1629
|
+
/** CFP Franc (XPF). */
|
|
1630
|
+
| 'XPF'
|
|
1631
|
+
/** Unrecognized currency. */
|
|
1632
|
+
| 'XXX'
|
|
1633
|
+
/** Yemeni Rial (YER). */
|
|
1634
|
+
| 'YER'
|
|
1635
|
+
/** South African Rand (ZAR). */
|
|
1636
|
+
| 'ZAR'
|
|
1637
|
+
/** Zambian Kwacha (ZMW). */
|
|
1638
|
+
| 'ZMW';
|
|
1639
|
+
/** A customer represents a customer account with the shop. Customer accounts store contact information for the customer, saving logged-in customers the trouble of having to provide it at every checkout. */
|
|
1640
|
+
type Customer = HasMetafields & {
|
|
1641
|
+
/** Indicates whether the customer has consented to be sent marketing material via email. */
|
|
1642
|
+
acceptsMarketing: Scalars['Boolean'];
|
|
1643
|
+
/** A list of addresses for the customer. */
|
|
1644
|
+
addresses: MailingAddressConnection;
|
|
1645
|
+
/** The date and time when the customer was created. */
|
|
1646
|
+
createdAt: Scalars['DateTime'];
|
|
1647
|
+
/** The customer’s default address. */
|
|
1648
|
+
defaultAddress?: Maybe<MailingAddress>;
|
|
1649
|
+
/** The customer’s name, email or phone number. */
|
|
1650
|
+
displayName: Scalars['String'];
|
|
1651
|
+
/** The customer’s email address. */
|
|
1652
|
+
email?: Maybe<Scalars['String']>;
|
|
1653
|
+
/** The customer’s first name. */
|
|
1654
|
+
firstName?: Maybe<Scalars['String']>;
|
|
1655
|
+
/** A unique identifier for the customer. */
|
|
1656
|
+
id: Scalars['ID'];
|
|
1657
|
+
/** The customer's most recently updated, incomplete checkout. */
|
|
1658
|
+
lastIncompleteCheckout?: Maybe<Checkout>;
|
|
1659
|
+
/** The customer’s last name. */
|
|
1660
|
+
lastName?: Maybe<Scalars['String']>;
|
|
1661
|
+
/** Returns a metafield found by namespace and key. */
|
|
1662
|
+
metafield?: Maybe<Metafield>;
|
|
1663
|
+
/**
|
|
1664
|
+
* The metafields associated with the resource matching the supplied list of namespaces and keys.
|
|
1665
|
+
*
|
|
1666
|
+
*/
|
|
1667
|
+
metafields: Array<Maybe<Metafield>>;
|
|
1668
|
+
/** The orders associated with the customer. */
|
|
1669
|
+
orders: OrderConnection;
|
|
1670
|
+
/** The customer’s phone number. */
|
|
1671
|
+
phone?: Maybe<Scalars['String']>;
|
|
1672
|
+
/**
|
|
1673
|
+
* A comma separated list of tags that have been added to the customer.
|
|
1674
|
+
* Additional access scope required: unauthenticated_read_customer_tags.
|
|
1675
|
+
*
|
|
1676
|
+
*/
|
|
1677
|
+
tags: Array<Scalars['String']>;
|
|
1678
|
+
/** The date and time when the customer information was updated. */
|
|
1679
|
+
updatedAt: Scalars['DateTime'];
|
|
1680
|
+
};
|
|
1681
|
+
/** List of different delivery method types. */
|
|
1682
|
+
type DeliveryMethodType =
|
|
1683
|
+
/** Local Delivery. */
|
|
1684
|
+
'LOCAL'
|
|
1685
|
+
/** None. */
|
|
1686
|
+
| 'NONE'
|
|
1687
|
+
/** Shipping to a Pickup Point. */
|
|
1688
|
+
| 'PICKUP_POINT'
|
|
1689
|
+
/** Local Pickup. */
|
|
1690
|
+
| 'PICK_UP'
|
|
1691
|
+
/** Retail. */
|
|
1692
|
+
| 'RETAIL'
|
|
1693
|
+
/** Shipping. */
|
|
1694
|
+
| 'SHIPPING';
|
|
1695
|
+
/** Digital wallet, such as Apple Pay, which can be used for accelerated checkouts. */
|
|
1696
|
+
type DigitalWallet =
|
|
1697
|
+
/** Android Pay. */
|
|
1698
|
+
'ANDROID_PAY'
|
|
1699
|
+
/** Apple Pay. */
|
|
1700
|
+
| 'APPLE_PAY'
|
|
1701
|
+
/** Google Pay. */
|
|
1702
|
+
| 'GOOGLE_PAY'
|
|
1703
|
+
/** Shopify Pay. */
|
|
1704
|
+
| 'SHOPIFY_PAY';
|
|
1705
|
+
/**
|
|
1706
|
+
* An amount discounting the line that has been allocated by a discount.
|
|
1707
|
+
*
|
|
1708
|
+
*/
|
|
1709
|
+
type DiscountAllocation = {
|
|
1710
|
+
/** Amount of discount allocated. */
|
|
1711
|
+
allocatedAmount: MoneyV2;
|
|
1712
|
+
/** The discount this allocated amount originated from. */
|
|
1713
|
+
discountApplication: DiscountApplication;
|
|
1714
|
+
};
|
|
1715
|
+
/**
|
|
1716
|
+
* Discount applications capture the intentions of a discount source at
|
|
1717
|
+
* the time of application.
|
|
1718
|
+
*
|
|
1719
|
+
*/
|
|
1720
|
+
type DiscountApplication = {
|
|
1721
|
+
/** The method by which the discount's value is allocated to its entitled items. */
|
|
1722
|
+
allocationMethod: DiscountApplicationAllocationMethod;
|
|
1723
|
+
/** Which lines of targetType that the discount is allocated over. */
|
|
1724
|
+
targetSelection: DiscountApplicationTargetSelection;
|
|
1725
|
+
/** The type of line that the discount is applicable towards. */
|
|
1726
|
+
targetType: DiscountApplicationTargetType;
|
|
1727
|
+
/** The value of the discount application. */
|
|
1728
|
+
value: PricingValue;
|
|
1729
|
+
};
|
|
1730
|
+
/** The method by which the discount's value is allocated onto its entitled lines. */
|
|
1731
|
+
type DiscountApplicationAllocationMethod =
|
|
1732
|
+
/** The value is spread across all entitled lines. */
|
|
1733
|
+
'ACROSS'
|
|
1734
|
+
/** The value is applied onto every entitled line. */
|
|
1735
|
+
| 'EACH'
|
|
1736
|
+
/** The value is specifically applied onto a particular line. */
|
|
1737
|
+
| 'ONE';
|
|
1738
|
+
/**
|
|
1739
|
+
* An auto-generated type for paginating through multiple DiscountApplications.
|
|
1740
|
+
*
|
|
1741
|
+
*/
|
|
1742
|
+
type DiscountApplicationConnection = {
|
|
1743
|
+
/** A list of edges. */
|
|
1744
|
+
edges: Array<DiscountApplicationEdge>;
|
|
1745
|
+
/** A list of the nodes contained in DiscountApplicationEdge. */
|
|
1746
|
+
nodes: Array<DiscountApplication>;
|
|
1747
|
+
/** Information to aid in pagination. */
|
|
1748
|
+
pageInfo: PageInfo;
|
|
1749
|
+
};
|
|
1750
|
+
/**
|
|
1751
|
+
* An auto-generated type which holds one DiscountApplication and a cursor during pagination.
|
|
1752
|
+
*
|
|
1753
|
+
*/
|
|
1754
|
+
type DiscountApplicationEdge = {
|
|
1755
|
+
/** A cursor for use in pagination. */
|
|
1756
|
+
cursor: Scalars['String'];
|
|
1757
|
+
/** The item at the end of DiscountApplicationEdge. */
|
|
1758
|
+
node: DiscountApplication;
|
|
1759
|
+
};
|
|
1760
|
+
/**
|
|
1761
|
+
* The lines on the order to which the discount is applied, of the type defined by
|
|
1762
|
+
* the discount application's `targetType`. For example, the value `ENTITLED`, combined with a `targetType` of
|
|
1763
|
+
* `LINE_ITEM`, applies the discount on all line items that are entitled to the discount.
|
|
1764
|
+
* The value `ALL`, combined with a `targetType` of `SHIPPING_LINE`, applies the discount on all shipping lines.
|
|
1765
|
+
*
|
|
1766
|
+
*/
|
|
1767
|
+
type DiscountApplicationTargetSelection =
|
|
1768
|
+
/** The discount is allocated onto all the lines. */
|
|
1769
|
+
'ALL'
|
|
1770
|
+
/** The discount is allocated onto only the lines that it's entitled for. */
|
|
1771
|
+
| 'ENTITLED'
|
|
1772
|
+
/** The discount is allocated onto explicitly chosen lines. */
|
|
1773
|
+
| 'EXPLICIT';
|
|
1774
|
+
/**
|
|
1775
|
+
* The type of line (i.e. line item or shipping line) on an order that the discount is applicable towards.
|
|
1776
|
+
*
|
|
1777
|
+
*/
|
|
1778
|
+
type DiscountApplicationTargetType =
|
|
1779
|
+
/** The discount applies onto line items. */
|
|
1780
|
+
'LINE_ITEM'
|
|
1781
|
+
/** The discount applies onto shipping lines. */
|
|
1782
|
+
| 'SHIPPING_LINE';
|
|
1783
|
+
/** Represents an error in the input of a mutation. */
|
|
1784
|
+
type DisplayableError = {
|
|
1785
|
+
/** The path to the input field that caused the error. */
|
|
1786
|
+
field?: Maybe<Array<Scalars['String']>>;
|
|
1787
|
+
/** The error message. */
|
|
1788
|
+
message: Scalars['String'];
|
|
1789
|
+
};
|
|
1790
|
+
/** Represents a web address. */
|
|
1791
|
+
type Domain = {
|
|
1792
|
+
/** The host name of the domain (eg: `example.com`). */
|
|
1793
|
+
host: Scalars['String'];
|
|
1794
|
+
/** Whether SSL is enabled or not. */
|
|
1795
|
+
sslEnabled: Scalars['Boolean'];
|
|
1796
|
+
/** The URL of the domain (eg: `https://example.com`). */
|
|
1797
|
+
url: Scalars['URL'];
|
|
1798
|
+
};
|
|
1799
|
+
/** A filter that is supported on the parent field. */
|
|
1800
|
+
type Filter = {
|
|
1801
|
+
/** A unique identifier. */
|
|
1802
|
+
id: Scalars['String'];
|
|
1803
|
+
/** A human-friendly string for this filter. */
|
|
1804
|
+
label: Scalars['String'];
|
|
1805
|
+
/** An enumeration that denotes the type of data this filter represents. */
|
|
1806
|
+
type: FilterType;
|
|
1807
|
+
/** The list of values for this filter. */
|
|
1808
|
+
values: Array<FilterValue>;
|
|
1809
|
+
};
|
|
1810
|
+
/**
|
|
1811
|
+
* The type of data that the filter group represents.
|
|
1812
|
+
*
|
|
1813
|
+
* For more information, refer to [Filter products in a collection with the Storefront API]
|
|
1814
|
+
* (https://shopify.dev/api/examples/filter-products).
|
|
1815
|
+
*
|
|
1816
|
+
*/
|
|
1817
|
+
type FilterType =
|
|
1818
|
+
/** A boolean value. */
|
|
1819
|
+
'BOOLEAN'
|
|
1820
|
+
/** A list of selectable values. */
|
|
1821
|
+
| 'LIST'
|
|
1822
|
+
/** A range of prices. */
|
|
1823
|
+
| 'PRICE_RANGE';
|
|
1824
|
+
/** A selectable value within a filter. */
|
|
1825
|
+
type FilterValue = {
|
|
1826
|
+
/** The number of results that match this filter value. */
|
|
1827
|
+
count: Scalars['Int'];
|
|
1828
|
+
/** A unique identifier. */
|
|
1829
|
+
id: Scalars['String'];
|
|
1830
|
+
/**
|
|
1831
|
+
* An input object that can be used to filter by this value on the parent field.
|
|
1832
|
+
*
|
|
1833
|
+
* The value is provided as a helper for building dynamic filtering UI. For example, if you have a list of selected `FilterValue` objects, you can combine their respective `input` values to use in a subsequent query.
|
|
1834
|
+
*
|
|
1835
|
+
*/
|
|
1836
|
+
input: Scalars['JSON'];
|
|
1837
|
+
/** A human-friendly string for this filter value. */
|
|
1838
|
+
label: Scalars['String'];
|
|
1839
|
+
};
|
|
1840
|
+
/** Represents a single fulfillment in an order. */
|
|
1841
|
+
type Fulfillment = {
|
|
1842
|
+
/** List of the fulfillment's line items. */
|
|
1843
|
+
fulfillmentLineItems: FulfillmentLineItemConnection;
|
|
1844
|
+
/** The name of the tracking company. */
|
|
1845
|
+
trackingCompany?: Maybe<Scalars['String']>;
|
|
1846
|
+
/**
|
|
1847
|
+
* Tracking information associated with the fulfillment,
|
|
1848
|
+
* such as the tracking number and tracking URL.
|
|
1849
|
+
*
|
|
1850
|
+
*/
|
|
1851
|
+
trackingInfo: Array<FulfillmentTrackingInfo>;
|
|
1852
|
+
};
|
|
1853
|
+
/** Represents a single line item in a fulfillment. There is at most one fulfillment line item for each order line item. */
|
|
1854
|
+
type FulfillmentLineItem = {
|
|
1855
|
+
/** The associated order's line item. */
|
|
1856
|
+
lineItem: OrderLineItem;
|
|
1857
|
+
/** The amount fulfilled in this fulfillment. */
|
|
1858
|
+
quantity: Scalars['Int'];
|
|
1859
|
+
};
|
|
1860
|
+
/**
|
|
1861
|
+
* An auto-generated type for paginating through multiple FulfillmentLineItems.
|
|
1862
|
+
*
|
|
1863
|
+
*/
|
|
1864
|
+
type FulfillmentLineItemConnection = {
|
|
1865
|
+
/** A list of edges. */
|
|
1866
|
+
edges: Array<FulfillmentLineItemEdge>;
|
|
1867
|
+
/** A list of the nodes contained in FulfillmentLineItemEdge. */
|
|
1868
|
+
nodes: Array<FulfillmentLineItem>;
|
|
1869
|
+
/** Information to aid in pagination. */
|
|
1870
|
+
pageInfo: PageInfo;
|
|
1871
|
+
};
|
|
1872
|
+
/**
|
|
1873
|
+
* An auto-generated type which holds one FulfillmentLineItem and a cursor during pagination.
|
|
1874
|
+
*
|
|
1875
|
+
*/
|
|
1876
|
+
type FulfillmentLineItemEdge = {
|
|
1877
|
+
/** A cursor for use in pagination. */
|
|
1878
|
+
cursor: Scalars['String'];
|
|
1879
|
+
/** The item at the end of FulfillmentLineItemEdge. */
|
|
1880
|
+
node: FulfillmentLineItem;
|
|
1881
|
+
};
|
|
1882
|
+
/** Tracking information associated with the fulfillment. */
|
|
1883
|
+
type FulfillmentTrackingInfo = {
|
|
1884
|
+
/** The tracking number of the fulfillment. */
|
|
1885
|
+
number?: Maybe<Scalars['String']>;
|
|
1886
|
+
/** The URL to track the fulfillment. */
|
|
1887
|
+
url?: Maybe<Scalars['URL']>;
|
|
1888
|
+
};
|
|
1889
|
+
/** The generic file resource lets you manage files in a merchant’s store. Generic files include any file that doesn’t fit into a designated type such as image or video. Example: PDF, JSON. */
|
|
1890
|
+
type GenericFile = Node & {
|
|
1891
|
+
/** A word or phrase to indicate the contents of a file. */
|
|
1892
|
+
alt?: Maybe<Scalars['String']>;
|
|
1893
|
+
/** A globally-unique identifier. */
|
|
1894
|
+
id: Scalars['ID'];
|
|
1895
|
+
/** The MIME type of the file. */
|
|
1896
|
+
mimeType?: Maybe<Scalars['String']>;
|
|
1897
|
+
/** The size of the original file in bytes. */
|
|
1898
|
+
originalFileSize?: Maybe<Scalars['Int']>;
|
|
1899
|
+
/** The preview image for the file. */
|
|
1900
|
+
previewImage?: Maybe<Image>;
|
|
1901
|
+
/** The URL of the file. */
|
|
1902
|
+
url?: Maybe<Scalars['URL']>;
|
|
1903
|
+
};
|
|
1904
|
+
/** Represents information about the metafields associated to the specified resource. */
|
|
1905
|
+
type HasMetafields = {
|
|
1906
|
+
/** Returns a metafield found by namespace and key. */
|
|
1907
|
+
metafield?: Maybe<Metafield>;
|
|
1908
|
+
/**
|
|
1909
|
+
* The metafields associated with the resource matching the supplied list of namespaces and keys.
|
|
1910
|
+
*
|
|
1911
|
+
*/
|
|
1912
|
+
metafields: Array<Maybe<Metafield>>;
|
|
1913
|
+
};
|
|
1914
|
+
/** Represents an image resource. */
|
|
1915
|
+
type Image = {
|
|
1916
|
+
/** A word or phrase to share the nature or contents of an image. */
|
|
1917
|
+
altText?: Maybe<Scalars['String']>;
|
|
1918
|
+
/** The original height of the image in pixels. Returns `null` if the image is not hosted by Shopify. */
|
|
1919
|
+
height?: Maybe<Scalars['Int']>;
|
|
1920
|
+
/** A unique identifier for the image. */
|
|
1921
|
+
id?: Maybe<Scalars['ID']>;
|
|
1922
|
+
/**
|
|
1923
|
+
* The location of the original image as a URL.
|
|
1924
|
+
*
|
|
1925
|
+
* If there are any existing transformations in the original source URL, they will remain and not be stripped.
|
|
1926
|
+
*
|
|
1927
|
+
* @deprecated Use `url` instead
|
|
1928
|
+
*/
|
|
1929
|
+
originalSrc: Scalars['URL'];
|
|
1930
|
+
/**
|
|
1931
|
+
* The location of the image as a URL.
|
|
1932
|
+
* @deprecated Use `url` instead
|
|
1933
|
+
*/
|
|
1934
|
+
src: Scalars['URL'];
|
|
1935
|
+
/**
|
|
1936
|
+
* The location of the transformed image as a URL.
|
|
1937
|
+
*
|
|
1938
|
+
* All transformation arguments are considered "best-effort". If they can be applied to an image, they will be.
|
|
1939
|
+
* Otherwise any transformations which an image type does not support will be ignored.
|
|
1940
|
+
*
|
|
1941
|
+
* @deprecated Use `url(transform:)` instead
|
|
1942
|
+
*/
|
|
1943
|
+
transformedSrc: Scalars['URL'];
|
|
1944
|
+
/**
|
|
1945
|
+
* The location of the image as a URL.
|
|
1946
|
+
*
|
|
1947
|
+
* If no transform options are specified, then the original image will be preserved including any pre-applied transforms.
|
|
1948
|
+
*
|
|
1949
|
+
* All transformation options are considered "best-effort". Any transformation that the original image type doesn't support will be ignored.
|
|
1950
|
+
*
|
|
1951
|
+
* If you need multiple variations of the same image, then you can use [GraphQL aliases](https://graphql.org/learn/queries/#aliases).
|
|
1952
|
+
*
|
|
1953
|
+
*/
|
|
1954
|
+
url: Scalars['URL'];
|
|
1955
|
+
/** The original width of the image in pixels. Returns `null` if the image is not hosted by Shopify. */
|
|
1956
|
+
width?: Maybe<Scalars['Int']>;
|
|
1957
|
+
};
|
|
1958
|
+
/**
|
|
1959
|
+
* An auto-generated type for paginating through multiple Images.
|
|
1960
|
+
*
|
|
1961
|
+
*/
|
|
1962
|
+
type ImageConnection = {
|
|
1963
|
+
/** A list of edges. */
|
|
1964
|
+
edges: Array<ImageEdge>;
|
|
1965
|
+
/** A list of the nodes contained in ImageEdge. */
|
|
1966
|
+
nodes: Array<Image>;
|
|
1967
|
+
/** Information to aid in pagination. */
|
|
1968
|
+
pageInfo: PageInfo;
|
|
1969
|
+
};
|
|
1970
|
+
/**
|
|
1971
|
+
* An auto-generated type which holds one Image and a cursor during pagination.
|
|
1972
|
+
*
|
|
1973
|
+
*/
|
|
1974
|
+
type ImageEdge = {
|
|
1975
|
+
/** A cursor for use in pagination. */
|
|
1976
|
+
cursor: Scalars['String'];
|
|
1977
|
+
/** The item at the end of ImageEdge. */
|
|
1978
|
+
node: Image;
|
|
1979
|
+
};
|
|
1980
|
+
/** A language. */
|
|
1981
|
+
type Language = {
|
|
1982
|
+
/** The name of the language in the language itself. If the language uses capitalization, it is capitalized for a mid-sentence position. */
|
|
1983
|
+
endonymName: Scalars['String'];
|
|
1984
|
+
/** The ISO code. */
|
|
1985
|
+
isoCode: LanguageCode;
|
|
1986
|
+
/** The name of the language in the current language. */
|
|
1987
|
+
name: Scalars['String'];
|
|
1988
|
+
};
|
|
1989
|
+
/** ISO 639-1 language codes supported by Shopify. */
|
|
1990
|
+
type LanguageCode =
|
|
1991
|
+
/** Afrikaans. */
|
|
1992
|
+
'AF'
|
|
1993
|
+
/** Akan. */
|
|
1994
|
+
| 'AK'
|
|
1995
|
+
/** Amharic. */
|
|
1996
|
+
| 'AM'
|
|
1997
|
+
/** Arabic. */
|
|
1998
|
+
| 'AR'
|
|
1999
|
+
/** Assamese. */
|
|
2000
|
+
| 'AS'
|
|
2001
|
+
/** Azerbaijani. */
|
|
2002
|
+
| 'AZ'
|
|
2003
|
+
/** Belarusian. */
|
|
2004
|
+
| 'BE'
|
|
2005
|
+
/** Bulgarian. */
|
|
2006
|
+
| 'BG'
|
|
2007
|
+
/** Bambara. */
|
|
2008
|
+
| 'BM'
|
|
2009
|
+
/** Bangla. */
|
|
2010
|
+
| 'BN'
|
|
2011
|
+
/** Tibetan. */
|
|
2012
|
+
| 'BO'
|
|
2013
|
+
/** Breton. */
|
|
2014
|
+
| 'BR'
|
|
2015
|
+
/** Bosnian. */
|
|
2016
|
+
| 'BS'
|
|
2017
|
+
/** Catalan. */
|
|
2018
|
+
| 'CA'
|
|
2019
|
+
/** Chechen. */
|
|
2020
|
+
| 'CE'
|
|
2021
|
+
/** Czech. */
|
|
2022
|
+
| 'CS'
|
|
2023
|
+
/** Church Slavic. */
|
|
2024
|
+
| 'CU'
|
|
2025
|
+
/** Welsh. */
|
|
2026
|
+
| 'CY'
|
|
2027
|
+
/** Danish. */
|
|
2028
|
+
| 'DA'
|
|
2029
|
+
/** German. */
|
|
2030
|
+
| 'DE'
|
|
2031
|
+
/** Dzongkha. */
|
|
2032
|
+
| 'DZ'
|
|
2033
|
+
/** Ewe. */
|
|
2034
|
+
| 'EE'
|
|
2035
|
+
/** Greek. */
|
|
2036
|
+
| 'EL'
|
|
2037
|
+
/** English. */
|
|
2038
|
+
| 'EN'
|
|
2039
|
+
/** Esperanto. */
|
|
2040
|
+
| 'EO'
|
|
2041
|
+
/** Spanish. */
|
|
2042
|
+
| 'ES'
|
|
2043
|
+
/** Estonian. */
|
|
2044
|
+
| 'ET'
|
|
2045
|
+
/** Basque. */
|
|
2046
|
+
| 'EU'
|
|
2047
|
+
/** Persian. */
|
|
2048
|
+
| 'FA'
|
|
2049
|
+
/** Fulah. */
|
|
2050
|
+
| 'FF'
|
|
2051
|
+
/** Finnish. */
|
|
2052
|
+
| 'FI'
|
|
2053
|
+
/** Faroese. */
|
|
2054
|
+
| 'FO'
|
|
2055
|
+
/** French. */
|
|
2056
|
+
| 'FR'
|
|
2057
|
+
/** Western Frisian. */
|
|
2058
|
+
| 'FY'
|
|
2059
|
+
/** Irish. */
|
|
2060
|
+
| 'GA'
|
|
2061
|
+
/** Scottish Gaelic. */
|
|
2062
|
+
| 'GD'
|
|
2063
|
+
/** Galician. */
|
|
2064
|
+
| 'GL'
|
|
2065
|
+
/** Gujarati. */
|
|
2066
|
+
| 'GU'
|
|
2067
|
+
/** Manx. */
|
|
2068
|
+
| 'GV'
|
|
2069
|
+
/** Hausa. */
|
|
2070
|
+
| 'HA'
|
|
2071
|
+
/** Hebrew. */
|
|
2072
|
+
| 'HE'
|
|
2073
|
+
/** Hindi. */
|
|
2074
|
+
| 'HI'
|
|
2075
|
+
/** Croatian. */
|
|
2076
|
+
| 'HR'
|
|
2077
|
+
/** Hungarian. */
|
|
2078
|
+
| 'HU'
|
|
2079
|
+
/** Armenian. */
|
|
2080
|
+
| 'HY'
|
|
2081
|
+
/** Interlingua. */
|
|
2082
|
+
| 'IA'
|
|
2083
|
+
/** Indonesian. */
|
|
2084
|
+
| 'ID'
|
|
2085
|
+
/** Igbo. */
|
|
2086
|
+
| 'IG'
|
|
2087
|
+
/** Sichuan Yi. */
|
|
2088
|
+
| 'II'
|
|
2089
|
+
/** Icelandic. */
|
|
2090
|
+
| 'IS'
|
|
2091
|
+
/** Italian. */
|
|
2092
|
+
| 'IT'
|
|
2093
|
+
/** Japanese. */
|
|
2094
|
+
| 'JA'
|
|
2095
|
+
/** Javanese. */
|
|
2096
|
+
| 'JV'
|
|
2097
|
+
/** Georgian. */
|
|
2098
|
+
| 'KA'
|
|
2099
|
+
/** Kikuyu. */
|
|
2100
|
+
| 'KI'
|
|
2101
|
+
/** Kazakh. */
|
|
2102
|
+
| 'KK'
|
|
2103
|
+
/** Kalaallisut. */
|
|
2104
|
+
| 'KL'
|
|
2105
|
+
/** Khmer. */
|
|
2106
|
+
| 'KM'
|
|
2107
|
+
/** Kannada. */
|
|
2108
|
+
| 'KN'
|
|
2109
|
+
/** Korean. */
|
|
2110
|
+
| 'KO'
|
|
2111
|
+
/** Kashmiri. */
|
|
2112
|
+
| 'KS'
|
|
2113
|
+
/** Kurdish. */
|
|
2114
|
+
| 'KU'
|
|
2115
|
+
/** Cornish. */
|
|
2116
|
+
| 'KW'
|
|
2117
|
+
/** Kyrgyz. */
|
|
2118
|
+
| 'KY'
|
|
2119
|
+
/** Luxembourgish. */
|
|
2120
|
+
| 'LB'
|
|
2121
|
+
/** Ganda. */
|
|
2122
|
+
| 'LG'
|
|
2123
|
+
/** Lingala. */
|
|
2124
|
+
| 'LN'
|
|
2125
|
+
/** Lao. */
|
|
2126
|
+
| 'LO'
|
|
2127
|
+
/** Lithuanian. */
|
|
2128
|
+
| 'LT'
|
|
2129
|
+
/** Luba-Katanga. */
|
|
2130
|
+
| 'LU'
|
|
2131
|
+
/** Latvian. */
|
|
2132
|
+
| 'LV'
|
|
2133
|
+
/** Malagasy. */
|
|
2134
|
+
| 'MG'
|
|
2135
|
+
/** Māori. */
|
|
2136
|
+
| 'MI'
|
|
2137
|
+
/** Macedonian. */
|
|
2138
|
+
| 'MK'
|
|
2139
|
+
/** Malayalam. */
|
|
2140
|
+
| 'ML'
|
|
2141
|
+
/** Mongolian. */
|
|
2142
|
+
| 'MN'
|
|
2143
|
+
/** Marathi. */
|
|
2144
|
+
| 'MR'
|
|
2145
|
+
/** Malay. */
|
|
2146
|
+
| 'MS'
|
|
2147
|
+
/** Maltese. */
|
|
2148
|
+
| 'MT'
|
|
2149
|
+
/** Burmese. */
|
|
2150
|
+
| 'MY'
|
|
2151
|
+
/** Norwegian (Bokmål). */
|
|
2152
|
+
| 'NB'
|
|
2153
|
+
/** North Ndebele. */
|
|
2154
|
+
| 'ND'
|
|
2155
|
+
/** Nepali. */
|
|
2156
|
+
| 'NE'
|
|
2157
|
+
/** Dutch. */
|
|
2158
|
+
| 'NL'
|
|
2159
|
+
/** Norwegian Nynorsk. */
|
|
2160
|
+
| 'NN'
|
|
2161
|
+
/** Norwegian. */
|
|
2162
|
+
| 'NO'
|
|
2163
|
+
/** Oromo. */
|
|
2164
|
+
| 'OM'
|
|
2165
|
+
/** Odia. */
|
|
2166
|
+
| 'OR'
|
|
2167
|
+
/** Ossetic. */
|
|
2168
|
+
| 'OS'
|
|
2169
|
+
/** Punjabi. */
|
|
2170
|
+
| 'PA'
|
|
2171
|
+
/** Polish. */
|
|
2172
|
+
| 'PL'
|
|
2173
|
+
/** Pashto. */
|
|
2174
|
+
| 'PS'
|
|
2175
|
+
/** Portuguese. */
|
|
2176
|
+
| 'PT'
|
|
2177
|
+
/** Portuguese (Brazil). */
|
|
2178
|
+
| 'PT_BR'
|
|
2179
|
+
/** Portuguese (Portugal). */
|
|
2180
|
+
| 'PT_PT'
|
|
2181
|
+
/** Quechua. */
|
|
2182
|
+
| 'QU'
|
|
2183
|
+
/** Romansh. */
|
|
2184
|
+
| 'RM'
|
|
2185
|
+
/** Rundi. */
|
|
2186
|
+
| 'RN'
|
|
2187
|
+
/** Romanian. */
|
|
2188
|
+
| 'RO'
|
|
2189
|
+
/** Russian. */
|
|
2190
|
+
| 'RU'
|
|
2191
|
+
/** Kinyarwanda. */
|
|
2192
|
+
| 'RW'
|
|
2193
|
+
/** Sindhi. */
|
|
2194
|
+
| 'SD'
|
|
2195
|
+
/** Northern Sami. */
|
|
2196
|
+
| 'SE'
|
|
2197
|
+
/** Sango. */
|
|
2198
|
+
| 'SG'
|
|
2199
|
+
/** Sinhala. */
|
|
2200
|
+
| 'SI'
|
|
2201
|
+
/** Slovak. */
|
|
2202
|
+
| 'SK'
|
|
2203
|
+
/** Slovenian. */
|
|
2204
|
+
| 'SL'
|
|
2205
|
+
/** Shona. */
|
|
2206
|
+
| 'SN'
|
|
2207
|
+
/** Somali. */
|
|
2208
|
+
| 'SO'
|
|
2209
|
+
/** Albanian. */
|
|
2210
|
+
| 'SQ'
|
|
2211
|
+
/** Serbian. */
|
|
2212
|
+
| 'SR'
|
|
2213
|
+
/** Sundanese. */
|
|
2214
|
+
| 'SU'
|
|
2215
|
+
/** Swedish. */
|
|
2216
|
+
| 'SV'
|
|
2217
|
+
/** Swahili. */
|
|
2218
|
+
| 'SW'
|
|
2219
|
+
/** Tamil. */
|
|
2220
|
+
| 'TA'
|
|
2221
|
+
/** Telugu. */
|
|
2222
|
+
| 'TE'
|
|
2223
|
+
/** Tajik. */
|
|
2224
|
+
| 'TG'
|
|
2225
|
+
/** Thai. */
|
|
2226
|
+
| 'TH'
|
|
2227
|
+
/** Tigrinya. */
|
|
2228
|
+
| 'TI'
|
|
2229
|
+
/** Turkmen. */
|
|
2230
|
+
| 'TK'
|
|
2231
|
+
/** Tongan. */
|
|
2232
|
+
| 'TO'
|
|
2233
|
+
/** Turkish. */
|
|
2234
|
+
| 'TR'
|
|
2235
|
+
/** Tatar. */
|
|
2236
|
+
| 'TT'
|
|
2237
|
+
/** Uyghur. */
|
|
2238
|
+
| 'UG'
|
|
2239
|
+
/** Ukrainian. */
|
|
2240
|
+
| 'UK'
|
|
2241
|
+
/** Urdu. */
|
|
2242
|
+
| 'UR'
|
|
2243
|
+
/** Uzbek. */
|
|
2244
|
+
| 'UZ'
|
|
2245
|
+
/** Vietnamese. */
|
|
2246
|
+
| 'VI'
|
|
2247
|
+
/** Volapük. */
|
|
2248
|
+
| 'VO'
|
|
2249
|
+
/** Wolof. */
|
|
2250
|
+
| 'WO'
|
|
2251
|
+
/** Xhosa. */
|
|
2252
|
+
| 'XH'
|
|
2253
|
+
/** Yiddish. */
|
|
2254
|
+
| 'YI'
|
|
2255
|
+
/** Yoruba. */
|
|
2256
|
+
| 'YO'
|
|
2257
|
+
/** Chinese. */
|
|
2258
|
+
| 'ZH'
|
|
2259
|
+
/** Chinese (Simplified). */
|
|
2260
|
+
| 'ZH_CN'
|
|
2261
|
+
/** Chinese (Traditional). */
|
|
2262
|
+
| 'ZH_TW'
|
|
2263
|
+
/** Zulu. */
|
|
2264
|
+
| 'ZU';
|
|
2265
|
+
/** Represents a location where product inventory is held. */
|
|
2266
|
+
type Location = Node & {
|
|
2267
|
+
/** The address of the location. */
|
|
2268
|
+
address: LocationAddress;
|
|
2269
|
+
/** A globally-unique identifier. */
|
|
2270
|
+
id: Scalars['ID'];
|
|
2271
|
+
/** The name of the location. */
|
|
2272
|
+
name: Scalars['String'];
|
|
2273
|
+
};
|
|
2274
|
+
/**
|
|
2275
|
+
* Represents the address of a location.
|
|
2276
|
+
*
|
|
2277
|
+
*/
|
|
2278
|
+
type LocationAddress = {
|
|
2279
|
+
/** The first line of the address for the location. */
|
|
2280
|
+
address1?: Maybe<Scalars['String']>;
|
|
2281
|
+
/** The second line of the address for the location. */
|
|
2282
|
+
address2?: Maybe<Scalars['String']>;
|
|
2283
|
+
/** The city of the location. */
|
|
2284
|
+
city?: Maybe<Scalars['String']>;
|
|
2285
|
+
/** The country of the location. */
|
|
2286
|
+
country?: Maybe<Scalars['String']>;
|
|
2287
|
+
/** The country code of the location. */
|
|
2288
|
+
countryCode?: Maybe<Scalars['String']>;
|
|
2289
|
+
/** A formatted version of the address for the location. */
|
|
2290
|
+
formatted: Array<Scalars['String']>;
|
|
2291
|
+
/** The latitude coordinates of the location. */
|
|
2292
|
+
latitude?: Maybe<Scalars['Float']>;
|
|
2293
|
+
/** The longitude coordinates of the location. */
|
|
2294
|
+
longitude?: Maybe<Scalars['Float']>;
|
|
2295
|
+
/** The phone number of the location. */
|
|
2296
|
+
phone?: Maybe<Scalars['String']>;
|
|
2297
|
+
/** The province of the location. */
|
|
2298
|
+
province?: Maybe<Scalars['String']>;
|
|
2299
|
+
/**
|
|
2300
|
+
* The code for the province, state, or district of the address of the location.
|
|
2301
|
+
*
|
|
2302
|
+
*/
|
|
2303
|
+
provinceCode?: Maybe<Scalars['String']>;
|
|
2304
|
+
/** The ZIP code of the location. */
|
|
2305
|
+
zip?: Maybe<Scalars['String']>;
|
|
2306
|
+
};
|
|
2307
|
+
/** Represents a mailing address for customers and shipping. */
|
|
2308
|
+
type MailingAddress = Node & {
|
|
2309
|
+
/** The first line of the address. Typically the street address or PO Box number. */
|
|
2310
|
+
address1?: Maybe<Scalars['String']>;
|
|
2311
|
+
/**
|
|
2312
|
+
* The second line of the address. Typically the number of the apartment, suite, or unit.
|
|
2313
|
+
*
|
|
2314
|
+
*/
|
|
2315
|
+
address2?: Maybe<Scalars['String']>;
|
|
2316
|
+
/**
|
|
2317
|
+
* The name of the city, district, village, or town.
|
|
2318
|
+
*
|
|
2319
|
+
*/
|
|
2320
|
+
city?: Maybe<Scalars['String']>;
|
|
2321
|
+
/**
|
|
2322
|
+
* The name of the customer's company or organization.
|
|
2323
|
+
*
|
|
2324
|
+
*/
|
|
2325
|
+
company?: Maybe<Scalars['String']>;
|
|
2326
|
+
/**
|
|
2327
|
+
* The name of the country.
|
|
2328
|
+
*
|
|
2329
|
+
*/
|
|
2330
|
+
country?: Maybe<Scalars['String']>;
|
|
2331
|
+
/**
|
|
2332
|
+
* The two-letter code for the country of the address.
|
|
2333
|
+
*
|
|
2334
|
+
* For example, US.
|
|
2335
|
+
*
|
|
2336
|
+
* @deprecated Use `countryCodeV2` instead
|
|
2337
|
+
*/
|
|
2338
|
+
countryCode?: Maybe<Scalars['String']>;
|
|
2339
|
+
/**
|
|
2340
|
+
* The two-letter code for the country of the address.
|
|
2341
|
+
*
|
|
2342
|
+
* For example, US.
|
|
2343
|
+
*
|
|
2344
|
+
*/
|
|
2345
|
+
countryCodeV2?: Maybe<CountryCode>;
|
|
2346
|
+
/** The first name of the customer. */
|
|
2347
|
+
firstName?: Maybe<Scalars['String']>;
|
|
2348
|
+
/** A formatted version of the address, customized by the provided arguments. */
|
|
2349
|
+
formatted: Array<Scalars['String']>;
|
|
2350
|
+
/** A comma-separated list of the values for city, province, and country. */
|
|
2351
|
+
formattedArea?: Maybe<Scalars['String']>;
|
|
2352
|
+
/** A globally-unique identifier. */
|
|
2353
|
+
id: Scalars['ID'];
|
|
2354
|
+
/** The last name of the customer. */
|
|
2355
|
+
lastName?: Maybe<Scalars['String']>;
|
|
2356
|
+
/** The latitude coordinate of the customer address. */
|
|
2357
|
+
latitude?: Maybe<Scalars['Float']>;
|
|
2358
|
+
/** The longitude coordinate of the customer address. */
|
|
2359
|
+
longitude?: Maybe<Scalars['Float']>;
|
|
2360
|
+
/**
|
|
2361
|
+
* The full name of the customer, based on firstName and lastName.
|
|
2362
|
+
*
|
|
2363
|
+
*/
|
|
2364
|
+
name?: Maybe<Scalars['String']>;
|
|
2365
|
+
/**
|
|
2366
|
+
* A unique phone number for the customer.
|
|
2367
|
+
*
|
|
2368
|
+
* Formatted using E.164 standard. For example, _+16135551111_.
|
|
2369
|
+
*
|
|
2370
|
+
*/
|
|
2371
|
+
phone?: Maybe<Scalars['String']>;
|
|
2372
|
+
/** The region of the address, such as the province, state, or district. */
|
|
2373
|
+
province?: Maybe<Scalars['String']>;
|
|
2374
|
+
/**
|
|
2375
|
+
* The two-letter code for the region.
|
|
2376
|
+
*
|
|
2377
|
+
* For example, ON.
|
|
2378
|
+
*
|
|
2379
|
+
*/
|
|
2380
|
+
provinceCode?: Maybe<Scalars['String']>;
|
|
2381
|
+
/** The zip or postal code of the address. */
|
|
2382
|
+
zip?: Maybe<Scalars['String']>;
|
|
2383
|
+
};
|
|
2384
|
+
/**
|
|
2385
|
+
* An auto-generated type for paginating through multiple MailingAddresses.
|
|
2386
|
+
*
|
|
2387
|
+
*/
|
|
2388
|
+
type MailingAddressConnection = {
|
|
2389
|
+
/** A list of edges. */
|
|
2390
|
+
edges: Array<MailingAddressEdge>;
|
|
2391
|
+
/** A list of the nodes contained in MailingAddressEdge. */
|
|
2392
|
+
nodes: Array<MailingAddress>;
|
|
2393
|
+
/** Information to aid in pagination. */
|
|
2394
|
+
pageInfo: PageInfo;
|
|
2395
|
+
};
|
|
2396
|
+
/**
|
|
2397
|
+
* An auto-generated type which holds one MailingAddress and a cursor during pagination.
|
|
2398
|
+
*
|
|
2399
|
+
*/
|
|
2400
|
+
type MailingAddressEdge = {
|
|
2401
|
+
/** A cursor for use in pagination. */
|
|
2402
|
+
cursor: Scalars['String'];
|
|
2403
|
+
/** The item at the end of MailingAddressEdge. */
|
|
2404
|
+
node: MailingAddress;
|
|
2405
|
+
};
|
|
2406
|
+
/** Represents a media interface. */
|
|
2407
|
+
type Media = {
|
|
2408
|
+
/** A word or phrase to share the nature or contents of a media. */
|
|
2409
|
+
alt?: Maybe<Scalars['String']>;
|
|
2410
|
+
/** The media content type. */
|
|
2411
|
+
mediaContentType: MediaContentType;
|
|
2412
|
+
/** The preview image for the media. */
|
|
2413
|
+
previewImage?: Maybe<Image>;
|
|
2414
|
+
};
|
|
2415
|
+
/**
|
|
2416
|
+
* An auto-generated type for paginating through multiple Media.
|
|
2417
|
+
*
|
|
2418
|
+
*/
|
|
2419
|
+
type MediaConnection = {
|
|
2420
|
+
/** A list of edges. */
|
|
2421
|
+
edges: Array<MediaEdge>;
|
|
2422
|
+
/** A list of the nodes contained in MediaEdge. */
|
|
2423
|
+
nodes: Array<Media>;
|
|
2424
|
+
/** Information to aid in pagination. */
|
|
2425
|
+
pageInfo: PageInfo;
|
|
2426
|
+
};
|
|
2427
|
+
/** The possible content types for a media object. */
|
|
2428
|
+
type MediaContentType =
|
|
2429
|
+
/** An externally hosted video. */
|
|
2430
|
+
'EXTERNAL_VIDEO'
|
|
2431
|
+
/** A Shopify hosted image. */
|
|
2432
|
+
| 'IMAGE'
|
|
2433
|
+
/** A 3d model. */
|
|
2434
|
+
| 'MODEL_3D'
|
|
2435
|
+
/** A Shopify hosted video. */
|
|
2436
|
+
| 'VIDEO';
|
|
2437
|
+
/**
|
|
2438
|
+
* An auto-generated type which holds one Media and a cursor during pagination.
|
|
2439
|
+
*
|
|
2440
|
+
*/
|
|
2441
|
+
type MediaEdge = {
|
|
2442
|
+
/** A cursor for use in pagination. */
|
|
2443
|
+
cursor: Scalars['String'];
|
|
2444
|
+
/** The item at the end of MediaEdge. */
|
|
2445
|
+
node: Media;
|
|
2446
|
+
};
|
|
2447
|
+
/** Represents a Shopify hosted image. */
|
|
2448
|
+
type MediaImage = Media & Node & {
|
|
2449
|
+
/** A word or phrase to share the nature or contents of a media. */
|
|
2450
|
+
alt?: Maybe<Scalars['String']>;
|
|
2451
|
+
/** A globally-unique identifier. */
|
|
2452
|
+
id: Scalars['ID'];
|
|
2453
|
+
/** The image for the media. */
|
|
2454
|
+
image?: Maybe<Image>;
|
|
2455
|
+
/** The media content type. */
|
|
2456
|
+
mediaContentType: MediaContentType;
|
|
2457
|
+
/** The preview image for the media. */
|
|
2458
|
+
previewImage?: Maybe<Image>;
|
|
2459
|
+
};
|
|
2460
|
+
/** The merchandise to be purchased at checkout. */
|
|
2461
|
+
type Merchandise = ProductVariant;
|
|
2462
|
+
/**
|
|
2463
|
+
* Metafields represent custom metadata attached to a resource. Metafields can be sorted into namespaces and are
|
|
2464
|
+
* comprised of keys, values, and value types.
|
|
2465
|
+
*
|
|
2466
|
+
*/
|
|
2467
|
+
type Metafield = Node & {
|
|
2468
|
+
/** The date and time when the storefront metafield was created. */
|
|
2469
|
+
createdAt: Scalars['DateTime'];
|
|
2470
|
+
/** The description of a metafield. */
|
|
2471
|
+
description?: Maybe<Scalars['String']>;
|
|
2472
|
+
/** A globally-unique identifier. */
|
|
2473
|
+
id: Scalars['ID'];
|
|
2474
|
+
/** The key name for a metafield. */
|
|
2475
|
+
key: Scalars['String'];
|
|
2476
|
+
/** The namespace for a metafield. */
|
|
2477
|
+
namespace: Scalars['String'];
|
|
2478
|
+
/** The parent object that the metafield belongs to. */
|
|
2479
|
+
parentResource: MetafieldParentResource;
|
|
2480
|
+
/** Returns a reference object if the metafield definition's type is a resource reference. */
|
|
2481
|
+
reference?: Maybe<MetafieldReference>;
|
|
2482
|
+
/**
|
|
2483
|
+
* The type name of the metafield.
|
|
2484
|
+
* See the list of [supported types](https://shopify.dev/apps/metafields/definitions/types).
|
|
2485
|
+
*
|
|
2486
|
+
*/
|
|
2487
|
+
type: Scalars['String'];
|
|
2488
|
+
/** The date and time when the storefront metafield was updated. */
|
|
2489
|
+
updatedAt: Scalars['DateTime'];
|
|
2490
|
+
/** The value of a metafield. */
|
|
2491
|
+
value: Scalars['String'];
|
|
2492
|
+
};
|
|
2493
|
+
/** A resource that the metafield belongs to. */
|
|
2494
|
+
type MetafieldParentResource = Article | Blog | Collection | Customer | Order | Page | Product | ProductVariant | Shop;
|
|
2495
|
+
/**
|
|
2496
|
+
* Returns the resource which is being referred to by a metafield.
|
|
2497
|
+
*
|
|
2498
|
+
*/
|
|
2499
|
+
type MetafieldReference = GenericFile | MediaImage | Page | Product | ProductVariant | Video;
|
|
2500
|
+
/**
|
|
2501
|
+
* A monetary value with currency.
|
|
2502
|
+
*
|
|
2503
|
+
*/
|
|
2504
|
+
type MoneyV2 = {
|
|
2505
|
+
/** Decimal money amount. */
|
|
2506
|
+
amount: Scalars['Decimal'];
|
|
2507
|
+
/** Currency of the money. */
|
|
2508
|
+
currencyCode: CurrencyCode;
|
|
2509
|
+
};
|
|
2510
|
+
/**
|
|
2511
|
+
* An object with an ID field to support global identification, in accordance with the
|
|
2512
|
+
* [Relay specification](https://relay.dev/graphql/objectidentification.htm#sec-Node-Interface).
|
|
2513
|
+
* This interface is used by the [node](https://shopify.dev/api/admin-graphql/unstable/queries/node)
|
|
2514
|
+
* and [nodes](https://shopify.dev/api/admin-graphql/unstable/queries/nodes) queries.
|
|
2515
|
+
*
|
|
2516
|
+
*/
|
|
2517
|
+
type Node = {
|
|
2518
|
+
/** A globally-unique identifier. */
|
|
2519
|
+
id: Scalars['ID'];
|
|
2520
|
+
};
|
|
2521
|
+
/** Represents a resource that can be published to the Online Store sales channel. */
|
|
2522
|
+
type OnlineStorePublishable = {
|
|
2523
|
+
/** The URL used for viewing the resource on the shop's Online Store. Returns `null` if the resource is currently not published to the Online Store sales channel. */
|
|
2524
|
+
onlineStoreUrl?: Maybe<Scalars['URL']>;
|
|
2525
|
+
};
|
|
2526
|
+
/** An order is a customer’s completed request to purchase one or more products from a shop. An order is created when a customer completes the checkout process, during which time they provides an email address, billing address and payment information. */
|
|
2527
|
+
type Order = HasMetafields & Node & {
|
|
2528
|
+
/** The reason for the order's cancellation. Returns `null` if the order wasn't canceled. */
|
|
2529
|
+
cancelReason?: Maybe<OrderCancelReason>;
|
|
2530
|
+
/** The date and time when the order was canceled. Returns null if the order wasn't canceled. */
|
|
2531
|
+
canceledAt?: Maybe<Scalars['DateTime']>;
|
|
2532
|
+
/** The code of the currency used for the payment. */
|
|
2533
|
+
currencyCode: CurrencyCode;
|
|
2534
|
+
/** The subtotal of line items and their discounts, excluding line items that have been removed. Does not contain order-level discounts, duties, shipping costs, or shipping discounts. Taxes are not included unless the order is a taxes-included order. */
|
|
2535
|
+
currentSubtotalPrice: MoneyV2;
|
|
2536
|
+
/** The total cost of duties for the order, including refunds. */
|
|
2537
|
+
currentTotalDuties?: Maybe<MoneyV2>;
|
|
2538
|
+
/** The total amount of the order, including duties, taxes and discounts, minus amounts for line items that have been removed. */
|
|
2539
|
+
currentTotalPrice: MoneyV2;
|
|
2540
|
+
/** The total of all taxes applied to the order, excluding taxes for returned line items. */
|
|
2541
|
+
currentTotalTax: MoneyV2;
|
|
2542
|
+
/** The locale code in which this specific order happened. */
|
|
2543
|
+
customerLocale?: Maybe<Scalars['String']>;
|
|
2544
|
+
/** The unique URL that the customer can use to access the order. */
|
|
2545
|
+
customerUrl?: Maybe<Scalars['URL']>;
|
|
2546
|
+
/** Discounts that have been applied on the order. */
|
|
2547
|
+
discountApplications: DiscountApplicationConnection;
|
|
2548
|
+
/** Whether the order has had any edits applied or not. */
|
|
2549
|
+
edited: Scalars['Boolean'];
|
|
2550
|
+
/** The customer's email address. */
|
|
2551
|
+
email?: Maybe<Scalars['String']>;
|
|
2552
|
+
/** The financial status of the order. */
|
|
2553
|
+
financialStatus?: Maybe<OrderFinancialStatus>;
|
|
2554
|
+
/** The fulfillment status for the order. */
|
|
2555
|
+
fulfillmentStatus: OrderFulfillmentStatus;
|
|
2556
|
+
/** A globally-unique identifier. */
|
|
2557
|
+
id: Scalars['ID'];
|
|
2558
|
+
/** List of the order’s line items. */
|
|
2559
|
+
lineItems: OrderLineItemConnection;
|
|
2560
|
+
/** Returns a metafield found by namespace and key. */
|
|
2561
|
+
metafield?: Maybe<Metafield>;
|
|
2562
|
+
/**
|
|
2563
|
+
* The metafields associated with the resource matching the supplied list of namespaces and keys.
|
|
2564
|
+
*
|
|
2565
|
+
*/
|
|
2566
|
+
metafields: Array<Maybe<Metafield>>;
|
|
2567
|
+
/**
|
|
2568
|
+
* Unique identifier for the order that appears on the order.
|
|
2569
|
+
* For example, _#1000_ or _Store1001.
|
|
2570
|
+
*
|
|
2571
|
+
*/
|
|
2572
|
+
name: Scalars['String'];
|
|
2573
|
+
/** A unique numeric identifier for the order for use by shop owner and customer. */
|
|
2574
|
+
orderNumber: Scalars['Int'];
|
|
2575
|
+
/** The total cost of duties charged at checkout. */
|
|
2576
|
+
originalTotalDuties?: Maybe<MoneyV2>;
|
|
2577
|
+
/** The total price of the order before any applied edits. */
|
|
2578
|
+
originalTotalPrice: MoneyV2;
|
|
2579
|
+
/** The customer's phone number for receiving SMS notifications. */
|
|
2580
|
+
phone?: Maybe<Scalars['String']>;
|
|
2581
|
+
/**
|
|
2582
|
+
* The date and time when the order was imported.
|
|
2583
|
+
* This value can be set to dates in the past when importing from other systems.
|
|
2584
|
+
* If no value is provided, it will be auto-generated based on current date and time.
|
|
2585
|
+
*
|
|
2586
|
+
*/
|
|
2587
|
+
processedAt: Scalars['DateTime'];
|
|
2588
|
+
/** The address to where the order will be shipped. */
|
|
2589
|
+
shippingAddress?: Maybe<MailingAddress>;
|
|
2590
|
+
/**
|
|
2591
|
+
* The discounts that have been allocated onto the shipping line by discount applications.
|
|
2592
|
+
*
|
|
2593
|
+
*/
|
|
2594
|
+
shippingDiscountAllocations: Array<DiscountAllocation>;
|
|
2595
|
+
/** The unique URL for the order's status page. */
|
|
2596
|
+
statusUrl: Scalars['URL'];
|
|
2597
|
+
/**
|
|
2598
|
+
* Price of the order before shipping and taxes.
|
|
2599
|
+
* @deprecated Use `subtotalPriceV2` instead
|
|
2600
|
+
*/
|
|
2601
|
+
subtotalPrice?: Maybe<Scalars['Money']>;
|
|
2602
|
+
/** Price of the order before duties, shipping and taxes. */
|
|
2603
|
+
subtotalPriceV2?: Maybe<MoneyV2>;
|
|
2604
|
+
/** List of the order’s successful fulfillments. */
|
|
2605
|
+
successfulFulfillments?: Maybe<Array<Fulfillment>>;
|
|
2606
|
+
/**
|
|
2607
|
+
* The sum of all the prices of all the items in the order, taxes and discounts included (must be positive).
|
|
2608
|
+
* @deprecated Use `totalPriceV2` instead
|
|
2609
|
+
*/
|
|
2610
|
+
totalPrice: Scalars['Money'];
|
|
2611
|
+
/** The sum of all the prices of all the items in the order, duties, taxes and discounts included (must be positive). */
|
|
2612
|
+
totalPriceV2: MoneyV2;
|
|
2613
|
+
/**
|
|
2614
|
+
* The total amount that has been refunded.
|
|
2615
|
+
* @deprecated Use `totalRefundedV2` instead
|
|
2616
|
+
*/
|
|
2617
|
+
totalRefunded: Scalars['Money'];
|
|
2618
|
+
/** The total amount that has been refunded. */
|
|
2619
|
+
totalRefundedV2: MoneyV2;
|
|
2620
|
+
/**
|
|
2621
|
+
* The total cost of shipping.
|
|
2622
|
+
* @deprecated Use `totalShippingPriceV2` instead
|
|
2623
|
+
*/
|
|
2624
|
+
totalShippingPrice: Scalars['Money'];
|
|
2625
|
+
/** The total cost of shipping. */
|
|
2626
|
+
totalShippingPriceV2: MoneyV2;
|
|
2627
|
+
/**
|
|
2628
|
+
* The total cost of taxes.
|
|
2629
|
+
* @deprecated Use `totalTaxV2` instead
|
|
2630
|
+
*/
|
|
2631
|
+
totalTax?: Maybe<Scalars['Money']>;
|
|
2632
|
+
/** The total cost of taxes. */
|
|
2633
|
+
totalTaxV2?: Maybe<MoneyV2>;
|
|
2634
|
+
};
|
|
2635
|
+
/** Represents the reason for the order's cancellation. */
|
|
2636
|
+
type OrderCancelReason =
|
|
2637
|
+
/** The customer wanted to cancel the order. */
|
|
2638
|
+
'CUSTOMER'
|
|
2639
|
+
/** Payment was declined. */
|
|
2640
|
+
| 'DECLINED'
|
|
2641
|
+
/** The order was fraudulent. */
|
|
2642
|
+
| 'FRAUD'
|
|
2643
|
+
/** There was insufficient inventory. */
|
|
2644
|
+
| 'INVENTORY'
|
|
2645
|
+
/** The order was canceled for an unlisted reason. */
|
|
2646
|
+
| 'OTHER';
|
|
2647
|
+
/**
|
|
2648
|
+
* An auto-generated type for paginating through multiple Orders.
|
|
2649
|
+
*
|
|
2650
|
+
*/
|
|
2651
|
+
type OrderConnection = {
|
|
2652
|
+
/** A list of edges. */
|
|
2653
|
+
edges: Array<OrderEdge>;
|
|
2654
|
+
/** A list of the nodes contained in OrderEdge. */
|
|
2655
|
+
nodes: Array<Order>;
|
|
2656
|
+
/** Information to aid in pagination. */
|
|
2657
|
+
pageInfo: PageInfo;
|
|
2658
|
+
};
|
|
2659
|
+
/**
|
|
2660
|
+
* An auto-generated type which holds one Order and a cursor during pagination.
|
|
2661
|
+
*
|
|
2662
|
+
*/
|
|
2663
|
+
type OrderEdge = {
|
|
2664
|
+
/** A cursor for use in pagination. */
|
|
2665
|
+
cursor: Scalars['String'];
|
|
2666
|
+
/** The item at the end of OrderEdge. */
|
|
2667
|
+
node: Order;
|
|
2668
|
+
};
|
|
2669
|
+
/** Represents the order's current financial status. */
|
|
2670
|
+
type OrderFinancialStatus =
|
|
2671
|
+
/** Displayed as **Authorized**. */
|
|
2672
|
+
'AUTHORIZED'
|
|
2673
|
+
/** Displayed as **Paid**. */
|
|
2674
|
+
| 'PAID'
|
|
2675
|
+
/** Displayed as **Partially paid**. */
|
|
2676
|
+
| 'PARTIALLY_PAID'
|
|
2677
|
+
/** Displayed as **Partially refunded**. */
|
|
2678
|
+
| 'PARTIALLY_REFUNDED'
|
|
2679
|
+
/** Displayed as **Pending**. */
|
|
2680
|
+
| 'PENDING'
|
|
2681
|
+
/** Displayed as **Refunded**. */
|
|
2682
|
+
| 'REFUNDED'
|
|
2683
|
+
/** Displayed as **Voided**. */
|
|
2684
|
+
| 'VOIDED';
|
|
2685
|
+
/** Represents the order's aggregated fulfillment status for display purposes. */
|
|
2686
|
+
type OrderFulfillmentStatus =
|
|
2687
|
+
/** Displayed as **Fulfilled**. All of the items in the order have been fulfilled. */
|
|
2688
|
+
'FULFILLED'
|
|
2689
|
+
/** Displayed as **In progress**. Some of the items in the order have been fulfilled, or a request for fulfillment has been sent to the fulfillment service. */
|
|
2690
|
+
| 'IN_PROGRESS'
|
|
2691
|
+
/** Displayed as **On hold**. All of the unfulfilled items in this order are on hold. */
|
|
2692
|
+
| 'ON_HOLD'
|
|
2693
|
+
/** Displayed as **Open**. None of the items in the order have been fulfilled. Replaced by "UNFULFILLED" status. */
|
|
2694
|
+
| 'OPEN'
|
|
2695
|
+
/** Displayed as **Partially fulfilled**. Some of the items in the order have been fulfilled. */
|
|
2696
|
+
| 'PARTIALLY_FULFILLED'
|
|
2697
|
+
/** Displayed as **Pending fulfillment**. A request for fulfillment of some items awaits a response from the fulfillment service. Replaced by "IN_PROGRESS" status. */
|
|
2698
|
+
| 'PENDING_FULFILLMENT'
|
|
2699
|
+
/** Displayed as **Restocked**. All of the items in the order have been restocked. Replaced by "UNFULFILLED" status. */
|
|
2700
|
+
| 'RESTOCKED'
|
|
2701
|
+
/** Displayed as **Scheduled**. All of the unfulfilled items in this order are scheduled for fulfillment at later time. */
|
|
2702
|
+
| 'SCHEDULED'
|
|
2703
|
+
/** Displayed as **Unfulfilled**. None of the items in the order have been fulfilled. */
|
|
2704
|
+
| 'UNFULFILLED';
|
|
2705
|
+
/** Represents a single line in an order. There is one line item for each distinct product variant. */
|
|
2706
|
+
type OrderLineItem = {
|
|
2707
|
+
/** The number of entries associated to the line item minus the items that have been removed. */
|
|
2708
|
+
currentQuantity: Scalars['Int'];
|
|
2709
|
+
/** List of custom attributes associated to the line item. */
|
|
2710
|
+
customAttributes: Array<Attribute>;
|
|
2711
|
+
/** The discounts that have been allocated onto the order line item by discount applications. */
|
|
2712
|
+
discountAllocations: Array<DiscountAllocation>;
|
|
2713
|
+
/** The total price of the line item, including discounts, and displayed in the presentment currency. */
|
|
2714
|
+
discountedTotalPrice: MoneyV2;
|
|
2715
|
+
/** The total price of the line item, not including any discounts. The total price is calculated using the original unit price multiplied by the quantity, and it is displayed in the presentment currency. */
|
|
2716
|
+
originalTotalPrice: MoneyV2;
|
|
2717
|
+
/** The number of products variants associated to the line item. */
|
|
2718
|
+
quantity: Scalars['Int'];
|
|
2719
|
+
/** The title of the product combined with title of the variant. */
|
|
2720
|
+
title: Scalars['String'];
|
|
2721
|
+
/** The product variant object associated to the line item. */
|
|
2722
|
+
variant?: Maybe<ProductVariant>;
|
|
2723
|
+
};
|
|
2724
|
+
/**
|
|
2725
|
+
* An auto-generated type for paginating through multiple OrderLineItems.
|
|
2726
|
+
*
|
|
2727
|
+
*/
|
|
2728
|
+
type OrderLineItemConnection = {
|
|
2729
|
+
/** A list of edges. */
|
|
2730
|
+
edges: Array<OrderLineItemEdge>;
|
|
2731
|
+
/** A list of the nodes contained in OrderLineItemEdge. */
|
|
2732
|
+
nodes: Array<OrderLineItem>;
|
|
2733
|
+
/** Information to aid in pagination. */
|
|
2734
|
+
pageInfo: PageInfo;
|
|
2735
|
+
};
|
|
2736
|
+
/**
|
|
2737
|
+
* An auto-generated type which holds one OrderLineItem and a cursor during pagination.
|
|
2738
|
+
*
|
|
2739
|
+
*/
|
|
2740
|
+
type OrderLineItemEdge = {
|
|
2741
|
+
/** A cursor for use in pagination. */
|
|
2742
|
+
cursor: Scalars['String'];
|
|
2743
|
+
/** The item at the end of OrderLineItemEdge. */
|
|
2744
|
+
node: OrderLineItem;
|
|
2745
|
+
};
|
|
2746
|
+
/** Shopify merchants can create pages to hold static HTML content. Each Page object represents a custom page on the online store. */
|
|
2747
|
+
type Page = HasMetafields & Node & OnlineStorePublishable & {
|
|
2748
|
+
/** The description of the page, complete with HTML formatting. */
|
|
2749
|
+
body: Scalars['HTML'];
|
|
2750
|
+
/** Summary of the page body. */
|
|
2751
|
+
bodySummary: Scalars['String'];
|
|
2752
|
+
/** The timestamp of the page creation. */
|
|
2753
|
+
createdAt: Scalars['DateTime'];
|
|
2754
|
+
/** A human-friendly unique string for the page automatically generated from its title. */
|
|
2755
|
+
handle: Scalars['String'];
|
|
2756
|
+
/** A globally-unique identifier. */
|
|
2757
|
+
id: Scalars['ID'];
|
|
2758
|
+
/** Returns a metafield found by namespace and key. */
|
|
2759
|
+
metafield?: Maybe<Metafield>;
|
|
2760
|
+
/**
|
|
2761
|
+
* The metafields associated with the resource matching the supplied list of namespaces and keys.
|
|
2762
|
+
*
|
|
2763
|
+
*/
|
|
2764
|
+
metafields: Array<Maybe<Metafield>>;
|
|
2765
|
+
/** The URL used for viewing the resource on the shop's Online Store. Returns `null` if the resource is currently not published to the Online Store sales channel. */
|
|
2766
|
+
onlineStoreUrl?: Maybe<Scalars['URL']>;
|
|
2767
|
+
/** The page's SEO information. */
|
|
2768
|
+
seo?: Maybe<Seo>;
|
|
2769
|
+
/** The title of the page. */
|
|
2770
|
+
title: Scalars['String'];
|
|
2771
|
+
/** The timestamp of the latest page update. */
|
|
2772
|
+
updatedAt: Scalars['DateTime'];
|
|
2773
|
+
};
|
|
2774
|
+
/**
|
|
2775
|
+
* Returns information about pagination in a connection, in accordance with the
|
|
2776
|
+
* [Relay specification](https://relay.dev/graphql/connections.htm#sec-undefined.PageInfo).
|
|
2777
|
+
*
|
|
2778
|
+
*/
|
|
2779
|
+
type PageInfo = {
|
|
2780
|
+
/** The cursor corresponding to the last node in edges. */
|
|
2781
|
+
endCursor?: Maybe<Scalars['String']>;
|
|
2782
|
+
/** Whether there are more pages to fetch following the current page. */
|
|
2783
|
+
hasNextPage: Scalars['Boolean'];
|
|
2784
|
+
/** Whether there are any pages prior to the current page. */
|
|
2785
|
+
hasPreviousPage: Scalars['Boolean'];
|
|
2786
|
+
/** The cursor corresponding to the first node in edges. */
|
|
2787
|
+
startCursor?: Maybe<Scalars['String']>;
|
|
2788
|
+
};
|
|
2789
|
+
/** Settings related to payments. */
|
|
2790
|
+
type PaymentSettings = {
|
|
2791
|
+
/** List of the card brands which the shop accepts. */
|
|
2792
|
+
acceptedCardBrands: Array<CardBrand>;
|
|
2793
|
+
/** The url pointing to the endpoint to vault credit cards. */
|
|
2794
|
+
cardVaultUrl: Scalars['URL'];
|
|
2795
|
+
/** The country where the shop is located. */
|
|
2796
|
+
countryCode: CountryCode;
|
|
2797
|
+
/** The three-letter code for the shop's primary currency. */
|
|
2798
|
+
currencyCode: CurrencyCode;
|
|
2799
|
+
/** A list of enabled currencies (ISO 4217 format) that the shop accepts. Merchants can enable currencies from their Shopify Payments settings in the Shopify admin. */
|
|
2800
|
+
enabledPresentmentCurrencies: Array<CurrencyCode>;
|
|
2801
|
+
/** The shop’s Shopify Payments account id. */
|
|
2802
|
+
shopifyPaymentsAccountId?: Maybe<Scalars['String']>;
|
|
2803
|
+
/** List of the digital wallets which the shop supports. */
|
|
2804
|
+
supportedDigitalWallets: Array<DigitalWallet>;
|
|
2805
|
+
};
|
|
2806
|
+
/** The value of the percentage pricing object. */
|
|
2807
|
+
type PricingPercentageValue = {
|
|
2808
|
+
/** The percentage value of the object. */
|
|
2809
|
+
percentage: Scalars['Float'];
|
|
2810
|
+
};
|
|
2811
|
+
/** The price value (fixed or percentage) for a discount application. */
|
|
2812
|
+
type PricingValue = MoneyV2 | PricingPercentageValue;
|
|
2813
|
+
/**
|
|
2814
|
+
* A product represents an individual item for sale in a Shopify store. Products are often physical, but they don't have to be.
|
|
2815
|
+
* For example, a digital download (such as a movie, music or ebook file) also qualifies as a product, as do services (such as equipment rental, work for hire, customization of another product or an extended warranty).
|
|
2816
|
+
*/
|
|
2817
|
+
type Product = HasMetafields & Node & OnlineStorePublishable & {
|
|
2818
|
+
/** Indicates if at least one product variant is available for sale. */
|
|
2819
|
+
availableForSale: Scalars['Boolean'];
|
|
2820
|
+
/** List of collections a product belongs to. */
|
|
2821
|
+
collections: CollectionConnection;
|
|
2822
|
+
/** The compare at price of the product across all variants. */
|
|
2823
|
+
compareAtPriceRange: ProductPriceRange;
|
|
2824
|
+
/** The date and time when the product was created. */
|
|
2825
|
+
createdAt: Scalars['DateTime'];
|
|
2826
|
+
/** Stripped description of the product, single line with HTML tags removed. */
|
|
2827
|
+
description: Scalars['String'];
|
|
2828
|
+
/** The description of the product, complete with HTML formatting. */
|
|
2829
|
+
descriptionHtml: Scalars['HTML'];
|
|
2830
|
+
/**
|
|
2831
|
+
* The featured image for the product.
|
|
2832
|
+
*
|
|
2833
|
+
* This field is functionally equivalent to `images(first: 1)`.
|
|
2834
|
+
*
|
|
2835
|
+
*/
|
|
2836
|
+
featuredImage?: Maybe<Image>;
|
|
2837
|
+
/**
|
|
2838
|
+
* A human-friendly unique string for the Product automatically generated from its title.
|
|
2839
|
+
* They are used by the Liquid templating language to refer to objects.
|
|
2840
|
+
*
|
|
2841
|
+
*/
|
|
2842
|
+
handle: Scalars['String'];
|
|
2843
|
+
/** A globally-unique identifier. */
|
|
2844
|
+
id: Scalars['ID'];
|
|
2845
|
+
/** List of images associated with the product. */
|
|
2846
|
+
images: ImageConnection;
|
|
2847
|
+
/** The media associated with the product. */
|
|
2848
|
+
media: MediaConnection;
|
|
2849
|
+
/** Returns a metafield found by namespace and key. */
|
|
2850
|
+
metafield?: Maybe<Metafield>;
|
|
2851
|
+
/**
|
|
2852
|
+
* The metafields associated with the resource matching the supplied list of namespaces and keys.
|
|
2853
|
+
*
|
|
2854
|
+
*/
|
|
2855
|
+
metafields: Array<Maybe<Metafield>>;
|
|
2856
|
+
/** The URL used for viewing the resource on the shop's Online Store. Returns `null` if the resource is currently not published to the Online Store sales channel. */
|
|
2857
|
+
onlineStoreUrl?: Maybe<Scalars['URL']>;
|
|
2858
|
+
/** List of product options. */
|
|
2859
|
+
options: Array<ProductOption>;
|
|
2860
|
+
/** The price range. */
|
|
2861
|
+
priceRange: ProductPriceRange;
|
|
2862
|
+
/** A categorization that a product can be tagged with, commonly used for filtering and searching. */
|
|
2863
|
+
productType: Scalars['String'];
|
|
2864
|
+
/** The date and time when the product was published to the channel. */
|
|
2865
|
+
publishedAt: Scalars['DateTime'];
|
|
2866
|
+
/** Whether the product can only be purchased with a selling plan. */
|
|
2867
|
+
requiresSellingPlan: Scalars['Boolean'];
|
|
2868
|
+
/** A list of a product's available selling plan groups. A selling plan group represents a selling method. For example, 'Subscribe and save' is a selling method where customers pay for goods or services per delivery. A selling plan group contains individual selling plans. */
|
|
2869
|
+
sellingPlanGroups: SellingPlanGroupConnection;
|
|
2870
|
+
/** The product's SEO information. */
|
|
2871
|
+
seo: Seo;
|
|
2872
|
+
/**
|
|
2873
|
+
* A comma separated list of tags that have been added to the product.
|
|
2874
|
+
* Additional access scope required for private apps: unauthenticated_read_product_tags.
|
|
2875
|
+
*
|
|
2876
|
+
*/
|
|
2877
|
+
tags: Array<Scalars['String']>;
|
|
2878
|
+
/** The product’s title. */
|
|
2879
|
+
title: Scalars['String'];
|
|
2880
|
+
/** The total quantity of inventory in stock for this Product. */
|
|
2881
|
+
totalInventory?: Maybe<Scalars['Int']>;
|
|
2882
|
+
/**
|
|
2883
|
+
* The date and time when the product was last modified.
|
|
2884
|
+
* A product's `updatedAt` value can change for different reasons. For example, if an order
|
|
2885
|
+
* is placed for a product that has inventory tracking set up, then the inventory adjustment
|
|
2886
|
+
* is counted as an update.
|
|
2887
|
+
*
|
|
2888
|
+
*/
|
|
2889
|
+
updatedAt: Scalars['DateTime'];
|
|
2890
|
+
/**
|
|
2891
|
+
* Find a product’s variant based on its selected options.
|
|
2892
|
+
* This is useful for converting a user’s selection of product options into a single matching variant.
|
|
2893
|
+
* If there is not a variant for the selected options, `null` will be returned.
|
|
2894
|
+
*
|
|
2895
|
+
*/
|
|
2896
|
+
variantBySelectedOptions?: Maybe<ProductVariant>;
|
|
2897
|
+
/** List of the product’s variants. */
|
|
2898
|
+
variants: ProductVariantConnection;
|
|
2899
|
+
/** The product’s vendor name. */
|
|
2900
|
+
vendor: Scalars['String'];
|
|
2901
|
+
};
|
|
2902
|
+
/**
|
|
2903
|
+
* An auto-generated type for paginating through multiple Products.
|
|
2904
|
+
*
|
|
2905
|
+
*/
|
|
2906
|
+
type ProductConnection = {
|
|
2907
|
+
/** A list of edges. */
|
|
2908
|
+
edges: Array<ProductEdge>;
|
|
2909
|
+
/** A list of available filters. */
|
|
2910
|
+
filters: Array<Filter>;
|
|
2911
|
+
/** A list of the nodes contained in ProductEdge. */
|
|
2912
|
+
nodes: Array<Product>;
|
|
2913
|
+
/** Information to aid in pagination. */
|
|
2914
|
+
pageInfo: PageInfo;
|
|
2915
|
+
};
|
|
2916
|
+
/**
|
|
2917
|
+
* An auto-generated type which holds one Product and a cursor during pagination.
|
|
2918
|
+
*
|
|
2919
|
+
*/
|
|
2920
|
+
type ProductEdge = {
|
|
2921
|
+
/** A cursor for use in pagination. */
|
|
2922
|
+
cursor: Scalars['String'];
|
|
2923
|
+
/** The item at the end of ProductEdge. */
|
|
2924
|
+
node: Product;
|
|
2925
|
+
};
|
|
2926
|
+
/**
|
|
2927
|
+
* Product property names like "Size", "Color", and "Material" that the customers can select.
|
|
2928
|
+
* Variants are selected based on permutations of these options.
|
|
2929
|
+
* 255 characters limit each.
|
|
2930
|
+
*
|
|
2931
|
+
*/
|
|
2932
|
+
type ProductOption = Node & {
|
|
2933
|
+
/** A globally-unique identifier. */
|
|
2934
|
+
id: Scalars['ID'];
|
|
2935
|
+
/** The product option’s name. */
|
|
2936
|
+
name: Scalars['String'];
|
|
2937
|
+
/** The corresponding value to the product option name. */
|
|
2938
|
+
values: Array<Scalars['String']>;
|
|
2939
|
+
};
|
|
2940
|
+
/** The price range of the product. */
|
|
2941
|
+
type ProductPriceRange = {
|
|
2942
|
+
/** The highest variant's price. */
|
|
2943
|
+
maxVariantPrice: MoneyV2;
|
|
2944
|
+
/** The lowest variant's price. */
|
|
2945
|
+
minVariantPrice: MoneyV2;
|
|
2946
|
+
};
|
|
2947
|
+
/** A product variant represents a different version of a product, such as differing sizes or differing colors. */
|
|
2948
|
+
type ProductVariant = HasMetafields & Node & {
|
|
2949
|
+
/** Indicates if the product variant is available for sale. */
|
|
2950
|
+
availableForSale: Scalars['Boolean'];
|
|
2951
|
+
/** The barcode (for example, ISBN, UPC, or GTIN) associated with the variant. */
|
|
2952
|
+
barcode?: Maybe<Scalars['String']>;
|
|
2953
|
+
/**
|
|
2954
|
+
* The compare at price of the variant. This can be used to mark a variant as on sale, when `compareAtPrice` is higher than `price`.
|
|
2955
|
+
* @deprecated Use `compareAtPriceV2` instead
|
|
2956
|
+
*/
|
|
2957
|
+
compareAtPrice?: Maybe<Scalars['Money']>;
|
|
2958
|
+
/** The compare at price of the variant. This can be used to mark a variant as on sale, when `compareAtPriceV2` is higher than `priceV2`. */
|
|
2959
|
+
compareAtPriceV2?: Maybe<MoneyV2>;
|
|
2960
|
+
/** Whether a product is out of stock but still available for purchase (used for backorders). */
|
|
2961
|
+
currentlyNotInStock: Scalars['Boolean'];
|
|
2962
|
+
/** A globally-unique identifier. */
|
|
2963
|
+
id: Scalars['ID'];
|
|
2964
|
+
/**
|
|
2965
|
+
* Image associated with the product variant. This field falls back to the product image if no image is available.
|
|
2966
|
+
*
|
|
2967
|
+
*/
|
|
2968
|
+
image?: Maybe<Image>;
|
|
2969
|
+
/** Returns a metafield found by namespace and key. */
|
|
2970
|
+
metafield?: Maybe<Metafield>;
|
|
2971
|
+
/**
|
|
2972
|
+
* The metafields associated with the resource matching the supplied list of namespaces and keys.
|
|
2973
|
+
*
|
|
2974
|
+
*/
|
|
2975
|
+
metafields: Array<Maybe<Metafield>>;
|
|
2976
|
+
/**
|
|
2977
|
+
* The product variant’s price.
|
|
2978
|
+
* @deprecated Use `priceV2` instead
|
|
2979
|
+
*/
|
|
2980
|
+
price: Scalars['Money'];
|
|
2981
|
+
/** The product variant’s price. */
|
|
2982
|
+
priceV2: MoneyV2;
|
|
2983
|
+
/** The product object that the product variant belongs to. */
|
|
2984
|
+
product: Product;
|
|
2985
|
+
/** The total sellable quantity of the variant for online sales channels. */
|
|
2986
|
+
quantityAvailable?: Maybe<Scalars['Int']>;
|
|
2987
|
+
/** Whether a customer needs to provide a shipping address when placing an order for the product variant. */
|
|
2988
|
+
requiresShipping: Scalars['Boolean'];
|
|
2989
|
+
/** List of product options applied to the variant. */
|
|
2990
|
+
selectedOptions: Array<SelectedOption>;
|
|
2991
|
+
/** Represents an association between a variant and a selling plan. Selling plan allocations describe which selling plans are available for each variant, and what their impact is on pricing. */
|
|
2992
|
+
sellingPlanAllocations: SellingPlanAllocationConnection;
|
|
2993
|
+
/** The SKU (stock keeping unit) associated with the variant. */
|
|
2994
|
+
sku?: Maybe<Scalars['String']>;
|
|
2995
|
+
/** The in-store pickup availability of this variant by location. */
|
|
2996
|
+
storeAvailability: StoreAvailabilityConnection;
|
|
2997
|
+
/** The product variant’s title. */
|
|
2998
|
+
title: Scalars['String'];
|
|
2999
|
+
/** The unit price value for the variant based on the variant's measurement. */
|
|
3000
|
+
unitPrice?: Maybe<MoneyV2>;
|
|
3001
|
+
/** The unit price measurement for the variant. */
|
|
3002
|
+
unitPriceMeasurement?: Maybe<UnitPriceMeasurement>;
|
|
3003
|
+
/** The weight of the product variant in the unit system specified with `weight_unit`. */
|
|
3004
|
+
weight?: Maybe<Scalars['Float']>;
|
|
3005
|
+
/** Unit of measurement for weight. */
|
|
3006
|
+
weightUnit: WeightUnit;
|
|
3007
|
+
};
|
|
3008
|
+
/**
|
|
3009
|
+
* An auto-generated type for paginating through multiple ProductVariants.
|
|
3010
|
+
*
|
|
3011
|
+
*/
|
|
3012
|
+
type ProductVariantConnection = {
|
|
3013
|
+
/** A list of edges. */
|
|
3014
|
+
edges: Array<ProductVariantEdge>;
|
|
3015
|
+
/** A list of the nodes contained in ProductVariantEdge. */
|
|
3016
|
+
nodes: Array<ProductVariant>;
|
|
3017
|
+
/** Information to aid in pagination. */
|
|
3018
|
+
pageInfo: PageInfo;
|
|
3019
|
+
};
|
|
3020
|
+
/**
|
|
3021
|
+
* An auto-generated type which holds one ProductVariant and a cursor during pagination.
|
|
3022
|
+
*
|
|
3023
|
+
*/
|
|
3024
|
+
type ProductVariantEdge = {
|
|
3025
|
+
/** A cursor for use in pagination. */
|
|
3026
|
+
cursor: Scalars['String'];
|
|
3027
|
+
/** The item at the end of ProductVariantEdge. */
|
|
3028
|
+
node: ProductVariant;
|
|
3029
|
+
};
|
|
3030
|
+
/** SEO information. */
|
|
3031
|
+
type Seo = {
|
|
3032
|
+
/** The meta description. */
|
|
3033
|
+
description?: Maybe<Scalars['String']>;
|
|
3034
|
+
/** The SEO title. */
|
|
3035
|
+
title?: Maybe<Scalars['String']>;
|
|
3036
|
+
};
|
|
3037
|
+
/**
|
|
3038
|
+
* Properties used by customers to select a product variant.
|
|
3039
|
+
* Products can have multiple options, like different sizes or colors.
|
|
3040
|
+
*
|
|
3041
|
+
*/
|
|
3042
|
+
type SelectedOption = {
|
|
3043
|
+
/** The product option’s name. */
|
|
3044
|
+
name: Scalars['String'];
|
|
3045
|
+
/** The product option’s value. */
|
|
3046
|
+
value: Scalars['String'];
|
|
3047
|
+
};
|
|
3048
|
+
/** Represents how products and variants can be sold and purchased. */
|
|
3049
|
+
type SellingPlan = {
|
|
3050
|
+
/** The initial payment due for the purchase. */
|
|
3051
|
+
checkoutCharge: SellingPlanCheckoutCharge;
|
|
3052
|
+
/** The description of the selling plan. */
|
|
3053
|
+
description?: Maybe<Scalars['String']>;
|
|
3054
|
+
/** A globally-unique identifier. */
|
|
3055
|
+
id: Scalars['ID'];
|
|
3056
|
+
/** The name of the selling plan. For example, '6 weeks of prepaid granola, delivered weekly'. */
|
|
3057
|
+
name: Scalars['String'];
|
|
3058
|
+
/** The selling plan options available in the drop-down list in the storefront. For example, 'Delivery every week' or 'Delivery every 2 weeks' specifies the delivery frequency options for the product. Individual selling plans contribute their options to the associated selling plan group. For example, a selling plan group might have an option called `option1: Delivery every`. One selling plan in that group could contribute `option1: 2 weeks` with the pricing for that option, and another selling plan could contribute `option1: 4 weeks`, with different pricing. */
|
|
3059
|
+
options: Array<SellingPlanOption>;
|
|
3060
|
+
/** The price adjustments that a selling plan makes when a variant is purchased with a selling plan. */
|
|
3061
|
+
priceAdjustments: Array<SellingPlanPriceAdjustment>;
|
|
3062
|
+
/** Whether purchasing the selling plan will result in multiple deliveries. */
|
|
3063
|
+
recurringDeliveries: Scalars['Boolean'];
|
|
3064
|
+
};
|
|
3065
|
+
/** Represents an association between a variant and a selling plan. Selling plan allocations describe the options offered for each variant, and the price of the variant when purchased with a selling plan. */
|
|
3066
|
+
type SellingPlanAllocation = {
|
|
3067
|
+
/** The checkout charge amount due for the purchase. */
|
|
3068
|
+
checkoutChargeAmount: MoneyV2;
|
|
3069
|
+
/** A list of price adjustments, with a maximum of two. When there are two, the first price adjustment goes into effect at the time of purchase, while the second one starts after a certain number of orders. A price adjustment represents how a selling plan affects pricing when a variant is purchased with a selling plan. Prices display in the customer's currency if the shop is configured for it. */
|
|
3070
|
+
priceAdjustments: Array<SellingPlanAllocationPriceAdjustment>;
|
|
3071
|
+
/** The remaining balance charge amount due for the purchase. */
|
|
3072
|
+
remainingBalanceChargeAmount: MoneyV2;
|
|
3073
|
+
/** A representation of how products and variants can be sold and purchased. For example, an individual selling plan could be '6 weeks of prepaid granola, delivered weekly'. */
|
|
3074
|
+
sellingPlan: SellingPlan;
|
|
3075
|
+
};
|
|
3076
|
+
/**
|
|
3077
|
+
* An auto-generated type for paginating through multiple SellingPlanAllocations.
|
|
3078
|
+
*
|
|
3079
|
+
*/
|
|
3080
|
+
type SellingPlanAllocationConnection = {
|
|
3081
|
+
/** A list of edges. */
|
|
3082
|
+
edges: Array<SellingPlanAllocationEdge>;
|
|
3083
|
+
/** A list of the nodes contained in SellingPlanAllocationEdge. */
|
|
3084
|
+
nodes: Array<SellingPlanAllocation>;
|
|
3085
|
+
/** Information to aid in pagination. */
|
|
3086
|
+
pageInfo: PageInfo;
|
|
3087
|
+
};
|
|
3088
|
+
/**
|
|
3089
|
+
* An auto-generated type which holds one SellingPlanAllocation and a cursor during pagination.
|
|
3090
|
+
*
|
|
3091
|
+
*/
|
|
3092
|
+
type SellingPlanAllocationEdge = {
|
|
3093
|
+
/** A cursor for use in pagination. */
|
|
3094
|
+
cursor: Scalars['String'];
|
|
3095
|
+
/** The item at the end of SellingPlanAllocationEdge. */
|
|
3096
|
+
node: SellingPlanAllocation;
|
|
3097
|
+
};
|
|
3098
|
+
/** The resulting prices for variants when they're purchased with a specific selling plan. */
|
|
3099
|
+
type SellingPlanAllocationPriceAdjustment = {
|
|
3100
|
+
/** The price of the variant when it's purchased without a selling plan for the same number of deliveries. For example, if a customer purchases 6 deliveries of $10.00 granola separately, then the price is 6 x $10.00 = $60.00. */
|
|
3101
|
+
compareAtPrice: MoneyV2;
|
|
3102
|
+
/** The effective price for a single delivery. For example, for a prepaid subscription plan that includes 6 deliveries at the price of $48.00, the per delivery price is $8.00. */
|
|
3103
|
+
perDeliveryPrice: MoneyV2;
|
|
3104
|
+
/** The price of the variant when it's purchased with a selling plan For example, for a prepaid subscription plan that includes 6 deliveries of $10.00 granola, where the customer gets 20% off, the price is 6 x $10.00 x 0.80 = $48.00. */
|
|
3105
|
+
price: MoneyV2;
|
|
3106
|
+
/** The resulting price per unit for the variant associated with the selling plan. If the variant isn't sold by quantity or measurement, then this field returns `null`. */
|
|
3107
|
+
unitPrice?: Maybe<MoneyV2>;
|
|
3108
|
+
};
|
|
3109
|
+
/** The initial payment due for the purchase. */
|
|
3110
|
+
type SellingPlanCheckoutCharge = {
|
|
3111
|
+
/** The charge type for the checkout charge. */
|
|
3112
|
+
type: SellingPlanCheckoutChargeType;
|
|
3113
|
+
/** The charge value for the checkout charge. */
|
|
3114
|
+
value: SellingPlanCheckoutChargeValue;
|
|
3115
|
+
};
|
|
3116
|
+
/** The percentage value of the price used for checkout charge. */
|
|
3117
|
+
type SellingPlanCheckoutChargePercentageValue = {
|
|
3118
|
+
/** The percentage value of the price used for checkout charge. */
|
|
3119
|
+
percentage: Scalars['Float'];
|
|
3120
|
+
};
|
|
3121
|
+
/** The checkout charge when the full amount isn't charged at checkout. */
|
|
3122
|
+
type SellingPlanCheckoutChargeType =
|
|
3123
|
+
/** The checkout charge is a percentage of the product or variant price. */
|
|
3124
|
+
'PERCENTAGE'
|
|
3125
|
+
/** The checkout charge is a fixed price amount. */
|
|
3126
|
+
| 'PRICE';
|
|
3127
|
+
/** The portion of the price to be charged at checkout. */
|
|
3128
|
+
type SellingPlanCheckoutChargeValue = MoneyV2 | SellingPlanCheckoutChargePercentageValue;
|
|
3129
|
+
/**
|
|
3130
|
+
* An auto-generated type for paginating through multiple SellingPlans.
|
|
3131
|
+
*
|
|
3132
|
+
*/
|
|
3133
|
+
type SellingPlanConnection = {
|
|
3134
|
+
/** A list of edges. */
|
|
3135
|
+
edges: Array<SellingPlanEdge>;
|
|
3136
|
+
/** A list of the nodes contained in SellingPlanEdge. */
|
|
3137
|
+
nodes: Array<SellingPlan>;
|
|
3138
|
+
/** Information to aid in pagination. */
|
|
3139
|
+
pageInfo: PageInfo;
|
|
3140
|
+
};
|
|
3141
|
+
/**
|
|
3142
|
+
* An auto-generated type which holds one SellingPlan and a cursor during pagination.
|
|
3143
|
+
*
|
|
3144
|
+
*/
|
|
3145
|
+
type SellingPlanEdge = {
|
|
3146
|
+
/** A cursor for use in pagination. */
|
|
3147
|
+
cursor: Scalars['String'];
|
|
3148
|
+
/** The item at the end of SellingPlanEdge. */
|
|
3149
|
+
node: SellingPlan;
|
|
3150
|
+
};
|
|
3151
|
+
/** A fixed amount that's deducted from the original variant price. For example, $10.00 off. */
|
|
3152
|
+
type SellingPlanFixedAmountPriceAdjustment = {
|
|
3153
|
+
/** The money value of the price adjustment. */
|
|
3154
|
+
adjustmentAmount: MoneyV2;
|
|
3155
|
+
};
|
|
3156
|
+
/** A fixed price adjustment for a variant that's purchased with a selling plan. */
|
|
3157
|
+
type SellingPlanFixedPriceAdjustment = {
|
|
3158
|
+
/** A new price of the variant when it's purchased with the selling plan. */
|
|
3159
|
+
price: MoneyV2;
|
|
3160
|
+
};
|
|
3161
|
+
/** Represents a selling method. For example, 'Subscribe and save' is a selling method where customers pay for goods or services per delivery. A selling plan group contains individual selling plans. */
|
|
3162
|
+
type SellingPlanGroup = {
|
|
3163
|
+
/** A display friendly name for the app that created the selling plan group. */
|
|
3164
|
+
appName?: Maybe<Scalars['String']>;
|
|
3165
|
+
/** The name of the selling plan group. */
|
|
3166
|
+
name: Scalars['String'];
|
|
3167
|
+
/** Represents the selling plan options available in the drop-down list in the storefront. For example, 'Delivery every week' or 'Delivery every 2 weeks' specifies the delivery frequency options for the product. */
|
|
3168
|
+
options: Array<SellingPlanGroupOption>;
|
|
3169
|
+
/** A list of selling plans in a selling plan group. A selling plan is a representation of how products and variants can be sold and purchased. For example, an individual selling plan could be '6 weeks of prepaid granola, delivered weekly'. */
|
|
3170
|
+
sellingPlans: SellingPlanConnection;
|
|
3171
|
+
};
|
|
3172
|
+
/**
|
|
3173
|
+
* An auto-generated type for paginating through multiple SellingPlanGroups.
|
|
3174
|
+
*
|
|
3175
|
+
*/
|
|
3176
|
+
type SellingPlanGroupConnection = {
|
|
3177
|
+
/** A list of edges. */
|
|
3178
|
+
edges: Array<SellingPlanGroupEdge>;
|
|
3179
|
+
/** A list of the nodes contained in SellingPlanGroupEdge. */
|
|
3180
|
+
nodes: Array<SellingPlanGroup>;
|
|
3181
|
+
/** Information to aid in pagination. */
|
|
3182
|
+
pageInfo: PageInfo;
|
|
3183
|
+
};
|
|
3184
|
+
/**
|
|
3185
|
+
* An auto-generated type which holds one SellingPlanGroup and a cursor during pagination.
|
|
3186
|
+
*
|
|
3187
|
+
*/
|
|
3188
|
+
type SellingPlanGroupEdge = {
|
|
3189
|
+
/** A cursor for use in pagination. */
|
|
3190
|
+
cursor: Scalars['String'];
|
|
3191
|
+
/** The item at the end of SellingPlanGroupEdge. */
|
|
3192
|
+
node: SellingPlanGroup;
|
|
3193
|
+
};
|
|
3194
|
+
/**
|
|
3195
|
+
* Represents an option on a selling plan group that's available in the drop-down list in the storefront.
|
|
3196
|
+
*
|
|
3197
|
+
* Individual selling plans contribute their options to the associated selling plan group. For example, a selling plan group might have an option called `option1: Delivery every`. One selling plan in that group could contribute `option1: 2 weeks` with the pricing for that option, and another selling plan could contribute `option1: 4 weeks`, with different pricing.
|
|
3198
|
+
*/
|
|
3199
|
+
type SellingPlanGroupOption = {
|
|
3200
|
+
/** The name of the option. For example, 'Delivery every'. */
|
|
3201
|
+
name: Scalars['String'];
|
|
3202
|
+
/** The values for the options specified by the selling plans in the selling plan group. For example, '1 week', '2 weeks', '3 weeks'. */
|
|
3203
|
+
values: Array<Scalars['String']>;
|
|
3204
|
+
};
|
|
3205
|
+
/** An option provided by a Selling Plan. */
|
|
3206
|
+
type SellingPlanOption = {
|
|
3207
|
+
/** The name of the option (ie "Delivery every"). */
|
|
3208
|
+
name?: Maybe<Scalars['String']>;
|
|
3209
|
+
/** The value of the option (ie "Month"). */
|
|
3210
|
+
value?: Maybe<Scalars['String']>;
|
|
3211
|
+
};
|
|
3212
|
+
/** A percentage amount that's deducted from the original variant price. For example, 10% off. */
|
|
3213
|
+
type SellingPlanPercentagePriceAdjustment = {
|
|
3214
|
+
/** The percentage value of the price adjustment. */
|
|
3215
|
+
adjustmentPercentage: Scalars['Int'];
|
|
3216
|
+
};
|
|
3217
|
+
/** Represents by how much the price of a variant associated with a selling plan is adjusted. Each variant can have up to two price adjustments. If a variant has multiple price adjustments, then the first price adjustment applies when the variant is initially purchased. The second price adjustment applies after a certain number of orders (specified by the `orderCount` field) are made. If a selling plan doesn't have any price adjustments, then the unadjusted price of the variant is the effective price. */
|
|
3218
|
+
type SellingPlanPriceAdjustment = {
|
|
3219
|
+
/** The type of price adjustment. An adjustment value can have one of three types: percentage, amount off, or a new price. */
|
|
3220
|
+
adjustmentValue: SellingPlanPriceAdjustmentValue;
|
|
3221
|
+
/** The number of orders that the price adjustment applies to. If the price adjustment always applies, then this field is `null`. */
|
|
3222
|
+
orderCount?: Maybe<Scalars['Int']>;
|
|
3223
|
+
};
|
|
3224
|
+
/** Represents by how much the price of a variant associated with a selling plan is adjusted. Each variant can have up to two price adjustments. */
|
|
3225
|
+
type SellingPlanPriceAdjustmentValue = SellingPlanFixedAmountPriceAdjustment | SellingPlanFixedPriceAdjustment | SellingPlanPercentagePriceAdjustment;
|
|
3226
|
+
/** A shipping rate to be applied to a checkout. */
|
|
3227
|
+
type ShippingRate = {
|
|
3228
|
+
/** Human-readable unique identifier for this shipping rate. */
|
|
3229
|
+
handle: Scalars['String'];
|
|
3230
|
+
/**
|
|
3231
|
+
* Price of this shipping rate.
|
|
3232
|
+
* @deprecated Use `priceV2` instead
|
|
3233
|
+
*/
|
|
3234
|
+
price: Scalars['Money'];
|
|
3235
|
+
/** Price of this shipping rate. */
|
|
3236
|
+
priceV2: MoneyV2;
|
|
3237
|
+
/** Title of this shipping rate. */
|
|
3238
|
+
title: Scalars['String'];
|
|
3239
|
+
};
|
|
3240
|
+
/** Shop represents a collection of the general settings and information about the shop. */
|
|
3241
|
+
type Shop = HasMetafields & Node & {
|
|
3242
|
+
/** A description of the shop. */
|
|
3243
|
+
description?: Maybe<Scalars['String']>;
|
|
3244
|
+
/** A globally-unique identifier. */
|
|
3245
|
+
id: Scalars['ID'];
|
|
3246
|
+
/** Returns a metafield found by namespace and key. */
|
|
3247
|
+
metafield?: Maybe<Metafield>;
|
|
3248
|
+
/**
|
|
3249
|
+
* The metafields associated with the resource matching the supplied list of namespaces and keys.
|
|
3250
|
+
*
|
|
3251
|
+
*/
|
|
3252
|
+
metafields: Array<Maybe<Metafield>>;
|
|
3253
|
+
/** A string representing the way currency is formatted when the currency isn’t specified. */
|
|
3254
|
+
moneyFormat: Scalars['String'];
|
|
3255
|
+
/** The shop’s name. */
|
|
3256
|
+
name: Scalars['String'];
|
|
3257
|
+
/** Settings related to payments. */
|
|
3258
|
+
paymentSettings: PaymentSettings;
|
|
3259
|
+
/** The primary domain of the shop’s Online Store. */
|
|
3260
|
+
primaryDomain: Domain;
|
|
3261
|
+
/** The shop’s privacy policy. */
|
|
3262
|
+
privacyPolicy?: Maybe<ShopPolicy>;
|
|
3263
|
+
/** The shop’s refund policy. */
|
|
3264
|
+
refundPolicy?: Maybe<ShopPolicy>;
|
|
3265
|
+
/** The shop’s shipping policy. */
|
|
3266
|
+
shippingPolicy?: Maybe<ShopPolicy>;
|
|
3267
|
+
/** Countries that the shop ships to. */
|
|
3268
|
+
shipsToCountries: Array<CountryCode>;
|
|
3269
|
+
/** The shop’s subscription policy. */
|
|
3270
|
+
subscriptionPolicy?: Maybe<ShopPolicyWithDefault>;
|
|
3271
|
+
/** The shop’s terms of service. */
|
|
3272
|
+
termsOfService?: Maybe<ShopPolicy>;
|
|
3273
|
+
};
|
|
3274
|
+
/** Policy that a merchant has configured for their store, such as their refund or privacy policy. */
|
|
3275
|
+
type ShopPolicy = Node & {
|
|
3276
|
+
/** Policy text, maximum size of 64kb. */
|
|
3277
|
+
body: Scalars['String'];
|
|
3278
|
+
/** Policy’s handle. */
|
|
3279
|
+
handle: Scalars['String'];
|
|
3280
|
+
/** A globally-unique identifier. */
|
|
3281
|
+
id: Scalars['ID'];
|
|
3282
|
+
/** Policy’s title. */
|
|
3283
|
+
title: Scalars['String'];
|
|
3284
|
+
/** Public URL to the policy. */
|
|
3285
|
+
url: Scalars['URL'];
|
|
3286
|
+
};
|
|
3287
|
+
/**
|
|
3288
|
+
* A policy for the store that comes with a default value, such as a subscription policy.
|
|
3289
|
+
* If the merchant hasn't configured a policy for their store, then the policy will return the default value.
|
|
3290
|
+
* Otherwise, the policy will return the merchant-configured value.
|
|
3291
|
+
*
|
|
3292
|
+
*/
|
|
3293
|
+
type ShopPolicyWithDefault = {
|
|
3294
|
+
/** The text of the policy. Maximum size: 64KB. */
|
|
3295
|
+
body: Scalars['String'];
|
|
3296
|
+
/** The handle of the policy. */
|
|
3297
|
+
handle: Scalars['String'];
|
|
3298
|
+
/** The unique identifier of the policy. A default policy doesn't have an ID. */
|
|
3299
|
+
id?: Maybe<Scalars['ID']>;
|
|
3300
|
+
/** The title of the policy. */
|
|
3301
|
+
title: Scalars['String'];
|
|
3302
|
+
/** Public URL to the policy. */
|
|
3303
|
+
url: Scalars['URL'];
|
|
3304
|
+
};
|
|
3305
|
+
/**
|
|
3306
|
+
* The availability of a product variant at a particular location.
|
|
3307
|
+
* Local pick-up must be enabled in the store's shipping settings, otherwise this will return an empty result.
|
|
3308
|
+
*
|
|
3309
|
+
*/
|
|
3310
|
+
type StoreAvailability = {
|
|
3311
|
+
/** Whether the product variant is in-stock at this location. */
|
|
3312
|
+
available: Scalars['Boolean'];
|
|
3313
|
+
/** The location where this product variant is stocked at. */
|
|
3314
|
+
location: Location;
|
|
3315
|
+
/** Returns the estimated amount of time it takes for pickup to be ready (Example: Usually ready in 24 hours). */
|
|
3316
|
+
pickUpTime: Scalars['String'];
|
|
3317
|
+
};
|
|
3318
|
+
/**
|
|
3319
|
+
* An auto-generated type for paginating through multiple StoreAvailabilities.
|
|
3320
|
+
*
|
|
3321
|
+
*/
|
|
3322
|
+
type StoreAvailabilityConnection = {
|
|
3323
|
+
/** A list of edges. */
|
|
3324
|
+
edges: Array<StoreAvailabilityEdge>;
|
|
3325
|
+
/** A list of the nodes contained in StoreAvailabilityEdge. */
|
|
3326
|
+
nodes: Array<StoreAvailability>;
|
|
3327
|
+
/** Information to aid in pagination. */
|
|
3328
|
+
pageInfo: PageInfo;
|
|
3329
|
+
};
|
|
3330
|
+
/**
|
|
3331
|
+
* An auto-generated type which holds one StoreAvailability and a cursor during pagination.
|
|
3332
|
+
*
|
|
3333
|
+
*/
|
|
3334
|
+
type StoreAvailabilityEdge = {
|
|
3335
|
+
/** A cursor for use in pagination. */
|
|
3336
|
+
cursor: Scalars['String'];
|
|
3337
|
+
/** The item at the end of StoreAvailabilityEdge. */
|
|
3338
|
+
node: StoreAvailability;
|
|
3339
|
+
};
|
|
3340
|
+
/**
|
|
3341
|
+
* The measurement used to calculate a unit price for a product variant (e.g. $9.99 / 100ml).
|
|
3342
|
+
*
|
|
3343
|
+
*/
|
|
3344
|
+
type UnitPriceMeasurement = {
|
|
3345
|
+
/** The type of unit of measurement for the unit price measurement. */
|
|
3346
|
+
measuredType?: Maybe<UnitPriceMeasurementMeasuredType>;
|
|
3347
|
+
/** The quantity unit for the unit price measurement. */
|
|
3348
|
+
quantityUnit?: Maybe<UnitPriceMeasurementMeasuredUnit>;
|
|
3349
|
+
/** The quantity value for the unit price measurement. */
|
|
3350
|
+
quantityValue: Scalars['Float'];
|
|
3351
|
+
/** The reference unit for the unit price measurement. */
|
|
3352
|
+
referenceUnit?: Maybe<UnitPriceMeasurementMeasuredUnit>;
|
|
3353
|
+
/** The reference value for the unit price measurement. */
|
|
3354
|
+
referenceValue: Scalars['Int'];
|
|
3355
|
+
};
|
|
3356
|
+
/** The accepted types of unit of measurement. */
|
|
3357
|
+
type UnitPriceMeasurementMeasuredType =
|
|
3358
|
+
/** Unit of measurements representing areas. */
|
|
3359
|
+
'AREA'
|
|
3360
|
+
/** Unit of measurements representing lengths. */
|
|
3361
|
+
| 'LENGTH'
|
|
3362
|
+
/** Unit of measurements representing volumes. */
|
|
3363
|
+
| 'VOLUME'
|
|
3364
|
+
/** Unit of measurements representing weights. */
|
|
3365
|
+
| 'WEIGHT';
|
|
3366
|
+
/** The valid units of measurement for a unit price measurement. */
|
|
3367
|
+
type UnitPriceMeasurementMeasuredUnit =
|
|
3368
|
+
/** 100 centiliters equals 1 liter. */
|
|
3369
|
+
'CL'
|
|
3370
|
+
/** 100 centimeters equals 1 meter. */
|
|
3371
|
+
| 'CM'
|
|
3372
|
+
/** Metric system unit of weight. */
|
|
3373
|
+
| 'G'
|
|
3374
|
+
/** 1 kilogram equals 1000 grams. */
|
|
3375
|
+
| 'KG'
|
|
3376
|
+
/** Metric system unit of volume. */
|
|
3377
|
+
| 'L'
|
|
3378
|
+
/** Metric system unit of length. */
|
|
3379
|
+
| 'M'
|
|
3380
|
+
/** Metric system unit of area. */
|
|
3381
|
+
| 'M2'
|
|
3382
|
+
/** 1 cubic meter equals 1000 liters. */
|
|
3383
|
+
| 'M3'
|
|
3384
|
+
/** 1000 milligrams equals 1 gram. */
|
|
3385
|
+
| 'MG'
|
|
3386
|
+
/** 1000 milliliters equals 1 liter. */
|
|
3387
|
+
| 'ML'
|
|
3388
|
+
/** 1000 millimeters equals 1 meter. */
|
|
3389
|
+
| 'MM';
|
|
3390
|
+
/** Systems of weights and measures. */
|
|
3391
|
+
type UnitSystem =
|
|
3392
|
+
/** Imperial system of weights and measures. */
|
|
3393
|
+
'IMPERIAL_SYSTEM'
|
|
3394
|
+
/** Metric system of weights and measures. */
|
|
3395
|
+
| 'METRIC_SYSTEM';
|
|
3396
|
+
/** Represents a Shopify hosted video. */
|
|
3397
|
+
type Video = Media & Node & {
|
|
3398
|
+
/** A word or phrase to share the nature or contents of a media. */
|
|
3399
|
+
alt?: Maybe<Scalars['String']>;
|
|
3400
|
+
/** A globally-unique identifier. */
|
|
3401
|
+
id: Scalars['ID'];
|
|
3402
|
+
/** The media content type. */
|
|
3403
|
+
mediaContentType: MediaContentType;
|
|
3404
|
+
/** The preview image for the media. */
|
|
3405
|
+
previewImage?: Maybe<Image>;
|
|
3406
|
+
/** The sources for a video. */
|
|
3407
|
+
sources: Array<VideoSource>;
|
|
3408
|
+
};
|
|
3409
|
+
/** Represents a source for a Shopify hosted video. */
|
|
3410
|
+
type VideoSource = {
|
|
3411
|
+
/** The format of the video source. */
|
|
3412
|
+
format: Scalars['String'];
|
|
3413
|
+
/** The height of the video. */
|
|
3414
|
+
height: Scalars['Int'];
|
|
3415
|
+
/** The video MIME type. */
|
|
3416
|
+
mimeType: Scalars['String'];
|
|
3417
|
+
/** The URL of the video. */
|
|
3418
|
+
url: Scalars['String'];
|
|
3419
|
+
/** The width of the video. */
|
|
3420
|
+
width: Scalars['Int'];
|
|
3421
|
+
};
|
|
3422
|
+
/** Units of measurement for weight. */
|
|
3423
|
+
type WeightUnit =
|
|
3424
|
+
/** Metric system unit of mass. */
|
|
3425
|
+
'GRAMS'
|
|
3426
|
+
/** 1 kilogram equals 1000 grams. */
|
|
3427
|
+
| 'KILOGRAMS'
|
|
3428
|
+
/** Imperial system unit of mass. */
|
|
3429
|
+
| 'OUNCES'
|
|
3430
|
+
/** 1 pound equals 16 ounces. */
|
|
3431
|
+
| 'POUNDS';
|
|
3432
|
+
|
|
3433
|
+
type ProductQueryVariables = Exact<{
|
|
3434
|
+
handle?: InputMaybe<Scalars['String']>;
|
|
3435
|
+
id?: InputMaybe<Scalars['ID']>;
|
|
3436
|
+
}>;
|
|
3437
|
+
type ProductQueryResponse = {
|
|
3438
|
+
product?: Maybe<Pick<Product, 'availableForSale' | 'createdAt' | 'description' | 'descriptionHtml' | 'handle' | 'id' | 'onlineStoreUrl' | 'productType' | 'publishedAt' | 'tags' | 'title' | 'totalInventory' | 'updatedAt'> & {
|
|
3439
|
+
compareAtPriceRange: {
|
|
3440
|
+
maxVariantPrice: Pick<MoneyV2, 'amount' | 'currencyCode'>;
|
|
3441
|
+
minVariantPrice: Pick<MoneyV2, 'amount' | 'currencyCode'>;
|
|
3442
|
+
};
|
|
3443
|
+
featuredImage?: Maybe<Pick<Image, 'altText' | 'height' | 'id' | 'url' | 'width'>>;
|
|
3444
|
+
priceRange: {
|
|
3445
|
+
maxVariantPrice: Pick<MoneyV2, 'amount' | 'currencyCode'>;
|
|
3446
|
+
minVariantPrice: Pick<MoneyV2, 'amount' | 'currencyCode'>;
|
|
3447
|
+
};
|
|
3448
|
+
seo: Pick<Seo, 'description' | 'title'>;
|
|
3449
|
+
}>;
|
|
3450
|
+
};
|
|
3451
|
+
declare const ProductDocument: string;
|
|
3452
|
+
|
|
3453
|
+
type ShopMetaQueryVariables = Exact<{
|
|
3454
|
+
[key: string]: never;
|
|
3455
|
+
}>;
|
|
3456
|
+
type ShopMetaQueryResponse = {
|
|
3457
|
+
localization: {
|
|
3458
|
+
country: Pick<Country, 'isoCode' | 'name' | 'unitSystem'> & {
|
|
3459
|
+
currency: Pick<Currency, 'isoCode' | 'name' | 'symbol'>;
|
|
3460
|
+
};
|
|
3461
|
+
};
|
|
3462
|
+
shop: Pick<Shop, 'name' | 'description'>;
|
|
3463
|
+
};
|
|
3464
|
+
declare const ShopMetaDocument: string;
|
|
3465
|
+
|
|
3466
|
+
type CartCreateMutationVariables = Exact<{
|
|
3467
|
+
input?: InputMaybe<CartInput>;
|
|
3468
|
+
}>;
|
|
3469
|
+
type CartCreateMutationResponse = {
|
|
3470
|
+
cartCreate?: Maybe<{
|
|
3471
|
+
cart?: Maybe<Pick<Cart, 'checkoutUrl' | 'createdAt' | 'id' | 'note' | 'updatedAt'> & {
|
|
3472
|
+
attributes: Array<Pick<Attribute, 'key' | 'value'>>;
|
|
3473
|
+
discountCodes: Array<Pick<CartDiscountCode, 'applicable' | 'code'>>;
|
|
3474
|
+
cost: {
|
|
3475
|
+
subtotalAmount: Pick<MoneyV2, 'amount' | 'currencyCode'>;
|
|
3476
|
+
totalAmount: Pick<MoneyV2, 'amount' | 'currencyCode'>;
|
|
3477
|
+
totalDutyAmount?: Maybe<Pick<MoneyV2, 'amount' | 'currencyCode'>>;
|
|
3478
|
+
totalTaxAmount?: Maybe<Pick<MoneyV2, 'amount' | 'currencyCode'>>;
|
|
3479
|
+
};
|
|
3480
|
+
lines: {
|
|
3481
|
+
nodes: Array<Pick<CartLine, 'id' | 'quantity'> & {
|
|
3482
|
+
attributes: Array<Pick<Attribute, 'key' | 'value'>>;
|
|
3483
|
+
merchandise: Pick<ProductVariant, 'id' | 'title' | 'sku' | 'requiresShipping' | 'availableForSale' | 'weight' | 'weightUnit'> & {
|
|
3484
|
+
unitPriceMeasurement?: Maybe<Pick<UnitPriceMeasurement, 'measuredType' | 'quantityUnit' | 'quantityValue'>>;
|
|
3485
|
+
priceV2: Pick<MoneyV2, 'amount' | 'currencyCode'>;
|
|
3486
|
+
compareAtPriceV2?: Maybe<Pick<MoneyV2, 'amount' | 'currencyCode'>>;
|
|
3487
|
+
selectedOptions: Array<Pick<SelectedOption, 'name' | 'value'>>;
|
|
3488
|
+
image?: Maybe<Pick<Image, 'id' | 'altText' | 'url' | 'height' | 'width'>>;
|
|
3489
|
+
product: Pick<Product, 'id' | 'handle' | 'title'>;
|
|
3490
|
+
};
|
|
3491
|
+
}>;
|
|
3492
|
+
pageInfo: Pick<PageInfo, 'endCursor' | 'hasNextPage' | 'hasPreviousPage' | 'startCursor'>;
|
|
3493
|
+
};
|
|
3494
|
+
}>;
|
|
3495
|
+
userErrors: Array<Pick<CartUserError, 'code' | 'field' | 'message'>>;
|
|
3496
|
+
}>;
|
|
3497
|
+
};
|
|
3498
|
+
declare const CartCreateDocument: string;
|
|
3499
|
+
|
|
3500
|
+
type CartDiscountCodesUpdateMutationVariables = Exact<{
|
|
3501
|
+
cartId: Scalars['ID'];
|
|
3502
|
+
discountCodes?: InputMaybe<Array<Scalars['String']> | Scalars['String']>;
|
|
3503
|
+
}>;
|
|
3504
|
+
type CartDiscountCodesUpdateMutationResponse = {
|
|
3505
|
+
cartDiscountCodesUpdate?: Maybe<{
|
|
3506
|
+
cart?: Maybe<Pick<Cart, 'checkoutUrl' | 'createdAt' | 'id' | 'note' | 'updatedAt'> & {
|
|
3507
|
+
attributes: Array<Pick<Attribute, 'key' | 'value'>>;
|
|
3508
|
+
discountCodes: Array<Pick<CartDiscountCode, 'applicable' | 'code'>>;
|
|
3509
|
+
cost: {
|
|
3510
|
+
subtotalAmount: Pick<MoneyV2, 'amount' | 'currencyCode'>;
|
|
3511
|
+
totalAmount: Pick<MoneyV2, 'amount' | 'currencyCode'>;
|
|
3512
|
+
totalDutyAmount?: Maybe<Pick<MoneyV2, 'amount' | 'currencyCode'>>;
|
|
3513
|
+
totalTaxAmount?: Maybe<Pick<MoneyV2, 'amount' | 'currencyCode'>>;
|
|
3514
|
+
};
|
|
3515
|
+
lines: {
|
|
3516
|
+
nodes: Array<Pick<CartLine, 'id' | 'quantity'> & {
|
|
3517
|
+
attributes: Array<Pick<Attribute, 'key' | 'value'>>;
|
|
3518
|
+
merchandise: Pick<ProductVariant, 'id' | 'title' | 'sku' | 'requiresShipping' | 'availableForSale' | 'weight' | 'weightUnit'> & {
|
|
3519
|
+
unitPriceMeasurement?: Maybe<Pick<UnitPriceMeasurement, 'measuredType' | 'quantityUnit' | 'quantityValue'>>;
|
|
3520
|
+
priceV2: Pick<MoneyV2, 'amount' | 'currencyCode'>;
|
|
3521
|
+
compareAtPriceV2?: Maybe<Pick<MoneyV2, 'amount' | 'currencyCode'>>;
|
|
3522
|
+
selectedOptions: Array<Pick<SelectedOption, 'name' | 'value'>>;
|
|
3523
|
+
image?: Maybe<Pick<Image, 'id' | 'altText' | 'url' | 'height' | 'width'>>;
|
|
3524
|
+
product: Pick<Product, 'id' | 'handle' | 'title'>;
|
|
3525
|
+
};
|
|
3526
|
+
}>;
|
|
3527
|
+
pageInfo: Pick<PageInfo, 'endCursor' | 'hasNextPage' | 'hasPreviousPage' | 'startCursor'>;
|
|
3528
|
+
};
|
|
3529
|
+
}>;
|
|
3530
|
+
userErrors: Array<Pick<CartUserError, 'code' | 'field' | 'message'>>;
|
|
3531
|
+
}>;
|
|
3532
|
+
};
|
|
3533
|
+
declare const CartDiscountCodesUpdateDocument: string;
|
|
3534
|
+
|
|
3535
|
+
type CartLinesAddMutationVariables = Exact<{
|
|
3536
|
+
cartId: Scalars['ID'];
|
|
3537
|
+
lines: Array<CartLineInput> | CartLineInput;
|
|
3538
|
+
}>;
|
|
3539
|
+
type CartLinesAddMutationResponse = {
|
|
3540
|
+
cartLinesAdd?: Maybe<{
|
|
3541
|
+
cart?: Maybe<Pick<Cart, 'checkoutUrl' | 'createdAt' | 'id' | 'note' | 'updatedAt'> & {
|
|
3542
|
+
attributes: Array<Pick<Attribute, 'key' | 'value'>>;
|
|
3543
|
+
discountCodes: Array<Pick<CartDiscountCode, 'applicable' | 'code'>>;
|
|
3544
|
+
cost: {
|
|
3545
|
+
subtotalAmount: Pick<MoneyV2, 'amount' | 'currencyCode'>;
|
|
3546
|
+
totalAmount: Pick<MoneyV2, 'amount' | 'currencyCode'>;
|
|
3547
|
+
totalDutyAmount?: Maybe<Pick<MoneyV2, 'amount' | 'currencyCode'>>;
|
|
3548
|
+
totalTaxAmount?: Maybe<Pick<MoneyV2, 'amount' | 'currencyCode'>>;
|
|
3549
|
+
};
|
|
3550
|
+
lines: {
|
|
3551
|
+
nodes: Array<Pick<CartLine, 'id' | 'quantity'> & {
|
|
3552
|
+
attributes: Array<Pick<Attribute, 'key' | 'value'>>;
|
|
3553
|
+
merchandise: Pick<ProductVariant, 'id' | 'title' | 'sku' | 'requiresShipping' | 'availableForSale' | 'weight' | 'weightUnit'> & {
|
|
3554
|
+
unitPriceMeasurement?: Maybe<Pick<UnitPriceMeasurement, 'measuredType' | 'quantityUnit' | 'quantityValue'>>;
|
|
3555
|
+
priceV2: Pick<MoneyV2, 'amount' | 'currencyCode'>;
|
|
3556
|
+
compareAtPriceV2?: Maybe<Pick<MoneyV2, 'amount' | 'currencyCode'>>;
|
|
3557
|
+
selectedOptions: Array<Pick<SelectedOption, 'name' | 'value'>>;
|
|
3558
|
+
image?: Maybe<Pick<Image, 'id' | 'altText' | 'url' | 'height' | 'width'>>;
|
|
3559
|
+
product: Pick<Product, 'id' | 'handle' | 'title'>;
|
|
3560
|
+
};
|
|
3561
|
+
}>;
|
|
3562
|
+
pageInfo: Pick<PageInfo, 'endCursor' | 'hasNextPage' | 'hasPreviousPage' | 'startCursor'>;
|
|
3563
|
+
};
|
|
3564
|
+
}>;
|
|
3565
|
+
userErrors: Array<Pick<CartUserError, 'code' | 'field' | 'message'>>;
|
|
3566
|
+
}>;
|
|
3567
|
+
};
|
|
3568
|
+
declare const CartLinesAddDocument: string;
|
|
3569
|
+
|
|
3570
|
+
type CartLinesRemoveMutationVariables = Exact<{
|
|
3571
|
+
cartId: Scalars['ID'];
|
|
3572
|
+
lineIds: Array<Scalars['ID']> | Scalars['ID'];
|
|
3573
|
+
}>;
|
|
3574
|
+
type CartLinesRemoveMutationResponse = {
|
|
3575
|
+
cartLinesRemove?: Maybe<{
|
|
3576
|
+
cart?: Maybe<Pick<Cart, 'checkoutUrl' | 'createdAt' | 'id' | 'note' | 'updatedAt'> & {
|
|
3577
|
+
attributes: Array<Pick<Attribute, 'key' | 'value'>>;
|
|
3578
|
+
discountCodes: Array<Pick<CartDiscountCode, 'applicable' | 'code'>>;
|
|
3579
|
+
cost: {
|
|
3580
|
+
subtotalAmount: Pick<MoneyV2, 'amount' | 'currencyCode'>;
|
|
3581
|
+
totalAmount: Pick<MoneyV2, 'amount' | 'currencyCode'>;
|
|
3582
|
+
totalDutyAmount?: Maybe<Pick<MoneyV2, 'amount' | 'currencyCode'>>;
|
|
3583
|
+
totalTaxAmount?: Maybe<Pick<MoneyV2, 'amount' | 'currencyCode'>>;
|
|
3584
|
+
};
|
|
3585
|
+
lines: {
|
|
3586
|
+
nodes: Array<Pick<CartLine, 'id' | 'quantity'> & {
|
|
3587
|
+
attributes: Array<Pick<Attribute, 'key' | 'value'>>;
|
|
3588
|
+
merchandise: Pick<ProductVariant, 'id' | 'title' | 'sku' | 'requiresShipping' | 'availableForSale' | 'weight' | 'weightUnit'> & {
|
|
3589
|
+
unitPriceMeasurement?: Maybe<Pick<UnitPriceMeasurement, 'measuredType' | 'quantityUnit' | 'quantityValue'>>;
|
|
3590
|
+
priceV2: Pick<MoneyV2, 'amount' | 'currencyCode'>;
|
|
3591
|
+
compareAtPriceV2?: Maybe<Pick<MoneyV2, 'amount' | 'currencyCode'>>;
|
|
3592
|
+
selectedOptions: Array<Pick<SelectedOption, 'name' | 'value'>>;
|
|
3593
|
+
image?: Maybe<Pick<Image, 'id' | 'altText' | 'url' | 'height' | 'width'>>;
|
|
3594
|
+
product: Pick<Product, 'id' | 'handle' | 'title'>;
|
|
3595
|
+
};
|
|
3596
|
+
}>;
|
|
3597
|
+
pageInfo: Pick<PageInfo, 'endCursor' | 'hasNextPage' | 'hasPreviousPage' | 'startCursor'>;
|
|
3598
|
+
};
|
|
3599
|
+
}>;
|
|
3600
|
+
userErrors: Array<Pick<CartUserError, 'code' | 'field' | 'message'>>;
|
|
3601
|
+
}>;
|
|
3602
|
+
};
|
|
3603
|
+
declare const CartLinesRemoveDocument: string;
|
|
3604
|
+
|
|
3605
|
+
type CartLinesUpdateMutationVariables = Exact<{
|
|
3606
|
+
cartId: Scalars['ID'];
|
|
3607
|
+
lines: Array<CartLineUpdateInput> | CartLineUpdateInput;
|
|
3608
|
+
}>;
|
|
3609
|
+
type CartLinesUpdateMutationResponse = {
|
|
3610
|
+
cartLinesUpdate?: Maybe<{
|
|
3611
|
+
cart?: Maybe<Pick<Cart, 'checkoutUrl' | 'createdAt' | 'id' | 'note' | 'updatedAt'> & {
|
|
3612
|
+
attributes: Array<Pick<Attribute, 'key' | 'value'>>;
|
|
3613
|
+
discountCodes: Array<Pick<CartDiscountCode, 'applicable' | 'code'>>;
|
|
3614
|
+
cost: {
|
|
3615
|
+
subtotalAmount: Pick<MoneyV2, 'amount' | 'currencyCode'>;
|
|
3616
|
+
totalAmount: Pick<MoneyV2, 'amount' | 'currencyCode'>;
|
|
3617
|
+
totalDutyAmount?: Maybe<Pick<MoneyV2, 'amount' | 'currencyCode'>>;
|
|
3618
|
+
totalTaxAmount?: Maybe<Pick<MoneyV2, 'amount' | 'currencyCode'>>;
|
|
3619
|
+
};
|
|
3620
|
+
lines: {
|
|
3621
|
+
nodes: Array<Pick<CartLine, 'id' | 'quantity'> & {
|
|
3622
|
+
attributes: Array<Pick<Attribute, 'key' | 'value'>>;
|
|
3623
|
+
merchandise: Pick<ProductVariant, 'id' | 'title' | 'sku' | 'requiresShipping' | 'availableForSale' | 'weight' | 'weightUnit'> & {
|
|
3624
|
+
unitPriceMeasurement?: Maybe<Pick<UnitPriceMeasurement, 'measuredType' | 'quantityUnit' | 'quantityValue'>>;
|
|
3625
|
+
priceV2: Pick<MoneyV2, 'amount' | 'currencyCode'>;
|
|
3626
|
+
compareAtPriceV2?: Maybe<Pick<MoneyV2, 'amount' | 'currencyCode'>>;
|
|
3627
|
+
selectedOptions: Array<Pick<SelectedOption, 'name' | 'value'>>;
|
|
3628
|
+
image?: Maybe<Pick<Image, 'id' | 'altText' | 'url' | 'height' | 'width'>>;
|
|
3629
|
+
product: Pick<Product, 'id' | 'handle' | 'title'>;
|
|
3630
|
+
};
|
|
3631
|
+
}>;
|
|
3632
|
+
pageInfo: Pick<PageInfo, 'endCursor' | 'hasNextPage' | 'hasPreviousPage' | 'startCursor'>;
|
|
3633
|
+
};
|
|
3634
|
+
}>;
|
|
3635
|
+
userErrors: Array<Pick<CartUserError, 'code' | 'field' | 'message'>>;
|
|
3636
|
+
}>;
|
|
3637
|
+
};
|
|
3638
|
+
declare const CartLinesUpdateDocument: string;
|
|
3639
|
+
|
|
3640
|
+
type CartNoteUpdateMutationVariables = Exact<{
|
|
3641
|
+
cartId: Scalars['ID'];
|
|
3642
|
+
note?: InputMaybe<Scalars['String']>;
|
|
3643
|
+
}>;
|
|
3644
|
+
type CartNoteUpdateMutationResponse = {
|
|
3645
|
+
cartNoteUpdate?: Maybe<{
|
|
3646
|
+
cart?: Maybe<Pick<Cart, 'checkoutUrl' | 'createdAt' | 'id' | 'note' | 'updatedAt'> & {
|
|
3647
|
+
attributes: Array<Pick<Attribute, 'key' | 'value'>>;
|
|
3648
|
+
discountCodes: Array<Pick<CartDiscountCode, 'applicable' | 'code'>>;
|
|
3649
|
+
cost: {
|
|
3650
|
+
subtotalAmount: Pick<MoneyV2, 'amount' | 'currencyCode'>;
|
|
3651
|
+
totalAmount: Pick<MoneyV2, 'amount' | 'currencyCode'>;
|
|
3652
|
+
totalDutyAmount?: Maybe<Pick<MoneyV2, 'amount' | 'currencyCode'>>;
|
|
3653
|
+
totalTaxAmount?: Maybe<Pick<MoneyV2, 'amount' | 'currencyCode'>>;
|
|
3654
|
+
};
|
|
3655
|
+
lines: {
|
|
3656
|
+
nodes: Array<Pick<CartLine, 'id' | 'quantity'> & {
|
|
3657
|
+
attributes: Array<Pick<Attribute, 'key' | 'value'>>;
|
|
3658
|
+
merchandise: Pick<ProductVariant, 'id' | 'title' | 'sku' | 'requiresShipping' | 'availableForSale' | 'weight' | 'weightUnit'> & {
|
|
3659
|
+
unitPriceMeasurement?: Maybe<Pick<UnitPriceMeasurement, 'measuredType' | 'quantityUnit' | 'quantityValue'>>;
|
|
3660
|
+
priceV2: Pick<MoneyV2, 'amount' | 'currencyCode'>;
|
|
3661
|
+
compareAtPriceV2?: Maybe<Pick<MoneyV2, 'amount' | 'currencyCode'>>;
|
|
3662
|
+
selectedOptions: Array<Pick<SelectedOption, 'name' | 'value'>>;
|
|
3663
|
+
image?: Maybe<Pick<Image, 'id' | 'altText' | 'url' | 'height' | 'width'>>;
|
|
3664
|
+
product: Pick<Product, 'id' | 'handle' | 'title'>;
|
|
3665
|
+
};
|
|
3666
|
+
}>;
|
|
3667
|
+
pageInfo: Pick<PageInfo, 'endCursor' | 'hasNextPage' | 'hasPreviousPage' | 'startCursor'>;
|
|
3668
|
+
};
|
|
3669
|
+
}>;
|
|
3670
|
+
userErrors: Array<Pick<CartUserError, 'code' | 'field' | 'message'>>;
|
|
3671
|
+
}>;
|
|
3672
|
+
};
|
|
3673
|
+
declare const CartNoteUpdateDocument: string;
|
|
3674
|
+
|
|
3675
|
+
type GraphQLResponse<T> = {
|
|
3676
|
+
data?: T;
|
|
3677
|
+
errors?: {
|
|
3678
|
+
message?: string;
|
|
3679
|
+
locations?: {
|
|
3680
|
+
line: number;
|
|
3681
|
+
column: number;
|
|
3682
|
+
}[];
|
|
3683
|
+
}[];
|
|
3684
|
+
};
|
|
3685
|
+
|
|
3686
|
+
export { CartCreateDocument, CartCreateMutationResponse, CartCreateMutationVariables, CartDiscountCodesUpdateDocument, CartDiscountCodesUpdateMutationResponse, CartDiscountCodesUpdateMutationVariables, CartLinesAddDocument, CartLinesAddMutationResponse, CartLinesAddMutationVariables, CartLinesRemoveDocument, CartLinesRemoveMutationResponse, CartLinesRemoveMutationVariables, CartLinesUpdateDocument, CartLinesUpdateMutationResponse, CartLinesUpdateMutationVariables, CartNoteUpdateDocument, CartNoteUpdateMutationResponse, CartNoteUpdateMutationVariables, GraphQLResponse, ProductDocument, ProductQueryResponse, ProductQueryVariables, ShopMetaDocument, ShopMetaQueryResponse, ShopMetaQueryVariables, addToCartOperation, cartDiscountCodesUpdateOperation, cartNoteUpdateOperation, createCartOperation, getCartOperation, removeCartItemOperation, updateCartLineOperation };
|