@shopify/hydrogen 2025.4.1 → 2025.7.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/dist/customer-account-api-types.d.ts +986 -279
- package/dist/customer-account.schema.json +1 -1
- package/dist/{vite/chunk-4M54JKYX.js → dev/get-virtual-routes-KWSSQH4L.js} +18 -10
- package/dist/dev/hydrogen-routes.d.ts +1 -1
- package/dist/dev/hydrogen-routes.js +3 -56
- package/dist/development/get-virtual-routes-6PVSMJPH.js +100 -0
- package/dist/development/get-virtual-routes-6PVSMJPH.js.map +1 -0
- package/dist/development/index.cjs +550 -237
- package/dist/development/index.cjs.map +1 -1
- package/dist/development/index.js +415 -218
- package/dist/development/index.js.map +1 -1
- package/dist/development/log-seo-tags-IG37ONQ2.js.map +1 -1
- package/dist/development/react-router-preset.d.ts +45 -0
- package/dist/development/react-router-preset.js +49 -0
- package/dist/development/react-router-preset.js.map +1 -0
- package/dist/oxygen/chunk-RVXKHOUX.js +39 -0
- package/dist/oxygen/chunk-T4YWBSCF.js +14 -0
- package/dist/oxygen/createRequestHandler.d.ts +10 -0
- package/dist/oxygen/createRequestHandler.js +6 -0
- package/dist/oxygen/getStorefrontHeaders-BqPh5S1b.d.ts +69 -0
- package/dist/oxygen/getStorefrontHeaders.d.ts +1 -0
- package/dist/oxygen/getStorefrontHeaders.js +6 -0
- package/dist/oxygen/index.d.ts +3 -0
- package/dist/oxygen/index.js +10 -0
- package/dist/production/get-virtual-routes-JVKSNI4M.js +3 -0
- package/dist/production/get-virtual-routes-JVKSNI4M.js.map +1 -0
- package/dist/production/index.cjs +314 -219
- package/dist/production/index.cjs.map +1 -1
- package/dist/production/index.d.cts +816 -706
- package/dist/production/index.d.ts +816 -706
- package/dist/production/index.js +304 -209
- package/dist/production/index.js.map +1 -1
- package/dist/production/log-seo-tags-TY72EQWZ.js.map +1 -1
- package/dist/production/react-router-preset.d.ts +45 -0
- package/dist/production/react-router-preset.js +11 -0
- package/dist/react-router.d.ts +65 -0
- package/dist/storefront-api-types.d.ts +143 -8
- package/dist/storefront.schema.json +1 -1
- package/dist/vite/{chunk-BPCIIDBG.js → chunk-MDCIB6DS.js} +4 -4
- package/dist/vite/{chunk-EEY4YHH6.js → chunk-ZSWP2RO7.js} +2 -2
- package/dist/vite/get-virtual-routes.js +95 -10
- package/dist/vite/hydrogen-middleware.js +2 -2
- package/dist/vite/plugin.d.ts +2 -28
- package/dist/vite/plugin.js +34 -48
- package/dist/vite/request-events.js +1 -1
- package/dist/vite/virtual-routes/components/RequestDetails.jsx +14 -21
- package/dist/vite/virtual-routes/layout.jsx +1 -7
- package/dist/vite/virtual-routes/routes/[.]well-known.appspecific.com[.]chrome[.]devtools[.]json.jsx +37 -0
- package/dist/vite/virtual-routes/routes/[.]well-known.appspecific.com[.]chrome[.]devtools[.]json.tsx +79 -0
- package/dist/vite/virtual-routes/routes/index.jsx +1 -1
- package/dist/vite/virtual-routes/routes/subrequest-profiler.jsx +1 -1
- package/dist/vite/virtual-routes/virtual-root-with-layout.jsx +1 -1
- package/dist/vite/virtual-routes/virtual-root.jsx +1 -1
- package/package.json +27 -12
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE IS AUTO-GENERATED, DO NOT EDIT
|
|
3
|
-
* Based on Customer Account API 2025-
|
|
3
|
+
* Based on Customer Account API 2025-07
|
|
4
4
|
* If changes need to happen to the types defined in this file, then generally the Storefront API needs to update. After it's updated, you can run `npm run graphql-types`.
|
|
5
5
|
* Except custom Scalars, which are defined in the `codegen.ts` file
|
|
6
6
|
*/
|
|
@@ -217,10 +217,18 @@ export type AppliedGiftCard = Node & {
|
|
|
217
217
|
presentmentAmountUsed: MoneyV2;
|
|
218
218
|
};
|
|
219
219
|
|
|
220
|
-
/**
|
|
220
|
+
/**
|
|
221
|
+
* A custom property. Attributes are used to store additional information about a Shopify resource, such as
|
|
222
|
+
* products, customers, or orders. Attributes are stored as key-value pairs.
|
|
223
|
+
*
|
|
224
|
+
* For example, a list of attributes might include whether a customer is a first-time buyer (`"customer_first_order": "true"`),
|
|
225
|
+
* whether an order is gift-wrapped (`"gift_wrapped": "true"`), a preferred delivery date
|
|
226
|
+
* (`"preferred_delivery_date": "2025-10-01"`), the discount applied (`"loyalty_discount_applied": "10%"`), and any
|
|
227
|
+
* notes provided by the customer (`"customer_notes": "Please leave at the front door"`).
|
|
228
|
+
*/
|
|
221
229
|
export type Attribute = {
|
|
222
230
|
__typename?: 'Attribute';
|
|
223
|
-
/** The key or name of the attribute. For example, `"
|
|
231
|
+
/** The key or name of the attribute. For example, `"customer_first_order"`. */
|
|
224
232
|
key: Scalars['String']['output'];
|
|
225
233
|
/** The value of the attribute. For example, `"true"`. */
|
|
226
234
|
value?: Maybe<Scalars['String']['output']>;
|
|
@@ -364,6 +372,73 @@ export type BuyerExperienceConfiguration = {
|
|
|
364
372
|
paymentTermsTemplate?: Maybe<PaymentTermsTemplate>;
|
|
365
373
|
};
|
|
366
374
|
|
|
375
|
+
/** The input fields to calculate return amounts associated with an order. */
|
|
376
|
+
export type CalculateReturnInput = {
|
|
377
|
+
/** The ID of the order that will be returned. */
|
|
378
|
+
orderId: Scalars['ID']['input'];
|
|
379
|
+
/** The line items from the order to include in the return. */
|
|
380
|
+
returnLineItems: Array<CalculateReturnLineItemInput>;
|
|
381
|
+
};
|
|
382
|
+
|
|
383
|
+
/** The input fields for return line items on a calculated return. */
|
|
384
|
+
export type CalculateReturnLineItemInput = {
|
|
385
|
+
/** The ID of the line item to be returned. */
|
|
386
|
+
lineItemId: Scalars['ID']['input'];
|
|
387
|
+
/** The quantity of the item to be returned.Quantity can't exceed the line item's fulfilled quantity. */
|
|
388
|
+
quantity: Scalars['Int']['input'];
|
|
389
|
+
};
|
|
390
|
+
|
|
391
|
+
/** The calculated financial outcome of a return based on the line items requested for return.Includes the monetary values of the line items, along with applicable taxes, discounts, and otherfees on the order. Financial summary may include return fees depending onthe [return rules](https://help.shopify.com/manual/fulfillment/managing-orders/returns/return-rules)at the time the order was placed. */
|
|
392
|
+
export type CalculatedReturn = {
|
|
393
|
+
__typename?: 'CalculatedReturn';
|
|
394
|
+
/** A breakdown of the monetary values for the calculated return. */
|
|
395
|
+
financialSummary: ReturnFinancialSummary;
|
|
396
|
+
/** A list of line items being processed for a return. */
|
|
397
|
+
returnLineItems: CalculatedReturnLineItemConnection;
|
|
398
|
+
};
|
|
399
|
+
|
|
400
|
+
/** The calculated financial outcome of a return based on the line items requested for return.Includes the monetary values of the line items, along with applicable taxes, discounts, and otherfees on the order. Financial summary may include return fees depending onthe [return rules](https://help.shopify.com/manual/fulfillment/managing-orders/returns/return-rules)at the time the order was placed. */
|
|
401
|
+
export type CalculatedReturnReturnLineItemsArgs = {
|
|
402
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
403
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
|
404
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
405
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
406
|
+
reverse?: InputMaybe<Scalars['Boolean']['input']>;
|
|
407
|
+
};
|
|
408
|
+
|
|
409
|
+
/** The line item being processed for a return and its calculated monetary values. */
|
|
410
|
+
export type CalculatedReturnLineItem = {
|
|
411
|
+
__typename?: 'CalculatedReturnLineItem';
|
|
412
|
+
/** The line item being processed for a return. */
|
|
413
|
+
lineItem: LineItem;
|
|
414
|
+
/** The quantity being returned. */
|
|
415
|
+
quantity: Scalars['Int']['output'];
|
|
416
|
+
/** The subtotal of the return line item. */
|
|
417
|
+
subtotalSet: MoneyBag;
|
|
418
|
+
/** The total tax of the return line item. */
|
|
419
|
+
totalTaxSet: MoneyBag;
|
|
420
|
+
};
|
|
421
|
+
|
|
422
|
+
/** An auto-generated type for paginating through multiple CalculatedReturnLineItems. */
|
|
423
|
+
export type CalculatedReturnLineItemConnection = {
|
|
424
|
+
__typename?: 'CalculatedReturnLineItemConnection';
|
|
425
|
+
/** The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. */
|
|
426
|
+
edges: Array<CalculatedReturnLineItemEdge>;
|
|
427
|
+
/** A list of nodes that are contained in CalculatedReturnLineItemEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. */
|
|
428
|
+
nodes: Array<CalculatedReturnLineItem>;
|
|
429
|
+
/** An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. */
|
|
430
|
+
pageInfo: PageInfo;
|
|
431
|
+
};
|
|
432
|
+
|
|
433
|
+
/** An auto-generated type which holds one CalculatedReturnLineItem and a cursor during pagination. */
|
|
434
|
+
export type CalculatedReturnLineItemEdge = {
|
|
435
|
+
__typename?: 'CalculatedReturnLineItemEdge';
|
|
436
|
+
/** The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). */
|
|
437
|
+
cursor: Scalars['String']['output'];
|
|
438
|
+
/** The item at the end of CalculatedReturnLineItemEdge. */
|
|
439
|
+
node: CalculatedReturnLineItem;
|
|
440
|
+
};
|
|
441
|
+
|
|
367
442
|
/** The card payment details related to a transaction. */
|
|
368
443
|
export type CardPaymentDetails = {
|
|
369
444
|
__typename?: 'CardPaymentDetails';
|
|
@@ -422,11 +497,6 @@ export type Checkout = Node & {
|
|
|
422
497
|
shippingDiscountAllocations: Array<DiscountAllocation>;
|
|
423
498
|
/** The selected shipping rate, transitioned to a `shipping_line` object. */
|
|
424
499
|
shippingLine?: Maybe<ShippingRate>;
|
|
425
|
-
/**
|
|
426
|
-
* The configuration values used to initialize a Shop Pay checkout.
|
|
427
|
-
* @deprecated This field is deprecated and will be removed in the future.
|
|
428
|
-
*/
|
|
429
|
-
shopPayConfiguration?: Maybe<ShopPayConfiguration>;
|
|
430
500
|
/** The price at checkout before duties, shipping, and taxes. */
|
|
431
501
|
subtotalPrice: MoneyV2;
|
|
432
502
|
/** Whether the checkout is tax exempt. */
|
|
@@ -818,11 +888,6 @@ export type CompanyContactRoleAssignmentSortKeys =
|
|
|
818
888
|
| 'ID'
|
|
819
889
|
/** Sort by the `location_name` value. */
|
|
820
890
|
| 'LOCATION_NAME'
|
|
821
|
-
/**
|
|
822
|
-
* Sort by relevance to the search terms when the `query` parameter is specified on the connection.
|
|
823
|
-
* Don't use this sort key when no search query is specified.
|
|
824
|
-
*/
|
|
825
|
-
| 'RELEVANCE'
|
|
826
891
|
/** Sort by the `updated_at` value. */
|
|
827
892
|
| 'UPDATED_AT';
|
|
828
893
|
|
|
@@ -859,6 +924,7 @@ export type CompanyContactStatusType =
|
|
|
859
924
|
|
|
860
925
|
/** Represents a company's business location. */
|
|
861
926
|
export type CompanyLocation = HasMetafields &
|
|
927
|
+
HasStoreCreditAccounts &
|
|
862
928
|
Node & {
|
|
863
929
|
__typename?: 'CompanyLocation';
|
|
864
930
|
/** The billing address of the company location. */
|
|
@@ -877,7 +943,10 @@ export type CompanyLocation = HasMetafields &
|
|
|
877
943
|
externalId?: Maybe<Scalars['String']['output']>;
|
|
878
944
|
/** A globally-unique ID. */
|
|
879
945
|
id: Scalars['ID']['output'];
|
|
880
|
-
/**
|
|
946
|
+
/**
|
|
947
|
+
* The market that includes the location's shipping address. If the shipping address is empty, the shop's primary market is returned.
|
|
948
|
+
* @deprecated This `market` field will be removed in a future version of the API.
|
|
949
|
+
*/
|
|
881
950
|
market: Market;
|
|
882
951
|
/** A metafield found by namespace and key. */
|
|
883
952
|
metafield?: Maybe<Metafield>;
|
|
@@ -894,6 +963,8 @@ export type CompanyLocation = HasMetafields &
|
|
|
894
963
|
roleAssignments: CompanyContactRoleAssignmentConnection;
|
|
895
964
|
/** The shipping address of the company location. */
|
|
896
965
|
shippingAddress?: Maybe<CompanyAddress>;
|
|
966
|
+
/** A list of the owner resource's store credit accounts. Store credit accounts are not shown for shops with store credit disabled at checkout. */
|
|
967
|
+
storeCreditAccounts: StoreCreditAccountConnection;
|
|
897
968
|
/** The list of tax exemptions applied to the location. */
|
|
898
969
|
taxExemptions: Array<TaxExemption>;
|
|
899
970
|
/** The list of tax exemptions applied to the location with additional details. */
|
|
@@ -971,6 +1042,15 @@ export type CompanyLocationRoleAssignmentsArgs = {
|
|
|
971
1042
|
sortKey?: InputMaybe<CompanyContactRoleAssignmentSortKeys>;
|
|
972
1043
|
};
|
|
973
1044
|
|
|
1045
|
+
/** Represents a company's business location. */
|
|
1046
|
+
export type CompanyLocationStoreCreditAccountsArgs = {
|
|
1047
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
1048
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
|
1049
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
1050
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
1051
|
+
query?: InputMaybe<Scalars['String']['input']>;
|
|
1052
|
+
};
|
|
1053
|
+
|
|
974
1054
|
/** Return type for `companyLocationAssignAddress` mutation. */
|
|
975
1055
|
export type CompanyLocationAssignAddressPayload = {
|
|
976
1056
|
__typename?: 'CompanyLocationAssignAddressPayload';
|
|
@@ -1044,7 +1124,7 @@ export type Count = {
|
|
|
1044
1124
|
export type CountPrecision =
|
|
1045
1125
|
/** The count is at least the value. A limit was imposed and reached. */
|
|
1046
1126
|
| 'AT_LEAST'
|
|
1047
|
-
/** The count is exactly the value. */
|
|
1127
|
+
/** The count is exactly the value. A write may not be reflected instantaneously. */
|
|
1048
1128
|
| 'EXACT';
|
|
1049
1129
|
|
|
1050
1130
|
/**
|
|
@@ -1583,8 +1663,9 @@ export type CropRegion =
|
|
|
1583
1663
|
| 'TOP';
|
|
1584
1664
|
|
|
1585
1665
|
/**
|
|
1586
|
-
* The
|
|
1587
|
-
*
|
|
1666
|
+
* The currency codes that represent the world currencies throughout the Admin API. Currency codes include
|
|
1667
|
+
* [standard ISO 4217 codes](https://en.wikipedia.org/wiki/ISO_4217), legacy codes, non-standard codes,
|
|
1668
|
+
* digital currency codes.
|
|
1588
1669
|
*/
|
|
1589
1670
|
export type CurrencyCode =
|
|
1590
1671
|
/** United Arab Emirates Dirham (AED). */
|
|
@@ -1877,6 +1958,8 @@ export type CurrencyCode =
|
|
|
1877
1958
|
| 'UGX'
|
|
1878
1959
|
/** United States Dollars (USD). */
|
|
1879
1960
|
| 'USD'
|
|
1961
|
+
/** United States Dollars Coin (USDC). */
|
|
1962
|
+
| 'USDC'
|
|
1880
1963
|
/** Uruguayan Pesos (UYU). */
|
|
1881
1964
|
| 'UYU'
|
|
1882
1965
|
/** Uzbekistan som (UZS). */
|
|
@@ -1964,7 +2047,7 @@ export type Customer = HasMetafields &
|
|
|
1964
2047
|
return?: Maybe<Return>;
|
|
1965
2048
|
/** A list of the owner resource's store credit accounts. Store credit accounts are not shown for shops with store credit disabled at checkout. */
|
|
1966
2049
|
storeCreditAccounts: StoreCreditAccountConnection;
|
|
1967
|
-
/**
|
|
2050
|
+
/** Returns a `SubscriptionContract` resource by ID. */
|
|
1968
2051
|
subscriptionContract?: Maybe<SubscriptionContract>;
|
|
1969
2052
|
/** The Subscription Contracts associated with the customer. */
|
|
1970
2053
|
subscriptionContracts: SubscriptionContractConnection;
|
|
@@ -2615,6 +2698,22 @@ export type DiscountCodeApplication = DiscountApplication & {
|
|
|
2615
2698
|
value: PricingValue;
|
|
2616
2699
|
};
|
|
2617
2700
|
|
|
2701
|
+
/** The type of line (line item or shipping line) on an order that the subscription discount is applicable towards. */
|
|
2702
|
+
export type DiscountTargetType =
|
|
2703
|
+
/** The discount applies onto line items. */
|
|
2704
|
+
| 'LINE_ITEM'
|
|
2705
|
+
/** The discount applies onto shipping lines. */
|
|
2706
|
+
| 'SHIPPING_LINE';
|
|
2707
|
+
|
|
2708
|
+
/** The type of the subscription discount. */
|
|
2709
|
+
export type DiscountType =
|
|
2710
|
+
/** Automatic discount type. */
|
|
2711
|
+
| 'AUTOMATIC_DISCOUNT'
|
|
2712
|
+
/** Code discount type. */
|
|
2713
|
+
| 'CODE_DISCOUNT'
|
|
2714
|
+
/** Manual discount type. */
|
|
2715
|
+
| 'MANUAL';
|
|
2716
|
+
|
|
2618
2717
|
/** Represents an error in the input of a mutation. */
|
|
2619
2718
|
export type DisplayableError = {
|
|
2620
2719
|
/** The path to the input field that caused the error. */
|
|
@@ -2946,6 +3045,49 @@ export type EmailMarketingState =
|
|
|
2946
3045
|
/** The customer is not currently subscribed to email marketing but was previously subscribed. */
|
|
2947
3046
|
| 'UNSUBSCRIBED';
|
|
2948
3047
|
|
|
3048
|
+
/** An item for exchange. */
|
|
3049
|
+
export type ExchangeLineItem = Node & {
|
|
3050
|
+
__typename?: 'ExchangeLineItem';
|
|
3051
|
+
/** A globally-unique ID. */
|
|
3052
|
+
id: Scalars['ID']['output'];
|
|
3053
|
+
/** The image associated to the line item's variant. */
|
|
3054
|
+
image?: Maybe<Image>;
|
|
3055
|
+
/** Whether the product has only a single variant with the default option and value. */
|
|
3056
|
+
productHasOnlyDefaultVariant?: Maybe<Scalars['Boolean']['output']>;
|
|
3057
|
+
/** The ID of the product at time of refund creation. */
|
|
3058
|
+
productId?: Maybe<Scalars['ID']['output']>;
|
|
3059
|
+
/** The number of variant items ordered. */
|
|
3060
|
+
quantity: Scalars['Int']['output'];
|
|
3061
|
+
/** The title of the product at time of order creation. */
|
|
3062
|
+
title?: Maybe<Scalars['String']['output']>;
|
|
3063
|
+
/** The ID of the variant at time of refund creation. */
|
|
3064
|
+
variantId?: Maybe<Scalars['ID']['output']>;
|
|
3065
|
+
/** The variant SKU number. */
|
|
3066
|
+
variantSku?: Maybe<Scalars['String']['output']>;
|
|
3067
|
+
/** The title of the variant at time of refund creation. */
|
|
3068
|
+
variantTitle?: Maybe<Scalars['String']['output']>;
|
|
3069
|
+
};
|
|
3070
|
+
|
|
3071
|
+
/** An auto-generated type for paginating through multiple ExchangeLineItems. */
|
|
3072
|
+
export type ExchangeLineItemConnection = {
|
|
3073
|
+
__typename?: 'ExchangeLineItemConnection';
|
|
3074
|
+
/** The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. */
|
|
3075
|
+
edges: Array<ExchangeLineItemEdge>;
|
|
3076
|
+
/** A list of nodes that are contained in ExchangeLineItemEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. */
|
|
3077
|
+
nodes: Array<ExchangeLineItem>;
|
|
3078
|
+
/** An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. */
|
|
3079
|
+
pageInfo: PageInfo;
|
|
3080
|
+
};
|
|
3081
|
+
|
|
3082
|
+
/** An auto-generated type which holds one ExchangeLineItem and a cursor during pagination. */
|
|
3083
|
+
export type ExchangeLineItemEdge = {
|
|
3084
|
+
__typename?: 'ExchangeLineItemEdge';
|
|
3085
|
+
/** The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). */
|
|
3086
|
+
cursor: Scalars['String']['output'];
|
|
3087
|
+
/** The item at the end of ExchangeLineItemEdge. */
|
|
3088
|
+
node: ExchangeLineItem;
|
|
3089
|
+
};
|
|
3090
|
+
|
|
2949
3091
|
/** Tokens used by ui extensions to query various APIs. */
|
|
2950
3092
|
export type ExtensionApiTokens = {
|
|
2951
3093
|
__typename?: 'ExtensionApiTokens';
|
|
@@ -3091,12 +3233,7 @@ export type FulfillmentEventSortKeys =
|
|
|
3091
3233
|
/** Sort by the `happened_at` value. */
|
|
3092
3234
|
| 'HAPPENED_AT'
|
|
3093
3235
|
/** Sort by the `id` value. */
|
|
3094
|
-
| 'ID'
|
|
3095
|
-
/**
|
|
3096
|
-
* Sort by relevance to the search terms when the `query` parameter is specified on the connection.
|
|
3097
|
-
* Don't use this sort key when no search query is specified.
|
|
3098
|
-
*/
|
|
3099
|
-
| 'RELEVANCE';
|
|
3236
|
+
| 'ID';
|
|
3100
3237
|
|
|
3101
3238
|
/** The status of a fulfillment event. */
|
|
3102
3239
|
export type FulfillmentEventStatus =
|
|
@@ -3161,12 +3298,7 @@ export type FulfillmentSortKeys =
|
|
|
3161
3298
|
/** Sort by the `created_at` value. */
|
|
3162
3299
|
| 'CREATED_AT'
|
|
3163
3300
|
/** Sort by the `id` value. */
|
|
3164
|
-
| 'ID'
|
|
3165
|
-
/**
|
|
3166
|
-
* Sort by relevance to the search terms when the `query` parameter is specified on the connection.
|
|
3167
|
-
* Don't use this sort key when no search query is specified.
|
|
3168
|
-
*/
|
|
3169
|
-
| 'RELEVANCE';
|
|
3301
|
+
| 'ID';
|
|
3170
3302
|
|
|
3171
3303
|
/** The status of a fulfillment. */
|
|
3172
3304
|
export type FulfillmentStatus =
|
|
@@ -3359,6 +3491,12 @@ export type Image = {
|
|
|
3359
3491
|
* @deprecated Use `url` instead.
|
|
3360
3492
|
*/
|
|
3361
3493
|
src: Scalars['URL']['output'];
|
|
3494
|
+
/**
|
|
3495
|
+
* The ThumbHash of the image.
|
|
3496
|
+
*
|
|
3497
|
+
* Useful to display placeholder images while the original image is loading.
|
|
3498
|
+
*/
|
|
3499
|
+
thumbhash?: Maybe<Scalars['String']['output']>;
|
|
3362
3500
|
/**
|
|
3363
3501
|
* The location of the transformed image as a URL.
|
|
3364
3502
|
*
|
|
@@ -3397,6 +3535,8 @@ export type ImageUrlArgs = {
|
|
|
3397
3535
|
|
|
3398
3536
|
/** List of supported image content types. */
|
|
3399
3537
|
export type ImageContentType =
|
|
3538
|
+
/** A BMP image. */
|
|
3539
|
+
| 'BMP'
|
|
3400
3540
|
/** A JPG image. */
|
|
3401
3541
|
| 'JPG'
|
|
3402
3542
|
/** A PNG image. */
|
|
@@ -3431,6 +3571,291 @@ export type ImageTransformInput = {
|
|
|
3431
3571
|
scale?: InputMaybe<Scalars['Int']['input']>;
|
|
3432
3572
|
};
|
|
3433
3573
|
|
|
3574
|
+
/** Language codes supported by Shopify. */
|
|
3575
|
+
export type LanguageCode =
|
|
3576
|
+
/** Afrikaans. */
|
|
3577
|
+
| 'AF'
|
|
3578
|
+
/** Akan. */
|
|
3579
|
+
| 'AK'
|
|
3580
|
+
/** Amharic. */
|
|
3581
|
+
| 'AM'
|
|
3582
|
+
/** Arabic. */
|
|
3583
|
+
| 'AR'
|
|
3584
|
+
/** Assamese. */
|
|
3585
|
+
| 'AS'
|
|
3586
|
+
/** Azerbaijani. */
|
|
3587
|
+
| 'AZ'
|
|
3588
|
+
/** Belarusian. */
|
|
3589
|
+
| 'BE'
|
|
3590
|
+
/** Bulgarian. */
|
|
3591
|
+
| 'BG'
|
|
3592
|
+
/** Bambara. */
|
|
3593
|
+
| 'BM'
|
|
3594
|
+
/** Bangla. */
|
|
3595
|
+
| 'BN'
|
|
3596
|
+
/** Tibetan. */
|
|
3597
|
+
| 'BO'
|
|
3598
|
+
/** Breton. */
|
|
3599
|
+
| 'BR'
|
|
3600
|
+
/** Bosnian. */
|
|
3601
|
+
| 'BS'
|
|
3602
|
+
/** Catalan. */
|
|
3603
|
+
| 'CA'
|
|
3604
|
+
/** Chechen. */
|
|
3605
|
+
| 'CE'
|
|
3606
|
+
/** Central Kurdish. */
|
|
3607
|
+
| 'CKB'
|
|
3608
|
+
/** Czech. */
|
|
3609
|
+
| 'CS'
|
|
3610
|
+
/** Church Slavic. */
|
|
3611
|
+
| 'CU'
|
|
3612
|
+
/** Welsh. */
|
|
3613
|
+
| 'CY'
|
|
3614
|
+
/** Danish. */
|
|
3615
|
+
| 'DA'
|
|
3616
|
+
/** German. */
|
|
3617
|
+
| 'DE'
|
|
3618
|
+
/** Dzongkha. */
|
|
3619
|
+
| 'DZ'
|
|
3620
|
+
/** Ewe. */
|
|
3621
|
+
| 'EE'
|
|
3622
|
+
/** Greek. */
|
|
3623
|
+
| 'EL'
|
|
3624
|
+
/** English. */
|
|
3625
|
+
| 'EN'
|
|
3626
|
+
/** Esperanto. */
|
|
3627
|
+
| 'EO'
|
|
3628
|
+
/** Spanish. */
|
|
3629
|
+
| 'ES'
|
|
3630
|
+
/** Estonian. */
|
|
3631
|
+
| 'ET'
|
|
3632
|
+
/** Basque. */
|
|
3633
|
+
| 'EU'
|
|
3634
|
+
/** Persian. */
|
|
3635
|
+
| 'FA'
|
|
3636
|
+
/** Fulah. */
|
|
3637
|
+
| 'FF'
|
|
3638
|
+
/** Finnish. */
|
|
3639
|
+
| 'FI'
|
|
3640
|
+
/** Filipino. */
|
|
3641
|
+
| 'FIL'
|
|
3642
|
+
/** Faroese. */
|
|
3643
|
+
| 'FO'
|
|
3644
|
+
/** French. */
|
|
3645
|
+
| 'FR'
|
|
3646
|
+
/** Western Frisian. */
|
|
3647
|
+
| 'FY'
|
|
3648
|
+
/** Irish. */
|
|
3649
|
+
| 'GA'
|
|
3650
|
+
/** Scottish Gaelic. */
|
|
3651
|
+
| 'GD'
|
|
3652
|
+
/** Galician. */
|
|
3653
|
+
| 'GL'
|
|
3654
|
+
/** Gujarati. */
|
|
3655
|
+
| 'GU'
|
|
3656
|
+
/** Manx. */
|
|
3657
|
+
| 'GV'
|
|
3658
|
+
/** Hausa. */
|
|
3659
|
+
| 'HA'
|
|
3660
|
+
/** Hebrew. */
|
|
3661
|
+
| 'HE'
|
|
3662
|
+
/** Hindi. */
|
|
3663
|
+
| 'HI'
|
|
3664
|
+
/** Croatian. */
|
|
3665
|
+
| 'HR'
|
|
3666
|
+
/** Hungarian. */
|
|
3667
|
+
| 'HU'
|
|
3668
|
+
/** Armenian. */
|
|
3669
|
+
| 'HY'
|
|
3670
|
+
/** Interlingua. */
|
|
3671
|
+
| 'IA'
|
|
3672
|
+
/** Indonesian. */
|
|
3673
|
+
| 'ID'
|
|
3674
|
+
/** Igbo. */
|
|
3675
|
+
| 'IG'
|
|
3676
|
+
/** Sichuan Yi. */
|
|
3677
|
+
| 'II'
|
|
3678
|
+
/** Icelandic. */
|
|
3679
|
+
| 'IS'
|
|
3680
|
+
/** Italian. */
|
|
3681
|
+
| 'IT'
|
|
3682
|
+
/** Japanese. */
|
|
3683
|
+
| 'JA'
|
|
3684
|
+
/** Javanese. */
|
|
3685
|
+
| 'JV'
|
|
3686
|
+
/** Georgian. */
|
|
3687
|
+
| 'KA'
|
|
3688
|
+
/** Kikuyu. */
|
|
3689
|
+
| 'KI'
|
|
3690
|
+
/** Kazakh. */
|
|
3691
|
+
| 'KK'
|
|
3692
|
+
/** Kalaallisut. */
|
|
3693
|
+
| 'KL'
|
|
3694
|
+
/** Khmer. */
|
|
3695
|
+
| 'KM'
|
|
3696
|
+
/** Kannada. */
|
|
3697
|
+
| 'KN'
|
|
3698
|
+
/** Korean. */
|
|
3699
|
+
| 'KO'
|
|
3700
|
+
/** Kashmiri. */
|
|
3701
|
+
| 'KS'
|
|
3702
|
+
/** Kurdish. */
|
|
3703
|
+
| 'KU'
|
|
3704
|
+
/** Cornish. */
|
|
3705
|
+
| 'KW'
|
|
3706
|
+
/** Kyrgyz. */
|
|
3707
|
+
| 'KY'
|
|
3708
|
+
/** Luxembourgish. */
|
|
3709
|
+
| 'LB'
|
|
3710
|
+
/** Ganda. */
|
|
3711
|
+
| 'LG'
|
|
3712
|
+
/** Lingala. */
|
|
3713
|
+
| 'LN'
|
|
3714
|
+
/** Lao. */
|
|
3715
|
+
| 'LO'
|
|
3716
|
+
/** Lithuanian. */
|
|
3717
|
+
| 'LT'
|
|
3718
|
+
/** Luba-Katanga. */
|
|
3719
|
+
| 'LU'
|
|
3720
|
+
/** Latvian. */
|
|
3721
|
+
| 'LV'
|
|
3722
|
+
/** Malagasy. */
|
|
3723
|
+
| 'MG'
|
|
3724
|
+
/** Māori. */
|
|
3725
|
+
| 'MI'
|
|
3726
|
+
/** Macedonian. */
|
|
3727
|
+
| 'MK'
|
|
3728
|
+
/** Malayalam. */
|
|
3729
|
+
| 'ML'
|
|
3730
|
+
/** Mongolian. */
|
|
3731
|
+
| 'MN'
|
|
3732
|
+
/** Marathi. */
|
|
3733
|
+
| 'MR'
|
|
3734
|
+
/** Malay. */
|
|
3735
|
+
| 'MS'
|
|
3736
|
+
/** Maltese. */
|
|
3737
|
+
| 'MT'
|
|
3738
|
+
/** Burmese. */
|
|
3739
|
+
| 'MY'
|
|
3740
|
+
/** Norwegian (Bokmål). */
|
|
3741
|
+
| 'NB'
|
|
3742
|
+
/** North Ndebele. */
|
|
3743
|
+
| 'ND'
|
|
3744
|
+
/** Nepali. */
|
|
3745
|
+
| 'NE'
|
|
3746
|
+
/** Dutch. */
|
|
3747
|
+
| 'NL'
|
|
3748
|
+
/** Norwegian Nynorsk. */
|
|
3749
|
+
| 'NN'
|
|
3750
|
+
/** Norwegian. */
|
|
3751
|
+
| 'NO'
|
|
3752
|
+
/** Oromo. */
|
|
3753
|
+
| 'OM'
|
|
3754
|
+
/** Odia. */
|
|
3755
|
+
| 'OR'
|
|
3756
|
+
/** Ossetic. */
|
|
3757
|
+
| 'OS'
|
|
3758
|
+
/** Punjabi. */
|
|
3759
|
+
| 'PA'
|
|
3760
|
+
/** Polish. */
|
|
3761
|
+
| 'PL'
|
|
3762
|
+
/** Pashto. */
|
|
3763
|
+
| 'PS'
|
|
3764
|
+
/** Portuguese. */
|
|
3765
|
+
| 'PT'
|
|
3766
|
+
/** Portuguese (Brazil). */
|
|
3767
|
+
| 'PT_BR'
|
|
3768
|
+
/** Portuguese (Portugal). */
|
|
3769
|
+
| 'PT_PT'
|
|
3770
|
+
/** Quechua. */
|
|
3771
|
+
| 'QU'
|
|
3772
|
+
/** Romansh. */
|
|
3773
|
+
| 'RM'
|
|
3774
|
+
/** Rundi. */
|
|
3775
|
+
| 'RN'
|
|
3776
|
+
/** Romanian. */
|
|
3777
|
+
| 'RO'
|
|
3778
|
+
/** Russian. */
|
|
3779
|
+
| 'RU'
|
|
3780
|
+
/** Kinyarwanda. */
|
|
3781
|
+
| 'RW'
|
|
3782
|
+
/** Sanskrit. */
|
|
3783
|
+
| 'SA'
|
|
3784
|
+
/** Sardinian. */
|
|
3785
|
+
| 'SC'
|
|
3786
|
+
/** Sindhi. */
|
|
3787
|
+
| 'SD'
|
|
3788
|
+
/** Northern Sami. */
|
|
3789
|
+
| 'SE'
|
|
3790
|
+
/** Sango. */
|
|
3791
|
+
| 'SG'
|
|
3792
|
+
/** Sinhala. */
|
|
3793
|
+
| 'SI'
|
|
3794
|
+
/** Slovak. */
|
|
3795
|
+
| 'SK'
|
|
3796
|
+
/** Slovenian. */
|
|
3797
|
+
| 'SL'
|
|
3798
|
+
/** Shona. */
|
|
3799
|
+
| 'SN'
|
|
3800
|
+
/** Somali. */
|
|
3801
|
+
| 'SO'
|
|
3802
|
+
/** Albanian. */
|
|
3803
|
+
| 'SQ'
|
|
3804
|
+
/** Serbian. */
|
|
3805
|
+
| 'SR'
|
|
3806
|
+
/** Sundanese. */
|
|
3807
|
+
| 'SU'
|
|
3808
|
+
/** Swedish. */
|
|
3809
|
+
| 'SV'
|
|
3810
|
+
/** Swahili. */
|
|
3811
|
+
| 'SW'
|
|
3812
|
+
/** Tamil. */
|
|
3813
|
+
| 'TA'
|
|
3814
|
+
/** Telugu. */
|
|
3815
|
+
| 'TE'
|
|
3816
|
+
/** Tajik. */
|
|
3817
|
+
| 'TG'
|
|
3818
|
+
/** Thai. */
|
|
3819
|
+
| 'TH'
|
|
3820
|
+
/** Tigrinya. */
|
|
3821
|
+
| 'TI'
|
|
3822
|
+
/** Turkmen. */
|
|
3823
|
+
| 'TK'
|
|
3824
|
+
/** Tongan. */
|
|
3825
|
+
| 'TO'
|
|
3826
|
+
/** Turkish. */
|
|
3827
|
+
| 'TR'
|
|
3828
|
+
/** Tatar. */
|
|
3829
|
+
| 'TT'
|
|
3830
|
+
/** Uyghur. */
|
|
3831
|
+
| 'UG'
|
|
3832
|
+
/** Ukrainian. */
|
|
3833
|
+
| 'UK'
|
|
3834
|
+
/** Urdu. */
|
|
3835
|
+
| 'UR'
|
|
3836
|
+
/** Uzbek. */
|
|
3837
|
+
| 'UZ'
|
|
3838
|
+
/** Vietnamese. */
|
|
3839
|
+
| 'VI'
|
|
3840
|
+
/** Volapük. */
|
|
3841
|
+
| 'VO'
|
|
3842
|
+
/** Wolof. */
|
|
3843
|
+
| 'WO'
|
|
3844
|
+
/** Xhosa. */
|
|
3845
|
+
| 'XH'
|
|
3846
|
+
/** Yiddish. */
|
|
3847
|
+
| 'YI'
|
|
3848
|
+
/** Yoruba. */
|
|
3849
|
+
| 'YO'
|
|
3850
|
+
/** Chinese. */
|
|
3851
|
+
| 'ZH'
|
|
3852
|
+
/** Chinese (Simplified). */
|
|
3853
|
+
| 'ZH_CN'
|
|
3854
|
+
/** Chinese (Traditional). */
|
|
3855
|
+
| 'ZH_TW'
|
|
3856
|
+
/** Zulu. */
|
|
3857
|
+
| 'ZU';
|
|
3858
|
+
|
|
3434
3859
|
/** An object representing a product marked as a fee, aggregated by title. */
|
|
3435
3860
|
export type LegacyAggregatedMerchandiseTermsAsFees = Node & {
|
|
3436
3861
|
__typename?: 'LegacyAggregatedMerchandiseTermsAsFees';
|
|
@@ -3660,9 +4085,7 @@ export type Market = Node & {
|
|
|
3660
4085
|
/**
|
|
3661
4086
|
* The web presence of the market, defining its SEO strategy. This can be a different domain,
|
|
3662
4087
|
* subdomain, or subfolders of the primary domain. Each web presence comprises one or more
|
|
3663
|
-
* language variants. If a market doesn't have its own web presence,
|
|
3664
|
-
* shop’s primary domain using [country
|
|
3665
|
-
* selectors](https://shopify.dev/themes/internationalization/multiple-currencies-languages#the-country-selector).
|
|
4088
|
+
* language variants. If a market doesn't have its own web presence, an inherited web presence will be returned.
|
|
3666
4089
|
*/
|
|
3667
4090
|
webPresence?: Maybe<MarketWebPresence>;
|
|
3668
4091
|
};
|
|
@@ -3716,7 +4139,11 @@ export type Metafield = HasCompareDigest &
|
|
|
3716
4139
|
compareDigest: Scalars['String']['output'];
|
|
3717
4140
|
/** The date and time when the metafield was created. */
|
|
3718
4141
|
createdAt: Scalars['DateTime']['output'];
|
|
3719
|
-
/**
|
|
4142
|
+
/**
|
|
4143
|
+
* The description of a metafield.
|
|
4144
|
+
* @deprecated This field will be removed in a future release. Use the `description` on the metafield definition instead.
|
|
4145
|
+
*
|
|
4146
|
+
*/
|
|
3720
4147
|
description?: Maybe<Scalars['String']['output']>;
|
|
3721
4148
|
/** A globally-unique ID. */
|
|
3722
4149
|
id: Scalars['ID']['output'];
|
|
@@ -3867,6 +4294,8 @@ export type MetafieldsSetUserErrorCode =
|
|
|
3867
4294
|
| 'DISALLOWED_OWNER_TYPE'
|
|
3868
4295
|
/** The input value isn't included in the list. */
|
|
3869
4296
|
| 'INCLUSION'
|
|
4297
|
+
/** The input value is invalid. */
|
|
4298
|
+
| 'INVALID'
|
|
3870
4299
|
/** The compareDigest is invalid. */
|
|
3871
4300
|
| 'INVALID_COMPARE_DIGEST'
|
|
3872
4301
|
/** The type is invalid. */
|
|
@@ -3879,6 +4308,8 @@ export type MetafieldsSetUserErrorCode =
|
|
|
3879
4308
|
| 'PRESENT'
|
|
3880
4309
|
/** The metafield has been modified since it was loaded. */
|
|
3881
4310
|
| 'STALE_OBJECT'
|
|
4311
|
+
/** The input value is already taken. */
|
|
4312
|
+
| 'TAKEN'
|
|
3882
4313
|
/** The input value is too long. */
|
|
3883
4314
|
| 'TOO_LONG'
|
|
3884
4315
|
/** The input value is too short. */
|
|
@@ -3896,12 +4327,19 @@ export type MoneyBag = {
|
|
|
3896
4327
|
shopMoney: MoneyV2;
|
|
3897
4328
|
};
|
|
3898
4329
|
|
|
3899
|
-
/** A monetary value
|
|
4330
|
+
/** A precise monetary value and its associated currency. For example, 12.99 USD. */
|
|
3900
4331
|
export type MoneyV2 = {
|
|
3901
4332
|
__typename?: 'MoneyV2';
|
|
3902
|
-
/**
|
|
4333
|
+
/**
|
|
4334
|
+
* A monetary value in decimal format, allowing for precise representation of cents or fractional
|
|
4335
|
+
* currency. For example, 12.99.
|
|
4336
|
+
*/
|
|
3903
4337
|
amount: Scalars['Decimal']['output'];
|
|
3904
|
-
/**
|
|
4338
|
+
/**
|
|
4339
|
+
* The three-letter currency code that represents a world currency used in a store. Currency codes
|
|
4340
|
+
* include standard [standard ISO 4217 codes](https://en.wikipedia.org/wiki/ISO_4217), legacy codes,
|
|
4341
|
+
* and non-standard codes. For example, USD.
|
|
4342
|
+
*/
|
|
3905
4343
|
currencyCode: CurrencyCode;
|
|
3906
4344
|
};
|
|
3907
4345
|
|
|
@@ -3983,6 +4421,8 @@ export type Mutation = {
|
|
|
3983
4421
|
* @deprecated The `storefrontCustomerAccessTokenCreate` is deprecated and will be removed in a future version. Please see [the changelog](https://shopify.dev/changelog/deprecation-of-storefrontcustomeraccesstokencreate-mutation) for more information.
|
|
3984
4422
|
*/
|
|
3985
4423
|
storefrontCustomerAccessTokenCreate?: Maybe<StorefrontCustomerAccessTokenCreatePayload>;
|
|
4424
|
+
/** Initiates a new Stripe Financial Connections session. */
|
|
4425
|
+
stripeFinancialConnectionsSessionInitiate?: Maybe<StripeFinancialConnectionsSessionInitiatePayload>;
|
|
3986
4426
|
/** Skips a Subscription Billing Cycle. */
|
|
3987
4427
|
subscriptionBillingCycleSkip?: Maybe<SubscriptionBillingCycleSkipPayload>;
|
|
3988
4428
|
/** Unskips a Subscription Billing Cycle. */
|
|
@@ -4207,6 +4647,62 @@ export type Node = {
|
|
|
4207
4647
|
id: Scalars['ID']['output'];
|
|
4208
4648
|
};
|
|
4209
4649
|
|
|
4650
|
+
/** A line item with at least one unit that is not eligible for return. */
|
|
4651
|
+
export type NonReturnableLineItem = {
|
|
4652
|
+
__typename?: 'NonReturnableLineItem';
|
|
4653
|
+
/** The line item associated with the non-returnable units. */
|
|
4654
|
+
lineItem: LineItem;
|
|
4655
|
+
/** The number of units that aren't eligible for return. */
|
|
4656
|
+
quantity: Scalars['Int']['output'];
|
|
4657
|
+
/** Details about non-returnable quantities, including the number of units that can't be returned and the reasons they can't be returned, grouped by reason (e.g., already returned, not yet fulfilled). */
|
|
4658
|
+
quantityDetails: Array<NonReturnableQuantityDetail>;
|
|
4659
|
+
};
|
|
4660
|
+
|
|
4661
|
+
/** An auto-generated type for paginating through multiple NonReturnableLineItems. */
|
|
4662
|
+
export type NonReturnableLineItemConnection = {
|
|
4663
|
+
__typename?: 'NonReturnableLineItemConnection';
|
|
4664
|
+
/** The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. */
|
|
4665
|
+
edges: Array<NonReturnableLineItemEdge>;
|
|
4666
|
+
/** A list of nodes that are contained in NonReturnableLineItemEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. */
|
|
4667
|
+
nodes: Array<NonReturnableLineItem>;
|
|
4668
|
+
/** An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. */
|
|
4669
|
+
pageInfo: PageInfo;
|
|
4670
|
+
};
|
|
4671
|
+
|
|
4672
|
+
/** An auto-generated type which holds one NonReturnableLineItem and a cursor during pagination. */
|
|
4673
|
+
export type NonReturnableLineItemEdge = {
|
|
4674
|
+
__typename?: 'NonReturnableLineItemEdge';
|
|
4675
|
+
/** The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). */
|
|
4676
|
+
cursor: Scalars['String']['output'];
|
|
4677
|
+
/** The item at the end of NonReturnableLineItemEdge. */
|
|
4678
|
+
node: NonReturnableLineItem;
|
|
4679
|
+
};
|
|
4680
|
+
|
|
4681
|
+
/**
|
|
4682
|
+
* Details about non-returnable quantities, including the number of units that can't be returned
|
|
4683
|
+
* and the reasons for non-returnability, grouped by reason (e.g., already returned, not yet fulfilled).
|
|
4684
|
+
*/
|
|
4685
|
+
export type NonReturnableQuantityDetail = {
|
|
4686
|
+
__typename?: 'NonReturnableQuantityDetail';
|
|
4687
|
+
/** The number of units that aren't eligible for return. */
|
|
4688
|
+
quantity: Scalars['Int']['output'];
|
|
4689
|
+
/** The reason why this quantity isn't eligible for return. */
|
|
4690
|
+
reasonCode: NonReturnableReason;
|
|
4691
|
+
};
|
|
4692
|
+
|
|
4693
|
+
/** The reason why a line item quantity can't be returned. */
|
|
4694
|
+
export type NonReturnableReason =
|
|
4695
|
+
/** The line item quantity is final sale. This is only applicable if return rules were in place at the time an order was placed. */
|
|
4696
|
+
| 'FINAL_SALE'
|
|
4697
|
+
/** The line item quantity is ineligible for return for a reason that has not been predefined. */
|
|
4698
|
+
| 'OTHER'
|
|
4699
|
+
/** The line item quantity has already been returned. */
|
|
4700
|
+
| 'RETURNED'
|
|
4701
|
+
/** The return window for this line item quantity has expired. This is only applicable if return rules were in place at the time an order was placed. */
|
|
4702
|
+
| 'RETURN_WINDOW_EXPIRED'
|
|
4703
|
+
/** The line item quantity has not been fulfilled by the merchant. */
|
|
4704
|
+
| 'UNFULFILLED';
|
|
4705
|
+
|
|
4210
4706
|
/** A customer’s completed request to purchase one or more products from a shop. Apps using the Customer Account API must meet the protected customer data [requirements](https://shopify.dev/docs/apps/launch/protected-customer-data). */
|
|
4211
4707
|
export type Order = HasMetafields &
|
|
4212
4708
|
Node & {
|
|
@@ -4282,7 +4778,10 @@ export type Order = HasMetafields &
|
|
|
4282
4778
|
lineItemsSummary?: Maybe<OrderLineItemsSummary>;
|
|
4283
4779
|
/** The name of the fulfillment location assigned at the time of order creation. */
|
|
4284
4780
|
locationName?: Maybe<Scalars['String']['output']>;
|
|
4285
|
-
/**
|
|
4781
|
+
/**
|
|
4782
|
+
* The market that includes the order's shipping address. Or the shop's primary market if the shipping address is empty.
|
|
4783
|
+
* @deprecated This `market` field will be removed in a future version of the API.
|
|
4784
|
+
*/
|
|
4286
4785
|
market: Market;
|
|
4287
4786
|
/** A metafield found by namespace and key. */
|
|
4288
4787
|
metafield?: Maybe<Metafield>;
|
|
@@ -4328,6 +4827,8 @@ export type Order = HasMetafields &
|
|
|
4328
4827
|
requiresShipping: Scalars['Boolean']['output'];
|
|
4329
4828
|
/** A Return identified by ID. */
|
|
4330
4829
|
return?: Maybe<Return>;
|
|
4830
|
+
/** The return information for the order. */
|
|
4831
|
+
returnInformation: OrderReturnInformation;
|
|
4331
4832
|
/** The list of returns for the order with pagination. */
|
|
4332
4833
|
returns: ReturnConnection;
|
|
4333
4834
|
/** The mailing address to which the order items are shipped. */
|
|
@@ -4515,11 +5016,6 @@ export type OrderByCompanySortKeys =
|
|
|
4515
5016
|
| 'ORDER_NUMBER'
|
|
4516
5017
|
/** Sort by the `processed_at` value. */
|
|
4517
5018
|
| 'PROCESSED_AT'
|
|
4518
|
-
/**
|
|
4519
|
-
* Sort by relevance to the search terms when the `query` parameter is specified on the connection.
|
|
4520
|
-
* Don't use this sort key when no search query is specified.
|
|
4521
|
-
*/
|
|
4522
|
-
| 'RELEVANCE'
|
|
4523
5019
|
/** Sort by the `total_price` value. */
|
|
4524
5020
|
| 'TOTAL_PRICE'
|
|
4525
5021
|
/** Sort by the `updated_at` value. */
|
|
@@ -4537,11 +5033,6 @@ export type OrderByContactSortKeys =
|
|
|
4537
5033
|
| 'PROCESSED_AT'
|
|
4538
5034
|
/** Sort by the `purchasing_company_location_name` value. */
|
|
4539
5035
|
| 'PURCHASING_COMPANY_LOCATION_NAME'
|
|
4540
|
-
/**
|
|
4541
|
-
* Sort by relevance to the search terms when the `query` parameter is specified on the connection.
|
|
4542
|
-
* Don't use this sort key when no search query is specified.
|
|
4543
|
-
*/
|
|
4544
|
-
| 'RELEVANCE'
|
|
4545
5036
|
/** Sort by the `total_price` value. */
|
|
4546
5037
|
| 'TOTAL_PRICE'
|
|
4547
5038
|
/** Sort by the `updated_at` value. */
|
|
@@ -4557,11 +5048,6 @@ export type OrderByLocationSortKeys =
|
|
|
4557
5048
|
| 'ORDER_NUMBER'
|
|
4558
5049
|
/** Sort by the `processed_at` value. */
|
|
4559
5050
|
| 'PROCESSED_AT'
|
|
4560
|
-
/**
|
|
4561
|
-
* Sort by relevance to the search terms when the `query` parameter is specified on the connection.
|
|
4562
|
-
* Don't use this sort key when no search query is specified.
|
|
4563
|
-
*/
|
|
4564
|
-
| 'RELEVANCE'
|
|
4565
5051
|
/** Sort by the `total_price` value. */
|
|
4566
5052
|
| 'TOTAL_PRICE'
|
|
4567
5053
|
/** Sort by the `updated_at` value. */
|
|
@@ -4593,9 +5079,6 @@ export type OrderConnection = {
|
|
|
4593
5079
|
pageInfo: PageInfo;
|
|
4594
5080
|
};
|
|
4595
5081
|
|
|
4596
|
-
/** An order that redacts data if the requester does not have authorization to view it. */
|
|
4597
|
-
export type OrderDetailsPageOrder = Order | PublicOrder;
|
|
4598
|
-
|
|
4599
5082
|
/** The disount information for a specific order. */
|
|
4600
5083
|
export type OrderDiscountInformation = {
|
|
4601
5084
|
__typename?: 'OrderDiscountInformation';
|
|
@@ -4702,30 +5185,30 @@ export type OrderFinancialStatus =
|
|
|
4702
5185
|
/** Displayed as **Voided**. */
|
|
4703
5186
|
| 'VOIDED';
|
|
4704
5187
|
|
|
4705
|
-
/**
|
|
5188
|
+
/** Represents the order's aggregated fulfillment status for display purposes. */
|
|
4706
5189
|
export type OrderFulfillmentStatus =
|
|
4707
|
-
/**
|
|
4708
|
-
| '
|
|
4709
|
-
/**
|
|
4710
|
-
| '
|
|
4711
|
-
/**
|
|
4712
|
-
| '
|
|
4713
|
-
/**
|
|
4714
|
-
| '
|
|
4715
|
-
/**
|
|
4716
|
-
| '
|
|
4717
|
-
/**
|
|
4718
|
-
| '
|
|
4719
|
-
/**
|
|
4720
|
-
| '
|
|
4721
|
-
/**
|
|
4722
|
-
| 'PICKED_UP'
|
|
4723
|
-
/** The order has one fulfillment being prepared for shipping. */
|
|
4724
|
-
| 'PREPARING_FOR_SHIPPING'
|
|
4725
|
-
/** The order is ready to be picked up. */
|
|
5190
|
+
/** Displayed as **Fulfilled**. All of the items in the order have been fulfilled. */
|
|
5191
|
+
| 'FULFILLED'
|
|
5192
|
+
/** Displayed as **In progress**. All of the items in the order have had a request for fulfillment sent to the fulfillment service or all of the items have been marked as in progress. */
|
|
5193
|
+
| 'IN_PROGRESS'
|
|
5194
|
+
/** Displayed as **On hold**. All of the unfulfilled items in this order are on hold. */
|
|
5195
|
+
| 'ON_HOLD'
|
|
5196
|
+
/** Displayed as **Open**. None of the items in the order have been fulfilled. Replaced by "UNFULFILLED" status. */
|
|
5197
|
+
| 'OPEN'
|
|
5198
|
+
/** Displayed as **Partially fulfilled**. Some of the items in the order have been fulfilled. */
|
|
5199
|
+
| 'PARTIALLY_FULFILLED'
|
|
5200
|
+
/** Displayed as **Pending fulfillment**. A request for fulfillment of some items awaits a response from the fulfillment service. Replaced by "IN_PROGRESS" status. */
|
|
5201
|
+
| 'PENDING_FULFILLMENT'
|
|
5202
|
+
/** Displayed as **Ready for delivery**. */
|
|
5203
|
+
| 'READY_FOR_DELIVERY'
|
|
5204
|
+
/** Displayed as **Ready for pickup**. */
|
|
4726
5205
|
| 'READY_FOR_PICKUP'
|
|
4727
|
-
/**
|
|
4728
|
-
| '
|
|
5206
|
+
/** Displayed as **Restocked**. All of the items in the order have been restocked. Replaced by "UNFULFILLED" status. */
|
|
5207
|
+
| 'RESTOCKED'
|
|
5208
|
+
/** Displayed as **Scheduled**. All of the unfulfilled items in this order are scheduled for fulfillment at later time. */
|
|
5209
|
+
| 'SCHEDULED'
|
|
5210
|
+
/** Displayed as **Unfulfilled**. None of the items in the order have been fulfilled. */
|
|
5211
|
+
| 'UNFULFILLED';
|
|
4729
5212
|
|
|
4730
5213
|
/** The quantitative information about the line items of a specific order. */
|
|
4731
5214
|
export type OrderLineItemsSummary = {
|
|
@@ -4740,6 +5223,15 @@ export type OrderLineItemsSummary = {
|
|
|
4740
5223
|
totalQuantityOfTipLineItems: Scalars['Int']['output'];
|
|
4741
5224
|
};
|
|
4742
5225
|
|
|
5226
|
+
/** The summary of reasons why the order is ineligible for return. */
|
|
5227
|
+
export type OrderNonReturnableSummary = {
|
|
5228
|
+
__typename?: 'OrderNonReturnableSummary';
|
|
5229
|
+
/** Distinct reasons why line items in the order are ineligible for return. */
|
|
5230
|
+
nonReturnableReasons: Array<NonReturnableReason>;
|
|
5231
|
+
/** A message displayed to the customer summarizing why the order is ineligible for return. */
|
|
5232
|
+
summaryMessage?: Maybe<Scalars['String']['output']>;
|
|
5233
|
+
};
|
|
5234
|
+
|
|
4743
5235
|
/** The summary of payment status information for the order. */
|
|
4744
5236
|
export type OrderPaymentInformation = {
|
|
4745
5237
|
__typename?: 'OrderPaymentInformation';
|
|
@@ -4796,6 +5288,50 @@ export type OrderRequestReturnPayload = {
|
|
|
4796
5288
|
userErrors: Array<ReturnUserError>;
|
|
4797
5289
|
};
|
|
4798
5290
|
|
|
5291
|
+
/** The return information for a specific order. */
|
|
5292
|
+
export type OrderReturnInformation = {
|
|
5293
|
+
__typename?: 'OrderReturnInformation';
|
|
5294
|
+
/** Whether the order has one or more restocking fees associated with its returnable line items. */
|
|
5295
|
+
hasRestockingFee: Scalars['Boolean']['output'];
|
|
5296
|
+
/** Whether the order has one or more return promises associated with any of its line items. */
|
|
5297
|
+
hasReturnPromise: Scalars['Boolean']['output'];
|
|
5298
|
+
/** Whether the order has one or more return shipping fees associated with its returnable line items. */
|
|
5299
|
+
hasReturnShippingFee: Scalars['Boolean']['output'];
|
|
5300
|
+
/** The line items that are not eligible for return. */
|
|
5301
|
+
nonReturnableLineItems: NonReturnableLineItemConnection;
|
|
5302
|
+
/** The summary of reasons why the order is ineligible for return. */
|
|
5303
|
+
nonReturnableSummary?: Maybe<OrderNonReturnableSummary>;
|
|
5304
|
+
/** The subtotal of all fees associated with return processing that have been applied to the order (e.g. return shipping fees or restocking fees), aggregated by fee type. */
|
|
5305
|
+
returnFees: Array<ReturnRestockingFee | ReturnShippingFee>;
|
|
5306
|
+
/**
|
|
5307
|
+
* Note for the buyer about the return shipping method. Possible values are: "merchant_provided_label",
|
|
5308
|
+
* "no_shipping_required", or a localized message that the buyer is responsible for return shipping.
|
|
5309
|
+
*/
|
|
5310
|
+
returnShippingMethodNote?: Maybe<Scalars['String']['output']>;
|
|
5311
|
+
/** A set of return shipping methods associated with the order's returnable line items. Return shipping methods are defined by the return rules at the time the order is placed. */
|
|
5312
|
+
returnShippingMethods: Array<ReturnShippingMethod>;
|
|
5313
|
+
/** The line items that are eligible for return. */
|
|
5314
|
+
returnableLineItems: ReturnableLineItemConnection;
|
|
5315
|
+
};
|
|
5316
|
+
|
|
5317
|
+
/** The return information for a specific order. */
|
|
5318
|
+
export type OrderReturnInformationNonReturnableLineItemsArgs = {
|
|
5319
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
5320
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
|
5321
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
5322
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
5323
|
+
reverse?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5324
|
+
};
|
|
5325
|
+
|
|
5326
|
+
/** The return information for a specific order. */
|
|
5327
|
+
export type OrderReturnInformationReturnableLineItemsArgs = {
|
|
5328
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
5329
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
|
5330
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
5331
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
5332
|
+
reverse?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5333
|
+
};
|
|
5334
|
+
|
|
4799
5335
|
/** The group including the shipping lines of the order. */
|
|
4800
5336
|
export type OrderShippingLineGroup = {
|
|
4801
5337
|
__typename?: 'OrderShippingLineGroup';
|
|
@@ -4832,11 +5368,6 @@ export type OrderSortKeys =
|
|
|
4832
5368
|
| 'ORDER_NUMBER'
|
|
4833
5369
|
/** Sort by the `processed_at` value. */
|
|
4834
5370
|
| 'PROCESSED_AT'
|
|
4835
|
-
/**
|
|
4836
|
-
* Sort by relevance to the search terms when the `query` parameter is specified on the connection.
|
|
4837
|
-
* Don't use this sort key when no search query is specified.
|
|
4838
|
-
*/
|
|
4839
|
-
| 'RELEVANCE'
|
|
4840
5371
|
/** Sort by the `total_price` value. */
|
|
4841
5372
|
| 'TOTAL_PRICE'
|
|
4842
5373
|
/** Sort by the `updated_at` value. */
|
|
@@ -4854,6 +5385,8 @@ export type OrderTransaction = Node &
|
|
|
4854
5385
|
id: Scalars['ID']['output'];
|
|
4855
5386
|
/** The kind of the transaction. */
|
|
4856
5387
|
kind?: Maybe<OrderTransactionKind>;
|
|
5388
|
+
/** The associated order for the transaction. */
|
|
5389
|
+
order?: Maybe<Order>;
|
|
4857
5390
|
/** The payment details for the transaction. */
|
|
4858
5391
|
paymentDetails?: Maybe<PaymentDetails>;
|
|
4859
5392
|
/** The payment icon to display for the transaction. */
|
|
@@ -4978,6 +5511,12 @@ export type PaymentIconImage = Node & {
|
|
|
4978
5511
|
* @deprecated Use `url` instead.
|
|
4979
5512
|
*/
|
|
4980
5513
|
src: Scalars['URL']['output'];
|
|
5514
|
+
/**
|
|
5515
|
+
* The ThumbHash of the image.
|
|
5516
|
+
*
|
|
5517
|
+
* Useful to display placeholder images while the original image is loading.
|
|
5518
|
+
*/
|
|
5519
|
+
thumbhash?: Maybe<Scalars['String']['output']>;
|
|
4981
5520
|
/**
|
|
4982
5521
|
* The location of the transformed image as a URL.
|
|
4983
5522
|
*
|
|
@@ -5299,138 +5838,6 @@ export type ProductSale = Node &
|
|
|
5299
5838
|
totalTaxAmount: MoneyV2;
|
|
5300
5839
|
};
|
|
5301
5840
|
|
|
5302
|
-
/** The data that about an order that is visible to anyone with the order ID. */
|
|
5303
|
-
export type PublicOrder = Node & {
|
|
5304
|
-
__typename?: 'PublicOrder';
|
|
5305
|
-
/**
|
|
5306
|
-
* The date and time when the order was canceled.
|
|
5307
|
-
* Returns `null` if the order wasn't canceled.
|
|
5308
|
-
*/
|
|
5309
|
-
cancelledAt?: Maybe<Scalars['DateTime']['output']>;
|
|
5310
|
-
/**
|
|
5311
|
-
* A randomly generated alpha-numeric identifier for the order that may be shown to the customer
|
|
5312
|
-
* instead of the sequential order name. For example, "XPAV284CT", "R50KELTJP" or "35PKUN0UJ".
|
|
5313
|
-
* This value isn't guaranteed to be unique.
|
|
5314
|
-
*/
|
|
5315
|
-
confirmationNumber?: Maybe<Scalars['String']['output']>;
|
|
5316
|
-
/** The discount information for the order, including line-level discount applications. */
|
|
5317
|
-
discountInformation: OrderDiscountInformation;
|
|
5318
|
-
/** The name of the associated draft order. */
|
|
5319
|
-
draftOrderName?: Maybe<Scalars['String']['output']>;
|
|
5320
|
-
/** The edit summary of the order. */
|
|
5321
|
-
editSummary?: Maybe<OrderEditSummary>;
|
|
5322
|
-
/** The financial status of the order. */
|
|
5323
|
-
financialStatus?: Maybe<OrderFinancialStatus>;
|
|
5324
|
-
/** The fulfillment status of the order. */
|
|
5325
|
-
fulfillmentStatus: OrderFulfillmentStatus;
|
|
5326
|
-
/** The fulfillments associated with the order. */
|
|
5327
|
-
fulfillments: FulfillmentConnection;
|
|
5328
|
-
/** Whether the customer has an email address. */
|
|
5329
|
-
hasEmail: Scalars['Boolean']['output'];
|
|
5330
|
-
/** A globally-unique ID. */
|
|
5331
|
-
id: Scalars['ID']['output'];
|
|
5332
|
-
/** The merchandise lines marked as fees with total value, aggregated by title. */
|
|
5333
|
-
legacyAggregatedMerchandiseTermsAsFees: Array<LegacyAggregatedMerchandiseTermsAsFees>;
|
|
5334
|
-
/** Whether or not products marked as fees should be rendered as money lines. */
|
|
5335
|
-
legacyRepresentProductsAsFees: Scalars['Boolean']['output'];
|
|
5336
|
-
/** The price of the order before duties, shipping, taxes, and fees. */
|
|
5337
|
-
legacySubtotalWithoutFees?: Maybe<MoneyV2>;
|
|
5338
|
-
/** The list of the order's line item containers (e.g., Unfulfilled). */
|
|
5339
|
-
lineItemContainers: Array<LineItemContainer>;
|
|
5340
|
-
/** The list of line items of the order. */
|
|
5341
|
-
lineItems: LineItemConnection;
|
|
5342
|
-
/** The market that includes the order's shipping address. Or the shop's primary market if the shipping address is empty. */
|
|
5343
|
-
market: Market;
|
|
5344
|
-
/**
|
|
5345
|
-
* The identifier for the order that appears on the order.
|
|
5346
|
-
* For example, _#1000_ or _Store1001.
|
|
5347
|
-
*/
|
|
5348
|
-
name: Scalars['String']['output'];
|
|
5349
|
-
/** The payment information for the order. */
|
|
5350
|
-
paymentInformation?: Maybe<OrderPaymentInformation>;
|
|
5351
|
-
/** The pickup information for the order. */
|
|
5352
|
-
pickupInformation?: Maybe<OrderPickupInformation>;
|
|
5353
|
-
/** The purchase order number of the order. */
|
|
5354
|
-
poNumber?: Maybe<Scalars['String']['output']>;
|
|
5355
|
-
/**
|
|
5356
|
-
* The date and time when the order was processed.
|
|
5357
|
-
* This value can be set to dates in the past when importing from other systems.
|
|
5358
|
-
* If no value is provided, it will be auto-generated based on current date and time.
|
|
5359
|
-
*/
|
|
5360
|
-
processedAt: Scalars['DateTime']['output'];
|
|
5361
|
-
/** A list of refunds associated with the order. */
|
|
5362
|
-
refunds: Array<Refund>;
|
|
5363
|
-
/** The path to recreate the order in the cart and redirect to checkout. Will return nil if the line item count exceeds 100. */
|
|
5364
|
-
reorderPath?: Maybe<Scalars['String']['output']>;
|
|
5365
|
-
/** Whether the order requires shipping. */
|
|
5366
|
-
requiresShipping: Scalars['Boolean']['output'];
|
|
5367
|
-
/** A Return identified by ID. */
|
|
5368
|
-
return?: Maybe<Return>;
|
|
5369
|
-
/** The list of returns for the order with pagination. */
|
|
5370
|
-
returns: ReturnConnection;
|
|
5371
|
-
/** The list of shipping line groups for the order. */
|
|
5372
|
-
shippingLineGroups: Array<OrderShippingLineGroup>;
|
|
5373
|
-
/** The totals and quantities for the order, ignoring returns. */
|
|
5374
|
-
soldInformation: OrderSoldInformation;
|
|
5375
|
-
/** The price of the order before duties, shipping, and taxes. */
|
|
5376
|
-
subtotal?: Maybe<MoneyV2>;
|
|
5377
|
-
/** The price of the order before order-level discounts, duties, shipping. It includes taxes in tax-inclusive orders. */
|
|
5378
|
-
subtotalBeforeDiscounts?: Maybe<MoneyV2>;
|
|
5379
|
-
/** The total cost of shipping after discounts. */
|
|
5380
|
-
totalDiscountedShipping: MoneyV2;
|
|
5381
|
-
/** The total amount of duties after returns. */
|
|
5382
|
-
totalDuties?: Maybe<MoneyV2>;
|
|
5383
|
-
/** The total duties and duties status. */
|
|
5384
|
-
totalDutiesSummary?: Maybe<OrderDutiesSummary>;
|
|
5385
|
-
/** The total amount of the order (including taxes and discounts) minus the amounts for line items that have been returned. */
|
|
5386
|
-
totalPrice: MoneyV2;
|
|
5387
|
-
/** The total amount refunded. */
|
|
5388
|
-
totalRefunded: MoneyV2;
|
|
5389
|
-
/** The total cost of shipping. */
|
|
5390
|
-
totalShipping: MoneyV2;
|
|
5391
|
-
/** The total cost of taxes. */
|
|
5392
|
-
totalTax?: Maybe<MoneyV2>;
|
|
5393
|
-
/** The total value of tips. */
|
|
5394
|
-
totalTip?: Maybe<MoneyV2>;
|
|
5395
|
-
/** A list of transactions associated with the order. */
|
|
5396
|
-
transactions: Array<OrderTransaction>;
|
|
5397
|
-
};
|
|
5398
|
-
|
|
5399
|
-
/** The data that about an order that is visible to anyone with the order ID. */
|
|
5400
|
-
export type PublicOrderFulfillmentsArgs = {
|
|
5401
|
-
after?: InputMaybe<Scalars['String']['input']>;
|
|
5402
|
-
before?: InputMaybe<Scalars['String']['input']>;
|
|
5403
|
-
first?: InputMaybe<Scalars['Int']['input']>;
|
|
5404
|
-
last?: InputMaybe<Scalars['Int']['input']>;
|
|
5405
|
-
query?: InputMaybe<Scalars['String']['input']>;
|
|
5406
|
-
reverse?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5407
|
-
sortKey?: InputMaybe<FulfillmentSortKeys>;
|
|
5408
|
-
};
|
|
5409
|
-
|
|
5410
|
-
/** The data that about an order that is visible to anyone with the order ID. */
|
|
5411
|
-
export type PublicOrderLineItemsArgs = {
|
|
5412
|
-
after?: InputMaybe<Scalars['String']['input']>;
|
|
5413
|
-
before?: InputMaybe<Scalars['String']['input']>;
|
|
5414
|
-
first?: InputMaybe<Scalars['Int']['input']>;
|
|
5415
|
-
last?: InputMaybe<Scalars['Int']['input']>;
|
|
5416
|
-
reverse?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5417
|
-
};
|
|
5418
|
-
|
|
5419
|
-
/** The data that about an order that is visible to anyone with the order ID. */
|
|
5420
|
-
export type PublicOrderReturnArgs = {
|
|
5421
|
-
id: Scalars['ID']['input'];
|
|
5422
|
-
};
|
|
5423
|
-
|
|
5424
|
-
/** The data that about an order that is visible to anyone with the order ID. */
|
|
5425
|
-
export type PublicOrderReturnsArgs = {
|
|
5426
|
-
after?: InputMaybe<Scalars['String']['input']>;
|
|
5427
|
-
before?: InputMaybe<Scalars['String']['input']>;
|
|
5428
|
-
first?: InputMaybe<Scalars['Int']['input']>;
|
|
5429
|
-
last?: InputMaybe<Scalars['Int']['input']>;
|
|
5430
|
-
reverse?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5431
|
-
sortKey?: InputMaybe<ReturnSortKeys>;
|
|
5432
|
-
};
|
|
5433
|
-
|
|
5434
5841
|
/** The information of the purchasing company for an order or draft order. */
|
|
5435
5842
|
export type PurchasingCompany = {
|
|
5436
5843
|
__typename?: 'PurchasingCompany';
|
|
@@ -5460,16 +5867,17 @@ export type QueryRoot = {
|
|
|
5460
5867
|
extensionApiTokens?: Maybe<ExtensionApiTokens>;
|
|
5461
5868
|
/** Returns an Order resource by ID. Apps using the Customer Account API must meet the protected customer data [requirements](https://shopify.dev/docs/apps/launch/protected-customer-data). */
|
|
5462
5869
|
order?: Maybe<Order>;
|
|
5463
|
-
/**
|
|
5464
|
-
|
|
5870
|
+
/** Returns a Return resource by ID. Apps using the Customer Account API must meet the protected customer data [requirements](https://shopify.dev/docs/apps/launch/protected-customer-data). */
|
|
5871
|
+
return?: Maybe<Return>;
|
|
5872
|
+
/** The calculated monetary value of the return. */
|
|
5873
|
+
returnCalculate?: Maybe<CalculatedReturn>;
|
|
5465
5874
|
/** Returns the information about the shop. Apps using the Customer Account API must meet the protected customer data [requirements](https://shopify.dev/docs/apps/launch/protected-customer-data). */
|
|
5466
5875
|
shop: Shop;
|
|
5467
5876
|
/**
|
|
5468
|
-
* Public metafields for Shop, Order, Customer, Company, CompanyLocation, Product, and ProductVariant
|
|
5469
|
-
* Shop metafields are always fetched if there is a match for the given namespace and key pairs.
|
|
5877
|
+
* Public metafields for Shop, Order, Customer, Company, CompanyLocation, Product, and ProductVariant
|
|
5878
|
+
* for given extension ids. Shop metafields are always fetched if there is a match for the given namespace and key pairs.
|
|
5470
5879
|
* Product and ProductVariant are only fetched if resource_ids are provided and there is a match for the
|
|
5471
|
-
* namespace and key.
|
|
5472
|
-
* This is restricted to development shops for local UI extension development purposes only.
|
|
5880
|
+
* namespace and key. This is restricted to development shops for local UI extension development purposes only.
|
|
5473
5881
|
*/
|
|
5474
5882
|
uiExtensionMetafields: Array<UiExtensionMetafield>;
|
|
5475
5883
|
/** A session token for an UI extension. */
|
|
@@ -5503,13 +5911,17 @@ export type QueryRootOrderArgs = {
|
|
|
5503
5911
|
};
|
|
5504
5912
|
|
|
5505
5913
|
/** This acts as the public, top-level API from which all queries start. */
|
|
5506
|
-
export type
|
|
5914
|
+
export type QueryRootReturnArgs = {
|
|
5507
5915
|
id: Scalars['ID']['input'];
|
|
5508
5916
|
};
|
|
5509
5917
|
|
|
5918
|
+
/** This acts as the public, top-level API from which all queries start. */
|
|
5919
|
+
export type QueryRootReturnCalculateArgs = {
|
|
5920
|
+
input: CalculateReturnInput;
|
|
5921
|
+
};
|
|
5922
|
+
|
|
5510
5923
|
/** This acts as the public, top-level API from which all queries start. */
|
|
5511
5924
|
export type QueryRootUiExtensionMetafieldsArgs = {
|
|
5512
|
-
filters?: InputMaybe<Array<UiExtensionMetafieldFilterInput>>;
|
|
5513
5925
|
orderId?: InputMaybe<Scalars['ID']['input']>;
|
|
5514
5926
|
resourceIds?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
5515
5927
|
};
|
|
@@ -5518,7 +5930,6 @@ export type QueryRootUiExtensionMetafieldsArgs = {
|
|
|
5518
5930
|
export type QueryRootUiExtensionSessionTokenArgs = {
|
|
5519
5931
|
appId?: InputMaybe<Scalars['ID']['input']>;
|
|
5520
5932
|
extensionActivationId?: InputMaybe<Scalars['ID']['input']>;
|
|
5521
|
-
id?: InputMaybe<Scalars['ID']['input']>;
|
|
5522
5933
|
};
|
|
5523
5934
|
|
|
5524
5935
|
/** The record of refunds issued to a customer. */
|
|
@@ -5676,22 +6087,38 @@ export type Return = Node & {
|
|
|
5676
6087
|
createdAt?: Maybe<Scalars['DateTime']['output']>;
|
|
5677
6088
|
/** The additional details about why the merchant declined the return request. */
|
|
5678
6089
|
decline?: Maybe<ReturnDecline>;
|
|
6090
|
+
/** The exchange line items attached to the return. */
|
|
6091
|
+
exchangeLineItems: ExchangeLineItemConnection;
|
|
5679
6092
|
/** A globally-unique ID. */
|
|
5680
6093
|
id: Scalars['ID']['output'];
|
|
5681
6094
|
/** The name assigned to the return. */
|
|
5682
6095
|
name: Scalars['String']['output'];
|
|
5683
6096
|
/** The line items associated with the return. */
|
|
5684
|
-
returnLineItems:
|
|
6097
|
+
returnLineItems: ReturnLineItemTypeConnection;
|
|
6098
|
+
/** The number of line items associated with the return. */
|
|
6099
|
+
returnLineItemsCount?: Maybe<Count>;
|
|
5685
6100
|
/** The list of reverse deliveries associated with the return. */
|
|
5686
6101
|
reverseDeliveries: ReverseDeliveryConnection;
|
|
5687
6102
|
/** The current status of the `Return`. */
|
|
5688
6103
|
status: ReturnStatus;
|
|
5689
6104
|
/** The timeline events related to the return. */
|
|
5690
6105
|
timelineEvents: Array<TimelineEvent>;
|
|
6106
|
+
/** The number of line items associated with the return. */
|
|
6107
|
+
tmpReturnLineItemsCount: Scalars['Int']['output'];
|
|
5691
6108
|
/** The date when the return was last updated. */
|
|
5692
6109
|
updatedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
5693
6110
|
};
|
|
5694
6111
|
|
|
6112
|
+
/** A product return. */
|
|
6113
|
+
export type ReturnExchangeLineItemsArgs = {
|
|
6114
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
6115
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
|
6116
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
6117
|
+
includeRemovedItems?: InputMaybe<Scalars['Boolean']['input']>;
|
|
6118
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
6119
|
+
reverse?: InputMaybe<Scalars['Boolean']['input']>;
|
|
6120
|
+
};
|
|
6121
|
+
|
|
5695
6122
|
/** A product return. */
|
|
5696
6123
|
export type ReturnReturnLineItemsArgs = {
|
|
5697
6124
|
after?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -5826,37 +6253,75 @@ export type ReturnErrorCode =
|
|
|
5826
6253
|
/** The input value is the wrong length. */
|
|
5827
6254
|
| 'WRONG_LENGTH';
|
|
5828
6255
|
|
|
6256
|
+
/** A fee associated with the processing of a return. */
|
|
6257
|
+
export type ReturnFee = {
|
|
6258
|
+
/** The total monetary value of the fee in shop and presentment currencies. */
|
|
6259
|
+
amountSet: MoneyBag;
|
|
6260
|
+
/** Human-readable name of the fee. */
|
|
6261
|
+
title: Scalars['String']['output'];
|
|
6262
|
+
};
|
|
6263
|
+
|
|
6264
|
+
/** The financial breakdown of the return. */
|
|
6265
|
+
export type ReturnFinancialSummary = {
|
|
6266
|
+
__typename?: 'ReturnFinancialSummary';
|
|
6267
|
+
/** The subtotal of all return line items restocking fees. */
|
|
6268
|
+
restockingFeeSubtotalSet: MoneyBag;
|
|
6269
|
+
/** The subtotal of all return line items shipping fees. */
|
|
6270
|
+
returnShippingFeeSubtotalSet: MoneyBag;
|
|
6271
|
+
/** The subtotal of all return line items. */
|
|
6272
|
+
returnSubtotalSet: MoneyBag;
|
|
6273
|
+
/** The subtotal of all return line items with order level discounts applied. */
|
|
6274
|
+
returnSubtotalWithCartDiscountSet: MoneyBag;
|
|
6275
|
+
/** The total sum of all return line items, including return line item subtotals, fees and taxes. */
|
|
6276
|
+
returnTotalSet: MoneyBag;
|
|
6277
|
+
/** The total tax sum of all return line items. */
|
|
6278
|
+
returnTotalTaxSet: MoneyBag;
|
|
6279
|
+
};
|
|
6280
|
+
|
|
5829
6281
|
/** A line item that has been returned. */
|
|
5830
|
-
export type ReturnLineItem = Node &
|
|
5831
|
-
|
|
6282
|
+
export type ReturnLineItem = Node &
|
|
6283
|
+
ReturnLineItemType & {
|
|
6284
|
+
__typename?: 'ReturnLineItem';
|
|
6285
|
+
/** A globally-unique ID. */
|
|
6286
|
+
id: Scalars['ID']['output'];
|
|
6287
|
+
/** The related line item that has been returned. */
|
|
6288
|
+
lineItem: LineItem;
|
|
6289
|
+
/** The line item quantity that has been returned. */
|
|
6290
|
+
quantity: Scalars['Int']['output'];
|
|
6291
|
+
/** The reason the line item quantity was returned. */
|
|
6292
|
+
returnReason: ReturnReason;
|
|
6293
|
+
};
|
|
6294
|
+
|
|
6295
|
+
/** A line item that has been returned. */
|
|
6296
|
+
export type ReturnLineItemType = {
|
|
5832
6297
|
/** A globally-unique ID. */
|
|
5833
6298
|
id: Scalars['ID']['output'];
|
|
5834
|
-
/** The
|
|
6299
|
+
/** The specific line item that's being returned. */
|
|
5835
6300
|
lineItem: LineItem;
|
|
5836
|
-
/** The line item
|
|
6301
|
+
/** The quantity of the line item that's been returned. */
|
|
5837
6302
|
quantity: Scalars['Int']['output'];
|
|
5838
|
-
/** The reason the line item
|
|
6303
|
+
/** The reason for returning the line item. */
|
|
5839
6304
|
returnReason: ReturnReason;
|
|
5840
6305
|
};
|
|
5841
6306
|
|
|
5842
|
-
/** An auto-generated type for paginating through multiple
|
|
5843
|
-
export type
|
|
5844
|
-
__typename?: '
|
|
6307
|
+
/** An auto-generated type for paginating through multiple ReturnLineItemTypes. */
|
|
6308
|
+
export type ReturnLineItemTypeConnection = {
|
|
6309
|
+
__typename?: 'ReturnLineItemTypeConnection';
|
|
5845
6310
|
/** The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. */
|
|
5846
|
-
edges: Array<
|
|
5847
|
-
/** A list of nodes that are contained in
|
|
5848
|
-
nodes: Array<ReturnLineItem>;
|
|
6311
|
+
edges: Array<ReturnLineItemTypeEdge>;
|
|
6312
|
+
/** A list of nodes that are contained in ReturnLineItemTypeEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. */
|
|
6313
|
+
nodes: Array<ReturnLineItem | UnverifiedReturnLineItem>;
|
|
5849
6314
|
/** An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. */
|
|
5850
6315
|
pageInfo: PageInfo;
|
|
5851
6316
|
};
|
|
5852
6317
|
|
|
5853
|
-
/** An auto-generated type which holds one
|
|
5854
|
-
export type
|
|
5855
|
-
__typename?: '
|
|
6318
|
+
/** An auto-generated type which holds one ReturnLineItemType and a cursor during pagination. */
|
|
6319
|
+
export type ReturnLineItemTypeEdge = {
|
|
6320
|
+
__typename?: 'ReturnLineItemTypeEdge';
|
|
5856
6321
|
/** The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). */
|
|
5857
6322
|
cursor: Scalars['String']['output'];
|
|
5858
|
-
/** The item at the end of
|
|
5859
|
-
node: ReturnLineItem;
|
|
6323
|
+
/** The item at the end of ReturnLineItemTypeEdge. */
|
|
6324
|
+
node: ReturnLineItem | UnverifiedReturnLineItem;
|
|
5860
6325
|
};
|
|
5861
6326
|
|
|
5862
6327
|
/** The reason for returning the item. */
|
|
@@ -5882,17 +6347,37 @@ export type ReturnReason =
|
|
|
5882
6347
|
/** The customer received the wrong item. */
|
|
5883
6348
|
| 'WRONG_ITEM';
|
|
5884
6349
|
|
|
6350
|
+
/** The restocking fee incurred during the return process. */
|
|
6351
|
+
export type ReturnRestockingFee = ReturnFee & {
|
|
6352
|
+
__typename?: 'ReturnRestockingFee';
|
|
6353
|
+
/** The total monetary value of the fee in shop and presentment currencies. */
|
|
6354
|
+
amountSet: MoneyBag;
|
|
6355
|
+
/** Human-readable name of the fee. */
|
|
6356
|
+
title: Scalars['String']['output'];
|
|
6357
|
+
};
|
|
6358
|
+
|
|
6359
|
+
/** The shipping fee incurred during the return process. */
|
|
6360
|
+
export type ReturnShippingFee = ReturnFee & {
|
|
6361
|
+
__typename?: 'ReturnShippingFee';
|
|
6362
|
+
/** The total monetary value of the fee in shop and presentment currencies. */
|
|
6363
|
+
amountSet: MoneyBag;
|
|
6364
|
+
/** Human-readable name of the fee. */
|
|
6365
|
+
title: Scalars['String']['output'];
|
|
6366
|
+
};
|
|
6367
|
+
|
|
6368
|
+
/** How items will be returned to the merchant. */
|
|
6369
|
+
export type ReturnShippingMethod =
|
|
6370
|
+
/** The customer is responsible for providing the shipping label. */
|
|
6371
|
+
| 'CUSTOMER_PROVIDED_LABEL'
|
|
6372
|
+
/** The merchant provides the shipping label. */
|
|
6373
|
+
| 'MERCHANT_PROVIDED_LABEL';
|
|
6374
|
+
|
|
5885
6375
|
/** The set of valid sort keys for the Return query. */
|
|
5886
6376
|
export type ReturnSortKeys =
|
|
5887
6377
|
/** Sort by the `created_at` value. */
|
|
5888
6378
|
| 'CREATED_AT'
|
|
5889
6379
|
/** Sort by the `id` value. */
|
|
5890
|
-
| 'ID'
|
|
5891
|
-
/**
|
|
5892
|
-
* Sort by relevance to the search terms when the `query` parameter is specified on the connection.
|
|
5893
|
-
* Don't use this sort key when no search query is specified.
|
|
5894
|
-
*/
|
|
5895
|
-
| 'RELEVANCE';
|
|
6380
|
+
| 'ID';
|
|
5896
6381
|
|
|
5897
6382
|
/** The current status of a `Return`. */
|
|
5898
6383
|
export type ReturnStatus =
|
|
@@ -5927,6 +6412,35 @@ export type ReturnUserError = DisplayableError & {
|
|
|
5927
6412
|
message: Scalars['String']['output'];
|
|
5928
6413
|
};
|
|
5929
6414
|
|
|
6415
|
+
/** A line item with at least one unit that is eligible for return. */
|
|
6416
|
+
export type ReturnableLineItem = {
|
|
6417
|
+
__typename?: 'ReturnableLineItem';
|
|
6418
|
+
/** The related line item. */
|
|
6419
|
+
lineItem: LineItem;
|
|
6420
|
+
/** The quantity of units that can be returned. */
|
|
6421
|
+
quantity: Scalars['Int']['output'];
|
|
6422
|
+
};
|
|
6423
|
+
|
|
6424
|
+
/** An auto-generated type for paginating through multiple ReturnableLineItems. */
|
|
6425
|
+
export type ReturnableLineItemConnection = {
|
|
6426
|
+
__typename?: 'ReturnableLineItemConnection';
|
|
6427
|
+
/** The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. */
|
|
6428
|
+
edges: Array<ReturnableLineItemEdge>;
|
|
6429
|
+
/** A list of nodes that are contained in ReturnableLineItemEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. */
|
|
6430
|
+
nodes: Array<ReturnableLineItem>;
|
|
6431
|
+
/** An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. */
|
|
6432
|
+
pageInfo: PageInfo;
|
|
6433
|
+
};
|
|
6434
|
+
|
|
6435
|
+
/** An auto-generated type which holds one ReturnableLineItem and a cursor during pagination. */
|
|
6436
|
+
export type ReturnableLineItemEdge = {
|
|
6437
|
+
__typename?: 'ReturnableLineItemEdge';
|
|
6438
|
+
/** The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). */
|
|
6439
|
+
cursor: Scalars['String']['output'];
|
|
6440
|
+
/** The item at the end of ReturnableLineItemEdge. */
|
|
6441
|
+
node: ReturnableLineItem;
|
|
6442
|
+
};
|
|
6443
|
+
|
|
5930
6444
|
/**
|
|
5931
6445
|
* A reverse delivery represents a package being sent back by a buyer to a merchant post-fulfillment.
|
|
5932
6446
|
* This could occur when a buyer requests a return and the merchant provides a shipping label.
|
|
@@ -6284,17 +6798,6 @@ export type ShopAppLinksAndResources = {
|
|
|
6284
6798
|
shopPayOrder: Scalars['Boolean']['output'];
|
|
6285
6799
|
};
|
|
6286
6800
|
|
|
6287
|
-
/** The configuration values used to initialize a Shop Pay checkout. */
|
|
6288
|
-
export type ShopPayConfiguration = {
|
|
6289
|
-
__typename?: 'ShopPayConfiguration';
|
|
6290
|
-
/** Whether the checkout is a checkout one session. */
|
|
6291
|
-
checkoutOne: Scalars['Boolean']['output'];
|
|
6292
|
-
/** The URL parameters containing an encrypted blob used by Shop Pay's backend. */
|
|
6293
|
-
transactionParams: Scalars['String']['output'];
|
|
6294
|
-
/** The URL from which the Shop Pay checkout can be completed. */
|
|
6295
|
-
transactionUrl: Scalars['URL']['output'];
|
|
6296
|
-
};
|
|
6297
|
-
|
|
6298
6801
|
/** Return type for `shopPayCreditCardGetUpdateUrl` mutation. */
|
|
6299
6802
|
export type ShopPayCreditCardGetUpdateUrlPayload = {
|
|
6300
6803
|
__typename?: 'ShopPayCreditCardGetUpdateUrlPayload';
|
|
@@ -6342,6 +6845,8 @@ export type StoreCreditAccount = Node & {
|
|
|
6342
6845
|
__typename?: 'StoreCreditAccount';
|
|
6343
6846
|
/** The current balance of the store credit account. */
|
|
6344
6847
|
balance: MoneyV2;
|
|
6848
|
+
/** The expirable part of the store credit account balance. */
|
|
6849
|
+
expirableBalance: MoneyV2;
|
|
6345
6850
|
/** A globally-unique ID. */
|
|
6346
6851
|
id: Scalars['ID']['output'];
|
|
6347
6852
|
/** The transaction history of the store credit account. */
|
|
@@ -6387,6 +6892,8 @@ export type StoreCreditAccountCreditTransaction = Node &
|
|
|
6387
6892
|
balanceAfterTransaction: MoneyV2;
|
|
6388
6893
|
/** The date and time when the transaction was created. */
|
|
6389
6894
|
createdAt: Scalars['DateTime']['output'];
|
|
6895
|
+
/** The event that caused the store credit account transaction. */
|
|
6896
|
+
event: StoreCreditSystemEvent;
|
|
6390
6897
|
/**
|
|
6391
6898
|
* The time at which the transaction expires.
|
|
6392
6899
|
* Debit transactions will always spend the soonest expiring credit first.
|
|
@@ -6394,6 +6901,8 @@ export type StoreCreditAccountCreditTransaction = Node &
|
|
|
6394
6901
|
expiresAt?: Maybe<Scalars['DateTime']['output']>;
|
|
6395
6902
|
/** A globally-unique ID. */
|
|
6396
6903
|
id: Scalars['ID']['output'];
|
|
6904
|
+
/** The origin of the store credit account transaction. */
|
|
6905
|
+
origin?: Maybe<StoreCreditAccountTransactionOrigin>;
|
|
6397
6906
|
/**
|
|
6398
6907
|
* The remaining amount of the credit.
|
|
6399
6908
|
* The remaining amount will decrease when a debit spends this credit. It may also increase if that debit is subsequently reverted.
|
|
@@ -6422,8 +6931,12 @@ export type StoreCreditAccountDebitRevertTransaction = Node &
|
|
|
6422
6931
|
createdAt: Scalars['DateTime']['output'];
|
|
6423
6932
|
/** The reverted debit transaction. */
|
|
6424
6933
|
debitTransaction: StoreCreditAccountDebitTransaction;
|
|
6934
|
+
/** The event that caused the store credit account transaction. */
|
|
6935
|
+
event: StoreCreditSystemEvent;
|
|
6425
6936
|
/** A globally-unique ID. */
|
|
6426
6937
|
id: Scalars['ID']['output'];
|
|
6938
|
+
/** The origin of the store credit account transaction. */
|
|
6939
|
+
origin?: Maybe<StoreCreditAccountTransactionOrigin>;
|
|
6427
6940
|
};
|
|
6428
6941
|
|
|
6429
6942
|
/** A debit transaction which decreases the store credit account balance. */
|
|
@@ -6438,8 +6951,12 @@ export type StoreCreditAccountDebitTransaction = Node &
|
|
|
6438
6951
|
balanceAfterTransaction: MoneyV2;
|
|
6439
6952
|
/** The date and time when the transaction was created. */
|
|
6440
6953
|
createdAt: Scalars['DateTime']['output'];
|
|
6954
|
+
/** The event that caused the store credit account transaction. */
|
|
6955
|
+
event: StoreCreditSystemEvent;
|
|
6441
6956
|
/** A globally-unique ID. */
|
|
6442
6957
|
id: Scalars['ID']['output'];
|
|
6958
|
+
/** The origin of the store credit account transaction. */
|
|
6959
|
+
origin?: Maybe<StoreCreditAccountTransactionOrigin>;
|
|
6443
6960
|
};
|
|
6444
6961
|
|
|
6445
6962
|
/** An auto-generated type which holds one StoreCreditAccount and a cursor during pagination. */
|
|
@@ -6470,6 +6987,10 @@ export type StoreCreditAccountExpirationTransaction =
|
|
|
6470
6987
|
createdAt: Scalars['DateTime']['output'];
|
|
6471
6988
|
/** The credit transaction which expired. */
|
|
6472
6989
|
creditTransaction: StoreCreditAccountCreditTransaction;
|
|
6990
|
+
/** The event that caused the store credit account transaction. */
|
|
6991
|
+
event: StoreCreditSystemEvent;
|
|
6992
|
+
/** The origin of the store credit account transaction. */
|
|
6993
|
+
origin?: Maybe<StoreCreditAccountTransactionOrigin>;
|
|
6473
6994
|
};
|
|
6474
6995
|
|
|
6475
6996
|
/** Interface for a store credit account transaction. */
|
|
@@ -6482,6 +7003,10 @@ export type StoreCreditAccountTransaction = {
|
|
|
6482
7003
|
balanceAfterTransaction: MoneyV2;
|
|
6483
7004
|
/** The date and time when the transaction was created. */
|
|
6484
7005
|
createdAt: Scalars['DateTime']['output'];
|
|
7006
|
+
/** The event that caused the store credit account transaction. */
|
|
7007
|
+
event: StoreCreditSystemEvent;
|
|
7008
|
+
/** The origin of the store credit account transaction. */
|
|
7009
|
+
origin?: Maybe<StoreCreditAccountTransactionOrigin>;
|
|
6485
7010
|
};
|
|
6486
7011
|
|
|
6487
7012
|
/** An auto-generated type for paginating through multiple StoreCreditAccountTransactions. */
|
|
@@ -6513,6 +7038,26 @@ export type StoreCreditAccountTransactionEdge = {
|
|
|
6513
7038
|
| StoreCreditAccountExpirationTransaction;
|
|
6514
7039
|
};
|
|
6515
7040
|
|
|
7041
|
+
/** The origin of a store credit account transaction. */
|
|
7042
|
+
export type StoreCreditAccountTransactionOrigin = OrderTransaction;
|
|
7043
|
+
|
|
7044
|
+
/** The event that caused the store credit account transaction. */
|
|
7045
|
+
export type StoreCreditSystemEvent =
|
|
7046
|
+
/** An adjustment was made to the store credit account. */
|
|
7047
|
+
| 'ADJUSTMENT'
|
|
7048
|
+
/** Store credit was returned when an authorized payment was voided. */
|
|
7049
|
+
| 'ORDER_CANCELLATION'
|
|
7050
|
+
/** Store credit was used as payment for an order. */
|
|
7051
|
+
| 'ORDER_PAYMENT'
|
|
7052
|
+
/** Store credit was refunded from an order. */
|
|
7053
|
+
| 'ORDER_REFUND'
|
|
7054
|
+
/** A store credit payment was reverted due to another payment method failing. */
|
|
7055
|
+
| 'PAYMENT_FAILURE'
|
|
7056
|
+
/** A smaller amount of store credit was captured than was originally authorized. */
|
|
7057
|
+
| 'PAYMENT_RETURNED'
|
|
7058
|
+
/** Tax finalization affected the store credit payment. */
|
|
7059
|
+
| 'TAX_FINALIZATION';
|
|
7060
|
+
|
|
6516
7061
|
/** Return type for `storefrontCustomerAccessTokenCreate` mutation. */
|
|
6517
7062
|
export type StorefrontCustomerAccessTokenCreatePayload = {
|
|
6518
7063
|
__typename?: 'StorefrontCustomerAccessTokenCreatePayload';
|
|
@@ -6522,6 +7067,15 @@ export type StorefrontCustomerAccessTokenCreatePayload = {
|
|
|
6522
7067
|
userErrors: Array<UserErrorsStorefrontCustomerAccessTokenCreateUserErrors>;
|
|
6523
7068
|
};
|
|
6524
7069
|
|
|
7070
|
+
/** Return type for `stripeFinancialConnectionsSessionInitiate` mutation. */
|
|
7071
|
+
export type StripeFinancialConnectionsSessionInitiatePayload = {
|
|
7072
|
+
__typename?: 'StripeFinancialConnectionsSessionInitiatePayload';
|
|
7073
|
+
/** The Stripe Financial Connections client secret for session initiation. */
|
|
7074
|
+
clientSecret?: Maybe<Scalars['String']['output']>;
|
|
7075
|
+
/** The list of errors that occurred from executing the mutation. */
|
|
7076
|
+
userErrors: Array<UserErrorsStripeFinancialConnectionsSessionUserErrors>;
|
|
7077
|
+
};
|
|
7078
|
+
|
|
6525
7079
|
/** Represents a subscription anchor. */
|
|
6526
7080
|
export type SubscriptionAnchor =
|
|
6527
7081
|
| SubscriptionMonthDayAnchor
|
|
@@ -6647,12 +7201,7 @@ export type SubscriptionBillingCyclesSortKeys =
|
|
|
6647
7201
|
/** Sort by the `cycle_index` value. */
|
|
6648
7202
|
| 'CYCLE_INDEX'
|
|
6649
7203
|
/** Sort by the `id` value. */
|
|
6650
|
-
| 'ID'
|
|
6651
|
-
/**
|
|
6652
|
-
* Sort by relevance to the search terms when the `query` parameter is specified on the connection.
|
|
6653
|
-
* Don't use this sort key when no search query is specified.
|
|
6654
|
-
*/
|
|
6655
|
-
| 'RELEVANCE';
|
|
7204
|
+
| 'ID';
|
|
6656
7205
|
|
|
6657
7206
|
/** The billing policy of a subscription. */
|
|
6658
7207
|
export type SubscriptionBillingPolicy = {
|
|
@@ -6689,6 +7238,8 @@ export type SubscriptionContract = Node &
|
|
|
6689
7238
|
deliveryPolicy: SubscriptionDeliveryPolicy;
|
|
6690
7239
|
/** The delivery price for each billing of the subscription contract. */
|
|
6691
7240
|
deliveryPrice: MoneyV2;
|
|
7241
|
+
/** The list of subscription discounts associated with the subscription contract. */
|
|
7242
|
+
discounts?: Maybe<SubscriptionDiscountConnection>;
|
|
6692
7243
|
/** A globally-unique ID. */
|
|
6693
7244
|
id: Scalars['ID']['output'];
|
|
6694
7245
|
/** The last billing error type of the contract. */
|
|
@@ -6723,6 +7274,15 @@ export type SubscriptionContract = Node &
|
|
|
6723
7274
|
updatedAt: Scalars['DateTime']['output'];
|
|
6724
7275
|
};
|
|
6725
7276
|
|
|
7277
|
+
/** A Subscription Contract. */
|
|
7278
|
+
export type SubscriptionContractDiscountsArgs = {
|
|
7279
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
7280
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
|
7281
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
7282
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
7283
|
+
reverse?: InputMaybe<Scalars['Boolean']['input']>;
|
|
7284
|
+
};
|
|
7285
|
+
|
|
6726
7286
|
/** A Subscription Contract. */
|
|
6727
7287
|
export type SubscriptionContractLinesArgs = {
|
|
6728
7288
|
after?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -6772,6 +7332,8 @@ export type SubscriptionContractBase = {
|
|
|
6772
7332
|
deliveryMethod?: Maybe<SubscriptionDeliveryMethod>;
|
|
6773
7333
|
/** The delivery price for each billing of the subscription contract. */
|
|
6774
7334
|
deliveryPrice: MoneyV2;
|
|
7335
|
+
/** The list of subscription discounts associated with the subscription contract. */
|
|
7336
|
+
discounts?: Maybe<SubscriptionDiscountConnection>;
|
|
6775
7337
|
/** The number of lines associated with the subscription contract. */
|
|
6776
7338
|
lineCount: Scalars['Int']['output'];
|
|
6777
7339
|
/** A list of subscription lines associated with the subscription contract. */
|
|
@@ -6788,6 +7350,15 @@ export type SubscriptionContractBase = {
|
|
|
6788
7350
|
updatedAt: Scalars['DateTime']['output'];
|
|
6789
7351
|
};
|
|
6790
7352
|
|
|
7353
|
+
/** The common fields of a subscription contract. */
|
|
7354
|
+
export type SubscriptionContractBaseDiscountsArgs = {
|
|
7355
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
7356
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
|
7357
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
7358
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
7359
|
+
reverse?: InputMaybe<Scalars['Boolean']['input']>;
|
|
7360
|
+
};
|
|
7361
|
+
|
|
6791
7362
|
/** The common fields of a subscription contract. */
|
|
6792
7363
|
export type SubscriptionContractBaseLinesArgs = {
|
|
6793
7364
|
after?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -6958,11 +7529,8 @@ export type SubscriptionContractsSortKeys =
|
|
|
6958
7529
|
| 'CREATED_AT'
|
|
6959
7530
|
/** Sort by the `id` value. */
|
|
6960
7531
|
| 'ID'
|
|
6961
|
-
/**
|
|
6962
|
-
|
|
6963
|
-
* Don't use this sort key when no search query is specified.
|
|
6964
|
-
*/
|
|
6965
|
-
| 'RELEVANCE'
|
|
7532
|
+
/** Sort by the `status` value. */
|
|
7533
|
+
| 'STATUS'
|
|
6966
7534
|
/** Sort by the `updated_at` value. */
|
|
6967
7535
|
| 'UPDATED_AT';
|
|
6968
7536
|
|
|
@@ -7120,6 +7688,88 @@ export type SubscriptionDeliveryPolicy = {
|
|
|
7120
7688
|
intervalCount?: Maybe<Count>;
|
|
7121
7689
|
};
|
|
7122
7690
|
|
|
7691
|
+
/** A discount applied to a subscription contract. */
|
|
7692
|
+
export type SubscriptionDiscount = {
|
|
7693
|
+
__typename?: 'SubscriptionDiscount';
|
|
7694
|
+
/** Specify whether the subscription discount will apply on all subscription lines. */
|
|
7695
|
+
appliesToAllLines: Scalars['Boolean']['output'];
|
|
7696
|
+
/** The unique ID. */
|
|
7697
|
+
id: Scalars['ID']['output'];
|
|
7698
|
+
/** The list of subscription lines associated with the subscription discount. */
|
|
7699
|
+
lines?: Maybe<SubscriptionLineConnection>;
|
|
7700
|
+
/** The maximum number of times the subscription discount will be applied on orders. */
|
|
7701
|
+
recurringCycleLimit?: Maybe<Scalars['Int']['output']>;
|
|
7702
|
+
/** Type of line the discount applies on. */
|
|
7703
|
+
targetType: DiscountTargetType;
|
|
7704
|
+
/** The title associated with the subscription discount. */
|
|
7705
|
+
title?: Maybe<Scalars['String']['output']>;
|
|
7706
|
+
/** The type of the subscription discount. */
|
|
7707
|
+
type: DiscountType;
|
|
7708
|
+
/** The number of times the discount was applied. */
|
|
7709
|
+
usageCount?: Maybe<Count>;
|
|
7710
|
+
/** The value of the subscription discount. */
|
|
7711
|
+
value: SubscriptionDiscountValue;
|
|
7712
|
+
};
|
|
7713
|
+
|
|
7714
|
+
/** A discount applied to a subscription contract. */
|
|
7715
|
+
export type SubscriptionDiscountLinesArgs = {
|
|
7716
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
7717
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
|
7718
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
7719
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
7720
|
+
reverse?: InputMaybe<Scalars['Boolean']['input']>;
|
|
7721
|
+
};
|
|
7722
|
+
|
|
7723
|
+
/** Represents what a particular discount reduces from a line price. */
|
|
7724
|
+
export type SubscriptionDiscountAllocation = {
|
|
7725
|
+
__typename?: 'SubscriptionDiscountAllocation';
|
|
7726
|
+
/** Allocation amount. */
|
|
7727
|
+
amount: MoneyV2;
|
|
7728
|
+
/** Discount that created the allocation. */
|
|
7729
|
+
discount: SubscriptionDiscount;
|
|
7730
|
+
};
|
|
7731
|
+
|
|
7732
|
+
/** An auto-generated type for paginating through multiple SubscriptionDiscounts. */
|
|
7733
|
+
export type SubscriptionDiscountConnection = {
|
|
7734
|
+
__typename?: 'SubscriptionDiscountConnection';
|
|
7735
|
+
/** The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. */
|
|
7736
|
+
edges: Array<SubscriptionDiscountEdge>;
|
|
7737
|
+
/** A list of nodes that are contained in SubscriptionDiscountEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. */
|
|
7738
|
+
nodes: Array<SubscriptionDiscount>;
|
|
7739
|
+
/** An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. */
|
|
7740
|
+
pageInfo: PageInfo;
|
|
7741
|
+
};
|
|
7742
|
+
|
|
7743
|
+
/** An auto-generated type which holds one SubscriptionDiscount and a cursor during pagination. */
|
|
7744
|
+
export type SubscriptionDiscountEdge = {
|
|
7745
|
+
__typename?: 'SubscriptionDiscountEdge';
|
|
7746
|
+
/** The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). */
|
|
7747
|
+
cursor: Scalars['String']['output'];
|
|
7748
|
+
/** The item at the end of SubscriptionDiscountEdge. */
|
|
7749
|
+
node: SubscriptionDiscount;
|
|
7750
|
+
};
|
|
7751
|
+
|
|
7752
|
+
/** The value of the discount and how it will be applied. */
|
|
7753
|
+
export type SubscriptionDiscountFixedAmountValue = {
|
|
7754
|
+
__typename?: 'SubscriptionDiscountFixedAmountValue';
|
|
7755
|
+
/** The fixed amount value of the discount. */
|
|
7756
|
+
amount: MoneyV2;
|
|
7757
|
+
/** Whether the amount is applied per item. */
|
|
7758
|
+
appliesOnEachItem: Scalars['Boolean']['output'];
|
|
7759
|
+
};
|
|
7760
|
+
|
|
7761
|
+
/** The percentage value of the discount. */
|
|
7762
|
+
export type SubscriptionDiscountPercentageValue = {
|
|
7763
|
+
__typename?: 'SubscriptionDiscountPercentageValue';
|
|
7764
|
+
/** The percentage value of the discount. */
|
|
7765
|
+
percentage: Scalars['Int']['output'];
|
|
7766
|
+
};
|
|
7767
|
+
|
|
7768
|
+
/** The value of the discount and how it will be applied. */
|
|
7769
|
+
export type SubscriptionDiscountValue =
|
|
7770
|
+
| SubscriptionDiscountFixedAmountValue
|
|
7771
|
+
| SubscriptionDiscountPercentageValue;
|
|
7772
|
+
|
|
7123
7773
|
/** Defines valid subscription intervals. */
|
|
7124
7774
|
export type SubscriptionInterval =
|
|
7125
7775
|
/** Represents a day interval. */
|
|
@@ -7138,6 +7788,8 @@ export type SubscriptionLine = {
|
|
|
7138
7788
|
currentPrice: MoneyV2;
|
|
7139
7789
|
/** The custom attributes associated with the line item. */
|
|
7140
7790
|
customAttributes: Array<Attribute>;
|
|
7791
|
+
/** Discount allocations. */
|
|
7792
|
+
discountAllocations: Array<SubscriptionDiscountAllocation>;
|
|
7141
7793
|
/** The unique ID of the line item. */
|
|
7142
7794
|
id: Scalars['ID']['output'];
|
|
7143
7795
|
/** The image associated with the product variant. */
|
|
@@ -7371,7 +8023,7 @@ export type TaxExemption =
|
|
|
7371
8023
|
| 'CA_SK_SUB_CONTRACTOR_EXEMPTION'
|
|
7372
8024
|
/** This customer is exempt from specific taxes for holding a valid STATUS_CARD_EXEMPTION in Canada. */
|
|
7373
8025
|
| 'CA_STATUS_CARD_EXEMPTION'
|
|
7374
|
-
/** This customer is exempt from VAT for purchases within the EU that is shipping from outside of customer's country. */
|
|
8026
|
+
/** This customer is exempt from VAT for purchases within the EU that is shipping from outside of customer's country, as well as purchases from the EU to the UK. */
|
|
7375
8027
|
| 'EU_REVERSE_CHARGE_EXEMPTION_RULE'
|
|
7376
8028
|
/** This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Alaska. */
|
|
7377
8029
|
| 'US_AK_RESELLER_EXEMPTION'
|
|
@@ -8127,14 +8779,6 @@ export type UiExtensionMetafield = Node & {
|
|
|
8127
8779
|
valueType: MetafieldValueType;
|
|
8128
8780
|
};
|
|
8129
8781
|
|
|
8130
|
-
/** The input fields for filtering ui extension metafields. */
|
|
8131
|
-
export type UiExtensionMetafieldFilterInput = {
|
|
8132
|
-
/** A metafield key. */
|
|
8133
|
-
key: Scalars['String']['input'];
|
|
8134
|
-
/** A metafield namespace. */
|
|
8135
|
-
namespace: Scalars['String']['input'];
|
|
8136
|
-
};
|
|
8137
|
-
|
|
8138
8782
|
/** A session token for a UI extension. */
|
|
8139
8783
|
export type UiExtensionSessionToken = {
|
|
8140
8784
|
__typename?: 'UiExtensionSessionToken';
|
|
@@ -8255,12 +8899,26 @@ export type UnitPriceMeasurementUnit =
|
|
|
8255
8899
|
| 'CL'
|
|
8256
8900
|
/** 100 centimeters equals 1 meter. */
|
|
8257
8901
|
| 'CM'
|
|
8902
|
+
/** Imperial system unit of volume (U.S. customary unit). */
|
|
8903
|
+
| 'FLOZ'
|
|
8904
|
+
/** 1 foot equals 12 inches. */
|
|
8905
|
+
| 'FT'
|
|
8906
|
+
/** Imperial system unit of area. */
|
|
8907
|
+
| 'FT2'
|
|
8258
8908
|
/** Metric system unit of weight. */
|
|
8259
8909
|
| 'G'
|
|
8910
|
+
/** 1 gallon equals 128 fluid ounces (U.S. customary unit). */
|
|
8911
|
+
| 'GAL'
|
|
8912
|
+
/** Imperial system unit of length. */
|
|
8913
|
+
| 'IN'
|
|
8914
|
+
/** 1 item, a unit of count. */
|
|
8915
|
+
| 'ITEM'
|
|
8260
8916
|
/** 1 kilogram equals 1000 grams. */
|
|
8261
8917
|
| 'KG'
|
|
8262
8918
|
/** Metric system unit of volume. */
|
|
8263
8919
|
| 'L'
|
|
8920
|
+
/** Imperial system unit of weight. */
|
|
8921
|
+
| 'LB'
|
|
8264
8922
|
/** Metric system unit of length. */
|
|
8265
8923
|
| 'M'
|
|
8266
8924
|
/** Metric system unit of area. */
|
|
@@ -8272,7 +8930,17 @@ export type UnitPriceMeasurementUnit =
|
|
|
8272
8930
|
/** 1000 milliliters equals 1 liter. */
|
|
8273
8931
|
| 'ML'
|
|
8274
8932
|
/** 1000 millimeters equals 1 meter. */
|
|
8275
|
-
| 'MM'
|
|
8933
|
+
| 'MM'
|
|
8934
|
+
/** 16 ounces equals 1 pound. */
|
|
8935
|
+
| 'OZ'
|
|
8936
|
+
/** 1 pint equals 16 fluid ounces (U.S. customary unit). */
|
|
8937
|
+
| 'PT'
|
|
8938
|
+
/** 1 quart equals 32 fluid ounces (U.S. customary unit). */
|
|
8939
|
+
| 'QT'
|
|
8940
|
+
/** The unit of measurement is unknown. Upgrade to the latest version of the API to resolve this unit. */
|
|
8941
|
+
| 'UNKNOWN'
|
|
8942
|
+
/** 1 yard equals 36 inches. */
|
|
8943
|
+
| 'YD';
|
|
8276
8944
|
|
|
8277
8945
|
/** This represents new sale types that have been added in future API versions. You may update to a more recent API version to receive additional details about this sale. */
|
|
8278
8946
|
export type UnknownSale = Node &
|
|
@@ -8298,6 +8966,20 @@ export type UnknownSale = Node &
|
|
|
8298
8966
|
totalTaxAmount: MoneyV2;
|
|
8299
8967
|
};
|
|
8300
8968
|
|
|
8969
|
+
/** An unverified return line item. */
|
|
8970
|
+
export type UnverifiedReturnLineItem = Node &
|
|
8971
|
+
ReturnLineItemType & {
|
|
8972
|
+
__typename?: 'UnverifiedReturnLineItem';
|
|
8973
|
+
/** A globally-unique ID. */
|
|
8974
|
+
id: Scalars['ID']['output'];
|
|
8975
|
+
/** The specific line item that's being returned. */
|
|
8976
|
+
lineItem: LineItem;
|
|
8977
|
+
/** The quantity of the line item that's been returned. */
|
|
8978
|
+
quantity: Scalars['Int']['output'];
|
|
8979
|
+
/** The reason for returning the line item. */
|
|
8980
|
+
returnReason: ReturnReason;
|
|
8981
|
+
};
|
|
8982
|
+
|
|
8301
8983
|
/** The error codes for failed business contact mutations. */
|
|
8302
8984
|
export type UserErrorsBusinessContactUserErrors = DisplayableError & {
|
|
8303
8985
|
__typename?: 'UserErrorsBusinessContactUserErrors';
|
|
@@ -8422,6 +9104,8 @@ export type UserErrorsCustomerAddressUserErrorsCode =
|
|
|
8422
9104
|
| 'ADDRESS_ARGUMENT_EMPTY'
|
|
8423
9105
|
/** The provided address ID doesn't exist. */
|
|
8424
9106
|
| 'ADDRESS_ID_DOES_NOT_EXIST'
|
|
9107
|
+
/** Input contains HTML tags. */
|
|
9108
|
+
| 'CONTAINS_HTML_TAGS'
|
|
8425
9109
|
/** The provided country doesn't exist. */
|
|
8426
9110
|
| 'COUNTRY_NOT_EXIST'
|
|
8427
9111
|
/** The provided customer address already exists. */
|
|
@@ -8505,6 +9189,10 @@ export type UserErrorsCustomerUserErrors = DisplayableError & {
|
|
|
8505
9189
|
|
|
8506
9190
|
/** Possible error codes that can be returned by `UserErrorsCustomerUserErrors`. */
|
|
8507
9191
|
export type UserErrorsCustomerUserErrorsCode =
|
|
9192
|
+
/** Input contains HTML tags. */
|
|
9193
|
+
| 'CONTAINS_HTML_TAGS'
|
|
9194
|
+
/** Input contains URL. */
|
|
9195
|
+
| 'CONTAINS_URL'
|
|
8508
9196
|
/** The customer does not exist. */
|
|
8509
9197
|
| 'CUSTOMER_DOES_NOT_EXIST'
|
|
8510
9198
|
/** The personal information input argument is empty. */
|
|
@@ -8579,6 +9267,8 @@ export type UserErrorsPaymentInstrumentUserErrorsCode =
|
|
|
8579
9267
|
| 'PHONE_NUMBER_NOT_VALID'
|
|
8580
9268
|
/** The field is required. */
|
|
8581
9269
|
| 'REQUIRED'
|
|
9270
|
+
/** Saved payment methods is not enabled on this shop. */
|
|
9271
|
+
| 'SAVED_PAYMENT_METHODS_NOT_ENABLED'
|
|
8582
9272
|
/** This test card cannot be used for real transactions. */
|
|
8583
9273
|
| 'TEST_MODE_LIVE_CARD'
|
|
8584
9274
|
/** Address field is too long. */
|
|
@@ -8655,6 +9345,23 @@ export type UserErrorsStorefrontCustomerAccessTokenCreateUserErrorsCode =
|
|
|
8655
9345
|
/** The customer does not exist. */
|
|
8656
9346
|
'CUSTOMER_DOES_NOT_EXIST';
|
|
8657
9347
|
|
|
9348
|
+
/** The error codes for failed Stripe Financial Connections session initiation. */
|
|
9349
|
+
export type UserErrorsStripeFinancialConnectionsSessionUserErrors =
|
|
9350
|
+
DisplayableError & {
|
|
9351
|
+
__typename?: 'UserErrorsStripeFinancialConnectionsSessionUserErrors';
|
|
9352
|
+
/** The error code. */
|
|
9353
|
+
code?: Maybe<UserErrorsStripeFinancialConnectionsSessionUserErrorsCode>;
|
|
9354
|
+
/** The path to the input field that caused the error. */
|
|
9355
|
+
field?: Maybe<Array<Scalars['String']['output']>>;
|
|
9356
|
+
/** The error message. */
|
|
9357
|
+
message: Scalars['String']['output'];
|
|
9358
|
+
};
|
|
9359
|
+
|
|
9360
|
+
/** Possible error codes that can be returned by `UserErrorsStripeFinancialConnectionsSessionUserErrors`. */
|
|
9361
|
+
export type UserErrorsStripeFinancialConnectionsSessionUserErrorsCode =
|
|
9362
|
+
/** Stripe Financial Connections session could not be initiated. */
|
|
9363
|
+
'STRIPE_FINANCIAL_CONNECTIONS_SESSION_ERROR';
|
|
9364
|
+
|
|
8658
9365
|
/** The configuration used for Payment Wallets. */
|
|
8659
9366
|
export type WalletPaymentConfig = ApplePayWalletConfig | GooglePayWalletConfig;
|
|
8660
9367
|
|