Skip to main content

shippingPriceTranslate Mutation

Creates/updates translations for a shipping method.

Requires the MANAGE_TRANSLATIONSpermission.
shippingPriceTranslate(
id: ID!
input: ShippingPriceTranslationInput!
languageCode: LanguageCodeEnum!
): ShippingPriceTranslate
Details
type ShippingPriceTranslate {
translationErrors: [TranslationError!]! @deprecated
errors: [TranslationError!]!
shippingMethod: ShippingMethodType
}

Arguments​

id ● ID!​

ShippingMethodType ID or ShippingMethodTranslatableContent ID.

input ● ShippingPriceTranslationInput!​

Fields required to update shipping price translations.

languageCode ● LanguageCodeEnum!​

Translation language code.

Type​

ShippingPriceTranslate​

Creates/updates translations for a shipping method.

Requires the MANAGE_TRANSLATIONSpermission.