- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
validateStepShippingProfileDelete - Medusa Core Workflows Reference
This documentation provides a reference to the validateStepShippingProfileDelete
. It belongs to the @medusajs/medusa/core-flows
package.
This step validates that the shipping profiles to delete are not linked to any products. Otherwise, an error is thrown.
Example#
Input#
ValidateStepShippingProfileDeleteInput
ValidateStepShippingProfileDeleteInputThe data to validate the deletion of shipping profiles.
ValidateStepShippingProfileDeleteInput
ValidateStepShippingProfileDeleteInputlinks
object[]The links between products and shipping profiles.
links
object[]Was this page helpful?