Skip to main content

checkoutLanguageCodeUpdate Mutation

Updates language code in the existing checkout.

Triggers the following webhook events:

  • CHECKOUT_UPDATED (async): A checkout was updated.
checkoutLanguageCodeUpdate(
checkoutId: ID
id: ID
languageCode: LanguageCodeEnum!
token: UUID
): CheckoutLanguageCodeUpdate
Details
type CheckoutLanguageCodeUpdate {
checkout: Checkout
checkoutErrors: [CheckoutError!]! @deprecated
errors: [CheckoutError!]!
}

Arguments

id ● ID

The checkout's ID.

languageCode ● LanguageCodeEnum!

New language code.

Show deprecatedHide deprecated

checkoutId ● ID

DEPRECATED

Use id instead.

The ID of the checkout.

token ● UUID

DEPRECATED

Use id instead.

Checkout token.

Type

CheckoutLanguageCodeUpdate

Updates language code in the existing checkout.

Triggers the following webhook events:

  • CHECKOUT_UPDATED (async): A checkout was updated.