Skip to main content

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 miscellaneous

The ID of the checkout.

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

checkoutLanguageCodeUpdate.id ● ID scalar miscellaneous

The checkout's ID.

Added in Saleor 3.4

checkoutLanguageCodeUpdate.languageCode ● LanguageCodeEnum! non-null enum miscellaneous

New language code.

checkoutLanguageCodeUpdate.token ● UUID scalar miscellaneous

Checkout token.

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

Type

CheckoutLanguageCodeUpdate object checkout

Update language code in the existing checkout.

Triggers the following webhook events:

  • CHECKOUT_UPDATED (async): A checkout was updated.