Skip to main content
Skip to main content

deleteShippingProfiles - Fulfillment Module Reference

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

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

This method deletes shipping profiles by their IDs.

Example

await fulfillmentModuleService.deleteShippingProfiles([
"sp_123",
"sp_321",
])

Parameters

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

Returns

PromisePromise<void>Required
Resolves when the shipping profiles are deleted.

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

This method deletes a shipping profile by its ID.

Example

await fulfillmentModuleService.deleteShippingProfiles(
"sp_123"
)

Parameters

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

Returns

PromisePromise<void>Required
Resolves when the shipping profile is deleted.
Was this section helpful?