ResourceIdentifier to a ShippingMethod. Either id or key is required. If both are set, an InvalidJsonInput error is returned.

interface ShippingMethodResourceIdentifier {
    id?: string;
    key?: string;
    typeId: "shipping-method";
}

Properties

Properties

id?: string

Unique identifier of the referenced ShippingMethod. Required if key is absent.

key?: string

User-defined unique identifier of the referenced ShippingMethod. Required if id is absent.

typeId: "shipping-method"