Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Checkout id for updating shipping and billing address should be required

Unknown0743db50a69e
diff --git a/saleor/graphql/checkout/mutations.py b/saleor/graphql/checkout/mutations.py
index 648dfe83b9..90d30cd378 100644
--- a/saleor/graphql/checkout/mutations.py
+++ b/saleor/graphql/checkout/mutations.py
@@ -332,7 +332,8 @@ class CheckoutShippingAddressUpdate(BaseMutation, I18nMixin):
checkout = graphene.Field(Checkout, description='An updated checkout')
class Arguments:
- checkout_id = graphene.ID(description='ID of the Checkout.')
+ checkout_id = graphene.ID(
+ required=True, description='ID of the Checkout.')
shipping_address = AddressInput(
required=True,
description=(
@@ -367,7 +368,8 @@ class CheckoutBillingAddressUpdate(CheckoutShippingAddressUpdate):
checkout = graphene.Field(Checkout, description='An updated checkout')
class Arguments:
- checkout_id = graphene.ID(description='ID of the Checkout.')
+ checkout_id = graphene.ID(
+ required=True, description='ID of the Checkout.')
billing_address = AddressInput(
required=True,
description=('The billing address of the checkout.'))