Skip to main content

shippingPriceUpdate Mutation

Updates a new shipping price.

Requires the MANAGE_SHIPPINGpermission.
shippingPriceUpdate(
id: ID!
input: ShippingPriceInput!
): ShippingPriceUpdate
Details
type ShippingPriceUpdate {
shippingZone: ShippingZone
shippingMethod: ShippingMethodType
shippingErrors: [ShippingError!]! @deprecated
errors: [ShippingError!]!
}

Arguments​

id ● ID!​

ID of a shipping price to update.

input ● ShippingPriceInput!​

Fields required to update a shipping price.

Type​

ShippingPriceUpdate​

Updates a new shipping price.

Requires the MANAGE_SHIPPINGpermission.