Skip to main content

saveExternalShippingMethod

Registers a shipping method offered outside our own gateway and returns it. Creates it the first time it is seen, otherwise returns the existing one. Askås methods must not be registered here, they already exist.

saveExternalShippingMethod(
input: SaveExternalShippingMethodInput!
): ShippingOptionDefinition

Arguments

input ● SaveExternalShippingMethodInput!

Type

ShippingOptionDefinition

What a shipping option is, with no pricing and no cart context.