You are reading the documentation for SDK v2, which is no longer the latest version. Switch to current
SetCartCustomShippingMethod
export type SetCartCustomShippingMethod = {
shippingMethodName: Scalars['String'];
shippingRate: ShippingRateDraft;
taxCategory?: InputMaybe<ResourceIdentifierInput>;
externalTaxRate?: InputMaybe<ExternalTaxRateDraft>;
};