Skip to main content
Version: 3.x

checkoutLanguageCodeUpdate

Update 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

Arguments

checkoutLanguageCodeUpdate.checkoutId ● ID scalar

The ID of the checkout.

DEPRECATED: this field will be removed in Saleor 4.0. Use id instead.

checkoutLanguageCodeUpdate.id ● ID scalar

The checkout's ID.

Added in Saleor 3.4

checkoutLanguageCodeUpdate.languageCode ● LanguageCodeEnum! non-null enum

New language code.

checkoutLanguageCodeUpdate.token ● UUID scalar

Checkout token.

DEPRECATED: this field will be removed in Saleor 4.0. Use id instead.

Type

CheckoutLanguageCodeUpdate object

Update language code in the existing checkout.

Triggers the following webhook events:

  • CHECKOUT_UPDATED (async): A checkout was updated.

Was this page helpful?