Skip to main content

ShippingMethodService

Contains methods relating to ShippingMethod entities.

Signature

constructor

method(connection: TransactionalConnection, configService: ConfigService, roleService: RoleService, listQueryBuilder: ListQueryBuilder, channelService: ChannelService, configArgService: ConfigArgService, translatableSaver: TranslatableSaver, customFieldRelationService: CustomFieldRelationService, eventBus: EventBus, translator: TranslatorService) => ShippingMethodService

findAll

method(ctx: RequestContext, options?: ListQueryOptions<ShippingMethod>, relations: RelationPaths<ShippingMethod> = []) => Promise<PaginatedList<Translated<ShippingMethod>>>

findOne

method(ctx: RequestContext, shippingMethodId: ID, includeDeleted: = false, relations: RelationPaths<ShippingMethod> = []) => Promise<Translated<ShippingMethod> | undefined>

create

method(ctx: RequestContext, input: CreateShippingMethodInput) => Promise<Translated<ShippingMethod>>

update

method(ctx: RequestContext, input: UpdateShippingMethodInput) => Promise<Translated<ShippingMethod>>

softDelete

method(ctx: RequestContext, id: ID) => Promise<DeletionResponse>

assignShippingMethodsToChannel

method(ctx: RequestContext, input: AssignShippingMethodsToChannelInput) => Promise<Array<Translated<ShippingMethod>>>

removeShippingMethodsFromChannel

method(ctx: RequestContext, input: RemoveShippingMethodsFromChannelInput) => Promise<Array<Translated<ShippingMethod>>>

getShippingEligibilityCheckers

method(ctx: RequestContext) => ConfigurableOperationDefinition[]

getShippingCalculators

method(ctx: RequestContext) => ConfigurableOperationDefinition[]

getFulfillmentHandlers

method(ctx: RequestContext) => ConfigurableOperationDefinition[]

getActiveShippingMethods

method(ctx: RequestContext) => Promise<ShippingMethod[]>
Was this chapter helpful?
Report Issue
Edited Feb 25, 2026ยทEdit this page