Skip to main content
Skip to main content

IFulfillmentModuleService

Methods

create

**create**(data, sharedContext?): Promise<[FulfillmentDTO](/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.FulfillmentDTO)[]>

Parameters

dataany[]Required
sharedContextContext

Returns

PromisePromise<FulfillmentDTO[]>Required

**create**(data, sharedContext?): Promise&#60;[FulfillmentDTO](/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.FulfillmentDTO)&#62;

Parameters

dataanyRequired
sharedContextContext

Returns

PromisePromise<FulfillmentDTO>Required

update

**update**(data, sharedContext?): Promise&#60;[FulfillmentDTO](/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.FulfillmentDTO)[]&#62;

Parameters

dataany[]Required
sharedContextContext

Returns

PromisePromise<FulfillmentDTO[]>Required

**update**(data, sharedContext?): Promise&#60;[FulfillmentDTO](/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.FulfillmentDTO)&#62;

Parameters

dataanyRequired
sharedContextContext

Returns

PromisePromise<FulfillmentDTO>Required

delete

**delete**(ids, sharedContext?): Promise&#60;void&#62;

Parameters

idsstring[]Required
sharedContextContext

Returns

PromisePromise<void>Required

**delete**(id, sharedContext?): Promise&#60;void&#62;

Parameters

idstringRequired
sharedContextContext

Returns

PromisePromise<void>Required

retrieve

Parameters

idstringRequired
sharedContextContext

Returns

PromisePromise<FulfillmentDTO>Required

list

Parameters

filtersany
sharedContextContext

Returns

PromisePromise<FulfillmentDTO[]>Required

listAndCount

Parameters

filtersany
sharedContextContext

Returns

PromisePromise<[FulfillmentDTO[], number]>Required

softDelete

Type Parameters

TReturnableLinkableKeysstringRequired

Parameters

fulfillmentIdsstring[]Required
configSoftDeleteReturn<TReturnableLinkableKeys>
sharedContextContext

Returns

PromisePromise<void | Record<string, string[]>>Required

restore

Type Parameters

TReturnableLinkableKeysstringRequired

Parameters

fulfillmentIdsstring[]Required
configRestoreReturn<TReturnableLinkableKeys>
sharedContextContext

Returns

PromisePromise<void | Record<string, string[]>>Required
Was this section helpful?