From 6553fb73c24dcf2c83e5c060950bc9f9dd142a52 Mon Sep 17 00:00:00 2001 From: matnun-br Date: Mon, 4 May 2026 11:21:57 +1000 Subject: [PATCH 1/2] Update to .Net 10 --- Directory.Build.props | 2 +- .../ShopifyNet.TypeGenerator.csproj | 2 +- ShopifyNet/Generated.cs | 334 +++++++++++++----- ShopifyNet/ShopifyNet.csproj | 4 +- 4 files changed, 250 insertions(+), 92 deletions(-) diff --git a/Directory.Build.props b/Directory.Build.props index f7f0105..e0eed04 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -1,7 +1,7 @@ - net9.0 + net9.0;net10.0 latest enable true diff --git a/ShopifyNet.TypeGenerator/ShopifyNet.TypeGenerator.csproj b/ShopifyNet.TypeGenerator/ShopifyNet.TypeGenerator.csproj index 887c35b..d78a458 100644 --- a/ShopifyNet.TypeGenerator/ShopifyNet.TypeGenerator.csproj +++ b/ShopifyNet.TypeGenerator/ShopifyNet.TypeGenerator.csproj @@ -7,7 +7,7 @@ - + diff --git a/ShopifyNet/Generated.cs b/ShopifyNet/Generated.cs index 389df9b..54c2416 100644 --- a/ShopifyNet/Generated.cs +++ b/ShopifyNet/Generated.cs @@ -5584,6 +5584,11 @@ public enum BillingAttemptUserErrorCode /// [Description("Billing attempt rate limit exceeded - try later.")] THROTTLED, + /// + ///Failed to process the billing attempt. + /// + [Description("Failed to process the billing attempt.")] + PROCESSING_FAILED, } public static class BillingAttemptUserErrorCodeStringValues @@ -5602,6 +5607,7 @@ public static class BillingAttemptUserErrorCodeStringValues public const string CONTRACT_TERMINATED = @"CONTRACT_TERMINATED"; public const string CONTRACT_PAUSED = @"CONTRACT_PAUSED"; public const string THROTTLED = @"THROTTLED"; + public const string PROCESSING_FAILED = @"PROCESSING_FAILED"; } /// @@ -10130,6 +10136,21 @@ public enum CashManagementDefaultReasonCodeEnum /// [Description("Cash payout.")] CASH_PAYOUT, + /// + ///Point of sale device payment session was automatically closed because a staff member logged out. + /// + [Description("Point of sale device payment session was automatically closed because a staff member logged out.")] + AUTO_END_SESSION_LOGOUT, + /// + ///Point of sale device payment session was automatically closed because the device switched to a different location. + /// + [Description("Point of sale device payment session was automatically closed because the device switched to a different location.")] + AUTO_END_SESSION_LOCATION_CHANGE, + /// + ///Point of sale device payment session was automatically opened by a cash payment at checkout. + /// + [Description("Point of sale device payment session was automatically opened by a cash payment at checkout.")] + AUTO_START_SESSION_CHECKOUT, } public static class CashManagementDefaultReasonCodeEnumStringValues @@ -10140,6 +10161,9 @@ public static class CashManagementDefaultReasonCodeEnumStringValues public const string PETTY_CASH = @"PETTY_CASH"; public const string TIP_PAYOUT = @"TIP_PAYOUT"; public const string CASH_PAYOUT = @"CASH_PAYOUT"; + public const string AUTO_END_SESSION_LOGOUT = @"AUTO_END_SESSION_LOGOUT"; + public const string AUTO_END_SESSION_LOCATION_CHANGE = @"AUTO_END_SESSION_LOCATION_CHANGE"; + public const string AUTO_START_SESSION_CHECKOUT = @"AUTO_START_SESSION_CHECKOUT"; } /// @@ -10465,6 +10489,21 @@ public enum CashManagementSystemReasonCodeEnum /// [Description("Other.")] OTHER, + /// + ///Point of sale device payment session was automatically closed because a staff member logged out. + /// + [Description("Point of sale device payment session was automatically closed because a staff member logged out.")] + AUTO_END_SESSION_LOGOUT, + /// + ///Point of sale device payment session was automatically closed because the device switched to a different location. + /// + [Description("Point of sale device payment session was automatically closed because the device switched to a different location.")] + AUTO_END_SESSION_LOCATION_CHANGE, + /// + ///Point of sale device payment session was automatically opened by a cash payment at checkout. + /// + [Description("Point of sale device payment session was automatically opened by a cash payment at checkout.")] + AUTO_START_SESSION_CHECKOUT, } public static class CashManagementSystemReasonCodeEnumStringValues @@ -10472,6 +10511,9 @@ public static class CashManagementSystemReasonCodeEnumStringValues public const string FLOAT_SETUP = @"FLOAT_SETUP"; public const string CASH_PAYOUT = @"CASH_PAYOUT"; public const string OTHER = @"OTHER"; + public const string AUTO_END_SESSION_LOGOUT = @"AUTO_END_SESSION_LOGOUT"; + public const string AUTO_END_SESSION_LOCATION_CHANGE = @"AUTO_END_SESSION_LOCATION_CHANGE"; + public const string AUTO_START_SESSION_CHECKOUT = @"AUTO_START_SESSION_CHECKOUT"; } /// @@ -39823,9 +39865,11 @@ public class DiscountAutomaticAppInput : GraphQLObject - [Description("The\n[discount classes](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat you can use in combination with\n[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types).")] + [Description("The\n[discount classes](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat you can use in combination with\n[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types),\nand the product discount tags that determine which product discounts can apply\ntogether on the same cart line.")] public DiscountCombinesWithInput? combinesWith { get; set; } /// @@ -40152,11 +40196,13 @@ public class DiscountAutomaticBasicInput : GraphQLObject ///The - ///[discount class](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations) + ///[discount classes](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations) ///that you can use in combination with - ///[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types). + ///[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types), + ///and the product discount tags that determine which product discounts can apply + ///together on the same cart line. /// - [Description("The\n[discount class](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat you can use in combination with\n[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types).")] + [Description("The\n[discount classes](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat you can use in combination with\n[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types),\nand the product discount tags that determine which product discounts can apply\ntogether on the same cart line.")] public DiscountCombinesWithInput? combinesWith { get; set; } /// @@ -40475,11 +40521,13 @@ public class DiscountAutomaticBxgyInput : GraphQLObject ///The - ///[discount class](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations) + ///[discount classes](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations) ///that you can use in combination with - ///[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types). + ///[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types), + ///and the product discount tags that determine which product discounts can apply + ///together on the same cart line. /// - [Description("The\n[discount class](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat you can use in combination with\n[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types).")] + [Description("The\n[discount classes](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat you can use in combination with\n[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types),\nand the product discount tags that determine which product discounts can apply\ntogether on the same cart line.")] public DiscountCombinesWithInput? combinesWith { get; set; } /// @@ -41680,9 +41728,11 @@ public class DiscountCodeAppInput : GraphQLObject ///The ///[discount classes](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations) ///that you can use in combination with - ///[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types). + ///[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types), + ///and the product discount tags that determine which product discounts can apply + ///together on the same cart line. /// - [Description("The\n[discount classes](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat you can use in combination with\n[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types).")] + [Description("The\n[discount classes](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat you can use in combination with\n[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types),\nand the product discount tags that determine which product discounts can apply\ntogether on the same cart line.")] public DiscountCombinesWithInput? combinesWith { get; set; } /// @@ -42126,11 +42176,13 @@ public class DiscountCodeBasicInput : GraphQLObject { /// ///The - ///[discount class](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations) + ///[discount classes](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations) ///that you can use in combination with - ///[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types). + ///[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types), + ///and the product discount tags that determine which product discounts can apply + ///together on the same cart line. /// - [Description("The\n[discount class](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat you can use in combination with\n[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types).")] + [Description("The\n[discount classes](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat you can use in combination with\n[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types),\nand the product discount tags that determine which product discounts can apply\ntogether on the same cart line.")] public DiscountCombinesWithInput? combinesWith { get; set; } /// @@ -42546,11 +42598,13 @@ public class DiscountCodeBxgyInput : GraphQLObject { /// ///The - ///[discount class](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations) + ///[discount classes](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations) ///that you can use in combination with - ///[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types). + ///[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types), + ///and the product discount tags that determine which product discounts can apply + ///together on the same cart line. /// - [Description("The\n[discount class](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat you can use in combination with\n[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types).")] + [Description("The\n[discount classes](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat you can use in combination with\n[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types),\nand the product discount tags that determine which product discounts can apply\ntogether on the same cart line.")] public DiscountCombinesWithInput? combinesWith { get; set; } /// @@ -43336,6 +43390,19 @@ public class DiscountCombinesWith : GraphQLObject [NonNull] public bool? productDiscounts { get; set; } + /// + ///The product discount tags that determine which product discounts can apply together on + ///the same cart line. By default, only one product discount applies per cart line. When + ///each of two product discounts lists a tag in this field that matches a tag on the other + ///discount, both discounts can apply to the same cart line. For example, if Discount A + ///lists "SEASONAL" in this field and Discount B is tagged "SEASONAL", and Discount B + ///lists "LOYALTY" in this field and Discount A is tagged "LOYALTY", both discounts can + ///apply to the same cart line. To use this field, `productDiscounts` must also be set to + ///true. This field is available only on a Shopify Plus plan. + /// + [Description("The product discount tags that determine which product discounts can apply together on\nthe same cart line. By default, only one product discount applies per cart line. When\neach of two product discounts lists a tag in this field that matches a tag on the other\ndiscount, both discounts can apply to the same cart line. For example, if Discount A\nlists \"SEASONAL\" in this field and Discount B is tagged \"SEASONAL\", and Discount B\nlists \"LOYALTY\" in this field and Discount A is tagged \"LOYALTY\", both discounts can\napply to the same cart line. To use this field, `productDiscounts` must also be set to\ntrue. This field is available only on a Shopify Plus plan.")] + public IEnumerable? productDiscountsWithTagsOnSameCartLine { get; set; } + /// ///Whether the discount combines with the ///[shipping discount](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations) @@ -43376,6 +43443,19 @@ public class DiscountCombinesWithInput : GraphQLObject [Description("Whether the discount combines\nwith the\n[shipping discount](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nclass.")] public bool? shippingDiscounts { get; set; } + + /// + ///The product discount tags that determine which product discounts can apply together on + ///the same cart line. By default, only one product discount applies per cart line. When + ///each of two product discounts lists a tag in this field that matches a tag on the other + ///discount, both discounts can apply to the same cart line. For example, if Discount A + ///lists "SEASONAL" in this field and Discount B is tagged "SEASONAL", and Discount B + ///lists "LOYALTY" in this field and Discount A is tagged "LOYALTY", both discounts can + ///apply to the same cart line. To use this field, `productDiscounts` must also be set to + ///true. This field is available only on a Shopify Plus plan. + /// + [Description("The product discount tags that determine which product discounts can apply together on\nthe same cart line. By default, only one product discount applies per cart line. When\neach of two product discounts lists a tag in this field that matches a tag on the other\ndiscount, both discounts can apply to the same cart line. For example, if Discount A\nlists \"SEASONAL\" in this field and Discount B is tagged \"SEASONAL\", and Discount B\nlists \"LOYALTY\" in this field and Discount A is tagged \"LOYALTY\", both discounts can\napply to the same cart line. To use this field, `productDiscounts` must also be set to\ntrue. This field is available only on a Shopify Plus plan.")] + public ProductDiscountsWithTagsOnSameCartLineInput? productDiscountsWithTagsOnSameCartLine { get; set; } } /// @@ -44044,6 +44124,31 @@ public enum DiscountErrorCode /// [Description("The number of tags exceeds the maximum of 5.")] TOO_MANY_TAGS, + /// + ///The number of tags in `productDiscountsWithTagsOnSameCartLine` exceeds the maximum of 10. + /// + [Description("The number of tags in `productDiscountsWithTagsOnSameCartLine` exceeds the maximum of 10.")] + TOO_MANY_PRODUCT_DISCOUNTS_WITH_TAGS_ON_SAME_CART_LINE, + /// + ///The `productDiscountsWithTagsOnSameCartLine` field is only valid for discounts with the PRODUCT discount class. + /// + [Description("The `productDiscountsWithTagsOnSameCartLine` field is only valid for discounts with the PRODUCT discount class.")] + INVALID_PRODUCT_DISCOUNTS_WITH_TAGS_ON_SAME_CART_LINE_FOR_DISCOUNT_CLASS, + /// + ///The `productDiscountsWithTagsOnSameCartLine` field can only be specified when `productDiscounts` is true. + /// + [Description("The `productDiscountsWithTagsOnSameCartLine` field can only be specified when `productDiscounts` is true.")] + INVALID_PRODUCT_DISCOUNTS_WITH_TAGS_ON_SAME_CART_LINE_WITHOUT_PRODUCT_DISCOUNTS, + /// + ///The `productDiscounts` field can't be set to false when `productDiscountsWithTagsOnSameCartLine` tags exist on the discount. + /// + [Description("The `productDiscounts` field can't be set to false when `productDiscountsWithTagsOnSameCartLine` tags exist on the discount.")] + INVALID_PRODUCT_DISCOUNTS_FALSE_WITH_EXISTING_TAGS_ON_SAME_CART_LINE, + /// + ///The shop's plan does not allow setting `productDiscountsWithTagsOnSameCartLine`. + /// + [Description("The shop's plan does not allow setting `productDiscountsWithTagsOnSameCartLine`.")] + PRODUCT_DISCOUNTS_WITH_TAGS_ON_SAME_CART_LINE_NOT_ENTITLED, } public static class DiscountErrorCodeStringValues @@ -44081,6 +44186,11 @@ public static class DiscountErrorCodeStringValues public const string MULTIPLE_FUNCTION_IDENTIFIERS = @"MULTIPLE_FUNCTION_IDENTIFIERS"; public const string INVALID_TAG_LENGTH = @"INVALID_TAG_LENGTH"; public const string TOO_MANY_TAGS = @"TOO_MANY_TAGS"; + public const string TOO_MANY_PRODUCT_DISCOUNTS_WITH_TAGS_ON_SAME_CART_LINE = @"TOO_MANY_PRODUCT_DISCOUNTS_WITH_TAGS_ON_SAME_CART_LINE"; + public const string INVALID_PRODUCT_DISCOUNTS_WITH_TAGS_ON_SAME_CART_LINE_FOR_DISCOUNT_CLASS = @"INVALID_PRODUCT_DISCOUNTS_WITH_TAGS_ON_SAME_CART_LINE_FOR_DISCOUNT_CLASS"; + public const string INVALID_PRODUCT_DISCOUNTS_WITH_TAGS_ON_SAME_CART_LINE_WITHOUT_PRODUCT_DISCOUNTS = @"INVALID_PRODUCT_DISCOUNTS_WITH_TAGS_ON_SAME_CART_LINE_WITHOUT_PRODUCT_DISCOUNTS"; + public const string INVALID_PRODUCT_DISCOUNTS_FALSE_WITH_EXISTING_TAGS_ON_SAME_CART_LINE = @"INVALID_PRODUCT_DISCOUNTS_FALSE_WITH_EXISTING_TAGS_ON_SAME_CART_LINE"; + public const string PRODUCT_DISCOUNTS_WITH_TAGS_ON_SAME_CART_LINE_NOT_ENTITLED = @"PRODUCT_DISCOUNTS_WITH_TAGS_ON_SAME_CART_LINE_NOT_ENTITLED"; } /// @@ -50339,6 +50449,11 @@ public enum FilesErrorCode /// [Description("Invalid duplicate resolution mode provided.")] INVALID_DUPLICATE_RESOLUTION_MODE, + /// + ///Media cannot be modified. It is currently being modified by another operation. + /// + [Description("Media cannot be modified. It is currently being modified by another operation.")] + MEDIA_CANNOT_BE_MODIFIED, } public static class FilesErrorCodeStringValues @@ -50371,6 +50486,7 @@ public static class FilesErrorCodeStringValues public const string REFERENCE_TARGET_DOES_NOT_EXIST = @"REFERENCE_TARGET_DOES_NOT_EXIST"; public const string TOO_MANY_FILE_REFERENCE = @"TOO_MANY_FILE_REFERENCE"; public const string INVALID_DUPLICATE_RESOLUTION_MODE = @"INVALID_DUPLICATE_RESOLUTION_MODE"; + public const string MEDIA_CANNOT_BE_MODIFIED = @"MEDIA_CANNOT_BE_MODIFIED"; } /// @@ -80645,9 +80761,9 @@ public class Mutation : GraphQLObject, IMutationRoot public CustomerPaymentMethodCreditCardCreatePayload? customerPaymentMethodCreditCardCreate { get; set; } /// - ///Updates the credit card payment method for a customer. + ///Updates an existing vaulted credit card payment method for a customer, including billing address and card details. Requires a valid cardserver session from a PCI-compliant environment. Use this when a customer's card details have changed (e.g., new expiration date or replacement card) and ongoing subscriptions or saved payment methods need to be updated. /// - [Description("Updates the credit card payment method for a customer.")] + [Description("Updates an existing vaulted credit card payment method for a customer, including billing address and card details. Requires a valid cardserver session from a PCI-compliant environment. Use this when a customer's card details have changed (e.g., new expiration date or replacement card) and ongoing subscriptions or saved payment methods need to be updated.")] public CustomerPaymentMethodCreditCardUpdatePayload? customerPaymentMethodCreditCardUpdate { get; set; } /// @@ -80667,15 +80783,15 @@ public class Mutation : GraphQLObject, IMutationRoot public CustomerPaymentMethodGetUpdateUrlPayload? customerPaymentMethodGetUpdateUrl { get; set; } /// - ///Creates a PayPal billing agreement for a customer. + ///Creates a vaulted PayPal billing agreement for a customer, enabling recurring charges through PayPal. The billing agreement ID (starting with 'B-') must be obtained from PayPal. Once created, this payment method can be used for subscription billing or future order payments without requiring the customer to re-authenticate with PayPal. /// - [Description("Creates a PayPal billing agreement for a customer.")] + [Description("Creates a vaulted PayPal billing agreement for a customer, enabling recurring charges through PayPal. The billing agreement ID (starting with 'B-') must be obtained from PayPal. Once created, this payment method can be used for subscription billing or future order payments without requiring the customer to re-authenticate with PayPal.")] public CustomerPaymentMethodPaypalBillingAgreementCreatePayload? customerPaymentMethodPaypalBillingAgreementCreate { get; set; } /// - ///Updates a PayPal billing agreement for a customer. + ///Updates the billing address associated with a customer's vaulted PayPal billing agreement. Use this when a customer's billing information has changed and their PayPal payment method record in Shopify needs to be updated accordingly. /// - [Description("Updates a PayPal billing agreement for a customer.")] + [Description("Updates the billing address associated with a customer's vaulted PayPal billing agreement. Use this when a customer's billing information has changed and their PayPal payment method record in Shopify needs to be updated accordingly.")] public CustomerPaymentMethodPaypalBillingAgreementUpdatePayload? customerPaymentMethodPaypalBillingAgreementUpdate { get; set; } /// @@ -80689,15 +80805,15 @@ public class Mutation : GraphQLObject, IMutationRoot public CustomerPaymentMethodRemoteCreatePayload? customerPaymentMethodRemoteCreate { get; set; } /// - ///Revokes a customer's payment method. + ///Revokes a customer's vaulted payment method, preventing it from being used for future charges such as subscriptions, draft orders, or other payments. Revocation will fail if the payment method has active subscription contracts. Use this when a customer requests removal of their stored payment information or when a payment method is no longer valid. /// - [Description("Revokes a customer's payment method.")] + [Description("Revokes a customer's vaulted payment method, preventing it from being used for future charges such as subscriptions, draft orders, or other payments. Revocation will fail if the payment method has active subscription contracts. Use this when a customer requests removal of their stored payment information or when a payment method is no longer valid.")] public CustomerPaymentMethodRevokePayload? customerPaymentMethodRevoke { get; set; } /// - ///Sends a link to the customer so they can update a specific payment method. + ///Sends an email to a customer containing a secure link to update a specific vaulted payment method. This is commonly used when a customer's credit card is expiring or has been declined, and they need to provide updated payment details for ongoing subscriptions. The email can be customized with sender and BCC fields. /// - [Description("Sends a link to the customer so they can update a specific payment method.")] + [Description("Sends an email to a customer containing a secure link to update a specific vaulted payment method. This is commonly used when a customer's credit card is expiring or has been declined, and they need to provide updated payment details for ongoing subscriptions. The email can be customized with sender and BCC fields.")] public CustomerPaymentMethodSendUpdateEmailPayload? customerPaymentMethodSendUpdateEmail { get; set; } /// @@ -81264,9 +81380,9 @@ public class Mutation : GraphQLObject, IMutationRoot public DiscountRedeemCodeBulkAddPayload? discountRedeemCodeBulkAdd { get; set; } /// - ///Updates a dispute evidence. + ///Updates the evidence package for a Shopify Payments dispute. Merchants submit evidence — such as shipping confirmations, customer communications, and refund policies — to contest a dispute filed by a cardholder. This mutation updates the evidence fields. /// - [Description("Updates a dispute evidence.")] + [Description("Updates the evidence package for a Shopify Payments dispute. Merchants submit evidence — such as shipping confirmations, customer communications, and refund policies — to contest a dispute filed by a cardholder. This mutation updates the evidence fields.")] public DisputeEvidenceUpdatePayload? disputeEvidenceUpdate { get; set; } /// @@ -84526,21 +84642,21 @@ public class Mutation : GraphQLObject, IMutationRoot public SubscriptionDraftUpdatePayload? subscriptionDraftUpdate { get; set; } /// - ///Adds tags to a resource in the store. Supported resources include [`Order`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Order), [`DraftOrder`](https://shopify.dev/docs/api/admin-graphql/latest/objects/DraftOrder), [`Customer`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Customer), [`Product`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product), and [`Article`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Article). + ///Adds tags to a resource. If the resource type doesn't support tagging, the `id` argument returns a resource-not-found error. /// ///Tags help merchants organize and filter resources. See the [`tags`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/tagsAdd#arguments-tags) argument for supported input formats. /// ///Learn more about [using tags to organize subscription orders](https://shopify.dev/docs/apps/build/purchase-options/subscriptions/fulfillments/sync-orders-subscriptions#order-tagging). /// - [Description("Adds tags to a resource in the store. Supported resources include [`Order`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Order), [`DraftOrder`](https://shopify.dev/docs/api/admin-graphql/latest/objects/DraftOrder), [`Customer`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Customer), [`Product`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product), and [`Article`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Article).\n\nTags help merchants organize and filter resources. See the [`tags`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/tagsAdd#arguments-tags) argument for supported input formats.\n\nLearn more about [using tags to organize subscription orders](https://shopify.dev/docs/apps/build/purchase-options/subscriptions/fulfillments/sync-orders-subscriptions#order-tagging).")] + [Description("Adds tags to a resource. If the resource type doesn't support tagging, the `id` argument returns a resource-not-found error.\n\nTags help merchants organize and filter resources. See the [`tags`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/tagsAdd#arguments-tags) argument for supported input formats.\n\nLearn more about [using tags to organize subscription orders](https://shopify.dev/docs/apps/build/purchase-options/subscriptions/fulfillments/sync-orders-subscriptions#order-tagging).")] public TagsAddPayload? tagsAdd { get; set; } /// - ///Removes tags from an [`Order`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Order), [`DraftOrder`](https://shopify.dev/docs/api/admin-graphql/latest/objects/DraftOrder), [`Customer`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Customer), [`Product`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product), or [`Article`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Article). + ///Removes tags from a resource. If the resource type doesn't support tagging, the `id` argument returns a resource-not-found error. /// ///Tags are searchable keywords that help organize and filter these resources. /// - [Description("Removes tags from an [`Order`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Order), [`DraftOrder`](https://shopify.dev/docs/api/admin-graphql/latest/objects/DraftOrder), [`Customer`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Customer), [`Product`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product), or [`Article`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Article).\n\nTags are searchable keywords that help organize and filter these resources.")] + [Description("Removes tags from a resource. If the resource type doesn't support tagging, the `id` argument returns a resource-not-found error.\n\nTags are searchable keywords that help organize and filter these resources.")] public TagsRemovePayload? tagsRemove { get; set; } /// @@ -88687,6 +88803,11 @@ public enum OrderCreateManualPaymentOrderCreateManualPaymentErrorCode /// [Description("Indicates that the processedAt field is invalid, such as when it references a future date.")] PROCESSED_AT_INVALID, + /// + ///The currency of the amount doesn't match the presentment currency of the order. + /// + [Description("The currency of the amount doesn't match the presentment currency of the order.")] + CURRENCY_MISMATCH, } public static class OrderCreateManualPaymentOrderCreateManualPaymentErrorCodeStringValues @@ -88697,6 +88818,7 @@ public static class OrderCreateManualPaymentOrderCreateManualPaymentErrorCodeStr public const string AMOUNT_EXCEEDS_BALANCE = @"AMOUNT_EXCEEDS_BALANCE"; public const string ORDER_IS_TEMPORARILY_UNAVAILABLE = @"ORDER_IS_TEMPORARILY_UNAVAILABLE"; public const string PROCESSED_AT_INVALID = @"PROCESSED_AT_INVALID"; + public const string CURRENCY_MISMATCH = @"CURRENCY_MISMATCH"; } /// @@ -88965,9 +89087,9 @@ public class OrderCreateOrderInput : GraphQLObject public IEnumerable? transactions { get; set; } /// - ///The ID of the user logged into Shopify POS who processed the order, if applicable. + ///The ID of the user who processed the order, if applicable. /// - [Description("The ID of the user logged into Shopify POS who processed the order, if applicable.")] + [Description("The ID of the user who processed the order, if applicable.")] public string? userId { get; set; } } @@ -91792,25 +91914,31 @@ public class OrderTransaction : GraphQLObject, INode, IStoreCr public bool? test { get; set; } /// - ///Specifies the available amount to capture on the gateway. - ///Only available when an amount is capturable or manually mark as paid. + ///The amount of the original authorization that remains unsettled. + ///During a pending capture, this reflects the full outstanding balance including the pending amount. + ///When no capture is pending, this equals the capturable amount. + ///Only available when an amount is capturable or manually marked as paid. /// - [Description("Specifies the available amount to capture on the gateway.\nOnly available when an amount is capturable or manually mark as paid.")] + [Description("The amount of the original authorization that remains unsettled.\nDuring a pending capture, this reflects the full outstanding balance including the pending amount.\nWhen no capture is pending, this equals the capturable amount.\nOnly available when an amount is capturable or manually marked as paid.")] [Obsolete("Use `totalUnsettledSet` instead.")] public decimal? totalUnsettled { get; set; } /// - ///Specifies the available amount with currency to capture on the gateway in shop and presentment currencies. - ///Only available when an amount is capturable or manually mark as paid. + ///The amount of the original authorization that remains unsettled, in shop and presentment currencies. + ///During a pending capture, this reflects the full outstanding balance including the pending amount. + ///When no capture is pending, this equals the capturable amount. + ///Only available when an amount is capturable or manually marked as paid. /// - [Description("Specifies the available amount with currency to capture on the gateway in shop and presentment currencies.\nOnly available when an amount is capturable or manually mark as paid.")] + [Description("The amount of the original authorization that remains unsettled, in shop and presentment currencies.\nDuring a pending capture, this reflects the full outstanding balance including the pending amount.\nWhen no capture is pending, this equals the capturable amount.\nOnly available when an amount is capturable or manually marked as paid.")] public MoneyBag? totalUnsettledSet { get; set; } /// - ///Specifies the available amount with currency to capture on the gateway. - ///Only available when an amount is capturable or manually mark as paid. + ///The amount with currency of the original authorization that remains unsettled. + ///During a pending capture, this reflects the full outstanding balance including the pending amount. + ///When no capture is pending, this equals the capturable amount. + ///Only available when an amount is capturable or manually marked as paid. /// - [Description("Specifies the available amount with currency to capture on the gateway.\nOnly available when an amount is capturable or manually mark as paid.")] + [Description("The amount with currency of the original authorization that remains unsettled.\nDuring a pending capture, this reflects the full outstanding balance including the pending amount.\nWhen no capture is pending, this equals the capturable amount.\nOnly available when an amount is capturable or manually marked as paid.")] [Obsolete("Use `totalUnsettledSet` instead.")] public MoneyV2? totalUnsettledV2 { get; set; } @@ -94789,9 +94917,9 @@ public enum PointOfSaleDevicePaymentSessionCloseUserErrorCode [Description("Reason code not found.")] REASON_CODE_NOT_FOUND, /// - ///The currency code does not match the point of sale device payment session currency. + ///The currency code does not match the cash drawer currency. /// - [Description("The currency code does not match the point of sale device payment session currency.")] + [Description("The currency code does not match the cash drawer currency.")] CURRENCY_MISMATCH, /// ///Point of sale device has no cash drawer associated with it. @@ -94924,9 +95052,9 @@ public enum PointOfSaleDevicePaymentSessionCountUserErrorCode [Description("Reason code not found.")] REASON_CODE_NOT_FOUND, /// - ///The currency code does not match the point of sale device payment session currency. + ///The currency code does not match the cash drawer currency. /// - [Description("The currency code does not match the point of sale device payment session currency.")] + [Description("The currency code does not match the cash drawer currency.")] CURRENCY_MISMATCH, /// ///Point of sale device has no cash drawer associated with it. @@ -100780,6 +100908,42 @@ public class ProductDeletePayload : GraphQLObject public IEnumerable? userErrors { get; set; } } + /// + ///The product discount tags that determine which product discounts can apply + ///together on the same cart line. By default, only one product discount + ///applies per cart line. When each of two product discounts lists a tag in + ///this field that matches a tag on the other discount, both discounts can + ///apply to the same cart line. For example, if Discount A lists "SEASONAL" + ///in this field and Discount B is tagged "SEASONAL", and Discount B lists + ///"LOYALTY" in this field and Discount A is tagged "LOYALTY", both discounts + ///can apply to the same cart line. To use this field, `productDiscounts` + ///must also be set to true. This field is available only on a Shopify Plus + ///plan. + /// + [Description("The product discount tags that determine which product discounts can apply\ntogether on the same cart line. By default, only one product discount\napplies per cart line. When each of two product discounts lists a tag in\nthis field that matches a tag on the other discount, both discounts can\napply to the same cart line. For example, if Discount A lists \"SEASONAL\"\nin this field and Discount B is tagged \"SEASONAL\", and Discount B lists\n\"LOYALTY\" in this field and Discount A is tagged \"LOYALTY\", both discounts\ncan apply to the same cart line. To use this field, `productDiscounts`\nmust also be set to true. This field is available only on a Shopify Plus\nplan.")] + public class ProductDiscountsWithTagsOnSameCartLineInput : GraphQLObject + { + /// + ///The tags to add to this discount's combination list. When this discount and + ///another product discount share a matching tag, both discounts can apply to + ///the same cart line. For example, adding the tag "SEASONAL" allows this + ///discount to combine with any other product discount that also has the + ///"SEASONAL" tag on the same cart line. + /// + [Description("The tags to add to this discount's combination list. When this discount and\nanother product discount share a matching tag, both discounts can apply to\nthe same cart line. For example, adding the tag \"SEASONAL\" allows this\ndiscount to combine with any other product discount that also has the\n\"SEASONAL\" tag on the same cart line.")] + public IEnumerable? add { get; set; } + + /// + ///The tags to remove from this discount's combination list. When you remove a + ///tag, this discount will no longer combine with product discounts that only + ///have the removed tag. If this discount and another product discount share + ///additional tags after the removal, both discounts can still apply to the + ///same cart line. + /// + [Description("The tags to remove from this discount's combination list. When you remove a\ntag, this discount will no longer combine with product discounts that only\nhave the removed tag. If this discount and another product discount share\nadditional tags after the removal, both discounts can still apply to the\nsame cart line.")] + public IEnumerable? remove { get; set; } + } + /// ///Represents a product duplication job. /// @@ -108586,9 +108750,9 @@ public class QueryRoot : GraphQLObject, IQueryRoot public CustomerMergePreview? customerMergePreview { get; set; } /// - ///Returns a CustomerPaymentMethod resource by its ID. + ///Returns a vaulted customer payment method by its ID, including the instrument type (credit card, PayPal, etc.), billing address, and current status. Optionally includes revoked payment methods. Use this to look up a specific saved payment method for a customer — for example, to check whether a subscription's payment method is still valid or to display stored payment details. /// - [Description("Returns a CustomerPaymentMethod resource by its ID.")] + [Description("Returns a vaulted customer payment method by its ID, including the instrument type (credit card, PayPal, etc.), billing address, and current status. Optionally includes revoked payment methods. Use this to look up a specific saved payment method for a customer — for example, to check whether a subscription's payment method is still valid or to display stored payment details.")] public CustomerPaymentMethod? customerPaymentMethod { get; set; } /// @@ -108751,9 +108915,9 @@ public class QueryRoot : GraphQLObject, IQueryRoot public ShopifyPaymentsDisputeEvidence? disputeEvidence { get; set; } /// - ///All disputes related to the Shop. + ///Returns a paginated list of all Shopify Payments disputes for the shop. Disputes occur when a buyer files a complaint with their payments provider, and the merchant must provide evidence to contest it. Each dispute includes the status, amount, reason, and associated order. Use this to monitor and manage open chargebacks and track dispute resolution outcomes. /// - [Description("All disputes related to the Shop.")] + [Description("Returns a paginated list of all Shopify Payments disputes for the shop. Disputes occur when a buyer files a complaint with their payments provider, and the merchant must provide evidence to contest it. Each dispute includes the status, amount, reason, and associated order. Use this to monitor and manage open chargebacks and track dispute resolution outcomes.")] [NonNull] public ShopifyPaymentsDisputeConnection? disputes { get; set; } @@ -108880,9 +109044,9 @@ public class QueryRoot : GraphQLObject, IQueryRoot public FinanceAppAccessPolicy? financeAppAccessPolicy { get; set; } /// - ///Returns the KYC information for the shop's Shopify Payments account, used in embedded finance apps. + ///Returns Know Your Customer (KYC) information for the shop's Shopify Payments account. KYC data includes verified identity and business details collected during onboarding. This is primarily used by embedded finance apps (e.g., Shopify Balance, Bill Pay) that need to verify the merchant's identity without requiring a separate KYC process. /// - [Description("Returns the KYC information for the shop's Shopify Payments account, used in embedded finance apps.")] + [Description("Returns Know Your Customer (KYC) information for the shop's Shopify Payments account. KYC data includes verified identity and business details collected during onboarding. This is primarily used by embedded finance apps (e.g., Shopify Balance, Bill Pay) that need to verify the merchant's identity without requiring a separate KYC process.")] public FinanceKycInformation? financeKycInformation { get; set; } /// @@ -115667,6 +115831,11 @@ public enum SearchResultType { CUSTOMER, DRAFT_ORDER, + /// + ///An inventory transfer. + /// + [Description("An inventory transfer.")] + INVENTORY_TRANSFER, PRODUCT, COLLECTION, /// @@ -115712,6 +115881,7 @@ public static class SearchResultTypeStringValues { public const string CUSTOMER = @"CUSTOMER"; public const string DRAFT_ORDER = @"DRAFT_ORDER"; + public const string INVENTORY_TRANSFER = @"INVENTORY_TRANSFER"; public const string PRODUCT = @"PRODUCT"; public const string COLLECTION = @"COLLECTION"; public const string FILE = @"FILE"; @@ -121358,6 +121528,11 @@ public enum ShopPayPaymentRequestReceiptProcessingStatusErrorCode [Description("The gateway or merchant configuration doesn't support a feature, such as network tokenization.")] UNSUPPORTED_FEATURE, /// + ///Too many failed CVV verification attempts. + /// + [Description("Too many failed CVV verification attempts.")] + CVV_ATTEMPTS_EXCEEDED, + /// ///There was an unknown error with processing the payment. /// [Description("There was an unknown error with processing the payment.")] @@ -121400,6 +121575,7 @@ public static class ShopPayPaymentRequestReceiptProcessingStatusErrorCodeStringV public const string CONFIG_ERROR = @"CONFIG_ERROR"; public const string TEST_MODE_LIVE_CARD = @"TEST_MODE_LIVE_CARD"; public const string UNSUPPORTED_FEATURE = @"UNSUPPORTED_FEATURE"; + public const string CVV_ATTEMPTS_EXCEEDED = @"CVV_ATTEMPTS_EXCEEDED"; public const string GENERIC_ERROR = @"GENERIC_ERROR"; public const string INVALID_COUNTRY = @"INVALID_COUNTRY"; public const string INVALID_AMOUNT = @"INVALID_AMOUNT"; @@ -121549,9 +121725,9 @@ public class ShopPlan : GraphQLObject public bool? partnerDevelopment { get; set; } /// - ///The public display name of the shop's billing plan. Possible values are: Advanced, Agentic, Agentic Enterprise, Basic, Development, Grow, Inactive, Lite, Other, Paused, Plus, Plus Trial, Retail, Shop Component, Shopify Finance, Staff Business, Starter, and Trial. + ///The public display name of the shop's billing plan. Possible values are: Advanced, Agentic, Agentic Enterprise, Basic, Development, Grow, Inactive, Lite, Other, Paused, Plus, Plus Trial, Retail, Shop Component, Staff Business, Starter, and Trial. /// - [Description("The public display name of the shop's billing plan. Possible values are: Advanced, Agentic, Agentic Enterprise, Basic, Development, Grow, Inactive, Lite, Other, Paused, Plus, Plus Trial, Retail, Shop Component, Shopify Finance, Staff Business, Starter, and Trial.")] + [Description("The public display name of the shop's billing plan. Possible values are: Advanced, Agentic, Agentic Enterprise, Basic, Development, Grow, Inactive, Lite, Other, Paused, Plus, Plus Trial, Retail, Shop Component, Staff Business, Starter, and Trial.")] [NonNull] public string? publicDisplayName { get; set; } @@ -124471,26 +124647,6 @@ public enum ShopifyPaymentsTransactionType [Description("The tax_adjustment_credit_reversal transaction type.")] TAX_ADJUSTMENT_CREDIT_REVERSAL, /// - ///The agentic_fee_tax_debit transaction type. - /// - [Description("The agentic_fee_tax_debit transaction type.")] - AGENTIC_FEE_TAX_DEBIT, - /// - ///The agentic_fee_tax_debit_reversal transaction type. - /// - [Description("The agentic_fee_tax_debit_reversal transaction type.")] - AGENTIC_FEE_TAX_DEBIT_REVERSAL, - /// - ///The agentic_fee_tax_credit transaction type. - /// - [Description("The agentic_fee_tax_credit transaction type.")] - AGENTIC_FEE_TAX_CREDIT, - /// - ///The agentic_fee_tax_credit_reversal transaction type. - /// - [Description("The agentic_fee_tax_credit_reversal transaction type.")] - AGENTIC_FEE_TAX_CREDIT_REVERSAL, - /// ///The billing_debit transaction type. /// [Description("The billing_debit transaction type.")] @@ -124923,10 +125079,6 @@ public static class ShopifyPaymentsTransactionTypeStringValues public const string TAX_ADJUSTMENT_DEBIT_REVERSAL = @"TAX_ADJUSTMENT_DEBIT_REVERSAL"; public const string TAX_ADJUSTMENT_CREDIT = @"TAX_ADJUSTMENT_CREDIT"; public const string TAX_ADJUSTMENT_CREDIT_REVERSAL = @"TAX_ADJUSTMENT_CREDIT_REVERSAL"; - public const string AGENTIC_FEE_TAX_DEBIT = @"AGENTIC_FEE_TAX_DEBIT"; - public const string AGENTIC_FEE_TAX_DEBIT_REVERSAL = @"AGENTIC_FEE_TAX_DEBIT_REVERSAL"; - public const string AGENTIC_FEE_TAX_CREDIT = @"AGENTIC_FEE_TAX_CREDIT"; - public const string AGENTIC_FEE_TAX_CREDIT_REVERSAL = @"AGENTIC_FEE_TAX_CREDIT_REVERSAL"; public const string BILLING_DEBIT = @"BILLING_DEBIT"; public const string BILLING_DEBIT_REVERSAL = @"BILLING_DEBIT_REVERSAL"; public const string SHOP_CASH_CREDIT = @"SHOP_CASH_CREDIT"; @@ -127449,25 +127601,31 @@ public interface IStoreCreditAccountTransactionOrigin : IGraphQLObject public bool? test { get; set; } /// - ///Specifies the available amount to capture on the gateway. - ///Only available when an amount is capturable or manually mark as paid. + ///The amount of the original authorization that remains unsettled. + ///During a pending capture, this reflects the full outstanding balance including the pending amount. + ///When no capture is pending, this equals the capturable amount. + ///Only available when an amount is capturable or manually marked as paid. /// - [Description("Specifies the available amount to capture on the gateway.\nOnly available when an amount is capturable or manually mark as paid.")] + [Description("The amount of the original authorization that remains unsettled.\nDuring a pending capture, this reflects the full outstanding balance including the pending amount.\nWhen no capture is pending, this equals the capturable amount.\nOnly available when an amount is capturable or manually marked as paid.")] [Obsolete("Use `totalUnsettledSet` instead.")] public decimal? totalUnsettled { get; set; } /// - ///Specifies the available amount with currency to capture on the gateway in shop and presentment currencies. - ///Only available when an amount is capturable or manually mark as paid. + ///The amount of the original authorization that remains unsettled, in shop and presentment currencies. + ///During a pending capture, this reflects the full outstanding balance including the pending amount. + ///When no capture is pending, this equals the capturable amount. + ///Only available when an amount is capturable or manually marked as paid. /// - [Description("Specifies the available amount with currency to capture on the gateway in shop and presentment currencies.\nOnly available when an amount is capturable or manually mark as paid.")] + [Description("The amount of the original authorization that remains unsettled, in shop and presentment currencies.\nDuring a pending capture, this reflects the full outstanding balance including the pending amount.\nWhen no capture is pending, this equals the capturable amount.\nOnly available when an amount is capturable or manually marked as paid.")] public MoneyBag? totalUnsettledSet { get; set; } /// - ///Specifies the available amount with currency to capture on the gateway. - ///Only available when an amount is capturable or manually mark as paid. + ///The amount with currency of the original authorization that remains unsettled. + ///During a pending capture, this reflects the full outstanding balance including the pending amount. + ///When no capture is pending, this equals the capturable amount. + ///Only available when an amount is capturable or manually marked as paid. /// - [Description("Specifies the available amount with currency to capture on the gateway.\nOnly available when an amount is capturable or manually mark as paid.")] + [Description("The amount with currency of the original authorization that remains unsettled.\nDuring a pending capture, this reflects the full outstanding balance including the pending amount.\nWhen no capture is pending, this equals the capturable amount.\nOnly available when an amount is capturable or manually marked as paid.")] [Obsolete("Use `totalUnsettledSet` instead.")] public MoneyV2? totalUnsettledV2 { get; set; } diff --git a/ShopifyNet/ShopifyNet.csproj b/ShopifyNet/ShopifyNet.csproj index 56d0540..ba46a46 100644 --- a/ShopifyNet/ShopifyNet.csproj +++ b/ShopifyNet/ShopifyNet.csproj @@ -5,7 +5,7 @@ https://github.com/Wish-Org/ShopifyNet https://github.com/Wish-Org/ShopifyNet .NET utilities for Shopify GraphQL - 2.14.0 + 2.15.0 shopify graphql types classes schema generator strongly typed @@ -19,7 +19,7 @@ - + From 7b28442927a7f2442abc05e5cfdcf4f953339df9 Mon Sep 17 00:00:00 2001 From: matnun-br Date: Mon, 4 May 2026 11:33:59 +1000 Subject: [PATCH 2/2] Updated global.json to reflect SDK version change from 9.0.100 to 10.0.200. Reverted change to Generated.cs --- ShopifyNet/Generated.cs | 334 +++++++++++----------------------------- global.json | 7 +- 2 files changed, 91 insertions(+), 250 deletions(-) diff --git a/ShopifyNet/Generated.cs b/ShopifyNet/Generated.cs index 54c2416..389df9b 100644 --- a/ShopifyNet/Generated.cs +++ b/ShopifyNet/Generated.cs @@ -5584,11 +5584,6 @@ public enum BillingAttemptUserErrorCode /// [Description("Billing attempt rate limit exceeded - try later.")] THROTTLED, - /// - ///Failed to process the billing attempt. - /// - [Description("Failed to process the billing attempt.")] - PROCESSING_FAILED, } public static class BillingAttemptUserErrorCodeStringValues @@ -5607,7 +5602,6 @@ public static class BillingAttemptUserErrorCodeStringValues public const string CONTRACT_TERMINATED = @"CONTRACT_TERMINATED"; public const string CONTRACT_PAUSED = @"CONTRACT_PAUSED"; public const string THROTTLED = @"THROTTLED"; - public const string PROCESSING_FAILED = @"PROCESSING_FAILED"; } /// @@ -10136,21 +10130,6 @@ public enum CashManagementDefaultReasonCodeEnum /// [Description("Cash payout.")] CASH_PAYOUT, - /// - ///Point of sale device payment session was automatically closed because a staff member logged out. - /// - [Description("Point of sale device payment session was automatically closed because a staff member logged out.")] - AUTO_END_SESSION_LOGOUT, - /// - ///Point of sale device payment session was automatically closed because the device switched to a different location. - /// - [Description("Point of sale device payment session was automatically closed because the device switched to a different location.")] - AUTO_END_SESSION_LOCATION_CHANGE, - /// - ///Point of sale device payment session was automatically opened by a cash payment at checkout. - /// - [Description("Point of sale device payment session was automatically opened by a cash payment at checkout.")] - AUTO_START_SESSION_CHECKOUT, } public static class CashManagementDefaultReasonCodeEnumStringValues @@ -10161,9 +10140,6 @@ public static class CashManagementDefaultReasonCodeEnumStringValues public const string PETTY_CASH = @"PETTY_CASH"; public const string TIP_PAYOUT = @"TIP_PAYOUT"; public const string CASH_PAYOUT = @"CASH_PAYOUT"; - public const string AUTO_END_SESSION_LOGOUT = @"AUTO_END_SESSION_LOGOUT"; - public const string AUTO_END_SESSION_LOCATION_CHANGE = @"AUTO_END_SESSION_LOCATION_CHANGE"; - public const string AUTO_START_SESSION_CHECKOUT = @"AUTO_START_SESSION_CHECKOUT"; } /// @@ -10489,21 +10465,6 @@ public enum CashManagementSystemReasonCodeEnum /// [Description("Other.")] OTHER, - /// - ///Point of sale device payment session was automatically closed because a staff member logged out. - /// - [Description("Point of sale device payment session was automatically closed because a staff member logged out.")] - AUTO_END_SESSION_LOGOUT, - /// - ///Point of sale device payment session was automatically closed because the device switched to a different location. - /// - [Description("Point of sale device payment session was automatically closed because the device switched to a different location.")] - AUTO_END_SESSION_LOCATION_CHANGE, - /// - ///Point of sale device payment session was automatically opened by a cash payment at checkout. - /// - [Description("Point of sale device payment session was automatically opened by a cash payment at checkout.")] - AUTO_START_SESSION_CHECKOUT, } public static class CashManagementSystemReasonCodeEnumStringValues @@ -10511,9 +10472,6 @@ public static class CashManagementSystemReasonCodeEnumStringValues public const string FLOAT_SETUP = @"FLOAT_SETUP"; public const string CASH_PAYOUT = @"CASH_PAYOUT"; public const string OTHER = @"OTHER"; - public const string AUTO_END_SESSION_LOGOUT = @"AUTO_END_SESSION_LOGOUT"; - public const string AUTO_END_SESSION_LOCATION_CHANGE = @"AUTO_END_SESSION_LOCATION_CHANGE"; - public const string AUTO_START_SESSION_CHECKOUT = @"AUTO_START_SESSION_CHECKOUT"; } /// @@ -39865,11 +39823,9 @@ public class DiscountAutomaticAppInput : GraphQLObject - [Description("The\n[discount classes](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat you can use in combination with\n[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types),\nand the product discount tags that determine which product discounts can apply\ntogether on the same cart line.")] + [Description("The\n[discount classes](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat you can use in combination with\n[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types).")] public DiscountCombinesWithInput? combinesWith { get; set; } /// @@ -40196,13 +40152,11 @@ public class DiscountAutomaticBasicInput : GraphQLObject ///The - ///[discount classes](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations) + ///[discount class](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations) ///that you can use in combination with - ///[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types), - ///and the product discount tags that determine which product discounts can apply - ///together on the same cart line. + ///[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types). /// - [Description("The\n[discount classes](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat you can use in combination with\n[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types),\nand the product discount tags that determine which product discounts can apply\ntogether on the same cart line.")] + [Description("The\n[discount class](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat you can use in combination with\n[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types).")] public DiscountCombinesWithInput? combinesWith { get; set; } /// @@ -40521,13 +40475,11 @@ public class DiscountAutomaticBxgyInput : GraphQLObject ///The - ///[discount classes](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations) + ///[discount class](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations) ///that you can use in combination with - ///[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types), - ///and the product discount tags that determine which product discounts can apply - ///together on the same cart line. + ///[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types). /// - [Description("The\n[discount classes](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat you can use in combination with\n[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types),\nand the product discount tags that determine which product discounts can apply\ntogether on the same cart line.")] + [Description("The\n[discount class](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat you can use in combination with\n[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types).")] public DiscountCombinesWithInput? combinesWith { get; set; } /// @@ -41728,11 +41680,9 @@ public class DiscountCodeAppInput : GraphQLObject ///The ///[discount classes](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations) ///that you can use in combination with - ///[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types), - ///and the product discount tags that determine which product discounts can apply - ///together on the same cart line. + ///[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types). /// - [Description("The\n[discount classes](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat you can use in combination with\n[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types),\nand the product discount tags that determine which product discounts can apply\ntogether on the same cart line.")] + [Description("The\n[discount classes](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat you can use in combination with\n[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types).")] public DiscountCombinesWithInput? combinesWith { get; set; } /// @@ -42176,13 +42126,11 @@ public class DiscountCodeBasicInput : GraphQLObject { /// ///The - ///[discount classes](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations) + ///[discount class](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations) ///that you can use in combination with - ///[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types), - ///and the product discount tags that determine which product discounts can apply - ///together on the same cart line. + ///[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types). /// - [Description("The\n[discount classes](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat you can use in combination with\n[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types),\nand the product discount tags that determine which product discounts can apply\ntogether on the same cart line.")] + [Description("The\n[discount class](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat you can use in combination with\n[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types).")] public DiscountCombinesWithInput? combinesWith { get; set; } /// @@ -42598,13 +42546,11 @@ public class DiscountCodeBxgyInput : GraphQLObject { /// ///The - ///[discount classes](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations) + ///[discount class](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations) ///that you can use in combination with - ///[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types), - ///and the product discount tags that determine which product discounts can apply - ///together on the same cart line. + ///[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types). /// - [Description("The\n[discount classes](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat you can use in combination with\n[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types),\nand the product discount tags that determine which product discounts can apply\ntogether on the same cart line.")] + [Description("The\n[discount class](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat you can use in combination with\n[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types).")] public DiscountCombinesWithInput? combinesWith { get; set; } /// @@ -43390,19 +43336,6 @@ public class DiscountCombinesWith : GraphQLObject [NonNull] public bool? productDiscounts { get; set; } - /// - ///The product discount tags that determine which product discounts can apply together on - ///the same cart line. By default, only one product discount applies per cart line. When - ///each of two product discounts lists a tag in this field that matches a tag on the other - ///discount, both discounts can apply to the same cart line. For example, if Discount A - ///lists "SEASONAL" in this field and Discount B is tagged "SEASONAL", and Discount B - ///lists "LOYALTY" in this field and Discount A is tagged "LOYALTY", both discounts can - ///apply to the same cart line. To use this field, `productDiscounts` must also be set to - ///true. This field is available only on a Shopify Plus plan. - /// - [Description("The product discount tags that determine which product discounts can apply together on\nthe same cart line. By default, only one product discount applies per cart line. When\neach of two product discounts lists a tag in this field that matches a tag on the other\ndiscount, both discounts can apply to the same cart line. For example, if Discount A\nlists \"SEASONAL\" in this field and Discount B is tagged \"SEASONAL\", and Discount B\nlists \"LOYALTY\" in this field and Discount A is tagged \"LOYALTY\", both discounts can\napply to the same cart line. To use this field, `productDiscounts` must also be set to\ntrue. This field is available only on a Shopify Plus plan.")] - public IEnumerable? productDiscountsWithTagsOnSameCartLine { get; set; } - /// ///Whether the discount combines with the ///[shipping discount](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations) @@ -43443,19 +43376,6 @@ public class DiscountCombinesWithInput : GraphQLObject [Description("Whether the discount combines\nwith the\n[shipping discount](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nclass.")] public bool? shippingDiscounts { get; set; } - - /// - ///The product discount tags that determine which product discounts can apply together on - ///the same cart line. By default, only one product discount applies per cart line. When - ///each of two product discounts lists a tag in this field that matches a tag on the other - ///discount, both discounts can apply to the same cart line. For example, if Discount A - ///lists "SEASONAL" in this field and Discount B is tagged "SEASONAL", and Discount B - ///lists "LOYALTY" in this field and Discount A is tagged "LOYALTY", both discounts can - ///apply to the same cart line. To use this field, `productDiscounts` must also be set to - ///true. This field is available only on a Shopify Plus plan. - /// - [Description("The product discount tags that determine which product discounts can apply together on\nthe same cart line. By default, only one product discount applies per cart line. When\neach of two product discounts lists a tag in this field that matches a tag on the other\ndiscount, both discounts can apply to the same cart line. For example, if Discount A\nlists \"SEASONAL\" in this field and Discount B is tagged \"SEASONAL\", and Discount B\nlists \"LOYALTY\" in this field and Discount A is tagged \"LOYALTY\", both discounts can\napply to the same cart line. To use this field, `productDiscounts` must also be set to\ntrue. This field is available only on a Shopify Plus plan.")] - public ProductDiscountsWithTagsOnSameCartLineInput? productDiscountsWithTagsOnSameCartLine { get; set; } } /// @@ -44124,31 +44044,6 @@ public enum DiscountErrorCode /// [Description("The number of tags exceeds the maximum of 5.")] TOO_MANY_TAGS, - /// - ///The number of tags in `productDiscountsWithTagsOnSameCartLine` exceeds the maximum of 10. - /// - [Description("The number of tags in `productDiscountsWithTagsOnSameCartLine` exceeds the maximum of 10.")] - TOO_MANY_PRODUCT_DISCOUNTS_WITH_TAGS_ON_SAME_CART_LINE, - /// - ///The `productDiscountsWithTagsOnSameCartLine` field is only valid for discounts with the PRODUCT discount class. - /// - [Description("The `productDiscountsWithTagsOnSameCartLine` field is only valid for discounts with the PRODUCT discount class.")] - INVALID_PRODUCT_DISCOUNTS_WITH_TAGS_ON_SAME_CART_LINE_FOR_DISCOUNT_CLASS, - /// - ///The `productDiscountsWithTagsOnSameCartLine` field can only be specified when `productDiscounts` is true. - /// - [Description("The `productDiscountsWithTagsOnSameCartLine` field can only be specified when `productDiscounts` is true.")] - INVALID_PRODUCT_DISCOUNTS_WITH_TAGS_ON_SAME_CART_LINE_WITHOUT_PRODUCT_DISCOUNTS, - /// - ///The `productDiscounts` field can't be set to false when `productDiscountsWithTagsOnSameCartLine` tags exist on the discount. - /// - [Description("The `productDiscounts` field can't be set to false when `productDiscountsWithTagsOnSameCartLine` tags exist on the discount.")] - INVALID_PRODUCT_DISCOUNTS_FALSE_WITH_EXISTING_TAGS_ON_SAME_CART_LINE, - /// - ///The shop's plan does not allow setting `productDiscountsWithTagsOnSameCartLine`. - /// - [Description("The shop's plan does not allow setting `productDiscountsWithTagsOnSameCartLine`.")] - PRODUCT_DISCOUNTS_WITH_TAGS_ON_SAME_CART_LINE_NOT_ENTITLED, } public static class DiscountErrorCodeStringValues @@ -44186,11 +44081,6 @@ public static class DiscountErrorCodeStringValues public const string MULTIPLE_FUNCTION_IDENTIFIERS = @"MULTIPLE_FUNCTION_IDENTIFIERS"; public const string INVALID_TAG_LENGTH = @"INVALID_TAG_LENGTH"; public const string TOO_MANY_TAGS = @"TOO_MANY_TAGS"; - public const string TOO_MANY_PRODUCT_DISCOUNTS_WITH_TAGS_ON_SAME_CART_LINE = @"TOO_MANY_PRODUCT_DISCOUNTS_WITH_TAGS_ON_SAME_CART_LINE"; - public const string INVALID_PRODUCT_DISCOUNTS_WITH_TAGS_ON_SAME_CART_LINE_FOR_DISCOUNT_CLASS = @"INVALID_PRODUCT_DISCOUNTS_WITH_TAGS_ON_SAME_CART_LINE_FOR_DISCOUNT_CLASS"; - public const string INVALID_PRODUCT_DISCOUNTS_WITH_TAGS_ON_SAME_CART_LINE_WITHOUT_PRODUCT_DISCOUNTS = @"INVALID_PRODUCT_DISCOUNTS_WITH_TAGS_ON_SAME_CART_LINE_WITHOUT_PRODUCT_DISCOUNTS"; - public const string INVALID_PRODUCT_DISCOUNTS_FALSE_WITH_EXISTING_TAGS_ON_SAME_CART_LINE = @"INVALID_PRODUCT_DISCOUNTS_FALSE_WITH_EXISTING_TAGS_ON_SAME_CART_LINE"; - public const string PRODUCT_DISCOUNTS_WITH_TAGS_ON_SAME_CART_LINE_NOT_ENTITLED = @"PRODUCT_DISCOUNTS_WITH_TAGS_ON_SAME_CART_LINE_NOT_ENTITLED"; } /// @@ -50449,11 +50339,6 @@ public enum FilesErrorCode /// [Description("Invalid duplicate resolution mode provided.")] INVALID_DUPLICATE_RESOLUTION_MODE, - /// - ///Media cannot be modified. It is currently being modified by another operation. - /// - [Description("Media cannot be modified. It is currently being modified by another operation.")] - MEDIA_CANNOT_BE_MODIFIED, } public static class FilesErrorCodeStringValues @@ -50486,7 +50371,6 @@ public static class FilesErrorCodeStringValues public const string REFERENCE_TARGET_DOES_NOT_EXIST = @"REFERENCE_TARGET_DOES_NOT_EXIST"; public const string TOO_MANY_FILE_REFERENCE = @"TOO_MANY_FILE_REFERENCE"; public const string INVALID_DUPLICATE_RESOLUTION_MODE = @"INVALID_DUPLICATE_RESOLUTION_MODE"; - public const string MEDIA_CANNOT_BE_MODIFIED = @"MEDIA_CANNOT_BE_MODIFIED"; } /// @@ -80761,9 +80645,9 @@ public class Mutation : GraphQLObject, IMutationRoot public CustomerPaymentMethodCreditCardCreatePayload? customerPaymentMethodCreditCardCreate { get; set; } /// - ///Updates an existing vaulted credit card payment method for a customer, including billing address and card details. Requires a valid cardserver session from a PCI-compliant environment. Use this when a customer's card details have changed (e.g., new expiration date or replacement card) and ongoing subscriptions or saved payment methods need to be updated. + ///Updates the credit card payment method for a customer. /// - [Description("Updates an existing vaulted credit card payment method for a customer, including billing address and card details. Requires a valid cardserver session from a PCI-compliant environment. Use this when a customer's card details have changed (e.g., new expiration date or replacement card) and ongoing subscriptions or saved payment methods need to be updated.")] + [Description("Updates the credit card payment method for a customer.")] public CustomerPaymentMethodCreditCardUpdatePayload? customerPaymentMethodCreditCardUpdate { get; set; } /// @@ -80783,15 +80667,15 @@ public class Mutation : GraphQLObject, IMutationRoot public CustomerPaymentMethodGetUpdateUrlPayload? customerPaymentMethodGetUpdateUrl { get; set; } /// - ///Creates a vaulted PayPal billing agreement for a customer, enabling recurring charges through PayPal. The billing agreement ID (starting with 'B-') must be obtained from PayPal. Once created, this payment method can be used for subscription billing or future order payments without requiring the customer to re-authenticate with PayPal. + ///Creates a PayPal billing agreement for a customer. /// - [Description("Creates a vaulted PayPal billing agreement for a customer, enabling recurring charges through PayPal. The billing agreement ID (starting with 'B-') must be obtained from PayPal. Once created, this payment method can be used for subscription billing or future order payments without requiring the customer to re-authenticate with PayPal.")] + [Description("Creates a PayPal billing agreement for a customer.")] public CustomerPaymentMethodPaypalBillingAgreementCreatePayload? customerPaymentMethodPaypalBillingAgreementCreate { get; set; } /// - ///Updates the billing address associated with a customer's vaulted PayPal billing agreement. Use this when a customer's billing information has changed and their PayPal payment method record in Shopify needs to be updated accordingly. + ///Updates a PayPal billing agreement for a customer. /// - [Description("Updates the billing address associated with a customer's vaulted PayPal billing agreement. Use this when a customer's billing information has changed and their PayPal payment method record in Shopify needs to be updated accordingly.")] + [Description("Updates a PayPal billing agreement for a customer.")] public CustomerPaymentMethodPaypalBillingAgreementUpdatePayload? customerPaymentMethodPaypalBillingAgreementUpdate { get; set; } /// @@ -80805,15 +80689,15 @@ public class Mutation : GraphQLObject, IMutationRoot public CustomerPaymentMethodRemoteCreatePayload? customerPaymentMethodRemoteCreate { get; set; } /// - ///Revokes a customer's vaulted payment method, preventing it from being used for future charges such as subscriptions, draft orders, or other payments. Revocation will fail if the payment method has active subscription contracts. Use this when a customer requests removal of their stored payment information or when a payment method is no longer valid. + ///Revokes a customer's payment method. /// - [Description("Revokes a customer's vaulted payment method, preventing it from being used for future charges such as subscriptions, draft orders, or other payments. Revocation will fail if the payment method has active subscription contracts. Use this when a customer requests removal of their stored payment information or when a payment method is no longer valid.")] + [Description("Revokes a customer's payment method.")] public CustomerPaymentMethodRevokePayload? customerPaymentMethodRevoke { get; set; } /// - ///Sends an email to a customer containing a secure link to update a specific vaulted payment method. This is commonly used when a customer's credit card is expiring or has been declined, and they need to provide updated payment details for ongoing subscriptions. The email can be customized with sender and BCC fields. + ///Sends a link to the customer so they can update a specific payment method. /// - [Description("Sends an email to a customer containing a secure link to update a specific vaulted payment method. This is commonly used when a customer's credit card is expiring or has been declined, and they need to provide updated payment details for ongoing subscriptions. The email can be customized with sender and BCC fields.")] + [Description("Sends a link to the customer so they can update a specific payment method.")] public CustomerPaymentMethodSendUpdateEmailPayload? customerPaymentMethodSendUpdateEmail { get; set; } /// @@ -81380,9 +81264,9 @@ public class Mutation : GraphQLObject, IMutationRoot public DiscountRedeemCodeBulkAddPayload? discountRedeemCodeBulkAdd { get; set; } /// - ///Updates the evidence package for a Shopify Payments dispute. Merchants submit evidence — such as shipping confirmations, customer communications, and refund policies — to contest a dispute filed by a cardholder. This mutation updates the evidence fields. + ///Updates a dispute evidence. /// - [Description("Updates the evidence package for a Shopify Payments dispute. Merchants submit evidence — such as shipping confirmations, customer communications, and refund policies — to contest a dispute filed by a cardholder. This mutation updates the evidence fields.")] + [Description("Updates a dispute evidence.")] public DisputeEvidenceUpdatePayload? disputeEvidenceUpdate { get; set; } /// @@ -84642,21 +84526,21 @@ public class Mutation : GraphQLObject, IMutationRoot public SubscriptionDraftUpdatePayload? subscriptionDraftUpdate { get; set; } /// - ///Adds tags to a resource. If the resource type doesn't support tagging, the `id` argument returns a resource-not-found error. + ///Adds tags to a resource in the store. Supported resources include [`Order`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Order), [`DraftOrder`](https://shopify.dev/docs/api/admin-graphql/latest/objects/DraftOrder), [`Customer`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Customer), [`Product`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product), and [`Article`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Article). /// ///Tags help merchants organize and filter resources. See the [`tags`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/tagsAdd#arguments-tags) argument for supported input formats. /// ///Learn more about [using tags to organize subscription orders](https://shopify.dev/docs/apps/build/purchase-options/subscriptions/fulfillments/sync-orders-subscriptions#order-tagging). /// - [Description("Adds tags to a resource. If the resource type doesn't support tagging, the `id` argument returns a resource-not-found error.\n\nTags help merchants organize and filter resources. See the [`tags`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/tagsAdd#arguments-tags) argument for supported input formats.\n\nLearn more about [using tags to organize subscription orders](https://shopify.dev/docs/apps/build/purchase-options/subscriptions/fulfillments/sync-orders-subscriptions#order-tagging).")] + [Description("Adds tags to a resource in the store. Supported resources include [`Order`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Order), [`DraftOrder`](https://shopify.dev/docs/api/admin-graphql/latest/objects/DraftOrder), [`Customer`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Customer), [`Product`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product), and [`Article`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Article).\n\nTags help merchants organize and filter resources. See the [`tags`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/tagsAdd#arguments-tags) argument for supported input formats.\n\nLearn more about [using tags to organize subscription orders](https://shopify.dev/docs/apps/build/purchase-options/subscriptions/fulfillments/sync-orders-subscriptions#order-tagging).")] public TagsAddPayload? tagsAdd { get; set; } /// - ///Removes tags from a resource. If the resource type doesn't support tagging, the `id` argument returns a resource-not-found error. + ///Removes tags from an [`Order`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Order), [`DraftOrder`](https://shopify.dev/docs/api/admin-graphql/latest/objects/DraftOrder), [`Customer`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Customer), [`Product`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product), or [`Article`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Article). /// ///Tags are searchable keywords that help organize and filter these resources. /// - [Description("Removes tags from a resource. If the resource type doesn't support tagging, the `id` argument returns a resource-not-found error.\n\nTags are searchable keywords that help organize and filter these resources.")] + [Description("Removes tags from an [`Order`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Order), [`DraftOrder`](https://shopify.dev/docs/api/admin-graphql/latest/objects/DraftOrder), [`Customer`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Customer), [`Product`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product), or [`Article`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Article).\n\nTags are searchable keywords that help organize and filter these resources.")] public TagsRemovePayload? tagsRemove { get; set; } /// @@ -88803,11 +88687,6 @@ public enum OrderCreateManualPaymentOrderCreateManualPaymentErrorCode /// [Description("Indicates that the processedAt field is invalid, such as when it references a future date.")] PROCESSED_AT_INVALID, - /// - ///The currency of the amount doesn't match the presentment currency of the order. - /// - [Description("The currency of the amount doesn't match the presentment currency of the order.")] - CURRENCY_MISMATCH, } public static class OrderCreateManualPaymentOrderCreateManualPaymentErrorCodeStringValues @@ -88818,7 +88697,6 @@ public static class OrderCreateManualPaymentOrderCreateManualPaymentErrorCodeStr public const string AMOUNT_EXCEEDS_BALANCE = @"AMOUNT_EXCEEDS_BALANCE"; public const string ORDER_IS_TEMPORARILY_UNAVAILABLE = @"ORDER_IS_TEMPORARILY_UNAVAILABLE"; public const string PROCESSED_AT_INVALID = @"PROCESSED_AT_INVALID"; - public const string CURRENCY_MISMATCH = @"CURRENCY_MISMATCH"; } /// @@ -89087,9 +88965,9 @@ public class OrderCreateOrderInput : GraphQLObject public IEnumerable? transactions { get; set; } /// - ///The ID of the user who processed the order, if applicable. + ///The ID of the user logged into Shopify POS who processed the order, if applicable. /// - [Description("The ID of the user who processed the order, if applicable.")] + [Description("The ID of the user logged into Shopify POS who processed the order, if applicable.")] public string? userId { get; set; } } @@ -91914,31 +91792,25 @@ public class OrderTransaction : GraphQLObject, INode, IStoreCr public bool? test { get; set; } /// - ///The amount of the original authorization that remains unsettled. - ///During a pending capture, this reflects the full outstanding balance including the pending amount. - ///When no capture is pending, this equals the capturable amount. - ///Only available when an amount is capturable or manually marked as paid. + ///Specifies the available amount to capture on the gateway. + ///Only available when an amount is capturable or manually mark as paid. /// - [Description("The amount of the original authorization that remains unsettled.\nDuring a pending capture, this reflects the full outstanding balance including the pending amount.\nWhen no capture is pending, this equals the capturable amount.\nOnly available when an amount is capturable or manually marked as paid.")] + [Description("Specifies the available amount to capture on the gateway.\nOnly available when an amount is capturable or manually mark as paid.")] [Obsolete("Use `totalUnsettledSet` instead.")] public decimal? totalUnsettled { get; set; } /// - ///The amount of the original authorization that remains unsettled, in shop and presentment currencies. - ///During a pending capture, this reflects the full outstanding balance including the pending amount. - ///When no capture is pending, this equals the capturable amount. - ///Only available when an amount is capturable or manually marked as paid. + ///Specifies the available amount with currency to capture on the gateway in shop and presentment currencies. + ///Only available when an amount is capturable or manually mark as paid. /// - [Description("The amount of the original authorization that remains unsettled, in shop and presentment currencies.\nDuring a pending capture, this reflects the full outstanding balance including the pending amount.\nWhen no capture is pending, this equals the capturable amount.\nOnly available when an amount is capturable or manually marked as paid.")] + [Description("Specifies the available amount with currency to capture on the gateway in shop and presentment currencies.\nOnly available when an amount is capturable or manually mark as paid.")] public MoneyBag? totalUnsettledSet { get; set; } /// - ///The amount with currency of the original authorization that remains unsettled. - ///During a pending capture, this reflects the full outstanding balance including the pending amount. - ///When no capture is pending, this equals the capturable amount. - ///Only available when an amount is capturable or manually marked as paid. + ///Specifies the available amount with currency to capture on the gateway. + ///Only available when an amount is capturable or manually mark as paid. /// - [Description("The amount with currency of the original authorization that remains unsettled.\nDuring a pending capture, this reflects the full outstanding balance including the pending amount.\nWhen no capture is pending, this equals the capturable amount.\nOnly available when an amount is capturable or manually marked as paid.")] + [Description("Specifies the available amount with currency to capture on the gateway.\nOnly available when an amount is capturable or manually mark as paid.")] [Obsolete("Use `totalUnsettledSet` instead.")] public MoneyV2? totalUnsettledV2 { get; set; } @@ -94917,9 +94789,9 @@ public enum PointOfSaleDevicePaymentSessionCloseUserErrorCode [Description("Reason code not found.")] REASON_CODE_NOT_FOUND, /// - ///The currency code does not match the cash drawer currency. + ///The currency code does not match the point of sale device payment session currency. /// - [Description("The currency code does not match the cash drawer currency.")] + [Description("The currency code does not match the point of sale device payment session currency.")] CURRENCY_MISMATCH, /// ///Point of sale device has no cash drawer associated with it. @@ -95052,9 +94924,9 @@ public enum PointOfSaleDevicePaymentSessionCountUserErrorCode [Description("Reason code not found.")] REASON_CODE_NOT_FOUND, /// - ///The currency code does not match the cash drawer currency. + ///The currency code does not match the point of sale device payment session currency. /// - [Description("The currency code does not match the cash drawer currency.")] + [Description("The currency code does not match the point of sale device payment session currency.")] CURRENCY_MISMATCH, /// ///Point of sale device has no cash drawer associated with it. @@ -100908,42 +100780,6 @@ public class ProductDeletePayload : GraphQLObject public IEnumerable? userErrors { get; set; } } - /// - ///The product discount tags that determine which product discounts can apply - ///together on the same cart line. By default, only one product discount - ///applies per cart line. When each of two product discounts lists a tag in - ///this field that matches a tag on the other discount, both discounts can - ///apply to the same cart line. For example, if Discount A lists "SEASONAL" - ///in this field and Discount B is tagged "SEASONAL", and Discount B lists - ///"LOYALTY" in this field and Discount A is tagged "LOYALTY", both discounts - ///can apply to the same cart line. To use this field, `productDiscounts` - ///must also be set to true. This field is available only on a Shopify Plus - ///plan. - /// - [Description("The product discount tags that determine which product discounts can apply\ntogether on the same cart line. By default, only one product discount\napplies per cart line. When each of two product discounts lists a tag in\nthis field that matches a tag on the other discount, both discounts can\napply to the same cart line. For example, if Discount A lists \"SEASONAL\"\nin this field and Discount B is tagged \"SEASONAL\", and Discount B lists\n\"LOYALTY\" in this field and Discount A is tagged \"LOYALTY\", both discounts\ncan apply to the same cart line. To use this field, `productDiscounts`\nmust also be set to true. This field is available only on a Shopify Plus\nplan.")] - public class ProductDiscountsWithTagsOnSameCartLineInput : GraphQLObject - { - /// - ///The tags to add to this discount's combination list. When this discount and - ///another product discount share a matching tag, both discounts can apply to - ///the same cart line. For example, adding the tag "SEASONAL" allows this - ///discount to combine with any other product discount that also has the - ///"SEASONAL" tag on the same cart line. - /// - [Description("The tags to add to this discount's combination list. When this discount and\nanother product discount share a matching tag, both discounts can apply to\nthe same cart line. For example, adding the tag \"SEASONAL\" allows this\ndiscount to combine with any other product discount that also has the\n\"SEASONAL\" tag on the same cart line.")] - public IEnumerable? add { get; set; } - - /// - ///The tags to remove from this discount's combination list. When you remove a - ///tag, this discount will no longer combine with product discounts that only - ///have the removed tag. If this discount and another product discount share - ///additional tags after the removal, both discounts can still apply to the - ///same cart line. - /// - [Description("The tags to remove from this discount's combination list. When you remove a\ntag, this discount will no longer combine with product discounts that only\nhave the removed tag. If this discount and another product discount share\nadditional tags after the removal, both discounts can still apply to the\nsame cart line.")] - public IEnumerable? remove { get; set; } - } - /// ///Represents a product duplication job. /// @@ -108750,9 +108586,9 @@ public class QueryRoot : GraphQLObject, IQueryRoot public CustomerMergePreview? customerMergePreview { get; set; } /// - ///Returns a vaulted customer payment method by its ID, including the instrument type (credit card, PayPal, etc.), billing address, and current status. Optionally includes revoked payment methods. Use this to look up a specific saved payment method for a customer — for example, to check whether a subscription's payment method is still valid or to display stored payment details. + ///Returns a CustomerPaymentMethod resource by its ID. /// - [Description("Returns a vaulted customer payment method by its ID, including the instrument type (credit card, PayPal, etc.), billing address, and current status. Optionally includes revoked payment methods. Use this to look up a specific saved payment method for a customer — for example, to check whether a subscription's payment method is still valid or to display stored payment details.")] + [Description("Returns a CustomerPaymentMethod resource by its ID.")] public CustomerPaymentMethod? customerPaymentMethod { get; set; } /// @@ -108915,9 +108751,9 @@ public class QueryRoot : GraphQLObject, IQueryRoot public ShopifyPaymentsDisputeEvidence? disputeEvidence { get; set; } /// - ///Returns a paginated list of all Shopify Payments disputes for the shop. Disputes occur when a buyer files a complaint with their payments provider, and the merchant must provide evidence to contest it. Each dispute includes the status, amount, reason, and associated order. Use this to monitor and manage open chargebacks and track dispute resolution outcomes. + ///All disputes related to the Shop. /// - [Description("Returns a paginated list of all Shopify Payments disputes for the shop. Disputes occur when a buyer files a complaint with their payments provider, and the merchant must provide evidence to contest it. Each dispute includes the status, amount, reason, and associated order. Use this to monitor and manage open chargebacks and track dispute resolution outcomes.")] + [Description("All disputes related to the Shop.")] [NonNull] public ShopifyPaymentsDisputeConnection? disputes { get; set; } @@ -109044,9 +108880,9 @@ public class QueryRoot : GraphQLObject, IQueryRoot public FinanceAppAccessPolicy? financeAppAccessPolicy { get; set; } /// - ///Returns Know Your Customer (KYC) information for the shop's Shopify Payments account. KYC data includes verified identity and business details collected during onboarding. This is primarily used by embedded finance apps (e.g., Shopify Balance, Bill Pay) that need to verify the merchant's identity without requiring a separate KYC process. + ///Returns the KYC information for the shop's Shopify Payments account, used in embedded finance apps. /// - [Description("Returns Know Your Customer (KYC) information for the shop's Shopify Payments account. KYC data includes verified identity and business details collected during onboarding. This is primarily used by embedded finance apps (e.g., Shopify Balance, Bill Pay) that need to verify the merchant's identity without requiring a separate KYC process.")] + [Description("Returns the KYC information for the shop's Shopify Payments account, used in embedded finance apps.")] public FinanceKycInformation? financeKycInformation { get; set; } /// @@ -115831,11 +115667,6 @@ public enum SearchResultType { CUSTOMER, DRAFT_ORDER, - /// - ///An inventory transfer. - /// - [Description("An inventory transfer.")] - INVENTORY_TRANSFER, PRODUCT, COLLECTION, /// @@ -115881,7 +115712,6 @@ public static class SearchResultTypeStringValues { public const string CUSTOMER = @"CUSTOMER"; public const string DRAFT_ORDER = @"DRAFT_ORDER"; - public const string INVENTORY_TRANSFER = @"INVENTORY_TRANSFER"; public const string PRODUCT = @"PRODUCT"; public const string COLLECTION = @"COLLECTION"; public const string FILE = @"FILE"; @@ -121528,11 +121358,6 @@ public enum ShopPayPaymentRequestReceiptProcessingStatusErrorCode [Description("The gateway or merchant configuration doesn't support a feature, such as network tokenization.")] UNSUPPORTED_FEATURE, /// - ///Too many failed CVV verification attempts. - /// - [Description("Too many failed CVV verification attempts.")] - CVV_ATTEMPTS_EXCEEDED, - /// ///There was an unknown error with processing the payment. /// [Description("There was an unknown error with processing the payment.")] @@ -121575,7 +121400,6 @@ public static class ShopPayPaymentRequestReceiptProcessingStatusErrorCodeStringV public const string CONFIG_ERROR = @"CONFIG_ERROR"; public const string TEST_MODE_LIVE_CARD = @"TEST_MODE_LIVE_CARD"; public const string UNSUPPORTED_FEATURE = @"UNSUPPORTED_FEATURE"; - public const string CVV_ATTEMPTS_EXCEEDED = @"CVV_ATTEMPTS_EXCEEDED"; public const string GENERIC_ERROR = @"GENERIC_ERROR"; public const string INVALID_COUNTRY = @"INVALID_COUNTRY"; public const string INVALID_AMOUNT = @"INVALID_AMOUNT"; @@ -121725,9 +121549,9 @@ public class ShopPlan : GraphQLObject public bool? partnerDevelopment { get; set; } /// - ///The public display name of the shop's billing plan. Possible values are: Advanced, Agentic, Agentic Enterprise, Basic, Development, Grow, Inactive, Lite, Other, Paused, Plus, Plus Trial, Retail, Shop Component, Staff Business, Starter, and Trial. + ///The public display name of the shop's billing plan. Possible values are: Advanced, Agentic, Agentic Enterprise, Basic, Development, Grow, Inactive, Lite, Other, Paused, Plus, Plus Trial, Retail, Shop Component, Shopify Finance, Staff Business, Starter, and Trial. /// - [Description("The public display name of the shop's billing plan. Possible values are: Advanced, Agentic, Agentic Enterprise, Basic, Development, Grow, Inactive, Lite, Other, Paused, Plus, Plus Trial, Retail, Shop Component, Staff Business, Starter, and Trial.")] + [Description("The public display name of the shop's billing plan. Possible values are: Advanced, Agentic, Agentic Enterprise, Basic, Development, Grow, Inactive, Lite, Other, Paused, Plus, Plus Trial, Retail, Shop Component, Shopify Finance, Staff Business, Starter, and Trial.")] [NonNull] public string? publicDisplayName { get; set; } @@ -124647,6 +124471,26 @@ public enum ShopifyPaymentsTransactionType [Description("The tax_adjustment_credit_reversal transaction type.")] TAX_ADJUSTMENT_CREDIT_REVERSAL, /// + ///The agentic_fee_tax_debit transaction type. + /// + [Description("The agentic_fee_tax_debit transaction type.")] + AGENTIC_FEE_TAX_DEBIT, + /// + ///The agentic_fee_tax_debit_reversal transaction type. + /// + [Description("The agentic_fee_tax_debit_reversal transaction type.")] + AGENTIC_FEE_TAX_DEBIT_REVERSAL, + /// + ///The agentic_fee_tax_credit transaction type. + /// + [Description("The agentic_fee_tax_credit transaction type.")] + AGENTIC_FEE_TAX_CREDIT, + /// + ///The agentic_fee_tax_credit_reversal transaction type. + /// + [Description("The agentic_fee_tax_credit_reversal transaction type.")] + AGENTIC_FEE_TAX_CREDIT_REVERSAL, + /// ///The billing_debit transaction type. /// [Description("The billing_debit transaction type.")] @@ -125079,6 +124923,10 @@ public static class ShopifyPaymentsTransactionTypeStringValues public const string TAX_ADJUSTMENT_DEBIT_REVERSAL = @"TAX_ADJUSTMENT_DEBIT_REVERSAL"; public const string TAX_ADJUSTMENT_CREDIT = @"TAX_ADJUSTMENT_CREDIT"; public const string TAX_ADJUSTMENT_CREDIT_REVERSAL = @"TAX_ADJUSTMENT_CREDIT_REVERSAL"; + public const string AGENTIC_FEE_TAX_DEBIT = @"AGENTIC_FEE_TAX_DEBIT"; + public const string AGENTIC_FEE_TAX_DEBIT_REVERSAL = @"AGENTIC_FEE_TAX_DEBIT_REVERSAL"; + public const string AGENTIC_FEE_TAX_CREDIT = @"AGENTIC_FEE_TAX_CREDIT"; + public const string AGENTIC_FEE_TAX_CREDIT_REVERSAL = @"AGENTIC_FEE_TAX_CREDIT_REVERSAL"; public const string BILLING_DEBIT = @"BILLING_DEBIT"; public const string BILLING_DEBIT_REVERSAL = @"BILLING_DEBIT_REVERSAL"; public const string SHOP_CASH_CREDIT = @"SHOP_CASH_CREDIT"; @@ -127601,31 +127449,25 @@ public interface IStoreCreditAccountTransactionOrigin : IGraphQLObject public bool? test { get; set; } /// - ///The amount of the original authorization that remains unsettled. - ///During a pending capture, this reflects the full outstanding balance including the pending amount. - ///When no capture is pending, this equals the capturable amount. - ///Only available when an amount is capturable or manually marked as paid. + ///Specifies the available amount to capture on the gateway. + ///Only available when an amount is capturable or manually mark as paid. /// - [Description("The amount of the original authorization that remains unsettled.\nDuring a pending capture, this reflects the full outstanding balance including the pending amount.\nWhen no capture is pending, this equals the capturable amount.\nOnly available when an amount is capturable or manually marked as paid.")] + [Description("Specifies the available amount to capture on the gateway.\nOnly available when an amount is capturable or manually mark as paid.")] [Obsolete("Use `totalUnsettledSet` instead.")] public decimal? totalUnsettled { get; set; } /// - ///The amount of the original authorization that remains unsettled, in shop and presentment currencies. - ///During a pending capture, this reflects the full outstanding balance including the pending amount. - ///When no capture is pending, this equals the capturable amount. - ///Only available when an amount is capturable or manually marked as paid. + ///Specifies the available amount with currency to capture on the gateway in shop and presentment currencies. + ///Only available when an amount is capturable or manually mark as paid. /// - [Description("The amount of the original authorization that remains unsettled, in shop and presentment currencies.\nDuring a pending capture, this reflects the full outstanding balance including the pending amount.\nWhen no capture is pending, this equals the capturable amount.\nOnly available when an amount is capturable or manually marked as paid.")] + [Description("Specifies the available amount with currency to capture on the gateway in shop and presentment currencies.\nOnly available when an amount is capturable or manually mark as paid.")] public MoneyBag? totalUnsettledSet { get; set; } /// - ///The amount with currency of the original authorization that remains unsettled. - ///During a pending capture, this reflects the full outstanding balance including the pending amount. - ///When no capture is pending, this equals the capturable amount. - ///Only available when an amount is capturable or manually marked as paid. + ///Specifies the available amount with currency to capture on the gateway. + ///Only available when an amount is capturable or manually mark as paid. /// - [Description("The amount with currency of the original authorization that remains unsettled.\nDuring a pending capture, this reflects the full outstanding balance including the pending amount.\nWhen no capture is pending, this equals the capturable amount.\nOnly available when an amount is capturable or manually marked as paid.")] + [Description("Specifies the available amount with currency to capture on the gateway.\nOnly available when an amount is capturable or manually mark as paid.")] [Obsolete("Use `totalUnsettledSet` instead.")] public MoneyV2? totalUnsettledV2 { get; set; } diff --git a/global.json b/global.json index 95b9b25..b27b603 100644 --- a/global.json +++ b/global.json @@ -1,7 +1,6 @@ { - "sdk": - { - "version": "9.0.100", + "sdk": { + "version": "10.0.200", "rollForward": "latestFeature" } -} +} \ No newline at end of file