From d755a30eddc6f1a6d3249e26496ae193a508700d Mon Sep 17 00:00:00 2001 From: Dmytro Filipenko Date: Thu, 10 Dec 2020 09:58:34 +0800 Subject: [PATCH] Create checkoutShippingLineUpdateMutation.graphql Add `checkoutShippingLineUpdateMutation` https://shopify.dev/docs/storefront-api/reference/checkouts/checkoutshippinglineupdate --- src/graphql/checkoutShippingLineUpdateMutation.graphql | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 src/graphql/checkoutShippingLineUpdateMutation.graphql diff --git a/src/graphql/checkoutShippingLineUpdateMutation.graphql b/src/graphql/checkoutShippingLineUpdateMutation.graphql new file mode 100644 index 000000000..81ada4845 --- /dev/null +++ b/src/graphql/checkoutShippingLineUpdateMutation.graphql @@ -0,0 +1,10 @@ +mutation ($checkoutId: ID!, $shippingRateHandle: String!) { + checkoutShippingLineUpdate(checkoutId: $checkoutId, shippingRateHandle: $shippingRateHandle) { + checkout { + ...CheckoutFragment + } + checkoutUserErrors { + ...CheckoutUserErrorFragment + } + } +}