Skip to content
Saleor
Esc
↑↓navigate↵open⌘Jpreview

Schema: Saleor 3.23.43Download SDLUpgrade guides

On this page

checkoutLanguageCodeUpdate Mutation

Updates language code in the existing checkout.

Triggers the following webhook events:

  • CHECKOUT_UPDATED (async): A checkout was updated.

Applied directives

@webhookEventsInfo(asyncEvents: [CHECKOUT_UPDATED], syncEvents: [])
checkoutLanguageCodeUpdate(checkoutId: ID, id: ID, languageCode: LanguageCodeEnum!, token: UUID): CheckoutLanguageCodeUpdate

Returns

CheckoutLanguageCodeUpdate

Show return type
type CheckoutLanguageCodeUpdate {
  checkout: Checkout
  checkoutErrors: [CheckoutError!]! @deprecated(reason: "Use `errors` field instead.")
  errors: [CheckoutError!]!
}

Arguments

checkoutId

checkoutId · ID

The ID of the checkout.

id

id · ID

The checkout’s ID.

languageCode

languageCode · LanguageCodeEnum!

New language code.

token

token · UUID

Checkout token.


Schema: Saleor 3.23.43. Download SDL.

Last updated on April 13, 2026

Was this page helpful?