Skip to main content
Skip to main content

delete - Fulfillment Module Reference

This documentation provides a reference to the delete method. This belongs to the Fulfillment Module.

delete(ids, sharedContext?): Promise<void>

This method deletes fulfillment sets by their IDs.

Example

await fulfillmentModuleService.delete([
"fuset_123",
"fuset_321",
])

Parameters

idsstring[]Required
The IDs of the fulfillment sets.
sharedContextContext
A context used to share resources, such as transaction manager, between the application and the module.

Returns

PromisePromise<void>Required
Resolves when the fulfillment sets are deleted successfully.

delete(id, sharedContext?): Promise<void>

This method deletes a fulfillment set by its ID.

Example

await fulfillmentModuleService.delete("fuset_123")

Parameters

idstringRequired
The ID of the fulfillment set.
sharedContextContext
A context used to share resources, such as transaction manager, between the application and the module.

Returns

PromisePromise<void>Required
Resolves when the fulfillment set is deleted successfully.
Was this section helpful?