Skip to content

Commit

Permalink
Clear address page
Browse files Browse the repository at this point in the history
  • Loading branch information
IKarbowiak committed Feb 4, 2025
1 parent a0408d9 commit 303a451
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions docs/developer/checkout/address.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -440,8 +440,8 @@ By default, both billing and shipping addresses are saved in the customer's addr
The default behavior can be adjusted in the following checkout mutations:
- [checkoutCreate](/api-reference/checkout/mutations/checkout-create.mdx)
```graphql
mutation createCheckout($checkoutInput: CheckoutCreateInput!) {
checkoutCreate(input: $checkoutInput){
mutation createCheckout($input: CheckoutCreateInput!) {
checkoutCreate(input: $input){
checkout {
id
}
Expand All @@ -466,7 +466,7 @@ input data:
"streetAddress1": "1470 Pinewood Avenue",
"city": "Michigan",
"postalCode": "49855",
"country": US,
"country": "US",
"countryArea": "MI"
},
"saveBillingAddress": true,
Expand All @@ -476,7 +476,7 @@ input data:
"streetAddress1": "1470 Pinewood Avenue",
"city": "Michigan",
"postalCode": "49855",
"country": US,
"country": "US",
"countryArea": "MI"
}
}
Expand Down Expand Up @@ -571,8 +571,8 @@ Attempting to set `saveShippingAddress` or `saveBillingAddres`s without includin

For example, providing `saveShippingAddress` in the `checkoutCreate` mutation without including `shippingAddress` will raise an error:
```graphql
mutation createCheckout($checkoutInput: CheckoutCreateInput!) {
checkoutCreate(input: $checkoutInput){
mutation createCheckout($input: CheckoutCreateInput!) {
checkoutCreate(input: $input){
checkout {
id
}
Expand Down Expand Up @@ -641,7 +641,7 @@ input data:
"streetAddress1": "1470 Pinewood Avenue",
"city": "Michigan",
"postalCode": "49855",
"country": US,
"country": "US",
"countryArea": "MI"
}
}
Expand Down

0 comments on commit 303a451

Please sign in to comment.