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
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.